1 Introduction

The initial concept of liquid mirror (LM) was proposed by an Italian astronomer, Ernesto Capocci in 1850 (Mailly 1872). Subsequently, in 1872, Henry Skey built the first working liquid mirror telescope (LMT) with a size of 0.35m (Gibson 1991). He also demonstrated that while varying the angular velocity (\(\omega\)) of the liquid, the focal length (f) of an LMT could be modified using the relation: \(f=g/2{\omega }^2\) where g is the local gravitational acceleration. During the early nineteenth century, Robert Wood developed LMTs of different sizes and could observe several stellar sources passing over the zenith (Wood 1909).

The present era of LMTs began with significant contributions from Canadian teams led by Ermanno Borra and Paul Hickson. In the light of technological advances, various practical limitations were resolved. For example, implementation of air bearings for an almost friction-less rotation of the mercury container, synchronous motor driven by an oscillator-stabilized AC power supply, use of a mylar film cover over the mirror surface, etc. (Borra 1982; Borra et al. 1992; Borra 1995). In this way, the image degrading wavelets were substantially eliminated in order to achieve diffraction-limited images (Borra et al. 1989; Hickson & Racine 2007). Later, several scientific programs were successfully conducted using LMTs as proper astronomical tools (Hickson et al. 1994a,b; Gibson & Hickson 1991). During the past years, the Large Zenith Telescope (LZT) was the largest (6.0m diameter) fully functional LMT near Vancouver, Canada (Hickson et al. 2007). Astronomical observations were restricted with the LZT due to inadequate site characteristics but eventually, it was used as a LIDAR facility (Pfrommer et al. 2009; Pfrommer & Hickson 2012, 2014).

Figure 1
figure 1

Observing facilities at Devasthal observatory. Left panel: locations of the 4m international liquid mirror telescope (left), 3.6m Devasthal optical telescope (middle) and 1.3m Devasthal fast optical telescope (right) are indicated. Right panel: front view of the ILMT building with the compressor room (left), data acquisition room (middle) and main enclosure (right), respectively.

2 ILMT project and present status

More details about the project can be found at http://www.ilmt.ulg.ac.be.

The 4m International Liquid Mirror Telescope (ILMT) is an upcoming observing facility at the newly developed Devasthal observatory (79\(^{\circ }\)41\('\)04\(''\) E, \(+\)29\(^{\circ }\)21\('\)40\(''\) and altitude 2450 m) near the Nainital city of the northern Indian state Uttarakhand. This observatory is operated by the Aryabhatta Research Institute of Observational Sciences (ARIES) under the Department of Science & Technology, Government of India. The observatory already hosts two modern optical telescopes, considering the favorable astronomical characteristics of the site. The 1.3m Devasthal fast optical telescope (DFOT) and the 3.6m Devasthal optical telescope (DOT) are operational since 2010 and 2016, respectively (Sagar et al. 2012, 2019; Kumar et al. 2018c). The locations of the three observing facilities are shown in Figure 1.

The ILMT is a collaborative project between various institutions/universities involving five countries: Belgium, India, Canada, Poland and Uzbekistan. It includes the Institute of Astrophysics and Geophysics (ULg, Liège University, Belgium), the Royal Observatory of Belgium, Aryabhatta Research Institute of Observational Sciences (Nainital, India), Laval University (Québec), University of Montréal (Montréal), University of Toronto and York University (Toronto), University of British Columbia (UBC, Vancouver), University of Victoria (Victoria), Poznań Observatory (Poland), and Ulugh Beg Astronomical Institute of the Uzbek Academy of Sciences and the National University of Uzbekistan. A significant fabrication of the telescope activities were accomplished by the Advanced Mechanical and Optical Systems (AMOS) company in Belgium. Before transporting the telescope to India in 2011, various technical difficulties were resolved through critical experiments carried out by UBC and ULg astronomers. It included the stiffness enhancement and spin casting of the bowl and also the verification of the mercury surface quality.

