WorksPhysics and Astronomy
Systematic Slopes in NIRSpec BOTS Observations
Abstract
We investigate empirical white light and spectroscopic trends in the temporal systematic slopes seen in NIRSpec Bright Object Time Series (BOTS) observations. Using a sample of 14 high-resolution G395H (dispersed across both the NRS1 and NRS2 detectors) and 10 low-resolution Prism (dispersed across NRS1 only) transit light curves, we measured the visit-long, pre-transit, and post-transit slopes. For the G395H white light curves, we find a correlation between the G395H NRS1 systematic slope and the host star magnitude, as well as the number of groups per integration. We also note that the systematic slopes vary with time over the course of a given time-series, with steeper pre-transit slopes compared to post-transit. These trends in the white light slopes are not apparent for G395H NRS2 or Prism. At the spectroscopic light curve level, the NRS1 and Prism slopes show a distinct wavelength-dependent signature across the full sample with the largest slopes between ~3-3.4 microns. At these wavelengths, the brightest targets display the strongest chromatic slope signatures. The NRS2 slopes show no apparent chromaticity across the full sample.
Introduction
NIRSpec Bright Object Time Series (BOTS) is the most popular JWST instrument mode for observations of transiting exoplanets ranging from gas giants to rocky planets, thanks to its exquisite precision, resolution, and wavelength coverage of critical molecular species (e.g., , , ). Interpretations of NIRSpec transit spectra have displayed instrumental systematics such as offsets between the NRS1 and NRS2 detectors for high-resolution observations [e.g. 1], lower-than-expected transit-depth precisions [e.g. 2], and visit-long systematic slopes [e.g. 3].
Such visit-long systematic slopes were first observed in NIRSpec BOTS observations during JWST commissioning [4], and have been consistently observed since then throughout the first few JWST GO cycles – with varying slope strengths seen across datasets. While these slopes are typically accounted for in differential transit depth measurements [e.g. 4, 1, 2], the underlying instrumental systematic effect causing these slopes is not fully understood. Qualitatively, the slope appears more strongly on the NRS1 detector in observations taken with the high-resolution gratings (e.g., G395H, G235H) as well as with the low-resolution Prism filter (which is dispersed on NRS1 only) compared to the NRS2 detector. The slope at the red end of NRS1 also appears to be different from the slope at the blue end of NRS2, suggesting a wavelength-dependence in the strength of these slopes.
Initial work was performed internally at STScI to correlate the white light and spectroscopic systematic slopes for a single BOTS dataset against engineering parameters, but no significant correlations were found. The repeatability of this slope also remains unknown, as multiple observations of the same target may yield different measured visit-long slopes. Furthermore, partial phase curves – which require flux stability over long timescales – are of interest to the community [e.g. 5] and would require better calibration of the baseline flux for NIRSpec BOTS data. However, such observations would be impacted by the presence of visit-long systematic slopes. As such, further investigation on these slopes is critical for enhancing atmospheric inferences derived from BOTS observations.
In this Technical Report, we measure the white light (i.e., band-integrated) and spectroscopic slopes for a sample of 14 G395H and 10 Prism transit observations to investigate how these slopes might vary due to target properties (e.g., host star brightness), and/or observatory/detector read properties (e.g., observation date, groups per integration, number of integrations). An outline of this report is as follows. In § 2, we describe the sample selection, data reduction, and light curve fitting methods. The results from the white light and spectroscopic slopes analyses for G395H and Prism are detailed in § 3. We contextualize and summarize this study in § 4.
Analysis
Sample Selection
We selected a sample of planets with published NIRSpec BOTS observations that span a range of host star spectral types and planetary parameters. As shown in Table 1, this sample includes 14 G395H and 10 Prism observations for targets ranging from giant planets to super-Earths.
| Planet Name | Host Star Spectral Type | J mag | PID | NRS1 Slope (ppm hr) | NRS2 Slope (ppm hr) |
| WASP-39b | G8 | 10.66 | 1366 | −130 | — |
| WASP-6b | G8 | 10.77 | 5924 | −143 | — |
| WASP-19b | G8 | 10.91 | 5924 | −64 | — |
| TOI-1899b | M0 | 11.34 | 4227 | −204 | — |
| Kepler-86b | F9 | 11.5 | 3235 | −32 | — |
| TOI-3984b | M4 | 11.93 | 3171 | −101 | — |
| TOI-5205b | M4 | 11.93 | 3171 | −170 | — |
| HATS-6b | M1 | 12.04 | 3171 | −126 | — |
| LP890-9b | M6 | 12.26 | 7073 | −110 | — |
| HATS-75b | M0 | 12.48 | 3171 | −117 | — |
| GJ486b | M3.5 | 7.20 | 1981 | −337 | −10 |
| GJ357b | M2.5 | 7.34 | 2512 | −287 | −36 |
| TOI-836b | K7 | 7.58 | 2512 | −269 | 12 |
| TOI-836c | K7 | 7.58 | 2512 | −205 | 12 |
| L168-9b | M1 | 7.94 | 2512 | −175 | 19 |
| TOI-776b | M1 | 8.48 | 2512 | −103 | 11 |
| TOI-776c | M1 | 8.48 | 2512 | −127 | 0 |
| HAT-P-1b | G0 | 9.16 | 5924 | −61 | 38 |
| GJ1132b | M4 | 9.25 | 1981 | −64 | −19 |
| WASP-107b | K7 | 9.38 | 1201 | −54 | −13 |
| WASP-178b | A1 | 9.78 | 2055 | −52 | 1 |
| WASP-63b | G8 | 9.82 | 5924 | −13 | 7 |
| HAT-P-26b | K1 | 10.08 | 1312 | −20 | 3 |
| WASP-17b | F6 | 10.51 | 1353 | 4 | 18 |
Table 1. Sample of targets with published NIRSpec BOTS Prism and G395H observations used in the systematic slopes analysis.
Data Reduction
Each G395H and Prism transit dataset was reduced using the open-source python-based ExoTiC-JEDI pipeline [6] to produce the 1D time-series stellar spectra as well as the NRS1 (for Prism and G395H) and NRS2 (for G395H only) white light curves. In the G395H analysis, the detectors were treated as separate visits.
Using a modified version of Stage 1 of the jwst pipeline (version 1.18.0, context map 1364; Bushouse et al. [7]), we performed the standard corrections for linearity, dark current, and saturation, and applied a jump detection threshold of 15. We next performed a custom group-level correction, masking the spectral trace from the dispersion axis for each integration and subtracting the median pixel value of non-masked pixels from each detector column in each group. We also applied the ExoTiC-JEDI custom bias subtraction before the standard ramp fitting step.
To track the - and -pixel positional shifts on the detector, we cross-correlated the 1D time-series stellar spectra. We extracted the wavelength solution using Stage 2 of the jwst pipeline to produce the 2D wavelength map. We generated the broadband (white light) light curves by summing up the stellar flux in the time-series across the full wavelength range for G395H (NRS1, –; NRS2, –) and Prism (–). For the G395H spectroscopic light curves, we generated 54 binned light curves with uniform widths of 60 pixels ( wide) based on the G395H wavelength solution. For the Prism spectroscopic light curves, we binned the light curves into 116 spectroscopic channels of varying widths (0.01 m wide in the blue and 0.08 m wide in the red) with roughly equal counts in each.
Light Curve Fitting
We fit the broadband and spectroscopic light curves for NRS1 and NRS2 following the methods of Alam et al. [2025]. We fit each light curve with a two-component function consisting of an analytic transit model generated using batman [8] multiplied by a systematics model of the form:
where and are the - and - pixel position shifts on the detector, is time, and the coefficients , , and are constants to be fit. Here, is the visit-long slope.
For the white light curves, we fixed the period to literature values, set the eccentricity to zero, and argument of periastron to 90, and fit for the mid-transit time , the scaled semi-major axis , inclination , planet-to-star radius ratio , and stellar baseline flux using wide uniform priors. We held the nonlinear limb-darkening coefficients Claret [2000] fixed to theoretical values, which we computed using ExoTiC-LD [10] with Set One of the MPS-ATLAS stellar models Kostogryz et al. [2022, 2023] and the stellar effective temperature , surface gravity , and metallicity. For the spectroscopic light curves, we fixed , , and to the best-fit values from the broadband light curves and fit for . We adopted the optimized parameters and their standard deviations as the best-fitting value and associated uncertainty for our fitted parameters. For each fitted light curve, we extracted the visit-long systematic slope and converted to units of ppm hr for this analysis. We also measured the pre-transit and post-transit slopes by fitting a line to the out-of-transit baseline pre- and post-transit, respectively, and converting to ppm hr.
Results
The reduced white light curves and fitted linear trends are shown in Figure 1 and Figure 2 for the G395H sample, and in Figure 3 for the Prism sample. The measured visit-long systematic slopes for the white light curves are given in Table 1. As is visually apparent, the visit-long systematic slopes for G395H NRS1 span a broad range (4 to ppm hr) across the full sample. The Prism NRS1 slopes appear to be similar in strength ( to ppm hr) to the G395H NRS1 slopes, but do not span as wide a range. The G395H NRS2 slopes are weaker than those measured for G395H NRS1, spanning only ppm hr.

