Introduction

Why galaxies remain quiescent despite the presence of gas in their halos remains a puzzle in galaxy evolution models. In particular, the discovery of cool (T~104) gas situated within the hot (T~106–7) corona1 of massive passive galaxies contradicts the previously held thesis that these galaxies quenched due to a lack of cool gas accreting from their circumgalactic mediums (CGMs)2. While recent observations have firmly established the prescence of cool gas around massive quiescent galaxies out to 500 kpc3,4, state-of-the-art models struggle to accurately reproduce the diversity of observed properties5. Furthermore, it remains unclear whether the cool gas present at large impact parameters is able to survive infall and accrete onto the galaxy, or whether the clouds are destroyed via interactions with the surrounding hot medium6. As a result, the innermost regions (~0–30 kpc) of the CGM are of particular interest for quenching models.

Observations of the inner CGM around quiescent galaxies have primarily relied on quasar sightlines. However, quasar sightlines are limited by a lack of spatial information on the level of individual galaxies due to quasars providing only a needle beam sampling of the CGM in question. Additionally, quasar sightline studies are unable to control for the impact parameter and viewing angle probed, both of which strongly influence CGM properties (e.g. 7,8). While multiply lensed quasars mitigate some of these issues by providing multiple probes at different viewing angles9,10,11, each lensed image still only provides a needle-like probe, and sample sizes are limited by their rarity. The small spatial area probed by quasars is a critical issue, as simulations indicate the cool CGM to be clumpy and non-isotropic12,13. Given the typical size of the broad line region of an AGN (~10−2 pc14) and the typical size of a massive elliptical galaxy’s halo (Rvir~500 kpc) a quasar probes  ~10−3 pc2 of a medium spanning a cross-sectional area of 1012 pc2. It is therefore extremely difficult to accurately characterise the total gas present around galaxies with quasar sightlines alone, as they are highly vulnerable to the stochastic nature of the CGM distribution. As a result, measuring properties such as the gas covering fraction requires stacking of large samples. However, such samples cannot fully control for all properties know to influence the CGM (e.g. azimuthal angle15,16,17, impact parameter8,18,19, stellar mass20,21, star-formation rate (SFR)22, and environment15,23,24,25,26).

Alternatively, gravitationally lensed background galaxies allow us to probe foreground targets with exquisite spatial detail. A typical gravitational arc can probe an area of  ~100 kpc2 providing 1011 times more cross-sectional area than a quasar (see section “Methods” subsection “Arc areas and impact parameters”). This significantly larger spatial coverage leads to more representative measurements on the chemical abundances, temperature, and density of the gas. Furthermore, due to the significantly larger coverage, gravitational lenses can measure the covering fraction of the gas directly around a single galaxy. The first studies to employ this arc-tomographic approach27,28,29,30,31 used cluster scale lenses to probe the CGM of intervening star-forming galaxies. However, galaxy–galaxy strong lenses consisting of a massive quiescent deflector and a highly star-forming background source are significantly more abundant than cluster scale lenses.

