Step-by-Step ETC Guide for NIRSpec MOS Deep Extragalactic Survey

ETC step-by-step instructions for the JWST NIRSpec MOS deep extragalactic survey example science program are provided in this article.

Dated material

This example was created pre-launch, and the ETC has been updated since its creation. You may see differences in the details of the results from the ETC, the information provided, or the appearance of the ETC GUI from what is shown herein.

Please refer to JWST Example Science Programs for more information.

On this page

See also: NIRSpec Multi-Object SpectroscopyJWST Exposure Time Calculator Overview, Proposal Planning Video Tutorials

Exposure time calculations

Words in bold are GUI menus/
panels or data software packages; 
bold italics are buttons in GUI
tools or package parameters.

As discussed in the science goals article, you will observe [CIII], CIII] at 1907 and 1909 Å for galaxies at 5 < z < 6, in addition to Hα 6563 and other optical emission lines such as [OII], [OIII] and Hβ for galaxies at 2 < z < 6 (but only plan for Hα). [CIII], CIII] lands in disperser/filter G140M/F100LP, and the optical emission lines span all three grating/filter combinations that you are using (G140M/F100LP, G235M/F170LP, G395M/F290LP). [CIII], CIII] is much fainter than Hα or any of the other optical lines of interest. Therefore, observing [CIII], CIII] requires longer integrations in G140M/F100LP . Consequently, this example presents two exposure time calculations below: one for [CIII], CIII] in G140M/F100LP and one for Hα in G235M/F170LP and G395M/F290LP. Rest-frame line integration times are based on Hα, even though you will detect other optical emission lines, because Hα is the most relevant line for this science case.

The optimal exposure specifications (e.g., number of groups and integrations) are the input needed for the Astronomer's Proposal Tool (APT) observation template, which is used to specify an observing program and submit proposals.

The ETC workbook associated with this example science program is called "#25 NIRSpec MOS Deep Extragalactic Survey" and can be selected from the Example Science Program Workbooks drop-down on the ETC Available Workbooks page to get the read only version. The nomenclature and reported SNR values in this article are first based on ETC v. 1.5.1 but are consistent with ETC v4.0. 



Define Sources and Scenes in the ETC

See also: JWST ETC Scenes and Sources Page Overview

As stated above, the goals are to measure the [CIII], CIII], and Hα emission lines with a signal-to-noise ratio (SNR) of 5. Set up sources in the ETC to have continuum levels representative of the brightest 5 < z < 6 galaxies in the catalog, as shown in Table 1. Define the sources as extended, assuming a 2-D Gaussian with semi-major and semi-minor axes of 0.17". This corresponds to 1 kpc at a redshift of z = 5.5, a typical size for galaxies at this redshift (Curtis-Lake et al. 2016.) Each scene has one source assigned to it, at the center of the scene, so that in the calculations below, assume the sources are centered in the spectroscopic slit.  


Scene NumberScene NameSource NameContinuumShape
1C III] SceneC III] Calculation

SED: Flat in Fν

Normalization:

  • m = 26 (AB)
  • WFC3/IR F140W

Extended

2-D Gaussian, integrated flux

σx = σx = 0.17 arcsec

2Hα SceneHα Calculation

SED: Flat in Fν

Normalization:

  • m = 27 (AB)
  • WFC3/IR F140W

Extended

2-D Gaussian, integrated flux

σx = σx = 0.17 arcsec


The continuum-subtracted SNR of an emission line is not provided in the ETC. The ETC instead reports the SNR per pixel. Described below is how to estimate an appropriate SNR per pixel for the science goals, by estimating the expected fluxes of the emission lines of interest, determining the SNR of a continuum subtracted line, and translating this information to SNR per continuum pixel.

Estimating expected fluxes of the emission lines of interest

Estimate the expected flux of [CIII], CIII], using equivalent width measurements in the literature, along with a WFC3 IR F140W magnitude of 26 AB, representative of the brightest 5 < z < 6 galaxies in the catalog. 

Figure 1. Equivalent width as a function of metallicity

The rest-frame equivalent width is shown as a function of metallicity for galaxies at a range of redshifts. At low metallicities, galaxies have a range of equivalent widths, whereas at high metallicities, the CIII] is weak. You will wish to measure this relation for a large sample of galaxies at very high redshift (5 < z < 6). © Rigby et al., 2015.

To obtain a typical equivalent width, look to Figure 1 which is from Rigby et al. 2015. From this figure, you can infer that an equivalent width of 10 Å is typical of galaxies with the low metallicities that you may expect at these redshifts. Given these numbers, you can estimate that you must reach a flux of 1.5x10-18 ergs s-1 cm-2 (assuming a redshift of z = 5.5). Additionally, you wish to measure star-formation rates down to 1 solar mass per year which corresponds to an Hα flux of 3.8x10-18 ergs s-1 cm-2 at a redshift of 6.

Estimating SNR for a continuum-subtracted line

You need to perform continuum subtraction to obtain flux measurements from the emission lines. Therefore, you need to perform an exposure time calculation for a continuum-subtracted line. To do so, use a combination of JWST ETC calculations and a custom model, which is provided as an Python notebook in the next section.

The JWST ETC returns SNR per pixel for the entire spectrum of an input source. The simple model translates this to a SNR integrated over a continuum-subtracted emission line.

The model consists of a Monte-Carlo simulation where you add differing amounts of noise to a model galaxy spectrum. You then mock observe the line of interest for each Monte-Carlo realization and determine its SNR. Figure 2 shows an example simulated 1-D spectrum from the study.

Figure 2. A simulated 1-D spectrum with the same resolution and dispersion as NIRSpec's G140M grating

