<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>JWST Spectroscopy of SN H0pe: Classification and Time Delays of a Triply Imaged Type Ia Supernova at z = 1.78</title></titleStmt>
			<publicationStmt>
				<publisher>American Astronomical Society</publisher>
				<date>07/22/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10540172</idno>
					<idno type="doi">10.3847/1538-4357/ad50a5</idno>
					<title level='j'>The Astrophysical Journal</title>
<idno>0004-637X</idno>
<biblScope unit="volume">970</biblScope>
<biblScope unit="issue">2</biblScope>					

					<author>Wenlei Chen</author><author>Patrick L Kelly</author><author>Brenda L Frye</author><author>Justin Pierel</author><author>S P Willner</author><author>Massimo Pascale</author><author>Seth H Cohen</author><author>Christopher J Conselice</author><author>Michael Engesser</author><author>Lukas J Furtak</author><author>Daniel Gilman</author><author>Norman A Grogin</author><author>Simon Huber</author><author>Saurabh W Jha</author><author>Joel Johansson</author><author>Anton M Koekemoer</author><author>Conor Larison</author><author>Ashish K Meena</author><author>Matthew R Siebert</author><author>Rogier A Windhorst</author><author>Haojing Yan</author><author>Adi Zitrin</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[<title>Abstract</title> <p>SN H0pe is a triply imaged supernova (SN) at redshift<italic>z</italic>= 1.78 discovered using the James Webb Space Telescope. In order to classify the SN spectroscopically and measure the relative time delays of its three images (designated A, B, and C), we acquired NIRSpec follow-up spectroscopy spanning 0.6–5<italic>μ</italic>m. From the high signal-to-noise spectra of the two bright images B and C, we first classify the SN, whose spectra most closely match those of SN 1994D and SN 2013dy, as a Type Ia SN. We identify prominent blueshifted absorption features corresponding to Si<sc>ii</sc><italic>λ</italic>6355 and Ca<sc>ii</sc>H<italic>λ</italic>3970 and K<italic>λ</italic>3935. We next measure the absolute phases of the three images from our spectra, which allow us to constrain their relative time delays. The absolute phases of the three images, determined by fitting the three spectra to Hsiao07 SN templates, are<inline-formula><tex-math><CDATA/></tex-math><math overflow='scroll'><msubsup><mrow><mn>6.5</mn></mrow><mrow><mo>−</mo><mn>1.8</mn></mrow><mrow><mo>+</mo><mn>2.4</mn></mrow></msubsup></math></inline-formula>days,<inline-formula><tex-math><CDATA/></tex-math><math overflow='scroll'><msubsup><mrow><mn>24.3</mn></mrow><mrow><mo>−</mo><mn>3.9</mn></mrow><mrow><mo>+</mo><mn>3.9</mn></mrow></msubsup></math></inline-formula>days, and<inline-formula><tex-math><CDATA/></tex-math><math overflow='scroll'><msubsup><mrow><mn>50.6</mn></mrow><mrow><mo>−</mo><mn>15.3</mn></mrow><mrow><mo>+</mo><mn>16.1</mn></mrow></msubsup></math></inline-formula>days for the brightest to faintest images. These correspond to relative time delays between Image A and Image B and between Image B and Image C of<inline-formula><tex-math><CDATA/></tex-math><math overflow='scroll'><mo>−</mo><msubsup><mrow><mn>122.3</mn></mrow><mrow><mo>−</mo><mn>43.8</mn></mrow><mrow><mo>+</mo><mn>43.7</mn></mrow></msubsup></math></inline-formula>days and<inline-formula><tex-math><CDATA/></tex-math><math overflow='scroll'><msubsup><mrow><mn>49.3</mn></mrow><mrow><mo>−</mo><mn>14.7</mn></mrow><mrow><mo>+</mo><mn>12.2</mn></mrow></msubsup></math></inline-formula>days, respectively. The SALT3-NIR model yields phases and time delays consistent with these values. After unblinding, we additionally explored the effect of using Hsiao07 template spectra for simulations through 80 days instead of 60 days past maximum, and found a small (11.5 and 1.0 days, respectively) yet statistically insignificant (∼0.25<italic>σ</italic>and ∼0.1<italic>σ</italic>) effect on the inferred image delays.</p>]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Refsdal <ref type="bibr">(1964)</ref> showed that, in principle, the relative time delays between the appearances of a multiply imaged supernova (SN) could be used to constrain the Hubble constant H 0 . It took more than 50 yr, however, to put this theory to use. The first strongly lensed SN with multiple resolved images, dubbed "SN Refsdal" in honor of Sjur Refsdal, was discovered in 2014 <ref type="bibr">(Kelly et al. 2015</ref><ref type="bibr">(Kelly et al. , 2016))</ref>, and it has been used to measure H 0 with competitive precision <ref type="bibr">(Kelly et al. 2023)</ref>. SN Refsdal occurred in a galaxy at z = 1.491 <ref type="bibr">(Smith et al. 2009</ref>) and was strongly lensed by the MACS J1149.5+2223 galaxy cluster.</p><p>The method of measuring H 0 using an SN strongly lensed by a galaxy cluster involves systematic uncertainties that are different from those of measurements that instead employ quasars that are multiply imaged by galaxy-scale lenses (e.g., <ref type="bibr">Suyu et al. 2017)</ref>. In particular, models of galaxy-cluster lenses have substantially less sensitivity to the mass-sheet degeneracy given strongly lensed sources at multiple redshifts, and they exhibit more modest projection effects in comparison to galaxy-scale lenses. Being lensed by a galaxy cluster, SN Refsdal also had an approximately year-long time delay, which is much longer than those from galaxy-scale lenses. This enabled more precise time-delay measurements to constrain H 0 .</p><p>Additional multiply imaged SNe have been found. Type Ia SN (SN Ia) iPTF16geu at z = 0.409 was detected in ground-based imaging 2 yr after SN Refsdal <ref type="bibr">(Goobar et al. 2017)</ref>. Two other SNe, "SN Requiem" at z = 1.95 <ref type="bibr">(Rodney et al. 2021)</ref> and "SN Zwicky" at z = 0.354 <ref type="bibr">(Goobar et al. 2023)</ref>, were identified in Hubble Space Telescope (HST) data. Recently, a multiply imaged core-collapse SN (CCSN) at z &#8776; 3 was found in archival HST images taken in 2010 <ref type="bibr">(Chen et al. 2022</ref>). In addition, a candidate multiply imaged SN Ia (SN 2022riv) was detected in HST imaging (HST SNAP 16729, PI: P. Kelly) and followed up by HST and James Webb Space Telescope (JWST) observations (HST 16264, PI: J. Pierel; HST 17253, PI: P. Kelly; and JWST 2767, PI: P. Kelly), making it the first strongly lensed SN observed by JWST. However, these cases all have limitations for cosmological constraints. SN iPTF16geu and SN Zwicky are at relatively low redshifts, and the short time delays (&lt;1 day) between the multiple images do not allow an accurate measurement of H 0 <ref type="bibr">(Dhawan et al. 2020;</ref><ref type="bibr">Johansson et al. 2021)</ref>. SN Requiem and the CCSN at z &#8776; 3 lack light curves for the measurement of the relative delays, and only the trailing image of SN 2022riv has been detected.</p><p>On 2023 March 30, a candidate SN Ia dubbed "SN H0pe" <ref type="bibr">(Frye et al. 2023</ref>) appeared in the NIRCam images of the PLCK G165.7+67 (G165) galaxy-cluster field. SN H0pe was confirmed to be a transient when the NIRCam images were compared against HST WFC3 images taken 7 yr earlier. Follow-up spectroscopic observations using the Large Binocular Telescope (LBT) were also conducted, which yielded a precise redshift for the arc <ref type="bibr">(Polletta et al. 2023)</ref>. At z = 1.78 <ref type="bibr">(Polletta et al. 2023;</ref><ref type="bibr">Frye et al. 2024)</ref>, SN H0pe is the highestredshift strongly lensed SN Ia. The candidate was followed up 23 days after discovery with NIRSpec spectroscopy and a second epoch of NIRCam imaging (Figure <ref type="figure">1</ref>), which was followed by a third NIRCam imaging epoch 17 days later <ref type="bibr">(Frye et al. 2024)</ref>. SN H0pe offers the opportunity to make a second, independent measurement of H 0 using a different cluster lens. <ref type="bibr">Frye et al. (2024)</ref> described SN H0pe's discovery and a strong lensing, photometric, and spectroscopic analysis of the G165 cluster field. This paper analyses the spectroscopic data used to determine the SN's phase in each of its three images. <ref type="bibr">Pierel et al. (2024)</ref> have analyzed photometry of SN H0pe in order to obtain an independent measurement of the relative time delays among the images. <ref type="bibr">Pascale et al. (2024)</ref> have presented an inference of H 0 based on the time-delay measurements from these spectroscopic and photometric analyses. For this study, the spectroscopic phases were measured in a blind analysis independent of the light curve and the lens modeling. In other words, we intentionally excluded imaging data and lens models from the current analysis, and the results are based only on the NIRspec data and SN spectral templates.</p><p>The paper is organized as follows. Section 2 describes the JWST NIRSpec data set. Sections 3 and 4 presents a spectral analysis of SN H0pe and its host galaxy. Section 5 describes our methods used to measure the phases of the SN images. Section 6 outlines the simulation of our model and the error analysis. Section 7 presents the final constraints on the time delays and the magnifications of SN H0pe's images. Section 8 describes the updates after we unblinded our initial results to the H 0 -inference team <ref type="bibr">(Pascale et al. 2024)</ref>. Section 9 discusses the implications and presents our conclusions.  Science program <ref type="bibr">(Windhorst et al. 2023;</ref><ref type="bibr">GTO 1176, PI: R. Windhorst)</ref>. <ref type="bibr">Frye et al. (2024)</ref> described the data reduction and analysis and the three images of the SN and its host galaxy. The SN and its host galaxy are near the central region of the galaxycluster field, as shown in Figure <ref type="figure">1</ref>. <ref type="bibr">SN Images A, B, and C have R.A. and decl. coordinates (J2000) 11:27:15.31, +42:28:41.0;</ref><ref type="bibr">11:27:15.60, +42:28:33.8;</ref><ref type="bibr">and 11:27:15.94, +42:28:28.9, respectively (Frye et al. 2024, their Table 2)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Data</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>SN</head><p>We obtained follow-up JWST NIRSpec Multi-Object Spectroscopy (MOS) and NIRCam imaging on 2023 April 22 UT ("Epoch 2," DDT 4446, PI: B. Frye). The NIRSpec observations were designed using the MSA to acquire spectra of the three images of SN H0pe, two of the three images of the SN host galaxy, and 42 other gravitationally lensed arcs. The SN and host-galaxy spectra used three MSA slitlets (open shutters) end to end as shown in Figure <ref type="figure">1</ref>. The color image was generated from the Epoch 2 NIRCam images. Each slitlet has an open area of 0 20 in the dispersion direction and 0 46 in the spatial direction. There is a 0 07 gap between slitlets, giving a total height for the three slitlets of 1 52. The NIRSpec MOS data comprised the PRISM (0.6-5.3 &#956;m wavelength coverage at spectral resolution R &#8764; 100) and the G140M and G235M gratings (0.70-3.07 &#956;m at R &#8764; 1000).</p><p>We began processing the spectroscopic data by downloading the Stage 2 data from the Mikulski Archive for Space Telescopes (MAST). Additional processing used the JWST pipeline<ref type="foot">foot_1</ref>  <ref type="bibr">(Bushouse et al. 2023)</ref> with context file jwst_1087. pmap to produce two-dimensional (2D) spectral data. The pipeline applied a slit-loss throughput correction to the SN images based on their planned positions within the MSA shutters. The spectra of the SN and its host-galaxy images were extracted using the optimal extraction algorithm from <ref type="bibr">Horne (1986)</ref> implemented as scripts available as part of the MOS Optimal Spectral Extraction notebook. <ref type="foot">18</ref> We used webbpsf<ref type="foot">foot_3</ref> to generate the effective point-spread functions for the NIRSpec observations.</p><p>To separate the spectra of the SN and its host galaxy, we fit two kernels simultaneously to the flux in the 2D spectrum as a function of wavelength. We used a Gaussian kernel to model the flux distributions of the point source (the SN) and selected from Gaussian, Moffat <ref type="bibr">(Moffat 1969), and</ref><ref type="bibr">Voigt (e.g., Whiting 1968</ref>) distribution functions to model the extended source (the host galaxy) along the spatial direction of each 2D spectrum. The kernels were chosen based on the best-fit profile functions that minimized the least-squares statistic. During the extraction process, we disregarded the uncertainties related to the kernel functions. Figure <ref type="figure">2</ref> shows the 2D spectrum model and the extracted spectrum for the PRISM observations of Image B. Appendix A gives complete details of the extraction method and the full complement of 2D spectra and source models for the SN. <ref type="bibr">Frye et al. (2024)</ref> presented the full spectroscopic data set.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Spectrum of the Host Galaxy</head><p>As shown in Figure <ref type="figure">1</ref>, the NIRSpec slitlets placed on Images A and C intersect the host galaxy's nucleus. Because the SN was faintest in Image A, the A slitlet yields the highest signal-to-noise ratio and least-contaminated spectrum of the host galaxy. Figure <ref type="figure">3</ref> shows the spectrum of the host, and Table <ref type="table">1</ref> lists the identifications and fluxes of the detected lines. For our analysis, we used GLEAM <ref type="bibr">(Stroe &amp; Savu 2021)</ref>, a software package that uses the LMFIT Python package <ref type="bibr">(Newville et al. 2021</ref>) to perform the line fitting and to calculate errors on the fit parameters. The line wavelengths (excluding unresolved doublets such as [O II]) give spectroscopic redshift z = 1.7825 &#177; 0.0008, which agrees with the spectroscopic measurement using the LBT Utility Camera in the Infrared <ref type="bibr">(Polletta et al. 2023</ref>) and with an independent redshift measurement <ref type="bibr">(Frye et al. 2024</ref>) from the same NIRSpec data. The line identifications also agree with <ref type="bibr">Frye et al. (2024)</ref>, who analyzed the spectroscopy of host-galaxy Images A and C (labeling them Arc 2a and 2c, respectively). They estimated the H&#945; line flux with corrections for underlying stellar absorption, dust extinction, and slit loss of the whole arc. Their Table <ref type="table">4</ref> gives host-galaxy specific star formation rates (derived from the H&#945; flux) and stellar masses derived from Images A and C.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Spectra of SN H0pe</head><p>Figure <ref type="figure">4</ref> shows the extracted spectra of Images B and C. To classify the SN, the portions within rest wavelengths 3600 to 10000 &#197; were crossmatched with the SN Ia template libraries available in the Next Generation SuperFit (NGSF; <ref type="bibr">Howell et al. 2005;</ref><ref type="bibr">Goldwasser et al. 2022</ref>) and the Supernova Identification (SNID; Blondin &amp; Tonry 2007) software packages. These template libraries include all major SN types, e.g., Type I and Type II, as well as SN subtypes as defined in <ref type="bibr">Blondin &amp; Tonry (2007)</ref>. For the NGSF analysis, the SN templates were fitted to the spectra of SN H0pe, accounting for the presence of dust extinction, while for the SNID analysis the observed spectra were cross-correlated with template SN spectra. The SNID approach, in contrast to the NGSF analysis, removes the continuum, and the correlation reflects the features of the spectrum as opposed to the overall shape of the spectral energy distribution.</p><p>Tables <ref type="table">2</ref> and <ref type="table">3</ref> list the five best-fit SN templates from NGSF and SNID, respectively. As shown in Figure <ref type="figure">5</ref>, the SN spectra are consistent with those of an SN Ia. The spectra of Images B and C most closely match those of SN 2013dy and SN 1994D at phases of 6 days and 28 days, respectively, as indicated by the NGSF analysis. For the NGSF analysis, the favored subtype is "Ia-norm," a normal SN Ia <ref type="bibr">(Blondin &amp; Tonry 2007)</ref>. Image A had the lowest signal-to-noise ratio among the three SN images, and consequently the template matching could not yield a favored SN type or subtype. If we force the match within a set of previously observed SNe Ia, the spectrum of Image A most closely matches SN 2015N at 49 days after its peak brightness. Figure <ref type="figure">5</ref> shows these best-match spectra superimposed on the spectra of SN H0pe for comparison. With SNID&#700;s default template-matching thresholds, 176 templatesall SNe Ia-match the Image B spectrum, where 163 matching templates that are in the Ia-norm subtype. The Image C spectrum has 165 matching templates, 164 of them SNe Ia, and 107 with Ia-norm templates. No phase or even a favored SN type can be identified from the low signal-to-noise spectrum of Image A from the SNID analysis.</p><p>When the spectra were obtained, Image B was the brightest of the three SN images. As shown in Figure <ref type="figure">4</ref>, the spectrum of Image B exhibits the Si II absorption feature near 6120 &#197; in the rest frame of the host galaxy. This is an identifying characteristic of SN Ia spectra <ref type="bibr">(Filippenko 1997</ref>): a deep absorption trough around 6150 &#197; produced by blueshifted Si II &#955;6355 emission is prominent in the spectra of SNe Ia through roughly several weeks after maximum but is absent from the spectra of other types of SNe.</p><p>Typical velocities for SNe Ia near maximum light are v Si II &#8776; 10-12 &#215; 10 3 km s -1 and v Ca II &#8776; 13-15 &#215; 10 3 km s -1 (Filippenko 1997). Figure <ref type="figure">4</ref> shows blueshifted Si II &#955;6355 and Ca II H and K (&#955;3935 and &#955;3970, respectively) absorption lines at 6117 &#177; 2 &#197; (&#8764;17017 &#197; in the observer frame) and at 3790 &#177; 2 &#197; (&#8764;10544 &#197; in the observer frame), respectively. These wavelengths for SN H0pe give v Si II = -11.23 &#177; 0.11 &#215; 10 3 km s -1 and v Ca II = -12.54 &#177; 0.19 &#215; 10 3 km s -1 relative to the host-galaxy redshift of z = 1.7825. From Image B, we measured an EW of the Si II &#955;6355 absorption lines of 56 &#177; 8 &#197; in the rest frame of the SN. Given the SN Image B phase of -+ 6.5 1.8 2.4 days (Section 5), the Si II velocity and its EW are consistent with those of a normal-velocity SN Ia or an SN 1991T-like SN Ia (e.g., <ref type="bibr">Wang et al. 2013;</ref><ref type="bibr">Zhao et al. 2021)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Methods of Measuring Phases of the Supernova Images</head><p>We employ three methods to constrain the phases (defined as rest-frame days after peak B-band brightness) of the SN images. The first method is fitting the Hsiao07 <ref type="bibr">(Hsiao et al. 2007</ref>) spectral templates to the NIRSpec data using Markov Chain Monte Carlo (MCMC) sampling. <ref type="bibr">Hsiao et al. (2007)</ref>&#700;s templates were constructed from a library of &#8764;600 spectra of &#8764;100 SNe Ia. The second method is similar except that the fitting instead uses the SALT3-NIR <ref type="bibr">(Pierel et al. 2022)</ref> spectral SN Ia models. The original SALT3 model <ref type="bibr">(Kenworthy et al. 2021)</ref> was developed from &#8764;1200 spectra of 380 distinct SNe Ia. To create the SALT3-NIR model, an additional 166 SNe Ia with near-infrared (NIR) data were incorporated, extending the model's reach to 2 &#956;m. The third method is to apply the SNID software package<ref type="foot">foot_4</ref>  <ref type="bibr">(Blondin &amp; Tonry 2007)</ref>, as described in Section 4. We also used NGSF to classify the SN spectra. However, since the default template library of NGSF is based on a smaller template set of SN spectra<ref type="foot">foot_5</ref> selected from the WISeREP database <ref type="bibr">(Yaron &amp; Gal-Yam 2012;</ref><ref type="bibr">Goldwasser et al. 2022)</ref>, the sparse temporal coverage of the SN spectral library limits our ability to infer SN phases. The details of the three analyses are described below, and Appendix B presents the constraints on the phases of the SN images from these analyses, before accounting for systematic uncertainties described in Section 6.  <ref type="figure">1</ref>). Observed wavelengths are marked at the bottom, and the total height of each panel projects to 1 52 on the sky. The top panel shows the 2D spectrum from the JWST pipeline. The middle two panels show the best-fit models of the host galaxy and the SN, respectively. The bottom panel shows the residuals after subtracting the galaxy and the SN models from the original spectrum. Red circles label the cosmic-ray-related artifacts (hot pixels) in the 2D spectrum.</p><p>Figure <ref type="figure">3</ref>. NIRSpec G140M and G235M spectra of the A image of the host-galaxy nucleus. The data are for the single 0 46 slitlet containing the nucleus (Figure <ref type="figure">1</ref>). Vertical lines mark the positions of the detected emission (green) and absorption (red) lines, as listed in Table <ref type="table">1</ref>. Wavelengths are marked in the observed frame (bottom) and in the z = 1.7825 rest frame (top). The gap in the spectrum near observed 3 &#956;m is from the physical gap between the two NIRSpec detector chips. The spectra and line identifications for Images A and C are also shown by <ref type="bibr">Frye et al. (2024)</ref>.</p><p>All of constraints on the phases were obtained while the authors were blind to those obtained from fitting the images' light curves <ref type="bibr">(Pierel et al. 2024)</ref>. Therefore the analysis presented herein is entirely independent of the light-curve phases. Only after completion of both analyses were the two sets of results unblinded by a third party and an inference for H 0 made <ref type="bibr">(Pascale et al. 2024)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1.">Hsiao07 Type Ia Supernova Spectral Template</head><p>We fit the spectra of the three SN images simultaneously with a shared set of parameters. The fit includes a total of 11 free parameters: the overall normalization &#945;; the dustextinction parameters E(B -V ) and R V ; the pair of flux ratios between Images A and B ( f A /f B ) and between Images A and C ( f A /f C ); the image phases t A , t B , and t C at the time of observation; and a free background value for each of the three spectra. We use the emcee software package <ref type="bibr">(Foreman-Mackey et al. 2013</ref>) to sample the model parameters and the implementation of the Hsiao07 templates in the SNCosmo     <ref type="bibr">Blondin &amp; Tonry (2007)</ref> to indicate the correlation, where r is the correlation height-to-noise ratio <ref type="bibr">(Tonry &amp; Davis 1979)</ref> and lap is the overlap in the logarithmic wavelength space between the SN spectrum and each of the template spectra used in the correlation. Rows show the five highest-correlated SN templates from the SNID analysis.</p><p>package <ref type="bibr">(Barbary et al. 2023</ref>). As a test, we also fit the Hsiao07 templates to each SN spectrum separately. Each of these fits had four model parameters: &#945;, E(B -V ), R V , and t i , where t i is the phase of that image. These results are also listed in Table <ref type="table">B1</ref> and are consistent with the shared-parameter results. Table <ref type="table">B1</ref> gives the derived phases, and the black curves in Figure <ref type="figure">5</ref> show the best fits. The posterior distributions of the fitted parameters are shown in Figure <ref type="figure">6</ref>, and Figure <ref type="figure">7</ref> illustrates the fit uncertainties.</p><p>In the SN spectrum of Image B, as shown in Figures <ref type="figure">5</ref> and <ref type="figure">7</ref>, the most notable deviation between the observed data and the best-fit model occurs in the rest-frame wavelength range of 5500-6000 &#197;. This discrepancy could be attributed to the diversity in the continuum level of SNe Ia near the Si II &#955;5972 feature or potentially to incomplete modeling of magnesium and sodium features during host-galaxy subtraction. The latter might suggest a color gradient within the host galaxy of SN H0pe. Given that our current extraction technique does not account for the color gradient of extended sources, we anticipate that future spectroscopic observations of the host galaxy, conducted in the absence of the SN, will provide insights into this observed discrepancy.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2.">SALT3-NIR Model</head><p>For the SALT3-NIR <ref type="bibr">(Pierel et al. 2022</ref>) analysis, the input parameters for this model are the overall normalization x 0 , a light-curve shape parameter ("stretch") x 1 , a color parameter c, and the phase and background parameters as for the analysis using the Hsiao07 template. Because the SALT3-NIR model is limited to phases 50 days, for larger phases, we assigned likelihoods equal to the 50 day value. As for the Hsiao07 templates, we tested independent fits to each spectrum in addition to the primary simultaneous fit to all three spectra. Figure <ref type="figure">5</ref> shows the best fits of the SALT3-NIR model to the spectra, and Table B1 lists the best-fit image phases. Appendix C presents the full results of the SALT3-NIR model fitting including parameter distributions and uncertainties.</p><p>The SALT3-NIR results are statistically consistent with those from the Hsiao07-template analysis. However, the phase of Image A from the SALT3-NIR fitting approaches the 50 day upper validity limit of the model. For the joint fitting, this proximity to the limit of the model may affect the SALT3-NIR model's constraints on the other image phases, potentially leading to biased estimates of the time delays and magnifications. Therefore, we do not rely on the joint SALT3-NIR fitting for our primary constraints on the phases or relative time delays of the images.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3.">SNID</head><p>As a third measurement, we derive constraints independent of the SN color, i.e., using only the spectral features. For this, we employed SNID <ref type="bibr">(Blondin &amp; Tonry 2007)</ref>, which removes the continuum from the SN spectrum before cross-correlating the SN spectrum with template spectra. We used both the builtin SNID template library ("template 2.0") and a library that we constructed from the SALT3-NIR SN Ia template, which includes 1750 spectra across 70 SN phases, each spanning 25 different combinations of the stretch (x 1 ) and color (c) parameters. Figure <ref type="figure">8</ref> plots the continuum-removed spectra of Images B and C superimposed on the 100 best-fitting SN spectra.</p><p>For the Image B spectrum, the matching templates all have early phases (Table <ref type="table">B1</ref>) but are consistent with the Hsiao07 and SALT3-NIR results within the uncertainties (Table <ref type="table">B1</ref>). Using the simulated templates generated from the SALT3-NIR model gives phases and uncertainties similar to those from the templates 2.0 package but with a preference for a slightly later phase for Image B (Table <ref type="table">B1</ref>).</p><p>The SNID analysis provides decisive evidence that SN H0pe is Type Ia. All SN phases from the SNID analysis are consistent with the values from the SALT3-NIR and Hsiao07 analyses, but the uncertainties are larger than those from Hsiao07 or SALT3-NIR.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">Uncertainties of the Measurements of Time Delays and Magnifications</head><p>Image A might be at a phase outside the SALT3-NIR model's validity range, and the image is too faint for SNID to reliably infer its phase. This leaves the Hsiao07 templates as the principal basis for our analysis. To assess the templates' ability to determine SN phases, our analysis began with joint fitting of a set of well-observed, nearby SNe Ia with the Hsiao07 templates, as described in Section 6.1. Section 6.2 presents the subsequent modeling of the effects of millilensing and microlensing to assess those processes' impacts on the timedelay and magnification measurements. Final constraints on the SN phases, magnifications, and relative time delays are presented in Section 7. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1.">Simulation of the Hsiao07 Modeling</head><p>To assess the ability of the Hsiao07 templates to recover the phase of the SN images, we applied the same analysis to the spectra of a set of well-observed, nearby SNe Ia listed in SNID&#700;s built-in library. The SNe were chosen to have at least one spectrum in each of the following ranges of phase relative to maximum: (-10, 10), (10, 30), and (30, 60) days. These ranges correspond to the values inferred for SN H0pe Images B, C, and A, respectively, using the Hsiao07 templates, which include spectra through 80 days. This gave 228 sets of spectra for the simulation with each set consisting of three SN spectra in the three phase bins. To each spectrum, we added the residuals of the NIRSpec spectra from the smoothed spectra (as shown by the dashed-dotted lines in Figure <ref type="figure">5</ref>), drawing randomly from the residual distribution across all wavelengths. This step assumes the residuals are random rather than correlated with wavelength. Additionally, we rescaled the spectra to match the signal-to-noise ratio of the NIRSpec observations. Figure <ref type="figure">9</ref> compares the actual and inferred phases. The residuals and the confidence intervals, shown by shaded areas, are plotted in the right panels of Figure <ref type="figure">9</ref>. As shown in Figure <ref type="figure">9</ref>, the inferred phase is generally in agreement with the true value, and the agreement is especially good at phases &lt;30 days. Beyond 30 days, the uncertainty associated with the inferred phase is significantly greater, primarily because of Image A's low signal-to-noise ratio and the slow evolution of SN spectral features at these phases.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2.">Millilensing and Microlensing</head><p>Lens-model predictions of the image magnification ratios and relative time delays include only structure on the scale of galaxy members and the cluster itself. Therefore, the effects of millilensing by subhalos and microlensing by stars and compact objects have to be included in the uncertainties on the inferred phases and time delays. Millilenses affect only the magnifications of the SN images because the SN photosphere (&#8764;10 14 -10 15 cm in radius) is much smaller than the scale of a Figure <ref type="figure">6</ref>. Parameter distributions from the Hsiao07-template fits. &#945;, R V , and E(B -V ) are model parameters (Section 5.1), f A /f B and f A /f C are template-flux ratios between Images A and B and between Images A and C, respectively, and t A , t B , and t C are rest-frame phases of Images A, B, and C, respectively. The solid vertical line on each histogram marks the median of the parameter, while the dashed vertical lines denote the 68% confidence interval of each distribution. millilens caustic. Microlenses, such as stars and stellar remnants, on the other hand, have Einstein radii comparable to the size of the SN photosphere. As the expanding SN photosphere crosses a microlens caustic, different portions of the photosphere can be magnified differently, leading to wavelength-dependent changes in the SN spectrum <ref type="bibr">(Foxley-Marrable et al. 2018;</ref><ref type="bibr">Goldstein et al. 2018;</ref><ref type="bibr">Huber et al. 2019</ref>). Consequently, microlensing can affect not only the magnification of the SN images but also the time-delay estimates.</p><p>To compute the uncertainties due to microlensing and millilensing, we utilized 4000 simulations of SN Ia spectra. <ref type="foot">22</ref>In brief, for each of the four theoretical models of microlensing caustics from <ref type="bibr">Suyu et al. (2020)</ref> and <ref type="bibr">Huber et al. (2021)</ref>, a set of SNe Ia were placed at 1000 random positions in the source plane. The simulated spectrum at each position compared to the input spectrum without microlensing was used to determine the wavelength-dependent magnification due to microlensing. The millilens magnification distributions were calculated for a range of dark matter subhalo mass functions and substructure fractions anticipated from theory as well as observations <ref type="bibr">(Gilman et al. 2020)</ref>. A magnification drawn from one of the millilensing distributions was applied to each simulated SN sight line. As in Section 6.1, we added noise to the simulated spectra to match the signal-to-noise ratios of the three SN H0pe spectra. Then we simultaneously fit the set of three simulated spectra corresponding to the three SN H0pe images. The differences between the inferred and input SN phases and magnifications yielded an estimate of the systematic uncertainties arising from millilensing and microlensing. Table <ref type="table">4</ref> gives the results.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.">Constraints on Time Delays and Magnifications</head><p>To obtain accurate inferences about the phases of the spectra of the three images of the SN, we combine the parameter values in the MCMC chain together with the results of our simulations. In our simulations, we measure the residuals of the recovered phases from the input phases of SN. Here we use the residuals we measure to correct the parameter values in the MCMC chain for bias and account for systematic uncertainty. For our joint fitting using the Hsiao07 templates, for each ith step in the MCMC chain from our joint fitting, we obtained a set of eight model parameters, denoted as</p><p>C . The alphas are related to the ones described in Section 5.1 by a a</p><p>A C . We proceeded by randomly selecting an SN among the SNe Ia with an inferred phase within a &#177;10 day window and calculating the median offsets of this SN's inferred phase from its actual value. Next, 9. Left: inferred phases from Hsiao07 fitting vs. actual phases of a set of nearby SNe Ia. Error bars correspond to the 68% confidence intervals of the inferred phases. Horizontal dashed lines and shaded regions mark the inferred phases and their 68% confidence intervals for the three images of SN H0pe. The diagonal dashed line shows equality. Right: deviation of the best-fit inferred phase from the actual phase. Shaded regions mark the 68% (darker) and 95% (lighter) confidence intervals of the residuals measured within a 10 day rolling window. Data points marked by squares, circles, and triangles correspond to spectra with signal-to-noise ratios matching those of Images A, B, and C, respectively (as described in Section 6.1). Simulations including input SNe beyond 60 days could, in principle, increase the uncertainty for Image A, and constraints will benefit from future simultaneous measurement from spectra and imaging. we chose a set of three SN spectra from our simulated millilensing and microlensing samples and determined the median offsets between the input and inferred parameter values. These offsets, derived from the simulations, were then applied to the parameters in the MCMC chain. This process resulted in a modified set of eight parameters Y i , where</p><p>B and</p><p>C . Here the j and k indices are for the set of randomly selected SN spectra from the low-redshift SN Ia simulation and from the millilensing and microlensing simulation, respectively. For the simulation of the low-redshift SNe Ia, we assume that the extinction parameters R V andE(B -V ) were fit accurately for each SN.</p><p>To constrain the absolute magnifications of the three images of the SN, we used the MCMC sample from our joint fitting.</p><p>For each set of modified model parameters Y i in the MCMC chain at the ith step, we generated a set of three synthetic SN spectra using the SNCosmo package <ref type="bibr">(Barbary et al. 2023)</ref>.</p><p>The expected rest-frame B-band magnitudes of SNe Ia were obtained from the complete sample of <ref type="bibr">Scolnic et al. (2018)</ref>. To estimate mB at z = 1.782 independent of the cosmological distance and H 0 , we used a polynomial fit to interpolate mB as a function of the logarithmic redshift, which yields &#710;= m B &#61617; 26.32 0.03 at z = 1.782. As a cross-check performed after unblinding, a concordance cosmology described by the Lambda cold dark matter model (&#923;CDM) with &#937; m = 0.3, &#937; &#923; = 0.7, and a Hubble constant H 0 = 70 km s -1 Mpc -1 yields &#710;= m 26.30</p><p>B at the redshift. The magnitude in a specific band for a given amplitude of the model is dependent upon host-galaxy extinction. In our analysis using the Hsiao07 templates, we assumed that SN H0pe is a standard candle in the rest-frame Y band, where previous studies (e.g., <ref type="bibr">Avelino et al. 2019)</ref> show that the SN brightness is not substantially correlated with the spectral stretch and color and is homogeneous without these corrections. We then determined the expected Y-band magnitude for an unmagnified SN Ia. For an SN Ia spectrum produced by the Hsiao07 templates with the best-fit dustextinction parameters, we varied the normalization factor of the spectrum to match its Y-band magnitude to that of an SN Ia without extinction and with a rest-frame B-band magnitude ( mB ) equal to the expected value. This yielded an unlensed Yband magnitude of 27.15 &#177; 0.03. Subsequently, we synthesized a Y-band measurement of the SN for each set of parameters Y i in the MCMC chain and calculated the predicted Y-band magnitude at the SN phase t = 0 for each image based on the Hsiao07 templates. We then determined the magnification by comparing the resultant Y-band magnitude to the expected Note. The rest-frame Y-band photometry was synthesized using the Dark Energy Camera's Y filter <ref type="bibr">(Abbott et al. 2018)</ref> set at airmass 1.3 based on the Hsiao07-template fits. Phases t i are rest-frame days after the peak brightness in the rest-frame B band.</p><p>Figure <ref type="figure">10</ref>. Posterior probability densities of the relative time delays and the macrolens magnifications between SN H0pe's images. Histograms show the values derived from the Hsiao07 templates. The distributions integrate the uncertainty from the MCMC fitting with systematic uncertainties, estimated from the model fitting of nearby SN Ia spectra and from the simulated SN Ia spectra. The uncertainties take into account the impacts of microlensing and millilensing effects.</p><p>value. Table <ref type="table">5</ref> list the resultant Y-band magnitudes derived from the MCMC chain and the predicted magnitudes at t = 0. Finally, we reconstructed the posterior distribution of the time delays and the macrolens magnifications (i.e., the magnifications from the cluster lens) as illustrated in Figure <ref type="figure">10</ref>. Table <ref type="table">6</ref> lists the correlation matrices of the relative time delays, magnification ratios, and magnifications from our analysis using the Hsiao07 template. Our final constraints on the SN phases, magnifications, and relative time delays are listed in Tables <ref type="table">7</ref> and <ref type="table">8</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="8.">Postunblinding Tests</head><p>As described in Section 6.1, we chose three bins in SN phase to select the spectra of nearby SNe Ia. These bins were determined a priori based on the result of the joint MCMC fitting, before we conducted the simulation. Given the low signal-to-noise ratio of Image A's spectrum, there is a lack of sensitivity to phases for SN Ia spectra with inferred phases beyond &#8764;40 days. To assess the impact of the upper limit of the third phase bin (assigned for Image A) on the inferred time delays and magnifications, we expanded the range of third phase bin from (30, 60) days to (30, 80) days. We then performed the same simulation as described in Section 6.1 with the extended phase bin, while keeping the results of the other simulations unchanged to determine the final constraints. Tables <ref type="table">7</ref> and <ref type="table">8</ref> list the resulting constraints on the phases, the magnifications, and the relative time delays of SN H0pe's images. Figure <ref type="figure">11</ref> shows the distributions of these parameters, overplotted on the preunblinding distributions. This test was Note. Each ith row and jth column is the correlation between the ith and jth parameters. The upper section of the table is for the Hsiao07 models (Section 5.1), and the lower section is for the SALT3-NIR models (Section 5.2). Parameters are the relative time delays &#916;t AB , &#916;t BC , and &#916;t AC , the magnification ratios &#956; A /&#956; B , &#956; B /&#956; C , and &#956; A /&#956; C , and the magnifications &#956; A , &#956; B , and &#956; C . </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Y</head><p>Note. Phases t i are rest-frame days after the peak brightness. Magnifications &#956; i are the macromagnifications from the cluster and are based on SN Ia absolute magnitudes as described in Section 7 for the Hsiao07 templates and Appendix C.3 for the SALT3-NIR fits. For the Hsiao07-template fits, the second row of t i and &#956; i are based on a postunblinding test where we expand the third phase bin for selecting the nearby SN Ia spectra from (30, 60) days to (30, 80) days (as described in Section 8). For the SALT3-NIR fits, the first row of &#956; i is based on B-band absolute magnitudes, and the second row is based on Y band. conducted after the unblinding of the result from the H 0 -inference team <ref type="bibr">(Pascale et al. 2024)</ref>.</p><p>As shown in Figure <ref type="figure">11</ref>, the distributions of relative time delays and magnifications remain largely unaffected by the adjustment of the upper limit, for which the deviations of the corresponding distributions are much smaller compared to the uncertainties of these measurements. Given the slightly longer time delays compared to the original result, the inferred H 0 will be &#8764;3% smaller than that based on the preunblinding constraints. However, the difference is only &#8764;0.1&#963;, which is not statistically substantial. For the H 0 inference by <ref type="bibr">Pascale et al. (2024)</ref> based on the time-delay measurements from both the spectroscopic and photometric analyses, the impact of the upper limit of the phase bin for our simulation is minimal (&lt;1%).</p><p>We note that the analysis we performed before unblinding does not include an uncertainty associated with the phases of well-observed, nearby SNe Ia, as the uncertainty of determining the phase at peak brightness based on a wellsampled light curve is less than 1 day <ref type="bibr">(Riess et al. 1997)</ref>, which is much smaller than that from fitting the Hsiao07 templates to individual spectra of SN H0pe (approximately 5 days, as demonstrated in Section 6.1). To assess the impact of the timedelay measurement arising from the phases of the nearby SNe Ia, we include a normally distributed offset with a standard deviation of 1 day to each nearby SN used in our simulation and repeated the analysis that we conducted prior to the unblinding. Compared to the results from our blind analysis, the addition of this uncertainty does not affect the inferred phases and magnifications of the SN H0pe images, and the size of the 68% confidence intervals increases by only &#61576;7%.</p><p>In addition, there are two outliers in the left panel of Figure <ref type="figure">9</ref>, which correspond to SN 2001N at a phase of 11.5 days and SN 2002do at 22.6 days. Repeating the analysis excluding these two SNe changes the best-fit SN phases by only &#61576;0.01&#963;, and the impact on the 68% confidence intervals is negligible.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="9.">Conclusions</head><p>All of our analyses of the spectra of SN H0pe classify SN H0pe as an SN Ia and favor a "normal" <ref type="bibr">(Blondin &amp; Tonry 2007)</ref> subtype. The velocity of the Si II &#955;6355 absorption line is consistent with a normal-velocity SN Ia. The SN phases and relative time delays are constrained with 1&#963; uncertainties of 2-4 days for Images B and C and 2 weeks for the latest-arriving Image A.</p><p>Our analyses using the Hsiao07 templates, the SALT3-NIR model, and the SNID software package yield consistent results for the phases of the SN images. The relative time delays between the three SN H0pe images and their magnifications, as derived from our analyses based on the Hsiao07 templates and the SALT3-NIR model, are statistically in agreement. However, the inferred phase of Image A is near or above the upper boundary of the SALT3-NIR model's validity range. During the joint fitting, this affected the constraints of the SALT3-NIR model, potentially biasing the estimates of the time delays and magnifications. The SNID model approach, which was unable to utilize the information from the faintest Image A, yielded larger uncertainties than the Hsiao07 analysis but only uses the spectral features, since the SN continuum is subtracted.</p><p>Figure <ref type="figure">11</ref>. Posterior probability densities of the relative time delays and the macrolens' magnifications between SN H0pe's images. For the preunblinding result, we simulated the joint Hsiao07-template fitting by selecting a set of three spectra from three SN phase bins: (-10, 10), (10, 30), and (30, 60) days (as described in Section 6.1). For the postunblinding test, we expand the third phase bin to (30, 80) days.</p><p>In addition to time delays and magnifications, the fits using the Hsiao07 templates constrain the host extinction to E(B -V ) = 0.27 &#177; 0.02 and R V = 2.73 &#177; 0.17. The E(B -V ) is consistent with the values listed in Table <ref type="table">4</ref> of <ref type="bibr">Frye et al. (2024)</ref>. This indicates that the SN exploded in a relatively dusty environment with an extinction A V &#61577; 0.7. SN H0pe will be valuable not only for measuring the Hubble-Lema&#238;tre constant but also, because this is the secondhighest currently known redshift SN Ia, for testing whether SNe at large lookback times had the same properties as SNe today. Based on spectra at multiple rest-frame epochs, SN H0pe matches the most common type of SNe Ia in the nearby Universe. Our analysis of the SN images' phases, based solely on the NIRSpec spectra, suggests a relative uncertainty of &#61577;20% in the time delay between the two brightest images (B and C). This would limit the precision of constraints on the Hubble constant from the measured spectroscopic time delay to &#61577;20%, given more precise lens model predictions. Beyond the blind analysis detailed in this paper and the associated photometric-analysis paper <ref type="bibr">(Pierel et al. 2024</ref>), a comprehensive joint analysis-utilizing both the spectroscopic time delay and the photometric measurements (Pascale et al. 2024)-will yield a combined measurement of the Hubble constant with improved precision. Finally, we expect future data challenges using synthetic spectra, light curves, and galaxy-cluster mass models of multiply imaged SNe, similar to those conducted for galaxy-lensed active galactic nuclei (e.g., <ref type="bibr">Dobler et al. 2015;</ref><ref type="bibr">Ding et al. 2021)</ref>, will further improve our understanding of the systematic uncertainties in measuring the Hubble constant using cluster-lensed SNe.</p><p>flux array along the dispersion direction using a median filter with a width of 10 pixels to give a 2D background model. Figure <ref type="figure">A1</ref> shows an example of the background subtraction.</p><p>Subsequently, we extracted spectra of the SN and its host galaxy by fitting extraction kernels simultaneously to the flux in the 2D spectrum as a function of wavelength, as described in       that SN H0pe is a standard candle in the rest-frame Y band, as described in Section 7. The Y-band magnitude of a standard SN Ia is characterized by x 1 = 0 and c = 0 and a rest-frame B-band magnitude equal to the expected mB . This gave results consistent with the B-band magnitudes, after applying corrections for spectral stretch and color. The posterior distributions of the SALT3-NIR magnifications are shown in Figure <ref type="figure">C4</ref>, and Table <ref type="table">6</ref> lists the correlation matrices.   </p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>The Astrophysical Journal, 970:102 (18pp), 2024 August 1 Chen et al.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="17" xml:id="foot_1"><p>https://github.com/spacetelescope/jwst</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="18" xml:id="foot_2"><p>https://spacetelescope.github.io/jdat_notebooks/notebooks/optimal_ extraction/Spectral_Extraction-static.html</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="19" xml:id="foot_3"><p>https://webbpsf.readthedocs.io/en/latest/index.html</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="20" xml:id="foot_4"><p>The default SNID template library consists of 3754 spectra of 349 templates.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="21" xml:id="foot_5"><p>The default NGSF template library includes 1004 spectra of 186 SNe.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="22" xml:id="foot_6"><p>The simulations are described in detail in the companion paper presenting time-delay inferences from the photometry of the SN:<ref type="bibr">Pierel et al. (2024)</ref>.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_7"><p>The Astrophysical Journal, 970:102 (18pp), 2024 August Chen et al.</p></note>
		</body>
		</text>
</TEI>