Over the next decade of order 106 galaxy–galaxy strong lenses will be discovered by cosmological surveys such as Euclid and the Legacy Survey of Space and Time32, a three orders of magnitude increase over the hundreds of systems that are currently known33,34,35,36,37,38,39,40. This is also two orders of magnitude above the number of lensed quasars that will be found (~10[3,41). With galaxy-scale lensing preferentially occurring around massive quiescent galaxies, we show for the first time how these systems can be used to characterise the innermost regions of the CGM around quiescent galaxies. Furthermore, due to the simple lens mass profile, we show for the first time that the mass of the CGM itself is sufficient to influence gravitational lens models.

We present a study of the gravitational lens SDSSJ075523.52+344539.5 (hereafter J0755) comprised of a single quiescent deflector at redshift z = 0.7221 ± 0.000242 and a star-forming source at z = 2.634736 quadruplely lensed into an Einstein cross (Fig. 1). The 4 arcs range from 11 to 19 kpc from the deflector in projected distance and probe cross-section areas between 13.6 and 39.2 kpc2 (Table 1). The deflector has a high stellar mass \(\log {M}_{* }/{M}_{\odot }=10.7{9}_{-0.01}^{+0.07}\) and high total mass with \(\log {M}_{{{\rm{E}}}}/{M}_{\odot }=12.13\), where ME is the total mass enclosed by the lensing radius (section “Methods” subsection “Lens model”). The deflector contains an old stellar population with a mean luminosity-weighted age of 3.3 Gyr and an SFR of \(0.4{9}_{-0.38}^{+0.36}\ {M}_{\odot }/{{\rm{yr}}}\) (section “Methods” subsection “Stellar properties”). The high mass and low SFR are further supported by the deflector’s high stellar velocity dispersion of 304 ± 13 km s−1 (section “Methods” subsection “Stellar properties”) and no detected nebular emission lines in the observed spectrum. J0755 lives in a relatively isolated environment (Fig. 1 and section “Methods” subsection “Environment”) so we can rule out the possibility of close neighbours influencing the results.

Fig. 1: Map of MgII absorption in the four arcs of the gravitational lens.
figure 1

Left: DECaLS \(2^{\prime} \times 2^{\prime}\) image demonstrating the relatively isolated local environment. The white box shows the field of view of the right panel. Right: combined HST/WFC3 F606W and F140W image of J0755 with labels for the four bright arcs of the Einstein cross. The black dotted line encapsulates the galaxy major axis ratio and 1Re47. ad Voigt profile fits to MgII in the KCWI spectra of the four arcs. The black line shows the data, the yellow lines show  ±1σ uncertainty, and the blue lines show the fitted Voigt profiles. The rest-frame equivalent width of λ2796 absorption, \({W}_{r}^{\lambda 2796}\), is listed at the top. The strong absorption at 1770 km s−1 (4845 Å observed wavelength) is interstellar CII from the arc.

Table 1 Summary of CGM parameters

Results

To search for cool gas absorption signatures in the brightly lensed arcs, we observed J0755 with the Keck Cosmic Web Imager (KCWI)43 at the Keck Observatory. The absorption from the MgII doublet at λ = 2796, 2803 Å reveals a significant amount of cool gas along the line-of-sight towards three of the four arcs. Figure 1 shows the MgII absorption in the four different positions of the Einstein cross labelled (a) to (d). Of the four arcs, arc (b) shows the clearest MgII absorption, and we also find MgII in arcs (a) and (d) (Table 1). Despite the similar impact parameters of arcs (a), (b), and (d), there is azimuthal variation in the absorption strength of MgII.

We estimate the HI gas mass directly probed by arcs (a), (b), and (d) to be between 106.2–107.4, 106.8–107.7, and 107.1–107.8M, respectively (section “Methods” subsection “KCWI observations”). If we assume the three detections are representative of the total HI present within 18 kpc, i.e. that the gas is uniformly distributed, we estimate between 108.4–109.3M of HI gas. Compared to the stellar mass of the galaxy (M* = 1010.79M), these HI masses are between 0.4 and 3% of the galaxy’s stellar mass, which is consistent with the MHI/M* fraction found within the stellar body and inner  ~10’s of kpc of  ~20–25% of similar mass early-type galaxies at z = 044 (see Supplementary Fig. 4).

The column densities and gas masses presented in Table 1 are based on an analysis assuming unity coverage of the gas over the arcs. Arcs (a) and (b) are well fit by the unity covering fraction model and so if we instead allow for partial covering in the Voigt profiles we find that partial covering models only provide a marginal improvement in goodness of fit. Conversely, arc (d) is likely to be only partially covered based on the doublet ratio of the λλ2796, 2803 absorption features (which is 2:1 in the case of unity coverage and unsaturated lines), and there is a significant improvement in the goodness of fit when allowing for partial covering. Importantly, partial covering significantly increases the column density estimates: \(\log {N}_{{\rm{MgII}}}\) in arcs (a) and (b) can increase by nearly an order of magnitude, and the most severely affected, arc (d), \(\log {N}_{{\rm{MgII}}}\) can increase by 2–3 orders of magnitude. Naturally, larger column densities lead to larger gas mass estimates, and therefore possible partial covering would only increase our HI mass estimates. Therefore we present here the results from the unity covering fraction model, and consider that the column densities and gas masses are lower limits in the case of partial covering.

It is interesting to note however that the data does imply partial coverage. Individual clouds range on scales of 0.1–30 kpc45 and are therefore much larger than a quasar. As a result, quasars do not show partial coverage, and therefore the distribution of clouds around galaxies can only be inferred from stacked quasar sightline samples and comparing the frequency of incidence of the sightlines with a cloud (the fractional coverage). On the other hand, using gravitational lenses we can statistically measure the distribution (size and coverage) of clouds around a single galaxy, without the need for stacking large samples. Specifically, we find partial coverage fractions of 0.81 for arcs (a) and (b) and 0.86 for arc (d) minimise the reduced χ2 of the fits, indicating the medium probed is highly clumped. Furthermore, the difference in partial coverage between arc (d) and arcs (a) and (b) suggests azimuthal variation in the density of cool clouds at  ~10–15 kpc.

J0755 is known as a difficult-to-model lens, despite it having a simple geometry46,47,48,49. Previous studies suggested and investigated numerous possible explanations, including a complicated mass profile in the deflector and local environment46,50, or line of sight dark matter subhalos49,50. Given our results showing significant amounts of cool gas intersected by three of the four arcs, this raises the question of whether the mass of the CGM could be significantly contributing to how light from the background source is being deflected. If this CGM gas is asymmetrically distributed around the galaxy, it could have a measurable impact on the lensing and would explain the inability of previous models to precisely reproduce the lensing light profile.

Figure 2 shows the results of lens modelling of the F606W image, (section “Methods” subsection “Lens model”). The top row shows fits using an elliptical power law (PL) mass distribution with external shear, which represents the summed mass of stars and dark matter. The PL is commonly used to model strong lenses and typically fits lens imaging data to the noise level (e.g. 51). However, Fig. 2 shows this model leaves significant residuals in all four arcs.

Fig. 2: Lens models for J0755 in the HST/F606W filter.
figure 2

The top row shows the power law (simple) model, and the bottom row shows the power law plus multipoles (complex) model. a, d Model of the lensed source. b, e Residuals from the model (model – lens subtracted data). c, f Convergence of the maximum likelihood mass model. g Difference between the convergence maps for the simple and complex model. The more complex mass model significantly improves the residuals of the fit. The contours overlaid on the right panels show that it does this by asymmetrically squeezing the mass distribution towards arcs b and d where the strongest KCWI detections are found.

To include the lensing contribution of the diffuse, asymmetric gas component, we simultaneously add first, second, third, and fourth order multipole expansions to the PL52. Multipoles add azimuthal freedom to the mass distribution allowing it to capture complexities like an offset centre of mass and radial twists. The bottom row of Fig. 2 shows fits for the PL with multipoles, where the significant residuals seen in the PL model are removed and the data is successfully fitted. The PL with multipoles model is favoured over the PL with a Bayes factor of 574 (corresponding to an over 10σ result) providing definitive evidence that the PL with multipoles model is capturing genuine mass structure.

Figure 2c, f shows the convergence maps of the PL and PL with multipoles models. The PL shows elliptically symmetric iso-density contours, whereas the PL with multipoles has a distinct asymmetry, with squeezing inwards in the direction of arcs (b) and (d), which exhibit the strongest MgII absorption. This is more clearly seen in Fig. 2g, which presents the difference between the convergence maps of the two models. This asymmetry is driven primarily by the first-order multipole, which has a magnitude of  ~12%, indicating a mass structure that is significantly offset from the stars and dark matter. A diffuse but significant amount of gas, offset from the stars, inside the Einstein radius is the most plausible explanation for the asymmetric mass distribution inferred via lensing.

Lens modelling of J0755 suggests it is a unique system, however, expectations from quasar sightline studies show that a cool CGM around quiescent galaxies is not uncommon, at least at large impact parameters1,4. We quantify how unique it is from a lensing perspective by fitting 15 other strong lenses from the BELLS-GALLERY sample studied in Nightingale et al. 202449 with the PL plus multipoles model. We find four systems where Bayesian model comparison favours the PL with multipoles model, and in all four lens models the first-order multipole exceeds 5%, indicating an offset mass component. The remaining 11 systems are typically lower signal-to-noise, therefore model comparison disfavouring the PL with multipoles does not necessarily indicate it is not a more accurate description of their mass, but rather better data is necessary to infer this. Therefore, these results have important implications for strong lens modelling in general.

Discussion

Massive passive galaxies reside in halos containing diffuse, metal-enriched, multi-phase gas extending out to ≤500 kpc4 as revealed from absorption signatures imprinted by the gas on spectra of background quasars. However, quasar sightlines lack spatial information and typically probe the CGM at large galaxy–quasar separations, limiting our ability to characterise the clumpy and non-isotropic gas distribution12,13. As a result, quasar absorption line studies of the CGM are unable to constrain total gas masses in individual galaxies and must heavily rely on statistically built galaxy halos to assume any constrains on the presence of gas and its mass. Conversely, using gravitational lenses provides a direct representative measurement of the CGM clouds in that region, as opposed to a probabilistic incidence of clouds along a needle sightline, and thus provides a greater challenge for simulations to reproduce.

In Fig. 3, we show how the equivalent widths of MgII (\({W}_{r}^{\lambda 2796}\)) measured here compare to other systems studied using a similar spatially resolved gravitational lensing technique using cluster scale arcs. All three studies27,28,29 probe the CGM of lower mass star-forming systems at similar redshifts as J0755 (z = 0.734 − 0.98 cf. zJ0755 = 0.7224). However, despite the systems probed by Mortensen et al.29 and Lopez et al.27,28 being significantly different in both stellar mass and star-formation rate, they have similar amounts of cool gas in their inner CGM compared to J0755. The stellar masses of these systems range from M* = 109.0–9.8M and have \(\log {{\rm{sSFR}}}/{{{\rm{yr}}}}^{-1}=-10.15\) to  −8.8. By comparison, J0755 is approximately an order of magnitude more massive (M* = 1010.79M) and significantly less star-forming with \(\log {{\rm{sSFR}}}/{{{\rm{yr}}}}^{-1}=-11.0\).

Fig. 3: Comparison of J0755 to star-forming galaxies probed with cluster scale arcs.
figure 3

a Equivalent width of MgII versus impact parameter, with the relation expected for star-forming galaxies8. The grey dashed vertical line is the expected boundary between interstellar and circumgalactic gas from z ~ 0.1 star-forming galaxies53. b Equivalent width of MgII versus impact parameter normalised by the virial radius, with the relation expected for star-forming galaxies111. The vertical bars show the 1σ uncertainty for each point, while the down arrows represent upper limits.

The vertical dotted line in Fig. 3a shows the expected boundary between the ISM and CGM for z ~ 0.1 star-forming systems53. While the literature values with ρ < 6 kpc are slightly above the relation8 since the MgII absorption likely arises from both the ISM and CGM, the red points (J0755) are fully consistent with originating from CGM gas. The \({W}_{r}^{\lambda 2796}\) values from J0755 are consistent with the distributions from star-forming galaxies (most notably with the29 detections which also occur at small impact parameters). All three detections (and the upper limit for arc c) are consistent within 2σ of the relation for star-forming systems8. Scaling the impact parameter ρ by the virial radius (Fig. 3b), there is still no significant difference between J0755 and the star-forming systems despite their significantly different virial radii (for J0755 Rvir = 191 kpc compared to 73–135 kpc for the star-forming systems).

In Supplementary Fig. 5, we further compare J0755 to equivalent widths measured for quiescent (Supplementary Fig. 5a) and star-forming (Supplementary Fig. 5b) galaxies probed using quasar sightlines. Note however that given the difference in beam size between a quasar and a lensed galaxy arc, the measurements for J0755 are a result of a culmination of clouds within a large area compared to a needle beam intercepting just a few clouds in the literature studies.

The median velocities of the absorption in arcs (a) and (b) are blueshifted with respect to the deflector (227 and 126 km s−1, respectively) but within expectations for gravitationally bound gas in a halo of this mass, which has an escape velocity of  ~600 km s−1 assuming the stellar-to-halo mass relation of54 and an NFW halo profile (see also4). The absorption profiles are relatively broad (297 ± 47, 332 ± 44 km s−1) and consistent with the stellar velocity dispersion of the galaxy (304 ± 13 km s−1). Notably, the profiles are significantly broader than the absorption profiles measured for the lower mass star-forming galaxy of Mortensen et al. 202129 (<45 km s−1, see also30), so it is therefore unlikely the absorption is originating from an undetected low-surface brightness neighbour. We note, however, that the gas probed is likely comprised of many smaller clouds moving at a range of velocities and containing lower internal dispersions, and so it is unlikely that any individual cloud has dispersions as high as  ~300 km s−1 12. Although, if the gas clouds are too dynamically hot to successfully accrete onto the galaxy, this provides a simple solution as to why the galaxy has remained quiescent despite this large cool gas reservoir at close impact parameters.

We can use the kinematic properties of the absorption profiles to consider whether this gas is likely to be inflowing or outflowing. For typical star-forming disk galaxies, accreting gas tends to co-rotate with the galaxy around the major axis at velocities less than or similar to the rotation velocity of the galaxy55,56,57. However, given this galaxy is a massive passive galaxy, it may not have organised rotation driven by cosmic filaments and the fact that all the detections are blueshifted may instead be a sign that accretion is isotropic. Alternatively, gas accreted through wet mergers may display disturbed kinematics, and could lead to the blueshifted kinematics observed. The deflector is too faint at the wavelengths probed by Keck/KCWI to constrain its spatially resolved stellar kinematics, however, if the 304 ± 13 km s−1 velocity dispersion is driven by rotation, then the MgII detections have a comparable velocity offset. Although, without knowing the direction of rotation from spatially resolved kinematics it’s impossible to say for certain whether the absorber kinematics are indicative of accretion.

Considering the virial mass of the galaxy (Mhalo = 1012.2M54) is above the expected critical threshold mass at which galaxies switch from cold-mode to shock induced hot-mode accretion (Msh~1012M)58,59. Therefore, radiatively cooled clouds accreted from the hot halo are unlikely to survive to the inner halo regions60,61,62 (although the survival rate of cool clouds seeded from hot halos is not fully understood, e.g. 63,64,65). We, therefore, consider whether the existence of such a large cool gas reservoir in this regime could originate instead from outflows. Assuming then the gas originated within the galaxy and was ejected in star-formation-driven outflows, we can use the luminosity-weighted stellar population age, 3.3 Gyr (section “Methods” subsection “Stellar properties”), as a proxy for the time since the galaxy stopped actively forming stars. Assuming the gas was ejected 3.3 Gyr ago, to reach distances of ≥11.1–14.6 kpc it must therefore have had to travel at ≥4 km s−1. However, outflows tend to have significantly higher velocities of 150–200 km s−166 which would therefore imply a much more recent period of star formation (within the last 100 Myr) which is inconsistent with the deflector’s rest-frame optical spectrum.

Another possibility is that the gas originated from an AGN-driven outflow. The galaxy currently does not host an AGN as evidenced by the lack of emission in the rest-frame optical spectrum. Specifically, no [OII] is detected in the OSIRIS spectrum (shown in Supplementary Fig. 2), and no [OIII] or Hβ is detected in the SDSS eBOSS spectrum42. Considering an AGN-driven outflow travelling at 1000 km s−1 (e.g. 67) to the gas cloud’s current position would therefore have been emitted between 11 and 14 Myr ago. Given AGN lifecycles exist on much shorter timescales, 107–108 yr, while the relic phase after switching off is a further order of magnitude shorter67,68, it is plausible the outflow originated from a now-passive AGN.

Regardless of the velocities, an outflow would need to have a unique geometry with a large opening angle to cover all three arcs (a), (b), and (d). Although, there is evidence of isotropic outflows from highly star-forming galaxies at z ~ 269 which could make such a geometry possible. It may simply be the case, however, that the gas is not from a recent inflow or outflow and therefore it has not retained kinematic signatures of its origin. Recycled gas can take  >1 Gyr to fall back onto the galaxy70, and with an estimated 3.3 Gyr since the last significant star-formation period it is therefore possible we are detecting previous isotropic outflow that is now reaccreting.

Lastly, there is the possibility that the gas detected at these distances (10–20 kpc) is part of an extended outer disk. In the local Universe, the ATLAS 3D survey71 found 10–40% of their early-type galaxies contain HI masses above  ~107M44, with the number fraction varying with environmental density. The HI morphologies range from settled regular discs and rings to irregular distributions suggesting tidal tails and accretion events. However, for local early-type galaxies an HI disk always has an ionized gas counterpart72,73. Furthermore early types with inner HI discs are also detected in molecular gas72, and the presence of molecular gas also coincides with ionized gas and Hβ and [OIII] optical emission lines74. Given J0755 has no detected optical emission lines (the KCWI and GTC/OSIRIS spectra span a continuous rest-frame wavelength of 2030–4460 Å covering Hβ and the [OII] doublet), it is therefore unlikely to host an HI disk analogous to local early types. Additionally, given the old stellar age of J0755 (3.3 Gyr) and low current star-formation rate of SFR\(=0.4{9}_{-0.38}^{+0.36}{{{\rm{M}}}}_{\odot }{{{\rm{yr}}}}^{-1}\), there has not been any ionized gas for a significant amount of time. Although it is possible that over the next 6.4 Gyr from z = 0.7221 to now the detected gas may accrete onto the galaxy and form the kind of extended HI discs observed at z = 0, making J0755 the progenitor of HI rich local early types.

Irrespective of the gas’s origins, the question remains whether it will eventually (re)accrete onto the galaxy, and if so, will it restart star formation? Based on the high total mass of the galaxy (ME = 1012.13M) the velocity offsets of the gas are less than the halo escape velocity, and so the gas is likely bound within the halo4 and with enough time should accrete. Considering our estimate of 108.4–109.3M of HI gas directly probed within 18 kpc (≈4Re), this is comparable to the amount of HI gas found distributed in regularly rotating discs within  ~20% of early-type galaxies at z~0, the presence of which is a strong indicator of on-going star formation44. However, this HI mass measurement is a lower limit on the total gas present in the halo out to higher impact parameters. Estimates of the total cool, photoionised CGM mass around early-type galaxies based on quasar sightlines at z~0.2 predict significantly higher (MH = 109–1011M) amounts of gas1.

How then, do quiescent galaxies remain quiescent in the presence of such significant cool gas reservoirs? Previous semi-analytical models6 predict that while cool 105M clouds can exist around massive quiescent galaxies at scales comparable to their virial radii (≥500 kpc), upon infall these clouds lose 99% of their mass due to interactions with hot coronal gas. Hence, according to this model, the very inner regions of quiescent galaxy halos (≤20 kpc) should be devoid of cool gas, thus explaining their continued quiescence. However, in the local Universe, between 10 and 30% of early-type galaxies show evidence of a more recent secondary star-formation period75,76, and while the fraction of stellar mass formed in rejuvenation events is larger for lower mass galaxies, even galaxies with M* = 1011M show evidence of secondary star formation77. Therefore, is our detection of cool gas at 10–20 kpc to this massive quiescent galaxy puzzling, or are we observing this galaxy in the moments before a rejuvenation episode? If we were to watch J0755 over the 6.46 Gyr between z = 0.7224 and the present day, it is possible we would see a re-ignition of star formation followed by a return to quiescence.

This work shows both that the CGM itself is massive enough to affect lensing models, and that we can use the light from galaxy-scale lenses to spatially probe the gas of the foreground quiescent galaxy at close impact parameters. This work provides clear evidence of significant amounts of cool gas at close impact parameters to massive quiescent galaxies, in contrast to the theory that  >99% of cool halo gas clouds are destroyed upon infall from the outer halo6. The survival of these clouds onto the host, and whether they reignite star formation remains a puzzle. Depending upon the exact amount of HI present, a possible consequence of this cool gas is a rejuvenation event which sees J0755 briefly (~0.7 Gyr78) rejoin the star-forming main sequence followed by continued quiescence. This analysis demonstrates the power of galaxy-scale gravitational lens in probing the baryon cycle of massive galaxies.

Methods

KCWI observations

We observed J0755 with KCWI on the Keck II telescope on 3rd March 2002 UT as part of programme ID 2022A_W230 (PI Barone). We used the medium slicer with the blue low resolution (R = 1800) grating, which provides a resolution of 2.5 Å in the wavelength range 3500–5600 Å in a 16.5″ × 20.4″ field of view. The target was observed in ten separate 26 min exposures for a total exposure of 260 min. Five of the ten exposures used an instrument position angle of 0° (North), while the other five used a position angle of 90° to obtain equal spatial resolution in both spatial directions. We reduced the data using the IDL version of the KCWI data reduction pipeline (DRP) using the standard steps aside from the sky subtraction step which is omitted. We used flux standard star BD33D2642 listed in the KCWI DRP starlist to flux calibrate the data in the last step of the DRP. The data were then further reduced following the procedure outlined by Nielsen et al.79 to remove the sky background. Nielsen et al.79 found that the standard KCWI DRP (IDL, v1.2.2) leaves a wavelength-dependent gradient at ~10% of the sky level in the data, and therefore developed a custom flat-fielding approach to remedy this issue, which we follow here. The separate exposures were optimally combined using Montage80. The spectra are barycentric velocity corrected and are listed in vacuum wavelengths. The full wavelength range for the spectra in the four arcs is shown in Supplementary Fig. 1. Throughout the analysis we assume a flat Λ cold dark matter (ΛCDM) Universe with ΩΛ = 0.7, ΩM = 0.3, and H0 = 70 km s−1 Mpc−1, and a Chabrier81 initial mass function.

For each of the four knots of the Einstein cross (labelled in Fig. 1), we spatially integrate the KCWI spectra within 3.8″ apertures to create four higher S/N spectra. We then fit Voigt profiles to the MgII absorption profiles using the VPfit software (version 12.182), which fits for the gas column density (\({\log }_{10}N\) atoms cm−2), velocity Doppler parameter (b km s−1) and redshift (z), assuming optically thin gas and a partial covering fraction of unity. From the Voigt profiles, we also measure the rest-frame equivalent width \({W}_{r}^{\lambda 2796}\). The fits are shown in the panels of Fig. 1 and the fit parameters are summarised in Table 1. For the non-detection in arc (c) we measure a 3σ upper limit of \({W}_{r}^{\lambda 2796} < 0.315\) Å assuming a line width of b = 300 km s−1 based on the S/N and instrumental resolution83. We apply the same method to measure a 3σ upper limit of \({W}_{r}^{\lambda 2796} \, < \, 0.625\) Å assuming a b = 50 km s−1 line width from an SDSS spectrum of an RAB = 19.989 ± 0.018 quasar with impact parameter ρ = 206 kpc west from the lens system. We note that the strong absorption feature red-ward of the MgII profiles at 4845 Å is interstellar CIIλ1334 intrinsic to the arc.

In arc (d) we find a statistically significant reduction in flux around the expected location of MgII λ2796 Å, 2803 Å as shown by Fig. 1d, however, the widths of the fitted Voigt profiles are unconstrained. This could be due to multiple gas clouds along the line of sight which are unresolved due to the low spectral resolution of KCWI. We obtain an estimate on the column density in arc (d) by constraining the Voigt profile to have b = 310 km s−1.

To measure the HI masses, we start by first converting our \({W}_{r}^{\lambda 2796}\) measurements to HI column densities following the relations of Ménard & Chelouche 200984. The range in values comes from using either the geometric or arithmetic mean in the \({W}_{r}^{\lambda 2796}\) to \(N_{HI}\) relation84. The large variation in the relation may reflect two separate sequences, and without knowing which this data is likely to follow we quote both. We then integrate the column densities in the areas probed by the arcs (27.2, 38.7, and 39.2 kpc2 for arcs a, b, and d, respectively), which are measured from high-resolution HST F606W imaging (see section “Methods” subsection “Arc areas and impact parameters”). The three detections span the closest impact parameters, and we place a 3σ upper limit on the non-detection in arc (c) which has the largest impact parameter (18.9 kpc).

Stellar properties

We used the FAST++ (https://github.com/cschreib/fastpp) software which is a modification of the spectral energy distribution (SED) fitting code FAST85 to measure the stellar mass and star-formation rate of the galaxy. Observed HST photometry of the galaxy in the F140W, F814W, and F606W bands as well as its rest-frame optical GTC/OSIRIS spectrum were fitted to constrain the stellar mass of \(\log {M}_{* }=10.79\pm 0.07\) and star-formation rate of SFR\(=0.4{9}_{-0.38}^{+0.36}{{{\rm{M}}}}_{\odot }{{{\rm{yr}}}}^{-1}\). We adopted a Chabrier81 initial mass function with an exponentially declining star-formation history and used a grid of single stellar population models from Bruzual & Charlot 200386. A uniform screen of dust attenuation for the entire galaxy was assumed following a Calzetti87 attenuation law. The metallicity was set as a free parameter varying between Z = 0.004 (sub-solar) and Z = 0.05 (super-solar). While more ground-based photometry is available (ugriz from DECaLS and SDSS) the deflector light suffers severe contamination from the source light in all the ground-based photometry due to the large point-spread function. We therefore only included the high-resolution HST images to ensure clean deflector photometry.

To measure the average stellar population age and stellar velocity dispersion of J0755 we use archival rest-frame optical slit spectroscopy from OSIRIS on the Gran Telescopio Canarias. Specifically, we used OB0012 of programme ID GTC47-16B88, for which the slit was oriented across arcs (d) and (b). The 60 min total observation used the R2500R grating, and spanned the observed wavelength range λ5575–7685. We reduced the data using the PypeIt89,90 (https://pypeit.readthedocs.io/en/latest/) Python package.

We measure the stellar age of J0755 by fitting synthetic spectral templates from the Extended Medium resolution INT Library of Empirical Spectra (E-MILES91,92) using the Python implementation of the Penalized Pixel-Fitting software (pPXF93,94). The analysis used a 12th-order multiplicative polynomial to account for the shape of the continuum (relative to the templates) and for dust extinction (see, e.g. 95). The template library is based on isochrones from Girardi et al. 200096 and a Chabrier 2003 81 initial mass function. We use the full set of 350 templates which contain 50 age values ranging from 0.063 to 17.78 Gyr, 7 [Z/H] values ranging from  −2.32 to  +0.22, and have [α/Fe] values scaled to the solar neighbourhood (the ‘base’ models92). The bestfit model has an age of 3.3 Gyr and stellar metallicity of [Z/H] = −0.058 and is shown in Supplementary Fig. 2. The stellar kinematics are similarly measured using pPXF, however this time using the MILES stellar library91 which consists of 985 stars spanning a large range in stellar atmospheric parameters, as well as a 12th-order additive polynomial. The bestfit model has a velocity dispersion of 304 ± 13 km s−1.

Environment

We briefly consider whether close neighbours could be contributing to the MgII absorption detected in the KCWI data as well as the complexity in the lens model. Figure 1 shows a 2″ × 2″ view around J0755 from DECaLS grz imaging. J0755 is isolated or at most in a sparsely populated group, with no close neighbours that are likely at the same redshift. Both the standard PL model and the multipole PL lens model include the contribution from the z = 0.283 foreground quiescent galaxy to the south–west, however, including or excluding this foreground galaxy does not result in an appreciable change in either model. Furthermore, we do not expect the broader environment to create the type of residuals shown in the top row of Fig. 2. The gravitational effects of neighbours and the broader environment manifests as an external shear which is already accounted for in the standard PL model. We therefore conclude our results are unlikely to be due to other galaxies in the local environment.

Virial radius

To estimate the virial radius of J0755 we first measure the virial mass using the stellar-to-halo mass relation54. The corresponding virial radius is then determined using the relation Rvir = [3Mh/(200ρc4π)]1/3 where ρc is the critical density of the Universe at z = 0.7224.

Arc areas and impact parameters

To measure the size of the arcs and their projected distance to the deflector we use the Source Extractor97 software on the HST F606W photometry. First, we measure the total flux of the four arcs within 1σ of the background noise. We then adjusted the σ limits until the size contained 90% of the total light within each arc and which better represents the light included in the KCWI spectra. We then measured the projected distance from the area-weighted mean of the 95th percentile isophotes of the four arcs a, b, c, and d from the deflector to be 14.4, 14.6, 18.9, and 11.1 kpc, respectively. We measure the sizes of the arcs to be 0.52, 0.74, 0.26, and 0.75 sq″ which, based on the assumed cosmology, translate to 27, 39, 14, and 39 kpc2 (proper), giving a total area probed by the arcs of 119 kpc2.

To compare the area probed by the arcs measured above to the area probed by a typical quasar, we assume the following. First that the the scale of the quasar probe derives from broad line region, which are on the order of  ~40 lightdays (see Fig. 6 of 14), which translates to 0.03 pc. Therefore, the area probed by a quasar is π0.032 = 0.004 pc−2. Hence based on these measurements, the gravitational arcs of J0755 probe a spatial area 1011 greater than a quasar sightline.

Lens model

To construct a lens model we used publicly available HST/WFC3 UVIS F606W data from programme 14189 (PI: Bolton). We perform lens modelling using the open-source software PyAutoLens (https://github.com/Jammy2211/PyAutoLens)98,99,100 using an adaptation of the Source, Light and Mass (SLaM) pipelines described in Etherington et al. 2023 and Nightingale et al. 202351,101. The specific pipelines used in this study are available at https://github.com/Jammy2211/autolens_j0755. Lens models are fitted using the nested sampling algorithm nautilus102. We give a concise overview of the aspects of lens modelling that are most important for this study, however, a detailed step-by-step guide of the lens analysis is provided at https://github.com/Jammy2211/autolens_likelihood_function.

To subtract the deflector galaxy’s light, we perform a multiple Gaussian expansion (MGE)103, which decomposes the lens light into 60 elliptical two dimensional Gaussians. The axis ratio, position angles, and size of the Gaussians vary, capturing departures from axisymmetry. The intensity of every Gaussian is solved for simultaneously with the source reconstruction, using a non-negative least square solver (NNLS). Previous analyses assumed Sérsic profiles for the lens subtraction (e.g. 49) and obtained the same conclusions regarding there being source residuals after the model is fitted, indicating the lens light subtraction is not important for our interpretation of an additional diffuse mass component in the lensing galaxy.

The aspects of lens modelling that are important for this study are the lens galaxy mass model (which ray-traces light to the unlensed source plane) and the source analysis (which for a given mass model reconstructs the source’s unlensed light). The source is reconstructed using an adaptive Voronoi mesh with 2000 pixels whose distribution adapt to the source morphology. This uses the natural neighbour interpolation and adaptive regularization described in Nightingale et al. 2023101, but unlike this study enforces positivity on source pixels by using the NNLS. This Voronoi mesh is able to reconstruct irregular galaxy morphologies, provided the mass model is accurate. A user input mask defines where the source reconstruction is performed. The mask used in this study is shown in Fig. 2 (black line). It has been customized via a graphical user interface to only contain the brightest arcs which the KCWI spectra indicate have CGM absorption. It also contains a second faint additional lensed source, where one multiple image is located to the top-right of the masked image.

We present two models in the main paper. The first assumes a PL mass model104 with an external shear term, representing the lens galaxy’s total mass distribution (stars and dark matter). The second assumes a PL plus external shear with internal multipoles52, which describe internal angular structure in the lens mass distribution. Different multipoles of different order m correspond to different forms of complexity. For example, the m = 1 multipole accounts for offsets in the lens’s centre of mass and an m = 4 accounts for boxiness or diskiness. Specifically, we fit simultaneously a PL plus shear with an m = 1, m = 2, m = 3, and m = 4 multipole, with the rationale that in unison they may be able to capture the asymmetric and diffuse mass structure of the CGM. Equations for all mass models are given at https://github.com/Jammy2211/autolens_j0755.

To the south–west of J0755 is a foreground passive galaxy, which can be observed in all HST images. CaII K and H (λλ3934, 3969) detected in the KCWI spectra reveals this galaxy is at z = 0.283. We include it in the lens model as a Singular Isothermal Sphere mass distribution, with the centre fixed to the observed centre of light. Multi-plane ray tracing is performed to account for the galaxy being at a different redshift to the lens. A second fainter galaxy to the north–west of J0755 is also included in the lens model.

Including these galaxies, the PL plus shear mass model has 10 free parameters compared to the PL with multipoles plus shear which has 18. To objectively compare two models with such different degrees of freedom we use the Bayesian evidence, \({{\mathcal{Z}}}\), which is estimated by nautilus. The evidence is the integral of the likelihood over the prior and therefore naturally includes a penalty term for including too much complexity in a model. We quote Bayes factors defined as \(\Delta \,{{\ln }}\,{{\mathcal{Z}}}={{\ln }}\,{{{\mathcal{Z}}}}_{{{\rm{PLM}}}}-{{\ln }}\,{{{\mathcal{Z}}}}_{{{\rm{PL}}}}\), where \({{\ln }}\,{{{\mathcal{Z}}}}_{{{\rm{PLM}}}}\) corresponds to the PL with multipoles plus shear and \({{\ln }}\,{{{\mathcal{Z}}}}_{{{\rm{PL}}}}\) the PL plus shear. A value of \(\Delta \,{{\ln }}\,{{\mathcal{Z}}}=4.5\) corresponds to odds of 90:1 in favour of that model; a 3σ preference. A value of \(\Delta \ln {{\mathcal{Z}}}=12.5\) corresponds to a 5σ preference.

The main results of this analysis can be summarised as: (i) Bayesian model comparison favours the PL with multipoles model with a Bayes factor of \(\Delta \,{{\ln }}\,{{\mathcal{Z}}}=574(67)\) for the F606W (F814W) data (both corresponding to an over 10σ preference); (ii) the models for both filters favour a first-order multipole component with a magnitude over 10% indicating a mass component with a significant offset from the stars and dark matter and; (iii) the azimuthal structure introduced by the multipoles creates the asymmetric squeezing seen in the convergence plots of Fig. 2. Light from J0755’s lens galaxy also shows no evidence of asymmetry making it unlikely this mass is present in stars or dark matter.

We consider whether we can extract a mass estimate of only the CGM component via the lens model. For example, we inspected the convergence residuals in Fig. 2g, which suggest the component has a mass above 1010M. However, the Einstein mass of the PL with multipoles model is <95% that of the PL model (systematic errors on Einstein masses above 5% are expected, e.g. 51). The magnitude of these residuals is therefore driven by the overall convergence normalization reducing by 5%. Given an Einstein mass of \(\log {M}_{{{\rm{E}}}}/{M}_{\odot }=12.13\), this produces changes in convergence mass above 1010M. Extracting a mass estimate of the CGM from the multipole model also proved unsuccessful. This is because the multipole model does not add a separate mass component on top of the PL, but redistributes its mass, such that the overall mass associated with the multipoles alone averages to zero. This means it is not possible to provide a precise estimate of the mass associated with only the off-centre and elliptically squeezed component.