The ILMT consists of three major components, namely (i) a container/bowl to sustain the liquid, (ii) an air-bearing on which the container sits and (iii) a drive system for precise rotation. The ILMT container size is \(\sim 4\) m approximately in diameter, in which the rotating metallic liquid mercury will act as a reflecting mirror. The telescope field of view (FOV) is \(\sim 27' \times 27'\), and it will perform time delay integration (TDI) mode imaging (see Section 3) in the SDSS \(g'\), \(r'\) and \(i'\) spectral bands with the help of a \(\mathrm {4k} \times \mathrm {4k}\) CCD camera manufactured by Spectral Instruments. To correct the aberration raised due to TDI imaging, a five lenses optical corrector will be used. A list of important parameters of the ILMT is provided in Table 1.

The total integration time of the ILMT is \(\sim\)102 s (single scan) and \(\sim\)47 deg\(^2\) sky area can be monitored each night. Further, our calculations indicate that it may reach approximately 22.8, 22.3 and 21.4 mag in the \(g'\), \(r'\) and \(i'\) bands, respectively (Kumar et al. 2018a). It is worth noticing that since the same sky region (except for a 4 min shift in right ascension) will pass over the telescope every consecutive night, night images can be co-added to improve the limiting magnitudes.

Table 1 Important parameters of the ILMT and of its components (Finet 2013; Kumar et al. 2018a).

The ILMT building is situated in front of the 1.3m DFOT facility in Devasthal (see Figure 1) and it consists of three parts: compressor, data acquisition rooms and telescope enclosure. The compressor room is sufficiently away from the telescope pier to avoid passing any possible vibration to the mirror. Two air compressors and two air tanks are installed in parallel mode for an uninterrupted air supply to the air bearing. For the safe and proper functioning of the telescope, a module of the pneumatic air control system, valves, air dryers, air filters and important sensors (e.g., pressure, temperature, humidity and dew-point) are also part of the system. The telescope control unit, Socabelec panel (an interface to control the filter movement and focus change), local data server and mercury monitors are installed inside the data acquisition room. The essential telescope components such as air bearing, metallic structure, optical corrector, CCD camera, mercury pumping system, etc., are disposed in the main enclosure. An inside view of the fully assembled ILMT is shown in Figure 2. Details of the ILMT installation activities are presented in Surdej et al. (2018).

Figure 2
figure 2

Inside view of the fully installed ILMT. Major components are indicated. The enclosure floor is painted with high-quality epoxy paint to avoid any spread outside the dome in case of accidental mercury spillage.

The ILMT facility is mainly aimed at scientific projects dealing with astrometric and/or photometric variability. It will perform a deep multi-band survey of various astronomical sources in a narrow strip of the sky passing over the telescope FOV. This survey will be highly useful for an independent statistical determination of the cosmological parameters (e.g., \(H_{0}\), \(\Omega _{M}\) and \(\Omega _{\Lambda }\)) by observing hundreds of multiply imaged quasars and supernovae. Furthermore, the ILMT data will be advantageous for the investigation of large-scale structures, trigonometric parallaxes, photometric variability, small-scale kinematics, space debris, etc. There is a long list of ILMT science cases which can be found in Claeskens et al. (2001); Jean et al. (2001); Surdej et al. (2006, 2018); Finet (2013); Kumar (2014); Kumar et al. (2015, 2018a,b); Pradhan et al. (2018); Mandal et al. (2020).

Considering the fact that mercury will be utilized to form the ILMT mirror, its safe handling is a must as mercury vapors are hazardous to health. All possible safety precautions will be followed during the telescope operations. There will be no direct contact of the mercury to human during pumping and cleaning activities. The mercury is stored in a strong stainless steel tank and will be transferred to the ILMT primary mirror with the help of a pumping unit. Four safety pillars are installed around the ILMT container to prevent any accidental tilt (see yellow-colored safety pillars in Figure 2). Several other types of equipments such as a mercury vacuum cleaner, mercury spilling kit, PPE kit, mercury vapor masks, etc., will be used for safe handling of mercury. For continuous monitoring of the mercury vapors, three mercury vapor detectors will be utilized.

Figure 3
figure 3

Left panel: The 14-inch Celestron telescope installed on the 1.3m DFOT floor. TDI mode observations taken with this telescope have been used for testing the ILMT data reduction pipeline (see Section 3.2). Right panel: Cut-out images of raw and cleaned TDI frames observed on 23-10-2020. The upper panel shows the raw frame, whereas the lower panel shows the pre-processed frame.

3 First light preparation: Data reduction pipeline testing

The installation activities of the ILMT and verification of different instruments were completed in 2019. However, its first light has been delayed due to various reasons, the latest one being the pandemic situation. Therefore, to understand the technicalities of the data reduction, we have mounted a CCD camera on the 14-inch telescope to perform TDI mode observations (see Figure 3, left panel). A brief description of the TDI imaging and instrument setup is provided.

3.1 TDI imaging

Zenithal telescopes such as the ILMT cannot track celestial sources like conventional telescopes. They use a special mode of observation known as the time-delay integration (TDI) technique to do the integration of photons falling from the sources (Gibson & Hickson 1992; Hickson & Richardson 1998). In the TDI mode, the image acquisition is performed by transferring the charges from one column to another along the right ascension direction across the CCD. The charge transfer rate is kept equal to the local sidereal rate. The two requirements for using the TDI mode technique are:

  1. 1.

    The rate of charge transfer should match the transit rate of the sources across the detector.

  2. 2.

    The source track on the CCD should be parallel to the row of the CCD.

The TDI mode imaging has two advantages over the standard one: it provides (1) a high observing efficiency and (2) a very good flat fielding performance. As the traditional approach in the data reduction is not sufficiently efficient and accurate for this observation, a data reduction and calibration pipeline has been developed by us to handle the data that will flow from the ILMT in the same observing mode. This pipeline can be used to reduce and analyze CCD frames obtained in the TDI mode and perform precise astrometry and aperture photometry of the detected sources. Here, we discuss the major steps involved in the reduction algorithm and some results obtained while testing the pipeline.

3.2 TDI observations with the 14-inch telescope

The observation used and envisaged for this work was based on the use of a 14-inch telescope installed just adjacent to the location of the ILMT (see Figure 3, left panel) which offers a unique opportunity to observe the same strip of sky as would be observed by the ILMT. The telescope was equipped with a SBIG \(\mathrm{2k} \times \mathrm{2k}\) CCD (\(\mathrm{gain} = 0.7\) \(\mathrm{e}^{-1}\)/ADU, \(\mathrm{RON} = 8\) \(\mathrm{e}^{-1}\) with SDSS filters \(g'\), \(r'\) and \(i'\)) capable of observing in the TDI mode. The telescope was pointed towards the zenith and was allowed to scan the sky through the \(r'\)-band filter. The data obtained from these observations were used to improve and optimize various algorithms and test the efficiency of the data reduction techniques.

4 Data pipeline methodology

The designed data reduction algorithm involves two steps, (i) pre-processing of the CCD data to take care of the instrumental effects and (ii) the post-processing to facilitate the scientific analysis of the data. The pre-processing includes dark subtraction, flat-field correction and proper sky subtraction and the post-processing includes astrometric and photometric calibration and further analysis based on different science goals. The unique feature of TDI mode observations is that the effect of dark, sensitivity (i.e., flat), and sky comes as an averaged resultant effect over the entire row instead of being pixel to pixel dependent (as in conventional steerable non-TDI mode imaging).

4.1 Image pre-processing

4.1.1 Dark subtraction

The thermal excitation of electrons is a major source of noise in the CCD and these electrons are generated even in the absence of light. To correct for this dark effect, multiple dark frames were taken in the TDI mode each night with the CCD shutter closed and a super dark frame was created by median combining them. This super dark frame was then subtracted from the science image to get the dark subtracted image.

4.1.2 Flat correction

Flat fielding corresponds to correcting the combined CCD throughput of each pixel so that the latter responds equally to a source with the same photon flux. Flat fielding removes the effect of the pixel to pixel sensitivity variations across the array. In the dark subtracted science images, the average of the pixel values along the right ascension axis with sigma-clipping is taken in order to only include those pixels exposed to the sky so that we avoid all pixels illuminated by stars, cosmic rays and exclude the effects of bad pixels. As a result, we get 2048 values (2048 being the total number of CCD rows) which can be treated as a 1D flat. Then a lower order polynomial was fitted, which is used to divide the above 1D flat to get a normalized 1D flat. This normalized 1D flat (size equal to the number of rows) is used to divide each column of the dark subtracted science frame, to get the flat corrected science frame.

4.1.3 Sky subtraction

Given the large field of view (FOV) of the ILMT, it is important to do proper sky subtraction in the science image, as it can vary throughout the night. This variation could be due to the presence of the moon, clouds, dusk light, and/or twilight and can be both either temporal or spatial or a combination of both. For this purpose, we have used our dark and flat corrected science frames and performed second-order one-dimensional polynomial fitting to the median values along the right ascension (RA) and declination (Dec) directions individually after smoothing to remove the effects of bright stars. The best fits were then subtracted from the raw frame to correct for the sky in the respective directions, which gives us a 2D sky subtracted image ready to be used for the astronomical purpose. A section of raw (obtained on 23-10-2020) and pre-processed TDI frames are shown in Figure 3 (right panel).

4.2 Image post-processing

4.2.1 Astrometry

The science goals of any survey telescope rely heavily on the astrometry of the celestial sources detected in it. Knowledge of the precise celestial positions of the detected sources is required to perform the photometric calibration of the sources and further analyze them. Our astrometric measurements for the ILMT data mainly consist of four steps:

  1. 1.

    Identification of a few targets in the fields using the plate solving engine ‘astrometry.net’ (Lang et al. 2010).

  2. 2.

    Finding the GAIA counterparts of these sources to make use of the accurate astrometry provided by GAIA.

  3. 3.

    Converting the J2000 coordinates of these sources to the observation epoch to correct for the earth precession.

  4. 4.

    Calibrating the whole frame using the transformation equations given as:

    $$\begin{aligned}&\alpha -\alpha _{0} = \frac{(y \times f_{1}-y_{0} + x \times f_{2})}{f_{3}}, \end{aligned}$$
    (1)
    $$\begin{aligned}&\delta -\delta _{0} = \frac{(x \times g_{1}-x_{0} + y \times g_{2})}{g_{3}}, \end{aligned}$$
    (2)

    where \(\alpha , \delta\) are the source coordinates and xy are the corresponding pixel positions in the CCD and \(\alpha _{0}, \delta _{0}, x_{0}\) and \(y_{0}\) are the same for the central pixel and \(f_{1}, f_{2}, f_{3}, g_{1}, g_{2}, g_{3}\) are free parameters.

The above-mentioned procedure allows us to get a sub-arcsec astrometric accuracy in the measurement of the celestial positions of the sources detected as shown in Figure 4. It displays the distribution of the offsets in the astrometric positions of the sources detected in a TDI frame using the 14-inch telescope. As can be seen, the standard deviation in the astrometry of the objects with respect to the GAIA coordinates is \(\sim 0.15''\) in RA and \(\sim 0.11''\) in DEC with mean values \(\sim 0''\) in both cases.

Figure 4
figure 4

Left panel: Normalized frequency distribution of the offsets in the calculated right ascensions of the sources compared with the GAIA coordinates. For each bin, the normalized frequency is calculated by dividing its raw count with the total number of counts and the bin width so that the area under the histogram integrates to 1. The solid blue curve indicates the Gaussian function fitted to the distribution with the estimated mean (\(\mu\)) and standard deviation (\(\sigma\)) of the best fit given at the top right corner. Right panel: Same as the left panel but for the declinations.

Figure 5
figure 5

Left panel: standardization of the instrumental magnitude of the sources with respect to their GAIA magnitudes. The scatter plot between the instrumental and GAIA magnitudes of the sources. The red line shows the best fit to the instrumental and standard magnitudes. Right panel: normalized frequency distribution of the offsets in the instrumental magnitudes with respect to the GAIA magnitudes, calculated by dividing each bin’s raw count with the total number of counts and the bin width. The orange curve shows the Gaussian function fitted to the distribution with the estimated mean (\(\mu\)) and standard deviation (\(\sigma\)) of the best fit given at the top right corner.

4.2.2 Photometry and standardization of the instrumental magnitude

We have used the circular aperture photometry technique with a 3-pixel radius at the locations of the objects to derive the magnitude of the detected celestial objects which corresponds to a typical seeing of around 1.3 arcsec. The aperture size can be varied depending on the seeing of the particular night and an elliptical aperture can also be selected for extended sources such as galaxies. Aperture photometry is the measurement of light which falls inside a well-defined circular aperture. The goal is to pick an aperture which includes most of the light from the star within the aperture (i.e., after removing the background sky as discussed in Section 4.1.3). Then the instrumental magnitude and its uncertainty were calculated, based on the measured counts and their Poisson error within the aperture.

Using the instrumental magnitude based on aperture photometry and astrometry of the image (see Section 4.2.1), we searched for the apparent magnitude of the detected sources in GAIA. We naturally expect a linear relation between the instrumental and apparent magnitudes, at least for the non-varying sources. We make use of this fact to determine the zero-point and slope needed for the calibration. A plot of the instrumental and apparent magnitudes for the detected sources is shown in Figure 5 (after applying 3\(\sigma\) clipping on the residuals, i.e., instrumental magnitude – standard magnitude), along with the best fit least-squares linear fit and the distribution of the offsets detected in the calculated magnitudes with respect to the GAIA ones.

5 Summary

Previous LMTs were mainly used for technological demonstration and/or limited sky observations (cf., first-generation instruments and poor astronomical sites). On the other hand, the ILMT is installed at a proven high-quality astronomical site (Devasthal observatory, near Nainital, Uttarakhand). Further, it will use modern instruments to secure deep imaging of the zenith sky. Various experiments have been performed to overcome possible failures during regular observations. The safety considerations to handle the mercury have also been pointed out. The facility is mainly aimed at science cases related to photometric and astrometric variability through the survey of a narrow sky strip (\(\sim\)half a degree) passing over the ILMT. It will also provide interesting targets for the other larger observing facilities.

A data reduction pipeline has been developed to analyze the ILMT data in real-time. To test this pipeline, we have used TDI mode observational data obtained with a 14-inch telescope installed near the ILMT location. Small tweaking was implemented while running the pipeline on the individual image frames. Its robustness still needs to be further examined. We are very optimistic to see the first light of the ILMT during early 2022.