Figure 1. NRS1 (left; blue) and NRS2 (right; light green) white light curves for the brightest (J < 9) targets in the G395H sample. The fitted visit-long out-of-transit linear trend is shown in red, with the measured visit-long slopes annotated.

Figure 2. Same as Figure 1, but for the fainter () targets in the G395H sample.

Figure 3. White light curves (blue) for the Prism sample used in our analysis. The fitted visit-long out-of-transit linear trend is shown in red, and the measured slopes from these fits are annotated.
We also searched for empirical trends in the measured visit-long slopes at both the white light and spectroscopic light curve levels for several parameters of interest, including the number of groups per integration, magnitude of the host star, number of integrations (as a proxy for observation duration), stellar effective temperature (as a proxy for host star spectral type), planetary radius, and date of observation. Our results for the white light slopes analysis are described in § 3.1, and the spectroscopic slope results are detailed in § 3.2.
White Light Slopes
G395H
For the G395H white light curve slopes, we found a correlation between the G395H NRS1 systematic slope and the host star 2MASS J magnitude, as well as the G395H NRS1 systematic slope and the number of groups per integration. These correlations are linked, since brighter targets typically require less up-the-ramp groups per integration. As shown in Figure 4, brighter targets appear to have stronger G395H NRS1 slopes – as do targets with fewer groups per integration. No other empirical correlations were found for the other target and detector properties that we investigated. In addition to the visit-long slope, we also measured the pre- and post-transit slopes for each transit light curve to explore how the systematic slopes vary over the course of the time-series observations. We found that the systematic slopes vary with time over the course of a given transit observation, with steeper pre-transit slopes compared to post-transit (Figure 4).