This model has a line flux of 3.8 × 10-18 ergs s-1 cm-2 Å-1, and a continuum magnitude of 27 AB, and a continuum SNR of 0.15/pixel. With a Monte Carlo simulation, you'll determine that the SNR on the line is 7. By trial and error, you'll conclude that somewhat lower continuum SNR of 0.12/pixel will yield a 5 sigma measurement of the same modeled line.

For [CIII], CIII], you can run the model for an input spectrum with a continuum magnitude of 26 in WFC3/F160W and a line flux of 1.5 x 10-18 ergs s-1 cm-2. The lines were assumed to be Gaussian having a width that is the same size as the spectral resolution element. You will wish to determine the continuum S/N necessary to obtain a line S/N of 5. By iterating on the continuum S/N in the model, you will find that a value of 1.25 per pixel is required.

For Hα, you can run the model for an input spectrum with a continuum magnitude of 27 in WFC3/F160W (typical of the highest redshift sources in the catalog) and a line flux of 3.8 x 10-18 ergs s-1 cm-2. Again, the line is assumed to be a Gaussian having a width that is the same as the spectral resolution element. By iterating on the continuum S/N, you will find that a value of 0.12 per pixel is required to measure Hα with a SNR of 5 in the line.

Model to estimate SNR for a continuum-subtracted line

The details of the simple model to estimate SNR for a continuum-subtracted emission line are as follows. 

The model is available as a Python notebookFirst, start by creating a noise-free model spectrum (line + continuum). Then, choose a root-mean-square (RMS) for the error spectrum, that will yield a fixed continuum SNR. For each model spectrum:

  • Monte Carlo 5000 noise spectra with the same RMS,
  • add these spectra to the noise-free model,
  • mock observe the resulting spectra, and
  • calculate the RMS of the mock observations of the line and convert it into a SNR by dividing the input flux by this rms.

This results in a SNR measurement for a line, given the SNR on the continuum. Then, iterate to determine the continuum SNR that will yield a line SNR of 5. In this model, it is assumed that noise does not vary with wavelength in the vicinity of the line. This is because the lines are faint enough that the Poisson noise from the source is negligible. Note that for [CIII], CIII], both lines in the doublet are simulated, but are blended. For Hα only a single line is simulated.

For [CIII], CIII] and Hα you want a S/N of 5 in the line. This requires a SNR of 1.25 per pixel in G140M/F100LP for a source with 26th magnitude in WFC3 IR F140W, and a SNR of 0.12 per pixel in G235M/F170LP and G395M/F290LP for a source with 27th magnitude (AB). 



Run ETC calculations for NIRSpec multi-object spectroscopy

See also: JWST ETC Calculations Page Overview

In the Calculations tab of the ETC, choose the Multi-Object Spectroscopy option in the NIRSpec pull-down menu.

For the CIII] calculation (Calculation #3), populate the Instrument Setup tab as follows. Choose the G140M/F100LP grating/filter combination to cover the [CIII], CIII] line at redshifts 5 < z < 6. Choose the default 3-shutter slitlet, which corresponds to the design that was implemented.  Also, leave the MSA location at the default (Quad 3 center); in practice this choice makes little difference in sensitivity, but it does give different estimates for wavelength gaps and cutoffs, which vary with location on the MSA.

In the Strategy tab, select a Wavelength of Interest of 1.25 μm, which is near the observed wavelength of [CIII], CIII] at a redshift of z = 5.5.

On the Detector Setup tab, use the NRSIRS2 detector readout pattern, which reduces correlated noise and is recommended for long exposures. You'll find that 20 groups, 10 integrations, and 3 exposures, are optimal, totaling 12 hours and 16 minutes. Here, the three exposures are used to model the three nod positions in the MOS observations. The choice of 20 groups gives ramps of 1473 s, below the recommended ~1500 s maximum set by the rate of cosmic rays. However, with this choice of exposure parameters, you will find that each nod would have more than 14,000 s of exposure, longer than JWST’s maximum allowed exposure time of 10,000 s. 

Therefore, you must break these exposures into two parts. Hence, in the ETC, you'll conclude that 20 groups, 5 integrations, and 6 exposures will meet your SNR goal. This calculation can be found as ID #3 in the ETC workbook for this example science program (#25).

You'll run two calculations for the Hα emission line: one for G235M/F170LP  at a Wavelength of Interest of 2 μm (Calculation #4) and another for G395M/F290LP at a Wavelength of Interest at 4 μm (Calculation #5), again, using the  NRSIRS2 readout pattern. To reach a continuum S/N of 0.12, you will find that 15 groups, 1 integration, and 3 exposures (3326 seconds)  are required for both G235M/F170LP  and G395/F290LP.   



References

Curtis-Lake, E., et al. 2016, MNRAS, 457, 1, 440
Non-parameteric analysis of rest-frame UV sizes and morphological disturbance amongst L* galaxies at 4 < z < 8

Grogin, N.,et al. 2011, ApJS, 197, 2, 35
CANDELS: The Cosmic Assembly Near-infrared Deep Extragalactic Legacy Survey

Momcheva, I. G., et al. 2016, ApJS, 225, 2, 27
The 3D-HST Survey: Hubble Space Telescope WFC3/G141 Grism Spectra, Redshifts, and Emission Line Measurements for ~100,000 Galaxies

Rigby, J. R., et al. 2015, ApJL, 814, 1, L6
C III] Emission in Star-forming Galaxies Near and Far

Tremonti, C. A., et al. 2004, ApJ, 613, 2, 898
The Origin of the Mass-Metallicity Relation: Insights from 53,000 Star-forming Galaxies in the Sloan Digital Sky Survey




Notable updates

 
Consistent with ETC v4.0

Originally published