<?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'>The Early Phases of Supernova 2020pni: Shock Ionization of the Nitrogen-enriched Circumstellar Material</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>02/01/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10351659</idno>
					<idno type="doi">10.3847/1538-4357/ac3820</idno>
					<title level='j'>The Astrophysical Journal</title>
<idno>0004-637X</idno>
<biblScope unit="volume">926</biblScope>
<biblScope unit="issue">1</biblScope>					

					<author>G. Terreran</author><author>W. V. Jacobson-Galán</author><author>J. H. Groh</author><author>R. Margutti</author><author>D. L. Coppejans</author><author>G. Dimitriadis</author><author>C. D. Kilpatrick</author><author>D. J. Matthews</author><author>M. R. Siebert</author><author>C. R. Angus</author><author>T. G. Brink</author><author>A. V. Filippenko</author><author>R. J. Foley</author><author>D. O. Jones</author><author>S. Tinyanont</author><author>C. Gall</author><author>H. Pfister</author><author>Y. Zenati</author><author>Z. Ansari</author><author>K. Auchettl</author><author>K. El-Badry</author><author>E. A. Magnier</author><author>W. Zheng</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Abstract                          We present multiwavelength observations of the Type II SN 2020pni. Classified at ∼1.3 days after explosion, the object showed narrow (FWHM intensity <250 km s              −1              ) recombination lines of ionized helium, nitrogen, and carbon, as typically seen in flash-spectroscopy events. Using the non-LTE radiative transfer code CMFGEN to model our first high-resolution spectrum, we infer a progenitor mass-loss rate of                                                                                                                                            M                                                              ̇                                                        =                  (                  3.5                  –                  5.3                  )                  ×                                                            10                                                              −                      3                                                                                                  M              ⊙              yr              −1              (assuming a wind velocity of              v                              w                            = 200 km s              −1              ), estimated at a radius of              R              in              = 2.5 × 10              14              cm. In addition, we find that the progenitor of SN 2020pni was enriched in helium and nitrogen (relative abundances in mass fractions of 0.30–0.40 and 8.2 × 10              −3              , respectively). Radio upper limits are also consistent with dense circumstellar material (CSM) and a mass-loss rate of                                                                                                                                            M                                                              ̇                                                        >                  5                  ×                                                            10                                                              −                      4                                                                                                                    M                                                              ☉                                                                                                                    yr                                                              −                      1                                                                                                  . During the initial 4 days after first light, we also observe an increase in velocity of the hydrogen lines (from ∼250 to ∼1000 km s              −1              ), suggesting complex CSM. The presence of dense and confined CSM, as well as its inhomogeneous structure, indicates a phase of enhanced mass loss of the progenitor of SN 2020pni during the last year before explosion. Finally, we compare SN 2020pni to a sample of other shock-photoionization events. We find no evidence of correlations among the physical parameters of the explosions and the characteristics of the CSM surrounding the progenitors of these events. This favors the idea that the mass loss experienced by massive stars during their final years could be governed by stochastic phenomena and that, at the same time, the physical mechanisms responsible for this mass loss must be common to a variety of different progenitors.]]></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>Strong winds or eruptive events are typical phenomena that lead massive stars to lose large amounts of material during the ark of their lives (e.g., <ref type="bibr">de Jager et al. 1988;</ref><ref type="bibr">Vink et al. 2001;</ref><ref type="bibr">Mauron &amp; Josselin 2011;</ref><ref type="bibr">Smith 2014)</ref>. This phenomenon can lead to regions of high-density circumstellar material (CSM) in the immediate surroundings of the star. When the star then explodes as a core-collapse supernova (SN), the ejecta ram through this material and a double-shock structure is formed. Energetic photons are thus produced, which ionize the unshocked CSM in front of the ejecta <ref type="bibr">(Chevalier &amp; Fransson 1994)</ref>.T h i sm a t e r i a l then recombines, emitting narrow lines, reflecting the low velocities of the CSM-FWHM intensity on the order of a few hundred kilometers per second. These types of SNe are usually called SNe IIn <ref type="bibr">(Schlegel 1990;</ref><ref type="bibr">Filippenko 1997)</ref>.</p><p>Recent observations have brought to light a growing number of peculiar transitional objects that bridge the gap between SNe IIn and more normal core-collapse explosions (i.e., H-rich Type II and H-poor Type Ibc; e.g., <ref type="bibr">Foley et al. 2007;</ref><ref type="bibr">Roming et al. 2012;</ref><ref type="bibr">Ofek et al. 2013;</ref><ref type="bibr">Gal-Yam et al. 2014;</ref><ref type="bibr">Margutti et al. 2014)</ref>. Some objects discovered very soon after explosion (hours to days) exhibit recombination signatures for only a few days, followed by a transition to normal SNe II (e.g., <ref type="bibr">Leonard et al. 2000;</ref><ref type="bibr">Terreran et al. 2016;</ref><ref type="bibr">Yaron et al. 2017</ref>). These events are sometimes dubbed flash-spectroscopy SNe or shockphotoionization SNe <ref type="bibr">(Gal-Yam et al. 2014;</ref><ref type="bibr">Khazov et al. 2016)</ref>, as the spectra typically show recombination lines of highly ionized helium, carbon, nitrogen, and oxygen. In addition, the velocities measured from these narrow features have been found to be considerably larger than those typically associated with red supergiant (RSG) winds (e.g., <ref type="bibr">Groh 2014;</ref><ref type="bibr">Yaron et al. 2017)</ref>, which are usually on the order of a few tens of kilometers per second (e.g., <ref type="bibr">Mauron &amp; Josselin 2011)</ref>. Further modeling of these lines shows that mass-loss rates on the order of 10 -4 -10 -2 M e yr -1 are necessary to reproduce the shock-ionization features (e.g., <ref type="bibr">Boian &amp; Groh 2020)</ref>,i n contrast to typical mass-loss rates of RSGs, &#8764; 10 -5 M e yr -1 (e.g., <ref type="bibr">Smith 2014)</ref>. The presence of dense CSM surrounding RSGs is also suggested by hydrodynamical models of hydrogen-rich SN light curves <ref type="bibr">(Morozova et al. 2018)</ref>. The interaction of the SN ejecta with this CSM is sometimes inferred by boxy and flat-topped H&#945; and H&#946; profiles that start to appear a few months after explosion (e.g., <ref type="bibr">Inserra et al. 2011;</ref><ref type="bibr">Terreran et al. 2016;</ref><ref type="bibr">Jerkstrand et al. 2017)</ref>. In addition, this material is found to be confined within a radius of &#8764;800-3000 R e (e.g., <ref type="bibr">Morozova et al. 2018)</ref>. All of these facts provide strong evidence for a period of enhanced mass loss in RSG progenitors approaching their demise.</p><p>The traditionally accepted scenario of stellar evolution envisions a single massive star (like an RSG) evolving unperturbed during its final &#8764;1000 yr prior to explosion (e.g., <ref type="bibr">Woosley et al. 2002)</ref>. The neutrino-cooled core keeps violently burning, while the outer envelope stays unperturbed. However, the shock-ionization features exhibited by some SNe, produced by the interaction of the ejecta with confined and nearby CSM, suggests otherwise, hinting toward a period of enhanced mass loss preceding the explosion.</p><p>What physical mechanism is responsible for this phenomenon is not clear, and several scenarios have been proposed. Evolved RSGs could eject part of the loosely bound envelope through nuclear flashes <ref type="bibr">(Weaver &amp; Woosley 1979;</ref><ref type="bibr">Dessart et al. 2010;</ref><ref type="bibr">Woosley &amp; Heger 2015)</ref>. These are expected to be caused by dynamical burning triggered by oxygen, neon, or silicon igniting off-center. Such late-stage burning instabilities could easily explain the ejection of material in the months and years preceding an SN explosion. However, this phenomenon can occur only for stars of 8-12 M e <ref type="bibr">(Weaver &amp; Woosley 1979)</ref>. Different studies have shown that some of the objects presenting shock-ionization features have progenitors with zero-age main-sequence (ZAMS) masses above 12 M e (e.g., <ref type="bibr">Terreran et al. 2016;</ref><ref type="bibr">Morozova et al. 2017</ref><ref type="bibr">Morozova et al. , 2018;;</ref><ref type="bibr">Tartaglia et al. 2021)</ref>, so nuclear flashes cannot be invoked to explain all of the objects showing flash-spectroscopy features. Eruptive mass loss during the late evolution of RSGs can also be caused by large-amplitude pulsations, induced by partial ionization of hydrogen in the envelope (e.g., <ref type="bibr">Li &amp; Gong 1994;</ref><ref type="bibr">Heger et al. 1997;</ref><ref type="bibr">Yoon &amp; Cantiello 2010)</ref>. Alternatively, gravity waves could be a viable mechanism to unbind up to a few M e of material <ref type="bibr">(Quataert &amp; Shiode 2012;</ref><ref type="bibr">Shiode &amp; Quataert 2014;</ref><ref type="bibr">Fuller 2017;</ref><ref type="bibr">Linial et al. 2021;</ref><ref type="bibr">Wu &amp; Fuller 2021)</ref>. These waves are supposed to be created by the vigorous convection during carbon fusion and beyond. Consequently, the timing of this mechanism makes it a very good candidate to explain the enhanced mass loss in evolved massive stars. An alternative explanation is that the material that is interacting with the SN ejecta is not the result from a super-wind phase of the progenitor star; rather, it is a "cocoon" of stagnating material, composed actually by gas that does not reach the escape velocity (e.g., <ref type="bibr">Dessart et al. 2017;</ref><ref type="bibr">Soker 2021)</ref>. This scenario removes the requirement for the fine-tuned stellar activity in the years immediately preceding the SN explosion, although this cannot explain the presence of dense material at larger distances, like the one showed by some of the shock-ionization objects (e.g., SN 1998S; <ref type="bibr">Mauerhan &amp; Smith 2012)</ref>.</p><p>The number of SNe showing narrow lines within the first week after explosion has been growing rapidly in recent times (e.g., <ref type="bibr">Boian &amp; Groh 2020;</ref><ref type="bibr">Bruch et al. 2021;</ref><ref type="bibr">Gangopadhyay et al. 2020;</ref><ref type="bibr">Zhang et al. 2020;</ref><ref type="bibr">Tartaglia et al. 2021)</ref>. According to <ref type="bibr">Khazov et al. (2016)</ref>, &#8764;20% of core-collapse SNe discovered within 5 days from explosion show flash-ionization features, while <ref type="bibr">Bruch et al. (2021)</ref> find that the fraction is 30% for SNe observed within 2 days of explosion. In this context, we present a new addition to the class. SN 2020pni (also known as ATLAS20sxl, Gaia20dus, PS20fyg, ZTF20ablygyy) was discovered on 2020 July 16.19 (UT dates are used throughout this paper; MJD 59,046.19) by ALeRCE <ref type="bibr">(Forster et al. 2020)</ref>, using the Zwicky Transient Facility (ZTF; Kulkarni 2018) data stream. The transient is located at coordinates &#945; J2000 = 15 h 03 m 49 s .964, 42 06 50. 52 J2000 d =+ &#61616; &#162; &#61618; , sitting in the outskirts of the spiral galaxy UGC 09684 (see Figure <ref type="figure">1</ref>).T h el a s t nondetection (by ZTF) was &lt;24 hr earlier <ref type="bibr">(MJD 59,</ref><ref type="bibr">045.25)</ref>, placing a strong constraint on the time of first light (see Section 4.1). A spectroscopic classification was obtained by the ZTF collaboration on 2020 July 17.27 (MJD 59,047.27), &#8764;1day after discovery, using the Spectral Energy Distribution Machine (SEDM; <ref type="bibr">Blagorodnova et al. 2018;</ref><ref type="bibr">Rigault et al. 2019</ref>) on the Palomar 60-inch (P60) telescope. Unresolved lines of hydrogen and ionized helium were detected <ref type="bibr">(Bruch et al. 2020)</ref>, which are indicative of a young SN II with flash-spectroscopy features. We started observing SN 2020pni on 2020 July 17.32 (MJD 59,047.32), &#8764;1.5 days since discovery, confirming the classification. In this paper we present the results from our optical observing campaign in the first &#8764;60 days since explosion, as well as our radio follow-up observations beyond 300 days after first light.</p><p>In Section 2 we present the properties of the host galaxy UGC 09684. We describe our data set and the data-reduction techniques in Section 3. The multiwavelength evolution of SN 2020pni is described in Section 4, focusing in particular on the early spectroscopic evolution and modeling. Finally, we discuss the results in Section 5, where we compare SN 2020pni to the population of flash-ionization events with the goal of constraining the progenitor properties.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">UGC 09684</head><p>The host of SN 2020pni, known as UGC 09684, is an SBac star-forming galaxy. It hosted at least three additional transients -the Type II SN 2006ed <ref type="bibr">(Foley et al. 2006;</ref><ref type="bibr">Joubert &amp; Li 2006</ref>), the stripped-envelope SN 2012ib <ref type="bibr">(Lipunov et al. 2012;</ref><ref type="bibr">Tomasella et al. 2012)</ref>, and the unclassified transient AT 2017cgh <ref type="bibr">(Chambers et al. 2017)</ref>. SN 2020pni is the fourth confirmed SN-like event in UGC 09684 during the past 15 yr, marking a rate of SN production comparable to the most active "SN factory" galaxies.</p><p>From our highest-resolution spectrum of SN 2020pni, acquired on 2020 July 22.26 (&#8764;6.5 days after first light) with Keck II+ESI <ref type="bibr">(Sheinis et al. 2002)</ref>,w em e a s u r ear e d s h i f tz = 0.01665 &#177; 0.00030; corrected for Virgo infall, this corresponds to a distance of 73.7 &#177; 1.3 Mpc (H 0 = 73 km s -1 Mpc -1 , &#937; M = 0.27, &#937; &#923; = 0.73), equivalent to a distance modulus &#956; = 34.34 &#177; 0.15 mag (the errors are propagated from the redshift uncertainties).Wecan estimate the local reddening by measuring the equivalent width (EW) of the Na I &#955;&#955;5890, 5896 doublet absorption at the redshift of the host galaxy <ref type="bibr">(Turatto et al. 2003;</ref><ref type="bibr">Poznanski et al. 2012)</ref>. From the Keck II+ESI spectrum, we also infer an EW of 0.55 &#177; 0.01 &#197; for Na I D, which corresponds to a host-galaxy extinction of E(B -V ) host = 0.063 &#177; 0.010 mag. These values are consistent with measurements performed on spectra at later phases when the ejecta are no longer interacting with the nearby CSM (see Section 4.2.1). We can thus confidently associate the Na I absorption with an interstellar origin. The Milky Way color excess in the direction of SN 2020pni is E(B -V ) MW = 0.017 mag <ref type="bibr">(Schlafly &amp; Finkbeiner 2011)</ref>.</p><p>We estimate the star formation rate (SFR) of UGC 09684 with the Fitting and Assessment of Synthetic Templates code (FAST; <ref type="bibr">Kriek et al. 2009)</ref>. We used ultraviolet (UV, far-UV, near-UV), optical (ugriz), and near-infrared (NIR; JHK s ) luminosity measurements from the GALEX All-Sky Survey Source Catalog (GASC; <ref type="bibr">Seibert et al. 2012)</ref>, the Sloan Digital Sky Survey (SDSS) Data Release 6,<ref type="foot">foot_1</ref> and the final release of the Two Micron All Sky Survey (2MASS) Extended Source Catalog <ref type="bibr">(Jarrett et al. 2000)</ref>. All of the data were retrieved from the NASA/IPAC Extragalactic Database (NED). <ref type="foot">13</ref> In our initial grid of models, we considered both a <ref type="bibr">Salpeter (1955)</ref> and a <ref type="bibr">Chabrier (2003)</ref> stellar initial mass function (IMF).F o rt h e star formation history (SFH), we employed an exponentially decreasing function (SFR &#8733; e -t ) a n dad e l a y e df u n c t i o na sw e l l (SFR &#8733; t &#215; e -t ). We also assumed a <ref type="bibr">Calzetti et al. (2000)</ref> reddening law. Finally, we used the stellar population libraries of <ref type="bibr">Bruzual &amp; Charlot (2003)</ref> and <ref type="bibr">Conroy et al. (2009)</ref>.<ref type="foot">foot_3</ref> Several metallicity estimates for UGC 09684 have been published (e.g., <ref type="bibr">Prieto et al. 2008;</ref><ref type="bibr">Kelly &amp; Kirshner 2012)</ref>, the majority of them agreeing on a metallicity slightly above solar (oxygen abundance () 12 log O H 9.0 +&#187; , corresponding to &#8764;2 Z e ). Therefore, we limited our search to stellar population libraries with above-solar metallicities (Z &gt; 0.019).Therangeofbest-fitting SFRs for UGC 09684 is 0.25-0.39 M e yr -1 . We also infer a total stellar mass of M &#229; = (2.0-3.5) &#215; 10 10 M e and hence a current specificS F R sSFR &#8776; 0.01 Gyr -1 . This is higher than what is found in the literature (e.g., Kelly &amp; Kirshner 2012) but agrees with the relatively large number of recent events reported in this host galaxy. We summarize all of the inferred and adopted parameters for SN 2020pni and UGC 09684 in Table <ref type="table">1</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Observations of SN 2020pni</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">UV/Optical/NIR Photometry</head><p>We observed SN 2020pni with the Ultraviolet Optical Telescope (UVOT; <ref type="bibr">Roming et al. 2005</ref>) on board the Neil Gehrels Swift Observatory <ref type="bibr">(Gehrels et al. 2004</ref>) from 2020 July 16.8 until 2020 September 10.8 (&#948;t = 1.0-56.9 days since first light). We performed aperture photometry using a 3&#8243;-radius circular region with uvotsource within HEAsoft v6.26,<ref type="foot">foot_4</ref> following the standard guidelines from <ref type="bibr">Brown et al. (2009)</ref>.In order to remove contamination from the host galaxy, we employed images acquired at t &#8776; 105 days after first light, assuming that the SN contribution is negligible. This is supported by visual inspection, in which we found no flux associated with SN 2020pni, although we cannot exclude some residuals given the relatively early phase of the SN, especially in the B and V bands. We subtracted the measured count rate at the location of the SN from the count rates in the SN images following the prescriptions of <ref type="bibr">Brown et al. (2014)</ref>. We detect UV emission from the earliest Swift epoch (&#948;t = 1.0 days; Figure <ref type="figure">2</ref>) until &#948;t &#8776; 32 days after first light. Subsequent nondetections in the u, w1, m2, and w2 bands indicate significant cooling of the photosphere.</p><p>Additional griz-band imaging of SN 2020pni was obtained through the Young Supernova Experiment (YSE) sky survey <ref type="bibr">(Jones et al. 2021)</ref> with the Pan-STARRS telescope (PS1; <ref type="bibr">Kaiser et al. 2002)</ref> between 2020 July 17.3 and 2020 September 12.2 (&#948;t = 1.5-58.4 days since first light). The YSE photometric pipeline is based on photpipe <ref type="bibr">(Rest et al. 2005</ref>).E a c hi m a g e template was taken from stacked PS1 exposures, with most of the input data from the PS1 3&#960; survey. All images and templates are resampled and astrometrically aligned to match a skycell in the PS1 sky tessellation. An image zero-point is determined by comparing point-spread function (PSF) photometry of the stars to updated stellar catalogs of PS1 observations <ref type="bibr">(Chambers et al. 2017)</ref>. The PS1 templates are convolved to match the nightly images, and the convolved templates are subtracted from the nightly images with HOTPANTS <ref type="bibr">(Becker 2015)</ref>.F i n a l l y ,afluxweighted centroid is found for each SN position, and PSF photometry is performed using "forced photometry": the centroid of the PSF is forced to be at the SN position. The nightly zeropoint is applied to the photometry to determine the brightness of the SN for that epoch.</p><p>We obtained multiband NIR data for SN 2020pni on 2020 July 28 using the Multi-Object Spectrometer For Infra-Red Exploration (MOSFIRE; <ref type="bibr">McLean et al. 2012</ref>) at Keck Observatory. We imaged the object using JHK s filters. Standard flat-fielding has been applied, and the instrumental magnitudes were extracted through PSF photometry. We used the 2MASS catalog<ref type="foot">foot_5</ref>  <ref type="bibr">(Skrutskie et al. 2006)</ref> for the flux calibration.</p><p>In addition to our own observations, we include g-band and r-band photometry from the ZTF public data stream  <ref type="table">A1-A4</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Optical/NIR Spectroscopy</head><p>The spectroscopic campaign of SN 2020pni started &#8764;1dayafter discovery. Here we present the first 64 days of evolution. All of the spectra were reduced using standard techniques, which included correction for bias, overscan, and flat field. Spectra of comparison lamps and standard stars acquired during the same night and with the same instrumental setting have been used for the wavelength and flux calibrations, respectively. When possible, we further removed the telluric bands using standard stars. Given the various instruments employed, the data-reduction steps described above have been applied using several instrument-specific routines. Data from Keck using the LRIS, DEIMOS, and MOSFIRE instruments w e r ep r o c e s s e dw i t ht h ePYPEIT software package <ref type="bibr">(Prochaska et al. 2020</ref>).W eu s e ds t a n d a r dIRAF<ref type="foot">foot_6</ref> commands to extract the spectra from GMOS, Binospec, and ESI data. The SEDM spectrum was downloaded directly from the Transient Name Server<ref type="foot">foot_7</ref> (TNS). Spectra of SN 2020pni were obtained with the Kast spectrograph <ref type="bibr">(Miller &amp; Stone 1993)</ref> on the Shane 3 m telescope at Lick Observatory on 2020 July 18, 19, and 28, August 9 and 11, and September 7 (programs 2020A-S008 and 2020B-S001, <ref type="bibr">PI Filippenko;</ref><ref type="bibr">program 2020A-S011, PI Foley)</ref>. Observations were made with the 452/3306 and the 600/4310 grisms on the blue arm and the 300/7500 grating on the red arm, using the 2 0 slit aligned along the parallactic angle to minimize the effects of atmospheric dispersion <ref type="bibr">(Filippenko 1982)</ref>. Calibration observations (arc lamps, dome flats, and spectrophotometric standards) were performed on the same night. The data were reduced with standard IRAF/pyRAF and Python routines, including flat-fielding, determining the wavelength solution and small-scale wavelength corrections from night-sky lines, with flux calibration and telluric removal accomplished through the use of spectrophotometric standard stars. An additional spectrum was obtained on July 30 as part of the Lick Supernova Program (ToO) 2020A-S012 (PI Foley), using a different setup compared to the classical program (830/3460 grism, blue arm; 1200/5000 grating, red arm; 2 0 slit). The data were reduced in a similar manner.</p><p>We obtained spectra of SN 2020pni with the FLOYDS spectrograph on the Faulkes-N telescope at Haleakal&#257;, Hawaii, as part of the Las Cumbres Observatory (LCO; <ref type="bibr">Brown et al. 2013)</ref> network. The spectra were acquired on 2020 August 1, 4, 10, and 22 and September 7, as shown in Table <ref type="table">A5</ref>. All spectra Figure <ref type="figure">2</ref>. UV/optical/NIR light curve of SN 2020pni with respect to g-band maximum brightness. Observed photometry is presented in the AB magnitude system <ref type="bibr">(Oke &amp; Gunn 1983)</ref>. PS1 data and 3&#963; upper limits are presented as squares, ZTF as circles, and Swift as diamonds.</p><p>were obtained with the 1 6 slit under nearly photometric conditions, and the slit was aligned along the parallactic angle. Comparison-lamp and dome-flat exposures were obtained immediately before and after each observation. Following standard procedures in pyraf, we reduced all of these spectra using the FLOYDS pipeline <ref type="bibr">(Valenti et al. 2014)</ref>. <ref type="foot">19</ref> This included standard image reductions, aperture extraction, flux calibration, wavelength calibration, telluric removal, and order combination.</p><p>A spectrum was also taken with the Alhambra Faint Object Spectrograph and Camera (ALFOSC) on the Nordic Optical Telescope (NOT) at La Palma on 2020 July 25, using grism 4 and a 1 0 slit, aligned along the parallactic angle, and under clear observing conditions and good seeing. The spectrum was reduced with a custom pipeline running standard pyraf procedures.</p><p>We obtained an NIR spectrum of SN 2020pni in the YJHK bands on 2020 July 28 using MOSFIRE at Keck Observatory. The data were reduced using the MOSFIRE data-reduction pipeline,<ref type="foot">foot_9</ref> which performed flat-field correction, wavelength calibration using night-sky lines and arc-lamp observations, and spectral extraction. We then used xtellcor <ref type="bibr">(Vacca et al. 2003)</ref> to perform flux calibration and telluric correction with observations of an A0V star HIP 71172.</p><p>A summary of all the telescopes, instruments, and configurations used for the spectroscopic observations of SN 2020pni is presented in Table <ref type="table">A5</ref>. All of the spectra shown will be available at the Weizmann Interactive Supernova data REPository (WISeREP; <ref type="foot">21</ref> Yaron &amp; Gal-Yam 2012).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">X-Rays</head><p>We started observing SN 2020pni with Swift-XRT <ref type="bibr">(Burrows et al. 2005</ref>) on 2020 July 16 until September 10 (&#948;t &#8776; 1.3-56 days since time of first light), for a total exposure time of 31.5 ks. We reduced the data following standard practice using HEASOFT v6.28 and the latest Swift calibration files. We find no evidence for X-ray emission at the location of the SN in the individual exposures and in the merged event file, for which we infer a 3&#963; count-rate upper limit of 8.0 &#215; 10 -4 counts s -1 (0.3-10 keV). The neutral hydrogen column density in the direction of the SN is 1.40 &#215; 10 20 cm -2 <ref type="bibr">(Kalberla et al. 2005)</ref>. For a power-law spectrum F &#957; &#8733; &#957; -1 , the corresponding unabsorbed flux limit is F x &lt; 2.9 &#215; 10 -14 erg s -1 cm -2 ,w h i c hi s L x &lt; 1.9 &#215; 10 40 erg s -1 (0.3-10 keV). Individual segments of observations have a typical exposure time of &#8764;1.6 ks, which leads to flux limits F x &lt; 2.0 &#215; 10 -13 erg s -1 cm -2 (L x &lt; 1.2 &#215; 10 41 erg s -1 ).</p><p>We emphasize that these limits are corrected only for the absorption component that originates in the Galaxy. However, the modeling of the optical spectra and early-time light curve (Section 4.3) indicates high densities in the local SN environment at distances &lt;10 15 cm, from which we estimate large intrinsic absorption corresponding to N H-int &#61577; 10 25 cm -2 at the time of radiation breakout (assuming that a large fraction of the material is neutral). The lack of detected X-rays in SN 2020pni is thus most likely a consequence of the very large local absorption by the extended layer of CSM from which the H lines originate at early times. A later-time Swift-XRT observation was acquired on 2020 October 28 (&#948;t &#8776; 105 days since time of first light, exposure time 3.5 ks), from which we derive L x &lt; 9 &#215; 10 40 erg s -1 .T h e lack of detectable X-ray emission is consistent with the lowdensity, larger-scale environment inferred from the radio observations (Sections 3.4 and 4.3.3).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4.">Radio</head><p>We observed SN 2020pni with the NSF's Karl G. Jansky Very Large Array (VLA) through our joint Fermi/VLA program SD1096/131096 (PI Margutti) on 2020 August 21.8 (&#948;t = 37.0 days after time of first light), 2020 November 21.5 (&#948;t = 128.7 days), and 2021 May 18.1 (&#948;t = 306.3 days).W e carried out observations at a mean frequency of 10.0 GHz (X band) with a bandwidth of 4.096 GHz. The data were taken in standard phase-referencing mode, with 3C 286 as the bandpass and flux-density calibrator and 9C J1506+4239 and B3 1456 +375 as the complex-gain calibrators. We calibrated the data using the VLA pipeline in the Common Astronomy Software Applications package (CASA; <ref type="bibr">McMullin et al. 2007a</ref>) v5.6.2, with additional flagging. For imaging, we used Briggs weighting with a robust parameter of 1. No self-calibration was performed. The details of these observations are given in Table <ref type="table">A7</ref>.</p><p>We find no evidence for radio emission at the SN location and infer a flux-density limit of F &#957; &lt; 19 &#956;Jy and F &#957; &lt; 12 &#956;Jy (3 &#215; image rms) for the first and second epochs, respectively, corresponding to L &#957; &lt; 1.2 &#215; 10 26 erg s -1 Hz -1 and L &#957; &lt; 0.8 &#215; 10 26 erg s -1 Hz -1 at the distance of SN 2020pni. In the third epoch the VLA was in its D configuration and there was a significant contribution from the host galaxy at the location of SN 2020pni, but we found no evidence of a point source at the SN location. After fitting and subtracting the host emission in the image plane using PyBDSM (Python Blob Detection and Source Measurement; Mohan &amp; Rafferty 2015),wefind a 3&#963; upper limit of F &#957; &lt; 30 &#956;Jy (L &#957; &lt; 2 &#215; 10 26 erg s -1 Hz -1 ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Analysis</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Photometric Properties and Pseudobolometric Light Curve</head><p>The complete UV and optical light curves of SN 2020pni are presented in Figure <ref type="figure">2</ref>. To estimate the time of escape of the first photons, we fit a three-parameter power-law function (e.g., m = a + bt c ) to the early-time g and r data. From this, we infer a time of first light of MJD 59,045.8 &#177; 0.1. The error on the time is estimated based on the nonlinear least-squares fitting routine, and we point out that it likely underestimates the true (systematic) uncertainty of the measurement. We use this value throughout the paper. In order to estimate the peak absolute magnitudes, we fita low-order polynomial to the SN 2020pni light curve. We obtain M B = -18.28 &#177; 0.10 mag at MJD 59,052.1 &#177; 0.2 and M r = -18.02 &#177; 0.20 mag at MJD 59,055.6 &#177; 0.2. Using the adopted time of first light, the rise time of SN 2020pni is t r = 9.8 &#177; 0.3 days with respect to r-band maximum and t B = 6.3 &#177; 0.2 days with respect to B-band maximum.</p><p>We then compare the r-band light curve of SN 2020pni to a sample of SNe II with and without shock-ionization features at early times. We include the sample of flash-spectroscopy objects from <ref type="bibr">Khazov et al. (2016)</ref> and <ref type="bibr">Bruch et al. (2021)</ref>,i n addition to the sample of "normal" SNe II from de Jaeger et al. <ref type="bibr">(2019)</ref>. We note that although SN 2013ej and SN 2014G were included in the latter collection, these objects showed flash-spectroscopy features in their early-time spectra <ref type="bibr">(Valenti et al. 2014;</ref><ref type="bibr">Terreran et al. 2016)</ref>, and they are therefore treated as such. Furthermore, we expand the shock-ionization sample with the addition of <ref type="bibr">SN 1998S, SN 2016bkv, and SN 2017ahn (Leonard et al. 2000;</ref><ref type="bibr">Hosseinzadeh et al. 2018;</ref><ref type="bibr">Nakaoka et al. 2018;</ref><ref type="bibr">Tartaglia et al. 2021)</ref>. The light curves of all the objects presented were retrieved from the OSC (<ref type="url">https://sne.space</ref>; <ref type="bibr">Guillochon et al. 2017)</ref>, apart from those of <ref type="bibr">Bruch et al. (2021)</ref>, which were taken directly from their paper. For some objects the r band was not available, and we used the R band instead, without loss of generality.</p><p>We present the full comparison in the left panel of Figure <ref type="figure">3</ref>. The great majority of flash-ionization objects populate the upper-end part of the plot, with SN 2020pni sitting right in the middle of the sample. Indeed, <ref type="bibr">Khazov et al. (2016)</ref> claimed that the objects showing shock-ionization lines tended to be on average brighter than those that did not exhibit such features. On the other hand, <ref type="bibr">Bruch et al. (2021)</ref> did not find the same trend from the analysis of their sample. The addition of the sample of "normal" SNe II from de Jaeger et al. (2019) seems to support the former study, although the presence of one extreme outlier complicates the scenario. In fact, SN 2016bkv (the lowest red line on the plot) is the most striking example that objects presenting shock-ionization features can indeed have luminosities well below the average of SNe II. There is some disagreement on the nature of this event, with claims for it to be an electron-capture SN rather than a core-collapse SN <ref type="bibr">(Hosseinzadeh et al. 2018</ref>), but the presence of material around the progenitor star at the time of explosion should transcend the explosion mechanism responsible for the stellar demise.</p><p>The apparently higher luminosity shown on average by flash objects could naturally be explained by the extra energy injection from the early interaction responsible for the shock ionization. However, selection criteria could also play a factor in the luminosity distribution. Brighter objects are typically of more interest to the community, and therefore a classification spectrum could be sought with more urgency. More low-luminosity SNe II could indeed exhibit flash-ionization features if observed sufficiently early. The size of the flash-spectroscopy sample is still quite small, preventing us from reaching a definitive conclusion on the matter.</p><p>We construct a pseudobolometric light curve of SN 2020pni using a combination of multicolor photometry from ZTF, PS1, and Swift observations. <ref type="foot">22</ref> For each epoch, luminosities are calculated through trapezoidal integration of SN flux in the ubvgri bands (3000-10000 &#197;). Uncertainties are estimated through a Monte Carlo simulation that includes 1000 realizations of the data. In time intervals without complete color information, we interpolate between light-curve data points using a low-order polynomial spline. The complete pseudobolometric light curve of SN 2020pni is presented in the right panel of Figure <ref type="figure">3</ref> for phases t &lt; 60 days after explosion. We choose to estimate luminosities for SN 2020pni using a trapezoidal integration method rather than fitting a blackbody model so as to better compare SN 2020pni to other SNe II lacking UV or NIR photometric coverage.</p><p>We also construct a complete bolometric light curve of SN 2020pni by fitting the broadband photometry with a blackbody model that is dependent on radius and temperature. Each spectral energy distribution (SED) was generated from the combination of multicolor UV/optical photometry in the w2, m2, w1, u, b, v, g, r,a n di bands (1500-9000 &#197;). In regions without complete color information, we extrapolate between light-curve data points using a low-order polynomial spline. This yields an initial radius of R bo = (2.4 &#177; 0.14) &#215; 10 14 cm, as well as a peak temperature and luminosity of T = (2.5 &#177; 0.16) &#215; 10 4 Ka n d L bol = (2.7 &#177; 0.39) &#215; 10 43 erg s -1 .</p><p>As shown in the left panel of Figure <ref type="figure">3</ref>, we compare the r-band light-curve evolution of SN 2020pni to popular SNe II discovered within a few days of explosion, many of which have flashionized spectral features detected in their early-time spectra, such as SN 1998S <ref type="bibr">(Leonard et al. 2000;</ref><ref type="bibr">Fassia et al. 2001;</ref><ref type="bibr">Shivvers et al. 2015)</ref>, SN 2013fs <ref type="bibr">(Yaron et al. 2017)</ref>, SN 2014G (Terreran In the right panel of Figure <ref type="figure">3</ref>, we compare the pseudobolometric light-curve evolution of SNe II discovered within a few days of explosion to that of SN 2020pni. We find that SN 2020pni has a lower overall luminosity than SN 1998S and a pseudobolometric luminosity comparable to or higher than the other presented SNe. Like the r-band light curve, the overall pseudobolometric evolution of SN 2020pni is most comparable to that of SN 2013fs at phases t &lt; 60 days after explosion. Out to phases t &lt; 40 days post-explosion, its </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Optical and NIR Spectroscopic Evolution</head><p>The complete optical spectral evolution of SN 2020pni is presented in Figure <ref type="figure">4</ref>, and a log of the presented spectra is reported in Table <ref type="table">A6</ref>. We also include the ZTF classification spectrum that was taken 1 hr prior to our first spectrum <ref type="bibr">(Bruch et al. 2020)</ref>. We started our spectroscopic campaign less than 2 days after our estimated time of first light, and we kept monitoring SN 2020pni for &#8764;60 days, until constrained by the Sun. The early-time spectra show a blue continuum, with prominent narrow lines of H, He II,CIV,NIII,a n dNIV.After1 week, most of these features disappear, and only the H lines remain, which at this epoch are still narrow but with a P Cygni profile. At a phase of 17 days from first light, the spectrum seems completely featureless, while broad lines (v &#8776; 10,000 km s -1 ) begin to appear a few days later. More typical features of SNe II start to shape the spectrum (see, e.g., <ref type="bibr">Guti&#233;rrez et al. 2017)</ref>, including H, Fe II,N aI,S cII,B aII,T iII,a n dC aII. By the time SN 2020pni became Sun constrained, it was still in the photospheric phase, and no nebular lines were visible yet.</p><p>At &#8764;12 days after first light, we acquired a Keck I+MOSFIRE NIR spectrum, in coordination with an optical spectrum with Shane +Kast (see Figure <ref type="figure">5</ref>). Although the H Balmer series is clearly visible at this phase in the optical spectrum, we do not detect any Paschen or Brackett lines in the NIR. However, we identify a P Cygni profile of He I &#955;10830 and possibly He I &#955;20581.</p><p>In Figure <ref type="figure">6</ref> we compare the early phases of SN 2020pni with those of other well-observed flash-spectroscopy events-SN 1998S <ref type="bibr">(Leonard et al. 2000;</ref><ref type="bibr">Fassia et al. 2001;</ref><ref type="bibr">Shivvers et al. 2015)</ref>, SN 2013fs <ref type="bibr">(Yaron et al. 2017)</ref>, SN 2014G <ref type="bibr">(Terreran et al. 2016</ref><ref type="bibr">), and SN 2017ahn (Tartaglia et al. 2021</ref>). The spectra were first normalized by the underlying continuum <ref type="foot">23</ref>and then scaled by an arbitrary factor for better display. A diversity in line intensities and timescales is clearly evident, and the presence of different elements with different ionization levels could be linked to variations in CSM composition as well. Prominent, highly ionized oxygen lines are present in the first spectrum of SN 2013fs, although no oxygen is detected in the first spectrum of SN 2020pni. These lines disappear very rapidly in SN 2013fs, so we cannot exclude that these lines were present in SN 2020pni at an earlier phase.</p><p>The presence of a relatively prominent C IV &#955;5803 line in SN 2020pni, which is missing in the spectra of SN 2013fs, hints at a carbon-rich environment for SN 2020pni (see Figure <ref type="figure">6</ref>).This carbon line seems to also be quite prominent in SN 2014G, and possibly detected in SN 1998S and SN 2017ahn. The spectroscopic similarities between SN 1998S and SN 2020pni are remarkable (see spectra at &#8764;4days). Indeed, among the presented sample, SN 1998S is the only object other than SN 2020pni that still shows narrow lines beyond a week after explosion. SN 2013fs and SN 2014G present featureless spectra at &#8764;9 days after explosion, while SN 2020pni and SN 1998S show narrow H lines with P Cygni profiles, both with a low-velocity component in absorption (see also Section 4.2.1). This indicates that at this phase the photosphere is still in the slow-moving CSM, suggesting a more radially extended, high-density environment compared to that of SN 2013fs and SN 2014G.</p><p>We compare the later spectroscopic evolution of SN 2020pni with the same sample of objects. In Figure <ref type="figure">7</ref>, we display spectra at &#8764;2 months after explosion. All of the objects present a very similar pattern, with the spectrum being dominated by P Cygni profiles of hydrogen, sodium, iron, and other metal lines like scandium and barium. Focusing on the P Cygni profile of H&#945;, SN 2017ahn and SN 1998S exhibit very shallow to no absorption, SN 2013fs shows a relatively deep trough, and SN 2020pni and SN 2014G are intermediate. We find a certain range of velocities of ejected material in the sample. The minimum of the H&#945; absorption feature of SN 2020pni sits at &#8764;6500 km s -1 , while that of SN 2014G is at &#8764;7600 km s -1 . Indeed, focusing on the position of the minimum of the absorption of the features in common, we notice that SN 2020pni has the slowest material. From the minimum of the Fe I &#955;5169 feature, we measure a velocity of &#8764;3700 km s -1 , which we can use as a proxy for the photospheric velocity <ref type="bibr">(Hamuy et al. 2001)</ref>. The slower material displayed by SN 2020pni manifests as a higher number of discernible features in the spectra of SN 2020pni, as a consequence of less severe line blending. This can be appreciated especially from the spectrum &#8764;64 days after explosion, where several Fe II,S cII,a n dB aII multiplets can be identified (see Figure <ref type="figure">7</ref>).</p><p>Focusing on the He I and Na I absorption blend around 5800 &#197;, it is clear from Figure <ref type="figure">7</ref> how this feature looks broad, and possibly with multiple components, in SN 2020pni, SN 2013fs, and SN 2014G. The same feature appears narrower in SN 1998S and SN 2013fs. It is tempting to attribute its reddest component to a resolved He I line. In SN 2020pni this identification would correspond to a velocity of the helium material of &#8764; 5000 km s -1 , which is considerably slower than what is shown by the H&#945; minimum. Ba II has a multiplet at 5854, 6142, and 6497 &#197;. Assuming then that the reddest absorption in the feature at 5800 &#197; is barium, we obtain a velocity of &#8764; 4000 km s -1 , while from the feature at 6100 &#197; we measure &#8764; 3000 km s -1 . Therefore, the Ba II association also seems in conflict with other identifications of the same ion. It is likely that a combination of helium and barium is responsible for the broader feature at 5800 &#197; observed in some SNe II, such as SN 2020pni and SN 2013fs.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.1.">Line Evolution</head><p>At 6 days after first light, a very broad, although shallow, absorption starts to appear on the blue side of H&#945; (see Figure <ref type="figure">8</ref>). This feature extends to &#8764; 8000 km s -1 , while the emission component remains narrow. The broad component is clearly associated with the SN ejecta. After a few days, the absorption component develops a more pronounced dip. From the position of the minimum, we measure a velocity in close agreement with what is determined from the FWHM of the emission feature. The narrow H&#945; now has the full appearance of a P Cygni profile. The broad component is still present at these phases. This morphology, with a narrow P Cygni profile superimposed on a broader absorption, was also observed in SN 1998S <ref type="bibr">(Leonard et al. 2000;</ref><ref type="bibr">Fassia et al. 2001;</ref><ref type="bibr">Shivvers et al. 2015;</ref><ref type="bibr">Dessart et al. 2016)</ref>. At 14 days after first light, the emission component disappears completely, initially leaving only the narrow absorption, and then a featureless continuum. At 20 days a broad emission component starts to emerge with FWHM &#8776; 8000 km s -1 , accompanied by a shallow absorption with a minimum at similar velocities, forming the classical P Cygni profile of typical evolved SNe II.</p><p>We now focus on the complex evolution of the H&#945; profile by studying the velocity evolution of each component described  <ref type="bibr">(Tartaglia et al. 2021</ref>). The spectra have been continuum-subtracted and arbitrarily normalized for better display. While CSM-ionization features appear in all these objects, some of them already present a featureless continuum a week after first light. (Without loss of generality, we assume that the reported time of explosion for the targets found in the literature is actually the time of first light.) All of the spectra are in the rest frame and have been corrected for Galactic and host-galaxy reddening.</p><p>above. At t &lt; 5 days, in order to reproduce both the narrow core and the broad wings of the pure emission feature, we used two Lorentzian components. Beyond this phase and until t &lt; 13 days, we used single Lorentzian profiles to reproduce the narrow emission and absorption, while the broad absorption is well reproduced by a flat, boxy profile, with boundaries defined by a sigmoidal function. In Figure <ref type="figure">9</ref> we show an example of the modeling we performed during these phases. When the broad P Cygni profile is fully formed (t &gt; 20 days), we instead used only two Gaussians to reproduce the line profil e .W et h e nu s e dt h e FWHM as a proxy for the velocity of the emission component and the minimum of the absorption component as a proxy for the bulk velocity of the narrow absorption component. We also kept track of the middle point of the red-most sigmoidal boundary of the boxy profile (orange squares in Figure <ref type="figure">9</ref>).</p><p>The evolution in time of the velocity of these features is shown in the bottom panel of Figure <ref type="figure">9</ref>. At early phases, the narrow emission shows a clear increase in velocity, reaches a peak &#8764;4 days after first light, and then starts to decrease. We remark that this is not a spectral resolution effect, as the lines are fully resolved in all of the spectra (apart from the first epoch with the SEDM). One possible conclusion could be that the ejecta inside the CSM are accelerating the inner material <ref type="bibr">(Moriya et al. 2011</ref>). However, the emission originates from the CSM in front of the shock (this is unshocked CSM). The shock then has yet to reach this part, so it could not be responsible for any acceleration at this phase.</p><p>The increasing velocity with time likely maps a velocity gradient of the CSM at larger radii from the explosion, hinting at complex CSM. Given that we see these narrow lines only during the early phases of evolution of SN 2020pni, it is fair to assume that this CSM was created by recent mass loss, and it is possible that the progenitor lost material having different velocities with time. In particular, we observe that the progenitor lost material with larger velocities at earlier times and then smaller velocities as it approached the explosion time. We point out, though, that this does not naturally reflect a variable mass-loss rate during this phase, as the velocity of the material is not necessarily linked to the amount of the material lost by the progenitor of SN 2020pni.</p><p>Finally, from Figure <ref type="figure">9</ref>, one could also argue that the boxy profile extension evolves with time, as the orange square seems to increase in velocity from &#8764;8000 to &#8764; 9500 km s -1 . However, given the modeling we performed, this parameter does not directly link to a specific physical property of the explosion. Although this parameter could be seen as a proxy for the maximum velocity of the ejecta, the signal-to-noise ratio (S/N) of the spectrum, the depth of the absorption function, the shallowness of the transition from the continuum to the floor of the boxy profile, and the fit to the continuum level all play a role in inferring this value. Therefore, the observed increase in velocity is probably not as significant as the figure might suggest, as the uncertainties are also likely underestimated. However, further studies of other objects showing this extended absorption are encouraged, and possibly a more meaningful physical quantity could be inferred from a larger sample.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.">Inferences on the Explosion's Environment</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.1.">CSM Properties at r 10 15 cm from Early Light-curve Modeling</head><p>A number of observational features suggest that the shock's radiation is breaking out of a compact shell of dense CSM extending out to a radius R w . Specifically, these include the fast rise to maximum optical light over a timescale of t r &#8776; 2days,the bright and hot UV emission reaching a color temperature T 20,000 K (e.g., Section 4.1 and Figure <ref type="figure">2</ref>), the rapid fading of shock-ionized spectral features, and the narrow P Cygni profiles (Figures <ref type="figure">8</ref> and<ref type="figure">4</ref>; Section 4.3.2) by &#8764;15 days after first light. We expect R w &#8776; 10 15 cm, comparable to the inferred best-fitting blackbody radius when the shock-ionized spectral features become subdominant (e.g., Section 4.1).</p><p>We employ the formalism by Chevalier &amp; Irwin (2011; see Waxman &amp; Katz 2017 for a recent review) to model the onset of the emission that breaks out from the thick shell of CSM under the reasonable assumption R d &lt; R w , where R d is the radius of the contact discontinuity at the diffusion time t d (i.e., the radius where the diffusion of radiation becomes important). This assumption is motivated by the persistence of shockionized spectral features well beyond the time of bolometric peak. Indeed, the low-velocity P Cygni profiles of H&#945; are detectable until at least 15 days after first light. Under these circumstances, the escape of the radiation is delayed with respect to the onset of the explosion on a timescale &#8764; t d , which is set by the time necessary for the radiation to reach an optical depth &#964; w &#8776; c/v sh , where v sh is the shock velocity. Radiation is also released on the diffusion timescale, leading to a bolometric rise time t rise &#8776; t d , which implies that the explosion started &#8764; t rise (i.e., at most a few days) before the estimated  The symbols refer to the velocities measured at the positions marked in the top panel. We use halfopen symbols to denote marginally resolved lines and upper limits for unresolved lines. The inset presents a zoom-in of the early phases, when the narrow emission first shows an increase in velocity and then a decrease, which we interpret as a signature of complex CSM. time of first light (Table <ref type="table">1</ref>). This result is consistent with the time of explosion estimated from the emergence of spectral features with v &#8776; 8000 km s -1 at t &#8776; 8 days since first light and the measured radius of the photosphere at this time, which implies that the time of first light is delayed from the time of explosion by at most 1-2 days.</p><p>Following <ref type="bibr">Chevalier &amp; Irwin (2011)</ref> and using the solutions by <ref type="bibr">Margutti et al. (2014)</ref>,w efind that the observed t rise ,r a d i a t e d energy at breakout E rad &#8776; 0.5 &#215; 10 49 erg, and breakout radius R bo &#8776; 2 &#215; 10 14 cm constrain the wind mass-loss rate to &#9737; MM 0.01 yr 1 &#61478; &#187; -for a wind velocity v w = 200 km s -1 , similar to the FWHM of the narrow hydrogen component in the first optical spectrum. For these parameters the wind-shell mass is M w &#8776; 0.02 M &#9737; enclosed within R w &#8776; 10 15 cm. The wind mass within the breakout radius is M w ( R bo ) &#8776; 0.005 M &#9737; .I nt h i s model, after shock breakout, continued interaction with the wind material supports a luminosity &#61577;10 43 erg s -1 for a few days, consistent with the observations. We note that these parameter values should be treated as order-of-magnitude estimates given the likely complexity of the SN environment and some simplifying assumptions inherent to our analytical modeling approach.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.2.">CSM Properties at r 10 15 cm from Spectral Modeling</head><p>We employ the radiative transfer code CMFGEN <ref type="bibr">(Hillier &amp; Miller 1998)</ref>, with the implementation of <ref type="bibr">Groh (2014)</ref>, <ref type="foot">24</ref> to study the properties of the material surrounding the progenitor of SN 2020pni a few days after the time of first light. The photons produced by the interaction between the SN ejecta and the progenitor wind diffuse out through the extended CSM around the progenitor. Subsequently, the material heats up, achieves radiative equilibrium, and reemits according to its composition, velocity, temperature, and density structure. For simplicity, we assume a spherical and stationary wind,<ref type="foot">foot_14</ref> in non-LTE. We also assume that no energy is generated in the progenitor wind, that time-dependent effects are negligible, and that the medium is not clumpy. These assumptions and caveats affect the inferred observables, but we expect our modeling to still provide realistic quantities during the early phases, when the photosphere is located in the progenitor wind and the SN shock front is located at high optical depths.</p><p>We fit our first spectrum, obtained with Keck II+DEIMOS &#8764;1.5 days after first light, which also exhibits the high S/N necessary for this analysis. With the CMFGEN modeling we are able to constrain the progenitor mass loss M &#61478; , its chemical surface abundances, as well as the inner boundary<ref type="foot">foot_15</ref> of the CSM R in , and the bolometric luminosity of the event L SN . Figure <ref type="figure">10</ref> shows the comparison between the best-fit model and the observations of SN 2020pni at &#8764;1.5 days. We find excellent agreement between the observed and modeled spectral morphologies, with strong He II,HI,NIII, and N IV features.</p><p>Our modeling suggests () L 2.3 3.5 10 SN 43 =-&#180;erg s -1 , () M 3.5 5.3 10 3 &#61478; =--M e yr -1 (assuming a wind velocity v wind = 200 km s -1 ), R in = 2.5 &#215; 10 14 cm, and a flux temperature at a Rosseland optical depth of 10 of T &#229; = 27,500-29,400 K. We obtain a progenitor helium surface mass fraction of Y &#8776; 0.30-0.40, and we constrain the CNO surface abundances to C sur = 2.6 &#215; 10 -4 ,N sur = 8.2 &#215; 10 -3 ,a n dO sur &#61576; 1.3 &#215; 10 -4 , with an estimated 3&#963; uncertainty of 50%. <ref type="bibr">Dessart et al. (2017)</ref> computed a grid of models presenting the spectroscopic outcome of early-time interaction of the SN ejecta with material near the star'ss u r f a c e .T h e yu s e dr a d i a t i o n hydrodynamics and radiative transfer to reproduce the explosion of RSG stars, embedded in different dense material, in contrast to our approach, where we adopted a static wind configuration. We did not solve for the time-dependent radiation hydrodynamics of the CSM, as assuming the radiative equilibrium is still a reasonable approximation at very early phases, when the photosphere forms in the CSM. We compare the early-time spectra of SN 2020pni with the grid of models from <ref type="bibr">Dessart et al. (2017)</ref> and find a good match with their r1w6 model. This was evolved from the progenitor model m15mlt3 from <ref type="bibr">Dessart et al. (2013)</ref>,w h i c h corresponds to a star with R &#229; = 501 R e , M ej = 12.52 M e , (2017) adopted a nitrogen surface abundance of N sur &#8776; 3 &#215; 10 -3 . Their first synthetic spectrum is remarkably similar to the one obtained with our CMFGEN modeling. The C IV &#955;5803 line, which is underestimated by our modeling, looks particularly prominent in the model by <ref type="bibr">Dessart et al. (2017)</ref>, although in this case it is even stronger than the line shown by SN 2020pni.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.3.">Properties of the Larger-scale r &gt; 10 15 cm Environment from Radio Observations</head><p>We infer the density properties of the larger-scale environment at distances of (1-3) &#215; 10 16 cm using the radio nondetection in Section 3.4. In the context of synchrotron emission from the explosion's forward shock, and self-consistently accounting for both synchrotron self-absorption (SSA) and free-free absorption (FFA)( e.g., <ref type="bibr">Chevalier 1998;</ref><ref type="bibr">Weiler et al. 2002)</ref>, the radio nondetections at &#948;t = 37.3-307 days enable constraints on the M &#61478; versus v shock parameter space shown in Figure <ref type="figure">12</ref>. We followed the prescriptions from Chevalier (1998) to compute the SSA emission as a function of the radiospectrum observables (see also the equations reported by <ref type="bibr">Terreran et al. 2019</ref>), and we accounted for external FFA using the formalism for the optical depth to free-free radiation by <ref type="bibr">Weiler et al. (2002)</ref>. The shock velocity is self-consistently calculated using the self-similar solutions by <ref type="bibr">Chevalier (1982)</ref>. For this calculation, we have assumed a wind-like density profile of the CSM (&#961; CSM &#8733; r -2 ) and a plasma temperature of &#8764; 10 4 K. We describe this process in further detail in Appendix A.Wefind that for a typical shock velocity of &#8764;0.1 c the lack of detectable radio emission is consistent with either a low-density medium, with density corresponding to -&#9737; MM 10 10 yr 56 1</p><p>&#61478; &lt; -- -, or a higher-density medium, with &#9737; MM 51 0 y r 41 &#61478; &gt;&#180;--, that would absorb the emission (Figure <ref type="figure">12</ref>). These M &#61478; values reported are for a wind velocity v w = 200 km s -1 . The range of allowed mass-loss rates in the lower-density case is sensitive to the choice of shock are consistent with those from our CMFGEN modeling. The main spectral features are labeled. Although the initial spectrum is well matched by the model, SN 2020pni shows long-lasting line emission, in particular the H lines, persisting for more than 10 days (see Figure <ref type="figure">8</ref>). We interpret this discrepancy as the consequence of a more radially extended, thick CSM with respect to the one assumed by <ref type="bibr">Dessart et al. (2017)</ref> in their grid of models.</p><p>microphysical parameter values &#242; e and &#242; B , which represent the fraction of post-shock thermal energy in relativistic electrons and magnetic fields, respectively.</p><p>In Figure <ref type="figure">13</ref> we summarize our inferences concerning the CSM that surrounded the progenitor of SN 2020pni at the time of explosion, similar to what <ref type="bibr">Yaron et al. (2017)</ref> did for SN 2013fs. We marked in blue the densities we inferred from the CMFGEN modeling of the Keck II+DEIMOS optical spectrum taken &#8764;1.5 days after first light (see Section 4.3.2). The radio upper limits from the previous paragraph translate to an excluded region at a higher distance, marked in orange in the figure. The shock-ionization features are present in the spectra until &#8764;12 days after first light. The position of the shock at this phase (assuming a typical velocity of 0.1c) is marked in the figure with a vertical dashed magenta line. Considering the lack of narrow features after this epoch, it is fair to assume that the CSM was less dense beyond a radius of (2-4) &#215; 10 15 cm. The radio analysis suggested that both a highdensity configuration and a low-density configuration were possible; however, the lack of narrow lines at later phases disfavors the high-density scenario. In Figure <ref type="figure">13</ref> we suggest a possible configuration of the CSM.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Discussion</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1.">The Population of Shock-ionization Events</head><p>In this section we compare the inferred physical properties of SN 2020pni with the growing population of flash-spectroscopy events. For this purpose we use the sample by <ref type="bibr">Boian &amp; Groh (2020)</ref>, as they performed spectral modeling using the same code, CMFGEN. <ref type="bibr">Boian &amp; Groh (2020)</ref> used a grid of models for their analysis and three different surface abundance scenarios: solar-like, CNO-processed, and He-rich (see Boian &amp; Groh 2020, for more details). In Figure <ref type="figure">14</ref> we show the inferred relations between the mass-loss rate M &#61478; , density factor</p><p>), temperature T at the CSM inner boundary (where the optical depth to electron scattering is &#964; &#8776; 10), and SN luminosity L SN . The mass-loss rate estimates rely on a measure of the wind velocity, which is not always possible to obtain, owing to the resolution of the classification spectra. Plotting the density factor instead of the mass loss has the advantage of not relying on an assumed wind velocity; however, it is less trivial to link this quantity with the general characteristics of the progenitor star. The electron temperature can be used as a proxy for the ionization level of the CSM, with higher temperatures indicating a higher ionization. SN 2020pni sits right in the middle of the distribution of all parameters. Indeed, the initial spectrum did not show features related to highly ionized ions such as O IV,O V,o rNV the way SN 2013fs did (Figure <ref type="figure">6</ref>). However, the temperature (and therefore the ionization level) is strongly influenced by the epoch at which the classification spectrum was acquired. SN 2013fs and PTF10gva are among the objects with the earliest spectra (t &lt; 1 day), while the first spectrum of SN 2020pni was acquired later.</p><p>In flash-ionization events, the ejecta lose kinetic energy as they are slowed down by the CSM. A denser medium allows for a more efficient conversion of kinetic energy into radiation, which can power a more luminous continuum and contribute to a more luminous SN at early phases. This energy conversion should follow D &#8733; L 3/4 , which is in rough agreement with what is shown in the right panel of Figure <ref type="figure">14</ref>. Also, in this case SN 2020pni sits roughly in the middle of the distribution, with mass loss from the progenitor and therefore density parameter slightly lower than the average.</p><p>One conclusion by <ref type="bibr">Boian &amp; Groh (2020)</ref> was that the overall mass-loss estimates from the spectral modeling do not significantly differ from those inferred for SNe II (from optical observations), showing narrow lines for hundreds of days. This suggests that the difference between these more extreme interacting SNe and the shock-ionization events is not to be found in the density of the CSM surrounding the progenitor stars. <ref type="bibr">Boian &amp; Groh (2020)</ref> suggest, therefore, that the radial extension of the thick CSM could play a major role in shaping the evolution of the SN.</p><p>Figure <ref type="figure">12</ref>. Region of the mass-loss rate vs. shock velocity (&#915;&#946;) parameter space that is ruled out by the radio nondetection (Section 3.4) for different assumptions of shock microphysical parameters &#242; B and &#242; e . The M &#61478; values on the ordinate are for an assumed wind velocity of 200 km s -1 . The blue dashed line is the expected shock velocity at the time of the radio observations at &#948;t = 37.3 days, &#948;t = 129 days, and &#948;t = 307 days for a massive-star explosion with E k &#8776; 10 51 erg and ejecta mass of roughly a few M &#9737; .</p><p>Figure <ref type="figure">13</ref>. Proposed CSM configuration around the progenitor star of SN 2020pni. The dashed diagonal lines represent constant mass-loss rates as described in the legend, assuming a wind velocity of 200 km s -1 . The blue box is inferred from the early optical spectrum modeling. The orange box is the region excluded by the radio upper limits. The dashed magenta line marks the position of the shock at 12 days after first light (assuming a typical shock velocity of &#8764;0.1c). The narrow lines from shock ionization disappear after this epoch; therefore, we can assume that the confined CSM extended to a radius of &#8764;(2-4) &#215;10 15 cm.</p><p>The persistence of the narrow lines in time t line (i.e., for how long the shock-ionization lines are visible in the spectra) is an observable that was not taken into consideration by the analysis of <ref type="bibr">Boian &amp; Groh (2020)</ref>. The hydrogen recombination timescale (for pure H composition) can be approximated by t rec = (&#945;n) -1 , where &#945; &#8776; (2 -4) &#215; 10 -13 cm 3 s -1 for T = 10 4 K <ref type="bibr">(Osterbrock &amp; Ferland 2006)</ref>. Given the previously inferred density of &#8764; 1.5 &#215; 10 8 particles cm -3 ,w efind t rec &#8776; 2.2 &#215; 10 4 s, or 0.26 days. This is considerably smaller than t line , implying the need for a source of ionizing photons that is active well beyond the time of shock breakout. Therefore, the CSM is likely kept ionized by the prolonged interaction of the SN ejecta with the inner boundary of the CSM. We can thus link the persistence of the narrow shock-ionization lines with some physical properties of the explosion itself: (i) an explosion that launches faster shocks would have the ejecta ram through the thick CSM earlier, and (ii) a radially less extended CSM would be engulfed at earlier times by the ejecta, and therefore the narrow lines would disappear sooner. This second point is particularly important, as a less extended CSM would have been created by the progenitor star at a time closer to the explosion. Hence, the persistence of these lines could be linked to the mass-loss history right before explosion.</p><p>We estimate the persistence of the narrow lines for all of the objects from the <ref type="bibr">Boian &amp; Groh (2020)</ref> sample that also had a published spectroscopic sequence beyond the classification spectrum. We identified the last spectrum showing narrow lines from the ionized CSM and the first spectrum in which the lines were absent, taking the midway point as the time of disappearance. For the majority of the targets, especially those with long-lived narrow lines, hydrogen is usually the only species left at the time of narrow-line disappearance, while the He and CNO lines disappear at earlier phases. These measurements are presented in Figure <ref type="figure">15</ref>, where we look for correlations with the other physical properties studied above. The sample size does not allow us to come to any definitive conclusion, but at this time we do not see any clear correlations among the plotted quantities. However, an important conclusion to take is that the persistence of the narrow lines does not seem to depend on the composition of the CSM, considering that no clear distinction is evident among solar-like,  <ref type="bibr">Boian &amp; Groh (2020)</ref>; temperature, luminosity, mass-loss rate, and density relations from their sample. We also add SN 2017ahn <ref type="bibr">(Tartaglia et al. 2021)</ref>, which was not included in the <ref type="bibr">Boian &amp; Groh (2020)</ref> sample, and SN 2020pni. The latter is highlighted with a star symbol. The surface abundances of the progenitor of each object are color-coded following the legend in the top right panel (solar-like in red, CNO-processed in blue, intermediate between these two in magenta, and He-rich in green; see <ref type="bibr">Boian &amp; Groh 2020</ref>, for more details). All of the values are derived from CMFGEN modeling of the optical spectra of the presented SNe.</p><p>CNO-processed, and He-rich events. Assuming that the CSM composition could be used as a proxy for the composition of the progenitor, this suggests that the composition probably does not play a major role in shaping the CSM.</p><p>If we refer to point (ii) mentioned above, this conclusion could lead us to suggest that any physical mechanism responsible for the observed late-time mass loss must operate under different physical conditions and stellar progenitors. We caution that the sample studied here is quite limited. A significantly larger sample size than what is currently available might reveal correlations among the parameters of Figures 14 and 15 and has the potential to constrain the nature of the massloss mechanism at work.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2.">The Progenitor of SN 2020pni</head><p>So far we have shown that SN 2020pni was a particularly luminous (see Figure <ref type="figure">3</ref>) hydrogen-rich SN. We found that the CSM surrounding the progenitor star was He-rich, suggesting that the progenitor had shed a large part of its envelope at the time of explosion, or alternatively that mixing was particularly high in the progenitor star. Assuming that the progenitor was a single star, the abundance of CN-processed material at the surface of the star, and therefore in the CSM immediately surrounding it, tends to increase with the ZAMS mass of the progenitor <ref type="bibr">(Ekstr&#246;m et al. 2012)</ref>. Therefore, the strong nitrogen and carbon lines observed at early phases would favor a stellar mass in the higher end of the progenitors of SNe II. A comparison with stellar evolution models computed with the Geneva code <ref type="bibr">(Ekstr&#246;m et al. 2012</ref>) suggests an RSG or a yellow hypergiant progenitor star for SN 2020pni, with a ZAMS mass between 15 and 25 M e <ref type="bibr">(Groh et al. 2013)</ref>. These studies have also shown that luminous blue variables (LBVs) could be the potential progenitors of some of the more H-depleted SNe II. Both direct observations and models of stellar evolution revealed that LBVs are enriched in helium and  <ref type="bibr">Boian &amp; Groh (2020)</ref> for which the extensive spectral coverage allowed for an estimate of the duration of the flashionization lines. We compare this quantity with the temperature, luminosity, mass-loss rate, and density relations from this sample derived from CMFGEN modeling. The surface abundances of the progenitor of each object are color-coded following the legend in the top right panel (solar-like in red, CNO-processed in blue, intermediate between these two in magenta, and He-rich in green; see <ref type="bibr">Boian &amp; Groh 2020</ref>, for more details). nitrogen, while being depleted in carbon and oxygen (e.g., <ref type="bibr">Meynet et al. 1994;</ref><ref type="bibr">Smith et al. 1994;</ref><ref type="bibr">Crowther 1997;</ref><ref type="bibr">Najarro et al. 1997)</ref>, just as is shown by SN 2020pni. In addition, in Section 4.2.1 we demonstrated that the CSM surrounding the progenitor of SN 2020pni was not uniform. This is something that is also often observed in LBV nebulae (e.g., <ref type="bibr">Smith 2006</ref><ref type="bibr">Smith , 2014))</ref>. Considering the further evolution of SN 2020pni as a relatively normal SN II, we favor an RSG as its most probable progenitor. However, the fact that some characteristics of the CSM resemble LBV-like winds is remarkable. This once again highlights the lack of a full understanding of the mass-loss processes in RSG stars, especially during the last phases of their lives.</p><p>On a final note, binarity could have played a major role in shaping the CSM surrounding the progenitor of SN 2020pni and the other shock-ionization events. Considering the high percentage of progenitors of SNe II that are expected to be in binary systems (e.g., <ref type="bibr">Zapartas et al. 2019)</ref>, it is possible that the surface composition of the progenitor star could have been heavily modified by the interaction of a stellar companion or even by a merger event. However, one key aspect that emerges from Section 5.1 is that the mass loss observed in shockionization events appears to have been sustained for a very brief period of time (years), when compared to the whole lives of the stars themselves (millions of years). This necessarily means that the physical mechanism responsible for this mass loss is somehow linked to the actual end of the star's life. In other words, the mechanism "knows" that the end is coming. Interaction with a binary companion would not know about the advanced stage of evolution of the companion star. Considering that 30% of core-collapse SNe observed within 2 days since explosion show shock-ionization features <ref type="bibr">(Bruch et al. 2021)</ref>, the chances that so many objects exhibit enhanced mass loss induced by the binary interaction with a companion right before the death of the progenitor star are remarkably low. Therefore, although we cannot exclude the presence of a binary companion in the system of these stars, we disfavor the idea that the physical mechanism responsible for the appearance of shock-ionization features in young core-collapse SNe is directly related to the presence of a companion star.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">Conclusions</head><p>In this work we presented the multiwavelength evolution of the Type II SN 2020pni, which exploded in the host galaxy UGC 09684. The object was discovered by ALeRCE in the ZTF data stream only a few hours after explosion, and we promptly activated a multiwavelength radio through X-ray follow-up campaign. Our first optical spectrum, obtained &#8764;1.5 days after our estimated explosion epoch, highlighted the presence of flash-ionization features of He II,NIII,NIV, and C IV, with a partially resolved FWHM of 200-250 km s -1 . We interpret these features to have originated from a dense, confined shell of material, likely ejected by the progenitor of SN 2020pni in the last year before explosion. From the modeling of the first spectrum using the non-LTE radiative transfer code CMFGEN, we inferred a mass-loss rate of the progenitor of (-) M 3.5 5.3 10 3 &#61478; =-M e yr -1 . This is in agreement with the constraints obtained from the radio upperlimit analysis, which allows for a thick absorbing medium produced by a mass loss of &#9737; MM 51 0 y r 41 &#61478; &gt;&#180;--. We then compared the inferred physical properties with those of other shock-ionization SNe, in particular with the sample presented by <ref type="bibr">Boian &amp; Groh (2020)</ref>. SN 2020pni displays characteristics that are typical of this class of objects, and no correlation between the shown physical quantities appears evident. We further investigated the persistence of the narrow lines in these objects, as this parameter could be linked to the physical extent of the CSM at the time of explosion and the timing of the mass-loss episodes responsible for the creation of this thick CSM. The sample of objects where this timescale can be measured is smaller, owing to the need for further spectroscopic follow-up observations beyond the classification spectrum in order to assess the actual persistence of the narrow lines; the comparison does not highlight any strong correlation either. This leads to a possible conclusion that the mass loss responsible for the creation of the nearby CSM is not linked to any obvious characteristics of the progenitor star. The mechanism inducing this mass loss not only has to be common to a relatively wide range of progenitor stars (with different surface compositions and size) but also needs to be linked to processes occurring toward the end of the life of a star in order to explain the timing of the mass loss. The core convection that occurs during the late-stage nuclear burning could be a viable mechanism to transmit energy, through gravity waves, from the core of the progenitor to the envelope. <ref type="bibr">Wu &amp; Fuller (2021)</ref> estimated that up to 10 46 -10 47 erg could be transmitted to the outer envelope during oxygen and neon burning, and this should happen 0.1-10 yr before core collapse. The amount of energy transferred is even higher for low-mass (&lt;12 M e ) and high-mass (&gt;30 M e ) stars. The growing number of objects discovered within days of explosion should provide more evidence for these types of phenomena, resulting in a better understanding of the final phases of massive stars.</p><p>As the SN blast wave expands, it collides with the surrounding CSM and forms a shock front. The accelerated electrons within the forward-shock region produce synchrotron emission, which is attenuated by synchrotron self-absorption (SSA) a n db ye x t e r n a l free-free absorption. The SSA spectrum can be approximated by a smoothed broken power law of the form</p><p>where F p is the peak flux at the SSA frequency (&#957; b ), &#946; is the optically thick spectral index, &#945; is the optically thin spectral index, and s is a smoothing factor. For a fiducial SSA spectrum, &#946; = 2.5, &#945; = -1, and s = 1. This emission is attenuated by free-free absorption by the unshocked material in front of the blast wave. We follow <ref type="bibr">Weiler et al. (1986, Equations (</ref> <ref type="formula">3</ref>)-( <ref type="formula">16</ref>)) to determine the optical depth of this material. Assuming that the progenitor star had a constant mass-loss rate in the years prior to explosion, its wind would form CSM with a density profile &#961; &#8733; r -2 (a windprofile medium). The amount of material in front of the shock (and hence the optical depth) can thus be determined if the time-dependent radius of the forward shock is known. <ref type="bibr">Chevalier (1998)</ref> and <ref type="bibr">Chevalier &amp; Fransson (2006)</ref> show that for a progenitor star having a density profile &#961; &#8733; r -n (where r is the stellar radius) and a wind-profile CSM, the SN blast wave will expand according to r sh &#8733; t ( n-3)/( n-2) , which means that the shock velocity is given by</p><p>where r sh and v sh are, respectively, the shock radius and velocity at time t post-explosion and appropriate progenitors (e.g., Wolf-Rayet stars) have n &#8776; 10. If the peak flux and frequency of the SSA are measured, then <ref type="bibr">Chevalier &amp; Fransson (2006)</ref> show that the shock radius is given by &#180;. The parameters f and &#242; B are poorly constrained, but the shock radius is not strongly dependent on these parameters as r sh &#8733; &#945; -1/19 and r sh &#8733; ( f/0.5) -1/19 .Afiducial value of f = 0.5 is used in the literature (e.g., <ref type="bibr">Chevalier &amp; Fransson 2006)</ref>, and for relativistic shocks &#242; e &#8776; 0.1 <ref type="bibr">(Sironi et al. 2015)</ref>.</p><p>Following <ref type="bibr">Weiler et al. (1986)</ref>, for a blast wave expanding at this velocity (Equation (A2), with n = 10) in an ionized  where T g is the plasma temperature normalized to 10 4 K, &#957; is the frequency of the emission, M &#61478; is the mass-loss rate of the progenitor star, v sh is the velocity of the shock normalized to 0.1 c, and t is the time since explosion in days <ref type="bibr">(Weiler et al. 2002)</ref>.</p><p>The radio emission spectrum at a given time can thus be calculated using Equations (A1) and (A4).Specifically, we used a progenitor wind velocity of 200 km s -1 (as derived from our spectroscopic observations) and assumed a plasma temperature of 10 4 K (which is typical of photoionized gas), &#946; = 2.5, &#945; = -1, s = 1, n = 10, and f = 0.5. We then formed a grid of M &#61478; , &#957; b , F p , &#242; e ,a n d&#242; B values covering the range appropriate to SNe. In particular, we used &#242; e &#8776; 0.1, &#242; B = 0.1 and 0.01 (which are representative values derived from modeling of long-duration gamma-ray bursts),and&#242; e = &#242; B = 1/3 (which assumes equipartition of the post-shock energy density between the relativistic electrons and magnetic fields). For each set of these parameters, we calculated the shock velocity (Equation (A3) and c 11 b G =-,w h e r e&#946; is the shock velocity in units of the speed of light c) and radio spectrum at the time of each radio observation (i.e., at 37.3, 129, and 307 days post-explosion).The radio upper limits rule out some of these spectra, and hence also the corresponding combinations of the progenitor mass-loss rate and shock velocity. The shaded regions of Figure <ref type="figure">12</ref> show the parameter space that we ruled out for SN 2020pni in this manner. <ref type="bibr">Berger et al. (2002)</ref> used the same self-similar solution for the shock radius (r sh &#8733; t ( n-3)/( n-2) ; Chevalier 1998) to derive the shock velocity for a Wolf-Rayet progenitor in a windprofile environment as where v sh is in units of the speed of light, E k is the kinetic energy of the blast wave, and M ej is the ejecta mass. In Figure <ref type="figure">12</ref> the dashed blue lines showing representative values for the progenitor mass-loss rate and shock velocity are derived using Equation (A5) for E k &#8776; 10 51 erg and M ej &#8776; 1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Appendix B Follow-up Observations of SN 2020pni</head><p>In Table <ref type="table">A1</ref> we report the ground-based optical photometry of 2020pni, while in Tables <ref type="table">A2</ref> and<ref type="table">A3</ref> we report the photometry quired with UVOT, on board the Neil Gehrels Swift Observatory. T h eo n l ye p o c ho fN I Rp h o t o m e t r yi sr e p o r t e di nT a b l eA4.I n Table <ref type="table">A5</ref>, we provide a summary of the telescopes and instruments employed in the spectroscopic follow-up of SN 2020pni, while the complete log of the spectroscopic observations is shown in Table <ref type="table">A6</ref>. The radio observations measurements are reported in Table <ref type="table">A7</ref>. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>ORCID iDs</head></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>The Astrophysical Journal, 926:20 (22pp), 2022 February 10 Terreran et al.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="12" xml:id="foot_1"><p>http://www.sdss.org/dr6/products/catalogs/index.html</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="13" xml:id="foot_2"><p>http://ned.ipac.caltech.edu</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="14" xml:id="foot_3"><p>Note that only the Chabrier (2003) IMF was available for the latter library.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="15" xml:id="foot_4"><p>We used the calibration database (CALDB) version 20201008.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="16" xml:id="foot_5"><p>http://www.ipac.caltech.edu/2mass/</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="17" xml:id="foot_6"><p>IRAF is distributed by NOAO, which is operated by AURA, Inc., under cooperative agreement with the National Science Foundation (NSF).</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="18" xml:id="foot_7"><p>https://wis-tns.weizmann.ac.il/object/2020pni</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="19" xml:id="foot_8"><p>https://github.com/svalenti/FLOYDS_pipeline</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="20" xml:id="foot_9"><p>https://github.com/Keck-DataReductionPipelines/MosfireDRP</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="21" xml:id="foot_10"><p>https://wiserep.weizmann.ac.il/</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="22" xml:id="foot_11"><p>The extremely blue UV colors and early-time (t &lt; 5 days) color evolution of SN 2020pni impose nonnegligible deviations from the standard Swift-UVOT count-to-flux conversion factors. We account for this effect following the prescriptions by<ref type="bibr">Brown et al. (2010)</ref>.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="23" xml:id="foot_12"><p>The continuum is estimated using a spline fit to the region free of emission lines.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="24" xml:id="foot_13"><p>See also<ref type="bibr">Boian &amp; Groh (2018</ref>, 2019)  and<ref type="bibr">Boian &amp; Groh (2020)</ref> for more details.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="25" xml:id="foot_14"><p>Although the observations indicate a wind with stratified velocity (see Section 4.2.1), these assumptions concern the volume of the CSM swept by the ejecta at the time of the modeled spectrum. Considering that we use the spectrum taken &#8764;1.5 days after first light, we can assume the inner wind to be stationary without loss of generality.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="26" xml:id="foot_15"><p>The inner boundary roughly corresponds to where the source of ionization photons is in the models (actually the steep density increase) at the time of the observations. This is not to be mistaken for the inner boundary of the actual CSM, as we cannot infer anything for R &lt; R in .</p></note>
		</body>
		</text>
</TEI>