Figure 4. The G395H NRS1 visit-long (left), pre-transit (middle), and post-transit (right) systematic slopes as a function of host star J magnitude for a sample of 14 planets (points) color coded by number of groups per integration. Brighter targets with observations using fewer groups per integration reveal stronger visit-long systematic slopes in the time series observations.
Notably, these trends in the white light slopes are not apparent for G395H NRS2. As shown in
Figure 5, the G395H NRS2 visit-long slopes are weak () and do not vary widely across the full sample, whereas the pre- and post-transit slopes show significant scatter. Within this scatter, the pre-transit G395H NRS2 slopes show a weak correlation with magnitude and groups per integration. The post-transit slopes, however, show significant scatter with WASP-17b as an outlier – although the post-transit baseline in our reduction for this target shows a flux offset that is likely driving the measured slope value and its large uncertainty.

Figure 5. The G395H NRS2 visit-long (left), pre-transit (middle), and post-transit (right) systematic slopes as a function of host star J magnitude for a sample of 14 planets (points) color coded by number of groups per integration. The NRS2 slopes do not display any clear trends with target or observatory/detector read properties.
Prism
We also investigated the broadband slopes for our sample of Prism observations (see Table 1). Figure 6 shows the measured systematic slopes for the Prism sample, which demonstrate that all of the targets in our sample display negative visit-long slopes similar in magnitude to our G395H NRS1 measured slopes. However, we do not find any strong empirical correlations across the full sample with number of groups per integration, host star magnitude, or any of the other target and detector properties we explored.

