| Issue |
A&A
Volume 701, September 2025
|
|
|---|---|---|
| Article Number | A116 | |
| Number of page(s) | 18 | |
| Section | Numerical methods and codes | |
| DOI | https://doi.org/10.1051/0004-6361/202555929 | |
| Published online | 09 September 2025 | |
NASIM: Revealing the low surface brightness Universe from legacy VISTA data
1
Instituto de Astrofísica de Canarias, C/Vía Láctea s/n, 38205 La Laguna, Tenerife, Spain
2
Departamento de Astrofísica, Universidad de La Laguna, 38205 La Laguna, Tenerife, Spain
3
School of Physics & Astronomy, University of Southampton, Highfield Campus, Southampton SO17 1BJ, UK
4
Centro de Estudios de Física del Cosmos de Aragón (CEFCA), Plaza San Juan 1, 44001 Teruel, Spain
5
INAF-Osservatorio Astronomico di Trieste, Via G. B. Tiepolo 11, 34143 Trieste, Italy
6
IFPU, Institute for Fundamental Physics of the Universe, via Beirut 2, 34151 Trieste, Italy
★ Corresponding author: e.saremi@soton.ac.uk
Received:
12
June
2025
Accepted:
17
July
2025
Near-infrared imaging is a powerful technique in observational astronomy, but the bright background – primarily from the Earth’s atmosphere – makes the detection of faint features particularly challenging. To recover low surface brightness (LSB) structures in such data, we present NASIM (Near-infrared Automated low Surface brightness reduction In Maneage), a fully automated and reproducible data reduction pipeline optimised for VISTA/VIRCAM observations. NASIM builds on advanced techniques from the GNU Astronomy Utilities (Gnuastro) to effectively remove large-scale instrumental artefacts and detector patterns while preserving faint, diffuse emission crucial for LSB science. As a key science application, we focus on the deep Ks-band observations of the Euclid Deep Field South (KEDFS), one of the deepest VISTA/VIRCAM datasets and a high-priority field for synergy with current and future facilities, including Euclid, JWST, LSST, Roman, Spitzer, and ALMA. Situated near the South Ecliptic Pole, KEDFS offers favourable conditions for deep extragalactic observations due to minimal Galactic foreground contamination. With VIRCAM no longer operational, it now stands as a unique and irreplaceable legacy dataset for near-infrared astronomy. We release selected tiles from the KEDFS survey and highlight representative science cases – including galaxy outskirts, LSB galaxies, and intracluster light – that demonstrate NASIM’s ability to recover diffuse structures. Our reduction reaches a surface brightness limit of ∼27.7 mag arcsec-2 (3σ over 100 arcsec2) in the Ks band, approximately 67 times deeper than 2MASS and 11 times deeper than VISTA Hemisphere Survey (VHS). A direct comparison with conventional VISTA data reduction pipelines demonstrates the advantages of NASIM in preserving diffuse emission without compromising compact source detection. All quantitative results presented in this paper are fully reproducible with Maneage (commit a02b40dd).
Key words: methods: data analysis / techniques: image processing / telescopes / surveys / Galaxy: general / infrared: diffuse background
© The Authors 2025
Open Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
This article is published in open access under the Subscribe to Open model. Subscribe to A&A to support open access publication.
1 Introduction
To date, the low surface brightness (LSB) Universe (typically defined as regions with µK > 24 mag arcsec-2) has not been thoroughly explored in the near-infrared (NIR) from the ground, primarily due to the significant challenges posed by atmospheric emission. A strong thermal background produces a typical sky brightness ofµK ∼ 14.85 mag arcsec-2 (Cuby et al. 2000), nearly 1000 times brighter than the optical sky (Trinh et al. 2013). This overwhelming background introduces substantial noise that hinders the detection of faint, extended structures (Maihara et al. 1993). These limitations are particularly severe for wide-field surveys, where the sky varies across the field and over time, complicating both calibration and sky subtraction (Borlaff et al. 2019). As a result, astronomers have traditionally avoided targeting diffuse NIR features (such as galaxy outskirts or LSB dwarfs) from the ground. Nonetheless, ground-based facilities offer distinct advantages, including larger mirror apertures, more versatile instrumentation, and easier access for maintenance and upgrades, which make them essential for advancing deep NIR observations despite atmospheric challenges.
The NIR is a powerful window into galaxy evolution, particularly for tracing the old stellar populations that dominate galaxy mass (Zibetti et al. 2009; Conroy 2013). Within this regime, the K band (centred at 2.2 µm) is especially valuable, offering a stable and direct tracer of stellar mass across a wide range of galaxy types and redshifts (e.g. Grosbøl et al. 2004; Kendall et al. 2008). Unlike optical wavelengths, which are more sensitive to recent star formation and dust attenuation, K-band light is dominated by emission from older, low-mass stars and is relatively unaffected by star formation history, metallicity, or extinction (Kochanek et al. 2001; Bell et al. 2003; Drory et al. 2004; McGaugh & Schombert 2014). This makes K-band selection highly effective for identifying the most massive galaxies up to z ∼ 2, where rest-frame K-band light continues to trace stellar mass reliably (Caputi et al. 2005). As such, the K-band surveys prove especially powerful for constraining the formation epochs and assembly histories of early massive galaxies.
The K band is also instrumental for probing galaxy environments: galaxies selected in this band tend to be more strongly clustered than their optically selected counterparts, reflecting a bias towards massive systems residing in dense regions of the cosmic web (Furusawa et al. 2011). Environmental studies using marked correlation functions confirm that K-band luminosity of galaxies exhibits a measurable dependence on local galaxy density, reinforcing its value as a mass-sensitive environmental probe (Deng et al. 2020; Sureshkumar et al. 2021).
In this decade of transformative astrophysical surveys, Euclid is poised to deliver unprecedented NIR imaging in the Y, J, and H bands from space, offering high-resolution, wide-area coverage of the extragalactic sky (Euclid Collaboration: Jahnke et al. 2025). These data are further complemented by mid-infrared observations from the Spitzer Space Telescope (Spitzer), enabling powerful constraints on galaxy evolution over cosmic time (Euclid Collaboration: Moneti et al. 2022). However, despite this extensive coverage, a key gap remains in the K band, crucial for filling the spectral continuum and for connecting observations across redshift and stellar population regimes.
Fortunately, this gap is being effectively bridged by groundbased facilities: UKIRT offers valuable K-band data in the northern hemisphere (Lawrence et al. 2007; Hambly et al. 2008; Schneider et al. 2025), and the VISTA telescope, the largest ground-based NIR survey instrument, delivered comprehensive southern sky coverage (Emerson et al. 2006). Through its deep and wide-area programmes, VISTA/VIRCAM (now decommissioned) plays a pivotal role in completing the multi-wavelength coverage of current and future surveys, with particular strength in the Ks band. In addition to this critical spectral contribution, VISTA/VIRCAM supports a diverse portfolio of public legacy surveys, each designed to address complementary aspects of cosmology and galaxy evolution. These surveys span a wide range of depths and sky areas, from shallow all-sky mapping to narrow ultra-deep fields, and collectively target a broad set of science goals (see Section 2 and Table 1).
To fully capitalise on VISTA’s rich survey data, sophisticated processing pipelines are essential. The VISTA Data Flow System (VDFS; Emerson et al. 2004), developed and maintained by the Cambridge Astronomy Survey Unit (CASU) and the Wide Field Astronomy Unit (WFAU), provides the core infrastructure for reducing and calibrating VISTA images (Irwin et al. 2004; Cross et al. 2012). CASU handles the initial data reduction, including flat-fielding, background subtraction, astrometric and photometric calibration, while WFAU oversees catalogue generation and database curation (Cross et al. 2012). These pipelines are optimised for point sources and compact galaxies, providing robust measurements for a broad range of scientific applications.
However, traditional processing pipelines often struggle to preserve diffuse LSB structures. Sky subtraction techniques and source detection algorithms, optimised for compact sources, can inadvertently suppress or remove extended emission. This limitation is particularly critical for studies focussing on galaxy outskirts, stellar haloes, tidal streams, and intracluster light (ICL); components that are essential for understanding hierarchical galaxy assembly and the physics of baryonic matter in low-density environments (e.g. Montes & Trujillo 2014; Fliri & Trujillo 2016; Borlaff et al. 2019; Román et al. 2021).
To address these limitations, we have developed NASIM (Near-infrared Automated low Surface brightness reduction In Maneage), a dedicated data reduction pipeline optimised for LSB science with VISTA/VIRCAM. NASIM effectively removes large-scale instrumental signatures and flat-field patterns inherent to VIRCAM’s complex detector layout, while preserving the faint, extended features essential for LSB science. It provides a complementary, LSB-optimised alternative to the standard VDFS outputs, enabling high-fidelity exploration of diffuse structures in the NIR.
This paper is structured as follows. In Section 2, we introduce several VISTA surveys and, in particular, describe the specific dataset used in this study. Section 3 presents the NASIM pipeline, detailing its architecture, data reduction steps, and reproducibility framework. In Section 4, we showcase a selection of science cases enabled by NASIM, highlighting its effectiveness in revealing faint, extended structures in the NIR. Section 5 provides a comparative assessment between NASIM and standard reduction pipelines, demonstrating its advantages for LSB science. Finally, Section 6 presents a brief conclusion. All magnitudes in this paper are expressed in the AB photometric system.
Summary of selected VISTA surveys, sorted by area.
2 Data
The VISTA telescope, equipped with the VIRCAM instrument (Sutherland et al. 2015), has enabled a suite of wide-field NIR public surveys across the southern sky. These include large-area surveys such as the VISTA Hemisphere Survey (VHS), medium-deep campaigns like the VISTA Kilo-degree Infrared Galaxy (VIKING) survey, deeper extragalactic programmes such as VIDEO and UltraVISTA, and various other legacy surveys with diverse scientific goals. Each survey is designed with distinct scientific goals and spans a range of depths and sky areas, as summarised in Table 1. Despite their diversity, a common challenge across these surveys is the recovery of extended LSB emission, a science regime where traditional pipelines often prove inadequate or lack the sensitivity required for reliable detection. As detailed in Section 3, the NASIM pipeline is developed to address this limitation and is broadly compatible with VIRCAM data from any of these surveys.
In this paper, we apply NASIM to a new VISTA Large Programme for the first time: the KEDFS survey (Programme ID: 106.21LU.001; PI: Nonino, M.), a deep Ks-band campaign over the Euclid Deep Field South (EDFS). KEDFS spans approximately 20 deg2, centred at RA (J2000) = 04h 04m 57s.84 and Dec (J2000) = -48° 25′22″.8, near the south ecliptic pole. This region is a strategically chosen deep field with exceptional current or future multi-wavelength coverage: high-resolution Y, J, and H imaging from Euclid (Euclid Collaboration: Gabarra et al. 2023), deep optical data from the Vera C. Rubin Observatory (Gris et al. 2024), and mid-infrared imaging from Spitzer (Euclid Collaboration: Moneti et al. 2022). Additionally, the field lies within the continuous viewing zones of both Roman (formerly WFIRST) and JWST, further enhancing its long-term scientific value. The EDFS’s location near the south ecliptic pole also makes it uniquely advantageous, offering low Galactic extinction, low stellar density, and an absence of bright foreground stars, all favourable conditions for extragalactic science.
The KEDFS survey is designed to bridge the critical wavelength gap between Euclid and Spitzer by providing Ks-band data with VIRCAM. It consists of 15 tiles, each constructed from a six-pointing “tile” sequence that mosaics the sixteen non-contiguous VIRCAM detectors (“pawprints”) into contiguous 1.5 × 1 deg2 fields. In total, 207 hours of integration were collected between December 2020 and November 2022. These observations offer a unique combination of depth and area in the NIR, enabling robust studies of ultra-massive passive galaxies, high-redshift galaxy clusters, and faint diffuse features.
With VIRCAM no longer in operation, KEDFS stands as a unique and irreplaceable legacy dataset. Its depth, area, and spectral placement make it an ideal test case for the NASIM pipeline, which aims to unlock the LSB science potential in this and other VISTA surveys.
3 NASIM
We developed a specialised pipeline tailored to study LSB structures, named NASIM (Near-infrared Automated low Surface brightness reduction In Maneage). NASIM is built on the fully reproducible workflow framework Maneage (Akhlaghi et al. 2021), which is implemented in GNU Make. Data lineage is tracked through Make’s dependency system, which avoids repeating completed steps, enables parallel execution, and ensures full traceability of all processing stages. Maneage autonomously downloads and configures all required software and libraries for NASIM within a self-contained environment, independent of the host operating system. Additionally, the entire project – including the software environment, analysis pipeline, and text of this paper – is version-controlled with Git, preserving the full history of all changes. This methodology ensures long-term transparency and reproducibility.
The entire process in the NASIM pipeline can be categorised into three top Makefiles. The initial two preparation Makefiles pertain to data download and classification, while the primary focus on data release is encapsulated within the main top Makefile. A schematic representation of NASIM is shown in the Figure 1. Each coloured box represents a file in the project, with arrows indicating the flow from input to output files. Green boxes represent plain-text files that are part of the version control system and are located within the project’s source directory. These files include essential Makefiles, specific configuration files, and the actual text of the paper, all of which are manually crafted. Blue boxes denote output files located in the build directory, which are specifically defined as targets within the Makefiles. Consequently, these files are generated automatically.
3.1 Data preparation phase
The ESO search engine provides a query script based on the programme ID and tile name. The first preparation Makefile, top-listurl.mk (top-left box in Figure 1), generates a file INPUTS.conf. This file which is under version control captures the URLs of raw images and their corresponding SHA256 checksums, using the ESO query script as a reference. The SHA256 checksum is crucial for automated verification, ensuring that the file remains unchanged across different project runs (both locally and through URLs), thereby maintaining the integrity of the reproducible pipeline.
In the second phase of preparation, top-ingest.mk (topright box in Figure 1), the data download process is executed. This phase focusses on retrieving raw science images, dark images, and bad pixel masks. Once data categorisation is complete, metadata is generated at this step, which will serve as a resource across all Makefiles within the pipeline.
3.2 Dark signal removal
In the KEDFS survey, each 1.5 × 1 deg2 tile is built up over approximately 20 nights to reach full depth, with a typical night contributing 42 exposures. Given VIRCAM’s detector configuration, each exposure involves 16 detectors. Figure 2 shows a flowchart outlining the major stages of data reduction in the NASIM pipeline. It begins with a visual representation of raw VIRCAM images from all detectors associated with a specific exposure (Raw exposure), followed by dark-subtracted images for detector 7 from a single night (Dark removed exposures). Removing dark frames results in a minimal reduction of the background, about 1% in Ks -band images. As a result, no discernible objects become visible even after subtracting the dark frames. The dark frame removal process is carried out through the dark removal Makefile (dark.mk) in the NASIM pipeline, as shown in Figure 1. Additionally, this Makefile also handles the process of using bad pixel masks to exclude defective pixels from the detectors.
3.3 Sky flat fielding
Accurate estimation of the flat-field correction is of paramount importance in studying LSB structures. To gauge the relative sensitivity of the pixels, a uniform external light source is essential. However, conventional methods such as dome flats or twilight flats are inadequate for our objectives due to imperfect flat illumination and varying sky levels over time. A superior method involves using the science images themselves to create master flats (e.g. Trujillo & Fliri 2016; Trujillo et al. 2021). This approach offers the distinct advantage of assessing the relative sensitivity among pixels at the identical intensity level found in the images. The very bright NIR sky (μK ~ 14.85 mag arcsec-2) serves well as a uniform light source. Nonetheless, challenges arise from diffuse objects and the extended point spread function, which introduce potential biases in the median of images. These challenges can be mitigated by robustly masking astrophysical and optical signal, reducing bias in the background estimation.
In the NASIM pipeline, a two-iteration approach is used for flat-fielding. In the initial stage of flat-fielding, the process begins by normalising all the dark-subtracted images. Subsequently, using Gnuastro’s ARITHMETIC program, we apply a σ-clipped median stacking method to combine the normalised science images for each night and detector. An example of the master flat (Master-flat it1) is presented in Figure 2. The science images are then divided by these first-step master flats (Flat corrected it1). Once this flat is removed, objects become increasingly visible, allowing for improved masking in the next iteration of flat-fielding.
![]() |
Fig. 1 Structural diagram of the NASIM pipeline. Each coloured box represents a file, with arrows indicating the flow of inputs to outputs. Green boxes correspond to plain-text source files that are version-controlled within the project directory, while blue boxes represent output products generated during the build process. The Makefiles (*.mk) define the targets and dependencies that govern the automated execution of each pipeline stage. |
3.3.1 Image masking
To effectively mask the objects in the image, we employed the NOISECHISEL program from Gnuastro (Akhlaghi & Ichikawa 2015; Akhlaghi 2019a). NOISECHISEL uses a nonparametric technique involving a threshold below the sky level and erosion for precise signal detection, which is particularly effective for objects with irregular shapes that are embedded within the noise. After the initial round of flat correction, we used NOISECHISEL in the NASIM pipeline to mask objects within the flat-corrected images. Subsequently, we utilised Gnuastro’s ARITHMETIC program to apply these masks to the dark-subtracted images, preparing them for inclusion in the second iteration of flat-fielding. We illustrate a representative sample of detections for one exposure (Detections in flat), along with dark-removed masked images (Dark masked), in Figure 2.
3.3.2 Sky variation with time
During the second iteration of flat-fielding, we explored multiple strategies to achieve the optimal result given the variation in the sky level as a function of time. This section outlines these techniques:
-
Method 1: single-night masterflats
In this approach, we employed a methodology similar to that of the first flat-fielding. Specifically, all the dark-masked images captured during a single night for each detector were utilised to generate a single masterflat. Given the number of detectors, this resulted in 16 master flats per night. A visual representation of this approach can be seen in Figure 3 (Method 1: Single-Night), which displays a coadded final image from the pipeline, featuring the galaxy IC 2000 at the centre (from KEDFS_1_5 tile). Covering an area of 0.28 × 0.28 deg2, this image was formed by combining data from 23 observation nights. For a more comprehensive overview of the stacking process, refer to Section 3.9. While this method effectively preserved the outskirts of the galaxy, we proceeded to explore alternative methods to mitigate background gradients without compromising the visibility of diffuse objects.
-
Method 2: segmented-night masterflats
To address variations in the sky within a single night, we adopted an alternative approach. Instead of generating a master flat for each night and detector, we created a master flat for every sequential set of 10 or 11 images observed in succession. Given that the typical number of images observed in a night is 42 in the KEDFS survey, this technique yields 4 master flats per night. Figure 3 highlights the rapid sky background variations observed within a single night, despite the exposures covering only about one hour. The ratio of master flats in the second method, compared to a single master flat in the first method, clearly displays the significant variations in the sky.
Although this approach improves the gradients, it introduces a new complication. Unfortunately, due to the absence of sufficient and proper dithering in the KEDFS observations, reducing the number of science images used to create the master flats led to the manifestation of the persistence effect for large objects. Namely, the white “holes” caused by this effect can be seen in Figure 3 (Method 2: Segmented-Night).
-
Method 3: detections replacement in masterflats
In this method, we followed a procedure closely resembling that of Method 2 for creating master flats. However, before applying the master flats to the science images, we replaced the values in the second master flats with those of the first master flats in regions containing detections. Despite our efforts to mitigate the persistence effect, this adjustment resulted in an exacerbation of background gradients (see Figure 3, Method 3: Detections Replacement).
To improve the outcomes following the replacement of values in the second master flats with those from the first master flats in the regions containing detections, we developed a process involving the computation of ratios between the second and first master flats. We then applied surface modelling to these ratios, allowing us to predict and replace the values of detection pixels (set to 1) with new values based on the model’s projections. These modified ratios were subsequently multiplied by the first master flats to generate adjusted second master flats, which we then applied to the science images. However, the applied modifications did not lead to significant improvements in the outcomes.
-
Method 4: adaptive flat
In our final approach, we implemented a novel strategy. This time, we chose to generate a unique master flat for each science image captured within a single night. For example, if 42 images were taken during a single night, we created 42 individual master flats (as depicted in Figure 2 by Master-flat it2). Each master flat was tailored to its corresponding science image (image N) and constructed using data from 11 consecutive images. This set included image N, along with 5 images taken before it and 5 images taken after it. The intricate process was facilitated by the flat Makefile (see flat.mk in Figure 1). The results of this method, as shown in the final coadd image in Figure 3 (Method 4: Adaptive Flat), were exceptionally promising. We successfully reduced the persistence effect to an acceptable level, effectively mitigating background gradients. This approach represents a significant advancement in our flat field correction methodology.
Before the second flat correction, we applied masking to the master flats to address specific problematic areas. These problematic pixels were primarily located along the edges of the detectors, where pixel values deviated significantly from unity, potentially causing irregularities in the final stack.
![]() |
Fig. 2 Schematic overview of the NASIM pipeline, illustrating the principal stages of its VISTA/VIRCAM data reduction. Each panel represents a major processing step, including dark subtraction, flat-fielding, astrometric calibration, initial sky subtraction, weight estimation, photometric calibration, resampling, and final stacking. |
3.3.3 VIRCAM 1/f noise removal
We identified subtle horizontal patterns in the final processed images, characterised by very small amplitude variations (∼0.05%). Despite their minimal magnitude, these artefacts required correction prior to combining all exposures. They appeared to be closely related to the camera’s readout process, prompting us to remove them by subtracting the excess counts from the images.
To implement this correction, we employed Gnuastro’s ARITHMETIC program. First, we used the collapse-mean operation to reduce the dimensionality of the dataset, computing the mean value along the collapsed dimension. This effectively removed one axis while retaining double-precision floating-point accuracy. We then used the add-dimension-fast option to reconstruct a higher-dimensional dataset by stacking all input arrays consecutively along the fastest-varying dimension. A visual demonstration of the effect of this correction is shown in Figure 4. Although the 1/f noise removal significantly improves image quality, it does not completely eliminate all structured patterns. These residual effects become noticeable in the final coadded image (see Final stack in Figure 2), and we are actively working on improving this step to achieve better results.
![]() |
Fig. 3 Illustration of flat-fielding strategies and their outcomes in the NASIM pipeline. Top panels: ratios of segmented-night master flats (second method) to the single-night master flat (first method), revealing significant sky variations over approximately one hour within a single night. These fluctuations highlight the need for special flat-fielding techniques. Bottom panels: final coadded images using different flat-fielding methods, each covering 0.28 × 0.28 deg2 and centred on the galaxy IC 2000 from KEDFS_1_5 tile: Method 1: Single-Night, preserves galaxy outskirts but retains large-scale gradients; Method 2: Segmented-Night, reduces gradients but suffers from persistence artefacts; Method 3: Detections Replacement, attempts to mitigate persistence effects, but introduces background inconsistencies; Method 4: Adaptive Flat, achieves the best balance, effectively reducing both gradients and persistence. |
3.4 Astrometric calibration
We performed astrometric calibration in two stages within the astrometry Makefile (see astrometry.mk in Figure 1). First, a rapid solution is derived using ASTROMETRY.NET (Lang et al. 2010) with reference to GAIA DR3 (Gaia Collaboration 2021), providing an initial WCS alignment. This solution is then refined using S CAMP (Bertin 2006a), which corrects residual distortions and ensures precise cross-detector alignment using source catalogues from SEXTRACTOR (Bertin & Arnouts 1996). For details of the procedure, configuration choices, and performance validation, see Appendix A.
3.5 Sky subtraction
Accurate sky subtraction is critical for preserving the properties of LSB features in extended sources. Aggressive background removal introduces significant over-subtraction resulting in negative fluxes around large galaxies, an effect observed in many surveys. Although most evident near the largest sources, where they cover a substantial fraction of the field of view, this bias also affects the detection and photometry of unresolved sources across a wide range of redshifts. In the NIR bands, the sky is substantially brighter than in the optical, with an average surface brightness of approximately 14.85 mag arcsec-2 in the Ks band. This value is reported as μk ~ 13 mag arcsec-2 in Cuby et al. (2000), though the magnitude system is not explicitly specified. We assume it is in the Vega system and convert it to the AB system using an offset of 1.85 mag for the Ks band (Blanton & Roweis 2007). The extensive and diffuse outskirts of large galaxies can become indistinguishable from the sky, and local interpolation techniques risk subtracting these features as part of the sky, leading to their loss in the final stacked images.
To mitigate this, we adopted a less aggressive sky subtraction approach, in which we estimated and subtracted a single background value from each frame, avoiding explicit sky modelling. We estimated sky values using the NOISECHISEL program. To enhance the signal-to-noise ratio during this estimation, we used tiles rather than individual pixels. We strengthened outlier rejection by increasing the interpnumngb parameter, and enforced tile purity by setting minskyfrac to 0.9 – selecting only tiles in which at least 90% of the area was free from detected astronomical sources. A representative example of the sky image for a single exposure (Sky on tiles) is shown in Figure 2. For each image, we computed and subtracted the σ-clipped median of the resulting sky image, using 3σ clipping with a tolerance of 0.1. The entire sky subtraction process is managed through the sky Makefile (sky.mk) within the NASIM pipeline, as depicted in Figure 1.
![]() |
Fig. 4 Correction of 1/f noise artefacts in the final images. Top panels: Comparison between a sample image Before Correction (left) and the same image After 1/f Noise Correction (right) after correction using Gnuastro’s ARITHMETIC program. Bottom panel: The Ratio between the two images, highlighting the spatial structure of the removed pattern. |
3.6 Image weighting
To account for variations in image quality due to airmass changes and detector-specific effects, NASIM assigns relative weights to individual exposures using the standard deviation of the sky (SKY-STD) as a proxy for noise. Weights are normalised such that the best-quality images receive a value of 1.0, and poorer-quality frames are scaled accordingly. This process is managed via the weight.mk Makefile (see Figure 1). Full details of the weighting procedure are provided in Appendix B, including an example of SKY-STD variation across detectors and its correlation with airmass.
3.7 Photometric calibration
Photometric calibration in NASIM is based on the 2MASS catalogue, with magnitudes converted to the AB system (Blanton & Roweis 2007). All calibration steps are orchestrated within a dedicated Makefile (zeropoint.mk), as shown in Figure 1. We performed stellar photometry using Gnuastro tools and estimated the photometric zero points following the method implemented in the ASTSCRIPT-ZEROPOINT program (Eskandarlou et al. 2023). Zero points are derived using an optimal aperture radius of 2 arcsec and normalised to a constant value of 27 mag. A representative example of the magnitude difference between 2MASS and KEDFS sources – measured across 42 images from a single night and across different detectors – is illustrated in the Applying zeropoint panel of Figure 2. Full details of the calibration procedure are provided in Appendix C. In future work, we plan to incorporate the 2MASS-to-VISTA Ks-band conversion from González-Fernández et al. (2018) for more accurate photometric calibration.
3.8 Resampling
We used Gnuastro’s WARP program to resample images onto a common grid aligned with WCS coordinates. We adopted a pixel scale of 0.2 arcsec to improve PSF sampling and enable robust measurement of LSB features. To optimise memory and computational resources, we restricted resampling to subregions of ~0.3 deg2 centred on the target. We coordinated this step via the resample.mk Makefile (see Figure 1). After resampling, we applied scalar image weights (Section 3.6) directly. Representative outputs, including resampled science and weight images, are shown in Figure 2. Full technical details are provided in Appendix D.
3.9 Final stack
Prior to co-adding the science images, we had to identify and mask artefacts such as saturated pixels, streaks, and cosmic rays at the pixel level. And then we employed a σ-clipping procedure for both the median and standard deviation (STD) using Gnuastro’s ARITHMETIC program. Pixels with values exceeding or falling below 3 × STD + median were masked to ensure that such artefacts were excluded from the final combination. The same masking procedure was subsequently applied to the weight images generated during the resampling stage (see Section 3.8).
The final stack was produced by dividing the weighted sum of the images by the sum of their corresponding weights, according to the following relation:
(1)
where Ii and wi denote the intensity and weight of the i-th image, respectively.
All these steps were executed within a single Makefile, stack.mk, as illustrated in Figure 1. In addition to producing the final stacked image and associated weight map, this Makefile also generates an exposure map based on the number of contributing images. Since each exposure has an integration time of one minute, the exposure map is expressed in minutes.
Examples of the final stacked image (Final stack) and the corresponding exposure map (Exposure map) are shown in Figure 2. For this illustration, we selected a 0.25 deg2 region centred on the galaxy NGC 1494, located within the KEDFS_2_4 tile of the KEDFS survey. The exposure map indicates that the number of stacked images varies from approximately 40 to 660 across the field, with the majority of the area reaching a depth of around 5 hours. A more detailed discussion of this image, focusing on NGC 1494, is presented in Section 4.1.
![]() |
Fig. 5 Sky modelling and subtraction process in the NASIM pipeline, illustrated for the IC 2000 galaxy. This figure shows the main steps within the sky subtraction loop implemented via the loopflow.mk Makefile. Top-left: Final stack image produced by the NASIM pipeline prior to additional sky modelling. Top-middle: Masked final stack, created by applying a strong mask with NOISECHISEL to isolate background regions. Top-right: Examples of masked images, showing individual masked, resampled frames. Bottom-right: Examples of sky modelling, based on fits with a second-order polynomial function. Bottom-middle: Examples of sky-subtracted images, following subtraction of the sky model. Bottom-left: Final stack after sky subtraction, demonstrating improved background uniformity and enhanced recovery of LSB features. |
3.10 Sky modelling
Following the creation of the final stacked image, we applied an additional stage to model and subtract the residual sky using a strong mask. This procedure was implemented through a new Makefile in the NASIM pipeline, referred to as loopflow.mk. An overview of this process, together with illustrative examples, is presented in Figure 5.
Initially, we employed Gnuastro’s NoiseChisel program to generate a strong mask based on the final stack. Subsequently, using Gnuastro’s Warp and Arithmetic programs, this mask was propagated to each individual resampled image. For the modelling of the residual sky, we tested three approaches: fitting a two-dimensional Chebyshev polynomial, and first- and second-order polynomial functions. After evaluating the performance of each method, we adopted the second-order polynomial function for use in the NASIM pipeline.
Following this additional sky subtraction, several steps of the pipeline were repeated, including the estimation of image weights, the construction of weight images, the identification of outliers, and the final stacking. This iterative nature of the process motivated the designation of the Makefile as loopflow.mk. As illustrated in Figure 5, the final stacked image produced by this procedure demonstrates a significant improvement in sky subtraction, while effectively preserving the LSB structures.
3.11 Efficient processing
The NASIM pipeline provides a fully automated, scalable, and reproducible framework for the reduction of VISTA/VIRCAM data. By employing 50 CPU cores in parallel, it completes the full workflow, from initial data retrieval from the ESO archive to final image stacking, in under 5 seconds per frame. Designed with large-scale surveys in mind, NASIM significantly reduces computational demands, lowering memory usage by 2.86 GB per image. Across the entire KEDFS dataset, this optimisation results in a cumulative storage saving of approximately 755 TB. The pipeline is inherently flexible, allowing seamless application to any VISTA/VIRCAM survey, independent of filter selection or survey depth. A demonstration of its performance, based on a comparison between NASIM-processed and standard publicly released data from the VIDEO survey, is presented in Section 5.
4 Science showcases
In this section, we present several scientific cases enabled by the NASIM pipeline applied to the KEDFS survey data. These examples not only demonstrate the pipeline’s ability to process complex, large-scale datasets, but also highlight its effectiveness in recovering LSB structures and detecting faint sources in the NIR. In addition, we introduce the depth and key parameters of this new VISTA survey, previously unreleased, providing unique opportunities for future investigations.
![]() |
Fig. 6 Comparison of Ks-band images of NGC 1494 from 2MASS (left), VHS (middle), and KEDFS (right). All panels are shown with the same physical scale and intensity stretch to emphasise faint structures. The KEDFS image, processed with the NASIM pipeline, reveals a markedly more extended outskirts and LSB features that are not detected in the shallower 2MASS and VHS data. |
4.1 Outskirts and edge of galaxies
One of the key strengths of the NASIM pipeline is its ability to reveal LSB features in the outskirts of galaxies, regions critical for studying galaxy growth and tracing the full extent of galactic structures. Here, we examine the galaxy NGC 1494 (also shown in the pipeline flowchart; Figure 2) as a case study to demonstrate both the depth achieved by the KEDFS survey and the effectiveness of the NASIM pipeline in preserving faint, extended structures.
NGC 1494 is a late-type spiral galaxy (Grosbøl et al. 2004), classified as SA(s)d (Buta et al. 2015), located at RA(J2000) = 03h57m43s.7, Dec(J2000) = -48°54′22", at a distance of approximately 13.8 Mpc (Pisano et al. 2011). Its moderately inclined disc and relatively undisturbed morphology make it an excellent target for investigating the faint outskirts of galaxies.
Figure 6 presents images of NGC 1494 from three datasets of varying depth: our NASIM-processed reduction of the KEDFS field, the VHS survey processed by the CASU pipeline, and 2MASS. This visual comparison highlights both the superior depth of the KEDFS survey and the capability of the NASIM pipeline to preserve LSB structures, particularly in the galaxy’s outer regions where signal levels approach the background noise.
To quantitatively support the visual differences seen in Figure 6, we derive Ks -band surface brightness profiles for NGC 1494 using the 2MASS, VHS, and KEDFS datasets. We compute these profiles, shown in Figure 7, using the ASTSCRIPT-RADIAL-PROFILE tool from Gnuastro (Infante-Sainz et al. 2024). This script constructs elliptical annuli and measures the flux distribution using routines from the Gnuastro suite. Before extracting the profiles, we mask all surrounding sources using NoiseChisel to minimise contamination. For NGC 1494, we adopt elliptical apertures with an axis ratio of 0.65 and a position angle of 85.75° (measured east of north) to accurately trace the galaxy’s structure.
The KEDFS reduction reaches a Ks-band surface brightness depth of approximately 27.7 mag arcsec-2 (3σ over 100 arcsec2), corresponding to roughly 67 times higher sensitivity than 2MASS and 11 times higher than VHS in terms of surface brightness detection.
![]() |
Fig. 7 Radial surface brightness profiles of NGC 1494 in the Ks band, derived from 2MASS, VHS, and KEDFS images using the Gnuas-tro ASTSCRIPT-RADIAL-PROFILE script. The KEDFS profile extends smoothly to fainter levels (reaching ~27.7 mag arcsec-2), demonstrating both the superior depth of the survey and the effectiveness of the NASIM pipeline in preserving LSB features in the galaxy’s outskirts. |
4.2 Low surface brightness galaxies
A class of galaxies known as LSB galaxies has been studied for decades (e.g. Sandage & Binggeli 1984; Caldwell & Bothun 1987; Impey et al. 1988), particularly in dense environments such as galaxy clusters (Conselice 2018). A subset of these, later referred to as ultra-diffuse galaxies (UDGs), was highlighted by van Dokkum et al. (2015), who identified many more faint examples and helped renew interest in this population. With central surface brightnesses of μg ~ 24-26 mag arcsec-2 and effective radii of re ~ 1.5-4.5 kpc, UDGs are considered promising candidates for probing the properties of nearly dark matter–dominated systems. Progress in understanding UDGs has been hindered by several factors, including the lack of homogeneous observational datasets across environments, inconsistent and often arbitrary selection criteria, and limited constraints on the nature of their dark matter haloes (Zaritsky et al. 2023). Although many UDGs have been discovered in rich environments such as galaxy clusters, and field and group UDGs, may have distinct origins and evolutionary paths, offering unique constraints on the low-mass end of galaxy formation (Mihos et al. 2024).
While most UDG discoveries have relied on deep optical imaging (e.g. Mihos et al. 2015; Venhola et al. 2017; Zaritsky et al. 2019; Trujillo et al. 2021), NIR observations are essential for tracing their underlying stellar mass with reduced sensitivity to dust and young stellar populations. The Ks band, in particular, provides a powerful view of the stellar mass content of galaxies. However, its potential for UDG studies remains largely untapped due to the high and variable NIR sky and the absence of specialised pipelines capable of recovering extremely faint, extended emission. These challenges significantly limit the study of LSB galaxies in the NIR from ground-based observatories. With NASIM, we address this gap by providing the first pipeline specifically optimised to recover LSB features in ground-based NIR data across all VISTA bands, with particular emphasis on the challenging Ks band.
In Figure 8, we present an example of a UDG identified in the KEDFS_2_3 tile: SMDG 0406539–480442, a galaxy from the Systematically Measuring Ultra-Diffuse Galaxies (SMUDGes) catalogue (Zaritsky et al. 2019). It is located at RA(J2000) = 04h06m53s.91, Dec(J2000) = -48°04′41".7, and has a noncircularised effective radius of 8.28 arcseconds based on Legacy Survey measurements (Zaritsky et al. 2022). Its detection in our Ks -band stack, despite the challenges posed by faint and extended surface brightness, clearly demonstrates NASIM’s ability to recover diffuse structures directly in the NIR. This highlights the pipeline’s suitability for identifying and analysing LSB galaxies such as UDGs. Building on this, future work will use NASIM-processed VISTA data alongside multi-wavelength observations to derive the physical and structural properties of UDGs across a range of environments.
4.3 Intracluster light
The diffuse stellar component known as ICL permeates galaxy clusters, composed of stars stripped from their host galaxies during tidal interactions, mergers, and other dynamical processes (e.g. Montes & Trujillo 2014; Contini 2021; Montes 2022). As an unbound and extended tracer of past gravitational encounters, the ICL encodes the hierarchical growth history of clusters, offering a unique window into their assembly and evolution. It serves as a sensitive probe of cluster dynamics, stellar mass distribution, and galaxy–environment interactions (e.g. DeMaio et al. 2018; Montes 2019). Over the past two decades, deep optical surveys have firmly established the ubiquity of the ICL in both nearby and intermediate-redshift clusters, revealing spatial and colour gradients that trace the metallicity and age distribution of its stellar populations (e.g. Mihos et al. 2017; Kluge et al. 2020). However, the reliance on optical wavelengths introduces biases due to sensitivity to recent star formation, dust extinction, and redshift-dependent passband shifts – limitations that can be mitigated with deep NIR observations.
Deep infrared imaging from JWST has demonstrated the power of NIR data in revealing the structure and stellar populations of the ICL with robust clarity (Montes & Trujillo 2022). Meanwhile, recent studies using Euclid-like bands have begun to extend ICL analyses into the NIR from space, benefiting from stable backgrounds and improved spatial resolution (Ellien et al. 2025). However, Euclid lacks coverage in the Ks band, which is particularly well suited for tracing the evolved stellar populations that dominate the ICL. In this context, the KEDFS survey offers a crucial complement with the deepest ground-based Ks-band imaging in this region, enabling a more complete and less biased reconstruction of the ICL’s stellar mass and formation history.
To demonstrate the capabilities of NASIM in recovering diffuse intracluster emission, we present an example in the galaxy cluster ACT-CLJ0414.2-4612, located at RA(J2000) = 04h14m13s.0, Dec(J2000) = -46°12′00".1 with a photometric redshift of z = 0.1894 (Hilton et al. 2021). This cluster lies within the KEDFS_1_1 tile, where the depth of the Ks -band imaging enables the ICL to be distinctly traced over extended regions. In Figure 9, we compare the NASIM-reduced Ks-band image of this cluster with a colour composite (JHK) generated from the shallower VHS data. We produce the colour image using the ASTSCRIPT-COLOR-FAINT-GRAY script from Gnuastro, which applies a non-linear transformation to compress the dynamic range of bright sources, enhancing the visibility of faint diffuse structures in the final composite (Infante-Sainz & Akhlaghi 2024). This comparison highlights the dramatic improvement achieved through NASIM processing: we clearly reveal the ICL as a diffuse, spatially coherent structure surrounding the brightest cluster galaxy – features that remain barely visible or entirely absent in the VHS composite. The depth and uniformity of the KEDFS Ks -band data, enhanced by NASIM, provide a unique opportunity to explore the ICL in unprecedented detail. We are thus able to make robust measurements of its stellar content, morphology, and spatial extent, as well as its connection to the total mass distribution of the cluster.
![]() |
Fig. 8 Example of a UDG, SMDG,J0406539–480442, identified in the KEDFS field using the NASIM pipeline. The Ks -band image highlights the galaxy’s diffuse structure, with a zoom-in panel providing a closer view. Several galaxy clusters are also visible in the field, making this a particularly rich and interesting region. This figure illustrates NASIM’s ability to recover faint, extended features in crowded NIR fields. |
![]() |
Fig. 9 Colour composite (JHKs) image from VHS (left) compared to the deeper KEDFS Ks-band image processed with NASIM (right) for the galaxy cluster ACT-CL J0414.2-4612. The NASIM reduction reveals extended ICL around the central galaxy that is not visible in the shallower VHS data. |
5 Discussion
5.1 An improved LSB reduction scheme
The accurate recovery of extended LSB features in NIR imaging remains a significant challenge, particularly in wide-field surveys where conventional data reduction pipelines focus primarily on compact sources and point-source sensitivity in background-limited regimes. These pipelines often apply aggressive sky subtraction and default flat-fielding procedures that, while optimised for point sources, inadvertently suppress or distort extended emission – especially in the outskirts of nearby galaxies or around diffuse intracluster structures. In contrast, with NASIM, we specifically aim to preserve faint, extended LSB features. We incorporate a suite of carefully tailored processing steps designed to overcome the principal limitations of conventional reductions:
We apply a novel flat-fielding approach, known as adaptive flat, which constructs calibration frames directly from science exposures, using varying input sets tailored to produce a unique master flat for each image. We implement this method using the powerful Gnuastro programs, which effectively remove large-scale instrumental patterns and correct for the complex detector-level structures of the VIRCAM array.
We apply a conservative sky subtraction strategy that avoids overfitting large-scale background variations and preserves genuine diffuse emission. We complement this with optimised object masking using the robust NoiseChisel program and careful sky modelling on appropriate spatial scales to ensure an unbiased reconstruction of faint extended structures.
We perform robust outlier rejection during stacking and apply a weighted stacking scheme that accounts for image quality and background noise. This strategy suppresses residual artefacts and transient features while preserving extended LSB signals across multiple exposures.
5.2 Detailed comparison with point source-optimised pipeline
To illustrate the practical advantages of the LSB-optimised algorithms of NASIM, we make a detailed comparison with the results from a point source-optimised pipeline applied to imaging of a field selected from the VISTA Deep Extragalactic Observations (VIDEO) survey. As summarised in Table 1, VIDEO is a deep, multi-band programme covering approximately 12 deg2 across the Z, Y, J, H, and Ks bands, designed to trace galaxy and large-scale structure evolution out to z ~ 4 (Jarvis et al. 2013). Its combination of depth and area makes it particularly well suited for studies of galaxy formation across cosmic time. We chose it for comparison with NASIM because it is one of the deepest VISTA surveys with publicly released reduced imaging. We use the publicly available VIDEO images, which the modular CASU pipeline initially processed as part of the VDFS. Although the reduction procedures largely follow established VISTA methods, the sky subtraction strategy is adjusted to improve sensitivity to faint sources: background frames are constructed from several unaligned, jittered paw-prints, excluding the target frame to mitigate self-subtraction, and masking only the brightest objects (Jarvis et al. 2013). This approach enhances the recovery of faint compact sources, but can lead to systematic over-subtraction around undetected or diffuse features, particularly in the LSB regime.
From the VIDEO XMM-LSS field, we select the tile xmm2, which includes the nearby galaxy NGC 895, located at RA(J2000) = 02h21m36s.47, Dec(J2000) = -05°31′17″.02. Although positioned near the edge of the tile, NGC 895’s large angular extent and proximity make it an ideal test case for evaluating the recovery of extended LSB features. In Figure 10, we present a side-by-side visual comparison between the publicly released VIDEO image (top panel) and the NASIM-processed version (bottom panel). Differences in background uniformity and the treatment of extended structures are clear. In the VDFS reduction, the outer regions of NGC 895 appear significantly truncated, with evident signs of over-subtraction near the galaxy’s edges. We also detect ghost-like residuals symmetrically flanking the galaxy, likely caused by persistence effects associated with the presence of a bright, extended object.
To better illustrate these effects, we include zoom-in panels for both reductions, highlighting NGC 895 and a nearby dwarf galaxy (LEDA 3098171). These close-ups enable us to make a more detailed visual comparison of how each pipeline preserves extended LSB emission.
We quantitatively confirm the improvements achieved with NASIM in Figure 11, where we present the surface brightness profiles of NGC 895, extracted from both reductions. For NGC 895, the NASIM profile extends smoothly and significantly further into the outskirts, maintaining the galaxy’s radial structure down to fainter levels.
The dwarf system (Fig. 12) also exhibits a striking difference: while both reductions detect its central core, only the NASIM-processed data preserves the faint outer envelope. By better recovering the outskirts of dwarf galaxies, NASIM enables a more accurate estimation of their total stellar mass, capturing light from extended LSB components that would otherwise be missed.
The conservative sky subtraction approach used in NASIM to preserve LSB features does not significantly compromise image depth: the 5σ limiting magnitude in 2 arcsec diameter apertures is 23.67 mag for NASIM, compared to 23.72 for the default VIDEO reduction. This demonstrates that NASIM maintains competitive sensitivity to faint compact sources, while simultaneously enabling the robust recovery of diffuse LSB structures. Because the creation of source catalogues with NASIM is beyond the scope of this paper, we do not comment here on whether, and to what extent, the NASIM results can be used for the study of higher-redshift galaxies for which the VIDEO data reduction was optimised. In future work, we will explore quantitatively whether a single NASIM-inspired pipeline can be used to produce both point source- and LSB-optimised imaging results.
This comparison highlights a central strength of NASIM, which is to meet the stringent demands of LSB science while accurately recovering faint, extended features. Our tailored design enables the reliable detection and preservation of diffuse structures such as galaxy outskirts, stellar haloes, LSB galaxies, tidal features, and ICL – domains where conventional pipelines often prove inadequate. Having presented the unique features of our pipeline and validated them in this paper, our future work will focus on releasing the full KEDFS dataset along with associated LSB-optimised catalogues. In addition, we plan to process and release large portions of the VHS using NASIM in the near future. While the VHS is shallower than the KEDFS (see Table 1), its vast sky coverage makes it uniquely valuable for LSB studies at scale – offering the potential to transform our understanding of diffuse structures across the NIR sky.
The methods we implement in NASIM – such as advanced sky modelling, mitigation of detector artefacts, and precise treatment of noise features – are broadly applicable beyond VISTA. We can adapt them to other NIR and infrared instruments, including operational and upcoming space-based missions like Euclid, Roman, and ARRAKIHS1 (Analysis of Resolved Remnants of Accreted galaxies as a Key Instrument for Halo Surveys) which face similar challenges such as 1/f noise, persistence, and background instabilities.
Crucially, we design NASIM as a fully open, modular, and reproducible workflow, aligned with best practices in transparent scientific computing. In an era increasingly shaped by large surveys and complex pipelines, we believe such open frameworks are essential for building confidence in the data and fostering collaborative progress across the astronomical community.
![]() |
Fig. 10 Comparison between the standard VDFS-reduced VIDEO image (top) and the NASIM-processed version (bottom) for the field containing NGC 895. The panels reveal a clear improvement in background uniformity and the recovery of extended LSB features in the NASIM reduction. The outer regions of NGC,895, which appear truncated in the VDFS image due to over-subtraction, are fully recovered. Ghost-like residuals seen in the standard reduction – likely caused by persistence effects from the bright galaxy, are absent in the NASIM result, demonstrating the effectiveness of the adaptive flat-fielding approach. Although the background is not perfectly uniform due to the original observing strategy, which was not optimised for NASIM’s flat-fielding method, significant improvements are still evident. Zoom-in panels highlight differences in the treatment of both the main galaxy and a nearby dwarf galaxy (LEDA 3098171). |
![]() |
Fig. 11 Surface brightness profiles of NGC 895 extracted from the standard VIDEO reduction and the NASIM-processed image. The NASIM profile extends smoothly to larger radii and fainter surface brightness levels, demonstrating improved recovery of the galaxy’s outskirts. In contrast, the VIDEO reduction shows an artificial truncation beyond ∼10 arcsec due to over-subtraction of the sky. |
![]() |
Fig. 12 Comparison of surface brightness profiles for the selected dwarf galaxy (LEDA 3098171), extracted from the standard VIDEO reduction and the NASIM-processed data. The NASIM reduction reveals the galaxy’s LSB outskirts, which are suppressed in the standard pipeline. This enhanced recovery of faint stellar light leads to a more complete accounting of the galaxy’s total luminosity and stellar mass. |
6 Summary
In this paper, we address the challenge of studying LSB structures in ground-based NIR observations – a regime that remains relatively unexplored due to strong atmospheric absorption and telluric emission. To tackle this, we develop NASIM: a fully automated and reproducible data reduction pipeline specifically designed to preserve diffuse emission in VISTA/VIRCAM observations. We incorporate several key techniques implemented through Gnuastro, including a novel flat-fielding approach (adaptive flat) that effectively removes large-scale instrumental patterns, a non-aggressive sky subtraction strategy tailored for extended emission, and robust outlier rejection during weighted coaddition.
While NASIM applies to all VISTA/VIRCAM surveys, this paper focusses on KEDFS, a newly introduced deep dataset in the Ks band (the 5σ limiting magnitude in 2 arcsec diameter apertures is ∼23.5 mag), covering approximately 20 deg2 of the sky. Our NASIM reduction of KEDFS achieves a depth of ∼27.7 mag arcsec-2 (3σ over 100 arcsec2), revealing prominent LSB features. As a validation, we explore several LSB structures in selected KEDFS tiles – including the outskirts of NGC 1494 galaxy, an example UDG: SMDG,J0406539–480442, and ICL in the galaxy cluster ACT-CLJ0414.2-4612. We plan a full reduction of the KEDFS dataset along with the development of associated LSB-optimised catalogues. Our comparison with the default VISTA/VIRCAM pipeline on VIDEO survey data demonstrates that NASIM not only recovers diffuse LSB structures typically missed by other pipelines but also preserves competitive sensitivity to faint compact sources.
Looking forwards, we anticipate that NASIM will serve as a foundation for future LSB studies in the NIR, particularly in synergy with space-based observatories such as Euclid, Roman, and ARRAKIHS where legacy ground-based imaging remains an essential complement. This work also underscores the value of fully open and transparent workflows as a path towards more reliable, reproducible science in the era of large surveys.
Data availability
This project was developed in the reproducible framework of Maneage2 (Managing data lineage, Akhlaghi et al. 2021, latest Maneage commit 8161194, from 22 May 2023). The project was built on an x86_64 machine with Little Endian byte-order, see Appendix E for the used software and their versions. This paper is created from the Git commit a02b40dd, hosted on https://gitlab.com/nasim-projects/pipeline (paper branch); archived on Software Heritage for long-term preservation: swh:1:dir: b3657cfb6053fd976695bd63c15cb99e5095648a. All of the files necessary to reproduce this paper – including the source, software tarballs, and essential input data – are archived on http://doi.org/10.5281/zenodo.16152699. In addition, some stacked FITS files from the KEDFS survey released by NASIM are also available on Zenodo.
Acknowledgements
The authors wish to express their heartfelt gratitude to the late Dr Mario Nonino, who led the original VISTA proposal for the KEDFS. His dedication, insight, and generosity left a lasting impact on this project and on all who had the privilege of working with him. We dedicate this paper to his memory. ES wishes to thank Prof. Jim Emerson for his valuable comments on the manuscript, and Pedram Ashofteh Ardakani, Raúl Infante-Sainz, Giulia Golini, and Zahra Sharbaf for their useful help, and suggestions in code writing. Co-funded by the European Union (MSCA Doctoral Network EDUCADO, GA 101119830 and Widening Participation, ExGal-Twin and UNDARK, GAs 101158446 and 101159929). JHK and IT acknowledges grants PID2022-136505NB-I00 and PID2022-140869NB-I00, respectively, funded by MCIN/AEI/10.13039/501100011033 and EU, ERDF. HD acknowledge support from the Agencia Estatal de Investigación del Ministerio de Ciencia, Innovación y Universidades (MCIU/AEI) under grant (Construcción de cúmulos de galax-ias en formación a través de la formación estelar oscurecida por el polvo) and ERDF with reference (PID2022-143243NB-I00/10.13039/501100011033). SC, and MA acknowledge support from the AEI-MICIU of the Spanish Ministry of Science, Innovation, and Universities under grants PID2023-149139NB-I00, and PID2021-124918NA-C43, respectively, co-funded by the ERDF where applicable.
References
- Akhlaghi, M. 2019a, arXiv e-prints [arXiv:1909.11230] [Google Scholar]
- Akhlaghi, M. 2019b, ASPC, 521, 299 [Google Scholar]
- Akhlaghi, M., & Ichikawa, T. 2015, ApJS, 220, 1 [Google Scholar]
- Akhlaghi, M., Infante-Sainz, R., Roukema, B. F., et al. 2021, CiSE, 23, 82 [Google Scholar]
- Astropy Collaboration (Robitaille, T. P., et al.) 2013, A&A, 558, A33 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Astropy Collaboration (Price-Whelan, A. M., et al.) 2018, AJ, 156, 123 [Google Scholar]
- Behnel, S., Bradshaw, R., Citro, C., et al. 2011, Comput. Sci. Eng., 13, 31 [Google Scholar]
- Bell, E. F., McIntosh, D. H., Katz, N., & Weinberg, M. D. 2003, ApJS, 149, 289 [Google Scholar]
- Bertin, E. 2006a, in Astronomical Society of the Pacific Conference Series, 351, Astronomical Data Analysis Software and Systems XV, eds. C. Gabriel, C. Arviset, D. Ponz, & S. Enrique, 112 [Google Scholar]
- Bertin, E. 2006b, ASPConf, 351, 112 [Google Scholar]
- Bertin, E., & Arnouts, S. 1996, A&AS, 117, 393 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Bertin, E., Mellier, Y., Radovich, M., et al. 2002, ASPConf, 281, 228 [Google Scholar]
- Blanton, M. R., & Roweis, S. 2007, AJ, 133, 734 [NASA ADS] [CrossRef] [Google Scholar]
- Borlaff, A., Trujillo, I., Román, J., et al. 2019, A&A, 621, A133 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Buta, R. J., Sheth, K., Athanassoula, E., et al. 2015, ApJS, 217, 32 [Google Scholar]
- Caldwell, N., & Bothun, G. D. 1987, AJ, 94, 1126 [Google Scholar]
- Caputi, K. I., Dunlop, J. S., McLure, R. J., & Roche, N. D. 2005, MNRAS, 361, 607 [Google Scholar]
- Cioni, M. R. L., Clementini, G., Girardi, L., et al. 2011, A&A, 527, A116 [CrossRef] [EDP Sciences] [Google Scholar]
- Conroy, C. 2013, ARA&A, 51, 393 [NASA ADS] [CrossRef] [Google Scholar]
- Conselice, C. J. 2018, RNAAS, 2, 43 [NASA ADS] [Google Scholar]
- Contini, E. 2021, Galaxies, 9, 60 [NASA ADS] [CrossRef] [Google Scholar]
- Cross, N. J. G., Collins, R. S., Mann, R. G., et al. 2012, A&A, 548, A119 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Cuby, J. G., Lidman, C., & Moutou, C. 2000, The Messenger, 101, 2 [Google Scholar]
- Dannerbauer, H., Carnero, A., Cross, N., & Gutierrez, C. M. 2022, The Messenger, 187, 12 [Google Scholar]
- DeMaio, T., Gonzalez, A. H., Zabludoff, A., et al. 2018, MNRAS, 474, 3009 [Google Scholar]
- Deng, X.-F., Wen, X.-Q., Xin, Y., Qi, X.-P., & Ding, Y.-P. 2020, Open Phys., 18, 16 [Google Scholar]
- Drory, N., Bender, R., Feulner, G., et al. 2004, ApJ, 608, 742 [Google Scholar]
- Edge, A., Sutherland, W., Kuijken, K., et al. 2013, The Messenger, 154, 32 [NASA ADS] [Google Scholar]
- Ellien, A., Montes, M., Ahad, S. L., et al. 2025, A&A, 698, A134 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Emerson, J. P., Irwin, M. J., Lewis, J., et al. 2004, SPIE Conf. Ser., 5493, 401 [Google Scholar]
- Emerson, J., McPherson, A., & Sutherland, W. 2006, The Messenger, 126, 41 [NASA ADS] [Google Scholar]
- Eskandarlou, S., Akhlaghi, M., Infante-Sainz, R., et al. 2023, RNAAS, 7, 269 [Google Scholar]
- Euclid Collaboration (Moneti, A., et al.) 2022, A&A, 658, A126 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Euclid Collaboration (Gabarra, L., et al.) 2023, A&A, 676, A34 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Euclid Collaboration (Jahnke, K., et al.) 2025, A&A, 697, A3 [Google Scholar]
- Fliri, J., & Trujillo, I. 2016, MNRAS, 456, 1359 [Google Scholar]
- Frigo, M., & Johnson, S. G. 2005, IEEE Proc., 93, 216 [CrossRef] [Google Scholar]
- Furusawa, J., Sekiguchi, K., Takata, T., et al. 2011, ApJ, 727, 111 [Google Scholar]
- Gaia Collaboration (Brown, A. G. A., et al.) 2021, A&A, 649, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Gris, P., Awan, H., Becker, M. R., et al. 2024, ApJS, 275, 21 [Google Scholar]
- González-Fernández, C., Hodgkin, S. T., Irwin, M. J., et al. 2018, MNRAS, 474, 5459 [Google Scholar]
- Grosbøl, P., Patsis, P. A., & Pompei, E. 2004, A&A, 423, 849 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Hambly, N. C., Collins, R. S., Cross, N. J. G., et al. 2008, MNRAS, 384, 637 [NASA ADS] [CrossRef] [Google Scholar]
- Harris, C. R., Millman, K. J., van der Walt, S. J., et al. 2020, Nature, 585, 357 [NASA ADS] [CrossRef] [Google Scholar]
- Hilton, M., Sifón, C., Naess, S., et al. 2021, ApJS, 253, 3 [Google Scholar]
- Hönig, S. F., Watson, D., Kishimoto, M., et al. 2017, MNRAS, 464, 1693 [CrossRef] [Google Scholar]
- Impey, C., Bothun, G., & Malin, D. 1988, ApJ, 330, 634 [Google Scholar]
- Infante-Sainz, R., & Akhlaghi, M. 2024, RNAAS, 8, 10 [NASA ADS] [Google Scholar]
- Infante-Sainz, R., Akhlaghi, M., & Eskandarlou, S. 2024, RNAAS, 8, 22 [NASA ADS] [Google Scholar]
- Irwin, M. J., Lewis, J., Hodgkin, S., et al. 2004, SPIE Conf. Ser., 5493, 411 [Google Scholar]
- Jarvis, M. J., Bonfield, D. G., Bruce, V. A., et al. 2013, MNRAS, 428, 1281 [Google Scholar]
- Kendall, S., Kennicutt, R. C., Clarke, C., & Thornley, M. D. 2008, MNRAS, 387, 1007 [Google Scholar]
- Kluge, M., Neureiter, B., Riffeser, A., et al. 2020, ApJS, 247, 43 [Google Scholar]
- Kochanek, C. S., Pahre, M. A., Falco, E. E., et al. 2001, ApJ, 560, 566 [NASA ADS] [CrossRef] [Google Scholar]
- Lang, D., Hogg, D. W., Mierle, K., Blanton, M., & Roweis, S. 2010, AJ, 139, 1782 [Google Scholar]
- Lawrence, A., Warren, S. J., Almaini, O., et al. 2007, MNRAS, 379, 1599 [Google Scholar]
- Maihara, T., Iwamuro, F., Yamashita, T., et al. 1993, PASP, 105, 940 [Google Scholar]
- McCracken, H. J., Milvang-Jensen, B., Dunlop, J., et al. 2012, A&A, 544, A156 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- McGaugh, S. S., & Schombert, J. M. 2014, AJ, 148, 77 [Google Scholar]
- McMahon, R. G., Banerji, M., Gonzalez, E., et al. 2013, The Messenger, 154, 35 [NASA ADS] [Google Scholar]
- Meingast, S., Alves, J., Bouy, H., & VISIONS Collaboration 2023, The Messenger, 191, 18 [Google Scholar]
- Mihos, J. C., Durrell, P. R., Ferrarese, L., et al. 2015, ApJ, 809, L21 [Google Scholar]
- Mihos, J. C., Harding, P., Feldmeier, J. J., et al. 2017, ApJ, 834, 16 [Google Scholar]
- Mihos, J. C., Durrell, P. R., Watkins, A. E., McGaugh, S. S., & Feldmeier, J. 2024, ApJ, 964, 67 [Google Scholar]
- Minniti, D., Lucas, P. W., Emerson, J. P., et al. 2010, New A, 15, 433 [Google Scholar]
- Montes, M. 2019, arXiv e-prints [arXiv:1912.01616] [Google Scholar]
- Montes, M. 2022, Nat. Astron., 6, 308 [NASA ADS] [CrossRef] [Google Scholar]
- Montes, M., & Trujillo, I. 2014, ApJ, 794, 137 [Google Scholar]
- Montes, M., & Trujillo, I. 2022, ApJ, 940, L51 [NASA ADS] [CrossRef] [Google Scholar]
- Pisano, D. J., Barnes, D. G., Staveley-Smith, L., et al. 2011, ApJS, 197, 28 [Google Scholar]
- Román, J., Castilla, A., & Pascual-Granado, J. 2021, A&A, 656, A44 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Sandage, A., & Binggeli, B. 1984, AJ, 89, 919 [Google Scholar]
- Schneider, A. C., Vrba, F. J., Bruursema, J., et al. 2025, arXiv e-prints [arXiv:2506.14621] [Google Scholar]
- Sureshkumar, U., Durkalec, A., Pollo, A., et al. 2021, A&A, 653, A35 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Sutherland, W., Emerson, J., Dalton, G., et al. 2015, A&A, 575, A25 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Trinh, C. Q., Ellis, S. C., Bland-Hawthorn, J., et al. 2013, MNRAS, 432, 3262 [Google Scholar]
- Trujillo, I., & Fliri, J. 2016, ApJ, 823, 123 [Google Scholar]
- Trujillo, I., D’Onofrio, M., Zaritsky, D., et al. 2021, A&A, 654, A40 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- van Dokkum, P. G., Abraham, R., Merritt, A., et al. 2015, ApJ, 798, L45 [NASA ADS] [CrossRef] [Google Scholar]
- Venhola, A., Peletier, R., Laurikainen, E., et al. 2017, A&A, 608, A142 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
- Virtanen, P., Gommers, R., Oliphant, T. E., et al. 2020, Nat. Methods, 17, 261 [Google Scholar]
- Zaritsky, D., Donnerstein, R., Dey, A., et al. 2019, ApJS, 240, 1 [Google Scholar]
- Zaritsky, D., Donnerstein, R., Karunakaran, A., et al. 2022, ApJS, 261, 11 [NASA ADS] [CrossRef] [Google Scholar]
- Zaritsky, D., Donnerstein, R., Dey, A., et al. 2023, ApJS, 267, 27 [NASA ADS] [CrossRef] [Google Scholar]
- Zibetti, S., Charlot, S., & Rix, H.-W. 2009, MNRAS, 400, 1181 [NASA ADS] [CrossRef] [Google Scholar]
Appendix A Astrometric calibration details
Astrometry in NASIM is conducted in two stages. Initially, a rapid astrometric solution is achieved using the Astrome-try.net program (Lang et al. 2010). The steps are as follows:
Download Gaia DR3 (Gaia Collaboration 2021) as a reference catalogue. To streamline handling, the sky is partitioned into smaller files. By using an initial estimate of image locations, Astrometry.net optimises the search by skipping non-overlapping sky tiles, resulting in faster and more memory-efficient processing. We encoded the coordinates and radius of the EDFS region into a configuration file.
Build index files from the reference catalogue to expedite the matching process and enable parallel execution.
Generate catalogues from images as input for Astrome-try.net. By default, Astrometry.net uses an internal catalogue with predefined parameters. However, we opted to generate external catalogues, incorporating settings that minimise the occurrence of unreliable and spurious detections. To create these catalogues, we employed Gnuastro’s NoiseChisel and Segment programs to generate clump maps of sources. Subsequently, the MakeCatalog program was used to measure the brightness of these clumps (Akhlaghi 2019b).
Solve the astrometry of images using the generated index files. Astrometry.net provides a non-linear mapping from image to sky coordinates through the SIP (Simple Imaging Polynomial) projection. We then used Gnuastro’s Fits and Arithmetic programs to convert the SIP solution into a TPV (TAN projection with polynomial distortion correction) convention, and transferred the WCS headers into the original, non-astrometrised images.
Using Gnuastro’s ASTSCRIPT-DS9-REGION program and the Gaia catalogue, we verified the accuracy of WCS coordinates for numerous images.
Following the initial rapid astrometric solution with Astrometry.net, a more refined calibration was necessary to correct for small-scale distortions and ensure precise alignment across all detectors. This refinement was achieved through a second stage of astrometry using the SCAMP program (Bertin 2006a), which builds upon the initial solution by modelling and correcting residual distortions based on source catalogues. S CAMP calculates astrometric projection parameters using source catalogues generated by the SExtractor program (Bertin & Arnouts 1996). For catalogue creation with SExtractor, we utilised a multi-extension image containing all 16 detectors of VIRCAM to enhance astrometric precision. To ensure a catalogue populated with reliable sources, we adjusted key input parameters in the sex.config file, such as detect_minarea (the minimum number of pixels above threshold) and detect_thresh, focusing on detecting only bright sources.
To achieve an accurate solution, we carefully scrutinised various parameters in the SCAMP configuration file. For instance, we used a “focal-plane” model for VIRCAM, available within SCAMP, as an input header. We initially set the mosaic_type option to fix_focalplane for pattern matching. The resulting distortion map, illustrating the astrometric model of the input frames after calibration with this configuration, is shown at the top of Figure A.1 (Fix_Focalplane). It reveals limitations in aligning all detectors consistently, indicating that this configuration was not optimal for our dataset.
![]() |
Fig. A.1 Distortion maps of the 16 VIRCAM detectors after astrometric calibration with S CAMP. Each panel is labelled with the calibration setting used: Fix_Focalplane (top) and Unchanged (bottom). The distortion pattern in the Unchanged case is consistent with the expected optical behaviour of a wide-field telescope, with minimal distortion near the centre and increasing distortion towards the edges. Pixel scale variations are colour-coded, with the corresponding scale bars shown to the right of each panel. |
In pursuit of maintaining better alignment across all detectors, we determined that setting the mosaic_type option to unchanged yielded the most suitable solution. The improved distortion map is presented at the bottom of Figure A.1 (Unchanged). The pixel scale is depicted across the field of view using a colour gradient from blue to red. The observed distortion pattern aligns with the expected behaviour for an astronomical telescope, with minimal distortion at the centre and larger distortions towards the edges.
The computed solution from SCAMP follows the WCS standard and was saved as a header file. We incorporated these headers into each image using Gnuastro’s Fits program.
![]() |
Fig. A.2 Example of variations in SKY-STD across all images taken during a single night. Left panel: Variations in SKY-STD as a function of detector number, highlighting discernible differences in image quality among detectors. Middle panel: Correlation between SKY-STD and airmass for selected detectors, illustrating the impact of zenith angle on image quality. Right panel: Distribution of computed weights for all images from the night, reflecting the range of observational quality. |
Appendix B Image weighting details
Image weighting is critical to account for variations in image quality arising from changes in airmass during the night and detector-to-detector differences. Image weights were computed by measuring the standard deviation of the sky (SKY-STD) in each frame, employing the NoiseChisel program without interpolation, following a similar approach to that described in Section 3.5. A σ-clipped median (3σ clipping with a tolerance of 0.1) was applied to the tiles in the SKY-STD frames produced by NoiseChisel. Weights were normalised such that the highest-quality data (with the minimum SKY-STD) were assigned a weight of 1, while the lowest-quality data (with the maximum SKY-STD) were assigned a weight given by
(B.1)
An example of the variation in SKY-STD across a single night is shown in Figure A.2. The left panel illustrates fluctuations in SKY-STD as a function of detector number, revealing notable quality differences among the detectors. The middle panel shows the variation of SKY-STD with airmass for selected detectors, demonstrating a clear correlation with atmospheric conditions. The right panel presents the resulting distribution of weights, which range from 0.67 to 1.0, reflecting the variability in observation quality throughout the night.
Appendix C Photometric calibration details
The 2MASS catalogue was adopted as the reference for the photometric calibration of our images. To enable direct comparison, 2MASS magnitudes were converted from the Vega to the AB system (Blanton & Roweis 2007). Aperture photometry on the processed images was performed using Gnuastro’s MakeProfile and MakeCatalog programs, with stellar positions accurately determined relative to the Gaia catalogue. The KEDFS catalogues were then matched to the 2MASS reference using Gnuastro’s Match program. The method used for estimating the photometric zero point follows the same approach developed for Gnuastro’s ASTSCRIPT-ZEROPOINT program (Eskandarlou et al. 2023).
Figure B.1 shows the difference between 2MASS and KEDFS magnitudes, plotted against the 2MASS magnitudes, measured within a 2-arcsec radius aperture across 42 images from a single night and for different detectors. Due to the completeness limits of the 2MASS catalogue and the saturation levels in VISTA images, the calibration was restricted to sources with magnitudes between 14 and 16 mag (AB system) in 2MASS. To determine the optimal aperture size for photometry, we initially tested various aperture radii ranging from 1 to several times the FWHM. For each case, we computed the standard deviation of the derived zero points and selected the aperture size that minimised this dispersion, corresponding to a radius of 2 arcsec. This choice was found to be consistent across all detectors.
The distribution of zero points obtained from the 42 images across all 16 detectors is shown in Figure C.1. Zero points were calculated using Gnuastro’s σ-clipping algorithm, adopting a 3σ threshold with a tolerance of 0.1. To assess the robustness of the photometric calibration, we examined the correlation between the derived zero points and the airmass at the time of observation. The typical variation of zero points across the range of airmasses observed is approximately 0.1 mag. A weak but statistically significant trend was observed, with zero points decreasing as airmass increased, indicative of increased atmospheric extinction at higher airmasses. Overall, the scatter in the zero point distribution is consistent with expectations, primarily reflecting variations in observing conditions. Finally, the photometric zeropoints of all images were normalised to a constant value of 27 mag.
Appendix D Resampling details
Image resampling was performed using Gnuastro’s Warp program. Warp employs a non-parametric interpolation technique known as “pixel mixing,” which uses the fractional area of an output pixel over an input pixel to estimate how much each input pixel should contribute to an output pixel. By default, Warp aligns the pixel grid of the input image with the WCS coordinates embedded in the header. Given that the pixel scale of VIRCAM detectors varies both between detectors and across individual frames, we employed the cdelt option to standardise the pixel size to 0.34 arcsec. After testing different pixel scales, we adopted a final value of 0.2 arcsec, as it provides finer sampling of the PSF and facilitates more accurate measurements of LSB structures3. This choice follows the convention adopted in several other VISTA surveys, such as the VIDEO survey. Nevertheless, the pipeline remains flexible, and the previously tested value of 0.34 arcsec can still be used where computational resources or storage limitations are more critical.
![]() |
Fig. B.1 Difference between 2MASS and KEDFS magnitudes as a function of 2MASS magnitude, measured within a 2 arcsec radius aperture, for 42 frames taken over a single night across all detectors. The photometric calibration is based on sources with 2MASS AB magnitudes between 14 and 16. |
Due to the large size of a VISTA tile (exceeding 1.5 square degrees; Cross et al. 2012), we opted not to resample the entire tile. Instead, we selected a subregion of approximately 0.3 square degrees centred on the target coordinates. This choice was motivated by limitations in available RAM, as well as the computational challenges associated with handling large image mosaics.
Following resampling, the corresponding weight values for each image (Section 3.6) were applied. Since these weights are scalar values, unaffected by rotation, warping, or sky curvature, they were simply multiplied after the warping step. This approach significantly reduced storage, memory usage, and processing time; otherwise, it would have been necessary to warp both the science images and their associated weight maps. Examples of a resampled science image (Resampled image) and its corresponding weight image (Weight image) are shown in Figure 2, although the latter is generated at the stacking stage by the stack.mk Makefile after outlier rejection (see Section 3.9).
Appendix E Software acknowledgement
This research was done with the following free software programs and libraries: 1.23, Astrometry.net 0.91 (Lang et al. 2010), Boost 1.77.0, Bzip2 1.0.8, Cairo 1.16.0, cdsclient 3.84, CFITSIO 4.1.0, CMake 3.24.0, cURL 7.84.0, Dash 0.5.11-057cd65, Discoteq flock 0.4.0, Eigen 3.4.0, Expat 2.4.1, FFTW 3.3.10 (Frigo & Johnson 2005), File 5.42, Fontconfig 2.14.0, FreeType 2.11.0, Git 2.37.1, GNU Astronomy Utilities 0.23 (Akhlaghi & Ichikawa 2015), GNU Autoconf 2.71, GNU Automake 1.16.5, GNU AWK 5.1.1, GNU Bash 5.2-rc2, GNU Binutils 2.39, GNU Bison 3.8.2, GNU Compiler Collection (GCC) 12.1.0, GNU Coreutils 9.1, GNU Diffutils 3.8, GNU Emacs 28.1, GNU Findutils 4.9.0, GNU gettext 0.21, GNU gperf 3.1, GNU Grep 3.7, GNU Gzip 1.12, GNU Integer Set Library 0.24, GNU libiconv 1.17, GNU Libtool 2.4.7, GNU libunistring 1.0, GNU M4 1.4.19, GNU Make 4.3, GNU Multiple Precision Arithmetic Library 6.2.1, GNU Multiple Precision Complex library, GNU Multiple Precision Floating-Point Reliably 4.1.0, GNU Nano 6.4, GNU NCURSES 6.3, GNU Readline 8.2-rc2, GNU Scientific Library 2.7, GNU Sed 4.8, GNU Tar 1.34, GNU Texinfo 6.8, GNU Wget 1.21.2, GNU Which 2.21, GPL Ghostscript 9.56.1, Help2man , Less 590, Libffi 3.4.2, Libgit2 1.3.0, libICE 1.0.10, Libidn 1.38, Libjpeg 9e, Libpaper 1.1.28, Libpng 1.6.37, libpthread-stubs (Xorg) 0.4, libSM 1.2.3, Libtiff 4.4.0, libXau (Xorg) 1.0.9, libxcb (Xorg) 1.15, libXdmcp (Xorg) 1.1.3, libXext 1.3.4, Libxml2 2.9.12, libXt 1.2.1, LibYAML 0.2.5, Lzip 1.23, OpenBLAS 0.3.24, Open MPI 4.1.1, OpenSSL 3.0.5, PatchELF 0.13, Perl 5.36.0, Pixman 0.40.0, pkg-config 0.29.2, PLplot 8.44, podlators 4.14, Python 3.10.6, SCAMP 2.10.0 (Bertin 2006b), SExtractor 2.25.0 (Bertin & Arnouts 1996), SWarp 2.41.5 (Bertin et al. 2002), Swig 4.0.2, util-Linux 2.38.1, util-macros (Xorg) 1.19.3, WCSLIB 7.11, X11 library 1.8, XCB-proto (Xorg) 1.15, xorgproto 2022.1, xtrans (Xorg) 1.4.0, XZ Utils 5.2.5 and Zlib 1.2.11. Within Python, the following modules were used: Astropy 5.1 (Astropy Collaboration 2013, 2018), BeautifulSoup 4.10.0, Cython 0.29.24 (Behnel et al. 2011), Extension-Helpers 0.1, HTML5lib 1.0.1, Jinja2 3.0.3, MarkupSafe 2.0.1, Numpy 1.21.3 (Harris et al. 2020), Packaging 21.3, pybind11 2.5.0, PyERFA 2.0.0.1, PyParsing 3.0.4, PyYAML 5.1, Scipy 1.7.3 (Virtanen et al. 2020), Setuptools 58.3.0, Setuptools-scm 3.3.3, Six 1.16.0, SoupSieve 1.8 and Webencodings 0.5.1. The LATEX source of the paper was compiled to make the PDF using the following packages: biber 2.20, biblatex 3.20, bitset 1.3, caption 68425 (revision), courier 61719 (revision), csquotes 5.2o, datetime 2.60, ec 1.0, etoolbox 2.5l, fancyhdr 5.2, fancyvrb 4.5c, fmtcount 3.10, fontaxes 2.0.1, footmisc 7.0b, fp 2.1d, helvetic 61719 (revision), kastrup 15878 (revision), letltxmacro 1.6, lineno 5.5, logreq 1.0, mweights 53520 (revision), newtx 1.756, pdfescape 1.15, pdftexcmds 0.33, pgf 3.1.10, pgfplots 1.18.1, preprint 2011, setspace 6.7b, sttools 3.1, tex 3.141592653, texgyre 2.501, times 61719 (revision), titlesec 2.17, trimspaces 1.1, txfonts 15878 (revision), ulem 53365 (revision), xcolor 3.02, xkeyval 2.9, xpatch 0.3 and xstring 1.86. We are very grateful to all their creators for freely providing this necessary infrastructure. This research (and many other projects) would not be possible without them.
![]() |
Fig. C.1 Histogram of photometric zero points derived for 42 images obtained over a single night, covering all 16 detectors. Zero points were estimated using σ-clipping (3σ with a tolerance of 0.1), based on calibration sources with AB magnitudes between 14 and 16 from the 2MASS catalogue. |
All Tables
All Figures
![]() |
Fig. 1 Structural diagram of the NASIM pipeline. Each coloured box represents a file, with arrows indicating the flow of inputs to outputs. Green boxes correspond to plain-text source files that are version-controlled within the project directory, while blue boxes represent output products generated during the build process. The Makefiles (*.mk) define the targets and dependencies that govern the automated execution of each pipeline stage. |
| In the text | |
![]() |
Fig. 2 Schematic overview of the NASIM pipeline, illustrating the principal stages of its VISTA/VIRCAM data reduction. Each panel represents a major processing step, including dark subtraction, flat-fielding, astrometric calibration, initial sky subtraction, weight estimation, photometric calibration, resampling, and final stacking. |
| In the text | |
![]() |
Fig. 3 Illustration of flat-fielding strategies and their outcomes in the NASIM pipeline. Top panels: ratios of segmented-night master flats (second method) to the single-night master flat (first method), revealing significant sky variations over approximately one hour within a single night. These fluctuations highlight the need for special flat-fielding techniques. Bottom panels: final coadded images using different flat-fielding methods, each covering 0.28 × 0.28 deg2 and centred on the galaxy IC 2000 from KEDFS_1_5 tile: Method 1: Single-Night, preserves galaxy outskirts but retains large-scale gradients; Method 2: Segmented-Night, reduces gradients but suffers from persistence artefacts; Method 3: Detections Replacement, attempts to mitigate persistence effects, but introduces background inconsistencies; Method 4: Adaptive Flat, achieves the best balance, effectively reducing both gradients and persistence. |
| In the text | |
![]() |
Fig. 4 Correction of 1/f noise artefacts in the final images. Top panels: Comparison between a sample image Before Correction (left) and the same image After 1/f Noise Correction (right) after correction using Gnuastro’s ARITHMETIC program. Bottom panel: The Ratio between the two images, highlighting the spatial structure of the removed pattern. |
| In the text | |
![]() |
Fig. 5 Sky modelling and subtraction process in the NASIM pipeline, illustrated for the IC 2000 galaxy. This figure shows the main steps within the sky subtraction loop implemented via the loopflow.mk Makefile. Top-left: Final stack image produced by the NASIM pipeline prior to additional sky modelling. Top-middle: Masked final stack, created by applying a strong mask with NOISECHISEL to isolate background regions. Top-right: Examples of masked images, showing individual masked, resampled frames. Bottom-right: Examples of sky modelling, based on fits with a second-order polynomial function. Bottom-middle: Examples of sky-subtracted images, following subtraction of the sky model. Bottom-left: Final stack after sky subtraction, demonstrating improved background uniformity and enhanced recovery of LSB features. |
| In the text | |
![]() |
Fig. 6 Comparison of Ks-band images of NGC 1494 from 2MASS (left), VHS (middle), and KEDFS (right). All panels are shown with the same physical scale and intensity stretch to emphasise faint structures. The KEDFS image, processed with the NASIM pipeline, reveals a markedly more extended outskirts and LSB features that are not detected in the shallower 2MASS and VHS data. |
| In the text | |
![]() |
Fig. 7 Radial surface brightness profiles of NGC 1494 in the Ks band, derived from 2MASS, VHS, and KEDFS images using the Gnuas-tro ASTSCRIPT-RADIAL-PROFILE script. The KEDFS profile extends smoothly to fainter levels (reaching ~27.7 mag arcsec-2), demonstrating both the superior depth of the survey and the effectiveness of the NASIM pipeline in preserving LSB features in the galaxy’s outskirts. |
| In the text | |
![]() |
Fig. 8 Example of a UDG, SMDG,J0406539–480442, identified in the KEDFS field using the NASIM pipeline. The Ks -band image highlights the galaxy’s diffuse structure, with a zoom-in panel providing a closer view. Several galaxy clusters are also visible in the field, making this a particularly rich and interesting region. This figure illustrates NASIM’s ability to recover faint, extended features in crowded NIR fields. |
| In the text | |
![]() |
Fig. 9 Colour composite (JHKs) image from VHS (left) compared to the deeper KEDFS Ks-band image processed with NASIM (right) for the galaxy cluster ACT-CL J0414.2-4612. The NASIM reduction reveals extended ICL around the central galaxy that is not visible in the shallower VHS data. |
| In the text | |
![]() |
Fig. 10 Comparison between the standard VDFS-reduced VIDEO image (top) and the NASIM-processed version (bottom) for the field containing NGC 895. The panels reveal a clear improvement in background uniformity and the recovery of extended LSB features in the NASIM reduction. The outer regions of NGC,895, which appear truncated in the VDFS image due to over-subtraction, are fully recovered. Ghost-like residuals seen in the standard reduction – likely caused by persistence effects from the bright galaxy, are absent in the NASIM result, demonstrating the effectiveness of the adaptive flat-fielding approach. Although the background is not perfectly uniform due to the original observing strategy, which was not optimised for NASIM’s flat-fielding method, significant improvements are still evident. Zoom-in panels highlight differences in the treatment of both the main galaxy and a nearby dwarf galaxy (LEDA 3098171). |
| In the text | |
![]() |
Fig. 11 Surface brightness profiles of NGC 895 extracted from the standard VIDEO reduction and the NASIM-processed image. The NASIM profile extends smoothly to larger radii and fainter surface brightness levels, demonstrating improved recovery of the galaxy’s outskirts. In contrast, the VIDEO reduction shows an artificial truncation beyond ∼10 arcsec due to over-subtraction of the sky. |
| In the text | |
![]() |
Fig. 12 Comparison of surface brightness profiles for the selected dwarf galaxy (LEDA 3098171), extracted from the standard VIDEO reduction and the NASIM-processed data. The NASIM reduction reveals the galaxy’s LSB outskirts, which are suppressed in the standard pipeline. This enhanced recovery of faint stellar light leads to a more complete accounting of the galaxy’s total luminosity and stellar mass. |
| In the text | |
![]() |
Fig. A.1 Distortion maps of the 16 VIRCAM detectors after astrometric calibration with S CAMP. Each panel is labelled with the calibration setting used: Fix_Focalplane (top) and Unchanged (bottom). The distortion pattern in the Unchanged case is consistent with the expected optical behaviour of a wide-field telescope, with minimal distortion near the centre and increasing distortion towards the edges. Pixel scale variations are colour-coded, with the corresponding scale bars shown to the right of each panel. |
| In the text | |
![]() |
Fig. A.2 Example of variations in SKY-STD across all images taken during a single night. Left panel: Variations in SKY-STD as a function of detector number, highlighting discernible differences in image quality among detectors. Middle panel: Correlation between SKY-STD and airmass for selected detectors, illustrating the impact of zenith angle on image quality. Right panel: Distribution of computed weights for all images from the night, reflecting the range of observational quality. |
| In the text | |
![]() |
Fig. B.1 Difference between 2MASS and KEDFS magnitudes as a function of 2MASS magnitude, measured within a 2 arcsec radius aperture, for 42 frames taken over a single night across all detectors. The photometric calibration is based on sources with 2MASS AB magnitudes between 14 and 16. |
| In the text | |
![]() |
Fig. C.1 Histogram of photometric zero points derived for 42 images obtained over a single night, covering all 16 detectors. Zero points were estimated using σ-clipping (3σ with a tolerance of 0.1), based on calibration sources with AB magnitudes between 14 and 16 from the 2MASS catalogue. |
| In the text | |
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.















