In this paper
AbstractIntroductionMethods and ResultsDiscussionConclusionsPhotometryNIRCam and MIRIFIR and sub-mmNIRSpec spectroscopyPrismG395MFIR SEDProspector fittingOutshining and the half-mass radiusMorphologyEnvironmentAGN constraintsReferencesWorksPhysics and Astronomy
Leviathan: a very massive, extended sub-millimetre galaxy spectroscopically confirmed at
Abstract
We present Leviathan, a sub-millimetre galaxy (SMG) spectroscopically confirmed at with JWST/NIRSpec. Modelling 31 bands of photometry from the rest-frame ultraviolet to the millimetre, we find a stellar mass of , making Leviathan one of the most massive spectroscopically confirmed galaxies at , yet consistent with CDM for a star-formation efficiency of approximately 20%. Although SMGs are often thought to be building the dense cores of compact quiescent galaxies, Leviathan is extended, with a rest-frame half-light radius of 4.3 kpc. Spatially resolved SED fitting gives a half-mass radius of kpc, consistent with its size in rest-frame imaging. This is three times larger than quiescent galaxies of the same mass, but consistent with the size-mass relation of star-forming galaxies at extrapolated to . Leviathan forms stars on the main sequence (approximately ) with dust spread across its disc. Both its stellar mass and dust are more extended than those of SMGs. Alongside GN20.2b, which has a similar mass and star-formation rate but is three times smaller, these show that massive dusty galaxies at can have very different stellar structures, and that not all have their stellar mass concentrated in a compact core.
Introduction
Sub-millimetre galaxies (SMGs), the most extreme of the dusty star-forming galaxies (DSFGs), are among the most massive galaxies at any epoch, with and star-formation rates of – hidden behind large columns of dust (for reviews see Casey et al. [13]; Hodge & da Cunha [30]). Their number density peaks at (Danielson et al. [18]; Dudzevičiūtė et al. [23]), and they have long been posited as the progenitors of massive quiescent galaxies (MQGs; Michałowski et al. [43]; Toft et al. [58]; Valentino et al. [62]). JWST has now confirmed large numbers of MQGs at (Carnall et al. [11]; Baker et al. [5]) including many spectroscopically above (e.g. Carnall et al. [10] (2023b); de Graaff et al. [20]; Baker et al. [4]; Ito et al. [34]), and some with and early formation times (Glazebrook et al. [26]; Carnall et al. [10]; de Graaff et al. [20]), implying comparably massive progenitors at even earlier times.
Such extremely massive galaxies are powerful tests of galaxy formation, and potentially of cosmology as in CDM a galaxy’s stellar mass is limited by the mass of its halo, the cosmic baryon fraction and the efficiency with which those baryons are turned into stars, , so a given volume sets a maximum stellar mass (Behroozi & Silk [6]; Boylan-Kolchin [8]). JWST has uncovered several apparently over-massive galaxies (e.g. Labbé et al. [38]; Xiao et al. [65, 64]; Glazebrook et al. [26]; Carnall et al. [10]; de Graaff et al. [20]), but their masses are uncertain, candidates suffer from interlopers, inaccurate redshifts and stellar-population and dust assumptions, whilst the tension for MQGs rests on their inferred star-formation histories which can depend on stellar population models.
The structure of these galaxies can be as informative as their mass. MQGs at are remarkably compact, with half-light radii of only – kpc at – (Ito et al. [33]; Carnall et al. [10]; Baker et al. [4]), so their progenitors must have built dense stellar cores rapidly. The compact (– kpc) dust continuum of SMGs has been taken as evidence that they are doing exactly this (Toft et al. [58]; Hodge et al. [31]; Gullberg et al. [27]; Tan et al. [56]). However, the dust continuum mainly traces ongoing star-formation rather than the existing stellar mass, and hence prior to JWST the mass distribution of the most massive DSFGs at was hidden.
JWST now resolves their rest-frame near-infrared light, confirming, as suggested by HST at (Lang et al. [39]), that their stellar discs are often much larger than the dust (Crespo Gómez et al. [16]; Gillman et al. [25]). However, radial gradients in age and attenuation mean that light-weighted sizes can differ significantly from mass-weighted ones (e.g. Suess et al. [54]). Resolved SED fitting of SMGs indeed finds stellar masses as compact as their dust ( kpc; Li et al. 2026), but it is unknown where the stellar mass lies in the most massive SMGs at . Whether these galaxies are on the way to becoming compact MQGs therefore requires measuring where their stellar mass (not just their light) is located.
What is lacking are spectroscopically confirmed, , DSFGs, of which there are only a handful, including GN20 and GN20.2b (Daddi et al. [17]), and GN10 (Riechers et al. [52]). Here we present and spectroscopically confirm Leviathan, a SMG at . It was first identified in the sub-millimetre as AzUDS57 (Michałowski et al. [45]) and localised with ALMA as AS2UDS0036.0 (Stach et al. [53]), with photometric redshifts ranging from (Stach et al. [53]; Dudzevičiūtė et al. [23]) to ([32]). We measure its stellar mass from 31 bands of photometry and, using spatially resolved SED fitting and MIRI imaging, where that mass is located. We use a Chabrier [14] initial mass function (IMF) and Planck Collaboration et al. [49] cosmology throughout.
Methods and Results
We use NIRSpec prism and G395M spectroscopy from RUBIES ([19]), NIRCam and MIRI imaging from PRIMER ([21]) and MINERVA ([47]), all reduced by the DJA ([9, 60, 28, 61]), and far-infrared to millimetre photometry from Herschel ([23]), SCUBA-2 and ALMA (Appendices A and B). Leviathan is very red with an average extinction of and F200W − F444W mag.
From Hα and [NII] in the G395M spectrum we measure a systemic redshift of (Appendix B.§ 2), consistent with the prism, which shows Hα+[NII] and [SII] with a strongly attenuated continuum () and clear spatial gradients in Hα along the slit (Figure 2).
Figure 2. (a) 2D and 1D NIRSpec prism spectrum of Leviathan, with Hα+[NII] and [SII] confirming the redshift. (b) Prospector fit to the 31 bands, with the χ residuals. (c) Star-formation histories of the two main runs. (d) Stellar-mass posterior.
We model all 31 photometric bands, including the far-infrared upper limits, with Prospector ([35]), following Baker et al. [4, 3] (Appendix § 8). As the slit covers only 16% of the F444W light of Leviathan, we use the prism only to set the redshift prior, since including it would bias the fit, and we find no evidence for a significant AGN (Appendix H). The fit reproduces almost all bands over 1–1100 μm (Figure 2) and gives . A rising-SFH prior, which can lower masses ([40]), gives a consistent . The SFR of places Leviathan on the massive end of the star-forming main sequence at ([50]). Fitting the far-infrared SED alone with mercurius ([63]) (Appendix § 7) gives and , a dust-to-stellar mass ratio of 1.2%.
Fitting the light profile with a single Sérsic model in pysersic ([48]) gives a half-light radius of in F444W (consistent with Gillman et al. [25]), decreasing to in F770W (rest-frame ; Appendix § 10). To measure where the stellar mass is, we bin PSF-matched NIRCam images with piXedfit ([1]) and fit each region with Prospector (Appendix § 9). This gives a half-mass radius of , in agreement with the independent half-light radius at rest-frame ( in F770W), where the light is less affected by dust and is a much closer tracer of stellar mass. The dust continuum has – (uv-plane fits in Bands 6 and 4) making it more compact than the stars but larger than the typical size of SMGs (–, [31, 27]). The summed mass of the regions agrees with our fiducial value, whereas a NIRCam-only fit to the integrated photometry gives a mass 0.3 dex lower, consistent with outshining by the less obscured outskirts ((Michalowski et al. 2012a)). Our fiducial fit recovers the resolved mass (Table D.1).
Discussion
Figure 3a compares Leviathan to spectroscopically confirmed DSFGs and MQGs at , with the maximum stellar mass expected in the PRIMER-UDS volume ([6, 8]). Leviathan is one of the most massive spectroscopically confirmed galaxies at , but would require
Figure 3. Leviathan in context. (a) Stellar mass against redshift. The lines show the maximum stellar mass expected in the PRIMER-UDS volume for with , 0.3 and 0.1, with shaded. Leviathan is shown for our fiducial fit (filled star) and with the rising-SFH prior (open star). We compare to spectroscopically confirmed dusty star-forming galaxies at (diamonds; GN10 and S3, Lapasía et al. [40]; HDF850.1, Sun et al. [55]; GN20 and GN20.2b, Crespo Gómez et al. [16]) and massive quiescent galaxies at (circles; Carnall et al. [11, 10]; de Graaff et al. [20]; Baker et al. [4]). GN20 and GN20.2b are offset by in for clarity. (b) Size against stellar mass. Leviathan is shown for its F444W half-light radius (filled star), its half-mass radius from the resolved SED fits (open star; Appendix § 9) and its ALMA dust size (bar), with the dusty galaxies and quiescent galaxies of panel (a), the size–mass relation of quiescent galaxies at (Ito et al. [33]), and that of star-forming galaxies at (grey; Allen et al. [2], dashed where extrapolated beyond ).
| Quantity | Value |
| RA, Dec (J2000) | 02:17:27.31, −05:06:42.9 |
| (G395M Hα; ) | ; |
| (mode 11.44) | |
| [] | |
| (lookback) [Myr] | |
| [mag] | |
| [] | |
| [K] | |
| [] | |
| []; EW [Å] | ; 119 |
| (F444W, major axis) [kpc] | |
| Sérsic ; axis ratio | ; 0.72 |
| (F770W, major axis) [kpc] | |
| (resolved SED fits) [kpc] | |
| (ALMA B6) [kpc] | |
| (ALMA B4) [kpc] |
Table 1. Properties of Leviathan.
Notes. is the surviving mass. The posterior has a low-mass tail, so the median lies below the mode. Energy balance, 8–1000 μm. Optimally thin greybody (MERCURIUS); gives and (App. § 7). NIRSpec prism, in slit Range of PSF choices and fitting methods (App. § 10). Rest-frame ; single Sérsic fit, (App. § 10). Half-mass radius. Gaussian fits in the uv plane; Band 6 from Ikarashi et al. [32] (App. § 10).
(10–30% within its mass uncertainty) if it occupies this halo, posing no tension with ΛCDM.
The mass-size relation is currently only reliably measured up to at (Allen et al. [2]). In the size–mass plane (Figure 3b), Leviathan lies within of the size–mass relation of star-forming galaxies at (Allen et al. [2]) extrapolated to its mass, both in light ( in F277W, at the same rest-frame wavelength and also measured along the major axis) and in stellar mass. As photometric masses are uncertain at the massive end (Appendix § 9), Leviathan extends the comparison to above suggesting that the relation may not flatten up to . It is also larger than most SMGs at ( at ; Gillman et al. [25]) and its half-mass radius is times that of SMGs from resolved SED fitting (Li et al. 2026). GN20.2b, at the same redshift with a similarly high stellar mass and SFR, is three times smaller (Crespo Gómez et al. [16]), so massive dusty galaxies at can have very different stellar structures.
The differences between the half-light, half-mass and dust radii of Leviathan can help constrain how it is growing. Its half-mass radius is times its half-light radius, typical of inside-out growing massive star-forming galaxies at cosmic noon, in which the centre is older and dustier than the outskirts (Suess et al. [54]), as the prism spectra confirm for Leviathan (Appendix B). The dust is only slightly more compact than the stellar mass (–). Temperature gradients can make the continuum appear more concentrated than the dust mass (Boogaard et al. [7]), so the star formation may be even more extended. The star formation is spread across the disc with , compared to for GN20 at a similar dust size. Even if the gas reservoir of Leviathan (– for gas-to-dust ratios of 50–100) were converted into stars with the present distribution of dust, adding 0.3 dex in mass, the half-mass radius would only decrease to . The central density implied by our profile, , is also below that of compact quiescent galaxies, although a compact component below our ≈1.5 kpc PSF matched resolution limit cannot be excluded. If its star formation continues with its present spatial distribution, Leviathan is therefore unlikely to develop the compact structure of the massive quiescent galaxies at ; this would require substantial central mass growth or a structural transformation, for example through gas inflows or mergers. Whereas the stellar mass of SMGs is typically compact ( kpc; Li et al. 2026), that of Leviathan is extended at a higher mass, as is its dust. Together with GN20.2b, this suggests that massive galaxies at follow different structural paths, with Leviathan a natural progenitor of the extended, disc-like quiescent galaxies at –3 (e.g. [59]). Leviathan lies in a modest, mass-biased overdensity with a companion at 23 kpc (Appendix G). Whether it becomes the central galaxy of a group or a brightest cluster galaxy is an open question.
Conclusions
We spectroscopically confirm Leviathan at with , robust to within 0.2 dex, making it one of the most massive spectroscopically confirmed galaxies at , yet consistent with CDM for .
Both its light ( kpc) and stellar mass ( kpc) are extended, consistent with the extrapolated size–mass relation of star-forming galaxies and three times larger than quiescent galaxies of the same mass, with the dust only slightly more compact.
With its present distribution of star formation, Leviathan is unlikely to become a compact quiescent galaxy. With GN20.2b, it shows that the most massive dusty galaxies at can have very different stellar structures.
1 DARK, Niels Bohr Institute, University of Copenhagen, Jagtvej 155A, DK-2200 Copenhagen, Denmark
2 Cosmic Dawn Center (DAWN), Denmark
3 DTU Space, Technical University of Denmark, Elektrovej 327, DK-2800 Kgs. Lyngby, Denmark
4 Niels Bohr Institute, University of Copenhagen, Jagtvej 128, DK-2200, Copenhagen, Denmark
5 INAF-Osservatorio Astrofisico di Arcetri, Largo Enrico Fermi 5, I-50125 Firenze, Italy
| NIRCam [µJy] | MIRI [µJy] | |
| F090W | < 0.44 | |
| F115W | < 0.47 | F770W 16.2 ± 2.2 |
| F140M | < 0.35 | F1280W 13.7 ± 1.8 |
| F150W | < 0.36 | F1500W 13.1 ± 2.1 |
| F162M | < 0.40 | F1800W 15.5 ± 4.2 |
| F182M | 0.84 ± 0.20 | far-IR / mm [mJy] |
| F200W | 1.11 ± 0.14 | PACS 100 µmᵃ < 5.2 |
| F210M | 0.75 ± 0.24 | PACS 160 µmᵃ < 12.1 |
| F250M | 2.20 ± 0.20 | SPIRE 250 µmᵃ < 9.2 |
| F277W | 2.41 ± 0.17 | SPIRE 350 µmᵃ 13.7 ± 3.2 |
| F300M | 2.77 ± 0.29 | SCUBA-2 450 µmᵇ 8.9 ± 4.0 |
| F335M | 4.66 ± 0.24 | SPIRE 500 µmᵃ < 12.3 |
| F356W | 4.62 ± 0.26 | ALMA B7, 344 GHzᶜ 7.60 ± 1.10 |
| F360M | 4.31 ± 0.28 | ALMA B6, 262 GHzᶜ 4.02 ± 0.63 |
| F410M | 5.32 ± 0.32 | ALMA B4, 145 GHzᶜ 0.84 ± 0.27 |
| F444W | 6.40 ± 0.37 | not fittedᵈ |
| F460M | 7.98 ± 0.61 | SCUBA-2 850 µm 7.5 ± 1.2 |
| F480M | 8.05 ± 0.42 | SMA 860 µm |
| ALMA B4 (2023) 0.70 ± 0.15 |
Table A.1. Photometry of Leviathan used in the SED fits. NIRCam values are totals in an elliptical aperture (a = 2\farcs45, b = 1\farcs96); bands below are given as limits (they are fitted as measurements). Errors are as measured; the fits use . Far-IR limits are and enter the fits as censored constraints.
Notes. (a) Dudzeviciūtė et al. [23], AS2UDS 0036.0. (b) This work: 390 JCMT archive nightly maps, matched filter; error scaled by the null test (App. § 7). (c) Model fits to the images (curve of growth for B7); B6 is the weighted mean of 2013.1.00781.S and 2015.1.00442.S; B6 and B4 errors include 10% calibration. Programmes: B7 2015.1.01528.S, 2016.1.00434.S; B4 2021.1.00705.S. (d) Consistency checks: S2CLS and SMA (UDS40, deboosted; Hill et al. [29]); ALMA 2023.1.01520.S (this work).
Photometry
NIRCam and MIRI
We use the DJA v7.2 mosaics (Brammer [9]; Valentino et al. [60]) of PRIMER-UDS (Donnan et al. [21]) (Dunlop+, in prep) and MINERVA (Muzzin et al. [47]). We detect sources on a multi-band detection image, and replace the segments of neighbouring sources (dilated by the PSF FWHM) with the mirror image of Leviathan through its centroid. We keep the bright knot 0′′.59 to the west as part of Leviathan, as the F444W emission between the two does not fall to the sky level and the knot lies within the ALMA emission. We measure total fluxes in an elliptical aperture whose shape is set by the second moments of the detection image and whose size is set by the curve of growth (a = 2\farcs45, b = 1\farcs96). For an aperture this large the colour error from the different PSFs is only 0.05%, so we do not PSF-match the images (except in the spatially resolved analysis). The MIRI fluxes are measured at the native resolution, with aperture corrections from forward-modelling the source through the MIRI PSFs. The uncertainties come from empty apertures, and in the SED fitting we adopt an error floor of 5% in all bands (Baker et al. [4]). Our F444W flux (6.40 ± 0.37 µJy) agrees with the DJA catalogue (6.3 µJy), whilst our photometry is bluer at , as expected for a red core surrounded by bluer out-skirts.
FIR and sub-mm
We take the Herschel PACS and SPIRE fluxes from Dudzeviciūtė et al. [23]. Leviathan is only detected at 350 µm (13.7 ± 3.2 mJy), and we include the upper limits in the other bands as censored constraints in all of our fits. As Herschel only weakly constrains the peak of the FIR SED, we measure the SCUBA-2 450 µm flux from the 390 nightly maps in the JCMT Science Archive that cover Leviathan, using a point-source matched filter on each map and combining them with inverse-variance weights. This gives 8.86 ± 1.64 mJy, and we inflate the uncertainty to ±4.0 mJy based on the scatter of the same measurement at 20 empty positions.
As aperture photometry on interferometric images is biased by negative bowls, we fit the ALMA Band 6 and 4 images with an elliptical Gaussian convolved with the restoring beam, adding a 10% calibration uncertainty in quadrature2. Combining the two Band 6 datasets gives 4.02 ± 0.63 mJy, and we find 0.84 ± 0.27 mJy in Band 4. In Band 7 the curve of growth reaches a stable plateau beyond , giving 7.60 ± 1.10 mJy, significantly higher than the catalogue value of Stach et al. [53] (4.73 mJy), which does not recover the extended emission of Leviathan. The deboosted SCUBA-2 850 µm and SMA 860 µm fluxes (Hill et al. [29]) and a more recent Band 4 map (0.70 ± 0.15 mJy), which we do not fit, all agree with our best-fit FIR model (Appendix § 7).
NIRSpec spectroscopy
Prism
The RUBIES (de Graaff et al. [19]) slitlet (PA = 200°.7) lies close to the minor axis of Leviathan, crossing the core and clumps to the north and south (Figure 1). As the galaxy fills the slit, we re-extract the prism spectrum from the DJA two-dimensional products (Heintz et al. [28]) by summing all of the rows covered by Leviathan, with a global sky subtraction. We fit the emission lines with Gaussians at the prism resolution (scaled by a single factor fitted on H) and a quadratic continuum, fixing [NII]λ6584/H = 0.45 from G395M, with uncertainties from 300 Monte Carlo realisations. We detect H+[NII] (rest-frame EW of 119 Å), [SII] and marginally [NII]λ9531, whilst H, [OIII] and [OII] are not detected, as expected given the heavy attenuation. The prism gives . Comparing synthetic photometry of the spectrum with PSF-matched photometry inside the three shutters gives a grey scale factor of 3.67 ± 0.06, and hence an in-slit H+[NII] flux of . The shutters contain only 16% of the F444W flux, so we use the prism only for the redshift. Fitting the spectrum jointly with the photometry can only reconcile the two by driving the metallicity to .
Figure 1. Leviathan in JWST and ALMA imaging. (a) NIRCam RGB image (F356W–F480M, F200W–F335M, F090W–F182M) with a 5 kpc scale bar. (b) F444W, smoothed by 0′′.08 to show the low-surface-brightness emission, with the single-Sérsic half-light ellipse ( kpc), the three NIRSpec shutters (N, C, S) and the PSF. (c) MIRI F770W (rest-frame 1.5 µm) with the 3σ (dotted) and 30σ (solid) contours of the F444W low-surface-brightness stack. (d) F444W with ALMA Band 7, 6 and 4 continuum contours (3, 5, 7 and 9σ), showing that the dust, although extended, is more compact than the stellar light.
G395M
For G395M we use spectra extracted separately for the south, centre and north shutters with the master background (as the galaxy fills the slitlet, nod subtraction would remove part of it). We then subtract the residual background measured in the outermost, source-free nodded shutter position, which removes a residual sky offset of at 2.9–3.6 µm, and scale each spectrum to the PSF-matched F410M and F444W photometry in the same footprint. We fit H and [NII]λλ6549, 6585 with a common redshift and width at the G395M resolution, limiting the intrinsic dispersion to , with uncertainties from 200 Monte Carlo realisations (Table B.1). The line widths are unresolved in all three shutters (,
| Shutter | [km s] | H | [N II] | [N II]/H |
| C | ||||
| S | ||||
| — |
Table B.1. H and [N II] in the three G395M shutters (fluxes in erg s cm, inside the shutter). is relative to .
Notes. Statistical errors; the grey photometric scale adds 45%, 10% and 26% (S, C, N). (a) Contains clump A. (b) H+[N II] , compared to from the full-slit prism divided by 3.67.
Figure C.1. FIR to mm SED of Leviathan. Open symbols show the SPIRE 350 m, SCUBA-2 450 m and ALMA detections, and triangles the upper limits from PACS and SPIRE. The red solid and blue dashed lines (with 16th–84th percentile ranges) show the optically thin and general opacity () modified-blackbody fits, and the grey dotted line the optically thin fit with 450 m as an upper limit. The green dot-dashed line shows the fiducial Prospector SED.
below the G395M resolution). The central and southern shutters give and , and we adopt , including a km s zero-point uncertainty for extended emission. The northern clump is blueshifted by km s, but with a single slit close to the minor axis we do not interpret this as rotation. The summed H+[N II] flux, erg s cm, agrees with the in-slit prism value.
FIR SED
We fit the FIR and sub-mm photometry with modified blackbodies using Mercurius (Witstok et al. [63]), with the same detections and censored limits as our Prospector fits, with detections covering rest-frame 70–410 m. We include the effects of the CMB and use the default Mercurius opacity and priors (including ). For an optically thin model we find K, and , whilst a general opacity model (m) gives K and with the same . The emissivity index is set by the prior. The luminosity corresponds to an obscured SFR of , in good agreement with Prospector. Treating 450 m as an upper limit or removing it changes the dust mass by dex, but the temperature is only constrained to –35 K. The Prospec-
| Run | [] | [Myr] | [] | |
| Fiducial | 408 | 435 | 5.6 | |
| 450 m as limit | 428 | 534 | 5.9 | |
| No 450 m | 446 | 315 | 6.0 | |
| Rising SFH | 513 | 236 | 6.3 | |
| 475 | 253 | 4.5 | ||
| No MIRI | 569 | 297 | 7.1 | |
| No far-IR/mm | 245 | 614 | 2.9 | |
| Limits as | 321 | 532 | 3.7 |
Table D.1. Robustness of the stellar mass to the fitting choices (medians; with 16th–84th percentiles). All runs are photometry-only with a continuity SFH unless noted.
Notes. (a) With the 450 m limit rather than the measurement.
For (5.6 ) is higher as it also includes warm dust and PAH emission at m, which a single-temperature greybody does not capture.
Prospector fitting
We model the photometry of Leviathan with Prospector (Johnson et al. [35]), using FSPS (Conroy et al. [15]) with the MILES library, MIST isochrones and a Chabrier (Chabrier [14]) IMF. We use the non-parametric continuity SFH (Leja et al. [41]) with eight bins (0–50 and 50–100 Myr, then six logarithmic bins to ) and a Student- prior on the log SFR ratios (width 3), and report the surviving stellar mass. The stellar metallicity is free (). We use the Kriek & Conroy (2013) attenuation law with a free optical depth and slope, plus extra attenuation of stars younger than 10 Myr, and Draine & Li (2007) dust emission with , and free, through energy balance. We include nebular emission with a free ionisation parameter and gas-phase metallicity, and IGM absorption, but no AGN (Appendix H). The redshift has a Gaussian prior centred on (), and returns .
For the detections we use a Gaussian likelihood with an error floor of 5%, (e.g. Baker et al. [4]). The undetected Herschel bands constrain the Wien side of the dust emission, but treating them as measurements of zero flux penalises every model with positive flux and biases the fit towards a fainter FIR SED. Instead, we treat them as censored data where a limit contributes to the log-likelihood, with , the model flux and the standard normal cumulative distribution. This is flat for models well below the limit and strongly penalises models above it. As shown in Table D.1, the choice matters for the FIR luminosity (zero-flux limits lower from 5.9 to ) but changes the stellar mass by only 0.05 dex, and removing all of the FIR and mm data leaves the mass unchanged.
Our fiducial fit gives , with the posterior peaking at 11.44 and only 6% below . The low-mass tail is a young, burst-dominated solution, which the SCUBA-2 450 m measurement suppresses (it contains 18% of the posterior without it). Across all our variants the median mass lies between and (Table D.1). A rising-SFH prior (Lapasía et al. [40]) lowers the mass by 0.11 dex with an almost identical evidence (), whilst fixing the metallicity to solar gives the lowest mass (11.15) but is disfavoured (). Spatially resolved fits independently give a consistent mass (Appendix § 9).
Figure E.1. Outshining in Leviathan from spatially resolved NIRCam-only Prospector fits. (a) Mass per unit F444W flux in each of the 60 bins, relative to a NIRCam-only fit to the integrated photometry of the same region, with ALMA Band 7 contours. (b) Stellar-mass posteriors for the integrated NIRCam-only fit and the sums over four radial zones and 60 bins, with free (solid) and solar (dashed) metallicity, and our fiducial fit (dotted).
Outshining and the half-mass radius
We PSF-match the 18 NIRCam bands to 0″.21 and divide Leviathan into 60 bins with piXedfit ([1]), and into four radial zones. We fit each region with our Prospector setup, but with the rising-SFH prior, the redshift fixed and the dust emission shape fixed, and fit the integrated NIRCam photometry of the same region identically. The integrated fit gives , whilst the bins sum to . The highest mass-to-light ratios lie in the central kpc, coinciding with the dust (Fig. E.1), so the integrated fit is dominated by the less obscured outskirts. The four zones give the same sum (11.24), as does fixing the metallicity (+0.37 dex), so the offset is not caused by summing many prior-dominated fits, although with the broad integrated posterior it is only moderately significant (86% probability). The resolved mass agrees with our fiducial 31-band fit, which is therefore not significantly biased by outshining.
We also measure the half-mass radius, distributing the mass of each bin over its pixels and finding the ellipse that encloses half of the total, and the half-light radius of the F444W emission in the same way. The ratio, , is insensitive to the PSF and is the same for the four zones (0.72) and with solar metallicity (0.76). Applied to our Sérsic size this gives kpc, which is if anything an underestimate as the bins exclude the faint outskirts.
Morphology
We fit F444W with a single Sérsic profile using pysersic ([48]) on a 5″ stamp with neighbouring sources masked, using an empirical PSF built from stars in the same mosaic. This gives kpc, and , and the independent DJA PSFEx PSF23 gives kpc and . As the formal uncertainties of light-profile fits are underestimated, we adopt kpc (3.7 kpc circularised), and . The residuals show a central excess, the clumpy ring and a steeper-than-exponential decline beyond kpc, but a non-parametric curve-of-growth radius on a 16″ cutout gives the same size (4.3–4.4 kpc). A double Sérsic fit gives a compact (0.3 kpc) component with 6% of the light and a disc with kpc (Fig. F.1c), so we adopt the single Sérsic size.
Repeating the fit in F200W–F356W and MIRI F770W, with empirical PSFs for each image, the size decreases with wavelength, from kpc at rest-frame 0.55 m to 3.3 kpc at 1.5 m (Fig. F.1d), consistent with the half-mass radius. At rest m the Sérsic index reaches the lower bound of its prior, so there the curve-of-growth radii (0.5–1.2 kpc larger) are more reliable. The dust is more compact. Gaussian fits in the uv plane give kpc in Band 6 ([32]) and kpc (0″.35 ± 0″.03) in Band 4, consistent with our image-plane fits (FWHM 0″.63 and 0″.83 for the two Band 6 datasets), which both prefer an extended component over a compact (0″.15) core, which contains <11–22% of the flux (95%).
Figure F.1. Morphology of Leviathan. (a) F444W image (3″.2 across) with the half-light ellipse. (b) Residual of the single-Sérsic fit (), dominated by a clumpy ring at 3–5 kpc. (c) F444W surface-brightness profile (arbitrary units) along the major axis, with the single and double Sérsic models and (dotted). (d) Half-light radius against rest-frame wavelength from Sérsic fits (open circles; note that the lower bound of its prior) and from the curve of growth (PSF-convolved), compared to the half-mass radius (orange; Appendix § 9).
Figure G.1. Environment of Leviathan. (a) -weighted surface density of galaxies within , relative to coverage-matched random apertures, against the minimum stellar mass, for the 0–0.5 and 0.5–1 pMpc annuli. (b) Projected separation against velocity offset for secure NIRSpec redshifts within 3 pMpc, with and km s shaded.
Figure G.2. The closest spectroscopic neighbour of Leviathan, 23 kpc to the north. (a) F277W image (2.4 across) with the MoM-UDS prism shutter, crossing the red disc and a compact clump 0.4 to the south-south-west. (b) Prism spectra of the two components.
Environment
We use the DJA photometric catalogue of PRIMER-UDS (Donnan et al. [21]) fit in Baker+, in prep to explore the nearby environment of Leviathan. For each galaxy we compute the probability of lying within of Leviathan, and the -weighted surface density in annuli, using the photometric for all galaxies so that the result is not biased by the spectroscopic targeting. As Leviathan lies close to the edge of the footprint, we compare to 5000 random apertures per annulus matched in coverage, giving an overdensity and an empirical -value. The overdensity grows with the mass threshold (Fig. G.1a): galaxies with at 0.5–1 Mpc are 2.04× as common as in the field (), robust to the redshift window, whilst lower-mass galaxies show no significant excess. This signal is carried by only effective galaxies against 0.6 expected, and the significance is not corrected for the several radii, masses and windows explored. The densest region lies 0.85–1.5 Mpc from Leviathan. Within 3 Mpc, 21 galaxies with secure NIRSpec redshifts lie within km s of Leviathan and 13 within km s (Fig. G.1b).
Galaxies truly in the structure have on average only 12% of their within (from the 40 spectroscopic members), so we divide the excess by this factor, and adopt a bias of for their host haloes (Tinker et al. [57]). To estimate the mass of the structure, we convert the excess of galaxies into a matter overdensity. As the line-of-sight extent of the structure is unknown, we bracket it by placing the excess either within a sphere of the projected radius or across the full redshift window. On 10–15 cMpc scales this gives –1 and an enclosed mass of , which collapses by (Mo & White 1996) only if the excess is confined to a sphere of the projected radius. On smaller scales the excess is dominated by a few galaxies and is nonlinear. Growing a halo of –12.9 with the median accretion history (Fakhouri et al. [24]) gives a massive group at (), whereas the enclosed mass above would form a rich cluster. With a modest signal, and as overdensities are poor predictors of masses (Remus et al. [51]), the descendant of Leviathan is therefore uncertain.
The closest of the neighbours lies 23 kpc north of Leviathan at , with , around a twelfth of the mass of Leviathan. Its MoM-UDS prism spectrum (Oesch+, in prep) covers two components (Fig. G.2). The first is a red, close to edge-on disc with H+[NII] (EW Å), weak [OIII] and a Balmer decrement indicating –1.5, and is undetected in ALMA Band 7 (SFR). The second is a compact clump 0.4 (3 kpc) away, with almost no continuum and extreme lines ([OIII]5007/H, EW Å), indicating a young, low-metallicity and dust-free starburst. Leviathan is therefore likely to continue to grow through minor mergers.
| ID | RA (J2000) | Dec (J2000) | [pMpc] | [km s] | [] | |
| 67248 | 02:17:27.3 | −05:06:40 | 4.0548 | 0.02 | +204 | 10.3 |
| 75129 | 02:17:27.6 | −05:06:00 | 4.0628 | 0.31 | +675 | 9.4 |
| 69279 | 02:17:30.8 | −05:06:29 | 4.0564 | 0.38 | +297 | 8.4 |
| 46864 | 02:17:27.9 | −05:08:23 | 4.0624 | 0.71 | +655 | 7.8 |
| 77519 | 02:17:20.7 | −05:05:46 | 4.0323 | 0.81 | −1132 | 9.4 |
| 79503 | 02:17:19.9 | −05:05:39 | 4.0353 | 0.91 | −953 | 8.6 |
| 35577 | 02:17:34.6 | −05:09:20 | 4.0628 | 1.35 | +675 | 8.6 |
| 53199 | 02:17:39.5 | −05:07:51 | 4.0476 | 1.37 | −223 | 7.2 |
| 71566 | 02:17:41.5 | −05:06:18 | 4.0552 | 1.51 | +225 | 8.2 |
| 19857 | 02:17:27.2 | −05:10:37 | 4.0527 | 1.65 | +79 | 10.3 |
| 50607 | 02:17:42.3 | −05:08:04 | 4.0472 | 1.68 | −251 | 8.6 |
| 41475 | 02:17:42.2 | −05:08:51 | 4.0595 | 1.82 | +479 | 7.8 |
| 50865 | 02:17:45.4 | −05:08:03 | 4.0503 | 1.99 | −66 | 9.5 |
| 59167 | 02:17:07.6 | −05:07:22 | 4.0539 | 2.10 | +150 | 8.3 |
| 21219 | 02:17:13.5 | −05:10:30 | 4.0587 | 2.17 | +435 | 8.9 |
| 70935 | 02:17:02.9 | −05:06:22 | 4.0419 | 2.59 | −564 | 10.1 |
| 71667 | 02:17:02.7 | −05:06:18 | 4.0479 | 2.60 | −207 | 9.8 |
| 17945 | 02:17:08.5 | −05:10:46 | 4.0724 | 2.63 | +1246 | 8.3 |
| 34153 | 02:17:50.3 | −05:09:26 | 4.0590 | 2.69 | +449 | 7.1 |
| 15481 | 02:17:06.4 | −05:11:00 | 4.0587 | 2.86 | +434 | 9.4 |
| 41594 | 02:17:01.2 | −05:08:51 | 4.0606 | 2.90 | +545 | 8.1 |
Table G.1. Galaxies with secure NIRSpec redshifts within 3 pMpc and km s of Leviathan (Fig. G.1b), ordered by projected separation.
Notes. IDs and stellar masses from the DJA PRIMER-UDS catalogue; redshifts are DJA grade 3. is relative to .
AGN constraints
We find no evidence for an energetically important AGN in Leviathan. It is undetected in the X-UDS Chandra data (Kocevski et al. [36]), with erg s (3), only a few times that expected from X-ray binaries, ruling out an AGN contributing more than 5–10% of unless it is Compton-thick. As H and [OIII] are not detected, we cannot use the BPT diagram, but the G395M ratios ( to −0.25) and H equivalent width (80 Å) are consistent with metal-rich star formation. It is also undetected at 1.4 GHz in the VLA imaging used by Dudzevičiūtė et al. [23] (Jy), implying , consistent with star formation and excluding a radio-loud AGN, and the MIRI photometry is well fitted by stars alone. A low-luminosity or Compton-thick AGN in the core cannot be excluded, but is unlikely to contribute significantly.
Acknowledgements. WMB acknowledges support from DARK via the DARK Fellowship. This work was supported by a research grant (VIL54489) from VILLUM FONDEN. FV, KI, and PZ acknowledge support from the Independent Research Fund Denmark (DFF) under grant 3120-00043B. W. M. Baker acknowledges use of Claude Opus 5.5 for assistance with coding and language editing. Some of the data products presented herein were retrieved from the Dawn JWST Archive (DJA). DJA is an initiative of the Cosmic Dawn Center, which is funded by the Danish National Research Foundation under grant DNRF140. This work is based on observations made with the NASA/ESA/CSA James Webb Space Telescope, obtained at the Space Telescope Science Institute, which is operated by AURA under NASA contract NAS 5-03127. These observations are associated with programmes GO-1837, 4233 and 7814. This paper makes use of the following ALMA data: ADS/JAO.ALMA# 2013.1.00781.S, #2015.1.00442.S, #2015.1.01528.S, #2016.1.00434.S, #2021.1.00705.S and #2023.1.01520.S. ALMA is a partnership of ESO (representing its member states), NSF (USA) and NINS (Japan), together with NRC (Canada), NSTC and ASIAA (Taiwan) and KASI (Republic of Korea), in cooperation with the Republic of Chile. The Joint ALMA Observatory is operated by ESO, AUI/NRAO and NAOJ.
References
- [1]Abdurro’uf, Lin, Y.-T., Wu, P.-F., & Akiyama, M. 2021, ApJS, 254, 15
- [2]Allen, N., Oesch, P. A., Toft, S., et al. 2025, A&A, 698, A30
- [3]Baker, W. M., Ito, K., Valentino, F., et al. 2026, A&A, 706, A91
- [4]Baker, W. M., Lim, S., D’Eugenio, F., et al. 2025a, MNRAS, 539, 557
- [5]Baker, W. M., Valentino, F., Legos, C. D. P., et al. 2025b, A&A, 702, A270
- [6]Behroozi, P. & Silk, J. 2018, MNRAS, 477, 5382
- [7]Boogaard, L. A., Walter, F., Weiß, A., et al. 2026, ApJ, 996, 19
- [8]Boylan-Kolchin, M. 2023, Nature Astronomy, 7, 731
- [9]Brammer, G. 2023, grizli
- [10]Carnall, A. C., Cullen, F., McLure, R. J., et al. 2024, MNRAS, 534, 325
- [11]Carnall, A. C., McLeod, D. J., McLure, R. J., et al. 2023a, MNRAS, 520, 3974
- [13]Casey, C. M., Narayanan, D., & Cooray, A. 2014, Phys. Rep., 541, 45
- [14]Chabrier, G. 2003, PASP, 115, 763
- [15]Conroy, C., Gunn, J. E., & White, M. 2009, ApJ, 699, 486
- [16]Crespo Gómez, A., Colina, L., Álvarez-Márquez, J., et al. 2024, A&A, 691, A325
- [17]Daddi, E., Dannerbauer, H., Stern, D., et al. 2009, ApJ, 694, 1517
- [18]Danielson, A. L. R., Swinbank, A. M., Smail, I., et al. 2017, ApJ, 840, 78
- [19]de Graaff, A., Brammer, G., Weibel, A., et al. 2025a, A&A, 697, A189
- [20]de Graaff, A., Setton, D. J., Brammer, G., et al. 2025b, Nature Astronomy, 9, 280
- [21]Donnan, C. T., McLure, R. J., Dunlop, J. S., et al. 2024, MNRAS, 533, 3222
- [23]Dudzevičiūtė, U., Smail, I., Swinbank, A. M., et al. 2020, MNRAS, 494, 3828
- [24]Fakhouri, O., Ma, C.-P., & Boylan-Kolchin, M. 2010, MNRAS, 406, 2267
- [25]Gillman, S., Smail, I., Gullberg, B., et al. 2024, A&A, 691, A299
- [26]Glazebrook, K., Nanayakkara, T., Schreiber, C., et al. 2024, Nature, 628, 277
- [27]Gullberg, B., Smail, I., Swinbank, A. M., et al. 2019, MNRAS, 490, 4956
- [28]Heintz, K. E., Brammer, G. B., Watson, D., et al. 2025, A&A, 693, A60
- [29]Hill, R., Chapman, S. C., Scott, D., et al. 2018, MNRAS, 477, 2042
- [30]Hodge, J. A. & da Cunha, E. 2020, Royal Society Open Science, 7, 200556
- [31]Hodge, J. A., Swinbank, A. M., Simpson, J. M., et al. 2016, ApJ, 833, 103
- [32]Ikarashi, S., Caputi, K. I., Ohta, K., et al. 2017, ApJ, 849, L36
- [33]Ito, K., Valentino, F., Brammer, G., et al. 2024, ApJ, 964, 192
- [34]Ito, K., Valentino, F., Brammer, G., et al. 2025, arXiv e-prints, arXiv:2506.22642DOI
- [35]Johnson, B. D., Leja, J., Conroy, C., & Speagle, J. S. 2021, ApJS, 254, 22
- [36]Kocevski, D. D., Hasinger, G., Brightman, M., et al. 2018, ApJS, 236, 48
- [38]Labbé, I., van Dokkum, P., Nelson, E., et al. 2023, Nature, 616, 266
- [39]Lang, P., Schinnerer, E., Smail, I., et al. 2019, ApJ, 879, 54
- [40]Lapasia, Y., Tachella, S., D’Eugenio, F., et al. 2026, MNRAS[arXiv:2601.08693]arxiv.org/abs/2601.08693
- [41]Leja, J., Carnall, A. C., Johnson, B. D., Conroy, C., & Speagle, J. S. 2019, ApJ, 876, 3
- [43]Michałowski, M., Hjorth, J., & Watson, D. 2010, A&A, 514, A67
- [45]Michałowski, M. J., Dunlop, J. S., Ivison, R. J., et al. 2012b, MNRAS, 426, 1845
- [47]Muzzin, A., Suess, K. A., Marchesini, D., et al. 2025, arXiv e-prints, arXiv:2507.19706arxiv.org/abs/2507.19706
- [48]Pasha, I. & Miller, T. B. 2023, The Journal of Open Source Software, 8, 5703
- [49]Planck Collaboration, Aghanim, N., Akrami, Y., et al. 2020, A&A, 641, A6
- [50]Popesso, P., Concas, A., Cresci, G., et al. 2023, MNRAS, 519, 1526
- [51]Remus, R.-S., Dolag, K., & Dannerbauer, H. 2023, ApJ, 950, 191
- [52]Riechers, D. A., Hodge, J. A., Pavesi, R., et al. 2020, ApJ, 895, 81
- [53]Stach, S. M., Dudzevičiūtė, U., Smail, I., et al. 2019, MNRAS, 487, 4648
- [54]Suess, K. A., Kriek, M., Price, S. H., & Barro, G. 2019, ApJ, 877, 103
- [55]Sun, F., Helton, J. M., Egami, E., et al. 2024, ApJ, 961, 69
- [56]Tan, Q.-H., Daddi, E., Magnelli, B., et al. 2024, Nature, 636, 69
- [57]Tinker, J. L., Robertson, B. E., Kravtsov, A. V., et al. 2010, ApJ, 724, 878
- [58]Toft, S., Smolčić, V., Magnelli, B., et al. 2014, ApJ, 782, 68
- [59]Toft, S., Zabl, J., Richard, J., et al. 2017, Nature, 546, 510
- [60]Valentino, F., Brammer, G., Gould, K. M. L., et al. 2023, ApJ, 947, 20
- [61]Valentino, F., Heintz, K. E., Brammer, G., et al. 2025, A&A, 699, A358
- [62]Valentino, F., Tanaka, M., Davidzon, I., et al. 2020, ApJ, 889, 93
- [63]Witstok, J., Smit, R., Maiolino, R., et al. 2022, MNRAS, 515, 1751
- [64]Xiao, M., Oesch, P. A., Bing, L., et al. 2026, arXiv e-prints, arXiv:2606.30802arxiv.org/abs/2606.30802
- [65]Xiao, M., Oesch, P. A., Elbaz, D., et al. 2024, Nature, 635, 311