Figure 6. The Prism visit-long (left), pre-transit (middle), and post-transit (right) systematic slopes as a function of magnitude for a sample of 10 planets (points) color coded by number of groups per integration. The systematic slopes across the full sample do not show strong correlations with host star magnitude or number of groups per integration.
Spectroscopic Slopes
G395H (NRS1 & NRS2)
We then investigated the systematic slopes at the spectroscopic light curve level to explore how slope strength varies across wavelength. We measured the visit-long spectroscopic light curve slopes for each detector, and color coded the targets by the magnitude of the host star as well as the number of groups per integration which – based on our findings from § 3.1 – have been shown at the white light curve level to be strongly correlated with the strength of the visit-long slope in the time-series). These results are shown in Figure 7.

Figure 7. The visit-long G395H spectroscopic slopes for NRS1 and NRS2 color coded by J magnitude (top) and number of groups per integration (bottom), with the detector wavelength gap shown in the gray shaded region. The G395H spectroscopic slopes reveal a distinct chromatic signature across the full sample with the largest slopes between –. At these wavelengths, the brightest targets display the strongest chromatic slope signatures. The NRS2 slopes show no apparent chromaticity in slopes for all targets.
The NRS1 and NRS2 detectors reveal different wavelength-dependent (chromatic) systematic slopes. In particular, the G395H NRS1 slopes show a distinct chromatic signature between – across all of the targets with strongest slopes between – (with a peak at ). The G395H NRS2 slopes do not show evidence of chromaticity for our full sample. For this detector, the slopes are at all wavelengths, i.e., we do not find any apparent chromaticity in the spectroscopic slopes across the full NRS2 wavelength range of –.
Prism (NRS1 only)
We also measured the spectroscopic slopes for our Prism sample, which are shown in Figure 8. Prism spans a wide wavelength range (–) and is dispersed on NRS1 only – as are the medium-resolution (e.g., G235M, G395M) NIRSpec gratings. Intriguingly, we find the same distinct chromatic signature seen for G395H NRS1 of stronger spectroscopic slopes between – and a peak in the slope strengths in this wavelength range at . Additionally, we note another chromatic signature at bluer wavelengths which is characterized by stronger slopes between – and a peak at .

