<?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'>Close-up view of a luminous star-forming galaxy at &lt;i&gt;z&lt;/i&gt; = 2.95</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>02/01/2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10309193</idno>
					<idno type="doi">10.1051/0004-6361/202039743</idno>
					<title level='j'>Astronomy &amp; Astrophysics</title>
<idno>0004-6361</idno>
<biblScope unit="volume">646</biblScope>
<biblScope unit="issue"></biblScope>					

					<author>S. Berta</author><author>A. J. Young</author><author>P. Cox</author><author>R. Neri</author><author>B. M. Jones</author><author>A. J. Baker</author><author>A. Omont</author><author>L. Dunne</author><author>A. Carnero Rosell</author><author>L. Marchetti</author><author>M. Negrello</author><author>C. Yang</author><author>D. A. Riechers</author><author>H. Dannerbauer</author><author>I. Perez-Fournon</author><author>P. van der Werf</author><author>T. Bakx</author><author>R. J. Ivison</author><author>A. Beelen</author><author>V. Buat</author><author>A. Cooray</author><author>I. Cortzen</author><author>S. Dye</author><author>S. Eales</author><author>R. Gavazzi</author><author>A. I. Harris</author><author>C. N. Herrera</author><author>D. Hughes</author><author>S. Jin</author><author>M. Krips</author><author>G. Lagache</author><author>M. Lehnert</author><author>H. Messias</author><author>S. Serjeant</author><author>F. Stanley</author><author>S. Urquhart</author><author>C. Vlahakis</author><author>A. Weiß</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Exploiting the sensitivity of the IRAM NOrthern Extended Millimeter Array (NOEMA) and its ability to process large instantaneous bandwidths, we have studied the morphology and other properties of the molecular gas and dust in the star forming galaxy, H-ATLAS J131611.5+281219 (HerBS-89a), at              z              = 2.95. High angular resolution (0              .              ″3) images reveal a partial 1              .              ″0 diameter Einstein ring in the dust continuum emission and the molecular emission lines of              12              CO(9−8) and H              2              O(2              02              −1              11              ). Together with lower angular resolution (0              .              ″6) images, we report the detection of a series of molecular lines including the three fundamental transitions of the molecular ion OH              +              , namely (1              1              −0              1              ), (1              2              −0              1              ), and (1              0              −0              1              ), seen in absorption; the molecular ion CH              +              (1−0) seen in absorption, and tentatively in emission; two transitions of amidogen (NH              2              ), namely (2              02              −1              11              ) and (2              20              −2              11              ) seen in emission; and HCN(11−10) and/or NH(1              2              −0              1              ) seen in absorption. The NOEMA data are complemented with Very Large Array data tracing the              12              CO(1−0) emission line, which provides a measurement of the total mass of molecular gas and an anchor for a CO excitation analysis. In addition, we present              Hubble              Space Telescope imaging that reveals the foreground lensing galaxy in the near-infrared (1.15              μ              m). Together with photometric data from the Gran Telescopio Canarias, we derive a photometric redshift of              z              phot              = 0.9              −0.5              +0.3              for the foreground lensing galaxy. Modeling the lensing of HerBS-89a, we reconstruct the dust continuum (magnified by a factor              μ              ≃5.0) and molecular emission lines (magnified by              μ              ∼4−5) in the source plane, which probe scales of ∼0              .              ″1 (or 800 pc). The              12              CO(9−8) and H              2              O(2              02              −1              11              ) emission lines have comparable spatial and kinematic distributions; the source-plane reconstructions do not clearly distinguish between a one-component and a two-component scenario, but the latter, which reveals two compact rotating components with sizes of ≈1 kpc that are likely merging, more naturally accounts for the broad line widths observed in HerBS-89a. In the core of HerBS-89a, very dense gas with              n                              H                2                            ∼10              7−9              cm              −3              is revealed by the NH              2              emission lines and the possible HCN(11−10) absorption line. HerBS-89a is a powerful star forming galaxy with a molecular gas mass of              M              mol              =(2.1±0.4) × 10              11                            M              ⊙              , an infrared luminosity of              L              IR              =(4.6±0.4) × 10              12                            L              ⊙              , and a dust mass of              M              dust              =(2.6±0.2) × 10              9                            M              ⊙              , yielding a dust-to-gas ratio              δ              GDR              ≈80. We derive a star formation rate SFR=614±59              M              ⊙              yr              −1              and a depletion timescale              τ              depl              =(3.4±1.0) × 10              8              years. The OH              +              and CH              +              absorption lines, which trace low (∼100 cm              −3              ) density molecular gas, all have their main velocity component red-shifted by Δ              V              ∼100 km s              −1              relative to the global CO reservoir. We argue that these absorption lines trace a rare example of gas inflow toward the center of a galaxy, indicating that HerBS-89a is accreting gas from its surroundings.]]></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>In the last two decades, surveys in the far-infrared and submillimeter wavebands have opened up a new window for our understanding of the formation and evolution of galaxies, revealing a population of massive, dust-enshrouded galaxies forming stars at enormous rates in the early Universe (see, e.g., <ref type="bibr">Blain et al. 2002;</ref><ref type="bibr">Carilli &amp; Walter 2013;</ref><ref type="bibr">Casey et al. 2014;</ref><ref type="bibr">Hodge &amp; da Cunha 2020)</ref>. In particular, the extragalactic imaging surveys done with the Herschel Space Observatory <ref type="bibr">(Pilbratt et al. 2010)</ref>, such as Herschel-ATLAS <ref type="bibr">(Eales et al. 2010a)</ref>, HerMES <ref type="bibr">(Oliver et al. 2012)</ref>, and PEP <ref type="bibr">(Lutz et al. 2011)</ref>, have increased the number of dust-obscured star-forming galaxies from hundreds to several hundred thousand. Together with other large-area surveys, such as the all-sky Planck-HFI (Planck Collaboration Int. XXVII 2015), the South Pole Telescope (SPT; <ref type="bibr">Carlstrom et al. 2011</ref>) cosmological survey <ref type="bibr">(Staniszewski et al. 2009;</ref><ref type="bibr">Vieira et al. 2010)</ref>, and the Atacama Cosmology Telescope (ACT; <ref type="bibr">Marsden et al.</ref> The reduced datacubes are only available at the CDS via anonymous ftp to cdsarc.u-strasbg.fr <ref type="bibr">(130.79.128.5)</ref> or via <ref type="url">http: //cdsarc.u-strasbg.fr/viz-bin/cat/J/A+A/646/A122</ref> 2014; <ref type="bibr">Gralla et al. 2020</ref>), today we have vast samples of luminous dusty star-forming galaxies (DSFGs) that are amongst the brightest galaxies in the Universe, including numerous examples of strongly lensed systems (e.g., <ref type="bibr">Negrello et al. 2010</ref><ref type="bibr">Negrello et al. , 2017;;</ref><ref type="bibr">Cox et al. 2011;</ref><ref type="bibr">Bussmann et al. 2013;</ref><ref type="bibr">Spilker et al. 2014;</ref><ref type="bibr">Ca&#241;ameras et al. 2015;</ref><ref type="bibr">Reuter et al. 2020</ref>) and rare cases of galaxies with intrinsic infrared luminosities, L FIR 10 13 L , and star formation rates (SFRs) in excess of 1000 M yr -1 , known as Hyper-Luminous Infrared Galaxies (HyLIRGs, see, e.g., <ref type="bibr">Ivison et al. 1998</ref><ref type="bibr">Ivison et al. , 2013</ref><ref type="bibr">Ivison et al. , 2019;;</ref><ref type="bibr">Fu et al. 2013;</ref><ref type="bibr">Oteo et al. 2016;</ref><ref type="bibr">Riechers et al. 2013</ref><ref type="bibr">Riechers et al. , 2017))</ref>.</p><p>Detailed follow-up studies of these galaxies to investigate their nature and physical properties require robust estimates of their distances. Due to the dust obscuration in these objects, searching for CO emission lines via millimeter and submillimeter spectroscopy has proved to be the most reliable method for measuring accurate redshifts. This approach has become more and more efficient thanks to the increased bandwidths of the receivers and backends, most notably at the NOrthern Extended Millimeter Array (NOEMA) and the Atacama Large Millimeter/submillimeter Array (ALMA; e.g., <ref type="bibr">Wei&#223; et al. 2013;</ref><ref type="bibr">Fudamoto et al. 2017;</ref><ref type="bibr">Neri et al. 2020;</ref><ref type="bibr">Reuter et al. 2020, and references therein)</ref>.</p><p>Using NOEMA, <ref type="bibr">Neri et al. (2020)</ref> reported the results of a project whose aim was to measure robust spectroscopic redshifts for 13 bright Herschel-selected galaxies with S 500 &#181;m &gt; 80 mJy, preferentially selecting lensed systems <ref type="bibr">(Negrello et al. 2010)</ref>. Reliable spectroscopic redshifts were derived for 12 individual sources, demonstrating the efficiency of deriving redshifts of high-z galaxies using the new correlator and broadband receivers on NOEMA. Based on the success of this Pilot Program, we started a comprehensive redshift survey of a sample of 125 of the brightest Herschel-selected galaxies (using the same selection criteria as above), the NOEMA Large Program z-GAL, whose main scientific goal is to further characterize the properties of luminous DSFGs in the early Universe. Interestingly, half of the sources in the Pilot Program sample display CO emission line widths in excess of 800 km s -<ref type="foot">foot_0</ref> . Based on their estimated locations relative to the L CO(1-0) versus &#8710;V(CO) relationship of <ref type="bibr">Harris et al. (2012)</ref>, several of the sources are inferred to be gravitationally amplified, while a number of them appear to belong to the rare class of hyper-luminous infrared galaxies <ref type="bibr">(Neri et al. 2020)</ref>.</p><p>One of these galaxies, H-ATLAS J131611.5+281219 (hereafter HerBS-89a), at z = 2.9497, displays a very strong 2 mm continuum (with a flux density S 159 GHz = 4.56 &#177; 0.05 mJy) and CO emission lines that are the broadest of the entire sample with a line width (FWHM) of &#8710;V &#8764; 1100 km s -1 . Both the 2 mm continuum and 12 CO(5-4) line emission were resolved by the 1. 2 imaging, with an extension of 0. 9 &#177; 0. 1 in the eastwest direction. The corresponding infrared luminosity of HerBS-89a (between 8 and 1000 &#181;m in the rest-frame; uncorrected for amplification) is estimated to be (2.9 &#177; 0.2) &#215; 10 13 L , which suggested that HerBS-89a could be a HyLIRG.</p><p>In order to further explore the properties of HerBS-89a, we used NOEMA to perform high angular resolution observations at 1 mm. We observed, in addition to the underlying dust continuum, the emission lines of 12 CO(9-8) and H 2 O(2 02 -1 11 ); the three lines of the ground state of the molecular ion OH + , (1 1 -0 1 ), (1 2 -0 1 ) and (1 0 -0 1 ), which are for the first time reported together in a high-z galaxy; the CH + (1-0) line seen in absorption (and tentatively in emission); NH 2 (2 02 -1 11 )(5/2-3/2) seen in emission; and  and/or NH(1 2 -0 1 ) seen in absorption, here also reported for the first time in a high-z galaxy.</p><p>In HerBS-89a, the 0. 3 images of the molecular emission lines and the dust continuum reveal a partial 1. 0 diameter Einstein ring. All of the observed transitions of the molecular ions OH + and CH + are seen in absorption against the strong dust continuum. Together, the molecular emission and absorption lines allow us to probe simultaneously in HerBS-89a regions that have very different properties, ranging from the (very) dense molecular gas traced by 12 CO(9-8), H 2 O (2 02 -1 11 ), NH 2 and HCN(11-10) (overlapping with NH(1 2 -0 1 )), to the low H 2 fraction, diffuse gas traced in OH + and the reservoirs of turbulent, cold and low-density molecular gas traced by CH + , thereby providing a unique view at sub-kpc spatial resolution (in the source plane) of the physical properties and feedback activity in this high-z system.</p><p>The NOEMA data are complemented by Hubble Space Telescope (HST) imaging that traces the foreground massive lensing galaxy in the near-infrared (using the F110W filter around 1.1 &#181;m), and by optical/near-infrared data obtained with the Gran Telescopio Canarias (GTC) that provide constraints on the redshift of the lensing galaxy. In addition, we also present data obtained with the Karl G. Jansky Very Large Array (VLA) on the 12 CO(1-0) emission line, which allow us to derive the mass of molecular gas in HerBS-89a and give an anchoring point for an analysis of its CO spectral line energy distribution.</p><p>The structure of the paper is as follows. Section 2 describes the NOEMA, VLA, HST, and GTC observations, and the reduction of the respective data sets; Sect. 3 presents the main results, including the morphology of the source, the properties of the molecular emission and absorption lines and the underlying continuum; Sect. 4 describes the characteristics of the foreground lensing galaxy; Sect. 5 presents the lensing model and the morphology of HerBS-89a in the source plane; and Sect. 6 outlines the global intrinsic properties of the dust and molecular gas (derived from the CO and water emission lines) corrected for amplification, including the CO excitation. The molecular gas kinematics and the dynamical mass are reported in Sect. 7; the properties of the molecular absorption and emission lines other than CO and H 2 O are outlined in Sect. 8; and a discussion of the gas inflow suggested by the red-shifted molecular absorption lines of OH + and CH + is presented in Sect. 9. Finally, Sect. 10 summarizes the main conclusions of this paper and outlines future prospects.</p><p>Throughout this paper we adopt a spatially flat &#923;CDM cosmology with H 0 = 67.4 km s -1 Mpc -1 and &#8486; M = 0.315 (Planck Collaboration VI 2020) and assume a <ref type="bibr">Chabrier (2003)</ref> initial mass function <ref type="bibr">(IMF)</ref>. At the redshift z = 2.9497 of HerBS-89a, one arc-second corresponds to 7.9 kpc and the luminosity distance to the source is D L = 2.5 &#215; 10 4 Mpc.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Observations and data reduction</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">NOEMA</head><p>We used NOEMA to target high-frequency molecular lines in HerBS-89a, redshifted into the 1 mm band. The observations were carried out under two separate projects.</p><p>The first project was a Discretionary Directorial Time (DDT) project, labeled E18AE (P.I.: R. Neri), observed on February 5, 2019 with ten antennas using the extended A-configuration, yielding an angular resolution of 0. 3, for a total observing time of 4.3 h on-source time. This project, which was specifically tailored to measure the 12 CO(9-8) and H 2 O(2 02 -1 11 ) emission lines, also enabled the detection of two strong absorption lines of the molecular ion OH + corresponding to the redshifted ground state transitions of OH + (1 1 -0 1 ) and OH + (1 2 -0 1 ) (&#957; rest = 1033.118 GHz and 971.803 GHz, respectively) 1 .</p><p>The second project, labeled W19DE (P.I.: S. Berta), was completed on March 30th, 2020 with ten antennas using the intermediate C-configuration, yielding an angular resolution of 1. 0 &#215; 0. 6, for a total on-source observing time of 4.2 h. This project was a follow-up of the DDT to measure the third ground state transition of OH + (1 0 -0 1 ) (&#957; rest = 909.158 GHz) 1 and the ground state transition of the molecular ion CH + (1-0) (&#957; rest = 835.137 GHz) 2 .</p><p>Observing conditions were excellent for both projects with an atmospheric phase stability of 20 &#8226; rms and 0.8 mm of precipitable water vapor. The correlator was operated in the low resolution mode to provide spectral channels with nominal resolution of 2 MHz. The NOEMA antennas were equipped with 2SB receivers that cover a spectral window of 7.744 GHz in each sideband and polarization. For the first series of observations, we covered the frequency range from 244.9 to 252.6 GHz and 260.4 to 268.1 GHz; for the second series, the frequency ranges were from 209.4 to 217.1 GHz and 224.9 to 232.6 GHz.</p><p>The strength of the continuum in HerBS-89a at 1 mm (&#8764;20 mJy -see Table <ref type="table">1</ref>) enabled phase self-calibration, which significantly improved the image fidelity and dynamic range both in the continuum and molecular line emission (see <ref type="bibr">Sects. 3.1.1 and 3.1.2)</ref>. The flux calibrator used in both projects was Lk H&#945;101. The phase calibrator for the high-angular resolution project (E18AE) was 1308+326. The data were calibrated, averaged in polarization, mapped, and analyzed in the GILDAS software package. The absolute flux calibration is accurate to within 10% and the 1&#963; error on the absolute position of HerBS-89a is estimated to be &lt;0. 2.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">VLA</head><p>The National Radio Astronomy Observatory's (NRAO) VLA was used to observe the 12 CO(1-0) emission line in HerBS-89a when the array was in the C configuration. The observations are part of a larger project (program I.D.:VLA/20A-083 -P.I.: D. Riechers) whose goal was to measure the 12 CO(1-0) emission lines in the sample of Herschel-selected galaxies studied in <ref type="bibr">Neri et al. (2020)</ref>; the complete results of that project will be presented in a forthcoming paper <ref type="bibr">(Stanley et al., in prep.)</ref>. The data were acquired on March 22, 2020 under stable atmospheric conditions. The 0.9 cm Ka band receivers were tuned (1 GHz bandwidth per IF) to the expected frequency of the CO emission line, that is 29.1848 GHz based on the redshift determined by <ref type="bibr">Neri et al. (2020)</ref>, and to 38.499 GHz for the second baseband. In total, we observed for 1.6 h (with 62 min on-source) recording 1024&#215;2 MHz dual-polarization channels across a total bandwidth of 2 GHz, which was chosen to maximize line sensitivity while retaining as much bandwidth as possible. The 2 GHz bandwidth setup was used to maximize the potential for stacking of faint lines (for the entire VLA project), while at same time retaining sufficient spectral resolution (2 MHz, i.e., 16-21 km s -1 ) to finely sample the broad CO emission line of HerBS-89a. The 8bit samplers were selected to maximize sensitivity. The source 3C286 was observed to determine accurate complex gain and bandpass correction solutions and was also observed to set the absolute scale flux density based on the <ref type="bibr">Perley &amp; Butler (2017)</ref> models; the pointing accuracy was checked regularly. The data were calibrated, averaged in polarization, mapped using natural baseline weighting and analyzed in the CASA (Common Astronomy Software Applications) package. The resulting line map has a spatial resolution of 1. 24 &#215; 0. 79 (PA -62.3 &#8226; ) and a rms noise level of 32.1 &#181;Jy beam -1 over a band width of 0.13 GHz. The absolute flux scale is estimated to be accurate to within 10%.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.">HST</head><p>HerBS-89a was observed with the HST in March 2012 as part of a cycle-19 SNAPshot proposal (program I.D.: 12488 -P.I.: M. Negrello), which aimed, amongst other goals, at characterizing the nature of the putative lenses in a large sample of candidate lensing systems selected at 500 &#181;m in the Herschel extragalactic surveys. Observations were obtained with the Wide Field Camera 3 (WFC3) using the wide-J filter F110W (peak wavelength 1.15 &#181;m). The total exposure time is 252 s. Data were reduced using the Python AstroDrizzle package, with parameters optimized to improve the final image  .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>HerBS-89a</head><p>HerBS-89b  quality. The pixel scale of the Infrared-Camera is 0. 128, but the image was resampled to a finer pixel scale of 0. 064 by exploiting the adopted sub-pixel dither pattern. The astrometry of the resulting image was calibrated by matching the positions of 11 stars from SDSS DR12 and 2MASS and is accurate to within 0. 1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4.">GTC</head><p>HerBS-89a was observed with the GTC 10.4 m telescope in two observing runs (program ID: GTC03-19ADDT and GTC09-19ADDT; PI: H. Dannerbauer). First, optical imaging was obtained using the instrument OSIRIS on April 6, 2019.</p><p>The observations were conducted in service mode under clear skies (although with non-photometric conditions), integrating for 10 min in the Sloan r-band filter with a seeing of 0. 8. The field of view is 7 .5 &#215; 6 .0 and the pixel size 0. 254. Standard procedures for data reduction and calibration of the raw images were performed with the IRAF data reduction package <ref type="bibr">(Tody 1986</ref>).</p><p>The second series of observations was performed on June 7, 2020 using the visitor instrument HiPERCAM for a total observing time of 1.25 h under average seeing conditions (0. 9). HiPERCAM is a quintuple-beam CCD imager enabling the five A122, page 3 of 33  Sloan filter ugriz to be observed simultaneously over a field of view of 2 .8 &#215; 1 .4 with a pixel size of 0. 081 <ref type="bibr">(Dhillon et al. 2018, and references therein)</ref>. The HiPERCAM team designed a dedicated data reduction tool<ref type="foot">foot_2</ref> that applies standard procedures for the reduction and calibration of the raw images.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">NOEMA and VLA results</head><p>In this section, we describe the new data obtained on HerBS-89a, outline the properties derived from the NOEMA 1 mm highangular resolution observations for both the continuum and the molecular emission and absorption lines (Sect. 3.1), and present the results on the 12 CO(1-0) emission line measured with the VLA (Sect. 3.2).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">NOEMA results</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.1.">Continuum emission</head><p>Figure <ref type="figure">1</ref> presents the two continuum maps of HerBS-89a obtained by merging the lower and upper side-bands of each set of observations, resulting in a high-angular resolution image centered at &#8764;254.6 GHz and a lower angular resolution image at &#8764;220.8 GHz. We reach a sensitivity of &#963; = 29 and 33 &#181;Jy beam -1 in the two bands, respectively. Merging the two side-bands of the high-resolution continuum images improves the S/Ns and resulted, by applying a uniform weight, in a final image with beam size of 0. 43 &#215; 0. 22, to be compared to the 0. 55 &#215; 0. 33 achieved by the Aconfiguration that was used for these observations with natural weighting.</p><p>Figure <ref type="figure">2</ref> presents a zoom-in on this high-resolution continuum image of HerBS-89a. It displays an Einstein ring-like morphology, with a double source linked by weak arc structures, indicating that HerBS-89a is lensed. The high quality of the image reveals the details of the morphology of the dust continuum, such as the differences between the northern and southern continuum peaks as well as the weaker emission extending between them.</p><p>For the lower frequency data obtained using the mediumcompact C-configuration of NOEMA, the source is only marginally resolved. Combining the data from the upper and lower side-bands resulted in a beam of 1. 1 &#215; 0. 66.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A122, page 4 of 33</head><p>To the east of HerBS-89a, the weak unresolved source (labeled HerBS-89b), which was already detected in 2 mm continuum by <ref type="bibr">Neri et al. (2020)</ref>, is detected in the 1.2 mm continuum emission in both images (Fig. <ref type="figure">1</ref>), about 6 east of the phase center of our observations. The detection reported here confirms the authenticity of this source. However, there is no corresponding source in the SDSS catalog at that position. The faintness of HerBS-89b precludes the extraction of spectroscopic information from the available NOEMA data.</p><p>Continuum aperture flux densities have been measured for each side-band separately. Table <ref type="table">1</ref> summarizes the values, both for HerBS-89a and the serendipitous source HerBS-89b, which is seen to be &#8776;40&#215; fainter than HerBS-89a. The effective frequencies of the adopted continuum bands and the statistical uncertainties on the flux densities are also provided. The latter should be added in quadrature to the 10% absolute flux calibration uncertainty (see Sect. 2.1).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.2.">Molecular emission and absorption lines</head><p>The large bandwidth of the NOEMA receivers allows us to search in HerBS-89a for redshifted emission and absorption lines over a wide range in frequency. The complete spectra of HerBS-89a, integrated over the areas subtended by the lines (see below) and normalized by the continuum, are displayed in Fig. <ref type="figure">3</ref>. Each of the panels covers the frequency range of one sideband (LSB or USB) of one of the two observational projects discussed above, namely between 245 and 268 GHz (two upper panels) and between 209 and 233 GHz (two lower panels). Two strong molecular emission lines are present, 12 CO(9-8) and H 2 O(2 02 -1 11 ), which both display wide profiles similar to those seen in the 12 CO(3-2) and 12 CO(5-4) emission lines <ref type="bibr">(Neri et al. 2020</ref>). In addition, the three lines of the ground state of the molecular ion OH + are all detected in absorption: the (1 1 -0 1 ) line, which is adjacent in frequency to the 12 CO(9-8) emission line, and the (1 2 -0 1 ) and (1 0 -0 1 ) lines, which are detected for the first time in a high-z galaxy. Blueshifted from the strong OH + (1 2 -0 1 ) absorption line, another weaker absorption line is detected that is due to HCN(11-10) (&#957; rest = 974.487 GHz) and/or NH(1 2 -0 1 ) (&#957; rest = 974.471 GHz) (see Sect. 8.1 for a detailed discussion). Next to the OH + (1 0 -0 1 ) absorption line, another line is seen in emission, which corresponds to o -NH 2 (2 02 -1 11 )(5/2-3/2) (&#957; rest = 907.433 GHz). A second NH 2 line is detected with lower signal-to-noise ratio (S/N) at higher frequency, the NH 2 (2 20 -1 11 )(5/2-3/2) transition at &#957; rest = 993.3226 GHz. Finally, the molecular ion CH + is detected in the ground transition, CH + (1-0); its profile is dominated by an absorption line that has a width similar to those of the OH + absorption lines and at the same red-shifted velocity; in addition, a weak and broad (&#8764;850 km s -1 ) emission component is likely present, of which the extreme red and blue wings are detected at low S/N at either side of the absorption line.</p><p>Also identified in Fig. <ref type="figure">3</ref> are the positions of red-shifted molecular lines that fall within the observed frequency range but remained undetected in HerBS-89a, including: SH + (2-1) (&#957; rest = 893.152 GHz), o -NH 2 (2 02 -1 11 )(3/2-1/2) (&#957; rest = 902.210 GHz), H 2 O + (3 12 -3 03 ) (&#957; rest = 982.955 GHz), and o -H 3 O + (0 - 0 -1 + 0 ) (&#957; rest = 984.708 GHz), most of which are seen in the spectrum of the local merger Arp 220 <ref type="bibr">(Rangwala et al. 2011)</ref>.</p><p>Figure <ref type="figure">4</ref> shows the angular extents of the eight molecular emission and absorption lines detected with NOEMA in HerBS-89a, each compared to the continuum extracted in the respective sideband to which it belongs. The 12 CO(9 <ref type="table">-8)</ref> and<ref type="table">H 2 O(2 02 -1 11 )</ref> emission lines are detected in both lensed components of HerBS-89a, but are slightly shifted in position with respect to each other, with the water line being well centered on the continuum emission peaks. In order to recover more information on the distribution of the molecular emission lines, we combined the 12 CO(9-8) and H 2 O(2 02 -1 11 ) velocity averaged images, under the assumption that they are probing roughly the same reservoir of high density and temperature molecular gas in HerBS-89a. The increased S/N of the combined image (see upper right panel in Fig. <ref type="figure">4</ref>) reveals the molecular emission to the west, joining the southern and northern peaks, and resembling the image of the dust continuum emission.</p><p>The two strong OH + absorption lines detected in our higher angular resolution data, namely the (1 1 -0 1 ) and (1 2 -0 1 ) transitions, also coincide with the southern and northern peaks of the continuum emission. The combined OH + (1 1 -0 1 ) and (1 2 -0 1 ) map, integrated between -400 and +400 km s -1 from the line center in order to avoid contamination by neighboring lines (right panel in the second row of Fig. <ref type="figure">4</ref>), further highlights this spatial coincidence.</p><p>The faint absorption lines of our lower angular resolution data are detected mainly toward the southern component of HerBS-89a; the CH + absorption seems to be more extended than the OH + absorption. The image of the HCN(11-10) and/or NH(1 2 -0 1 ) absorption line shows two peaks exactly centered on the dust continuum emission peaks with no indication of emission extending further out. Finally, the NH 2 (2 02 -1 11 )(5/2-3/2) emission line peaks westward of the continuum peak, as expected for red-shifted gas (see below).</p><p>In Fig. <ref type="figure">5</ref>, we show the integrated spectra of all the individual molecular emission and absorption lines detected in HerBS-89a, including the 12 CO(3-2) and 12 CO(5-4) emission lines reported in <ref type="bibr">Neri et al. (2020)</ref>. In the following, we discuss the properties of each of these molecular lines.</p><p>For the two low-J CO emission lines, <ref type="bibr">Neri et al. (2020)</ref> fitted each of the double-peaked line profiles with two Gaussian components, with identical widths (FWHM = 631 km s -1 ) and central velocities shifted by &#177;289 km s -1 from the nominal line frequency at the redshift of HerBS-89a (z = 2.9497) (Table <ref type="table">2</ref>). We adopt here the same approach for the 12 CO(9-8), H 2 O(2 02 -1 11 ) and NH 2 (2 02 -1 11 )(5/2-3/2) emission lines, fixing their component velocities to the values found for 12 CO(5-4) and (3-2). We also force the two Gaussian components (of each line) to have the same width (see Table <ref type="table">2</ref>). For the NH 2 (2 20 -1 11 )(5/2-3/2) emission line, the detection has too low S/N to enable a reasonable fit and we therefore here report only upper limits to its line flux.</p><p>As mentioned above, the CH + (1-0) line seems to display weak emission features on both sides of the absorption line. The fit to the profile shows the overlapping deep absorption feature and the less-well defined, broad component seen in emission.</p><p>The OH + (1 2 -0 1 ) absorption line displays strong, red-shifted absorption, whose profile is well reproduced by a narrow and deep absorption line, red-shifted by &#8764;100 km s -1 . Next to this OH + absorption line, the broad weak absorption line, which corresponds to HCN(11-10) and/or NH(1 2 -0 1 ), is centered at zero velocity and has a width of &#8764;800 km s -1 . As shown in Fig. <ref type="figure">4</ref>, this broad absorption line is very concentrated spatially, peaking on the northern and southern peaks of the dust continuum emission.</p><p>The OH + (1 0 -0 1 ) and NH 2 (2 02 -1 11 )(5/2-3/2) lines are close to each other in frequency <ref type="bibr">(i.e., 230.18 and 229.74</ref> GHz, corresponding to a velocity difference of &#8710;V &#8764; 150 km s -1 ). In the observed spectrum (Fig. <ref type="figure">5</ref>) there is an apparent shift for both species to the red by &#8764;250 km s -1 with respect to their nominal Fig. <ref type="figure">3</ref>. Spectra of HerBS-89a in the frequency ranges between 245 and 268 GHz and between 209 and 233 GHz. The spectra have been normalized by the continuum, which was modeled with a linear function (see text). The velocity channels were binned to 40 km s -1 for the 245-268 GHz data and 60 km s -1 for the 209-233 GHz data, reaching rms of 0.6 and 0.4 mJy per channel, respectively. The rest-frame and observed frequencies are given on the upper and lower horizontal axes, respectively. All the detected molecular emission and absorption lines are identified (with the arrows positioned at the line frequencies). In addition, the redshifted positions of molecular lines (at z = 2.9497) that fall within the observed frequency range, but were not detected, are indicated (in italics): o -</p><p>frequencies. For the OH + (1 0 -0 1 ) absorption, this shift is larger than for the two other OH + transitions, and in the case of NH 2 , the profile seems to be inconsistent with those seen for other molecular emission lines tracing dense gas (CO and H 2 O). Since NH 2 (amidogen) is a photodissociation product of NH 3 (ammonia), it should probe the dense gas traced in the high-J CO or water lines, and therefore display a similar double Gaussian profile. However, we only see the red-shifted component of the double-peaked line profile, most likely because the blue-shifted part of the NH 2 emission line has been entirely suppressed by the OH + absorption line. We have therefore fitted simultaneously the overlapping OH + absorption and NH 2 emission lines using three Gaussian profiles, namely: (i) two components for NH 2 , where the velocities are derived from the 12 CO(5-4) and 12 CO(3-2) emission lines and the ratio of the blue and red peaks similar to that of the double Gaussian profile of the 12 CO(5-4) emis-sion line; (ii) one Gaussian for the OH + absorption line whose width and the center velocity are derived from the narrow and deep OH + (1 2 -0 1 ) absorption line. The fit shown in Fig. <ref type="figure">5</ref> reproduces very well the observed spectrum including the velocity shift described above. Table <ref type="table">2</ref> summarizes the results of the spectral line fitting. For each molecular line, the main properties of the best Gaussian fits are listed, including the central velocity and frequency, the full Notes. The data for the 12 CO(3-2) and 12 CO(5-4) emission lines are from <ref type="bibr">Neri et al. (2020)</ref>. The fitting of each line is shown in Fig. <ref type="figure">5</ref>. When one parameter is quoted without uncertainty, its value was fixed during the fitting procedure. The observed line luminosities &#181;L line have been derived using the standard relation given by <ref type="bibr">Solomon &amp; Vanden Bout (2005)</ref> -see Sect. 6.2 and Eq. ( <ref type="formula">6</ref>). ( * ) Combination of the two Gaussian components. ( * * ) Only the visible red component. ( * * * ) Net absorption only. ( &#8224;) The two NH 2 transitions are (2 02 -1 11 ) (5/2-3/2) and (2 20 -2 11 ) (5/2-3/2), respectively. In the case of the latter transition, we provide a 3&#963; upper limit. ( &#8225;) In the case of the absorption line observed at 246.72 GHz, we here provide the derived properties for HCN and NH separately, noting that both molecules likely do contribute to the observed absorption (see Sect. 8.1).</p><p>Fig. <ref type="figure">5</ref>. Spectra of the molecular emission and absorption lines detected in HerBS-89a reported in this study, together with the 12 CO(5-4) and 12 CO(3-2) spectra from <ref type="bibr">Neri et al. (2020)</ref>. Each molecular line is identified in the lower corner of each panel (labeled in black) and, in the case of a line overlap, as 12 CO(9-8)/OH + (1 1 -0 1 ), OH + (1 2 -0 1 )/HCN(11-10) and OH + (1 0 -0 1 )/o -NH 2 (2 02 -1 11 )(5/2-3/2), the second molecular line is labeled in red. The spectra are displayed with the continuum subtracted and, in each panel, the molecular line (labeled in black) is plotted relative to the zero velocity corresponding to its rest frequency. Fits to the emission and absorption molecular lines are shown as solid lines, and, when multi-component and/or multiple lines have been fitted, they are displayed individually as dashed lines (see text for details). width at half maximum (FWHM), the integrated intensity, and the intrinsic frequency. All the uncertainties are propagated into the derived quantities.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.3.">Optical depths and column densities of lines seen in absorption</head><p>The optical depth of an absorption line (&#964; &#957; ) can be evaluated from the observed spectrum normalized by the continuum as follows</p><p>where S &#957; is the flux density of the spectrum and S cont &#957; that of the continuum only. The optical depth is evaluated at the central frequency &#957; 0 of the line. Table <ref type="table">3</ref> reports the values of &#964;(&#957; 0 ) obtained from the integrated spectra shown in Fig. <ref type="figure">3</ref>, that is, averaged over the angles covered by the lines on the sky. In the case of the two strongest absorption lines (the OH + (1 1 -0 1 ) and (1 2 -0 1 ) transitions), maps of the opacity are displayed in Fig. <ref type="figure">6</ref>.</p><p>Using Eq. ( <ref type="formula">1</ref>) and the continuum-normalized spectra, we compute "optical depth spectra" that describe the variation of &#964; &#957; along the absorption lines, as a function of frequency or velocity. The column density N l of the absorption line is derived by integrating over the velocity range of the line along the line of sight (e.g., <ref type="bibr">Comito et al. 2003</ref>; see also <ref type="bibr">Indriolo et al. 2015</ref><ref type="bibr">Indriolo et al. , 2018))</ref>:</p><p>The quantity &#964; &#957; dV and the speed of light c can be expressed in units of [cm s -1 ], and the transition frequency &#957; in [Hz] (see Table <ref type="table">2</ref> for the corresponding frequencies of each line), so that N l is directly computed in units of [cm -2 ]. The quantities g l and g u are the lower and upper state statistical weights, and A ul is the spontaneous emission coefficient. We compute the column density for the strongest of the hyperfine transitions for the specific rotational &#8710;J, and we assume that nearly all molecules are in the ground rotational state. The values of the statistical weights and the emission coefficients are taken from the Cologne Database for Molecular Spectroscopy (CDMS; <ref type="bibr">M&#252;ller et al. 2005)</ref>. Table <ref type="table">3</ref> summarizes the results for the absorption lines observed in HerBS-89a, i.e, the three OH + transitions, Table <ref type="table">3</ref>. Optical depths and column densities for the molecular absorption lines.</p><p>Line</p><p>0.36 &#177; 0.13 -145 to +500 91.4 &#177; 22.8 2.6 &#177; 0.7 HCN(11-10) 0.24 &#177; 0.12 -570 to +430 66.1 &#177; 18.3 0.38 &#177; 0.1 NH(1 2 -0 1 ) 0.24 &#177; 0.12 -570 to +430 66.1 &#177; 18.3 6.7 &#177; 1.9</p><p>Notes. The frequency &#957; 0 corresponds to the deepest dip of each lines. In the case of the absorption line observed at 246.72 GHz, we provide two possible column densities obtained assuming that the line is a transition of either HCN or NH separately, although we note that both lines likely contribute at the same time (see Sect. 8.1).</p><p>CH + (1-0) and the absorption line observed at 246.72 GHz that is due to HCN(11-10) and/or NH(1 2 -0 1 ), listing the velocity integration ranges, the integrated optical depths, and the column densities. Uncertainties are computed from the dispersions of the spectra, via standard error propagation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.4.">Velocity fields</head><p>Detailed views on the dynamics of HerBS-89a are presented in Fig. <ref type="figure">7</ref>, which displays the velocity fields of all the molecular emission and absorption lines detected in this source. The emission lines of 12 CO(9-8) and H 2 O(2 02 -1 11 ) show similar, regular east-west velocity gradients, from blue to red along the southern arc, and reversed in the northern peak, as expected from gravitational lensing (see Sect. 5). The combined image of the 12 CO(9-8) and H 2 O(2 02 -1 11 ) emission lines reveals further details, in particular the velocity distribution along the western arc. The velocity field of these dense gas tracers is consistent with the presence of kinematically distinct components that could indicate a merger system, or with a single rotating disk-like structure (see Sect. 7). The main peaks of the three OH + and one CH + absorption lines are seen to be red-shifted across most of the continuum (Fig. <ref type="figure">7</ref>). Finally, the red-shifted component of the <ref type="table">NH 2 (2 02 -1 11 )(5/2-3/2</ref>) emission line is clearly seen west of the continuum peak, as expected from the velocity field revealed in the higher angular resolution data for the 12 CO(9-8) and H 2 O(2 02 -1 11 ) emission lines.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">VLA results:</head><p>The 12 CO(1-0) emission line</p><p>Figure <ref type="figure">5</ref> shows the VLA 12 CO(1 -0) emission line spectrum, resampled to a velocity resolution of &#8764;120 km s -1 to highlight the key properties of the line profile. Because of the limited S/Ns, we fit the observed line with a single Gaussian profile. The position of the 12 CO(1-0) emission line is consistent with the nominal redshift of HerBS-89a. Its FWHM is &#8710;V &#8764; 1400 km s -1 , comparable to those of the three high-J CO emission lines, and the observed total line intensity is I &#957; = 0.64 &#177; 0.13 Jy km s -1 (Table <ref type="table">2</ref>). The emission line map, which is shown in Fig. <ref type="figure">8</ref>, was obtained by integrating the VLA data cube between -800 and +500 km s -1 relative to the frequency of 12 CO(1-0) at z = 2.9497. The 12 CO(1-0) line emission is slightly resolved and displays an east-west extension, similar to what is observed in the other CO lines for which the emission has been resolved (i.e., the 12 CO(9-8) and (5-4) lines). It is noteworthy that, contrary to what is seen in the 12 CO(9-8) and dust continuum emission, the northern component in 12 CO(1-0) appears slightly stronger than the southern component; however, the difference is at a &lt;1&#963; level. If confirmed, this inconsistency may be the result of differential magnification and indicate that the molecular gas reservoir traced in CO (1-0) is more extended than that traced by the high-J CO and water transitions (see Sect. 5 for a detailed discussion).</p><p>Due to the limited sensitivity of the VLA data, the underlying continuum of HerBS-89a was not detected. We measure an rms of &#8764;15.4 and &#8764;20.1 &#181;Jy beam -1 in the continuum maps at 29 GHz (band width 0.74 GHz) and 38 GHz (band width 0.93 GHz) in the observed frame, with beam sizes of 1. 23&#215;0. 79 and 0. 96 &#215; 0. 59, respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">The foreground lensing galaxy</head><p>In this section, we derive the characteristics of the foreground lensing galaxy from the near-infrared HST image and the GTC photometry, supplemented by NOEMA data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Imaging results (HST)</head><p>Figure <ref type="figure">9</ref> displays the HST wide-J filter F110W image (at 1.15 &#181;m) toward HerBS-89a compared to the 1.2 mm dust continuum emission. The HST image reveals a galaxy along the line of sight to HerBS-89a, which lies close to its northern component but is offset by &#8764;0. 2 southwest from the northern dust continuum peak. The lensed galaxy itself remains undetected in the HST image. The near-infrared emission of the foreground lensing galaxy is resolved in the HST image. It is dominated by a bright bulge-like structure. It also displays a weak emission that extends in the east-west direction and that could resemble a disk. A bright spot to the northwest of the spheroidal component seems to wrap around the northern peak of the dust continuum, and could be a small satellite galaxy. From the HST data, the foreground galaxy has an estimated flux density of &#8764;4.36 &#177; 0.88 &#181;Jy at 1.15 &#181;m.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Photometric redshift (GTC)</head><p>The foreground lensing galaxy is also detected in our GTC OSIRIS r-band imaging with a magnitude r = 24.5&#177;0.3 AB mag. The deeper imaging with HiPERCAM detects the foreground galaxy in the griz bands, while in the u band the object remains undetected. The target lies very close to a bright (r = 19.5) point-like object, 3. 3 to the east, and the photometric measurement needs to take properly into account the wings of the bright neighbor.</p><p>The HiPERCAM maps were calibrated on SDSS DR12 stars present in the field. The code GALFIT <ref type="bibr">(Peng et al. 2002)</ref> was used to subtract the profile of the bright point-like nearby object using a model PSF. Aperture photometry was performed on the residual image to measure the emission of the target lensing galaxy. Uncertainties were derived measuring the noise level in an annulus around the object, thus taking into account the presence of the nearby source. Finally, systematic zero-point uncertainties were propagated in the estimate of the magnitude uncertainties. Table <ref type="table">4</ref> lists the derived magnitudes and the 3&#963; u band upper limit in the AB system <ref type="bibr">(Oke &amp; Gunn 1983)</ref>.</p><p>The foreground galaxy is also detected by WISE <ref type="bibr">(Wright et al. 2010</ref>) at 3.4 and 4.6 &#181;m. However, the WISE photometry likely includes contributions from the lensing galaxy, the lensed HerBS-89a galaxy, and the nearby bright point-like source. Because of the broad WISE beam (6. 1 at 3.4 &#181;m), it is impossible to disentangle the different components. Therefore only the GTC and HST data points have been retained in this analysis.</p><p>At r = 24.5 it is far from easy to obtain an optical spectroscopic redshift, but thanks to the sensitivity of HiPERCAM and the capability to observe simultaneously the five ugriz bands, together with the HST F110W imaging results, it is possible to derive a photometric redshift.</p><p>A122, page 11 of 33  <ref type="bibr">(Polletta et al. 2007;</ref><ref type="bibr">Ilbert et al. 2009</ref>). The inset displays the distribution of &#967; 2 as a function of redshift; the dotted horizontal lines correspond to the 1, 2, 3&#963; levels, defined as &#967; 2 min + 1, 2.71, 6.63. The best photometric redshift for the foreground galaxy is z phot = 0.9 +0.3 -0.5 where the errors are 3&#963;.</p><p>To get the best possible result, and test systematics due to the chosen method, we applied various photometric redshift codes EAZY <ref type="bibr">(Brammer et al. 2008</ref>), Hyper-z <ref type="bibr">(Bolzonella et al. 2000)</ref>, Le PHARE <ref type="bibr">(Arnouts et al. 1999;</ref><ref type="bibr">Ilbert et al. 2006), and</ref><ref type="bibr">MAGPHYS-z (da Cunha et al. 2008;</ref><ref type="bibr">Battisti et al. 2019)</ref> to the ugriz and F110W data, adopting different template libraries <ref type="bibr">(Coleman et al. 1980;</ref><ref type="bibr">Bolzonella et al. 2000;</ref><ref type="bibr">Berta et al. 2003</ref><ref type="bibr">Berta et al. , 2013;;</ref><ref type="bibr">Babbedge et al. 2004;</ref><ref type="bibr">Polletta et al. 2007;</ref><ref type="bibr">Brammer et al. 2008;</ref><ref type="bibr">Ilbert et al. 2009;</ref><ref type="bibr">da Cunha et al. 2015)</ref>. Since it best accounts for the upper limits, the final choice is the Le PHARE code.</p><p>The best photometric redshift of the foreground lensing galaxy thus obtained is z phot = 0.9, with a 99% confidence interval of 0.4 &lt; z phot,3&#963; &lt; 1.2. The best fit solution is obtained with a SB spiral template from the COSMOS library <ref type="bibr">(Ilbert et al. 2009)</ref>, originally belonging to the SWIRE library <ref type="bibr">(Polletta et al. 2007</ref>). Figure <ref type="figure">10</ref> shows the best fit model together with the &#967; 2 distribution. The photometric redshift is best constrained by the r-i color, tracing the D4000 break<ref type="foot">foot_3</ref> . The lack of rest-frame near-infrared coverage and the upper limit in the u band restrict the accuracy of the photo-z measurement. Deeper data and a wider wavelength coverage would be necessary to improve its precision.</p><p>In addition, various attempts were made using templates that include emission lines (e.g., <ref type="bibr">Babbedge et al. 2004)</ref>, with the aim to verify if the r and F110W bands could be contaminated by lines at z &#8764; 0.7, namely [Oii] (&#955;3727) and H&#945; (&#955;6563). However, none produced a better fit to the data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.">Spectroscopic redshift (NOEMA)</head><p>An independent indication of the redshift of the lensing foreground can possibly be derived from the 2 mm spectral scan that was obtained to derive the spectroscopic resdhift of HerBS-89a in <ref type="bibr">Neri et al. (2020)</ref>. In the frequency range 139.3-147.0 GHz, where the 12 CO(5-4) emission line of HerBS-89a was detected, a weaker narrow (&#8764;200 km s -1 ) emission line is seen at 143.74 GHz, close to the center position of HerBS-89a (see Fig. <ref type="figure">11</ref>). The narrowness of this emission line excludes the possibility that it could be related to HerBS-89a. If it traces instead the foreground lensing galaxy, the line could correspond to a 12 CO emission line, either detected in the J = 2-1 transition, in which case z lens = 0.604, or in the J = 3-2 transition for which z lens = 1.406. The former is consistent within the 2&#963; uncertainties with the photometric redshift derived from the GTC and HST data. A search for the counterpart of this emission line (at 1 mm) could allow us to verify the above identification, and eventually derive a precise spectroscopic redshift of the foreground galaxy gravitationally amplifying HerBS-89a.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Lens modeling</head><p>In order to recover the source-plane morphology and the intrinsic properties of HerBS-89a, we derive a lens model from the high-angular resolution NOEMA continuum data as shown in Fig. <ref type="figure">2</ref> (with initial lens parameters informed by HST observations) and proceed to apply it to the molecular line data. We perform the lens modeling and source reconstruction using the lensmodel package <ref type="bibr">(Keeton 2001)</ref> with the pixsrc extension <ref type="bibr">(Tagore &amp; Keeton 2014;</ref><ref type="bibr">Tagore &amp; Jackson 2016)</ref>. For the sake of computational efficiency, all modeling has been done in the sky plane, although we recognize that fitting directly to visibility data can prevent specific choices in the interferometric imaging process (e.g., related to uv weighting and deconvolution) from having undue impact on a model. Although the quality of our NOEMA observations is excellent, the limited number of resolution elements across the source prevents us from leveraging the full power of the nonparametric approach of Tagore &amp; <ref type="bibr">Keeton (2014)</ref>, instead limiting us to the use of parametric (S&#233;rsic profile) components in reconstructing the sources. Because we are not using regularization to guide the reconstruction of nonparametric sources, correlations in the noise introduced by the finite uv sampling do not require special handling &#224; la <ref type="bibr">Riechers et al. (2008)</ref>. In all cases, we convolve the lensed model images (fourth column of Fig. <ref type="figure">12</ref>) with the appropriate (two-dimensional Gaussian) synthesized beams to generate the reconstructed model images (second column of Fig. <ref type="figure">12</ref>) that are directly compared to the data.</p><p>The foreground deflector is assumed to have a singular isothermal elliptical mass distribution (SIEMD) described by five parameters: Einstein radius (b), RA, Dec, ellipticity (e) 5 , and ellipticity position angle (&#952; e ; measured east of north). Table <ref type="table">5</ref> lists the best fit values of these parameters and their uncertainties as determined from a Markov chain Monte Carlo (MCMC) exploration of parameter space. The position of the lens is given relative to the reference position RA = 13:16:09.79 and Dec = 28:12:18.17. Because of the very high S/N of the continuum data, we use the lens model derived from the continuum data when reconstructing the spectral line data.</p><p>The left panels of Fig. <ref type="figure">12</ref> include the critical curve (i.e., the locus of infinite magnification in the image plane; red lines). In the case of a SIEMD with no external shear, this curve is also an iso-density contour of the deflector's mass distribution whose position and geometry can be compared to the HST image of the lensing galaxy (Fig. <ref type="figure">9</ref>). The corresponding source-plane caustic is plotted in the right panels of Fig. <ref type="figure">12</ref>.</p><p>The continuum and (almost) all of the spectral line zeroth moment maps are fit well by single S&#233;rsic components in the source plane (see Table <ref type="table">6</ref> and Fig. <ref type="figure">12</ref> for fitting results, and below for more discussion of the line data). The profile is parametrized in terms of its position, normalization I 0 , ellipticity e, position angle &#952; e , scale radius R s , and S&#233;rsic index n:</p><p>Using the estimated photometric redshift of the foreground galaxy and its uncertainty (see Sect. 4.2), we estimate that the deflector mass enclosed within the Einstein radius is M lens = 9.8 +3.2 -4.9 &#215; 10 10 M (where the upper and lower bounds are at 3&#963;). Statistical uncertainties in the lens and continuum source model were evaluated with two MCMC cycles. The first fixed the source model and determined the uncertainties of the lens parameters; the second fixed the lens model to its optimal parameters 5 Ellipticity is defined as e = 1q, where q is the axis ratio. and let the source parameters vary. This approach was chosen for computing speed and for ease of comparison between continuum and line results (because the latter assume the lens model derived from the continuum data, i.e., the lens model is fixed in this case). However, it should be noted that the MCMC approach underestimates the lens+source errors. Appendix A presents the conditional posterior distributions of the lens and source model parameters.</p><p>To these statistical uncertainties, we add fiducial systematic uncertainties of 10% associated with the choices of lensing potential, source brightness profile, interpolation errors, etc. The only exceptions are the source model positional errors, for which we adopt systematic uncertainties given by HPBW min HPBW maj 2</p><p>in terms of the synthesized beam dimensions HPBW min and HPBW max , the S/N of the observed detection &#963; I /I line , and the magnification &#181; (see, e.g., <ref type="bibr">Downes et al. 1999)</ref>. For the lens model, we estimate systematic positional errors as the astrometric errors from the continuum imaging. Because we expect systematic errors to dominate and because of computational constraints, we do not perform MCMC on the line spectral source parameters.</p><p>As mentioned above, nearly all of the spectral line data are fit well by single S&#233;rsic components; the exception is the H 2 O(2 02 -1 11 ) zeroth-moment map, which shows faint (&#8764;5&#963;, compared to the &#8764;10&#963; peak) emission to the west and northwest that motivated some exploration of a two-component model. We adopt here a single-component fit for this line, due to numerical instability in the two-component fit, but there are some systematic features in the residuals associated with the peak of the emission. The results are listed in Table <ref type="table">6</ref>, along with the corresponding magnification factors &#181;, for the high resolution data and for 12 CO(1-0). Because of the lower resolutions and S/Ns, we do not model the spectral lines and continuum that were measured at lower frequencies (from 209 to 232 GHz).</p><p>The magnification factor &#181; for the continuum and line data was computed using samples from the lens and source parameter MCMC runs. We estimate a magnification of 5.05 &#177; 0.03(&#177;0.51) for the 254.6 GHz dust continuum emission, where the term in parentheses represents the 10% systematic uncertainty.</p><p>In the case of the 12 CO(1-0) line, we infer a lensing magnification &#181; = 5.0, with a large systematic uncertainty mainly due to possible different choices in how the zeroth-moment map is derived (also reflecting the limited S/N of the current data set). Deeper and higher angular resolution observations of the 12 CO(1-0) emission would be helpful to better constrain the amplification factor as well as to study in greater detail the morphology (extent and kinematics) of the cold gas reservoir of HerBS-89a.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">Global properties of HerBS-89a: Dust and molecular gas</head><p>In this section, we derive the intrinsic properties of HerBS-89a from the new millimeter, centimeter, and optical/near-infrared data presented in Sect. 3, and the lensing model described in Sect. 5. The discussion is organized as follows: the analysis of the continuum spectral energy distribution and the derivation of the molecular gas mass and dust-to-gas ratio are described in Sects. 6.1 and 6.2; the CO line excitation is investigated in Notes. (a) The dust continuum emission is measured at 254.5 GHz, and the uncertainties are &#177;1&#963;. For each parameter, the systematic uncertainties are tabulated separately in parentheses on a second line (see Sect. 5). In the heading of the table, e stands for the ellipticity, &#952; e for the position angle (measured east of north), R s for the scale radius, n for the S&#233;rsic index, and &#181; for the amplification factor. Surface brightness units of Jy beam -1 are inherited from the surface brightness units of the data. Strong covariance between R s and n (see, e.g., Fig. <ref type="figure">A</ref>.1) means that the 12 CO(9-8) and 12 CO(1-0) data are formally compatible with (larger) R s and (smaller) n like those recovered for the other reconstructions.</p><p>Sect. 6.3, and the properties of the water emission line are examined in Sect. 6.4.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1.">Continuum spectral energy distribution</head><p>The new NOEMA continuum measurements (see Table <ref type="table">1</ref>), combined with the data from <ref type="bibr">Neri et al. (2020)</ref> and Herschel and SCUBA-2 photometry <ref type="bibr">(Bakx et al. 2018</ref><ref type="bibr">(Bakx et al. , 2020))</ref>, provide an exquisite sampling of the far-infrared (FIR) and sub-mm spectral energy distribution (SED) of HerBS-89a. A total of 16 broad band measurements cover the range from 250 &#181;m to 3 mm in the observed frame, 12 of which are spread along the Rayleigh-Jeans tail.</p><p>Figure <ref type="figure">13</ref> shows the continuum data available for HerBS-89a as well as the continuum measurements extracted for the nearby source HerBS-89b. The latter source shows an increase of flux at wavelengths above &#8764;2 mm with respect to the dust emission, which could be due to non-thermal processes and rules out the possibility that HerBS-89b is a third lensed image of HerBS-89a.</p><p>Following and extending the work by <ref type="bibr">Neri et al. (2020)</ref> and <ref type="bibr">Berta et al. (2016)</ref>, we model the SED of HerBS-89a using three different approaches: (i) the <ref type="bibr">Draine &amp; Li (2007, hereafter DL07)</ref> dust model; (ii) a single-temperature modified black body (MBB) in the optically-thin approximation; and (iii) an MBB model in its general form.</p><p>In the case of the DL07 modeling, interstellar dust is described as a mixture of carbonaceous and amorphous silicate grains, whose size distributions are chosen to reproduce different observed extinction laws. We defer to <ref type="bibr">Draine &amp; Li (2001</ref><ref type="bibr">, 2007)</ref>, <ref type="bibr">Li &amp;</ref><ref type="bibr">Draine (2001), and</ref><ref type="bibr">Berta et al. (2016)</ref> for a detailed description of the model and its implementation. Despite the richness of the long-wavelength data, the SED is still lacking measurements in the mid-infrared, so that the fine details of the DL07 model, for example, the possible contribution of the polycyclic aromatics hydrocarbons (PAHs), are not constrained. The dust mass estimate is nevertheless robust, because it is dominated by the colder dust components.</p><p>For the optically thin MBB case, the emergent luminosity from a given dust mass M dust is described as:</p><p>where B &#957; (T dust ) is the Planck function, T dust is the dust temperature, and &#954; &#957; = &#954; 0 (&#957;/&#957; 0 ) &#946; is the mass absorption coefficient of dust at rest frequency &#957;.</p><p>The general form of the MBB differs from the optically thin approximation by the factor (1e -&#964; &#957; ), with &#964; &#957; = &#964; 0 (&#957;/&#957; 0 ) &#946; , instead of the &#957; &#946; term. Here &#957; 0 is the frequency at which &#964; = &#964; 0 = 1.0 (see <ref type="bibr">Berta et al. 2016)</ref>. Therefore, the general form of the MBB tends to produce best fit solutions with higher dust temperature than the optically thin case. In the optically thin approximation, three free parameters are at play: T , &#946; and the model normalization. In the general form, &#957; 0 is also a free parameter.</p><p>The MBB fits are limited to the data with rest-frame wavelength &#955; rest &gt; 50 &#181;m, thus avoiding biases toward warmer temperatures. The effects of the cosmic microwave background (CMB) have been taken into account, following the prescription of da <ref type="bibr">Cunha et al. (2013)</ref>. A correction similar to that derived for the MBB has also been applied to the DL07 model. <ref type="bibr">Berta et al. (2016)</ref> and <ref type="bibr">Bianchi (2013)</ref> present thorough discussions of the proper use of &#954; &#957; and &#946;. Appendix B summarizes the current &#954; &#957; panorama. Following the choice often found in the literature, we adopt the <ref type="bibr">Draine (2003)</ref> &#954; &#957; and apply the correction prescribed by <ref type="bibr">Draine et al. (2014)</ref>: &#954; &#957; = 0.047 m 2 kg -1 at 850 &#181;m. The same correction is also applied to the dust masses derived with the DL07 approach.</p><p>The best fit models are shown in Fig. <ref type="figure">13</ref>, and the results are listed in Table <ref type="table">7</ref>. We include all the values obtained with our fits using the continuum flux densities not corrected for the lens magnification, as well as our preferred source-plane values for the infrared luminosity and the dust mass based on the DL07 fit corrected for gravitational magnification (see Sect. 5). The CMB effect produces a steepening of the millimetric slope by &#8764;+0.15, comparable to the uncertainty on &#946;. At the redshift z = 2.95 and for the dust temperature of HerBS-89a, the effect is milder than what found at z = 3.6-5.8 by <ref type="bibr">Jin et al. (2019)</ref>.</p><p>Finally, the VLA 3&#963; upper limits for HerBS-89a that are shown in Fig. <ref type="figure">13</ref> have been computed over an area equivalent to the NOEMA 263.3 GHz continuum (see Table <ref type="table">1</ref>). For comparison, a power-law spectrum S &#957; &#8733; &#957; -0.8 is plotted, representing a synchrotron emission (e.g., <ref type="bibr">Ibar et al. 2010;</ref><ref type="bibr">Thomson et al. 2014)</ref>, normalized on the basis of the radio-farinfrared correlation <ref type="bibr">(Magnelli et al. 2015;</ref><ref type="bibr">Delhaize et al. 2017</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2.">Molecular gas mass and gas-to-dust ratio</head><p>The observed 12 CO(1-0) emission line intensity can be translated into a luminosity (in K km s -1 pc 2 ), from which an estimate of the molecular gas mass can be made, using the following relation <ref type="bibr">(Solomon &amp; Vanden Bout 2005)</ref>:</p><p>where S Line &#8710;V = I Line is the integrated line flux in units of Jy km s -1 ; &#957; rest is the line rest frequency in GHz; and D L is the luminosity distance in Mpc. The line luminosity, expressed in units of L , can be derived as:</p><p>We define the molecular and total gas masses as</p><p>where M He is the mass of helium, M H 2 is the mass of molecular hydrogen and M HI the mass of atomic hydrogen. Hereafter, we assume that M mol M HI and thus that M gas &#8776; M mol . The molecular hydrogen gas mass is computed from the 12 CO(1-0) luminosity applying a conversion factor &#945; CO in units of M (K km s -1 pc 2 ) -1 :</p><p>In the Milky Way and nearby star-forming galaxies with near-solar metallicity, the empirical conversion factor &#945; CO is &#945; MW = 4.4 &#177; 0.9, already including a contribution due to helium (see, e.g., <ref type="bibr">Magnelli et al. 2012;</ref><ref type="bibr">Bolatto et al. 2013;</ref><ref type="bibr">Carilli &amp; Walter 2013;</ref><ref type="bibr">Tacconi et al. 2020)</ref>. For extreme local starbursts, there is good evidence from dynamical arguments that &#945; CO is 0.8-1.5 (e.g., <ref type="bibr">Downes &amp; Solomon 1998;</ref><ref type="bibr">Daddi et al. 2010;</ref><ref type="bibr">Genzel et al. 2010</ref>), as has also been suggested that for DSFGs for which &#945; CO = 0.8 <ref type="bibr">(Carilli &amp; Walter 2013)</ref>. Applying a 1.36&#215; correction factor to account for the helium contribution, the latter value becomes &#945; CO = 1.09. <ref type="bibr">Dunne et al. (2021)</ref> used the far-infrared continuum of a small but statistically complete sample of 12 low redshift galaxies together with CO and CI measurements to determine the CO -H 2 conversion factor &#945; CO . In another paper, <ref type="bibr">Dunne et al. (in prep.)</ref> combined this sample with others measurements found in the literature for a total of more than 70 far-infrared and sub-mm selected galaxies with CO and CI detection and 230 with CO only. In these studies, a value of &#954; 850 = 0.065 m 2 kg -1 is adopted (in agreement with the results by Planck Collaboration XXI 2011, see Appendix B for details) and it is found that a value &#945; CO 3 is consistent with the behavior of the three gas tracers in a diverse population of galaxies, ranging from high-z powerful star-forming galaxies to local disks.</p><p>For the computation of the molecular gas mass of HerBS-89a, we here adopt &#945; CO = 3.0 M (K km s -1 pc 2 ) -1 , and we multiply it by the usual factor 1.36 to account for the helium contribution. Possible consequences of using a different value are discussed at the end of this section.</p><p>The resulting line luminosity and molecular gas mass, corrected for lensing magnification, are thus</p><p>The molecular gas mass derived from the 12 CO(1-0) emission line and the SED-based estimate of the dust mass (see Sect. 6.1) provide the basis for deriving the average gas-to-dust ratio (&#948; GDR ) in HerBS-89a:</p><p>where the assumption is made that the two estimates are representative for the whole galaxy, and that M mol M HI . The data lead to a value of &#948; GDR between 80 and 174, depending on whether the DL07 or the MBB (general form) dust mass estimate is used, with an uncertainty of &#177;21 based on error propagation. Interestingly, this value is consistent within the errors with those seen in typical star-forming galaxies of solar metallicity, near the so-called "Main Sequence of star formation" (MS), for which &#948; GDR &#8764; 100 (e.g., <ref type="bibr">Leroy et al. 2011;</ref><ref type="bibr">Magdis et al. 2012;</ref><ref type="bibr">R&#233;my-Ruyer et al. 2014</ref>). This result is nevertheless subject to the adopted value for &#945; CO .</p><p>The total molecular gas mass (M mol ) and SFR relate to each other via the so-called depletion timescale (in years):</p><p>where the rate of star formation is computed as SFR = 1.09 &#215; 10 -10 L 8-1000 &#181;m with the infrared luminosity expressed in units of L (Kennicutt 1998a, after modification for a Chabrier 2003 IMF). Assuming that the observed infrared luminosity is entirely associated with the ongoing star formation activity of HerBS-89a, we derive an intrinsic star formation rate SFR = 614 &#177; 59 M yr -1 and a depletion timescale &#964; depl = (3.4 &#177; 1.0) &#215; 10 8 years. For its current formation rate, HerBS-89a would exhaust its molecular gas reservoir in only 340 million years, not considering any mass return to the interstellar medium or further gas inflow (see Sect. 9).</p><p>The value for M mol was derived from the 12 CO(1-0) luminosity using &#945; CO = 3.0 &#215; 1.36, a value that is close to the Milky Way value &#945; MW = 4.4 M (K km s -1 pc 2 ) -1 , used for MS galaxies, rather than &#945; SB = 1.09, often associated to starbursts or outliers in the main sequence. This choice leads to &#948; GDR and &#964; depl values that would position HerBS-89a close to or on the MS star-forming galaxies on the integrated Kennicutt-Schmidt relation of star formation (e.g., <ref type="bibr">Lada 2015;</ref><ref type="bibr">Liu et al. 2019)</ref>, which suggests that HerBS-89a is dominated by a "secular" star-forming mode.</p><p>However, despite the evolution of the MS normalization (increasing as a function of redshift, e.g., <ref type="bibr">Elbaz et al. 2011;</ref><ref type="bibr">Whitaker et al. 2014;</ref><ref type="bibr">Schreiber et al. 2015)</ref>, and because of the bending of the MS at the high stellar mass end, even at z = 3, a SFR &#8764; 600 M yr -1 would hardly be associated with a galaxy on the main sequence. It is therefore more likely that HerBS-89a is located in between the MS and the starbursts region. Using &#945; SB , the gas-to-dust ratio and the depletion time scale of HerBS-89a would both decrease by a factor of 3.74, yielding &#948; GDR 22-47 and &#964; depl = 9.1 &#177; 2.7 &#215; 10 7 yr. Realistically, the actual value of &#945; CO , on which these results depend, is likely between the two above mentioned extremes.</p><p>Further insights into the position of HerBS-89a with respect to the MS would require the knowledge of its stellar mass M * . Detecting HerBS-89a and distinguishing it from its deflector seem out of reach for currently existing optical/NIR facilities, but the James Webb Space Telescope (JWST) could provide the needed sensitivity.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.3.">12 CO spectral line energy distribution</head><p>Together with the measurements reported in <ref type="bibr">Neri et al. (2020)</ref>, we have detected in total four 12 CO emission lines in HerBS-89a, namely the J = 1-0, 3-2, 5-4 and 9-8 transitions. The 12 CO Spectral Line Energy Distribution (SLED) of HerBS-89a, normalized to the J = 1-0 transition after correcting for the lens magnification (see Table <ref type="table">6</ref>), is shown in Fig. <ref type="figure">14</ref>. The velocityintegrated fluxes of the 12 CO lines increase monotonically with rotational quantum number up to J = 5-4, with a turnover around that transition, before decreasing at higher J values, with the J = 9-8 emission line about a factor of 8 times weaker than the J = 5-4 line. The peak of the CO SLED for HerBS-89a should therefore occur around the J = 5-4 and J = 6-5 transitions. This result makes HerBS-89a comparable to other starburst galaxies as shown in Fig. <ref type="figure">14</ref>, where various SLEDs of several individual DSFGs and one quasar (the Cloverleaf) are displayed together with the center of M 82 and the Milky Way disk. In addition, the average SLEDs of three samples are shown: The (mostly) unlensed sample of 32 DSFGs selected at 850 &#181;m, at 1.2 &lt; z &lt; 4.1 from <ref type="bibr">Bothwell et al. (2013)</ref>, the sample of 22 (mostly lensed) high-z (2.0 &lt; z &lt; 5.7) DSFGs selected from the SPT survey <ref type="bibr">(Spilker et al. 2014)</ref>, and the sample of 78 "main sequence" star-forming galaxies from <ref type="bibr">Valentino et al. (2020)</ref>. The CO SLED of HerBS-89a most closely resembles that of the Cosmic Eyelash, which has a similar peak around J up &#8764; 5-6 and a falloff toward higher J up . It is also remarkably similar to the CO SLED of the starburst GN20 <ref type="bibr">(Carilli et al. 2010)</ref>, up to J up = 6; however, recent observations by <ref type="bibr">Cortzen et al. (2020, and in prep.)</ref> report an increase of the GN20 CO SLED at J up = 7.</p><p>To investigate the CO line excitation further and constrain the physical conditions of the molecular gas in HerBS-89a, we model the CO line fluxes using a Large Velocity Gradient (LVG) statistical equilibrium method (following the approach described in <ref type="bibr">Yang et al. 2017, and references therein)</ref>. The free parameters are the kinetic temperature of the molecular gas (T kin ), the volume density (n H 2 ), the column density of CO per unit velocity Fig. <ref type="figure">14</ref>. 12 CO Spectral Line Energy Distribution (SLED) for HerBS-89a (red dots), compared to other well-studied local and high-z galaxies (or samples of galaxies). The CO SLEDs are normalized to the J = 1-0 transition, after correcting for the magnification, and the line fluxes of HerBS-89a have been corrected for amplification (see Sect. 5 and Table <ref type="table">6</ref>) before normalizing. The three samples of galaxies are from <ref type="bibr">Bothwell et al. (2013)</ref> including 32 DSFGs at 1.2 &lt; z &lt; 4.1, <ref type="bibr">Spilker et al. (2014)</ref>, including 22 SPT-selected DFSGs at 2.0 &lt; z &lt; 5.7, and <ref type="bibr">Valentino et al. (2020)</ref>, including 78 "main sequence" star-forming galaxies. References to individual sources are: Cosmic Eyelash <ref type="bibr">(Swinbank et al. 2011;</ref><ref type="bibr">Danielson et al. 2011)</ref>; Cloverleaf <ref type="bibr">(Barvainis et al. 1997;</ref><ref type="bibr">Wei&#223; et al. 2003;</ref><ref type="bibr">Bradford et al. 2009;</ref><ref type="bibr">Riechers et al. 2011</ref>); GN20 <ref type="bibr">(Carilli et al. 2010;</ref><ref type="bibr">Cortzen et al. 2020, and in prep.)</ref>; M 82 <ref type="bibr">(Wei&#223; et al. 2005)</ref>; and the Milky Way disk <ref type="bibr">(Fixsen et al. 1999)</ref>. gradient (N CO /dV), and the solid angle (&#8486; app ) of the source. The CO SLED only depends on T kin , n H 2 and N CO /dV. A Bayesian approach is used to fit the line fluxes generated from the model and the code emcee is adopted to perform a MCMC calculation. The resulting single component fit to the CO SLED of HerBS-89a is shown in Fig. <ref type="figure">15</ref>. The SLED peaks around J up = 6-5, and, from the single excitation component fitting, the molecular gas density is found to be log 10 (n H 2 /cm -3 ) = 2.79 +0.72  -0.54 , the kinetic temperature T kin = 174 +157 -92 K and the CO column density log 10 (N CO/dV /(cm -2 km s -1 )) = 17.59 +0.55  -0.59 , where the errors are 3&#963;.</p><p>A second fit including an additional, colder and more extended component is shown in the lower panel of Fig. <ref type="figure">15</ref>. Because of the paucity of available data points, the cold component is poorly constrained, with log 10 (n H 2 ) = 2.30 +1.06 -0.57 cm -3 , T kin = 20 +20 -7 K, and log 10 (N CO/dV ) = 15.63 +1.14 -0.79 cm -2 km s -1 , where the errors are 3&#963;. The warm component is in broad agreement with the previous single component fitting results.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.4.">The para-H 2 O(2 02 -1 11 ) emission line</head><p>Water is one of the most abundant molecules after H 2 and CO in the gaseous interstellar medium (ISM). It serves as a unique diagnostic for probing the physical conditions of the ISM in both local (e.g., <ref type="bibr">Gonz&#225;lez-Alfonso et al. 2014</ref>) and highredshift galaxies (e.g., <ref type="bibr">Omont et al. 2013;</ref><ref type="bibr">Riechers et al. 2013;</ref><ref type="bibr">Yang et al. 2016, 2020, and</ref><ref type="bibr">references therein)</ref>. In particular, since the E upper &gt; 200 K levels of H 2 O are primarily excited through absorption of far-infrared photons from dust emission in warm dense regions, it is a useful diagnostic of the far-infrared radiation field independent of gas conditions. In addition, submillimeter water lines are the second strongest molecular emitter after the CO lines (e.g., <ref type="bibr">Yang et al. 2013)</ref>. The detection of the para-H 2 O(2 02 -1 11 ) emission line (&#957; rest = 987.9268 GHz) in HerBS-89a is an illustration thereof: the line width is broad (&#8710;V &#8764; 1100 km s -1 ) and comparable to those of the mid/high-J CO lines, consistent with the finding that the J = 2 H 2 O lines are spatially co-located with the CO lines (e.g., <ref type="bibr">Omont et al. 2013;</ref><ref type="bibr">Yang et al. 2016)</ref>. The observed line flux is bright, with I H 2 O = 1.59 &#177; 0.37 Jy km s -1 , and comparable to the line flux of the 12 CO(9-8) emission line (Table <ref type="table">2</ref>). The CO and H 2 O lines have morphologies and velocity fields that are broadly comparable (see Figs. <ref type="figure">4</ref> and<ref type="figure">7</ref>) indicating that they both trace the same warm high-density gas in HerBS-89a. Using Eqs. ( <ref type="formula">6</ref>) and ( <ref type="formula">7</ref>), we derive an intrinsic line luminosity (corrected for lensing magnification) of L H 2 O(2 02 -1 11 ) = (6.4 &#177; 1.5) &#215; 10 7 L , yielding a ratio L H 2 O(2 02 -1 11 ) /L IR = (1.12 &#177; 0.36) &#215; 10 -5 , in terms of the 8 to 1000 &#181;m L IR (Table <ref type="table">7</ref>). HerBS-89a lies on the correlation between <ref type="bibr">Yang et al. (2016)</ref>, as shown in Fig. <ref type="figure">16</ref>. This result is in line with the fact that far-infrared pumping is the dominant mechanism for the excitation of the submillimeter H 2 O emission that originates in very dense, heavily obscured starformation dominated regions (see, e.g., <ref type="bibr">Gonz&#225;lez-Alfonso et al. 2014;</ref><ref type="bibr">Yang et al. 2016)</ref>. The steeper-than-linear growth is likely the result of an increase of the optical depth in the dust continuum (at &#8764;100 &#181;m) with increasing infrared luminosity. Finally, the ratio of L H 2 O(2 02 -1 11 ) /L IR also indicates that an AGN component, if present in HerBS-89a, is not contributing much to the infrared luminosity, in contrast to a system like Mrk 231 or APM 08279+5455 where the AGN is dominant (and references therein <ref type="bibr">Yang et al. 2016)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.">Molecular gas kinematics</head><p>In an ideal situation, analysis of spectral line data cubes like those presented here for HerBS-89a can enable detailed analyses of source-plane kinematics. The lens model derived in Sect. 4 can in principle be applied to the emission in a particular line across many independent velocity channels, allowing them to be reconstructed in the source plane, used to compute moment maps, and fits to dynamical models (e.g., <ref type="bibr">Sharon et al. 2019)</ref>. In practice, although the quality of our NOEMA observations is excellent, the S/N and the number of resolution elements (i.e., synthesized beams) across the observed size of HerBS-89a are not high enough to fully achieve this goal. Several factors are at play here. First, as noted in Sect. 5 above, the combination of S/N and effective resolution limits us to the use of parametric (S&#233;rsic profile) sources in reconstructing individual channels. Second, reconstruction of a given source-plane channel map tends to (a) favor sources that are very (sometimes implausibly) compact as a result of the use of a constrained emission profile, and (b) couple with the noise fluctuations in that channel in such a way that introduces uncertainties on the centroids of the reconstructed sources. Finally, comparison of a delensed source-plane reconstruction with an observed channel map necessarily involves the convolution of the former to the (coarser) resolution of the latter, meaning that many possible source-plane reconstructions are formally compatible with the observed data.</p><p>To provide a transparent (and possibly cautionary) picture of what properties can be derived from the current data, we show in Figs. 17 and 18 (as well as in Figs. <ref type="bibr">A.3 and A.4</ref>) some of the results of our lens modeling efforts. Our main focus is the 12 CO(9-8) line, which has higher S/N than the H 2 O(2 02 -1 11 ) line and is therefore more promising as a kinematic probe. In order to improve the S/N, we rebin the 40 km s -1 data to a resolution of 120 km s -1 , yielding a total of seven independent velocity channels that are suitable for modeling, although they do not span the line's full velocity width. Each of these channels is independently reconstructed with a S&#233;rsic profile in the source plane; these reconstructions are shown in the rightmost column of  <ref type="bibr">A.3</ref> indicates that these reconstructions are formally acceptable, although the five channels blue-ward of 168 km s -1 have scale radii that are notably smaller than those of the two most highly redshifted channels. The centroids of all seven channels fall within the envelope defined by the reconstructed dust continuum emission, and in turn by the reconstruction of the 12 CO(9-8) zeroth moment map (second row of Fig. <ref type="figure">12</ref>), giving confidence that the overall spatial extent of the warmest and densest material in HerBS-89a is understood.</p><p>The center panel of Fig. <ref type="figure">17</ref> presents a source-plane zeroth moment map constructed by summing the source-plane reconstructions of the individual channel maps. This map seems to indicate an arc-like shaped morphology and the possibility of two separate components. However, we have here entered a regime in which the three limiting factors noted above are highly salient: because of the compactness of reconstructed S&#233;rsicprofile sources in most of the velocity channels, the moment map derived from them suggests that we have reliable information about the internal source structure on much finer scales than is actually the case. It is also worth noting that when the moment map derived from the reconstructed channel maps is lensed forward into the image plane, it provides a poorer match to the observed 12 CO(9-8) moment map than does the single S&#233;rsic-component reconstruction in the second row of Fig. <ref type="figure">12</ref>. This apparent paradox occurs because small noise fluctuations in the observed channel maps have unavoidably affected the source centroids, shapes, and orientations of the corresponding source-plane reconstructions. Similar inconsistencies have been seen by other authors who have separately delensed both channel maps and integrated moment maps (e.g., <ref type="bibr">Dong et al. 2019</ref>). Use of prior information on the expected relationships between emitting regions in adjacent velocity channels (e.g., <ref type="bibr">Rizzo et al. 2018;</ref><ref type="bibr">Young et al., in prep.)</ref> would be one way to mitigate this tendency, but we have not used such an approach here.</p><p>Figure <ref type="figure">17</ref> provides a further illustration of the degree to which small noise fluctuations in the observed channel maps can perturb the centroids of the source-plane reconstructions. Initially inspired by the apparent bent morphology (and nominal associated velocity gradients; see below) in the central panel of Fig. <ref type="figure">17</ref>, we constructed new, roughly half-line moment maps from the bluest four and reddest three of our seven 120 km s -1 channels, and reconstructed these using the lens model optimized in Sect. 5. The sum of these two reconstructions (i.e., another zeroth moment map) is presented in the right panel of Fig. <ref type="figure">17</ref>. The apparent double morphology might at first right suggest a pre-coalescence merging system; however, the 'doubleness' of the morphology stems at least in part from the general compactness of our S&#233;rsic profile reconstructions. Moreover, notable aspects of the internal source structure (e.g., the distinct southeastern offset of the reconstructed -312 to -192 km s -1 channel map) in the center panel do not translate to the reconstructions used to derive the right panel. This level of inconsistency raises the question of whether detailed information on the intrinsic or the internal source structure (as distinct from the overall extent of emission) can be robustly recovered from this dataset, and suggests that the apparent small-scale structure in the resulting zeroth-moment maps has to be interpreted with caution.</p><p>With the above discussion as preamble, we turn now to Fig. <ref type="figure">18</ref>, which shows source-plane velocity fields derived from the seven-channel (120 km s -1 resolution) reconstructions of Fig. <ref type="bibr">A.3</ref> in two different ways. The left panel presents an intensity-weighted first moment map calculated in the usual way. We find that the dominant velocity gradient is in an east-west direction, roughly consistent with the east-west elongation of the reconstructed dust continuum emission. The comparison of the center and right panels in Fig. <ref type="figure">17</ref> discussed above suggests that the perturbation from an "exactly" aligned east-west velocity gradient due to the most highly blue-shifted emission may not be robust.</p><p>Assuming a single rotationally supported disk, the radial profile of the dynamical mass of the system is given by</p><p>where i is the inclination angle of the rotating disk with respect to the line of sight, and V obs is the observed velocity as a function of radius. Although the inclination could be derived from the ellipticity of the light profile, as i = arccos (1e), since the velocity gradient does not fully correspond to the continuum S&#233;rsic profile in the source plane, we opt to keep the sin(i) term explicit in our computations. The constant f is a dimensionless scale factor that depends on the structure of the galaxy and has value f 1.0 for a thin disk embedded in a massive spheroid <ref type="bibr">(Lequeux 1983)</ref>.</p><p>Along the major axis of the continuum profile (red line in the top-left panel of Fig. <ref type="figure">18</ref>), we extract the velocity curve V(R) shown in the middle-left panel. The corresponding bottom-left panel presents the radial dynamical mass profile, which leads to an estimate of M dyn sin 2 i &#8776; 5.1 &#215; 10 10 M within R = 1.25 kpc.</p><p>In contrast, the top-right panel of Fig. <ref type="figure">18</ref> presents a first moment map in which masking has been used to highlight the Fig. <ref type="figure">18</ref>. Kinematic and dynamical analysis of the 12 CO(9-8) emission line in the source plane of HerBS-89a. Top panels: left: first moment map, compared to the S&#233;rsic profile of the dust continuum emission. The contours start from 1/20 of the peak intensity with steps of 1/20th. The red line marks the continuum major axis. The reference position is defined where the rest-velocity (V = 0 km s -1 ) and is denoted with a star. From this position we calculate the radial distance. The cross at the lower right corner marks the phase center of the NOEMA observations. Right: based on Figs. A.3 and 17, two possible components are identified; the first moment maps of the two components are here shown, after shifting the velocity scale by &#177;289 km s -1 for clarity. The axes of the two components are shown as green and orange lines. The dashed line marks the contour of the velocity field shown in the top-left panel. Middle panels: velocity curves extracted along the axes marked in the top panels. Colors match those of the respective axes, with magenta points extracted from the top left moment map and the green and orange points extracted from the top right moment map. In the two right-most panels, the data are shown both before (small symbols) and after (large symbols) shifting by &#177;289 km s -1 . The amplitude of the error bars is shown in the left-most panel. Bottom panels: dynamical mass profile as a function of radius, as derived from the velocity curves. two regions of strongest integrated emission (compare also to Figs. <ref type="figure">17</ref> and<ref type="figure">A</ref>.3). These two regions velocity scales have been artificially offset by &#177;289 km s -1 , corresponding to the separation between the two peaks in the integrated CO spectrum (see Fig. <ref type="figure">5</ref>) in order to better present them as "candidate" rotating disks. Velocity curves extracted along the axes of these two possible structures (green and orange lines) are shown in the middle row of Fig. <ref type="figure">18</ref>, both before (small symbols) and after (large symbols) applying the &#177;289 km s -1 shift.</p><p>The individual dynamical masses of these components, assuming rotational support as above, would be M dyn sin 2 i &#8776; 2.6 &#215; 10 10 M within R = 0.85 kpc for the eastern component and M dyn sin 2 i &#8776; 2.2 &#215; 10 10 M within R = 0.40 kpc for the western component, again under the assumption that f = 1.0 in Eq. ( <ref type="formula">15</ref>). The bottom panels of Fig. <ref type="figure">18</ref> show the dynamical mass radial distributions, limited to the extension of the first-moment maps.</p><p>Assuming a baryon fraction f baryon (e.g., <ref type="bibr">Tacconi et al. 2020)</ref>, and supposing that at high redshift the gas content of a galaxy A122, page 21 of 33 is dominated by its molecular component and the atomic gas mass M HI can be neglected (see, e.g., <ref type="bibr">Tacconi et al. 2018)</ref>, the dynamical mass could yield an estimate of the stellar mass M * = f baryon M dyn -M mol -M HI and of the molecular gas fraction f mol = M mol /( f baryon M dyn -M mol ), thereby solving the question of whether or not the galaxy lies on the MS. However, the dynamical mass profiles derived for HerBS-89a do not extend to large enough radii to allow for a determination of the total mass.</p><p>For the sake of completeness, we also performed the reconstructions of multiple velocity channels across the H 2 O(2 02 -1 11 ) emission line, adopting the same approach as above, using a coarser velocity re-binning to boost the S/Ns (see Appendix A). As already suggested by the slightly different observed and reconstructed source-plane zeroth moment maps (see Fig. <ref type="figure">12</ref>), the individual 12 CO(9-8) and H 2 O(2 02 -1 11 ) velocity channels reconstruct to slightly different locations in the source plane (see Figs. <ref type="bibr">A.3 and A.4</ref>). However, a first moment map derived from the reconstructed H 2 O(2 02 -1 11 ) channel maps shows a velocity gradient similar to the one shown in the top left panel of Fig <ref type="figure">. A</ref>.3 for the 12 CO(9-8) emission line, albeit at a slightly different position angle, suggesting once more that this aspect of the system's kinematics has been robustly recovered. Due to the higher S/N of the 12 CO(9-8) emission line, we have limited the kinematic modeling to this line, rather than adventuring further in the realm of water.</p><p>To summarize, given the uncertainties discussed above, ambiguity remains as to whether the broad, double-peaked spectral lines in HerBS-89a reflect a single rotating disk or a pair of galaxies on their way to merging, as in the case of previous studies of high-z lensed starburst galaxies (e.g., <ref type="bibr">Genzel et al. 2003;</ref><ref type="bibr">Ivison et al. 2010;</ref><ref type="bibr">Sharon et al. 2015)</ref>. On balance, we favor the latter scenario, which would provide a natural explanation of the very large widths of the 12 CO emission lines in this system. Observations with higher S/N and angular resolution that can support a more detailed lens model will be needed to resolve the one vs. two sources question in a definitive way for this system, shed further light on the properties of this galaxy, unveil the finer details of its structure and kinematics, and fully recover the secrets of its starburst nature.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="8.">Molecular lines other than CO and water</head><p>In the following subsections, we present and discuss the various molecular absorption and emission lines other than CO and H 2 O that have been detected in the spectrum of HerBS-89a. The individual molecular lines are described starting with the very dense molecular gas tracers, namely: HCN and/or NH, and NH 2 (Sect. 8.1), followed by the two molecular ions, OH + and CH + , which probe the low density molecular gas with low H 2 fractions (Sect. 8.2).</p><p>8.1. Very dense gas tracers: NH 2 , and HCN and/or NH NH 2 . Amidogen (NH 2 ) is a molecule that is an important reactant intermediate in the production and destruction of N-bearing molecules, in particular as a photodissociation product of ammonia (NH 3 ). It is an asymmetrical molecule with a 2 B 1 ground electronic state characterized by a complex rotational spectrum (similar to H 2 O + ). It was first detected in the interstellar medium (in SgrB2) by <ref type="bibr">van Dishoeck et al. (1993)</ref> and <ref type="bibr">Goicoechea et al. (2004)</ref>. NH 2 was later detected in the Herschel SPIRE-FTS spectra of Mrk 231 and Arp 220 <ref type="bibr">(Gonz&#225;lez-Alfonso et al. 2018;</ref><ref type="bibr">Rangwala et al. 2011)</ref>, where the NH 2 (2 02 -1 11 )(5/2-3/2) emis-sion line is seen next to the OH + (1 0 -0 1 ) absorption line, and, possibly, the NH 2 (2 02 -1 11 )(3/2-1/2) emission line as well.</p><p>In the case of HerBS-89a, two emission lines of NH 2 are detected. The first is the NH 2 (2 02 -1 11 )(5/2-3/2) emission line, which overlaps with the OH + (1 0 -0 1 ) absorption line, such that only the red-shifted part of the NH 2 emission line is apparent in the spectrum. However, the nearby NH 2 (2 02 -1 11 )(3/2-1/2) remains undetected, which is in line with the expected ratio of &#8776;2 between the (5/3-3/2) and (3/2-1/2) transitions. The second detected transition NH 2 (2 20 -2 11 )(5/2-3/2) is weaker but uncontaminated by nearby lines.</p><p>As the data are of low S/N, a detailed study of NH 2 , first reported here in a high-z galaxy, remains out of reach. However, from the velocity-integrated emission map of the highangular resolution data of the NH 2 (2 20 -2 11 )(5/2-3/2) emission line (Fig. <ref type="figure">4</ref>), it is clear that the NH 2 emission closely resembles the distributions of the 12 CO(9-8) and water emission lines, with the southern peak being stronger, in accordance with the fact that this molecule also traces the high-density gas. Dedicated future observations can further explore the properties of this molecule in HerBS-89a or in other high-z galaxies to study the properties of their dense gas reservoirs.</p><p>HCN(11-10) and/or NH. The absorption feature observed at 246.72 GHz in HerBS-89a may be due to redshifted  and/or NH(1 2 -0 1 ). With the current data, there is no way to distinguish between these molecular species, hence we briefly describe each molecule separately. The absorption feature is relatively weak and detected at a low S/Ns. As shown in Fig. <ref type="figure">4</ref>, it is spatially well centered on both dust continuum emission peaks. This is the first detection of a high-J HCN line and/or NH in a high-z galaxy. Clearly, detecting other transitions of HCN and NH in HerBS-89a will help to determine the relative contributions of each of these species to the observed 246.72 GHz absorption feature.</p><p>-HCN is known to be a reliable tracer of dense molecular gas (n H 2 3 &#215; 10 4 cm -3 ), with critical densities 100 to 1000 times higher than of CO. Although HCN emission lines are typically one to two orders of magnitude fainter than CO emission lines, HCN has been observed in its low-J transitions in local starburst galaxies, revealing a tight correlation between the HCN luminosity and the star formation rate (e.g., <ref type="bibr">Gao &amp; Solomon 2004;</ref><ref type="bibr">Zhang et al. 2014)</ref>. Emission lines of low-J HCN have also been detected in a few high-z galaxies <ref type="bibr">(Wei&#223; et al. 2007;</ref><ref type="bibr">Riechers et al. 2010;</ref><ref type="bibr">Oteo et al. 2017;</ref><ref type="bibr">Ca&#241;ameras et al. 2021</ref>, and references therein), and HCN is seen in the stacked restframe 220-770 GHz spectrum of 22 high-z DSFGs selected from the SPT survey <ref type="bibr">(Spilker et al. 2014)</ref>.</p><p>Between J = 5-4 and 11-10, HCN flips from emission to absorption as shown in the case of Arp 220 where <ref type="bibr">Rangwala et al. (2011)</ref> detect the J = 12-11 to 17-16 transitions in absorption<ref type="foot">foot_4</ref> . These transitions of HCN have critical densities around 10 9 -10 10 cm -3 and probe very dense (n H 2 &#8776; 3 &#215; 10 6 cm -3 ) gas. The high-J lines of HCN are thought to be populated by radiative pumping of infrared photons (rather than by collisional excitation) in an intense high-temperature (&gt;350 K) radiation field <ref type="bibr">Rangwala et al. (2011)</ref>.</p><p>In HerBS-89a, the optical depth of the 246.72 GHz line is estimated to be &#964;(&#957; 0 ) &#8764; 0.24 &#177; 0.12 yielding, in the case of HCN, a column density of (0.38 &#177; 0.1) &#215; 10 14 cm -2 (Table <ref type="table">3</ref>). Future observations of both high-J HCN lines (in absorption) and low-J lines (in emission) in HerBS-89a would allow us to confirm if this absorption line is indeed due (or partly due) to HCN, and, once verified, allow us to probe and constrain the properties of the reservoir of extremely dense gas in this high-z starburst galaxy.</p><p>-NH (imidogen) is a molecular radical that is linked (as for NH 2 ) to the formation and destruction of NH 3 . It was first detected in the diffuse interstellar medium <ref type="bibr">(Meyer &amp; Roth 1991)</ref> and later in the dense molecular gas of SgrB2 <ref type="bibr">(Cernicharo et al. 2000;</ref><ref type="bibr">Goicoechea et al. 2004</ref>). The Herschel SPIRE-FTS spectra of Mrk 231 and Arp 220 <ref type="bibr">(Gonz&#225;lez-Alfonso et al. 2018;</ref><ref type="bibr">Rangwala et al. 2011)</ref> show the presence of NH with various transitions detected. NH has a spectrum similar to that of OH + , since these molecules are isoelectronic. Many of the transitions of NH overlap with OH + transitions, in particular NH(1 2 -1 0 ) with OH + (1 0 -0 1 ), with similar column densities derived for OH + and NH in Mrk 231 <ref type="bibr">(Gonz&#225;lez-Alfonso et al. 2018</ref>). In the case of HerBS-89a, attributing all of the 246.72 GHz absorption line to NH implies a column density of (6.7 &#177; 1.9) &#215; 10 14 cm -2 , which is also comparable to the column density of OH + (Table <ref type="table">3</ref>). Together with NH 2 , the likely detection of NH in HerBS-89a opens up the possibility of exploring the chemistry of N-bearing molecules in a high-z galaxy by measuring other transitions of NH and searching for NH 3 , and exploring whether (as is the case in SgrB2) the derived column densities are compatible with grain-surface chemistry and sputtering by shocks (see, e.g., <ref type="bibr">Goicoechea et al. 2004</ref>).</p><p>8.2. Low density gas tracers: OH + and CH + OH + . The molecular ion OH + is a reliable and powerful tracer of molecular outflows in DSFGs as has been demonstrated with the Herschel SPIRE-FTS studies in Arp 220 <ref type="bibr">(Rangwala et al. 2011) and</ref><ref type="bibr">Mrk 231 (Gonz&#225;lez-Alfonso et al. 2018)</ref>, and in highz galaxies with NOEMA in HLFS 3 <ref type="bibr">(Riechers et al. 2013</ref>) and ALMA <ref type="bibr">(Indriolo et al. 2018</ref>, who reported OH + (1 1 -0 1 ) absorption line in two lensed sources, i.e., the Cosmic Eyelash and SDP.17). As discussed in <ref type="bibr">Indriolo et al. (2018)</ref>, OH + absorption is thought to arise in the extended cool, diffuse, low H 2 fraction gas that surrounds galaxies. OH + has been found to be useful in constraining the cosmic-ray ionization rate of atomic hydrogen, &#950; H 2 , particularly in gas with a low H 2 fraction. The three ground state lines of OH + (all are split into hyperfine components, which are blended due to the broad line widths measured in galaxies) are generally observed in absorption. In a few cases, they can be seen in emission as a red wing, as observed in Mrk 231 or Arp 220, or as recently reported for the OH + (1 1 -0 1 ) line in the z = 6.03 quasar SDSS231038+1855 by <ref type="bibr">Li et al. (2020)</ref> and the hot dust-obscured galaxy W0410-0913 at z = 3.63 by <ref type="bibr">Stanley et al. (2021)</ref>, where they can provide a measurement of the local density (e.g., <ref type="bibr">Rangwala et al. 2011)</ref>.</p><p>In HerBS-89a, all three OH + ground-state 1 J -0 1 lines (J = 0, 1, 2) are seen in absorption (Fig. <ref type="figure">5</ref> middle panel). The (1 1 -0 1 ) and (1 2 -0 1 ) transitions are the strongest, while the (1 0 -0 1 ) transition is nearly five times weaker (Table <ref type="table">2</ref>). None of the OH + lines in HerBS-89a show any indication of emission above the continuum as in Mrk 231 or Arp 220 <ref type="bibr">(Gonz&#225;lez-Alfonso et al. 2018;</ref><ref type="bibr">Rangwala et al. 2011)</ref>. All three lines have comparable line widths with &#8710;V &#8776; 500 km s -1 and the inferred OH + column density is N OH + &#8764; 10 15 cm -2 (Table <ref type="table">3</ref>), comparable to the value derived for the Cosmic Eyelash <ref type="bibr">(Indriolo et al. 2018)</ref>. The OH + spectra show clear indications of red-shifted gas, with all three transitions peaking in opacity at &#8776;+100 km s -1 relative to the systemic velocity, including the (1 0 -0 1 ) transition after the contamination of the NH 2 emission line is accounted for (see Sect. 3.1.2).</p><p>CH + . The methylidyne cation, CH + , has been shown to be a sensitive tracer of feedback mechanisms in high-z DSFGs <ref type="bibr">(Falgarone et al. 2017)</ref>, who report the detection of CH + (1-0) in six lensed galaxies at redshifts z &#8776; 2.5, including the Cosmic Eyelash and SDP.17<ref type="foot">foot_5</ref> . The CH + (1-0) line is found both in emission and absorption, providing critical information on the mechanisms of mechanical energy dissipation and/or strong UV irradiation in these high-z galaxies. Due to its high critical density for excitation (&#8764;10 7 cm -3 for the J = 1-0 transition), the CH + line is seen in emission in dense (&gt;10 5 cm -3 ) gas, probing shocked regions powered by galactic winds, and in absorption, in large (&gt;10 kpc) reservoirs of turbulent, cold (&#8764;100 K), lowdensity (&#8764;100 cm -3 ) gas (see, e.g., <ref type="bibr">Falgarone et al. 2017)</ref>.</p><p>In HerBS-89a, the CH + (1-0) is detected in absorption with a width of &#8776;400 km s -1 , comparable to that of the OH + lines, and is also red-shifted to &#8776;+100 km s -1 (Fig. <ref type="figure">5</ref>). The inferred CH + column density is estimated to be N CH + &#8764; 10 14 cm -2 (Sect. 8), similar to what has been derived in the case of the Cosmic Eyelash <ref type="bibr">(Falgarone et al. 2017)</ref>.</p><p>The low S/N, tentative detection of CH + emission could indicate that in HerBS-89a there is also dense gas (&gt;10 5 cm -3 ) with a significant velocity dispersion (the line has a full width at zero intensity of 1000 km s -1 and is centered at the systemic velocity), as was reported for three of the sources studied by <ref type="bibr">Falgarone et al. (2017)</ref>. However, higher quality data are required to probe this dense gas component in greater detail.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="9.">Inflowing gas</head><p>In HerBS-89a, the three OH + ground-state 1 J -0 1 lines (J = 0, 1, 2) and the CH + (1-0) line are all seen in absorption and red-shifted with respect to the systemic velocity (defined by the CO emission lines) by &#8776;+100 km s -1 . As shown in the velocity maps of these absorption lines, the red-shifted gas is distributed over the southern and northern dust continuum peaks (in the image plane), uniformly covering the distribution of the blueand red-shifted gas traced in the 12 CO(9-8) and water emission lines (Fig. <ref type="figure">4</ref>). The kinematics of the absorbing gas in HerBS-89a indicate that this red-shifted gas is therefore not kinematically related to the dense molecular gas. We argue here that we are in fact tracing, in both OH + and CH + , low density gas that is flowing into the central regions of HerBS-89a.</p><p>The number of high-z sources for which measurements of absorption by molecular ions such as CH + or OH + are available is still low; however, it is noteworthy that the majority of the sources for which observations of these species have been made do show blue-shifted absorption lines, indicating vigorous outflow activity. Out of the five high-z lensed galaxies where CH + (1-0) has been found in absorption, only one source<ref type="foot">foot_6</ref> shows a red-shifted line, namely the Cosmic Eyelash <ref type="bibr">(Falgarone et al. 2017)</ref>; for this source, the CH + (1-0) absorption line is shifted by &#8710;V &#8764; +150 km s -1 with respect to the systemic velocity as defined by the CO emission lines. A similar velocity shift in the Cosmic Eyelash is also observed in the OH + (1 1 -0 1 ) and H 2 O + (1 11 -0 00 ) absorption lines <ref type="bibr">(Indriolo et al. 2018). Recently, Butler et al. (in prep.)</ref> report OH + (1 1 -0 1 ) absorption lines toward ten gravitationally lensed Herschel-selected high-z galaxies; for all of them, the line is invariably seen in absorption and blue-shifted with respect to the systemic velocity, with the exception of one source where the absorption line peaks at the systemic velocity. Together, the currently available observations of OH + (and CH + ) have established that these molecular ions are robust tracers of molecular gas outflows in high-z galaxies, confirming the results of observations of OH + or OH in local ultra-luminous galaxies (e.g., <ref type="bibr">Lu et al. 2017;</ref><ref type="bibr">Gonz&#225;lez-Alfonso et al. 2017, and</ref>  In contrast to the above trends, the detection of red-shifted molecular absorption lines in high-z systems seems much less common. Only two cases are known, namely the Cosmic Eyelash <ref type="bibr">(Falgarone et al. 2017;</ref><ref type="bibr">Indriolo et al. 2018</ref>) and HerBS-89a (here described), out of the total of 18 high-z sources observed to date for which CH + (1-0) and/or OH + (1 1 -0 1 ) (or other tracers such as OH, H 2 O or H 2 O + ) have been seen in absorption.</p><p>Direct observational evidence of inflow is indeed scarce. Signatures of infalling gas are notoriously difficult to observe: the accreting material may have low metallicity, low density, and/or a small covering factor (less than 10% at z &#8764; 1.5; see, e.g., <ref type="bibr">Fumagalli et al. 2011)</ref>, and it might be ionized or obscured by outflows. The need for a good alignment of an accretion structure with a background continuum source along the line of sight lowers the chance of detection even further.</p><p>The findings here described for molecular absorption lines in high-z galaxies are in line with the scarcity of infall evidence gathered from previous studies. Using optical spectroscopy, <ref type="bibr">Rubin et al. (2012)</ref> report evidence of cool, metal-enriched gas accretion onto galaxies at z &#8764; 0.5. <ref type="bibr">Wiseman et al. (2017)</ref> found a rare case of inflow of metal-poor gas from the intergalactic medium onto a z = 3.35 galaxy. More recently, <ref type="bibr">Ao et al. (2020)</ref> report evidence of infalling gas in a Lyman-&#945; blob at z = 2.3, and <ref type="bibr">Daddi et al. (2020)</ref> presented observations revealing cold gas filaments accreting toward the center of a massive group galaxy at z = 2.91. In the local Universe, a few examples of inflow activity have been found through Herschel spectroscopic observations of compact luminous infrared galaxies. These include NGC 4418 and Zw 049.057, where reversed P-Cygni profiles, a clear signature of infall, were revealed in the [OI] 63 &#181;m fine-structure lines <ref type="bibr">(Gonz&#225;lez-Alfonso et al. 2012;</ref><ref type="bibr">Falstad et al. 2015)</ref>; Arp 299 where the absorption of the ground state of OH at 119 &#181;m is found red-shifted by &#8764;+175 km s -1 , suggesting a low excitation inflow in this source <ref type="bibr">(Falstad et al. 2017</ref>); Circinus, which shows an unambiguous OH 119 &#181;m inverted P-Cygni profile <ref type="bibr">(Stone et al. 2016)</ref>; and IRAS 10091+4704, the starburstdominated system at z = 0.24, were a clear inverted P-Cygni OH profile indicates the presence of a fast inflow of molecular gas with a rate of &#8764;100 M yr -1 (Herrera-Camus et al. 2020).</p><p>Theoretically, gas flowing into less massive (M &#8804; 10 12 M ) galaxies should be dynamically and thermally cold, while more massive halos receive most of their baryons as hotter (T &gt; 10 5 K) gas (e.g., <ref type="bibr">Dekel &amp; Woo 2003;</ref><ref type="bibr">Kere&#353; et al. 2005)</ref>. Thus cold, dense, metal-poor circum-galactic gas is often interpreted as direct evidence of accretion. Metal-poor Lyman-limit systems have been used as tracers of accretion in observations (e.g., <ref type="bibr">Lehner et al. 2013</ref>) and simulations (e.g., <ref type="bibr">Fumagalli et al. 2011)</ref>.</p><p>Inflow and outflow rates of galaxies are constrained by cosmological simulations (e.g., <ref type="bibr">Kere&#353; et al. 2005</ref>) and analytic models based on the mass assembly history of dark matter halos <ref type="bibr">(Bouch&#233; et al. 2010;</ref><ref type="bibr">Lilly et al. 2013)</ref>. <ref type="bibr">Erb (2008)</ref> reproduces the gas mass fraction and metallicity distribution of galaxies with a simple chemical model involving gas inflow and outflow. Inverting their reasoning, <ref type="bibr">Yabe et al. (2015)</ref> constrain gas inflow and outflow rates based on the observed stellar masses, gas mass fractions, and metallicities of star-forming galaxies at z &#8764; 1.4.</p><p>Taken together, the above evidence strongly indicates that galaxies possess large reservoirs of circum-galactic gas eligible for accretion <ref type="bibr">(Tumlinson et al. 2017</ref>). Nevertheless, evidence for fuel does not necessarily imply the presence of fueling.</p><p>We can describe the gas flow as a cylindrical channel that brings the gas onto the galaxy (see Fig. <ref type="figure">19</ref> for a schematic representation). Given the distance d inflow of the infalling clouds from the galaxy (i.e., given the line-of-sight distance that the gas has yet to travel), and assuming that the accreting gas travels at a constant speed V inflow , the mass inflow rate can be computed as follows:</p><p>Here X denotes either the OH + or CH + molecular ion; N l is the column density of the inflowing gas; m X is the mass of the molecular ion; A obs is the de-magnified projected area covered by the inflowing gas in the sky; &#966; is the angle between the line of sight and the inflow direction; and V obs is the measured red-shifted velocity of the line. With these definitions, the term V obs / cos &#966; represents the de-projected inflow velocity V inflow , and the cross-sectional area of the cylinder perpendicular to the flow is given by A inflow = A obs / sin &#966;.</p><p>The N l (OH + ) value measured from the high angular resolution spectra for OH + (1 1 -0 1 ) and (1 2 -0 1 ) is (9.6-11.2 &#215; 10 14 ) cm -2 (Table <ref type="table">3</ref>). The mass of the OH + molecular ion is m OH + = 2.824 &#215; 10 -23 g. The observed projected area can be computed from the S&#233;rsic radius R s of the OH + source plane reconstruction (0.21-0.23 kpc; Table <ref type="table">6</ref>) yielding A obs = 0.13-0.17 kpc 2 . The observed velocity of the flow is 100 km s -1 . The distance that the inflowing gas travels from the observed position to the center of the galaxy is one of the most uncertain quantities in Eq. ( <ref type="formula">16</ref>). Typical distances found in the literature are on the order of one to a few kpc. Using the positions of lines and continuum in the source plane (Table <ref type="table">6</ref>), we can only compute the distances projected on the sky as between &#8764;0.1 and &#8764;0.3 kpc, which are of the same order than the systematic positional uncertainty computed via Eq. (4) (&#8764;0.08 kpc). Assuming a geometry similar to that of OH + , because no source plane reconstruction has been attempted for the low angular resolution NOEMA data, a similar reasoning can be applied to the CH + line. Based on these values and estimates and using Eq. ( <ref type="formula">16</ref>), we find</p><p>and</p><p>modulo the angle &#966; between the flow direction and the line of sight, which is unknown.</p><p>In order to transform these results into the total inflow rate, we assume that the gas mass is dominated by hydrogen, and we adopt as abundances relative to hydrogen the quantities f OH + = 5.7 &#215; 10 -8 (computed as the Galactic average value from Table <ref type="table">5</ref> of <ref type="bibr">Indriolo et al. 2015)</ref> and f CH + = 7.6 &#215; 10 -9 <ref type="bibr">(Godard et al. 2014;</ref><ref type="bibr">Indriolo et al. 2018)</ref>. By dividing Eq. ( <ref type="formula">16</ref>) by f X and multiplying by the ratio m H /m X of the molecular ion's mass relative to H, we derive mass inflow rates of &#7744;inflow sin &#966; cos &#966; &#8764; 3-14 M yr -1 from OH + , and &#8764;6-24 M yr -1 from CH + .</p><p>In the so-called "bathtub" or "gas regulator" model <ref type="bibr">(Bouch&#233; et al. 2010;</ref><ref type="bibr">Lilly et al. 2013;</ref><ref type="bibr">S&#225;nchez Almeida et al. 2014;</ref><ref type="bibr">Peng &amp; Maiolino 2014;</ref><ref type="bibr">Dekel &amp; Mandelker 2014;</ref><ref type="bibr">Somerville &amp; Dav&#233; 2015</ref>, among many others), the evolution of the gas content of a galaxy can be formulated as follows:</p><p>where &#934; is the inflow rate; SFR = M gas , as per the Schmidt-Kennicutt star formation law <ref type="bibr">(Schmidt 1959;</ref><ref type="bibr">Kennicutt 1998b</ref>); R is the fraction of mass of newly formed stars quickly returned to the ISM through stellar winds and supernovae; &#936; = &#955;SFR is the outflow rate, linked to the SFR by the mass loading factor &#955;; finally, &#951; rec is the fraction of gas ejected by outflows falling back onto the galaxy. Additional factors, for example due to AGN feedback, possible mergers or other external causes, are here summarized by the term Y. Different scenarios can be at play in the case of HerBS-89a. In the least likely scenario, we might be witnessing a flow channeling gas from the intergalactic medium onto the galaxy, described by the term &#934; of Eq. ( <ref type="formula">19</ref>). While such flow would in principle consist of pristine gas, the detected OH + and CH + transitions testify to the presence of enriched material. To produce these molecular ions, first of all, as the reaction rates go with n 2 , pockets of dense gas should be present; second, the most important formation channel for OH + (and CH + ) requires high temperatures, which could be produced in an accretion shock in the infalling gas as it enters the halo of the galaxy, although this scenario remains speculative. <ref type="bibr">Yabe et al. (2015)</ref> use a simple analytic model of galaxy chemical evolution to constrain the inflow (and outflow) rates of three samples of star forming galaxies at z = 0, 1.4 and 2.2 <ref type="bibr">(Erb et al. 2006;</ref><ref type="bibr">Peeples &amp; Shankar 2011, and their work)</ref>. They show that the average gas inflow rate of the samples is 2 to 3&#215; their SFRs. Turning into physical units, &#7744;inflow is a few solar masses per year at z = 0 growing to &#8764;100 M yr -1 at z = 2.2. Model predictions reproduce these values for dark matter halos masses of M DH &#8764; 2 &#215; 10 12 M (e.g., <ref type="bibr">Bouch&#233; et al. 2010;</ref><ref type="bibr">Yabe et al. 2015)</ref>. If the SFR is fed by the inflow, then it is naturally proportional to the inflow rate. The detailed process of gas accretion and its relation to the fuel of SFR is more complex and still poorly understood. The gas fraction and SFR efficiency (i.e., the reciprocal of &#964; depl ) come into play. How they relate to</p><p>&#7744;inflow is yet to be fully investigated by observations, because of the rare occurrence of direct inflow measurements.</p><p>In this frame, HerBS-89a would require a very high inflow rate to sustain its large measured star formation rate. Although the angle between the line of sight and the inflow is unknown, the values derived above seem too low to support this scenario.</p><p>Alternatively, the flow could be part of a galactic fountain, in which a fraction of the gas expelled by the starburst winds falls back onto the galaxy (the term &#951; M gas in Eq. ( <ref type="formula">19</ref>)). In this case, an outflow should also be detected, as described by -&#955; M gas . No evidence of any outflow feature was found in the spectra of HerBS-89a, neither in the form of blue-shifted emission (e.g., inverted P-Cygni profile) nor through absorption components of the detected lines. Nevertheless, it is worth noting that the absorption lines of OH + here reported are not isolated, and have emission or absorption lines of other molecular species on their blue sides, perhaps preventing the identification of a blueshifted component. Moreover -despite the superb quality of the NOEMA spectra -the S/N reached in the spectra of the main emission lines is not high enough to detect any faint, very broad wings, that could indicate the presence of an outflow.</p><p>Finally, if HerBS-89a is in fact a merging pair or a multiple source (see Sect. 7), a third possibility is that the red-shifted OH + and CH + lines originate in a stream of matter between the two components. This case belongs to the term Y in Eq. ( <ref type="formula">19</ref>), and would naturally explain the enriched composition of the flow. One possibility is that HerBS-89a is similar to a scaled-up version of the merger in the local Antennae galaxy (NGC 4038/9), in which an off-nuclear high concentration of dust and gas and a powerful starburst are found in the region between the two galaxies: a "Hyper-Antennae".</p><p>With the data in hand, it is however not possible to distinguish between these different scenarios and draw a definitive conclusion. Also in this case, higher angular resolution and deeper sensitivity observations of HerBS-89a will be required to shed further light on the nature of the mass inflow observed in this system.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="10.">Summary and concluding remarks</head><p>We report new millimeter NOEMA and VLA observations of the lensed starburst galaxy HerBS-89a at z = 2.95 that are complemented with near-infrared and optical data (obtained with the HST and GTC) that reveal the foreground lensing galaxy. The ability to process large instantaneous bandwidths with NOEMA enables an in-depth exploration of a sizeable part of the 1 mm spectrum of HerBS-89a, covering in total 121 GHz in the restframe, leading to the detection of transitions of molecular ions and molecular species that have not been previously observed in a high-z galaxy. In addition to the strong emission lines of 12 CO(9-8) and H 2 O(2 02 -1 11 ), we detect the three OH + groundstate 1 J -0 1 lines (J = 0, 1, 2) and the CH + (1-0) line, all four seen in absorption and red-shifted with respect to the systemic velocity of HerBS-89a, two transitions of NH 2 in emission, and HCN(11-10) and/or NH(1 2 -0 1 ) lines, seen in absorption. modeling the lensing of HerBS-89a, we reconstructed the dust continuum emission and the molecular emission lines in the source plane deriving the morphology and the kinematics of this high-z galaxy.</p><p>The main conclusions of this paper are as follows: -The high-angular resolution (0. 3) images of HerBS-89a in dust continuum and the emission lines of 12 CO(9-8) and H 2 O(2 02 -1 11 ) show two distinct components -one to the north and a brighter slightly more extended component to the A122, page 25 of 33 south, which are linked by an arc-like 1. 0 diameter structure reminiscent of an Einstein ring. HerBS-89a is gravitationally amplified by a foreground massive galaxy at z phot = 0.9 +0.3 -0.5 , with an estimated deflector mass of M lens = 9.8 +3.2 -4.9 &#215;10 10 M . Using lens modeling, we have reconstructed the source-plane morphologies of HerBS-89a in dust continuum and molecular line emission. The magnification factor is estimated to be &#181; &#8764; 5 for the dust continuum and &#181; &#8764; 4-5 for the emission lines.</p><p>-HerBS-89a is a high-z dusty star forming galaxy. From the 12 CO(1-0) measurements, we derive a mass for the molecular gas reservoir of M mol = (2.1 &#177; 0.4) &#215; 10 11 M . modeling the available CO lines (J = 1-0, 3-2, 5-4 and 9-8) with an LVG approach indicates that the molecular gas in HerBS-89a has an average density of n H 2 &#8764; 500 cm -3 and a kinetic temperature T kin &#8764; 200 K. Using the fine sampling of the dust continuum flux densities observed from 250 &#181;m to 3.4 mm (or 63 to 860 &#181;m in the rest-frame), we derive an infrared luminosity of L IR = (4.6 &#177; 0.4) &#215; 10 12 L , and a dust mass of M dust = (2.6 &#177; 0.2) &#215; 10 9 M , yielding a dustto-gas ratio &#948; GDR &#8776; 80. The star formation rate is estimated to be SFR = 614 &#177; 59 M yr -1 and the depletion timescale depl = (3.4 &#177; 1.0) &#215; 10 8 years. -Lens modeling suggests that the warmest and densest material in HerBS-89a (i.e., as traced by dust, 12 CO(9-8), and H 2 O(2 02 -1 11 ) emission) is distributed across a region a few kpc across. We cannot distinguish definitively between a single-disk and a two-component description of this distribution on the basis of existing observations, but dynamical and molecular gas mass estimates are consistent in either scenario, and the two-component scenario in particular provides a natural explanation for the very large observed CO velocity widths. -A series of molecular emission and absorption lines are detected in HerBS-89a that trace very dense gas (up to n H 2 &#8764; 10 9 -10 10 cm -3 ). NH 2 is seen in emission and detected in two transitions, while an absorption feature at 246.72 GHz corresponds to HCN(11-10), NH(1 2 -1 0 ) or a combination of both. Future observations of additional transitions of these species (particularly HCN and NH) would be needed to further explore the densest regions of HerBS-89a. -The three fundamental transitions of OH + and CH + (1-0) are all seen in absorption and all red-shifted by &#8776;+100 km s -1 with respect to the systemic velocity of HerBS-89a. The molecular ions OH + and CH + both trace low-density (n H 2 &#8764; 100 cm -3 ) gas. The fact that the velocity red-shifted absorption lines cover substantially the distribution of the CO and water emission lines in the image (and source) planes indicates that this low-density gas must be kinematically unrelated to the dense gas. We here argue that we are tracing a rare case of inflow of low-density gas, indicating that HerBS-89a is accreting matter from its surroundings. Based on the available data, we have estimated that the mass inflow rate is on the order of &#8776;10-20 M yr -1 . Various scenarios are possible to account for the observations including inflowing gas from the intergalactic medium, a galactic fountain or a stream of matter between the two merging components. The results here described highlight the importance of processing large instantaneous bandwidth in the study of high-z galaxies, as such observations allow us to efficiently measure multiple lines and explore in an unbiased way the entire available frequency range for the presence of molecular species. In the case of HerBS-89a, we were able to probe this system from the very highest to the lowest molecular gas densities with high-quality spectral data in the 830-1060 GHz rest-frame frequency range, which includes key molecular ionic transitions tracing feedback mechanisms. The findings here reported show that it is possible to unravel the complex physics at play within this starburst (likely to be a merger) system in the early Universe from the kinematics of its inner most regions to the low-density inflowing molecular gas. They provide the foundation for future follow-up observations to further study the nature of HerBS-89a and better constrain its morphology and kinematics, which will need higher-angular resolution and higher S/N data, as well as for future studies of larger samples of high-z galaxies, with properties akin to those of HerBS-89a, selected from on-going large redshift surveys.   </p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>The adopted frequencies correspond to the strongest of the hyperfine transitions for the specific &#8710;J(Indriolo et al.  </p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_1"><p>2015, and references therein).2  The rest frequency of the CH + (1-0) transition is taken from M&#252;ller (2010).</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_2"><p>http://deneb.astro.warwick.ac.uk/phsaap/hipercam/ docs/html/</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_3"><p>The 4000 &#197; discontinuity is defined as the ratio between the average flux density between 4050 and 4250 &#197; and that between 3750 and 3950 &#197;<ref type="bibr">(Bruzual 1983</ref>).</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_4"><p>The HCN(11-10) transition was not discussed in<ref type="bibr">Rangwala et al. (2011)</ref>.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="7" xml:id="foot_5"><p>The first detection of CH + was made in the far-infrared spectrum of the planetary nebula NGC 7027 through rotational lines from J = 2-1 to 6-5 seen in emission<ref type="bibr">Cernicharo et al. (1997)</ref>.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="8" xml:id="foot_6"><p>In the case of the galaxy G09v1.40 reported in<ref type="bibr">Falgarone et al. (2017)</ref>, adopting the precise redshift of z = 2.0924 &#177; 0.0001<ref type="bibr">(Yang et al. 2017)</ref> shifts the CH + (1-0) absorption line to &#8764;-200 km s -1 with respect to the systemic velocity of the source as defined by the CO emission lines; the CH + (1-0) absorption line is therefore blue-shifted in this system -see alsoButler et al. (in prep.).</p></note>
		</body>
		</text>
</TEI>
