Euclid Euclid Collaboration: F. Cogato, B. Kubik, R. Barbier, S. Conseil, E. Medinaceli, Y. Copin, E. Franceschi, L. Valenziano, N. Aghanim, B. Altieri, S. Andreon, N. Auricchio, C. Baccigalupi, M. Baldi, A. Balestra, S. Bardelli, P. Battaglia, A. Biviano, E. Branchini, M. Brescia, J. Brinchmann, S. Camera, G. Cañas-Herrera, V. Capobianco, C. Carbone, J. Carretero, S. Casas, M. Castellano, G. Castignani, S. Cavuoti, A. Cimatti, C. Colodro-Conde, G. Congedo, C. J. Conselice, L. Conversi, L. Corcione, A. Costille, F. Courbin, H. M. Courtois, R. da Silva, H. Degaudenzi, G. De Lucia, H. Dole, F. Dubath, X. Dupac, S. Dusini, A. Ealet, S. Escoffier, M. Farina, R. Farinelli, F. Faustini, S. Ferriol, F. Finelli, N. Fourmanoit, M. Frailis, M. Fumana, S. Galeotta, K. George, W. Gillard, B. Gillis, C. Giocoli, J. Gracia-Carpio, A. Grazian, F. Grupp, S. V. H. Haugan, W. Holmes, F. Hormuth, A. Hornstrup, P. Hudelot, K. Jahnke, M. Jhabvala, E. Keihänen, S. Kermiche, A. Kiessling, R. Kohley, M. Kümmel, M. Kunz, H. Kurki-Suonio, A. M. C. Le Brun, S. Ligori, P. B. Lilje, V. Lindholm, I. Lloro, G. Mainetti, D. Maino, E. Maiorano, O. Mansutti, S. Marcin, O. Marggraf, M. Martinelli, N. Martinet, F. Marulli, R. J. Massey, S. Mei, Y. Mellier, M. Meneghetti, E. Merlin, G. Meylan, A. Mora, M. Moresco, L. Moscardini, C. Neissner, S.-M. Niemi, C. Padilla, S. Paltani, F. Pasian, K. Pedersen, W. J. Percival, V. Pettorino, S. Pires, G. Polenta, M. Poncet, L. A. Popa, F. Raison, A. Renzi, J. Rhodes, G. Riccio, E. Romelli, M. Roncarelli, C. Rosset, E. Rossetti, R. Saglia, Z. Sakr, A. G. Sánchez, D. Sapone, B. Sartoris, M. Schirmer, P. Schneider, M. Scodeggio, A. Secroun, G. Seidel, S. Serrano, P. Simon, C. Sirignano, G. Sirri, L. Stanco, J. Steinwagner, P. Tallada-Crespí, D. Tavagnacco, A. N. Taylor, I. Tereno, S. Toft, R. Toledo-Moreo, F. Torradeflot, I. Tutusaus, J. Valiviita, T. Vassallo, A. Veropalumbo, Y. Wang, J. Weller, A. Zacchei, F. M. Zerbi, E. Zucca, M. Ballardini, M. Bolzonella, E. Bozzo, C. Burigana, R. Cabanac, M. Calabrese, A. Cappi, T. Castro, J. A. Escartin Vigo, G. Fabbian, L. Gabarra, J. García-Bellido, V. Gautard, S. Hemmati, J. Macias-Perez, R. Maoli, J. Martín-Fleitas, N. Mauri, R. B. Metcalf, P. Monaco, A. Pezzotta, M. Pöntinen, I. Risso, V. Scottez, M. Sereno, M. Tenti, M. Tucci, M. Viel, M. Wiesmann, Y. Akrami, G. Alguero, I. T. Andika, G. Angora, S. Anselmi, M. Archidiacono, F. Atrio-Barandela, L. Bazzanini, D. Bertacca, M. Bethermin, F. Beutler, A. Blanchard, L. Blot, M. Bonici, S. Borgani, M. L. Brown, S. Bruton, A. Calabro, B. Camacho Quevedo, F. Caro, C. S. Carvalho, Y. Charles, A. R. Cooray, O. Cucciati, S. Davini, F. De Paolis, G. Desprez, A. Díaz-Sánchez, S. Di Domizio, J. M. Diego, V. Duret, M. Y. Elkhashab, A. Enia, Y. Fang, A. G. Ferrari, A. Finoguenov, A. Fontana, A. Franco, K. Ganga, T. Gasparetto, E. Gaztanaga, F. Giacomini, F. Gianotti, G. Gozaliasl, A. Gruppuso, M. Guidi, C. M. Gutierrez, A. Hall, H. Hildebrandt, J. Hjorth, J. J. E. Kajava, Y. Kang, V. Kansal, D. Karagiannis, K. Kiiveri, J. Kim, C. C. Kirkpatrick, S. Kruk, M. Lattanzi, L. Legrand, F. Lepori, G. Leroy, G. F. Lesci, J. Lesgourgues, T. I. Liaudat, M. Magliocchetti, A. Manjón-García, F. Mannucci, C. J. A. P. Martins, L. Maurin, M. Miluzio, A. Montoro, C. Moretti, G. Morgante, S. Nadathur, K. Naidoo, P. Natoli, A. Navarro-Alsina, S. Nesseris, L. Pagano, E. Palazzi, D. Paoletti, F. Passalacqua, K. Paterson, L. Patrizii, A. Pisani, D. Potter, G. W. Pratt, S. Quai, M. Radovich, W. Roster, S. Sacquegna, M. Sahlén, D. B. Sanders, E. Sarpa, A. Schneider, D. Sciotti, E. Sellentin, L. C. Smith, K. Tanidis, F. Tarsitano, G. Testera, R. Teyssier, S. Tosi, A. Troja, A. Venhola, D. Vergani, G. Verza, P. Vielzeuf, S. Vinciguerra, N. A. Walton, A. H. Wright Abstract The Euclid spacecraft, located at the second Lagrangian point of the Sun-Earth system, hosts the Near-Infrared Spectrometer and Photometer (NISP) instrument. NISP is equipped with a mosaic of 16 HgCdTe-based detectors (Teledyne’s H2RG) to acquire near-infrared photometric and spectroscopic data. To meet the spacecraft’s constraints on computational resources and telemetry bandwidth, the near-infrared signal is processed onboard via a dedicated hardware-software architecture designed to fulfil the stringent Euclid ’s data-quality requirements. A custom application software, running on the two NISP data processing units, implements the NISP signal estimator: an ad-hoc algorithm which delivers accurate flux measurements and simultaneously estimates the quality of signal estimation through the quality factor (QF) parameter. This paper further investigates the properties of the NISP signal estimator by evaluating its performance during the early flight operations of the NISP instrument. First, we revisit the assumptions on which the inference of the near-infrared signal is based and investigate the origin of the main systematics of the signal estimator through Monte Carlo simulations. Then, we test the flight performance of the NISP signal estimator. Results indicate a systematic bias lower than 0.01 ​ e − ​ s − 1 0.01\,{\rm e}^{-}\,{\rm s}^{-1} for 99 % 99\% of the NISP pixel array, well within the noise budget of the estimated signal. We also derive an analytical expression for the variance of the NISP signal estimator, demonstrating its validity, particularly when the covariance matrix is not pre-computed. Finally, we provide a robust statistical framework to interpret the QF parameter, analyse its dependence on the signal estimator bias, and show its sensitivity to cosmic ray hits on NISP detectors. Our findings corroborate previous results on the NISP signal estimator and suggest a leading-order correction based on the agreement between flight data and simulations. Properties and performance of the NISP signal estimator 1 Introduction Euclid , the second medium-class mission in the European Space Agency’s Cosmic Vision programme, aims to map the geometry of the universe by observing billions of galaxies across approximately one third of the sky ( Euclid Collaboration: Mellier et al., 2025 ) . The Near-Infrared Spectrometer and Photometer ( Euclid Collaboration: Jahnke et al., 2025 , NISP,) is one of the two scientific instruments onboard Euclid . With a field of view of 0.57 deg 2 in the near-infrared (NIR), NISP operates in both multi-passband photometric ( Euclid Collaboration: Schirmer et al., 2022 ) and slitless spectroscopic ( Euclid Collaboration: Gillard et al., 2025 ) readout mode. It provides imaging with a [formula] per pixel sampling and spectroscopic redshift measurements with precision \sigma_{z}<0.001(1+z) for H \alpha emission-line galaxies, assuming a full width at half maximum of [formula] and a 3.5\sigma flux limit of 2\times 10^{-6} erg s -1 cm -2 ( Euclid Collaboration: Scaramella et al., 2022 ) . The instrument is equipped with a focal plane assembly (FPA) composed of a mosaic of 16 HgCdTe-based detectors (Teledyne Imaging Sensors H2RG ™ , 2048 \times 2048 pixels), whose technology enables non-destructive readout of frames during signal integration. Therefore, each NISP exposure is composed of a sequence of single-frame images (or sampling up-the-ramp frames) acquired with a frame rate of 1.45408 s ( Euclid Collaboration: Kubik et al., 2025 , for full details see) . With about 67\times 10^{6} pixels, the NISP FPA is the largest single NIR detector array ever deployed in space. For comparison, the WFC3/IR instrument ( Marinelli and Green, 2024 ) onboard the Hubble Space Telescope (HST) holds approximately 10^{6} pixels, while the NIRCam instrument ( Rieke et al., 2023 ) onboard the James Webb Space Telescope (JWST) has about 42\times 10^{6} pixels in its focal plane. While HST and JWST are designed for high-resolution and deep imaging over narrow fields 1 1 1 WFC3/IR observes around 0.0016 deg 2 through a single H1R detector with 1024 \times 1024 pixels, achieving a [formula] per pixel sampling. NIRCam observes approximately 0.0027 deg 2 through eight H2RG detectors with 2048 \times 2048 pixels each, which results in a [formula] per pixel sampling. , Euclid is designed to perform a systematic survey of the extragalactic sky, observing 20 different fields daily, corresponding to \sim 10 deg 2 /day. In the Euclid Wide Survey, each field is observed only once during the mission lifetime, and is scanned following the Euclid ’s Reference Observation Sequence ( Euclid Collaboration: Scaramella et al., 2022 , ROS,) . It consists of four dithered exposures to mitigate the effect of cosmic ray hits while also enabling compensation for physical gaps between detectors. For each observed field, the NISP instrument acquires 17 multi-frame exposures, corresponding to more than 2500 single-frame images per field 2 2 2 This corresponds to the total sampling up-the-ramp frames collected by NISP during the execution of a single Euclid ’s ROS cycle. See Euclid Collaboration: Jahnke et al. (2025) for more details. and around 51 000 single-frame images per day. This translates into a data volume of around 20 Tbit/day, which exceeds the allocated data transfer budget of 290 Gbit/day. For comparison, the data downlink rates for HST and JWST do not exceed 0.02 Tbit/day and 0.5 Tbit/day, respectively. Euclid ’s innovative strategy was to enable the NISP onboard data processing, which provides accurate flux estimation and reduces the NISP data volume to 248 Gbit/day, perfectly fitting the bandwidth requirements ( Bonoli et al., 2016 ; Medinaceli et al., 2020 ) . In the case of NISP, the signal estimator ( Kubik et al., 2016a ) algorithm implemented in the two Data Processing Units (DPUs) optimises the computational resources, specifically regarding computational time and available memory. By simultaneously estimating the signal and computing the goodness-of-fit, i.e., the quality factor (QF), the method reduces processing complexity, accelerates the computation process, minimises power consumption, and optimises memory usage. Also, the onboard processing is done almost in parallel with Euclid ’s ROS, with a very low overhead fully absorbed by the satellite slew time between two consecutive science observations. The computational constraints of the hardware are accommodated at the cost of certain simplifications. First, the estimator is defined in the signal difference space and not in the integrated signal space. In this domain, a substantial portion of the photon-noise-induced correlations is mitigated, resulting in a tri-diagonal covariance matrix ( Kubik et al., 2015 ) . Additionally, fitting in the signal-difference space offers the advantage of being insensitive to reset noise and provides a lower noise signal estimate than a typically used least squares fit ( Kubik et al., 2016a ) . Second, the method avoids the explicit pre-computation of the full covariance matrix as proposed by Robberto (2014) and Brandt (2024) , a process that would be computationally prohibitive on the NISP DPUs. Instead, the Poissonian component of the noise is treated as a free parameter within the covariance matrix. Moreover, accounting for the full covariance structure would require numerical maximisation of the likelihood function, which would significantly increase the computational effort. Hence, it is assumed that the covariance matrix is diagonal, effectively neglecting off-diagonal correlations. As a result of these simplifications, the NISP signal estimator is subject to several potential sources of bias. Specifically, treating the photon-noise component as a fit parameter rather than deriving it directly from the data, combined with the diagonal approximation of the covariance matrix, can result in sub-optimal weighting during the fitting process. Furthermore, the NISP signal estimator requires knowledge of each pixel’s readout noise and conversion gain. However, due to the large pixel array and the onboard memory available for NISP, the processing algorithm utilises detector-averaged values instead of full pixel maps, potentially introducing a systematic bias in the signal estimates. This work extends the analysis presented in Kubik et al. (2016a) , with the primary objective of quantifying potential biases using both simulations and flight data from early NISP operations. Section 2 introduces the notations and constants used throughout the paper. Section 3 analyses the theoretical properties of the NISP signal estimator as originally derived in Kubik et al. (2016a) . We identify the associated probability distributions and revisit the assumptions of the underlying likelihood function to explore the main bias sources in both the signal and QF estimation. Section 4 provides an overview of the NISP onboard data processing, with a specific focus on the systematics related to the data processing approximations adopted by NISP. Section 5 presents the evaluation of the performance of the NISP signal estimator using NISP flight data, while the in-flight performance of the QF parameter is presented in Sect. 6 . Section 7 summarises the results, discusses limitations and potential issues, and presents the main conclusions of the study. All formal derivations are provided in the Appendix sections. 2 Notations Table 1: Notations used throughout the paper. Variable/Parameter Units Description g {\rm e}^{-}\,{\rm group}^{-1} expected flux per group f {\rm e}^{-}\,{\rm s}^{-1} expected flux per second f_{\rm 0} {\rm e}^{-}\,{\rm s}^{-1} flux value at which covariance matrix D_{ij} is diagonal f_{\rm f} {\rm e}^{-}\,{\rm s}^{-1} flux value for which folding effect is negligible t_{\rm{fr}} s single-frame readout time \sigma_{\rm R} {\rm e}^{-} pixel’s readout noise \sigma_{{\scriptscriptstyle\rm R}}^{\rm h} {\rm ADU} \sigma_{{\scriptscriptstyle\rm R,\,DPU}} {\rm e}^{-} detector-averaged readout noise adopted by NISP f_{\rm e} {\rm e}^{-}\,{\rm ADU}^{-1} pixel’s conversion gain f_{\rm{e,}\,{\scriptscriptstyle\rm DPU}} {\rm e}^{-}\,{\rm ADU}^{-1} detector-averaged conversion gain adopted by NISP MACC( n_{\rm g} , n_{\rm f} , n_{\rm d} ) multi-accumulation readout mode \gamma=\frac{2\sigma_{{\scriptscriptstyle\rm R}}^{2}}{n_{\rm f}} readout noise component of the variance of \Delta G \alpha=\frac{1\,-\,n_{\rm f}^{2}}{3\,n_{\rm f}(n_{\rm f}\,+\,n_{\rm d})} correlation factor from coadding of frames \xi=\frac{1+\alpha}{2} rescaled \alpha \beta=\frac{\gamma}{1+\alpha} rescaled \gamma G_{i} {\rm e}^{-} a group of n_{\rm f} frames, i=1,2,3,\dots H_{i} ADU \Delta G_{i} {\rm e}^{-} measured difference of two consecutive groups \Delta H_{i} {\rm ADU} \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} {\rm e}^{-}\,{\rm group}^{-1} likelihood-estimator of g from n_{\rm g}-1 group differences \hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}} {\rm e}^{-}\,{\rm group}^{-1} \chi^{2} -estimator of g from n_{\rm g}-1 group differences {\rm QF}[\Delta\boldsymbol{G}]_{n_{\rm g}} quality factor from n_{\rm g}-1 group differences D_{ij} covariance matrix of \Delta\boldsymbol{G} \hat{\rho}^{2}[\hat{g}]_{n_{\rm g}} estimator of the variance of \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} \hat{\rho}^{2}[\hat{g}_{x}]_{n_{\rm g}} estimator of the variance of \hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}} \hat{\rho}^{2}[{\rm QF}]_{n_{\rm g}} estimator of the variance of {\rm QF}[\Delta\boldsymbol{G}]_{n_{\rm g}} In this section, we briefly review the statistical framework in which the NISP signal estimator was derived, and define the notations adopted in the present study, which are summarised in Table 1 . We assume that the detectors measure the signal using the multi-accumulation (MACC) acquisition mode. An exposure begins with a reset frame and then the signal is sampled up-the-ramp (UTR) with n_{\rm g} groups of n_{\rm f} averaged frames. The groups are separated by n_{\rm d} dropped frames ( Euclid Collaboration: Kubik et al., 2025 , see figure 2 in) . 2.1 Measured flux The measured difference between consecutive groups, \Delta G_{i}=G_{i+1}-G_{i} , represents the flux integrated between the first frame of group G_{i} and the first frame of group G_{i+1} . Throughout the paper, we use g to denote the expected flux integrated in \Delta G_{i} , while f denotes the expected flux per second. For clarity, the derivations in the Appendix are expressed in terms of g , as it is directly tied to the measured group-to-group difference \Delta G_{i} , which forms the basis of the likelihood function. The quantities f and g are related by f=\frac{g}{(n_{\rm f}+n_{\rm d})\,t_{\rm{fr}}}\,, (1) while variables with a hat (e.g., \hat{g} or \hat{\rho} ) denote expectation values provided by estimators. 2.2 Likelihood and signal estimator Kubik et al. (2016a) defined the likelihood function as \mathcal{L}\,(g\,|\,\Delta G_{i})=\prod_{i=1}^{n_{\rm g}-1}\frac{1}{\sqrt{2\pi D_{ii}(g)}}\exp{\left(-\frac{(\Delta G_{i}-g)^{2}}{2D_{ii}(g)}\right)}\;, (2) where D_{ii} are the diagonal terms of the covariance matrix from Kubik et al. (2015) for a MACC readout mode D_{ij}(g)=\begin{cases}(1+\alpha)g+\gamma&\quad\textrm{if}\quad i=j\\ -\frac{1}{2}(\alpha\,g+\gamma)&\quad\textrm{if}\quad i=j\pm 1\\ 0&\quad\textrm{otherwise}\end{cases}\,, (3) where \alpha=\frac{1\,-\,n_{\rm f}^{2}}{3\,n_{\rm f}(n_{\rm f}\,+\,n_{\rm d})}\,;\quad\gamma=\frac{2\sigma_{{\scriptscriptstyle\rm R}}^{2}}{n_{\rm f}}\,, (4) and \sigma_{{\scriptscriptstyle\rm R}} is the single-frame readout noise. In this paper, the signal estimator \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} obtained from maximising the log-likelihood is rewritten as \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}}=\sqrt{\xi^{2}+M_{2}(\Delta\boldsymbol{G},\beta,n_{\rm g})}-\xi-\beta\,, (5) with \beta=\frac{\gamma}{1+\alpha}\,;\quad\xi=\frac{1+\alpha}{2}\,. (6) In the notations as in Eq. ( 5 ), the subscript n_{\rm g} emphasises that the estimator is computed from n_{\rm g}-1 random variables \Delta G_{i} and we define M_{2}(\Delta\boldsymbol{G},\beta,n_{\rm g})\equiv\frac{\sum_{i=1}^{n_{\rm g}-1}(\Delta G_{i}+\beta)^{2}}{n_{\rm g}-1}\;. (7) 2.3 Quality factor Kubik et al. (2016a) also defined a statistical factor, i.e., the QF parameter, which measures the goodness of fit of a signal estimated using Eq. ( 5 ). Here, the QF is rewritten as {\rm QF}[\Delta\boldsymbol{G}]_{n_{\rm g}}=\frac{n_{\rm g}-1}{\xi}\left(\hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}}-\frac{G_{n_{\rm g}}-G_{1}}{n_{\rm g}-1}\right)\,, (8) where \hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}}=\sqrt{M_{2}(\Delta\boldsymbol{G},\beta,n_{\rm g})}-\beta\,. (9) We note that \hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}} is closely related to \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} . The former is obtained from the \chi^{2} minimisation, while the latter is derived from the maximisation of the log-likelihood function, where \mathcal{L}\,\propto\,{\rm exp}(-\chi^{2}/2)\, . Both use the same diagonal covariance matrix D_{ii} . The only difference lies in the likelihood normalisation term, which includes the determinant of the covariance matrix in the derivation of \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} . In practice, this approach leads to the inclusion of the term \xi in \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} , which effectively reduces the bias of the signal estimator obtained from the likelihood with respect to the one obtained from \chi^{2} . All the details are provided in Sect. 3 , where we present the general properties and limitations of \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} and QF. While the discussion in Sect. 3 is kept general, most of the numerical results are shown for readout modes and pixel characteristics specific to the Euclid mission. In particular, the photometric channel of the NISP instrument operates in the MACC(4,16,4) readout mode, corresponding to an integration time of 87.2 s, whereas spectroscopic observations are performed using the MACC(15,16,11) configuration, yielding an integration time of 549.6 s. We consider a typical Euclid pixel, corresponding to a single-frame readout noise equal to 13\,{\rm e}^{-} ( Euclid Collaboration: Kubik et al., 2025 ) . We express our theoretical derivations and data analysis results in electrons, while the implementation of the signal estimator in the NISP DPU application software (presented in Sect. 4 ) operates on Analogue-to-Digital Units (ADUs), as expressed explicitly in equation (11) in Kubik et al. (2016a) . The electron-based formulation is crucial for evaluating the scientific performance of the instrument, while the ADU-based representation reflects the digital processing from which the NISP signal is derived. 3 Properties of the NISP signal estimator and QF We study the properties of the NISP signal estimator through a series of Monte Carlo (MC) simulations. The incident flux f on each pixel accumulates linearly over time, and the variance associated with UTR frames convolves a Gaussian (readout noise) component and a Poissonian (shot noise) component, as described in Kubik et al. (2016a) . It is worth noting that we assume unity quantum efficiency and ignore non-ideal effects, such as non-linearity, persistence, charge diffusion, and inter-pixel capacitance. Although simplified, this model effectively represents how a single pixel integrates the signal. Figure 1: Top panels: Bias of the signal estimator. Bottom panel: QF values. Left panels: Bias as function of n_{\rm g} for n_{\rm f}=16 , n_{\rm d}=11 , and \sigma_{R}=13\,{\rm e}^{-} in the case where f_{\rm 0}>f_{\rm f} (no folding effect). For f=f_{\rm 0} (green squares) for which the off-diagonal entries of the variance matrix are null, the bias is perfectly predicted by the analytical formula (dashed lines) from Eq. ( 18 ) for the signal, and Eq. ( 20 ) for the QF. For ff_{\rm 0} (dark green dots) the theoretical prediction overestimates the bias. Right panels: bias of the signal estimator as a function of flux in spectroscopic readout mode. The flux values f_{\rm 0} are indicated by vertical lines for each of the readout noise values. The f_{\rm f}=0.1\,{\rm e}^{-}\,{\rm s}^{-1} flux value, above which the folding contribution is negligible, is indicated by a grey dash-dot-dotted vertical line. Positive contribution of the D_{ij} to the covariance matrix for f>f_{\rm 0} translates in the measured signal bias lower than the analytical formula, while negative contribution of the D_{ij} translates in the measured signal bias higher than the analytical formula. For f\gg f_{\rm 0} and f\gg f_{\rm f} , the bias does not depend on flux. Similar results are obtained in photometric readout mode. Simulations indicate that, across the entire range of flux, the NISP signal estimator exhibits a small bias b_{\rm f} with respect to the expected flux f , that is b_{\rm f}=\frac{\hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}}-g}{(n_{\rm f}+n_{\rm d})\,t_{\rm{fr}}}=\frac{\hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}}}{(n_{\rm f}+n_{\rm d})\,t_{\rm{fr}}}-f\,. (10) As shown in the top panels of Fig. 1 , and explained in the following sections, b_{\rm f} depends on the number of groups n_{\rm g} , the incident flux f , and the single frame readout noise \sigma_{\rm R} . It is more pronounced at very low fluxes, while it lowers with the number of groups n_{\rm g} , becoming almost negligible for large n_{\rm g} . Similarly, as shown in the bottom panels of Fig. 1 , QF slightly deviates from its expected value n_{\rm g}-2 (see Appendix C for the formal derivation of this result). To understand the possible origin of these deviations, in the following paragraphs we revisit the assumptions underlying the likelihood function: the Gaussian approximation for \Delta G , diagonal covariance, and signal dependence of D_{ij} . 3.1 Applicability of Gaussian approximation The signal estimator was originally derived from a likelihood function modelled as the product of n_{\rm g}-1 independent Gaussian-distributed variables \Delta G_{i} . The \Delta G_{i} are constructed from reads which are affected by photon noise (Poisson statistics) and electronic readout noise (Gaussian). The central limit theorem ensures that, for signal levels exceeding g\approx 10\,{\rm e}^{-}\,{\rm group}^{-1} , the Poisson distribution can be well approximated by a Gaussian, independently of the value of the pixel’s readout noise. In the Euclid framework this corresponds to f\approx 0.34\,{\rm e}^{-}\,{\rm s}^{-1} and f\approx 0.25\,{\rm e}^{-}\,{\rm s}^{-1} for the photometric and spectroscopic readout mode, respectively. At lower flux levels, when the central limit theorem does not hold, \Delta G_{i} are dominated by Gaussian-distributed readout noise associated with the group differences, characterised by \gamma . In the case of NISP, where more than 95% of pixels have 10\leq\sigma_{{\scriptscriptstyle\rm R}}/{\rm e}^{-}\leq 16 ( Euclid Collaboration: Kubik et al., 2025 ) and n_{\rm f}=16 , the group differences are characterised by a typical readout noise \sqrt{\,\gamma}\approx 4.6\,{\rm e}^{-} . Consequently, even under dark conditions ( f\approx 0.01\,{\rm e}^{-}\,{\rm s}^{-1} ) the Gaussian approximation remains valid. Furthermore, it continues to hold down to readout noise levels as low as \approx 3.0\,{\rm e}^{-} and \approx 1.6\,{\rm e}^{-} in photometric and spectroscopic readout mode, respectively. Thus, the NISP instrument never operates in a regime dominated by pure Poisson statistics, so using a likelihood function expressed as a product of Gaussian terms is fully justified for the Euclid scientific case, and it cannot be at the origin of the bias b_{\rm f} . Figure 2: Left panel: Ratio of the off-diagonal terms D_{ij} to the diagonal terms D_{ii} in the covariance matrix of group differences as a function of flux for three different readout noise values. The flux values f_{\rm 0} for which D_{ij}=0 are indicated by vertical lines for each \sigma_{{\scriptscriptstyle\rm R}} value. Right panel: Flux f_{\rm 0} , defined in Eq. ( 12 ), plotted as function of the pixel’s readout noise \sigma_{{\scriptscriptstyle\rm R}} . The horizontal line indicates the limiting flux f_{\rm f} defined in Sect. 3.3 for no folding distribution at any \sigma_{{\scriptscriptstyle\rm R}} in spectroscopic readout mode. 3.2 Diagonal covariance In constructing the likelihood function, we assume the \Delta G_{i} measurements to be statistically independent and uncorrelated, with their variance parametrised by the quantity g to be estimated. Although the \Delta G_{i} values are indeed independent, the neglect of correlations is justified only if the off-diagonal elements of their covariance matrix are negligible compared to the diagonal terms. In the absence of incident flux, the ratio D_{ij}/D_{ii} reaches its maximum absolute value of 0.5 (see the left panel of Fig. 2 ), while in the high-flux limit ( g\to\infty ) \frac{D_{ij}}{D_{ii}}\to-\frac{\alpha}{2(1+\alpha)}\,, (11) which varies from 0 ( n_{\rm f}=1 ) to 0.25 ( n_{\rm f}\to\infty ), with \alpha from Eq. ( 4 ). In the case of NISP ( n_{\rm f}=16 ), the ratio at high flux is approximately 0.18 for the photometric and 0.12 for the spectroscopic readout modes. Thus, the covariance terms D_{ij} become significant at low flux levels, whereas at high flux they remain comparatively small – typically a factor of four smaller than the diagonal terms. One can define the characteristic flux f_{\rm 0} , at which the off-diagonal covariance terms vanish, as follows f_{\rm 0}=\frac{6\sigma_{{\scriptscriptstyle\rm R}}^{2}}{(n_{\rm f}^{2}-1)\,t_{\rm{fr}}}\,. (12) The dependence of f_{0} on the single-frame readout noise \sigma_{{\scriptscriptstyle\rm R}} and on the number of averaged frames n_{\rm f} is shown in Fig. 2 . For the typical readout noise value in NISP detectors, i.e., \sigma_{{\scriptscriptstyle\rm R}}\geq 13\,{\rm e}^{-} , the f_{\rm 0} is around 1\,{\rm e}^{-}\,{\rm s}^{-1} . Therefore, the effects of the diagonal covariance approximation on the NISP signal estimator should be carefully addressed to avoid uncontrolled systematics. 3.3 Folding at low flux The consequence of treating the photon-noise component as a fitted parameter rather than deriving it directly from the data is a non-linear form of \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} and \hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}} . At very low incident flux, random fluctuations due to the readout noise may lead to negative values of \Delta G_{i} . Whenever \Delta G_{i}<-\beta , the squared term (\Delta G_{i}+\beta)^{2} leads to an upward mapping of such values, resulting in an overestimation of the signal. This systematic overestimation is referred to as ‘folding bias’. The occurrence of folding bias is inherently probabilistic and depends on the flux f , the single frame readout noise \sigma_{{\scriptscriptstyle\rm R}} , and the MACC readout parameters n_{\rm g} , n_{\rm f} , and n_{\rm d} . The probability P_{1}(\Delta G<-\beta) that a single group difference falls below the folding threshold -\beta is given by P_{1}(\Delta G<-\beta)=\frac{1}{2}\left[1+\mathrm{erf}\left(\frac{-\beta-g}{\sqrt{2D_{ii}}}\right)\right]\,. (13) This is denoted as folding probability, and it diminishes whenever either the flux or the readout noise increases. For example, in a typical dark regime with f\approx 0.01\,{\rm e}^{-}{\rm s}^{-1} , pixels with \sigma_{{\scriptscriptstyle\rm R}}\approx 3\,{\rm e}^{-} have a folding probability P_{1}<1\% in both, photometric and spectroscopic readout modes, indicating minimal contribution from folding bias. Conversely, at \sigma_{{\scriptscriptstyle\rm R}}\approx 1\,{\rm e}^{-} – an order of magnitude below Euclid ’s NISP readout noise level – P_{1} can exceed 5% for fluxes below 0.1\,{\rm e}^{-}{\rm s}^{-1} , reaching 25% for f\approx 0.01\,{\rm e}^{-}{\rm s}^{-1} . Nevertheless, by averaging over n_{\rm g}-1 group differences, the net contribution of any single folded value is significantly reduced, making the overall contribution of the folding bias negligible as n_{\rm g} increases. To estimate the likelihood that a ramp is unaffected by the folding bias, we define P_{2} as the cumulative probability that no more than 10% of the \Delta G_{i} values in a ramp fall below the folding threshold. The probability P_{2} is modelled using the binomial cumulative distribution function P_{2}=\sum_{k=0}^{0.1(n_{\rm g}-1)}\binom{n_{\rm g}-1}{k}\,P_{1}^{k}(1-P_{1})^{n_{\rm g}-1-k}\,, (14) where, when calculating 0.1(n_{\rm g}-1) , we take the integer part. The 10% probability threshold is chosen as a practical benchmark to facilitate approximate statistical characterisation of folding effects in the absence of a closed-form expression for their impact on the ramp slope. The precise influence of folded values on the signal estimate is inherently dependent on multiple factors – including the incident flux level, pixel readout noise, and the readout configuration – all of which affect the folding probabilities P_{1} and P_{2} , and the bias propagation. As such, this threshold serves primarily to enable probabilistic assessments rather than to define a strict cutoff for quality control. Figure 3 shows P_{2} over a wide range of fluxes and three, relatively low, values of the single frame readout noise for the spectroscopic readout mode. We define f_{\rm f} as the ‘folding flux’, that is, the flux beyond which the probability P_{2} exceeds 95% for the lowest possible readout noise value \sigma_{{\scriptscriptstyle\rm R}}=1\,{\rm e}^{-} . It is a conservative threshold that shows the general limitations of the signal estimator. For example, typical pixels in NISP detectors exhibit P_{2}\approx 1 over the entire flux range, indicating the marginality of this type of error in practical application. Figure 3: Probability that no more than 10% of \Delta G fall below the folding point -\beta in spectroscopic readout mode. The contribution is negligible for all readout noise values for flux higher than f_{\rm f}=0.1\,{\rm e}^{-}{\rm s}^{-1} . For typical Euclid NISP pixels with readout noise \sigma_{{\scriptscriptstyle\rm R}}=13\,{\rm e}^{-} , the folding contribution is negligible for the entire range of fluxes. A similar result holds for the photometric readout mode. 3.4 Properties of the NISP signal estimator The signal estimator \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} is a random variable, as it is a function of a set of \Delta G_{i} , which are themselves random variables. However, the probability distribution of \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} , as implied by the likelihood function, is not equivalent to that of the \Delta G_{i} . Specifically, the likelihood-based distribution of \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} is only normalisable for g>-\beta , whereas the distribution in the \Delta G_{i} space is normalisable from -\infty to +\infty . This asymmetry highlights that \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} and \Delta G are not statistically equivalent variables. The signal estimator \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} contains a term M_{2}(\Delta\boldsymbol{G},\beta,n_{\rm g}) , which is the sum of independent Gaussian-distributed variables (see Sect. 3.1 ), and hence it follows a scaled non-central \chi_{n_{\rm g}-1}^{2}(\lambda) distribution with n_{\rm g}-1 degrees of freedom and a non-centrality parameter \lambda^{2}=\frac{(n_{\rm g}-1)(g+\beta)^{2}}{D_{ii}}\,. (15) For \beta and g sufficiently large with respect to \xi , from Eq. ( 5 ) one obtains \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}}\approx\sqrt{M_{2}(\Delta\boldsymbol{G},\beta,n_{\rm g})} , and thus the signal estimator \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} approximately follows a scaled non-central \chi_{n_{\rm g}-1}(\lambda) distribution with n_{\rm g}-1 degrees of freedom. The statistical properties of the \chi_{n_{\rm g}-1}(\lambda) distribution are well characterised. The mean can be written as \mu=\sqrt{\frac{2D_{ii}}{n_{\rm g}-1}}\,\frac{\Gamma\left(\frac{n_{\rm g}}{2}\right)}{\Gamma\left(\frac{n_{\rm g}-1}{2}\right)}\,{}_{1}F_{1}\left(\frac{-1}{2},\frac{n_{\rm g}-1}{2},\frac{-\lambda^{2}}{2}\right), (16) where {}_{1}F_{1}(a,b,z) is the confluent hypergeometric function of the first kind. The variance is given by \sigma^{2}=\frac{D_{ii}}{n_{\rm g}-1}\left(n_{\rm g}-1+\lambda^{2}-\frac{\mu}{D_{ii}}\right)\,. (17) We have verified that Eqs. ( 16 ) and ( 17 ) effectively describe the behaviour of \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} , however, a complication arises from the fact that both the mean and variance depend explicitly on g , which is not known a priori. Therefore, in order to establish the correction functions for the deviation of the signal estimator \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} from the actual value of g , we will need some approximations. 3.4.1 Constant bias at high flux The signal bias for f>f_{\rm f} can be accurately modelled using a closed-form analytical expression and subsequently corrected. The analytical form of the bias estimator is derived in Appendix A and is given by \hat{b}_{\rm f}=\frac{-\xi}{(n_{\rm g}-1)(n_{\rm f}+n_{\rm d})\,t_{\rm{fr}}}\,, (18) where \xi\in(\frac{1}{3},\frac{1}{2}] is a coefficient that depends solely on the MACC readout parameters. The theoretical prediction of the bias is exact for f=f_{\rm 0} , as shown in the top left panel of Fig. 1 , where the measured bias aligns with the analytical formula across various n_{\rm g} values. In cases where the folding bias becomes significant even at f=f_{\rm 0} (namely, when f_{\rm 0}0.5\,{\rm e}^{-}{\rm s}^{-1} , independently of the readout noise and readout mode. Right panel: QF variance normalised to 2(n_{\rm g}-2) as function of flux in spectroscopic readout mode. In equation (12) of Kubik et al. (2016a) , the variance \hat{\sigma}_{\hat{g}}^{2} of the signal estimator \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} was defined as the inverse of the second derivative of the log-likelihood function evaluated at its minimum. However, this approach neglects the off-diagonal elements of the covariance matrix, leading to an inaccurate estimation of the uncertainty. Specifically, for ff_{\rm 0} , where the D_{ij} terms contribute positively, the measured variance exceeds the estimated value. The magnitude of this discrepancy depends on both the flux and the single frame readout noise \sigma_{{\scriptscriptstyle\rm R}} . In this work, we derive an improved variance estimator based on standard error propagation applied to the group differences \Delta G . The full derivation is provided in Appendix B , and the final expression is given by \hat{\rho}^{2}[\hat{g}]=\frac{[(n_{\rm g}-1)\hat{g}+\alpha\hat{g}+\gamma]}{(n_{\rm g}-1)^{2}}\frac{(\hat{g}+\beta)^{2}}{(\hat{g}+\beta)^{2}+\xi^{2}}\,, (19) As shown in the left panel of Fig. 4 , this new estimator accurately reproduces the measured variance of \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} for f>0.5\,{\rm e}^{-}{\rm s}^{-1} , independently of the flux, the readout noise, and the MACC parameters. For f<0.5\,{\rm e}^{-}{\rm s}^{-1} , the \hat{\rho}^{2}[\hat{g}]_{n_{\rm g}} estimator tends to underestimate the actual variance of the NISP signal estimator. The origin of this discrepancy is currently under investigation, but the impact on Euclid science is negligible since the zodiacal background in NISP exposures is approximately 1\,{\rm e}^{-}{\rm s}^{-1} . 3.5 Properties of the NISP quality factor The QF is a statistical indicator of the reliability of the NISP signal estimator and, like the signal estimator itself, is a random variable. QF, given by Eq. ( 8 ), is defined as a scaled difference between two signal estimators, namely \hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}} and the mean group difference. Given that the mean group difference is unbiased with respect to g , we can infer the behaviour of QF from the detailed analysis of the signal estimator bias described in the previous sections. 3.5.1 QF expectation value A first-order approximation of the QF expectation value is derived in Appendix C as \langle{\rm QF}\rangle_{n_{\rm r}}=n_{\rm g}-2\,. (20) This formulation is exact for f=f_{\rm 0} as shown in the bottom left panel of Fig. 1 (green squares). For ff_{\rm 0} , it falls below this value. The opposite trend of the QF bias with respect to \hat{b}_{\rm f} comes from the fact that, as shown in Appendix C , the bias \hat{b}_{\rm{fx}} affecting \hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}} has the opposite sign to the signal estimator bias b_{\rm f} , that is \hat{b}_{\rm{fx}}=\frac{n_{\rm g}-2}{n_{\rm g}-1}\xi\,. (21) Bottom right panel of Fig. 1 shows the flux dependence of QF for three different readout noise values. In the specific context of NISP detectors, where the single frame readout noise is around 13\,{\rm e}^{-} for the majority of the pixels, and in the absence of additional systematic errors, the expected deviation of the average QF from its ideal value n_{\rm g}-2 remains below 1. For instance, under dark conditions with a flux of 0.01\,{\rm e}^{-}{\rm s}^{-1} , the QF is expected to be approximately 2.61 in photometric mode and 13.67 in spectroscopic mode. For a zodiacal background around 1\,{\rm e}^{-}{\rm s}^{-1} , the QF values are expected to be approximately 2.15 and 13.13 for the photometric and spectroscopic readout modes, respectively. 3.5.2 Variance of QF For completeness, we also derive an analytical expression for the variance of QF, i.e., \hat{\rho}^{2}[{\rm QF}] . In Appendix D , we demonstrate that, to leading order, the variance of the quality factor is given by \hat{\rho}^{2}[{\rm QF}]\xrightarrow{g\to\infty}2(n_{\rm g}-2)\,. (22) The right panel of Fig. 4 corroborates this result using simulations of QF in spectroscopic readout mode, spanning a wide range of fluxes and three distinct readout noise values. 4 NISP onboard data processing Efficient onboard processing of NIR data is essential for the Euclid mission because NISP produce large data volumes while available computing power and telemetry bandwidth are limited. This section outlines the hardware-software architecture of the NISP onboard data processing and details the approximations it applies to balance these constraints, enabling reliable and accurate signal estimation. A dedicated hardware-software architecture, composed of two identical DPUs and a custom application software (ASW), enables the onboard processing of the NIR signal acquired by each pixel in the NISP FPA. Each DPU is equipped with a set of eight Detector Control Units (DCUs), each of which interfaces to a SIDECAR ASIC electronics module ( Holmes et al., 2022 ) coupled via a cryogenic flex cable with an H2RG Sensor Chip Assembly ( Bai et al., 2018 , SCA,) . The DCUs supply analogue and digital power, manage telemetry and commanding for the FPA, and carry out the first stage of static basic preprocessing, operating independently and in parallel with the detector’s live data stream. This preprocessing step performs arithmetic averaging of frames (at 24 bits/pixel) following the MACC (n_{\rm g},\,n_{\rm f},\,n_{\rm d}) readout scheme. The resulting averaged ‘group’ H_{i} (in ADU) is then decimated 3 3 3 This is the computational process of lowering the signal’s sampling rate or reducing the number of data points in order to decrease the dataset’s size and resolution. to 16 bits/pixel and passed as input for signal estimation. To allow the onboard processing each DPU is supported by a central processing unit (Maxwell 750 ™ 3 \times SCS750 ® -PPC), and a memory transit data buffer board of 6 GB to store single groups of the MACC that allows a complete decoupling of the DCU real-time operation from the subsequent, deferred-time, processing operation along the dither sequence of exposures. The ASW runs on a VxWorks 5.1 real-time operating system and is based on a multi-task pre-emptive scheduling algorithm, with a core task responsible for single-frame acquisition, processing, lossless compression, and transmission to the spacecraft’s mass memory unit ( Bonoli et al., 2016 ; Medinaceli et al., 2020 ; Medinaceli et al., 2022 ; Euclid Collaboration: Jahnke et al., 2025 ) . In addition to frames averaging, the pipeline of sequential steps performed by the NISP ASW comprises also corrections for group non-uniformities related to video-channel gains/offsets, and detector line random offsets. This is achieved by subtracting the reference vertical and horizontal pixels after median filtering and zonal averaging ( Bonoli et al., 2016 ) . Saturated pixels ( 2^{16} ADU) are labelled for no further signal estimation. For the remaining pixels, the discrete derivative between consecutive groups ( \Delta H_{i} ) is evaluated. According to the framework described in Kubik et al. (2016a, see Eqs. 11, 13, 19, and 20) , the signal and the QF maps are analytically derived from data in ADU, and were expressed as \hat{h}[\boldsymbol{\Delta H}]_{n_{\rm g}}=\sqrt{\xi^{h\,2}+M_{2}(\Delta\boldsymbol{H},\beta^{h},n_{\rm g})}-\xi^{h}-\beta^{h}\,; (23) {\rm QF_{h}}[\boldsymbol{\Delta H}]_{n_{\rm g}}=\frac{(n_{\rm g}-1)}{\xi^{h}}\left(\,\hat{h}_{x}[\boldsymbol{\Delta H}]_{n_{\rm g}}-\frac{H_{n_{\rm g}}-H_{1}}{n_{\rm g}-1}\right)\,, (24) where \hat{h}_{x}[\boldsymbol{\Delta H}]_{n_{\rm g}}=\sqrt{M_{2}(\Delta\boldsymbol{H},\beta^{h},n_{\rm g})}-\beta^{\rm h}\,. (25) It is worth noting that \hat{h}[\boldsymbol{\Delta H}]_{n_{\rm g}} and \hat{h}_{x}[\boldsymbol{\Delta H}]_{n_{\rm g}} are expressed in units of ADU group -1 , and the following parameters are defined in ADU \displaystyle\sigma^{\rm h}_{{\scriptscriptstyle\rm R}}\equiv\frac{\sigma_{{\scriptscriptstyle\rm R}}}{f_{\rm e}}\,\,;\quad\beta^{\rm h}\equiv\frac{\beta}{f_{\rm e}}=\frac{2f_{\rm e}\ \sigma^{\rm h\ 2}_{{\scriptscriptstyle\rm R}}}{n_{\rm f}(1+\alpha)}\,\,;\quad\xi^{\rm h}\equiv\frac{\xi}{f_{\rm e}}=\frac{1+\alpha}{2f_{\rm e}}\;. (26) The {\rm QF_{h}}[\boldsymbol{\Delta H}]_{n_{\rm g}} image is decimated to an 8-bit resolution for the spectrometric readout mode and to a 1-bit resolution for the photometric readout mode after applying a threshold. The signal \hat{h}[\boldsymbol{\Delta H}]_{n_{\rm g}} is converted to electrons in the SGS pipeline, as described in the following section. 4.1 Data Processing Approximation (DPA) NISP onboard processing is based on a programmable parametrisation, including the MACC readout parameters, and the readout noise and conversion gain values. Accurate estimation of the flux incident on a pixel requires precise knowledge of both the single-frame readout noise \sigma_{{\scriptscriptstyle\rm R}} and the conversion gain f_{\rm e} , as the NISP signal estimator relies on these parameters to infer f from the acquired UTR frames. For each pixel in the NISP FPA, these two parameters were accurately measured during the ground characterisation of the NISP detectors ( Euclid Collaboration: Kubik et al., 2025 ) . However, to compute the NISP signal and QF maps, the NISP onboard data processing utilises the detector-averaged values of these parameters, namely \sigma_{{\scriptscriptstyle\rm R,\,DPU}}\, and f_{\rm{e,}\,{\scriptscriptstyle\rm DPU}} . By storing these two values in the non-volatile memory of the two NISP DPUs – instead of the full \sigma_{{\scriptscriptstyle\rm R}} and f_{\rm e} maps -- only 512 bits are allocated, as opposed to approximately 2 Gbits. Furthermore, because only a reduced parameter set 4 4 4 That is, 2\times 16 values rather than 2\times 2048\times 2048\times 16 values. is copied to the DPUs’ RAM, this approach significantly optimises the allocation of volatile memory during the onboard data processing. This feature of the NISP onboard data processing is referred to as Data Processing Approximation (DPA). From a general perspective, if incorrect values of \sigma_{{\scriptscriptstyle\rm R}} or f_{\rm e} are considered, the NISP signal estimator effectively employs an incorrect variance ( D_{ii} defined in Eq. 3 ) in the likelihood function, which may introduce a systematic bias in the signal and QF estimation. We define the readout noise and conservation gain shifts as \Delta\sigma_{{\scriptscriptstyle\rm R}}=\sigma_{{\scriptscriptstyle\rm R}}-\sigma_{{\scriptscriptstyle\rm R,\,DPU}}\;\qquad\Delta f_{\rm e}=f_{\rm e}-f_{\rm{e,}\,{\scriptscriptstyle\rm DPU}}\,, (27) while the bias affecting the NISP signal estimator is b_{\rm f}^{\sigma_{{\scriptscriptstyle\rm R}}}=\frac{\hat{g}(\sigma_{{\scriptscriptstyle\rm R,\,DPU}})-g}{(n_{\rm f}+n_{\rm d})\,t_{\rm{fr}}}\,;\qquad b_{\rm f}^{f_{\rm e}}=\frac{\hat{g}(f_{\rm{e,}\,{\scriptscriptstyle\rm DPU}})-g}{(n_{\rm f}+n_{\rm d})\,t_{\rm{fr}}}\,. (28) Figure 5 shows how the use of an incorrect readout noise, \sigma_{{\scriptscriptstyle\rm R,\,DPU}} , biases both the signal (top left) and the QF (bottom left) estimation in spectroscopic readout mode as a function of \Delta\sigma_{{\scriptscriptstyle\rm R}} . For each analysed value of \sigma_{{\scriptscriptstyle\rm R}} , we simulate a flux f_{0} for which the off-diagonal covariance terms vanish. Additionally, for each \sigma_{{\scriptscriptstyle\rm R}} we perform simulations for f=f_{0}/2 and f=2f_{0} . Figure 5: DPA induced bias to the signal estimator \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} (top panels) and to the QF (bottom panels). For each value of the pixel simulated readout noise \sigma_{{\scriptscriptstyle\rm R}} , we have chosen the specific flux value f=f_{\rm 0} for which the off-diagonal terms in the covariance matrix vanish and the theoretical bias model conforms to the simulated values (thick solid lines). Additionally, for each \sigma_{{\scriptscriptstyle\rm R}} we perform simulations for f=\frac{f_{\rm 0}}{2} (dashed lines) and f=2f_{0} (dotted lines). Left panels: Bias due to \Delta\sigma_{{\scriptscriptstyle\rm R}} . The shaded areas correspond to the typical Euclid case of possible values of -3<\Delta\sigma_{{\scriptscriptstyle\rm R}}<6 as 99% of pixels are in this range of \Delta\sigma_{{\scriptscriptstyle\rm R}} – see Sect. 5 . Typical Euclid pixel has a readout noise \sigma_{{\scriptscriptstyle\rm R}}\approx 13\,{\rm e}^{-} and is represented by orange lines. Right panels: Bias due to \Delta f_{\rm e} . The shaded area corresponds to the typical Euclid dispersion of gain values. At \Delta\sigma_{{\scriptscriptstyle\rm R}}=0 we obtain the expected theoretical bias (see Eq. 18 ). For \Delta\sigma_{{\scriptscriptstyle\rm R}}>0 the flux is overestimated because analytically \hat{g}(\sigma_{{\scriptscriptstyle\rm R,\,DPU}})>\hat{g}(\sigma_{{\scriptscriptstyle\rm R}}) and, for very small \sigma_{{\scriptscriptstyle\rm R,\,DPU}} , folding further amplifies the effect. Conversely, if \Delta\sigma_{{\scriptscriptstyle\rm R}}<0 , a larger assumed noise induces a negative bias, which in the limit \Delta\sigma_{{\scriptscriptstyle\rm R}}\ll 0 cannot exceed b_{\rm{f,\,min}}^{\sigma_{{\scriptscriptstyle\rm R}}}=-\,\xi\,t_{\rm{fr}}^{-1}\,(n_{\rm f}+n_{\rm d})^{-1} . The QF exhibits the same dependence on \Delta\sigma_{{\scriptscriptstyle\rm R}} , confirming that both signal accuracy and QF performance degrade if non-representative noise values are used. Similarly, if an incorrect conversion gain, f_{\rm{e,}\,{\scriptscriptstyle\rm DPU}} , is used in the signal estimator instead of the true value f_{\rm e} , the resulting signal and QF will be biased, but differently compared to the \Delta\sigma_{{\scriptscriptstyle\rm R}} case. Indeed, data are acquired and processed in ADUs, but the resulting signal, variance, and QF do not scale identically during conversion from ADUs to electrons. The likelihood model introduced in Kubik et al. (2016a) accounts for this, and includes f_{\rm e} explicitly in the estimator function, as shown in Eqs. ( 23 ) and ( 24 ). In practice \displaystyle\hat{g}[\boldsymbol{\Delta G},\sigma_{{\scriptscriptstyle\rm R}}]_{n_{\rm g}} \displaystyle\equiv\hat{g}[f_{\rm e}\boldsymbol{\Delta H},f_{\rm e}\sigma_{{\scriptscriptstyle\rm R}}^{\rm h}]_{n_{\rm g}}\neq f_{\rm e}\,\hat{g}[\boldsymbol{\Delta H},\sigma_{{\scriptscriptstyle\rm R}}^{\rm h}]_{n_{\rm g}}\,; (29) \displaystyle\hat{g}_{x}[\boldsymbol{\Delta G},\sigma_{{\scriptscriptstyle\rm R}}]_{n_{\rm g}} \displaystyle\equiv\hat{g}_{x}[f_{\rm e}\boldsymbol{\Delta H},f_{\rm e}\sigma_{{\scriptscriptstyle\rm R}}^{\rm h}]_{n_{\rm g}}\neq f_{\rm e}\,\hat{g}_{x}[\boldsymbol{\Delta H},\sigma_{{\scriptscriptstyle\rm R}}^{\rm h}]_{n_{\rm g}}\,; (30) \displaystyle{\rm QF}[\boldsymbol{\Delta G},\sigma_{{\scriptscriptstyle\rm R}}]_{n_{\rm g}} \displaystyle\equiv{\rm QF}[f_{\rm e}\boldsymbol{\Delta H},f_{\rm e}\sigma_{{\scriptscriptstyle\rm R}}^{\rm h}]_{n_{\rm g}}\neq f_{\rm e}\,{\rm QF}[\boldsymbol{\Delta H},\sigma_{{\scriptscriptstyle\rm R}}^{\rm h}]_{n_{\rm g}}\,. (31) while \displaystyle\hat{g}[\boldsymbol{\Delta G}]_{n_{\rm g}} \displaystyle=f_{\rm e}\,\hat{h}[\boldsymbol{\Delta H}]_{n_{\rm g}}\,; (32) \displaystyle\hat{g}_{x}[\boldsymbol{\Delta G}]_{n_{\rm g}} \displaystyle=f_{\rm e}\,\hat{h}_{x}[\boldsymbol{\Delta H}]_{n_{\rm g}}\,; (33) \displaystyle{\rm QF}[\boldsymbol{\Delta G}]_{n_{\rm g}} \displaystyle={\rm QF_{h}}[\boldsymbol{\Delta H}]_{n_{\rm g}}\,. (34) Figure 5 shows how the use of an incorrect conversion gain introduces a non-linear bias in the signal estimation (top right panel), and in QF (bottom right panel). We note that for small f_{\rm e} one obtains {\rm QF}[\boldsymbol{\Delta G},\,\sigma_{{\scriptscriptstyle\rm R}}]_{n_{\rm g}}\approx f_{\rm e}\,{\rm QF}[\boldsymbol{\Delta H},\,\sigma_{{\scriptscriptstyle\rm R}}^{\rm h}]_{n_{\rm g}} . Kubik et al. (2016a) already demonstrated that the conversion-gain-induced DPA bias is negligible compared to the readout noise case. Moreover, the dispersion of the conversion gain within single detectors is lower than 1\% , corresponding to a deviation lower than 0.02\,{\rm e}^{-}/{\rm ADU} for a typical detector-average conversion gain of \approx 2\,{\rm e}^{-}/{\rm ADU} . On the other hand, the readout noise distributions display a dispersion of \approx 50\% around the detector-averaged values ( Euclid Collaboration: Kubik et al., 2025 ) . Specifically, for a typical detector-average readout noise of \approx 13\,{\rm e}^{-} , the 99 \% of the NISP pixels are distributed within -3\leq\Delta\sigma_{{\scriptscriptstyle\rm R}}\, / e {}^{-}\leq 6\, , where the asymmetry towards positive values reflects the log-normal nature of the readout noise distributions. An example of the dispersion of the readout noise distribution around the \sigma_{{\scriptscriptstyle\rm R,\,DPU}} value is reported in Fig. 6 . In light of these considerations, the analysis presented in this work quantifies the impact of DPA on the flight performance of the NISP signal estimator, focusing on the effects related to the readout noise parametrisation, under the assumption that gain-induced effects are negligible within the typical signal regimes of Euclid ’s NISP observations. 5 Flight performance of the NISP signal estimator In the following sections, we evaluate the performance of the signal estimator and QF obtained from NISP data collected during early flight operations and compare it to simulations. We show that the signal bias is negligible across the flux range relevant for Euclid . We also demonstrate that the bias introduced by the onboard data processing approximations aligns with predictions and affects only a tiny fraction of pixels. Finally, we assess the performance of the NISP QF, emphasising its sensitivity to space weather variations. 5.1 Early NISP flight data The flight performance of the NISP signal estimator is evaluated by analysing the data acquired during the performance verification phase and part of the early survey operation phase ( Euclid Collaboration: Mellier et al., 2025 ) , from September 2023 to April 2024. Table 2: Summary of the early NISP flight data analysed in this work. Dark images were acquired during the Performance Verification phase for the estimation of the photometric and spectroscopic NISP Master Dark maps ( Euclid Collaboration: Polenta et al., 2025 ) . Grism {\rm RG}_{\scriptscriptstyle\rm E} (red) and {\rm BG}_{\scriptscriptstyle\rm E} (blue) data are acquired in the NISP spectroscopic readout mode ( Euclid Collaboration: Gillard et al., 2025 ) . Filter J_{\scriptscriptstyle\rm E} , H_{\scriptscriptstyle\rm E} , and Y_{\scriptscriptstyle\rm E} data, corresponding to the three NISP filter passbands, are acquired in the NISP photometric readout mode ( Euclid Collaboration: Schirmer et al., 2022 ) . {\rm RG}_{\scriptscriptstyle\rm E} , {\rm BG}_{\scriptscriptstyle\rm E} , J_{\scriptscriptstyle\rm E} , H_{\scriptscriptstyle\rm E} , and Y_{\scriptscriptstyle\rm E} were acquired during the Euclid ’s Early Survey Operation ( Euclid Collaboration: Mellier et al., 2025 ; Euclid Collaboration: Jahnke et al., 2025 ) . Observation Mode Acquisition Number [ Integration Time ] Type of Exposures MACC(15,16,11) [\, 549.6 s \,] Dark 100 Grism {\rm RG}_{\scriptscriptstyle\rm E} 5700 Grism {\rm BG}_{\scriptscriptstyle\rm E} 100 MACC(4,16,4) [\, 87.2 s \,] Dark 500 Filter J_{\scriptscriptstyle\rm E} 5700 Filter H_{\scriptscriptstyle\rm E} 5700 Filter Y_{\scriptscriptstyle\rm E} 5700 Table 2 summarises the datasets considered in this analysis, which essentially comprise two different types of data, namely dark and scientific exposures. Dark exposures ( f\approx 0.01\,{\rm e}^{-}{\rm s}^{-1} ) are taken with the NISP filter wheel in the closed position to measure the detectors’ thermal background. Scientific exposures are acquired by selecting one of the optical elements hosted in the NISP Grism and Filter wheel arrays ( Euclid Collaboration: Jahnke et al., 2025 , GWA and FWA, respectively, see ) . Depending on the element passband, these exposures collect varying levels of zodiacal light, averaging f\approx 1\,{\rm e}^{-}{\rm s}^{-1} . These data are acquired in the framework of Euclid ’s ROS. In the case of NISP, this is a sequence of spectroscopic and photometric observations used to extract both the redshift and morphology of the galaxy sample. Within a ROS observation, spectroscopic images are acquired first, using one of the red ( {\rm RG}_{\scriptscriptstyle\rm E} , in one of the four dispersion directions) or blue ( {\rm BG}_{\scriptscriptstyle\rm E} ) grisms. This is immediately followed by photometric imaging, where the J_{\scriptscriptstyle\rm E} , H_{\scriptscriptstyle\rm E} , and Y_{\scriptscriptstyle\rm E} filters are used sequentially to capture broadband images ( Euclid Collaboration: Mellier et al., 2025 ) . To study the performance of the NISP onboard data processing, we consider the dataset referred to as NISP Raw Frame Products 5 5 5 https://euclid.esac.esa.int/dr/q1/dpdd/le1dpd/dpcards/le1_nisprawframe.html or, alternatively, NISP Level 1 (LE1) data. Essentially, these products are raw images (signal and QF maps) produced by the NISP onboard data processing, and transmitted to ground as telemetry packets ( Euclid Collaboration: Aussel et al., 2025 ) . The LE1 Processing Function (PF) of the Science Ground Segment (SGS) converts these telemetry packets into NISP raw data, which are subsequently ingested as inputs for the NIR and SIR PF ( Euclid Collaboration: Polenta et al., 2025 ; Euclid Collaboration: Copin et al., 2025 ) . Note that LE1 data are neither reduced nor calibrated, meaning that no instrumental effects have been corrected and no scientific calibration has been applied. Although reduction and calibration are essential steps in the scientific exploitation of NISP raw data, considering raw data allows us to evaluate the performance of the signal estimator as implemented in the NISP DPUs, rather than evaluating the performance of the calibration procedures applied by the Euclid SGS. Figure 6: Example (DET43, SCA ID 18221) of the readout noise \sigma_{{\scriptscriptstyle\rm R}} distribution measured during the ground characterisation campaign (TV1) of the NISP detectors ( Euclid Collaboration: Kubik et al., 2025 ) . The black stepped histogram depicts the \sigma_{{\scriptscriptstyle\rm R}} distribution for the entire pixel array ( 2040\times 2040 pixels), with approximately 35 \% of the pixels exhibiting a readout noise around 13 e - . The grey-filled histogram illustrates the \sigma_{{\scriptscriptstyle\rm R}} distribution for the rawline subsample (2040 pixels). The vertical dashed black line represents the detector-averaged value used by the NISP onboard data processing, \sigma_{{\scriptscriptstyle\rm R,\,DPU}} . The NISP Raw Frame Products include an ancillary dataset, referred to as ‘rawlines’, that – for each NISP exposure – are downlinked together with the signal and QF maps. In practice, for a subset of five rows ( 5\times 2048 pixels) on each detector, the rawlines contain the full sequence of single-frame images constituting the MACC readout. Rawlines can be located anywhere on the detector. During NISP commissioning ( Euclid Collaboration: Jahnke et al., 2025 ; Gillard et al., 2024 ; Cogato et al., 2024 ) , for each NISP detector, four rawlines were equally distributed between the top and bottom reference pixels framework ( Loose et al., 2007 , full details about reference pixels in HxRG detectors are provided in) , while only one rawline was placed at the detector centre within the so-called science pixels array. Reference-pixels rawlines, 2048 pixels in length, are fundamental to verify the proper electrical behaviour of the pixel array ( Kubik et al., 2014 ; Medinaceli et al., 2020 ; Euclid Collaboration: Kubik et al., 2025 ) and are currently used in the Euclid ’s NIR data reduction pipeline to correct for detectors’ channel-drifting effects ( Euclid Collaboration: Polenta et al., 2025 ) . The central rawline, denoted as science-pixels rawline, comprises 2040 light-sensitive pixels plus eight reference pixels (four at each row edge). Despite being only 0.05 \% of the entire pixel array, the science-pixels rawline is fully representative of the detector response in both signal integration and readout noise values (see Fig. 6 ). Therefore, the science-pixels rawlines distributed across the NISP FPA offer the ideal case study for our analysis: for each exposure, we can compare the NISP signal map against an independent rawline-based analysis to evaluate the flight performance of the NISP signal estimator. 5.2 Analysis framework According to Eq. ( 28 ), the bias introduced by the DPA, b_{\rm{f}}^{\sigma_{{\scriptscriptstyle\rm R}}} , is defined as the deviation of the signal retrieved from the NISP signal estimator, \hat{g}(\sigma_{{\scriptscriptstyle\rm R,\,DPU}}) , with respect to g . Since g is not known a priori, we adapt the DPA bias estimation as follows b_{\rm{f}}^{\sigma_{{\scriptscriptstyle\rm R}}}=\frac{\hat{g}(\sigma_{{\scriptscriptstyle\rm R,\,DPU}})-g_{\rm{LSF}}}{(n_{\rm{f}}+n_{\rm{d}})\,t_{\rm{fr}}}\,, (35) where g_{\rm{LSF}} is the equally-weighted linear least-squares fit (LSF) of the MACC signal integration encoded in the NISP raw lines. Assuming an ideal linear pixel, the LSF method provides an unbiased estimate of the signal – independent of the adopted readout noise value, thereby serving as a reference signal estimator. By correlating the b_{\rm{f}}^{\sigma_{{\scriptscriptstyle\rm R}}} with the difference between the actual per-pixel readout noise value, \sigma_{{\scriptscriptstyle\rm R}} , and the detector-averaged value, \sigma_{{\scriptscriptstyle\rm R,\,DPU}} , we infer the readout noise-induced effect of the DPA on the NISP signal estimator. We consider the single-frame readout noise map, \sigma_{{\scriptscriptstyle\rm R}} , estimated during the ground characterisation of NISP detectors ( Euclid Collaboration: Kubik et al., 2025 ) , and the detector-averaged values, \sigma_{{\scriptscriptstyle\rm R,\,DPU}} , currently adopted for the NISP onboard data processing. The analysis is conducted according to the following procedure. 1. Reconstruct the MACC( n_{\rm g} , n_{\rm f} , n_{\rm d} ) sample from the single-frame reads of the science-pixels rawlines, and convert the signal from ADU to electrons. 2. Correct the electrical and thermal drifts during signal integration by applying the reference pixels correction. The method is analogous to the one used by the NISP DPUs ( Kubik et al., 2014 ; Bonoli et al., 2016 ; Medinaceli et al., 2020 ) . However, since we do not have access to the entire reference pixel array, we adapt the correction method to the rawline dataset, which includes reference pixels from two rows on the top ( 2\times 2048 pixels), two rows on the bottom ( 2\times 2048 pixels), and four pixels on the right and left side of the science rawline ( 2\times 4 pixels). In practice, we correct the 2040 pixels belonging to the science rawline by leveraging the 8200 reference pixels available within the rawlines dataset and following the same scheme defined in Euclid Collaboration: Kubik et al. (2025) . 3. Exclude noisy and spurious pixels by applying a 5 \sigma clipping on \Delta G_{i} values, in addition to the QF-thresholding technique for outlier detection (see Sect. 6 for detailed description). 4. Fit a first-order polynomial LSF to the G_{i} points composing the MACC signal integration and derive the LSF measurement, g_{\rm{LSF}} . 5. For each exposure, evaluate the DPA bias b_{\rm f}^{\sigma_{{\scriptscriptstyle\rm R}}} map according to Eq. ( 35 ). 6. For each pixel of the science-pixels rawlines, compute the readout noise shift \Delta\sigma_{{\scriptscriptstyle\rm R}} according to Eq. ( 27 ). 7. Bin the \Delta\sigma_{\rm{R}} distribution with a bin-width of 1 e - . 8. Compute the median of the b_{\rm f}^{\sigma_{\rm R}} map across the entire set of exposures, \tilde{b}_{\rm f}^{\sigma_{{\scriptscriptstyle\rm R}}} , to further decontaminate from random fluctuations or unidentified outliers. 9. Within each \Delta\sigma_{{\scriptscriptstyle\rm R}} bin, compute the mean \langle\tilde{b}_{\rm f}^{\sigma_{{\scriptscriptstyle\rm R}}}\rangle and the standard deviation of \tilde{b}_{\rm f}^{\sigma_{{\scriptscriptstyle\rm R}}} over the sixteen NISP detectors. 10. Correlate \langle\tilde{b}_{\rm f}^{\sigma_{{\scriptscriptstyle\rm R}}}\rangle with the \Delta\sigma_{{\scriptscriptstyle\rm R}} binned distribution. Within each bin, the standard deviation represents the dispersion of the estimated bias across the NISP FPA. 5.3 DPA bias from early NISP flight data Figure 7 illustrates the outcomes of the analysis performed on the early NISP flight data, considering the NISP rawlines dataset. The data points show the mean and standard deviation of the DPA bias measurements across the sixteen NISP detectors. Figure 7: The bias \tilde{b}_{\rm f}^{\sigma_{{\scriptscriptstyle\rm R}}} induced by the Data Processing Approximation (DPA) is shown as a function of the pixel readout noise shift, with a bin-width of 1 e - . The data points and their associated error bars represent the mean and the standard deviation, respectively, computed over the 16 NISP detectors. To enhance visualisation, within each \Delta\sigma_{{\scriptscriptstyle\rm R}} bin, the data points are artificially offset along the horizontal axis. The top horizontal axis displays the fraction of NISP pixels contained in each \Delta\sigma_{{\scriptscriptstyle\rm R}} bin. Grey shaded area highlights the 99\% of NISP pixels which fall in the \Delta\sigma_{{\scriptscriptstyle\rm R}} range between -3\,{\rm e}^{-} and 6\,{\rm e}^{-} . Note that at the low end of \Delta\sigma_{{\scriptscriptstyle\rm R}} , the standard deviation decreases because pixels with \Delta\sigma_{{\scriptscriptstyle\rm R}}\lesssim-2\,{\rm e}^{-} are not homogeneously distributed across the detectors in the NISP focal plane. Black circles show the \tilde{b}_{\rm f}^{\sigma_{{\scriptscriptstyle\rm R}}} behaviour at the dark current level ( f\approx 0.01\,{\rm e}^{-}{\rm s}^{-1} ), while color-coded symbols refer to the zodiacal background regime ( f\approx 1\,{\rm e}^{-}{\rm s}^{-1} ). Top panel: Results from the NISP spectroscopic readout mode, i.e., MACC(15,16,11). Red and blue squares represent the results obtained from the red ( {\rm RG}_{\scriptscriptstyle\rm E} ) and blue ( {\rm BG}_{\scriptscriptstyle\rm E} ) grism observations, respectively. Bottom panel: Results from the NISP photometric readout mode, i.e., MACC(4,16,4). Green, orange, and azure diamonds represent the results obtained from the J_{\scriptscriptstyle\rm E} , H_{\scriptscriptstyle\rm E} , and Y_{\scriptscriptstyle\rm E} observations, respectively. 5.3.1 NISP dark current In the case of the NISP instrument, the dark current is measured using both the photometric MACC(4,16,4) mode and the spectroscopic MACC(15,16,11) mode. These measurements are then utilised for dark subtraction in the photometric and spectroscopic data, respectively. Additionally, dark images represent a fundamental tool for the in-flight monitoring of the hot pixels population and the characterisation of persistence effects ( Euclid Collaboration: Jahnke et al., 2025 ; Euclid Collaboration: Polenta et al., 2025 ) . Therefore, a precise and accurate estimate of the dark current is critical for all the NISP observations. Results obtained from the analysis of photometric and spectroscopic dark exposures are shown in Fig. 7 as black circles. In both cases, \langle\tilde{b}_{\rm f}^{\sigma_{{\scriptscriptstyle\rm R}}}\rangle increases as a function of \Delta\sigma_{{\scriptscriptstyle\rm R}} . In the \Delta\sigma_{{\scriptscriptstyle\rm R}} range containing the 99\% of NISP pixels, i.e., -3\leq\Delta\sigma_{{\scriptscriptstyle\rm R}}\, / e {}^{-}\leq 6\, , the DPA bias induced by the readout noise parametrisation is lower than 0.005\,{\rm e}^{-}{\rm s}^{-1} . For a typical dark current level around 0.01\,{\rm e}^{-}{\rm s}^{-1} , this represents a systematic error of \approx 50\% on the dark current estimation. However, three key points must be taken into account when interpreting these results. First, since scientific exposures typically have signal levels around 1\,{\rm e}^{-}{\rm s}^{-1} , the dark current subtraction introduces a systematic error of about 0.5\% (worst case) in the calibration process. Second, the error associated with dark measurements is one order of magnitude higher than the DPA bias. More specifically, from Table A.1 in Euclid Collaboration: Kubik et al. (2025) , the typical NISP photometric and spectroscopic noises are of the order of 6\,{\rm e}^{-} and 8\,{\rm e}^{-} which correspond to about 0.07\,{\rm e}^{-}{\rm s}^{-1} and 0.01\,{\rm e}^{-}{\rm s}^{-1} , respectively. Third, the subset of pixels exhibiting a systematic error higher than 0.005\,{\rm e}^{-}{\rm s}^{-1} represents less than 1.5\% of the entire NISP pixels array, and can be easily identified from the ground characterisation of the NISP detectors ( Euclid Collaboration: Kubik et al., 2025 ) . Moreover, because data and simulations agree closely (see Fig. 5 ), we can monitor and eventually correct these systematic effects. By construction, pixels in the \Delta\sigma_{{\scriptscriptstyle\rm R}}=0\,{\rm e}^{-} bin are immune to DPA bias. Therefore, restricting our analysis to this subset allows us to isolate and measure the intrinsic bias of the NISP signal estimator, which we denote as \langle b_{\rm f}\rangle . Figure 8: Examples of spectroscopic MACC(15,16,11) signal integration under different flux regimes. Each panel plots the accumulated charge (in Arbitrary Digital Units, ADU) as a function of the integration time (in seconds). The data points represent the average signal for each group ( n_{\rm f}=16 ), with error bars (whose size is comparable to the marker size) indicating the \sigma_{\rm{eff}} as defined in Kubik et al. (2016a) . The dashed lines (left and right panels) correspond to the linear integration for the corresponding flux regime. The figure displays the capability and effectiveness of the NISP signal estimator in accurately identifying several kinds of anomalies during the UTR signal integration, like cosmic ray hit (QF = 255, centre panel) and pixel non-linearity (QF = 213, right panel). Left panel: Zodiacal light ( \approx\,1\,{\rm e}^{-}{\rm s}^{-1} ) linear integration with a QF value exactly matching the expected \chi^{2}(n_{\rm g}-2) value, i.e, QF = 13. Centre panel: Dark current ( \approx\,0.01\,{\rm e}^{-}{\rm s}^{-1} ) integration affected by a cosmic ray event. Right panel: Non-linear integration observed for flat field images at high flux ( \approx\,150\,{\rm e}^{-}{\rm s}^{-1} ). From the analysis of the early NISP flight data, the estimate of this source of bias can be summarised as \displaystyle\langle b_{\rm{f,\,sp}}\rangle \displaystyle=-0.001\pm 0.001\,{\rm e}^{-}\,{\rm s}^{-1}\,,\quad\text{Spectroscopic Dark}\,; (36) \displaystyle\langle b_{\rm{f,\,ph}}\rangle \displaystyle=-0.005\pm 0.004\,{\rm e}^{-}\,{\rm s}^{-1}\,,\quad\text{Photometric Dark}\,. These outcomes closely align with the simulation results (see Fig. 1 ), and demonstrate that the photometric readout mode ( n_{\rm g}=4 ) has larger bias levels compared to the spectroscopic one ( n_{\rm g}=15 ). Finally, our analysis further corroborates the findings of Kubik et al. (2016b) , which showed that at very low flux levels ( f<0.1\,{\rm e}^{-}\,{\rm s}^{-1} ) the NISP signal estimator deviates by more than 10\% from the LSF estimate. 5.3.2 NISP zodiacal background For each of those photometric and spectroscopic images acquired during the ROS observations, the NIR PF ( Euclid Collaboration: Polenta et al., 2025 ) subtracts the variations in the zodiacal background. Hence, it is important to investigate the effects of the DPA bias on the NISP scientific exposures to verify the accuracy of the background estimation. Results obtained from the analysis of photometric and spectroscopic scientific exposures are shown in Fig. 7 as green ( J_{\scriptscriptstyle\rm E} ), orange ( H_{\scriptscriptstyle\rm E} ), azure ( Y_{\scriptscriptstyle\rm E} ) diamonds, and red ( {\rm RG}_{\scriptscriptstyle\rm E} ) and blue ( {\rm BG}_{\scriptscriptstyle\rm E} ) squares, respectively. The majority of NISP pixels exhibit a negligible bias value, corresponding to less than 1\% error for a zodiacal background level around 1\,{\rm e}^{-}{\rm s}^{-1} . As for the dark current case, the DPA behaves as expected with \langle\tilde{b}_{\rm f}^{\sigma_{{\scriptscriptstyle\rm R}}}\rangle increases as a function of \Delta\sigma_{{\scriptscriptstyle\rm R}} . In this case, the increasing trend is less pronounced since at \approx 1\,{\rm e}^{-}{\rm s}^{-1} the noise affecting the signal integration is mostly dominated by the shot noise, and therefore the DPA bias induced by the readout noise shift is attenuated. By restricting our analysis to pixels in the \Delta\sigma_{{\scriptscriptstyle\rm R}}=0\,{\rm e}^{-} bin, we quantify the intrinsic bias of the NISP signal estimator \langle b_{\rm f}\rangle and confirm the simulation predictions, reported in Fig. 5 . Essentially, the bias increases (in absolute values) relative to the dark current case. Also, at f\approx 1\,{\rm e}^{-}\,{\rm s}^{-1} the photometric readout mode exhibits a larger absolute bias than the spectroscopic mode. The bias \langle b_{\rm f}\rangle measured on early NISP data can be summarised as \displaystyle\langle b_{\rm{f,\,sp}}\rangle \displaystyle=-0.002\pm 0.001\,{\rm e}^{-}\,{\rm s}^{-1}\,,\quad\langle{\rm RG}_{\scriptscriptstyle\rm E},\,{\rm BG}_{\scriptscriptstyle\rm E}\rangle\,; (37) \displaystyle\langle b_{\rm{f,\,ph}}\rangle \displaystyle=-0.008\pm 0.004\,{\rm e}^{-}\,{\rm s}^{-1}\,,\quad\langle J_{\scriptscriptstyle\rm E},\,H_{\scriptscriptstyle\rm E},\,Y_{\scriptscriptstyle\rm E}\rangle\,. Again, we confirm the findings obtained by Kubik et al. (2016b) , i.e., at \approx 1\,{\rm e}^{-}\,{\rm s}^{-1} the NISP signal estimator does not present any significant bias. 6 Flight performance of the NISP quality factor Under ideal conditions – where the signal integration is not affected by anomalies, such as cosmic ray hits, random electronic noise, or non-linearity effects – the NISP QF is expected to follow a \chi^{2}_{\nu} distribution with \nu=n_{g}-2 degrees of freedom, as demonstrated in Sect. 3.5 . The Euclid ’s SGS ( Euclid Collaboration: Aussel et al., 2025 ; Euclid Collaboration: Polenta et al., 2025 ; Euclid Collaboration: Copin et al., 2025 ) employs the NISP QF map as a diagnostic tool to assess the NISP data quality. In practice, deviations from linear response are identified by applying a threshold to the QF distribution, and pixels whose QF values deviate significantly from the \chi^{2}_{\nu} distribution are flagged and excluded from the scientific analysis. In the NISP spectroscopic readout mode, the QF map is downlinked with an 8-bit resolution. During the reduction and calibration of spectroscopic data performed by the SGS ( Euclid Collaboration: Polenta et al., 2025 ; Euclid Collaboration: Copin et al., 2025 ) , the threshold value is set to {\rm QF}_{\rm{sp}}=50 , corresponding to a 4.7\sigma clipping on a \chi^{2}_{13} distribution. In the NISP photometric readout mode, the QF map is a binary flag (1-bit) constructed onboard ( Bonoli et al., 2016 ; Medinaceli et al., 2020 ; Euclid Collaboration: Jahnke et al., 2025 ) by applying a custom threshold value. Currently, the NISP onboard data processing adopts {\rm QF}_{\rm{ph}}=10 as a threshold, which corresponds to a conservative 2.7\sigma clipping on a \chi^{2}_{2} distribution. Figure 8 shows three examples from NISP flight data illustrating the behaviour of the NISP QF in the spectroscopic readout mode. Linear ramps typically yield a QF value around the \chi^{2}_{13} distribution mean value, \langle\chi^{2}_{13}\rangle\,=\,13\, , while pixels hit by energetic cosmic rays or exhibiting non-linear integration effects have higher QF. Figure 9: Example (DET 11, SCA 18453) of the performance of the NISP QF from simulated and early flight data. Each distribution reports the QF distribution related to a single photometric or spectroscopic exposure. The grey shaded histograms represent the \chi^{2}(n_{g}-2) distribution, corresponding to the expected behaviour of the NISP QF in the absence of anomalies during the signal integration. The red, blue, and green histograms show the QF distributions for three distinct flux regimes: 0.01\,{\rm e}^{-}{\rm s}^{-1} (dark current), 1\,{\rm e}^{-}{\rm s}^{-1} (zodiacal light), and >10\,{\rm e}^{-}{\rm s}^{-1} (flat field), respectively. Flat field simulations were performed at 20\,{\rm e}^{-}{\rm s}^{-1} for both NISP channels, while spectroscopic and photometric flight data were acquired at 16\,{\rm e}^{-}{\rm s}^{-1} and 80\,{\rm e}^{-}{\rm s}^{-1} , respectively. Black dashed vertical lines show the threshold values applied to the NISP QF distributions in the spectroscopic (QF = 50) and photometric (QF = 10) channels. Top panels: Spectroscopic MACC(15,16,11) mode. Bottom panels: Photometric MACC(4,16,4) mode. Left panels: Synthetic QF distributions obtained by processing the simulated data with the per-pixel readout noise map – labelled as Nominal. At high flux ( 20\,{\rm e}^{-}{\rm s}^{-1} , green histogram) the QF distribution perfectly matches the expected \chi^{2}_{\nu} distribution. As the flux decreases, the QF distributions progressively deviate from the \chi^{2}_{\nu} , as expected from the analysis reported in Sect. 3.5 . Centre panels: Synthetic QF distributions obtained by processing the simulated data with the detector-average readout noise value – labelled as DPA. At high flux ( 20\,{\rm e}^{-}{\rm s}^{-1} , green histogram) the QF distribution closely follows the expected \chi^{2}_{\nu} distribution, aside from a few outliers. As the flux decreases, the QF distributions progressively deviate from the \chi^{2}_{\nu} due to the superimposition of the intrinsic bias of the NISP signal estimator and the DPA effect. Right panels: Early flight data matching MC simulations (DPA case), if space weather effects are accounted for. The NISP QF follows the \chi^{2}_{\nu} distribution at high flux (green histograms) while increasingly deviates from it as the flux decreases (red and blue diagrams). The outlier tail in the NISP flight data mainly results from the impact of solar energetic particles on the NISP detectors. 6.1 The impact of DPA on the NISP QF distribution The response of QF to the DPA is quantified using the idealised MC model described in Sect. 3 . Considering the readout noise maps derived during the ground characterisation of the NISP detectors ( Euclid Collaboration: Kubik et al., 2025 ) , we simulate a single NISP exposure in both photometric and spectroscopic readout mode, under three different flux conditions, i.e., dark current ( \,0.01\,{\rm e}^{-}\,{\rm s}^{-1} ), zodiacal light ( \,1\,{\rm e}^{-}\,{\rm s}^{-1} ), and flat-field exposure ( >\,10\,{\rm e}^{-}\,{\rm s}^{-1} ). For each of these flux regimes, this process produces one photometric and one spectroscopic readout for each of the 66 585 600 science pixels composing the NISP FPA, yielding a total of \approx 9.4\times 10^{10} synthetic UTR reads. These synthetic exposures were processed according to the NISP signal estimator formalism described in Sect. 2 , and the resulting QF distributions are shown in Fig. 9 . Specifically, the different flux regimes are shown as red (dark current), blue (zodiacal light), and green (flat field) histograms, while the grey shaded histograms report the expected \chi^{2}_{\nu} distributions. To study the effects induced by DPA, we applied two distinct workflows. The first one, denoted as Nominal simulation (top and bottom left panels of Fig. 9 ), processes the UTR frames using the same readout noise map considered in the MC simulations. The second, denoted as DPA simulation (centre panels of Fig. 9 ), instead processes the UTR frames using the detector-average value currently adopted in the NISP onboard data processing. Table 3: Fraction of NISP QF outliers (%), defined as the number of pixels exceeding the NISP spectroscopic ( {\rm QF}_{\rm{sp}}=50 ) and photometric ( {\rm QF}_{\rm{ph}}=10 ) thresholds, in three different flux regimes, namely, dark current ( 0.01\,{\rm e}^{-}{\rm s}^{-1} ), zodiacal light ( 1\,{\rm e}^{-}{\rm s}^{-1} ), and flat field ( 20\,{\rm e}^{-}{\rm s}^{-1} ). In the Nominal case, UTR frames are processed by using the actual pixels’ readout noise value, while the detector-average value is used in the DPA case. The numbers quoted here refer to the average and standard deviation of the outlier fraction computed across the NISP FPA. The left and centre panels of Fig. 9 show an example of the synthetic QF distributions considered in this analysis. Observation Mode Flux Regime Outlier Fraction [%] [QF Threshold] [{\rm e}^{-}{\rm s}^{-1}] Nominal Simulation DPA Simulation Spectroscopic MACC(15,16,11) {\rm QF}_{\rm{sp}}=50 0.01 0.012 \pm 0.002 % 0.61 \pm 0.54 % 1.00 < 0.001 % 0.11 \pm 0.05 % 20.0 < 0.001 % 0.02 \pm 0.02 % Photometric MACC(4,16,4) {\rm QF}_{\rm{ph}}=10 0.01 2.02 \pm 0.02 % 3.45 \pm 2.05 % 1.00 0.86 \pm 0.06 % 1.31 \pm 0.58 % 20.0 0.31 \pm 0.01 % 0.35 \pm 0.03 % The impact of DPA on the NISP QF distribution is particularly evident when comparing the DPA simulations to the Nominal simulations. In the nominal case, no readout noise approximations are introduced during the data processing, and the synthetic QF distributions exhibit the expected \chi^{2}_{\nu} behaviour, with a flux-dependent slight deviation already described in Sect. 3 and shown in Fig. 1 (bottom-left panel). Conversely, in the DPA case, the synthetic QF distributions exhibit a pronounced outlier population, which originates from using the detector-averaged readout noise \sigma_{{\scriptscriptstyle\rm R,\,DPU}} instead of each pixel’s actual value \sigma_{{\scriptscriptstyle\rm R}} . Specifically, for pixels whose actual readout noise significantly exceeds the detector average, the effective variance of the UTR frames – D_{ii} in Eq. ( 3 ) – is systematically underestimated. During processing, the algorithm therefore misidentifies these pixels as non-linear and assigns them an artificially high QF compared to the expected \chi^{2}_{\nu} value. This effect is most pronounced in the low-flux regime, where readout noise dominates the variance budget. As the incident flux increases, shot noise becomes the primary contributor to the variance, and the bias introduced by \sigma_{{\scriptscriptstyle\rm R}} -related DPA diminishes accordingly. For example, at a high flux ( 20\,{\rm e}^{-}{\rm s}^{-1} , green histograms), the QF distributions closely follow the theoretical \chi^{2}_{\nu} distribution curves with a negligible fraction of outliers ( <0.1\% ). Under zodiacal light conditions ( 1\,{\rm e}^{-}\,{\rm s}^{-1} , blue histograms) and in the dark current regime ( 0.01\,{\rm e}^{-}\,{\rm s}^{-1} , red histograms), the proportion of outliers grows as the flux decreases, reaching its maximum under dark current conditions. Table 3 compares the excess of outliers in the DPA and Nominal simulations. By applying the NISP photometric ( 2.7\sigma clipping, {\rm QF}_{\rm{ph}}=10 ) and spectroscopic ( 4.7\sigma clipping, {\rm QF}_{\rm{sp}}=50 ) thresholds, the impact of DPA is quantified in terms of fraction of outliers compared to the nominal behaviour of the NISP QF. In the spectroscopic readout mode, across the entire flux range, the outliers account for less than 1\% of the pixel array. In contrast, in the photometric readout mode, the DPA bias is more significant and, at the lowest flux levels, the outlier fraction exceeds 3\% of the NISP pixels. 6.2 Space weather influence on NISP QF performance Additionally, Fig. 9 highlights a significant difference between the NISP QF distributions obtained from the DPA simulations and those obtained from early NISP flight data. In particular, we consider the typical QF distributions retrieved from early NISP flight data and associated with dark exposures ( \approx 0.01\,{\rm e}^{-}\,{\rm s}^{-1} ), scientific exposures (zodiacal light, \approx 1\,{\rm e}^{-}\,{\rm s}^{-1} ), and flat-field exposures obtained using the NISP calibration unit ( Euclid Collaboration: Hormuth et al., 2025 , >10\,{\rm e}^{-}\,{\rm s}^{-1} , ) The observed excess in the tail of the QF distributions is due to any external event causing a non-linear integration ramp, e.g. cosmic rays hitting the NISP detectors. Indeed, by orbiting the second Lagrangian point of the Sun-Earth system, the Euclid satellite is exposed to a radiation environment characterised by temporal variations correlated with solar cycles. Consequently, the fraction of outliers evolves with time according to the solar energetic particles flux and, in extreme cases, such as solar coronal mass ejection events, the percentage of pixels flagged by the NISP QF can exceed 50% . Considering that Euclid operates during the peak of the 25 {}^{\text{th}} solar cycle, the influence of space weather on the mission’s scientific output is not negligible (Euclid Collaboration: Schirmer et al., in prep.). In this context, the NISP QF proved to be able to identify cosmic rays hitting the NISP detectors ( Kohley et al., 2016 ; Kohley et al., 2018 ; Cogato et al., 2024 ) , thus ensuring the high quality of Euclid ’s NISP data. In particular, the processing functions responsible for the reduction and calibration of Euclid NIR data ( Euclid Collaboration: Polenta et al., 2025 ; Euclid Collaboration: Copin et al., 2025 ) integrate QF information with additional techniques – such as the L.A. Cosmics algorithm ( van Dokkum, 2001 ) – to mitigate contamination from cosmic-ray hits. 7 Conclusions This paper revisits the statistical foundations of the signal estimation process in the Euclid mission’s NISP instrument, with a focus on understanding and quantifying several bias sources in the signal and QF estimators derived from the likelihood-based method. The likelihood formulation in Eq. ( 2 ) is examined, highlighting the assumptions made and identifying key sources of bias. We confirmed that the Gaussian approximation to the likelihood holds in the Euclid context. However, simplifying assumptions – such as neglecting off-diagonal elements of the covariance matrix or incorporating the fitted parameter g directly in the error term – can introduce systematic biases. One such bias arises from the non-linear form of the signal estimator, leading to the so-called folding bias at low flux levels. While this effect is analytically challenging due to its probabilistic nature, it has been evaluated through simulations and shown to be negligible in the Euclid case – even down to extreme scenarios involving readout noise as low as 1\,{\rm e}^{-} and flux as low as 0.1\,{\rm e}^{-}\,{\rm s}^{-1} . The dominant contribution to bias stems from the correlation between \Delta G and its variance within the likelihood, producing a constant (flux-independent) bias. Though small compared to instrumental and photon noise, this effect can become noticeable in high signal-to-noise observations. An analytical correction term is derived for this bias. Additionally, smaller bias components – beyond the scope of the analytical model – originate from noise covariances between data points and are recognised as potential contributors to the overall residual bias. Our work also investigates the statistical properties of both the NISP signal estimator and the QF, including their probability distributions, expected values and variances. The signal estimator approximately follows a non-central \chi distribution, though its moments depend on the true value of g and are thus impractical for direct use. In contrast, QF is shown analytically to follow a \chi^{2} distribution with known expectation and variance. This makes it a reliable estimator for the goodness of the fit, especially because any residual bias can be modelled through simulations. Moreover, error propagation is shown to yield a better estimate of signal variance than the second-derivative of the log-likelihood proposed in Kubik et al. (2016a) , and an accurate, implementable formula is provided and already integrated into the Euclid SGS pipeline ( Euclid Collaboration: Polenta et al., 2025 ) . Importantly, the study demonstrates that the signal estimator derived from the full log-likelihood function is systematically less biased than the one obtained via traditional \chi^{2} -minimisation, although both have comparable errors. This makes the likelihood approach the preferred method, especially in the presence of unknown or flux-dependent variances. The effects of the various approximations made in the NISP onboard processing are also quantified. In particular, we demonstrate that any biases from averaging the pixels’ readout noise and conversion gain remain negligible and well controlled, ensuring accurate signal estimates even if these parameters drift by a few percent over the mission lifetime. Specifically, the results presented in Fig. 7 indicate for the majority of pixels ( \approx 99\% ) the systematic bias is lower than 0.01\,{\rm e}^{-}\,{\rm s}^{-1} over the entire range of flux levels of interest for Euclid , namely f\gtrsim 0.01\,{\rm e}^{-}\,{\rm s}^{-1} . Such a systematic error is well within the statistical error budget associated with the NISP exposures, and therefore does not yield a biased signal estimation. Nevertheless, it is important to address a few key considerations that highlight the main assumptions of the proposed method. As highlighted in Euclid Collaboration: Kubik et al. (2025) , the choice of the reference signal is arbitrary and can vary depending on the scope of the analysis. In this study, the bias estimation was derived considering the reference signal as a first-order polynomial LSF of the signal MACC readout. This is independent of the actual pixel readout noise and provides an unbiased estimation of the actual incident flux. Also, our analysis is based on the rawlines sample, which allows us to access the signal MACC frames and thus to independently estimate the incident flux via the LSF method. This sample is homogenously distributed over the NISP detectors and constitutes \approx 0.05\% of the entire pixel array, but – despite its small size – it is fully representative of the detector response. Therefore, we demonstrated that the 32 640 science pixels of the rawlines dataset represent a robust tool for probing and testing the flight performance of the 66 585 600 pixels in the NISP focal plane. Our findings from early flight data assume the linearity of the signal integration for the entire sample of pixels. Outliers are statistically mitigated through a large data sample, namely thousands of exposures for scientific {\rm RG}_{\scriptscriptstyle\rm E} , {\rm BG}_{\scriptscriptstyle\rm E} , J_{\scriptscriptstyle\rm E} , H_{\scriptscriptstyle\rm E} , and Y_{\scriptscriptstyle\rm E} data, and hundreds of exposures for dark currents in both NISP readout modes. Spurious detections, such as cosmic ray hits or random electronic jumps, are identified with the \sigma -clipping method on the signal MACC readout along with the QF-thresholding technique. The analysis presented here is conducted considering the NISP LE1 data, i.e., without any instrumental or scientific calibration. Hence, the interpretation of our results against MC simulations may be affected by additional sources of noise that are not included in our simplified signal integration model, such as inter-pixel capacitance, 1/f noise, or persistence effects. Interestingly, the agreement between early flight data and simulations suggests the effectiveness of our theoretical modelling of the NISP signal estimator and provides a robust framework for deriving leading corrections of the systematic biases analysed in this work. Finally, we investigate the performance of the QF, quantifying the effects of the approximations adopted in the NISP onboard processing and analysing their impact on the QF response in terms of outliers and spurious signals detection. Additionally, we present the typical QF distributions obtained from early NISP flight and emphasise its deviation from MC simulations – an effect mainly driven by the particle radiation environment influencing any space-borne observatory operating at the second Lagrangian point of the Sun-Earth system. Acknowledgements. The Euclid Consortium acknowledges the European Space Agency and a number of agencies and institutes that have supported the development of Euclid , in particular the Agenzia Spaziale Italiana, the Austrian Forschungsförderungsgesellschaft funded through BMK, the Belgian Science Policy, the Canadian Euclid Consortium, the Deutsches Zentrum für Luft- und Raumfahrt, the DTU Space and the Niels Bohr Institute in Denmark, the French Centre National d’Etudes Spatiales, the Fundação para a Ciência e a Tecnologia, the Hungarian Academy of Sciences, the Ministerio de Ciencia, Innovación y Universidades, the National Aeronautics and Space Administration, the National Astronomical Observatory of Japan, the Netherlandse Onderzoekschool Voor Astronomie, the Norwegian Space Agency, the Research Council of Finland, the Romanian Space Agency, the State Secretariat for Education, Research, and Innovation (SERI) at the Swiss Space Office (SSO), and the United Kingdom Space Agency. A complete and detailed list is available on the Euclid web site ( www.euclid-ec.org ). Appendix A Constant bias of the signal estimator We derive the formula of the constant bias of the Euclid NISP signal estimator \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} defined in Eq. ( 5 ) at high flux regime. The estimator of the bias \hat{b}_{g} of \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} is defined as the average deviation of \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} with respect to a true value g \hat{b}_{\rm g}=\left\langle\hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}}-g\right\rangle_{n_{\rm r}}\,, (38) where \langle.\rangle_{n_{\rm r}} is the average over n_{\rm r} realisations. We can write \displaystyle\left\langle\hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}}\right\rangle_{n_{\rm r}} \displaystyle=\left\langle\sqrt{\xi^{2}+M_{2}(\Delta\boldsymbol{G},\beta,n_{\rm g})}-\xi-\beta\,\right\rangle_{n_{\rm r}} \displaystyle=\left\langle\sqrt{\xi^{2}+M^{2}(\Delta\boldsymbol{G},n_{\rm g})+s^{2}[\Delta\boldsymbol{G}]_{n_{\rm g}}+2\beta M(\Delta\boldsymbol{G},n_{\rm g})+\beta^{2}}\,\right\rangle_{n_{\rm r}}-\xi-\beta (39) \displaystyle=\left\langle\sqrt{\xi^{2}+M^{2}(\Delta\boldsymbol{G},n_{\rm g})+M(\Delta\boldsymbol{G},n_{\rm g})\left(\frac{n_{\rm g}-2}{n_{\rm g}-1}\left(1+\alpha\right)+2\beta\right)+\frac{n_{\rm g}-2}{n_{\rm g}-1}\gamma+\beta^{2}}\,\right\rangle_{n_{\rm r}}-\xi-\beta\,, where we have defined M(\Delta\boldsymbol{G},n_{\rm g})\equiv\frac{\sum_{i=1}^{n_{\rm g}-1}\Delta G_{i}}{n_{\rm g}-1}\;. (40) We have also used the relation M_{2}(\Delta\boldsymbol{G},0,n_{\rm g})=M^{2}(\Delta\boldsymbol{G},n_{\rm g})+s^{2}[\Delta\boldsymbol{G}]_{n_{\rm g}}\,, (41) where s^{2}[\Delta\boldsymbol{G}]_{n_{\rm g}} is the unbiased sample variance of n_{\rm g}-1 group differences. It is related to the population variance D_{ii}(g) by s^{2}[\Delta G]_{n_{\rm g}}=\frac{n_{\rm g}-2}{n_{\rm g}-1}D_{ii}(g)=\frac{n_{\rm g}-2}{n_{\rm g}-1}\left[(1+\alpha)g+\gamma\right]\,, (42) where D_{ii} is the diagonal term of the covariance matrix of group differences defined in Eq. ( 3 ). In order to compute the average of the square root, we use the Taylor expansion around the average value \left\langle M(\Delta\boldsymbol{G},n_{\rm g})\right\rangle_{n_{\rm r}}=g . Only the leading term gives a non-zero contribution \displaystyle\left\langle\hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}}\right\rangle_{n_{\rm r}}\xrightarrow{g\to\infty}g+\frac{1}{2}\left(\frac{n_{\rm g}-2}{n_{\rm g}-1}(1+\alpha)+2\beta\right)-\xi-\beta=g-\frac{\xi}{n_{\rm g}-1}\,; (43) higher derivative terms are null in high flux approximation. Therefore, the per-group signal bias b_{\rm g} at high flux is equal to \hat{b}_{\rm g}=-\frac{\xi}{n_{\rm g}-1}\,, (44) or in terms of the per-second flux one obtains \hat{b}b_{\rm f}=\frac{\hat{b}_{\rm g}}{(n_{\rm f}+n_{\rm d})\,t_{\rm{fr}}}=-\frac{\xi}{(n_{\rm g}-1)(n_{\rm f}+n_{\rm d})\,t_{\rm{fr}}}\,. (45) Appendix B Estimator of the variance of the signal The variance of the of signal estimators \hat{\rho}^{2}[\hat{g}] is computed using first-order approximation \hat{\rho}^{2}[\hat{g}]=\sum_{i=1}^{n_{\rm g}-1}\sum_{j=1}^{n_{\rm g}-1}\left(\left.\frac{\partial\hat{g}}{\partial\Delta G_{i}}\right|_{\Delta G_{i}=\hat{g}}\right)\left(\left.\frac{\partial\hat{g}}{\partial\Delta G_{j}}\right|_{\Delta G_{j}=\hat{g}}\right)D_{ij}(g=\hat{g})\,, (46) where D_{ij} is the covariance matrix of group differences defined in Eq. ( 3 ). As one has \left.\frac{\partial\hat{g}}{\partial\Delta G_{i}}\right|_{\Delta G_{i}=\hat{g}}=\left.\frac{\partial\hat{g}}{\partial\Delta G_{j}}\right|_{\Delta G_{j}=\hat{g}}\,, (47) the Eq. ( 46 ) simplifies to \hat{\rho}^{2}[\hat{g}]=\left[(n_{\rm g}-1)\hat{g}+\alpha\hat{g}+\gamma)\right]\left(\left.\frac{\partial\hat{g}}{\partial\Delta G_{i}}\right|_{\Delta G_{i}=\hat{g}}\right)^{2}\,, (48) and the variance estimator is given by \hat{\rho}^{2}[\hat{g}]=\frac{[(n_{\rm g}-1)\hat{g}+\alpha\hat{g}+\gamma]}{(n_{\rm g}-1)^{2}}\frac{(\hat{g}+\beta)^{2}}{(\hat{g}+\beta)^{2}+\xi^{2}}\approx\frac{[(n_{\rm g}-1)\hat{g}+\alpha\hat{g}+\gamma}{(n_{\rm g}-1)^{2}}\,, (49) where the last approximation holds for \xi\ll\beta,\hat{g} . Since \xi\in(\frac{1}{3},\frac{1}{2}] independently on the readout noise and flux values, the last approximation holds most of the Euclid NISP applications. Appendix C QF expected value The QF, defined in Eq. ( 8 ), is equal to the bias between \hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}} and \hat{g}_{1}=(G_{n_{\rm g}}-G_{1})(n_{\rm g}-1)^{-1} up to a multiplicative factor (n_{\rm g}-1)\xi^{-1} . Using the facts that 1. \hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}} , defined in Eq. ( 9 ), is equal to \hat{g}[\Delta\boldsymbol{G}]_{n_{\rm g}} , defined in Eq. ( 5 ), with \xi=0 ; 2. \hat{g}_{1} is an unbiased estimator of g , we can use repeat the derivation given in Appendix A to show that \displaystyle\left\langle\hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}}\right\rangle_{n_{\rm r}}\xrightarrow{g\to\infty}g+\frac{1}{2}\left(\frac{n_{\rm g}-2}{n_{\rm g}-1}(1+\alpha)+2\beta\right)-\beta=g+\frac{n_{\rm g}-2}{n_{\rm g}-1}\xi\,, (50) and thus the expected value of the QF is equal to \langle{\rm QF}\rangle_{n_{\rm r}}=\frac{n_{\rm g}-1}{\xi}\left\langle\hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}}-\hat{g}_{1}\right\rangle_{n_{\rm r}}\xrightarrow{g\to\infty}\frac{n_{\rm g}-1}{\xi}\frac{n_{\rm g}-2}{n_{\rm g}-1}\xi=n_{\rm g}-2\,. (51) Appendix D Estimator of the QF variance To derive the variance estimator of the QF we need to use the second-order approximation \left.\hat{\rho}^{2}[{\rm QF}]\approx\left(\frac{n_{\rm g}-1}{\xi}\right)^{2}\left[\left(\boldsymbol{\nabla}\hat{g}_{x}-\boldsymbol{\nabla}\hat{g}_{1}\right)^{T}\mathsf{D}\left(\boldsymbol{\nabla}\hat{g}_{x}-\boldsymbol{\nabla}\hat{g}_{1}\right)+\frac{1}{2}{\rm Tr}\left[\left(\mathsf{H}_{x}-\mathsf{H}_{1}\right)\mathsf{D}\left(\mathsf{H}_{x}-\mathsf{H}_{1}\right)\mathsf{D}\right]\right]\right|_{\Delta G=g}\,, (52) where \nabla\hat{g}_{xi}=\frac{\partial\hat{g}_{x}}{\partial\Delta G_{i}}\,;\quad\nabla\hat{g}_{1i}=\frac{\partial\hat{g}_{1}}{\partial\Delta G_{i}}\,, (53) are the elements of the gradient vectors of \hat{g}_{x} and \hat{g}_{1} , \mathsf{D} is the covariance matrix defined in Eq. ( 3 ) and the matrices \mathsf{H}_{x} and \mathsf{H}_{1} are the Hessian matrices of \hat{g}_{x}[\Delta\boldsymbol{G}]_{n_{\rm g}} and \hat{g}_{1}[\Delta\boldsymbol{G}]_{n_{\rm g}} respectively. Their elements are given by H_{x,ij}=\frac{\partial^{2}\hat{g}_{x,1}}{\partial\Delta G_{i}\partial\Delta G_{j}}\,;\quad H_{1,ij}=\frac{\partial^{2}\hat{g}_{1,1}}{\partial\Delta G_{i}\partial\Delta G_{j}}\,. (54) Noting that \nabla\hat{g}_{x}|_{\Delta G=g}=\nabla\hat{g}_{1}|_{\Delta G=g} , and that H_{1,ij}\equiv 0 , the variance of QF simplifies to \hat{\rho}^{2}[{\rm QF}]=\left.\frac{1}{2}\left(\frac{n_{\rm g}-1}{\xi}\right)^{2}{\rm Tr}[\mathsf{H}_{x}\mathsf{D}\mathsf{H}_{x}\mathsf{D}]\right|_{\Delta G=g}\,. (55) Using the explicit form of the elements of \mathsf{H}_{x}|_{\Delta G=g} H_{ij}(g_{x})=\begin{cases}\frac{1}{(n_{\rm g}-1)(g+\beta)}\left(1-\frac{1}{n_{\rm g}-1}\right)&\quad\textrm{if}\quad i=j\\ \frac{-1}{(n_{\rm g}-1)^{2}(g+\beta)}&\quad\textrm{if}\quad i\neq j\end{cases}\,, (56) one has {\rm Tr}[\mathsf{H}_{x}\mathsf{D}\mathsf{H}_{x}\mathsf{D}]|_{\Delta G=g}=\frac{{\rm Tr}[\mathsf{J}\mathsf{D}\mathsf{J}\mathsf{D}]}{(n_{\rm g}-1)^{4}(g+\beta)^{2}}-\frac{2{\rm Tr}[\mathsf{D}\mathsf{J}\mathsf{D}]}{(n_{\rm g}-1)^{3}(g+\beta)^{2}}+\frac{{\rm Tr}[\mathsf{D}\mathsf{D}]}{(n_{\rm g}-1)^{2}(g+\beta)^{2}} (57) where \mathsf{J} is the matrix of ones. Expanding explicitly the above equation with elements of \mathsf{H} given in Eq. ( 3 ) and inserting it into Eq. ( 55 ) on can show that \hat{\rho}^{2}[{\rm QF}]\xrightarrow{g\to\infty}2(n_{\rm g}-2) (58) as expected for a variable following \chi^{2} distribution with n_{\rm g}-2 degrees of freedom.