Figure 8. The visit-long spectroscopic slopes for the Prism sample color coded by J magnitude (top) and number of groups per integration (bottom). We note the same distinct chromatic signature between – seen in the G395H NRS1 spectroscopic slopes, as well as another chromatic signature between –.
Discussion & Summary
These results mark the first empirical evidence of higher levels of instrumental systematics in BOTS observations of brighter targets across a sample of NIRSpec transit data. The correlation between host star magnitude and the strength of the visit-long systematic slopes for G395H NRS1 (Figure 4) presents compelling evidence that time-series observations of brighter targets – which require a fewer number of groups per integration – are more likely to have stronger visit-long slopes in
the transit light curves compared to fainter targets. These brighter targets host small planets as well, consistent with published findings that observations of small planets around bright stars show stronger G395H NRS1 detector-level systematics [e.g. 13, 2, 14]. The time-dependence of the slopes, as demonstrated by the stronger pre-transit slopes compared to those post-transit (Figure 4, Figure 5, and Figure 6), suggest that this systematic may be related to detector settling effects, which are the strongest at the beginning of the time-series observation. The G395H NRS1 spectroscopic slopes appear to be steeper at wavelengths where the observed count rate is the highest. However, since the distinct chromatic slope signatures appear for both G395H NRS1 as well as for Prism (NRS1 only) in the same wavelength range, this chromaticity may be an NRS1-specific instrumental systematic rather than a function of the observed count rate. Alternatively, the chromaticity of the systematic slopes may be linked to the observed count rate of a given target/visit, i.e., different targets with similar count rates may produce similar spectroscopic slopes. In this case, the white light slope trends seen in Figure 4, Figure 5, and Figure 6 would map to the spectroscopic trends shown in Figure 7 and Figure 8. It is also possible that the slopes may potentially be linked to the detector’s exposure history, as NRS1 is exposed more often (across Prism as well as the medium- and high-resolution gratings) compared to NRS2 (which is only exposed during H-grating observations).
Furthermore, the presence of visit-long systematic slopes for NRS1, in tandem with the lack of such slopes across the full sample for NRS2, may be related to the fact that the two detectors – despite being otherwise identical in their construction – were reported in pre-launch ground-testing to have different electron trap densities, with higher trap densities reported for NRS1 compared to NRS2 (priv. comm). These trap density differences between the detectors may provide an explanation for the appearance of the systematic slopes on NRS1 across Prism and the higher-resolution gratings, but not in NRS2 for observations taken with the high-resolution gratings. Furthermore, while the data that we have analyzed here can be well-fit with a linear slope, this sample is not sufficient to rule out if there is a non-linear component to the visit-long systematic slopes seen in BOTS observations.
Observations of brighter objects typically utilize the G395H grating, since these targets are often brighter than the Prism bright limit of for the nominal SUB512 subarray. With the new BOTS Prism multistripe subarrays1 that will be available beginning in JWST Cycle 6, the 3-group bright limit for Prism has been pushed down to for the smallest (SUB32_M16_PRISM) multistripe subarray. Future Prism multistripe observations may therefore display stronger visit-long systematic slopes in the transit light curves than nominal Prism BOTS observations.
References
- [1]Mario Damiano, Aaron Bello-Arufe, Jeehyun Yang, and Renyu Hu. LHS 1140 b Is a Potentially Habitable Water World. ApJL, 968(2):L22, June 2024. doi: 10.3847/2041-8213/ad5204.DOI
- [2]Munazza K. Alam, Peter Gao, Jea Adams Redai, Nicole L. Wallack, Nicholas F. Wogan, Artyom Aguichine, Anne Dattilo, Lili Alderson, Natasha E. Batalha, Natalie M. Batalha, James Kirk, Mercedes López-Morales, Annabella Meech, Sarah E. Moran, Johanna Teske, Hannah R. Wakeford, and Angie Wolfgang. JWST COMPASS: The First Near- to Mid-infrared Transmission Spectrum of the Hot Super-Earth L 168-9 b. The Astronomical Journal, 169(1):15, January 2025. doi: 10.3847/1538-3881/ad8eb5.DOI
- [3]Rafael Luque, Brandon Park Coy, Qiao Xue, Adina D. Feinstein, Eva-Maria Ahrer, Quentin Changeat, Michael Zhang, Sarah E. Moran, Jacob L. Bean, Edwin Kite, Megan Weiner Mansfield, and Enric Pallé. A Dark, Bare Rock for TOI-1685 b from a JWST NIRSpec G395H Phase Curve. The Astronomical Journal, 170(1):49, July 2025. doi: 10.3847/1538-3881/addb40.DOI
- [4]Néstor Espinoza, Leonardo Úbeda, Stephan M. Birkmann, Pierre Ferruit, Jeff A. Valenti, David K. Sing, Zafar Rustamkulov, Michael Regan, Sarah Kendrew, Elena Sabbi, Everett Schlawin, Thomas Beatty, Loïc Albert, Thomas P. Greene, Nikolay Nikolov, Diane Karakla, Charles Keyes, Catarina Alves de Oliveira, Torsten Böker, Maria Pena-Guerrero, Giovanna Giardino, Nimisha Kumari, Elena Manjavacas, Charles Proffitt, and Timothy Rawle. Spectroscopic Time-series Performance of JWST/NIRSpec from Commissioning Observations. PASP, 135(1043): 018002, January 2023. doi: 10.1088/1538-3873/aca3d3.DOI
- [5]Jacob Lustig-Yaeger, Kevin B. Stevenson, L. C. Mayorga, Kristin Showalter Sotzen, Erin M. May, Noam R. Izenberg, and Kathleen Mandt. Retrieving Exoplanet Atmospheres Using Planetary Infrared Excess: Prospects for the Night Side of WASP-43 b and Other Hot Jupiters. ApJL, 921(1):L4, November 2021. doi: 10.3847/2041-8213/ac2cc2.DOI
- [6]Lili Alderson, David Grant, and Hannah Wakeford. Exo-TiC/ExoTiC-JEDI: v0.1-beta-release, October 2022.
- [7]Howard Bushouse, Jonathan Eisenhamer, Nadia Dencheva, James Davies, Perry Greenfield, Jane Morrison, Phil Hodge, Bernie Simon, David Grumm, Michael Droettboom, Edward Slavich, Megan Sosey, Tyler Pauly, Todd Miller, Robert Jedrziewski, Warren Hack, David Davis, Steven Crawford, David Law, Karl Gordon, Michael Regan, Mihai Cara, Ken MacDonald, Larry Bradley, Clare Shanahan, William Jamieson, Mairan Teodoro, and Thomas Williams. JWST Calibration Pipeline, October 2022.
- [8]Laura Kreidberg. batman: BAsic Transit Model cAlculatioN in Python. PASP, 127(957):1161, November 2015. doi: 10.1086/683602.DOI
- [10]David Grant and Hannah R. Wakeford. Exo-TiC/ExoTiC-LD: ExoTiC-LD v3.0.0, December 2022.DOI
- [13]E. M. May, Ryan J. MacDonald, Katherine A. Bennett, Sarah E. Moran, Hannah R. Wakeford, Sarah Peacock, Jacob Lustig-Yaeger, Alicia N. Highland, Kevin B. Stevenson, David K. Sing, L. C. Mayorga, Natasha E. Batalha, James Kirk, Mercedes López-Morales, Jeff A. Valenti, Munazza K. Alam, Lili Alderson, Guangwei Fu, Junellie Gonzalez-Quiles, Joshua D. Lothringer, Zafar Rustamkulov, and Kristin S. Sotzen. Double Trouble: Two Transits of the Super-Earth GJ 1132 b Observed with JWST NIRSpec G395H. ApJL, 959(1):L9, December 2023. doi: 10.3847/2041-8213/ad054f.DOI
- [14]Lili Alderson, Sarah E. Moran, Nicole L. Wallack, Natasha E. Batalha, Nicholas F. Wogan, Anne Dattilo, Hannah R. Wakeford, Jea Adams Redai, Munazza K. Alam, Artyom Aguichine, Natalie M. Batalha, Anna Gagnebin, Peter Gao, James Kirk, Mercedes López-Morales, Annabella Meech, Johanna Teske, and Angie Wolfgang. JWST COMPASS: NIRSpec/G395H Transmission Observations of the Super-Earth TOI-776 b. The Astronomical Journal, 169(3):142, March 2025. doi: 10.3847/1538-3881/adad64.DOI