WorksPhysics and Astronomy
COSMOS-3D: Spectro-photometric Confirmation of Shabgard, a Cool, Metal-poor Brown Dwarf in the COSMOS Field
Abstract
Brown dwarfs are unique laboratories for studying cool atmospheres, the low-mass end of star formation, and the transition between stars and giant planets. Identifying and characterizing the coldest brown dwarfs remains challenging, particularly at faint magnitudes in deep extragalactic surveys. We investigate COSMOS2025 ID639188, hereafter Shabgard, a compact source previously selected as a brown-dwarf candidate from COSMOS-Web photometry. We use serendipitous JWST/NIRCam F444W wide-field slitless spectroscopy from COSMOS-3D, combined with COSMOS2025 NIRCam photometry and multi-epoch imaging. We extract a local-background-subtracted, profile-weighted - spectrum and compare the data with six atmosphere-model families. The LOWZ atmosphere-grid fit, using PCA interpolation and MCMC sampling, gives K and , favoring a cool, subsolar-metallicity atmosphere near the late-T/Y transition. A fixed-atmosphere molecular-opacity test strongly favors a contribution from CH to the observed - spectral shape, although the restricted wavelength coverage prevents a molecule-by-molecule abundance determination. Model-dependent physical estimates span approximately - and - pc. We measure a proper motion of mas yr, while the LOWZ MCMC flux scaling gives a distance of pc. Together, these results support the classification of Shabgard as a cool, metal-poor Galactic brown dwarf and demonstrate the ability of JWST deep-field surveys to discover and characterize faint substellar objects.
COSMOS-3D Collaboration
Corresponding author: Bahareh S. Salmasi Email: [email protected] keywords: Brown dwarfs (185); T dwarfs (1679); Y dwarfs (1827); Spectroscopy (1558); James Webb Space Telescope (2291)
Introduction
Brown dwarfs are intermediate mass objects, between massive planets and the smallest hydrogen-burning stars. Their masses are generally described in terms of the deuterium burning limit at and the hydrogen burning limit at - [16]. However, both limitations rely on composition, helium percentage, and evolutionary history (G. Chabrier & I. Baraffe 2000; D. S. Spiegel et al. 2011). Because brown dwarfs do not sustain stable core hydrogen fusion, they cool and fade continuously with time. Their spectra therefore trace a sequence of decreasing effective temperature through late-M, L, T, and Y types, with strong sensitivity to condensate clouds, collision-induced H absorption, HO, CH, CO, CO, NH, PH, and other molecular species [16] (J. D. Kirkpatrick 2005; M. S. Marley et al. 2021; M. W. Phillips et al. 2020; S. Mukherjee et al. 2024).
Brown dwarfs are important for both stellar and planetary astrophysics. They probe the low-mass end of star formation and the Galactic mass function (K. L. Luhman 2012; J. D. Kirkpatrick et al. 2021), and their atmospheres provide directly observable analogs of self-luminous giant exoplanets [10] (M. S. Marley & T. D. Robinson 2015; J. K. Faherty et al. 2016). Their spectra respond to , gravity, metallicity, clouds, and disequilibrium chemistry, so well-characterized brown dwarfs are essential benchmarks for atmospheric models used across the sub-stellar regime (M. S. Marley et al. 2021; T. Karalidi et al. 2021; S. Mukherjee et al. 2024). Old, metal-poor ultracool dwarfs are especially valuable because they can be used to study atmospheric physics in thick-disk and halo chemical environments where changes in opacity and collision-induced absorption alter colors and spectral shape [14] (M. Jurić et al. 2008; Z. Zhang et al. 2019; A. M. Meisner et al. 2021).
In deep extragalactic surveys, they are also a practical source-classification issue: cool Galactic dwarfs can be compact and red enough to contaminate high-redshift galaxy and active-galactic-nucleus samples [14] (K. N. Hainline et al. 2024; A. Y. A. Chen et al. 2025; Z. Tu et al. 2025). The James Webb Space Telescope (JWST; J. P. Gardner et al. 2023) has substantially expanded the accessible volume for ultracool dwarf searches (P.-Y. Wang et al. 2023; K. N. Hainline et al. 2024). Its near-infrared sensitivity, together with low-resolution spectroscopy from NIRSpec/PRISM, covers the wavelength range where late-T and Y dwarfs show strong molecular absorption and continuum-shape diagnostics (J. Rigby et al. 2023; M. J. Rieke et al. 2023; P. Jakobsen et al. 2022). NIRSpec/PRISM observations have already confirmed cold brown dwarfs at kiloparsec-scale distances in deep extragalactic fields, including objects identified in the Ultradeep NIRSpec and NIRCam Observations before the Epoch of Reionization (UNCOVER) [9] Treasury program and the Red Unknowns: Bright Infrared Extragalactic Survey (RUBIES) [14]. These detections show that JWST can extend spectroscopic studies of ultracool dwarfs to much larger distances than were previously accessible. However, interpreting such faint spectra remains challenging because the near-infrared continuum shape and broad molecular absorption features depend simultaneously on , metallicity, surface gravity, cloud opacity, and vertical mixing [14] (S. Mukherjee et al. 2024; S. J. Morrissey et al. 2026; Z. Tu et al. 2025). Breaking these degeneracies typically requires both spectroscopy and external flux constraints, especially when only a limited wavelength range is available.
The COSMOS field provides a useful setting for our search because it combines deep multi-wavelength imaging with new wide-area JWST observations. In particular, COSMOS-Web supplies the photometric data for identifying compact red brown-dwarf candidates, while COSMOS-3D adds NIRCam/F444W wide-field slitless spectroscopy (C. M. Casey et al. 2023; M. Shuntov et al. 2025; R. A. Meyer et al. 2026). Although the F444W prism window is narrower than a full NIRSpec/PRISM spectrum, it covers the 4–5m region where cool T/Y-like atmospheres are shaped by molecular opacity from species such as HO, CH, CO, and CO [14] (S. Mukherjee et al. 2024). It therefore provides a useful spectroscopic test of photometrically selected ultracool-dwarf candidates when combined with broadband JWST photometry.
In this work, we use COSMOS-Web photometry and COSMOS-3D NIRCam/F444W WFSS spectroscopy to test a photometrically selected brown-dwarf candidate in the COSMOS field. We start from the COSMOS-Web brown-dwarf candidate catalog of (F. T. A. Fes tin et al. 2026), and inspect the available COSMOS-3D Unfold products, including both the two-dimensional prism coadds and the associated one-dimensional spectra. Among the candidates with available spectroscopy, COSMOS2025 1 ID 639188 was selected for detailed analysis because its F444W trace is centered and relatively isolated, and its local background optimal extraction yields a flux scale consistent with the COSMOS2025 photometry. For readability, we hereafter refer to this source as Shabgard, from the Persian word shabgard (night wanderer), while retaining COSMOS2025 ID 639188 as its formal catalog identifier.
To our knowledge, this is the first spectrophotometric analysis of this source. We extract and validate its F444W WFSS spectrum, combine it with broadband JWST/NIRCam photometry, and compare the data with several brown-dwarf atmosphere and evolutionary model families. We aim to investigate which properties can be constrained by the present data, particularly , surface gravity, metallicity, distance, and mass, and which remain uncertain because of the restricted F444W wavelength coverage.
This paper is organized as follows. In § 2, we describe the photometric candidate selection, the COSMOS2025 catalog measurements, and the COSMOS-3D WFSS data. § 3 presents the local-background optimal extraction of the F444W spectrum. § 4 describes the atmosphere-model comparison, synthetic photometry, weighting scheme, LOWZ atmosphere-model interpolation, MCMC analysis, and the molecular-opacity and empirical spectral tests. § 5 presents the atmosphere-model results, inferred physical parameters, multi-epoch proper-motion measurement, and supplementary machine-learning consistency test. In § 6, we discuss the brown-dwarf interpretation, Galactic kinematics, agreement and differences among the model families, and limitations of the current data. We summarize our conclusions in § 7.
Candidate Selection and Data
This section describes how Shabgard (COSMOS2025 ID 639188) was selected and which observational data are used in the analysis. We first summarize the photometric brown-dwarf candidate selection from the COSMOS2025 catalog, then describe the COSMOS-Web photometry and COSMOS-3D NIRCam/F444W WFSS products used for the spectrophotometric analysis. We also explain why Shabgard was chosen for detailed follow-up from the subset of candidates with available grism spectra.
COSMOS-Web photometry and COSMOS-3D WFSS spectroscopy
This work is based on the combination of COSMOS-Web imaging, COSMOS2025 catalog photometry, and COSMOS-3D slitless spectroscopy. The Cosmic Evolution Survey (COSMOS) field is a equatorial field with extensive multi-wavelength imaging and spectroscopy from X-ray to radio wavelengths (N. Scoville et al. 2007). This makes it a particularly useful field for identifying rare compact sources and for checking their photometric and morphological properties across many bands.
COSMOS-Web, the JWST Cosmic Origins Survey, is a Cycle 1 Treasury program covering the central COSMOS region with wide-area JWST imaging (C. M. Casey et al. 2023). The survey provides NIRCam imaging in F115W, F150W, F277W, and F444W over , together with MIRI/F770W imaging over a smaller area (C. M. Casey et al. 2023; M. Franco et al. 2026). For the broadband photometric constraints in this paper, we use the COSMOS2025 master catalog (M. Shuntov et al. 2025). In this paper, the COSMOS2025 photometry is used as the broadband SED constraint, with the F444W point providing the main flux anchor for comparison with the grism spectrum.
The spectroscopic data come from COSMOS-3D, which adds JWST/NIRCam wide-field slitless spectroscopy (WFSS) in F444W across within the COSMOS-Web region (Kakiichi et al. in prep.). The spectroscopic data used in this work are the COSMOS-3D NIRCam/F444W WFSS products generated with the unfold_jwst reduction framework (F. Wang et al. 2026; J. Yang et al. 2023; F. Wang et al. 2023). The available products include two-dimensional spectral coadds containing the science, inverse-variance, mask, wavelength, and model-trace information, together with associated one-dimensional coadd spectra. Since the source is contaminated by nearby bright star spikes, we use the two-dimensional Unfold product as the input to the local-background, profile-weighted re-extraction described in § 3. The COSMOS-3D observing program and survey design are described by Kakiichi et al. (in preparation).
The NIRCam long-wavelength grisms provide slitless spectra with resolving power near (T. P. Greene et al. 2017). In the F444W configuration, the first-order spectra cover approximately 3.9–5.0m 2. This wavelength range provides the spectroscopic basis for the COSMOS-3D analysis used in this paper.
Photometric pre-selection
The target studied in this paper, Shabgard (COSMOS2025 ID 639188), is drawn from the COSMOS-Web photometric brown-dwarf candidate catalog of F. T. A. Festin et al. (2026). That catalog starts from the COSMOS2025 v1.0 source list, which contains approximately sources over the full COSMOS-Web area, and applies a staged selection designed to isolate compact sources with T/Y-dwarf-like SEDs. In brief, the F. T. A. Festin et al. (2026) selection uses:
an F444W signal-to-noise requirement, with F444W emphasized because the m window is often the highest-S/N JWST/NIRCam band for cool T/Y dwarfs;
catalog quality cuts, including warn_flag=0 and rejection of strongly blended or stellar-contamination-flagged sources;
COSMOS2025 point-source morphology/type information;
color cuts targeting the blue short-wavelength and red F277W-F444W behavior expected for cool brown dwarfs; and
visual inspection of JWST cutouts and public COSMOS-Web SED panels.
The filtering sequence reduces the parent catalog from sources to 76 brown-dwarf candidates, including Shabgard (ID 639188) (F. T. A. Festin et al. 2026).
We next inspected the available COSMOS-3D Unfold products for the 76 photometric brown-dwarf candidates from F. T. A. Festin et al. (2026). In the current reduction, 36 of these candidates have associated COSMOS-3D spectral files. Most of these spectra are not suitable for direct atmospheric fitting, either because the continuum signal is too weak, the trace is affected by overlapping slitless spectra, the source lies close to a wavelength edge, or the local background is difficult to define in crowded regions. After inspecting both the two-dimensional coadds and the default one-dimensional spectra, we identified six candidates with centered and sufficiently isolated F444W traces for possible continuum extraction. The extraction diagnostics for these six sources are presented in Appendix § 10.§ 1. ID 639188 is the brightest F444W source among the 76 candidates in the parent sample and, among the six candidates with suitable traces, it also gives the most stable extraction and the clearest agreement between the extracted F444W flux scale and the COSMOS2025 photometry.
We therefore select it, before any atmosphere-model fitting, as the best-characterized candidate for this case-study analysis, and adopt Shabgard for the detailed spectrophotometric analysis in this paper.
For Shabgard, we adopt the COSMOS2025 position of ID 639188, R.A. = 150.0634341° and Decl. = +2.3552216°. The source has warn_flag=0 and appears compact in the JWST/NIRCam imaging. In the independent photometric selection of F. T. A. Festin et al. (2026), the object is also favored by the stellar-template solution over the galaxy-template solution, with and in their LePhare configuration [4] (O. Ilbert et al. 2006). Both fits use the same photometry, degrees of freedom, and extinction assumptions, allowing a direct comparison of the two values and strongly disfavoring a normal galaxy SED. The photometry used in the model fitting is summarized in Table 1. Shabgard is red from F277W to F444W, with F277W-F444W mag in the current catalog columns.
| Band | AB mag | AB mag error | [Jy] | [Jy] |
| F115W | 24.196 | 0.011 | 0.7615 | 0.0075 |
| F150W | 24.851 | 0.011 | 0.4167 | 0.0042 |
| F277W | 25.615 | 0.019 | 0.2061 | 0.0037 |
| F444W | 22.215 | 0.003 | 4.7216 | 0.0119 |
Table 1. COSMOS2025 photometry for Shabgard. NOTE—Flux densities and uncertainties are taken from the COSMOS2025 catalog columns. Model fitting uses these values with the additional error floors described in Section 4.
Local-background Profile-weighted Extraction
For our analysis, we perform a custom one-dimensional re-extraction of Shabgard from the COSMOS-3D unfold_jwst two-dimensional coadd2d product, rather than adopting the supplied coadd1d spectrum directly. The upstream Unfold products provide the calibrated two-dimensional science image, inverse-variance map, pixel mask, wavelength solution, and model-trace information (F. Wang et al. 2023). Our subsequent processing is limited to the local-background estimation, profile-weighted extraction, masking, and quality checks described below.
This additional extraction step is motivated by the nature of slitless spectroscopy, in which all sources in the field are dispersed and faint continuum spectra can be affected by overlapping spectral wings, residual structure from neighbouring traces, and a spatially varying background. Similar challenges are commonly addressed through source-dependent trace definitions, contamination modelling, and extraction apertures tied to the direct-image morphology or spectral trace ([11] (M. Kümmel et al. 2009; I. G. Momcheva et al. 2016)).
The extraction geometry for Shabgard is shown in Figure 1. The initial trace center is determined automatically from the peak of the wavelength-collapsed MODEL spatial profile, and the trace is then followed as a function of wavelength within a -pixel search window and median-smoothed along the dispersion direction. We adopt a source half-width of 5 spatial pixels. On each side of the wavelength-dependent trace center, candidate background pixels are selected between offsets of 6 and 16 spatial pixels. Thus, the inner background boundary is located approximately one pixel beyond the nominal source-aperture boundary; the value of 6 pixels is measured from the trace center rather than from the edge of the source aperture. Depending on the sub-pixel trace position, zero or one unused detector row lies between the source and background selections. These values were chosen after testing reasonable alternatives and were found to produce stable fluxes.

Figure 1. Local-background optimal extraction for Shabgard. The upper-left panel shows the two-dimensional F444W WFSS spectrum with the traced source position, source aperture, and local background regions. The upper-right panel shows the corresponding MODEL trace used to define the optimal-extraction profile. The lower-left panel shows the spatial profile collapsed over the central wavelength range, with the adopted source and background regions marked. The lower-right panel shows the final local-background-subtracted optimal one-dimensional spectrum, with the COSMOS2025 F444W catalog flux shown for comparison.
We tested the sensitivity of the extraction to nearby reasonable geometries by varying the source half-width from 4–6 pixels, the inner background offset from 5–7 pixels, and the background width from 8–12 pixels. Across the resulting 27 extractions, the synthetic F444W flux has a median of and a central 68% range of –. The adopted configuration gives , indicating that the extracted flux is not strongly sensitive to the exact aperture and background geometry.
Before extraction, we construct a valid-pixel mask requiring finite science values, finite positive inverse variance, and a positive MASK value. We also apply a conservative two-dimensional bad-pixel rejection along each spatial row, using a local running median and rejecting only isolated outliers. This step is intended to remove hot pixels or narrow detector artifacts without suppressing broad spectral structure.
The local background is estimated independently in each wavelength column. Background pixels are first sigma-clipped using the median and a median-absolute-deviation estimate of the scatter. If valid background pixels are available on both sides of the trace, we fit a weighted linear function of spatial row and evaluate this model across the source aperture. If only one side of the background region is usable, or if the linear fit is unstable, we instead subtract a constant background equal to the sigma-clipped median of the remaining valid background pixels in that column. This provides a local column-by-column background subtraction before the one-dimensional extraction.
The final one-dimensional spectrum is extracted using a profile-weighted estimator following K. Horne (1986). For each wavelength column, the spatial profile is taken from the non-negative MODEL image and normalized over the valid source pixels. If the model profile is unavailable or pathologically narrow, we use a Gaussian fallback profile centered on the trace with spatial pixels. The extracted flux density in column is then computed as
where is the two-dimensional science image, is the fitted local background evaluated over the source aperture, and is the inverse-variance weight after masking. The corresponding formal variance is
This formal variance assumes independent pixels and does not account for covariance introduced by resampling of the calwebb data. For the final fitting vector, we keep only columns with finite wavelength, flux, and uncertainty, at least two valid source pixels, at least four valid background pixels, and wavelengths in the range 4.05–4.85 . For Shabgard, this gives 816 usable wavelength pixels out of 1302 columns in the calwebb spec-trum.
As a flux-scale validation, we compare synthetic F444W photometry measured from the extracted spectra with the COSMOS2025 catalog value. The synthetic photometry is computed with the F444W throughput curve using the photon-weighted mean flux density.
The local-background profile-weighted extraction gives synthetic F444W fluxes of over the full usable wavelength range and over the trimmed fitting range, in good agreement with the COSMOS2025 catalog value of . As an independent check, a simple local-background aperture extraction gives similar values of and over the same two wavelength ranges. In contrast, the default pipeline one-dimensional spectrum gives substantially larger synthetic F444W fluxes of and . We therefore adopt the local-background profile-weighted spectrum for the atmosphere-model fitting and use the pipeline spectrum only as an extraction diagnostic.
The same extraction diagnostics for the other centered-trace candidates are shown in Appendix Figure A1.
Atmosphere-model Fitting Methods
The atmosphere-model comparison is designed as a cross-model consistency test rather than as a formal retrieval from a single atmosphere grid. Because the available spectrum covers only the NIRCam/F444W grism window, different combinations of temperature, gravity, metallicity, vertical mixing, and cloud opacity can produce similar broad-band behavior. We therefore compare Shabgard with six brown-dwarf atmosphere model families and focus on the physical conclusions that remain stable across different model assumptions.
Model families
The final model comparison includes six atmosphere model families: Sonora Elf Owl, LOWZ, SAND, Sonora Bobcat, Morley cloudy models, and ATMO2020/ATMO2020++. These grids were chosen because they test complementary aspects of cool brown-dwarf atmospheres, including metallicity, surface gravity, C/O ratio, vertical mixing, cloud-free chemistry, evolutionary consistency, and possible condensate-cloud opacity. Table 2 gives the compact names, full model names, main physical content, and role of each model family in this paper.
| Compact name | Full name and reference | Main model physics / parameters | Role in this paper |
| Sonora Elf Owl | Sonora Substellar Atmosphere Models IV: Elf Owl (S. Mukherjee et al. 2024) | Cloud-free, self-consistent atmospheres including disequilibrium chemistry, metallicity, C/O ratio, and vertical mixing parameterized by . | Tests chemical degeneracies in 3–5 m region, especially among metallicity, C/O, and vertical mixing. |
| LOWZ | Low-metallicity ultracool-dwarf atmosphere grid distributed through ucdmcmc (A. M. Meisner et al. 2021; A. Lueber & A. J. Burgasser 2025) | Low-temperature and low-metallicity atmosphere models motivated by T-subdwarf studies. The fitted parameters include , , [M/H], and a dilution factor. | Primary low-metallicity test and the model family used for the PCA-interpolated MCMC analysis. |
| SAND | Spectral ANalog of Dwarfs model family ([3] (A. Lueber & A. J. Burgasser 2025)) | Ultracool-dwarf atmosphere grid with leverage on metallicity and abundance patterns, including , , [M/H], and [/Fe]. | Independent test of a cool, metal-poor brown-dwarf interpretation. |
| Sonora Bobcat | The Sonora Brown Dwarf Atmosphere and Evolution Models. I: cloudless atmospheres in rainout chemical equilibrium (M. S. Marley et al. 2021) | Cloud-free atmosphere and evolutionary models with rainout chemistry, spanning substellar temperatures, gravities, metallicities, radii, masses, and ages. | Independent cloud-free atmosphere/evolution check on the preferred temperature and physical scale. |
| Morley cloudy models | Cloudy T/Y-dwarf atmosphere models including sulfide and salt condensate clouds (C. V. Morley et al. 2012) | Cool brown-dwarf atmospheres with condensate-cloud opacity, commonly parameterized by the sedimentation efficiency . | Tests whether possible cloud opacity can also reproduce the observed SED and F444W continuum shape. This is used as a cloud-systematics check, not as a direct cloud detection. |
| ATMO2020/++ | ATMO cool brown-dwarf and giant-exoplanet atmosphere/evolution models (M. W. Phillips et al. 2020; S. K. Leggett et al. 2021; A. M. Meisner et al. 2023) | Cool T/Y atmosphere and evolutionary models with an independent treatment of temperature-pressure structure, chemistry, and substellar evolution. | Independent model-family check on the preferred temperature, gravity, and evolutionary interpretation. |
Table 2. Brown-dwarf atmosphere model families used in the final comparison.
The use of multiple grids is important because each family encodes different assumptions about atmospheric chemistry and opacity. Sonora Elf Owl and Sonora Bobcat provide cloud-free comparisons, but with different chemical assumptions and parameter coverage. LOWZ and SAND are especially useful for testing subsolar-metallicity solutions. The Morley cloudy grid is included because cool T/Y-dwarf atmospheres can be affected by sulfide and salt condensate clouds; therefore, we also test whether cloud opacity could plausibly contribute to the observed spectral shape. Because the current data cover only the F444W grism interval, we do not interpret the cloud-model comparison as evidence for a detected cloud feature. Instead, it is used to estimate how strongly the atmospheric interpretation depends on the choice of cloud-free versus cloudy models.
Synthetic photometry, weighting, and fit metrics
All model spectra are converted to the same observational space before fitting. Each model is placed on an flux-density scale, smoothed to the approximate NIRCam/WFSS resolution, interpolated onto the observed wavelength grid, and integrated through the JWST/NIRCam filter curves to produce synthetic photometry. For both the observed spectrum and the models, synthetic band fluxes are computed using the photon-weighted mean flux density,
where is the total system throughput of the filter. This convention is used consistently for the COSMOS2025 photometry comparison and for synthetic F444W fluxes measured from the extracted WFSS spectrum.
For each model, we solve for a positive multiplicative scale factor between the model and the data. For observed fluxes , model fluxes , uncertainties , and optional relative weights , the weighted least-squares normalization is
For most model-family comparisons, this scale is treated only as the best normalization needed to compare model shape and photometry. For surface-flux model grids, however, the normalization can have a physical interpretation. In the LOWZ MCMC analysis, we therefore fit the dilution factor , where is the object radius and is the distance.
The likelihood uses the local-background, profile-weighted WFSS spectrum over 4.05–4.85 m together with the available JWST/NIRCam photometry. We adopt empirical error floors of 8% plus 0.05 Jy for the spectral points and 5% for the photometric points. The spectral floor is conservative compared with the scatter among the alternative extraction geometries described above. We also repeated the model comparison using photometric floors of 3%, 5%, and 10%. The preferred parameters remain unchanged across this range. These floors are intentionally conservative because the dominant uncertainty is not purely photon noise: background subtraction, trace placement, residual slitless contamination, and model imperfections can all contribute additional systematic residuals.
The F444W photometric point is given the largest relative weight in the photometric part of the fit because it anchors the absolute flux scale over the same wavelength region sampled by the WFSS spectrum. This prevents the noisy grism continuum from moving the model normalization away from the COSMOS2025 broad-band flux, while still allowing the F444W spectral shape to constrain the atmosphere. The remaining NIRCam bands provide the broader SED context.
For reporting and ranking the grid-search fits, we compute separate mean spectroscopic and weighted-mean photometric squared-residual diagnostics. The spectroscopic contribution is defined as
where and are the observed and model spectral flux densities, is the corresponding uncertainty, and is the fitted multiplicative normalization.
The photometric contribution is the weighted mean
where and are the observed and synthetic model flux densities in band , and is the adopted relative band weight. We use for F115W, F150W, and F277W and for F444W, so that F444W provides the strongest photometric constraint over the wavelength region sampled directly by the WFSS spectrum.
The balanced ranking objective is
Because the F444W photometric constraint overlaps the WFSS wavelength range, and because the relative weights and error floors are empirical, is a weighted pseudo- objective used only to rank models consistently. It is not interpreted using a formal probability distribution.
The multiplicative normalization is solved by minimizing this same objective, so the adopted spectral, photometric, and band weights are applied consistently in both the normalization and the model ranking. The resulting values are used for relative comparison of the discrete atmosphere-grid solutions; quantitative parameter uncertainties for LOWZ are derived separately from the likelihood-based MCMC analysis. The fitted vector contains 816 spectral points and four photometric points. For each fixed grid model, one multiplicative normalization is fitted, corresponding nominally to 819 residual degrees of freedom. However, spectral resampling covariance and the overlapping F444W constraints prevent these from being interpreted as independent formal degrees of freedom.
In addition to , we compute the cosine similarity of the WFSS spectral shape,
Cosine similarity is a standard vector-space similarity measure originally developed in information retrieval and pattern matching (G. Salton et al. 1975). Here it is used only as a secondary diagnostic of spectral-shape agreement. The model ranking and physical interpretation are not based on cosine similarity alone.
LOWZ PCA-interpolated MCMC
The LOWZ atmosphere grid is discrete, so we constructed a continuous interpolator before sampling. We fixed C/O and to the values of the preferred discrete LOWZ solution and interpolated over , , and [M/H]. After fixing these chemistry parameters, the grid contains 17 values of spanning 500–1600 K, five values of spanning 3.5–5.25, and 11 values of [M/H] spanning to . Of the 935 possible grid nodes, 931 are available, corresponding to 99.6% completeness. The four missing nodes were filled by local interpolation from the surrounding available models before constructing the regular interpolator.
At each grid node, we formed the same 820-element model vector used in the likelihood, containing the 816 F444W spectral elements and the four NIRCam photometric fluxes. The spectral and photometric components were scaled to reproduce the relative weighting defined in § 4.2. Before applying principal-component analysis (PCA; I. T. Jolliffe & J. Cadima 2016), each element was divided by its corresponding uncertainty and the model vectors were mean-centered. We retained the minimum number of principal components required to explain 99.99% of the weighted model variance. Six components were required, retaining 99.9909% of the variance. The PCA coefficients were then linearly interpolated in space, and the full model vector was reconstructed at each proposed MCMC position. This procedure interpolates the model spectra and photometry themselves rather than interpolating fitted parameters or discrete fit statistics.
The sampled parameters were , , [M/H], and , where . We adopted uniform priors within the LOWZ grid limits given above and a uniform prior . The likelihood was Gaussian and used the same observational error floors and spectral-to-photometric weighting as the discrete model comparison. To account conservatively for residual atmosphere-model and interpolation uncertainties, an additional 3% systematic uncertainty was added in quadrature to each element of the weighted data-vector uncertainty. This floor was calculated relative to the larger of the absolute weighted datum and the median absolute value of the weighted data vector.
We sampled the posterior using emcee (D. Foreman-Mackey et al. 2013) with 80 walkers. The walkers were initialized near the preferred discrete LOWZ solution using a random seed of 42. We discarded an initial 1200-step burn-in phase and then ran each walker for 3000 production steps, thinning the resulting chains by a factor of 10. The estimated integrated autocorrelation times were approximately 45-47 steps for the four sampled parameters, so the production chains extended over more than 60 autocorrelation times.
C/O and were fixed rather than fitted simultaneously because the restricted F444W wavelength coverage does not provide sufficient independent leverage to robustly separate metallicity, C/O ratio, vertical mixing, surface gravity, and flux normalization. The resulting posterior is therefore interpreted as a LOWZ-based physical-scale estimate under fixed-chemistry assumptions, rather than as a complete atmospheric retrieval.
Molecular-opacity and empirical spectral tests
To examine the molecular origin of the structure in the F444W spectrum, we carried out two complementary tests. First, we use representative ExoMolOP opacity profiles (K. L. Chubb et al. 2021) for CH, CO, and CO at K and bar as qualitative wavelength guides. Because cool-brown-dwarf molecular bands contain dense and overlapping rovibrational transitions, the opacity profiles are displayed at to suppress individual line structure and emphasize the broad wavelength dependence of each opacity source. Each opacity curve is independently normalized, inverted, and rescaled to the Shabgard flux range for visualization only. No opacity-to-flux conversion is implied, and the observed Shabgard spectrum remains at its native NIRCam/F444W WFSS resolving power of .
We then performed a fixed-atmosphere forward-model test using PICASO (N. E. Batalha et al. [7]) and the pressure-temperature and native chemistry profile of the best-ranked Sonora Elf Owl V2 (S. Mukherjee et al. 2024; N. F. Wogan et al. 2025) grid solution ( K, , [M/H] , C/O , and ). The native composition is H/He dominated. For the molecular-opacity and empirical spectral comparisons only, we use the binned representation of the extracted spectrum, containing 289 samples over 4.05-4.85 m. The original 816-pixel extraction remains the input to the main spectro-photometric atmosphere-model fitting described in § 4.2. The PICASO thermal spectrum was calculated using the high-resolution opacity database, convolved to , and sampled on the same 289-point, 4.05-4.85 m wavelength grid as Shabgard. Only one positive multiplicative normalization was fitted; we applied no wavelength shift, continuum tilt, feature-specific masking, or local rescaling.
To test molecular attribution, the calculation was repeated after removing CH, CO, and CO opacity individually while keeping the pressure-temperature structure and the remaining chemistry fixed. We quantify the change using
where is the summed uncertainty-weighted squared residual. The significance of each change was calibrated with 5000 parametric-bootstrap realizations under the corresponding no-molecule model. We additionally repeated the comparison for matched resolving powers of , 1600, and 1800.
As an empirical comparison independent of the atmosphere-model family, we also compare Shabgard with the published JWST spectra of the T8 dwarf 2MASS J0415−0935 (S. Alejandro Merchan et al. [2]) and the T6 dwarf JADES-GS-BD-11 (K. N. Hainline et al. 2026). The 2MASS J0415−0935 spectrum was obtained with JWST/NIRSpec G395H at (S. Alejandro Merchan et al. [2]; P. Jakobsen et al. (2022)) and is degraded to the native Shabgard information scale (). JADES-GS-BD-11 was observed with NIRSpec/PRISM (K. N. Hainline et al. 2026); for this comparison we degrade Shabgard to a representative PRISM information scale of , noting that the instrumental PRISM resolving power is wavelength dependent (P. Jakobsen et al. 2022). In each comparison we fit only one positive multiplicative normalization and calculate the diagnostics on the unsmoothed, resolution-matched vectors.
Results
Cross-model atmosphere comparison
Figure 2 summarizes the final atmosphere-model comparison for Shabgard. The strongest result is the convergence of five independently constructed model families on K: Sonora Elf Owl, LOWZ, SAND, Morley, and Sonora Bobcat. These grids treat chemistry, metallicity, vertical mixing, clouds, and evolutionary constraints differently, so their agreement establishes approximately 700 K as the principal cross-model temperature scale. ATMO selects a cooler K solution, providing a model-family-dependent lower-temperature comparison while remaining within the cool brown-dwarf regime.
Figure 2. Best-fitting atmosphere models for Shabgard from the six model families used in the final comparison. The panels are ordered by the adopted balanced fit score, which combines the WFSS spectral agreement and the JWST/NIRCam photometric agreement. In each panel, the blue curve shows the scaled best-fitting model spectrum, the black curve shows the local-background, profile-weighted F444W WFSS spectrum, and the gray region shows the spectral uncertainty. Black points show the COSMOS2025 photometry, and open blue squares show the corresponding synthetic model photometry. The model families and references are listed in Table 2. All six model families remain within the cool brown-dwarf regime. Sonora Elf Owl, LOWZ, SAND, Sonora Bobcat, and Morley converge on K, while ATMO provides a cooler K solution. The Morley cloudy model provides a useful test of possible condensate-cloud opacity.
The surface gravities are moderate to high, although the exact value remains model-dependent. The displayed solutions span -5.5: Sonora Elf Owl gives , Sonora Bobcat gives 5.25, LOWZ and Morley give 5.00, and SAND and ATMO give
4.00. Thus, most of the highest-ranked solutions favor moderate-to-high gravity, and none requires an extremely low-gravity, inflated atmosphere. This is consistent with the interpretation of Shabgard as a field brown dwarf rather than a very young object.
The metallicity-sensitive grids favor subsolar metallicity, although the exact abundance is model-dependent. LOWZ gives a displayed best fit with , and SAND gives . Sonora Elf Owl and Sonora Bobcat also select subsolar metallicity, with in both displayed best fits. In the Sonora grids used here, however, only three metallicity values are available, and is the lowest value in the fitted grid. The Sonora fits should therefore be interpreted as showing a preference toward the low-metallicity edge of the available Sonora parameter space, rather than as a precise measurement of . Taken together with the lower-metallicity LOWZ and SAND solutions, this behavior supports a metal-poor interpretation, but the current F444W-only spectrum cannot fully separate metallicity from C/O ratio, surface gravity, and vertical mixing.
The Morley cloudy model gives a fit quality comparable to the cloud-free Sonora Bobcat model. This does not mean that a cloud feature is detected. Rather, it shows that a cloudy cool-dwarf atmosphere is allowed by the present data. In the Morley/Ackerman-Marley cloud framework, the sedimentation-efficiency parameter controls the vertical thickness of the cloud: smaller values correspond to less efficient settling and thicker, more vertically extended clouds, while larger values correspond to more efficient settling and relatively thinner clouds ([1] (C. V. Morley et al. 2012)). The best displayed Morley model has , so it should be interpreted as a cloudy but relatively settled/thinner-cloud solution within that model grid. The F444W-only spectrum does not provide enough wavelength leverage to distinguish this uniquely from cloud-free solutions.
Table 3 gives the numerical comparison of the best-fit atmosphere models. Sonora Elf Owl is the highest-ranked displayed model and combines the lowest balanced score with the highest cosine similarity. LOWZ and SAND follow closely and independently reinforce the preference for subsolar metallicity. Morley and Sonora Bobcat provide similarly strong spectral-shape agreement, showing that the present data allow both a cloudy-but-settled and a cloud-free atmosphere at approximately 700 K. ATMO provides a cooler 450 K comparison solution that extends the model-family temperature range; the convergence of the other five families at 700 K remains the central cross-model result.
| Model | [K] | [M/H] | Other parameters | Physical scale / interpretation | Cosine | |||
| Sonora Owl | 700 | 5.50 | C/O = 1.00, | Best balanced score; cloud-free disequilibrium-chemistry solution. | 1.11 | 0.18 | 0.959 | |
| LOWZ grid | 700 | 5.00 | C/O = 0.55, | Low-metallicity grid solution; used as the basis for the MCMC posterior below. | 1.25 | 0.15 | 0.953 | |
| SAND | 700 | 4.00 | Independent metal-poor solution; strongest photometric agreement among the displayed models. | 1.47 | 0.12 | 0.945 | ||
| Morley cloudy | 700 | 5.00 | Cloudy but relatively settled/thinner-cloud solution; cloud opacity allowed but not uniquely detected. | 1.30 | 1.66 | 0.953 | ||
| Sonora Bobcat | 700 | 5.25 | C/O = 1.00 | Cloud-free atmosphere comparison; a separate evolutionary-scale check is given in Appendix § 10.§ 2. | 1.17 | 1.99 | 0.956 | |
| ATMO | 450 | 4.00 | Displayed grid fit | Cooler atmosphere-grid solution; a separate evolutionary-scale check is given in Appendix § 10.§ 2. | 4.31 | 2.19 | 0.835 | |
| LOWZ MCMC | With : pc and . |
Table 3. Best-fit atmosphere-model comparison and physical-scale estimates for Shabgard. The first six rows correspond to the six displayed models in Figure 2, ordered by the adopted balanced fit score.
LOWZ posterior and physical scale
The LOWZ PCA-interpolated MCMC provides the only continuous posterior used in this analysis. The resulting posterior distributions and derived physical quantities are shown in Figure 3. In this fit, the sampled parameters are , , , and the dilution factor , while C/O and are fixed to the values of the best LOWZ grid solution. This fixed-chemistry setup is used because the F444W-only spectrum does not provide enough independent wavelength leverage to separate metallicity, C/O ratio, vertical mixing, gravity, and normalization simultaneously.

Figure 3. LOWZ PCA-interpolated posterior for Shabgard, including derived physical parameters. The sampled atmosphere parameters are , , , and , where . The radius is not fitted directly by the LOWZ atmosphere grid; it is drawn from an external prior. The distance follows from the dilution factor , and the mass follows from . These physical values are therefore conditional on both the LOWZ atmosphere solution and the adopted radius prior.
To validate the interpolation, we performed leave-one-interior-slice-out cross-validation in , , and , rebuilding the PCA basis and interpolator after removing each parameter slice. Six principal components retain 99.9909% of the model variance. Across 2141 withheld LOWZ models, the F444W spectral interpolation has an RMS error of ; near the inferred posterior, the median RMS decreases to , with a 95th percentile of .
The LOWZ posterior gives
Using a radius prior of ([6] (D. Saumon & M. S. Marley 2008)) to convert gives
where the mass is computed from .
The LOWZ physical scale is higher in mass and distance than the ATMO/Sonora evolutionary checks. ATMO and Sonora Bobcat provide distances near 143–145 pc and masses near , while LOWZ gives pc and . This difference is not surprising. LOWZ is used here as an atmosphere-only low-metallicity grid with a radius prior, whereas ATMO and Sonora Bobcat provide internally linked atmosphere/evolution solutions. The two approaches, therefore, respond differently to gravity, normalization, radius, and metallicity. Importantly, both physical scales remain substellar and place Shabgard as a foreground Galactic object along the COSMOS line of sight.
Multi-epoch proper motion and tangential velocity of Shabgard
The availability of multi-epoch JWST/NIRCam imaging provides an astrometric test of whether Shabgard is a foreground Galactic source. We measured its position in PRIMER (C. T. Donnan et al. 2024), COSMOS-Web (C. M. Casey et al. 2023; M. Franco et al. 2026), and COSMOS-3D (R. A. Meyer et al. 2026) imaging obtained between 2023 and 2025. The primary measurements use the same pair of observing epochs, PRIMER and COSMOS-3D, but are obtained independently from the F115W, F200W, and F356W images. The exposure midpoints recorded in the original image headers give baselines of approximately 1.927 yr for these comparisons. We also use the F115W COSMOS-Web-COSMOS-3D measurement as a secondary astrometric check.
For each image, the source centroid was measured in a locally background-subtracted cutout using a two-dimensional Gaussian estimator. Small residual offsets between epochs were corrected using nearby compact reference sources. For each pair of images, we calculated the median displacement of the reference-source population and subtracted this local-frame offset from the displacement measured for Shabgard. Following the usual astrometric convention, the proper-motion components are
where and is the elapsed time between the observations (L. Lindgren et al. 2012; A. G. Butkevich & L. Lindgren [17]). For two epochs, the differential parallax displacement is
where and are the dimensionless parallax factors and
Annual-parallax correction
The apparent displacement between two epochs can contain contributions from both the intrinsic proper motion and annual parallax. We therefore calculated the parallax contribution using the exposure midpoint and the barycentric JWST coordinates recorded in the MJD–AVG, JWST_X, JWST_Y, and JWST_Z keywords of the original i2d products. Astrometric motion relative to the Solar-system barycentre can be written in terms of the parallax factors in the local right-ascension and declination directions (L. Lindgren et al. 2012; A. G. Butkevich & L. Lindgren [17]). For two epochs, the differential parallax displacement is
where and are the dimensionless parallax factors and
The two parallax terms in Equation 17 were subtracted from the locally registered displacement before calculating the proper motion.
At a representative distance of 160 pc, the predicted differential parallax displacement for the primary PRIMER-COSMOS-3D epoch pair is only 0.62 mas. Over the model-dependent distance range of approximately 143–176 pc, the correction remains between about 0.57 and 0.70 mas. Its contribution to the inferred proper motion is therefore only about 0.32 mas yr, and the change in the total proper-motion amplitude is approximately 0.1%.
The COSMOS-Web and COSMOS-3D observations sample more widely separated parallax phases. Their predicted differential parallax displacement is approximately 10.1 mas at 160 pc and is consequently more sensitive to the adopted distance. We therefore use this shorter-baseline measurement only as a consistency check and do not include it in the primary combined proper motion.
Proper-motion measurement
The three primary measurements show consistent motion toward decreasing right ascension and declination, as illustrated in Figure 4. Evaluating the small parallax correction at the representative distance of 160 pc, the F115W comparison gives
Figure 4. Multi-epoch astrometric measurements for COSMOS2025 Shabgard after local-frame registration and annual–parallax correction. Panel (a) shows the displacement components for the three same-filter PRIMER-COSMOS-3D comparisons and the additional F115W COSMOS-Web-COSMOS-3D comparison. Horizontal and vertical error bars show the robust -equivalent scatter obtained from the recovery of injected artificial sources. Panel (b) shows the corresponding total proper-motion amplitudes. The dashed horizontal line and shaded region indicate the median and central 68% interval of the combined result from the three PRIMER-COSMOS-3D measurements. The COSMOS-Web-COSMOS-3D measurement is shown as an independent check and is not included in the combined value.
corresponding to
For F200W, we obtain
with
The F356W comparison gives
and
Combining the three PRIMER-COSMOS-3D measurements gives
The distance dependence of the parallax correction is very small for this epoch pair. Repeating the calculation with the ATMO, Sonora Bobcat, and LOWZ distance distributions changes the median combined proper motion by less than 0.02 mas yr.
We assessed the significance of the displacement through artificial-source injection and recovery. For each epoch pair, 500 sources constructed from an empirical representation of the target point-spread function were inserted at clean positions with approximately the same brightness as Shabgard. Two tests were performed: one in which the artificial sources were displaced by the measured motion and another in which they remained stationary. The scatter in the recovered proper motions of the moving artificial sources is approximately 0.6–0.9 mas yr for the three primary comparisons.
After scaling the recovery distributions to the header-derived time intervals, the 95th percentiles of the apparent motions of stationary sources are approximately 3.2, 5.0, and 27.1 mas yr in F115W, F200W, and F356W, respectively. The measured amplitudes exceed these limits by factors of approximately 28, 18, and 3.4.
Tangential velocity and Galactic context
The F115W and F200W measurements therefore provide particularly strong evidence that the displacement is not produced by centroid noise or local image structure. The F356W test is less constraining because its stationary-source distribution is broader, although its direction and amplitude remain consistent with the other two filters.
Because the three measurements share the same survey epochs and parts of the same local astrometric reference frame, the uncertainty in Equation (27) should be interpreted as an internal injection-recovery uncertainty. Correlated registration errors could introduce an additional contribution that is not fully represented by the formal combined interval.
The measured proper motion was converted to a heliocentric tangential velocity using
where is in arcsec yr, is in pc, and is in km s. This conversion is the standard relation between angular motion, distance, and transverse velocity (D. R. H. Johnson & D. R. Soderblom 1987; A. Y. A. Chen et al. 2025).
We propagated the distance and astrometric uncertainties using Monte Carlo realizations. In each realization, we first drew a distance from the relevant model distribution and converted it to a parallax. The corresponding parallax displacement was then calculated separately in right ascension and declination and subtracted from each measured epoch-pair displacement. The three corrected proper-motion measurements were combined, and Equation (28) was evaluated using the same distance draw. This procedure retains the weak covariance between distance, annual parallax, proper motion, and tangential velocity.
The representative ATMO and Sonora Bobcat distances of 143 and 145 pc give
and
respectively. For the LOWZ distance posterior, pc, the self-consistent calculation gives
The model-dependent median range is therefore approximately
Recalculating the parallax correction for every distance realization changes the median tangential velocity by less than 0.01 km s relative to a calculation using a fixed 160-pc correction. The uncertainty in is therefore controlled mainly by the model-dependent distance rather than by annual parallax.
For comparison, the volume-limited ultracool-dwarf sample of S. J. Schmidt et al. (2007) has a mean tangential velocity of 31.5 km s and a dispersion of 20.7 km s. The velocity inferred for Shabgard is therefore elevated relative to the mean local ultracool-dwarf population. It is also substantially higher than the 12–17 km s transverse velocities that A. Y. A. Chen et al. (2025) associated with three low-velocity thin-disk brown dwarfs in COSMOS-Web. In contrast, a distant galaxy would have an effectively negligible measurable proper motion over the approximately 1.93-yr observational baseline, so the large and consistent motion measured for Shabgard strongly disfavors a distant extragalactic interpretation.
On the other hand, Shabgard remains below the km s high-velocity population identified by J. K. Faherty et al. (2009), whose kinematics were interpreted as being associated with older thick-disk or halo ultracool dwarfs. The present result is therefore most naturally described as consistent with an older Galactic-disk object and possibly compatible with thick-disk membership. This interpretation is also qualitatively consistent with the subsolar-metallicity atmosphere solutions, but the tangential velocity alone does not provide a unique population classification.
A radial-velocity measurement is needed to calculate the full heliocentric space motion and to perform a quantitative thin-disk, thick-disk, or halo membership test (D. R. H. Johnson & D. R. Soderblom 1987; J. K. Faherty et al. 2009). The significant motion detected independently in three NIRCam filters nevertheless strongly disfavors a stationary extragalactic interpretation and provides separate support for identifying Shabgard as a foreground Galactic ultracool dwarf.
Supplementary Random-forest Regression Cross-check
As a supplementary check on the LOWZ-based atmospheric inference, we trained regression models using the fixed-chemistry LOWZ atmosphere grid (A. M. Meisner et al. 2021), accessed with udcmcmc v1.4.4 ([13]). The input vector comprised 54 F444W-normalized spectral bins spanning 4.06–4.84 m (effective ) and three flux ratios sharing F444W as the reference band: F115W/F444W, F150W/F444W, and F277W/F444W. The spectral information was compressed using principal component analysis (PCA; I. T. Jolliffe & J. Cadima 2016), and random-forest regressors ([12]) were implemented using scikit-learn ((F. Pedregosa et al. 2011)). Spectral pre-processing, PCA, and regression were refitted within each validation fold, and each fold withheld all grid models having the target-parameter value under evaluation.
For effective temperature, 15 interior held-out slices yielded , an RMSE of 15.7 K, and an MAE of 12.5 K. Combining the measurement-noise Monte Carlo realizations with the empirical held-out-slice residuals gave
The corresponding interval overlaps the LOWZ MCMC estimate of . In a separate feature-set ablation, the validation RMSE decreased from 33.9 K using photometry alone and 35.4 K using the spectrum alone to 16.8 K when both were combined, indicating that the two data components provide complementary temperature information.
For metallicity, nine interior held-out slices gave , an RMSE of 0.097 dex, and an MAE of 0.065 dex. The resulting estimate was
This interval does not overlap the LOWZ MCMC result of . Nevertheless, both independently favor a subsolar atmosphere. It is not a statistically independent measurement because it uses the same observations, F444W normalization, fixed-chemistry assumptions (C/O = 0.55 and ), and LOWZ model grid as the MCMC analysis. The exact metallicity should therefore be regarded as method- and model-dependent.
Molecular-opacity and empirical spectral comparisons
The fixed-atmosphere PICASO calculation provides a close reconstruction of the observed F444W spectral shape. The full Sonora Elf Owl V2/PICASO atmosphere gives and a cosine similarity of 0.957. These values are close to, but not identical to, those of the precomputed Sonora Elf Owl grid spectrum in Table 3 because the same atmospheric structure and chemistry are recomputed here through the PICASO radiative-transfer and opacity framework for the molecule-removal experiment.
Figure 5 shows the molecular-opacity comparison. The broad ExoMolOP curves in panel (a) are shown only as qualitative wavelength guides. In the physical leave-one-species-out calculation shown in panel (b), removing CH opacity substantially worsens the fit, with and an empirical bootstrap probability . The result is insensitive to a reasonable change in the adopted resolving power: , 96.68, and 95.60 for , 1600, and 1800, respectively. In contrast, removing CO produces only (), which we regard as inconclusive, while removing CO gives () and is not supported by this fixed-atmosphere test.
Figure 5. Molecular identification in the Shabgard F444W spectrum. (a) Shabgard is shown at its native NIRCam/WFSS resolving power () together with representative ExoMolOP CH, CO, and CO opacity profiles displayed at as qualitative wavelength guides. The opacity curves are independently normalized, inverted, and rescaled and are not physical flux components. (b) Fixed-atmosphere CH-removal test based on the selected Sonora Elf Owl V2 atmosphere recomputed with PICASO. The green curve shows the full atmosphere and the red dashed curve shows the same fixed atmosphere with CH opacity removed. Removing CH worsens the fit by , with an empirical bootstrap probability .
We therefore find strong fixed-atmosphere support for CH opacity contributing to the observed 4–5 m spectral shape. We do not interpret this result as a formal CH abundance measurement because the atmospheric parameters are held fixed and the available wavelength interval contains broad, overlapping molecular bands.
The empirical JWST comparison is shown in Figure 6. At the native Shabgard information scale, the T8 dwarf 2MASS J0415−0935 provides a close detailed match, with and cosine similarity = 0.939. For JADES-GS-BD-11, the comparison is performed after degrading Shabgard to the nominal PRISM resolution; the cosine similarity remains high (0.918), but the substantially larger indicates poorer wavelength-by-wavelength agreement.
Figure 6. Direct empirical JWST spectral comparison of Shabgard with two brown dwarfs having similar effective temperatures. In panel (a), the higher-resolution 2MASS J0415−0935 NIRSpec/G395H spectrum is matched to the native Shabgard NIRCam/WFSS resolving power (). In panel (b), Shabgard is degraded to the nominal NIRSpec/PRISM resolving power () for comparison with JADES-GS-BD-11. A single multiplicative normalization is fitted in each comparison. The reported values use the same mean uncertainty-weighted squared-residual statistic defined in § 4, while the cosine similarity is the same raw, uncentered diagnostic used in the atmosphere-model comparison. The plotted curves are smoothed only for visualization after the diagnostics are calculated.
Because these two comparisons contain different numbers of independent resolution elements, we do not use their absolute values as a formal subtype-selection statistic. Instead, the comparison provides an empirical spectral-shape check. The closer agreement with 2MASS J0415−0935 supports a late-T-like interpretation of Shabgard, consistent with the approximately 700 K temperature inferred from the atmosphere models, while the restricted F444W interval remains insufficient for a formal empirical spectral classification.
Discussion
Why the brown-dwarf interpretation is favored
Shabgard is favored as a brown-dwarf because several independent tests point in the same direction. The source was selected as a compact, red, point-source-like object from the COSMOS2025/COSMOS-Web photometric candidate catalog. It is also one of the few candidates with a centered and relatively clean COSMOS-3D F444W WFSS trace. The local-background, profile-weighted extraction gives a synthetic F444W flux consistent with the COSMOS2025 catalog photometry, so the spectrum and photometry can be compared on a common flux scale.
The atmosphere-model comparison provides the strongest physical support for the brown-dwarf interpretation. Five independent model families converge on , while ATMO provides a cooler 450 K comparison solution; the LOWZ continuous posterior
independently centers near 719 K. The best-ranked solutions favor moderate-to-high gravities. This temperature scale is broadly associated with the late-T to Y-dwarf regime ([15] (M. C. Cushing et al. 2011; J. C. Filippazzo et al. 2015)), although the restricted F444W wavelength coverage does not permit a formal empirical spectral classification. These solutions are not consistent with a hot stellar photosphere, and the compact morphology and stellar-template preference from the photometric selection disfavor an ordinary galaxy interpretation. A deeper JWST/NIRSpec PRISM spectrum would provide the broader wavelength coverage and higher signal-to-noise ratio required to assign a more secure empirical spectral type and to test the molecular absorption pattern expected for a late-T/Y dwarf. Complementary MIRI/LRS spectroscopy would extend this analysis into the mid-infrared, where strong molecular features, particularly from NH, could provide additional constraints on the atmospheric chemistry and effective temperature ([8]). The multi-epoch astrometry provides an additional test that is independent of the atmosphere fitting. The measured displacement is reproduced in three NIRCam filters and is substantially larger than the apparent motions recovered for stationary artificial sources. This proper motion strongly disfavors a stationary high-redshift source. It does not by itself establish a brown-dwarf classification, because other Galactic point sources may also have measurable motions, but its combination with the compact morphology, very red photometry, and cool atmosphere-model solutions considerably strengthens the foreground ultracool-dwarf interpretation.
Where the model families agree and where they differ
The model families agree on three main points. First, Shabgard is cool: five grids converge at K, ATMO remains in the cool regime at 450 K, and the LOWZ continuous posterior centers near 719 K. Second, the best-ranked solutions generally favor moderate-to-high gravity, although the exact value remains model-dependent. Third, the inferred physical scale is substellar, even though the exact mass differs among model assumptions.
The main differences involve metallicity, chemistry, clouds, and the mapping from atmosphere parameters to mass and distance. The metallicity-sensitive models favor subsolar abundance: LOWZ gives [M/H] = in both the displayed grid fit and the MCMC posterior, and SAND gives [M/H] = in the displayed comparison. Sonora Elf Owl and Sonora Bobcat also select the lowest metallicity available in the fitted Sonora grids, [M/H] = . This agreement at the low-metallicity edge is encouraging, but it should not be over-interpreted as a precise abundance constraint. In the F444W grism range, metallicity, C/O ratio, gravity, and vertical mixing can all affect the continuum shape and molecular opacity (S. Mukherjee et al. 2024). The current data are therefore better suited to identifying a cool, likely metal-poor atmosphere than to measuring a unique chemical composition.
The cloud comparison is also model-dependent. The Morley grid includes sulfide and salt condensate clouds, while Sonora Bobcat and ATMO are used here as cloud-free or effectively cloud-free comparison models. The Morley best fit has , which corresponds to efficient sedimentation and a relatively thin or settled cloud layer in the Ackerman-Marley framework ([1] (C. V. Morley et al. 2012)). Its best fit shows that cloud opacity is allowed, but it does not prove that clouds are present. With only the F444W window, the safest conclusion is that the data are consistent with either a cloud-free atmosphere or a cloudy atmosphere with relatively settled condensate opacity.
The physical-scale disagreement is also understandable. The ATMO and Sonora Bobcat evolutionary checks give masses near and distances near 145 pc. The LOWZ atmosphere-only posterior, combined with a radius prior, gives a higher conditional mass of and a distance of pc. These values differ because the LOWZ calculation fits a dilution factor for an atmosphere grid and then imposes an external radius prior, while the ATMO/Sonora checks use evolutionary tracks that link radius, mass, gravity, temperature, and age self-consistently. The difference should therefore be treated as a systematic uncertainty in the physical scale rather than as a contradiction.
Information content of the F444W spectrum
The F444W grism range samples part of the 4-5 m region in which cool brown-dwarf spectra are shaped by molecular opacity from species including CH, HO, CO, CO, NH, PH, HS, and collision-induced H absorption (M. S. Marley et al. 2021; M. W. Phillips et al. 2020; S. Mukherjee et al. 2024; J. Tennyson & S. N. Yurchenko 2012). This wavelength interval therefore provides useful atmospheric information even though it is substantially narrower than a full NIRSpec spectrum.
The qualitative ExoMolOP comparison and the fixed-atmosphere PICASO experiment provide complementary information. The opacity guides show where broad molecular absorption is expected, whereas the leave-one-species-out calculation tests whether a particular opacity source is needed to reproduce the observed spectral shape. Within the selected Sonora Elf Owl V2 atmosphere, removing produces a substantial degradation in the fit (, bootstrap ), and this result remains stable over –. We therefore find strong fixed-atmosphere support for opacity in the observed F444W spectrum. The corresponding tests do not provide comparable evidence for or CO.
This result should nevertheless not be interpreted as a molecule-by-molecule abundance retrieval or as the identification of isolated transitions. The molecular bands in this wavelength interval are broad and overlapping, and the PICASO experiment holds the pressure-temperature profile and remaining chemistry fixed. Broader wavelength coverage is required to marginalize simultaneously over temperature, gravity, metallicity, C/O ratio, vertical mixing, clouds, and molecular abundances.
The empirical comparison provides an independent check on the overall spectral shape. Shabgard shows substantially closer detailed agreement with the T8 dwarf 2MASS J0415−0935 than with the T6 JADES-GS-BD-11 spectrum after the appropriate pairwise resolution matching. This supports a late-T-like interpretation, but the limited F444W wavelength range remains insufficient for a formal empirical spectral subtype.
A deeper JWST/NIRSpec spectrum would extend the comparison to multiple and bands and provide the wavelength leverage needed for a more complete atmospheric retrieval. Complementary MIRI spectroscopy would further constrain the cool-atmosphere chemistry, particularly through and other mid-infrared molecular features.
Distance, kinematics, and follow-up
The present distance estimates are – pc, depending on whether the physical scale is inferred from ATMO/Sonora evolutionary checks or from the LOWZ dilution factor with a radius prior. At these distances, Shabgard would be a foreground Galactic ultracool dwarf in the COSMOS field. The inferred mass is more model-dependent: ATMO/Sonora evolutionary checks favor , while LOWZ plus a radius prior gives . Both values are below the hydrogen-burning limit and remain within the brown-dwarf regime.
The most useful follow-up would be broader JWST/NIRSpec or combined NIRCam+MIRI spectroscopy. A wider wavelength baseline would test the and bands outside the F444W window, improve the measurement of the 4–5 μm molecular structure, and help separate metallicity, C/O ratio, surface gravity, vertical mixing, and cloud opacity. Such data would also allow a more secure empirical late-T/Y spectral classification.
Conclusions
We have presented a spectrophotometric analysis of Shabgard (COSMOS2025 ID 639188), a cool brown-dwarf identified in JWST/COSMOS-3D F444W WFSS data. The main conclusions are:
The atmosphere-model comparison strongly favors a cool brown-dwarf atmosphere. Sonora Elf Owl, LOWZ, SAND, Morley, and Sonora Bobcat all select K, while ATMO provides a cooler K comparison solution. The convergence of five independent grids at 700 K, together with the LOWZ continuous posterior at K, makes approximately 700 K the principal atmospheric temperature scale of the analysis.
The displayed grid solutions span –5.5, with most of the highest-ranked fits favoring moderate-to-high gravity. None requires an extremely low-gravity, inflated atmosphere. This is consistent with Shabgard being a field brown dwarf rather than a very young object.
The metallicity-sensitive grids favor subsolar metallicity. LOWZ gives [M/H] = in the displayed grid fit and [M/H] = in the PCA-interpolated MCMC posterior, while SAND gives [M/H] = in the displayed comparison. We treat this as evidence for a likely metal-poor atmosphere, but not as a final abundance measurement because the F444W-only spectrum leaves metallicity, C/O ratio, gravity, and vertical mixing partially degenerate.
The Morley cloudy model gives a competitive fit with . This corresponds to a cloudy but relatively settled/thinner-cloud solution within the Ackerman-Marley/Morley framework. Cloud opacity is therefore not ruled out, but the present data do not provide a direct cloud detection.
The physical scale remains model-dependent but substellar. ATMO/Sonora evolutionary checks give distances near 143–145 pc and masses near , while the LOWZ dilution factor combined with a radius prior gives pc and .
Multi-epoch NIRCam astrometry gives consistent proper-motion amplitudes of 88.6-90.9 mas yr in F115W, F200W, and F356W, with a combined value of mas yr. Artificial-source tests show that the displacement is substantially larger than the apparent motions recovered for stationary sources. Shabgard is therefore securely identified as a Galactic source rather than a stationary extragalactic object.
Combining the proper motion with the model-dependent distances gives a heliocentric tangential velocity of approximately 60-74 km s. This is elevated relative to the mean local ultracool-dwarf population and is consistent with an older Galactic-disk object, although a radial-velocity measurement is needed to calculate the full motion and test thin-disk, thick-disk, or halo membership quantitatively.
A PCA-random-forest regression on the fixed-chemistry LOWZ grid provides an independent-method cross-check of the atmospheric inference. It yields K, with an interval overlapping the LOWZ MCMC result, and independently supports a subsolar atmosphere with . Because the regression and MCMC metallicity intervals do not overlap, the precise metallicity remains method- and model-dependent.
A fixed-atmosphere Sonora Elf Owl V2/PICASO test provides strong support for CH opacity in the F444W spectrum: removing CH worsens the fit by , with an empirical bootstrap probability . Comparable support is not obtained for CO or CO. An independent empirical comparison shows that Shabgard has closer detailed spectral-shape agreement with the T8 dwarf 2MASS J0415−0935 than with the T6 JADES-GS-BD-11 spectrum, supporting a late-T-like interpretation without assigning a formal spectral subtype.
Taken together, the compact morphology, red photometry, cool atmosphere-model solutions, and significant proper motion identify Shabgard as a strong foreground cool brown-dwarf, likely with a late-T/Y-like atmosphere and subsolar metallicity. Higher-signal-to-noise and broader-wavelength spectroscopy, particularly with JWST/NIRSpec and potentially MIRI, is required to assign an empirical spectral type, identify individual molecular features, and better constrain its metallicity, chemistry, and cloud properties.
ACKNOWLEDGMENTS
We thank the referee for the constructive feedback that improved the paper. This research is based on observations made with the NASA/ESA/CSA James Webb Space Telescope. The data were obtained from the Mikulski Archive for Space Telescopes (MAST) at the Space Telescope Science Institute, which is operated by the Association of Universities for Research in Astronomy, Inc. (AURA), under NASA contract NAS 5-03127. This work uses JWST/NIRCam imaging from the COSMOS-Web program and JWST/NIRCam wide-field slitless spectroscopy from the COSMOS-3D program (GO-5893; PI: K. Kakiichi). We thank the COSMOS-Web and COSMOS-3D teams for producing and making available the data products that made this analysis possible.
We thank the COSMOS-3D team for their work on the NIRCam/WFSS reduction products and for helpful clarification on the extraction and flux-calibration treatment. We also thank the brown-dwarf model and software communities whose public grids and tools made the atmosphere-model comparison possible, including SAND, Sonora, Morley, ATMO, LOWZ, and ucdmcmc. This work also uses JWST/NIRCam imaging from the Public Release IMaging for Extragalactic Research program (PRIMER; GO-1837; PI: J. Dunlop).
T.G. acknowledges the support of the National Science and Technology Council of Taiwan through grants 114-2112-M-007-026, 113-2112-M-007-006, and 113-2927-I-007-501. T.H. acknowledges the support of the National Science and Technology Council of Taiwan through grants 110-2112-M-005-013-MY3 and 110-2112-M-007-034. RAM acknowledges support from the Swiss National Science Foundation (SNSF) through project grant 200020_207349.
We also thank our collaborators and colleagues for valuable discussions and feedback that improved this work.
Software: Astropy (v7.2.0; [5]), Astroquery (v0.4.11), NumPy (v2.4.6; C. R. Harris et al. 2020), SciPy (v1.17.1; P. Virtanen et al. 2020), pandas (v3.0.3), Matplotlib (v3.10.9; J. D. Hunter 2007), Photutils (v3.0.0), reproject (v0.19.0), h5py (v3.15.1), xarray (v2026.4.0), netCDF4 (v1.7.4), scikit-learn (v1.9.0; F. Pedregosa et al. 2011), PICASO (v4.0.1; [7]), emcee (v3.1.6; D. Foreman-Mackey et al. 2013), corner (v2.2.3; D. Foreman-Mackey 2016), ucdmcmc (v1.4.4), the unfold_jwst reduction framework, and the JWST Calibration Pipeline (v1.20.2).
Data Availability
The JWST observations used in this work are publicly available through the Mikulski Archive for Space Telescopes (MAST). The analysis uses COSMOS-Web imaging (GO-1727), COSMOS-3D spectroscopy (GO-5893), and PRIMER imaging (GO-1837). The COSMOS2025 catalog is publicly available through the COSMOS2025 data release. Derived products supporting this study are available from the corresponding author upon reasonable request.
Additional diagnostic and physical-scale checks
Extraction diagnostics for the other centered-trace candidates
As described in § 3, the one-dimensional spectrum of Shabgard was obtained through a custom local-background, profile-weighted extraction from the COSMOS-3D unfold jwst two-dimensional product. Before selecting Shabgard for the detailed atmosphere-model analysis, we inspected the available two-dimensional and one-dimensional products for all photometrically selected candidates with COSMOS-3D coverage. Six objects had traces that were sufficiently centered and isolated to permit an attempted local-background extraction.
Figure A1 shows the extraction diagnostics for the remaining five centered-trace candidates. The same general procedure used for Shabgard was applied to these objects: the source trace was identified in the two-dimensional coadd, local background regions were defined on both sides of the trace, and a profile-weighted one-dimensional spectrum was extracted after background subtraction.
Figure A1. Local-background extraction diagnostics for the other five centered-trace candidates. For each object, the left panel shows the two-dimensional COSMOS-3D F444W WFSS spectrum, with the traced source position and adopted extraction regions marked, while the right panel shows the resulting local-background-subtracted, profile-weighted one-dimensional spectrum. These objects were not included in the detailed atmosphere-model comparison because their extractions were less stable than that of Shabgard owing to lower continuum signal, residual spectral overlap, background sensitivity, or weaker agreement with the independent F444W photometry. The main physical analysis in this paper therefore focuses on Shabgard.
These five candidates were not carried forward to the detailed atmosphere-model comparison because their extracted spectra were less suitable for quantitative fitting. Depending on the object, the main limitations included a weaker continuum signal, residual structure from neighbouring dispersed sources, sensitivity to the adopted background regions, or poorer agreement between the extracted F444W flux scale and the independent COSMOS2025 photometry.
The selection of Shabgard was therefore based on the stability and quality of the spectral extraction before consideration of the atmosphere-model fit results. The spectra shown here are retained as extraction and candidate-selection diagnostics and should not be interpreted as ruling out a brown-dwarf nature for the other candidates.
Evolutionary physical-scale checks
The conversion of an atmosphere-model normalization into physical properties depends on the adopted relation among effective temperature, surface gravity, radius, mass, and age. We therefore performed supplementary physical-scale checks using the ATMO 2020 and Sonora Bobcat evolutionary calculations (M. W. Phillips et al. 2020; M. S. Marley et al. 2021). These checks provide an independent, model-dependent comparison with the LOWZ dilution-factor analysis presented in § 5.2.
For each evolutionary framework, posterior samples were constructed over an age range of 0.5–13.8 Gyr. The atmosphere solution was linked to the corresponding evolutionary-model mass, radius, effective temperature, and surface gravity. The model normalization was then converted into a distance using the flux-dilution relation
where is the evolutionary-model radius and is the distance. Figure A2 shows the resulting marginal posterior distributions.

Figure A2. Figure A2. Marginal posterior distributions of the evolutionary physical properties of Shabgard obtained using the ATMO 2020 and Sonora Bobcat model families. The panels show (a) mass, (b) age, (c) distance, (d) effective temperature, (e) surface gravity, and (f) radius. Solid blue curves represent ATMO 2020, while dashed orange curves represent Sonora Bobcat. The vertical lines mark the posterior medians, and the shaded regions indicate the corresponding 16th-84th percentile intervals. Each distribution is independently normalized to its maximum for visual comparison. Both evolutionary frameworks favor a mass near 23 , a distance near 145 pc, an effective temperature near 650 K, a surface gravity near , and a radius close to one Jupiter radius. The multimodal structure visible in some derived parameters reflects the discrete and nonlinear mapping through the evolutionary-model grids.
The ATMO 2020 calculation gives a mass of , a distance of pc, and a radius of . The corresponding Sonora Bobcat values are , pc, and . The two frameworks also give consistent effective temperatures and surface gravities, with median values near 650 K and , respectively.
The close agreement between the two evolutionary calculations indicates that the inferred physical scale is not strongly dependent on the choice between these model families. Nevertheless, the posteriors remain conditional on the atmosphere fits, evolutionary tracks, adopted age range, and flux normalization. They should therefore be interpreted as model-dependent consistency checks rather than direct measurements of the mass, radius, age, or distance. Together with the LOWZ dilution-factor estimate, these results support the interpretation of Shabgard as a foreground substellar object at a distance of order 150 pc.
References
- [1]Ackerman, A. S., & Marley, M. S. 2001, The Astrophysical Journal, 556, 872, doi: 10.1086/321540DOI
- [2]Alejandro Merchan, S., Faherty, J. K., Suárez, G., et al. 2025, The Astrophysical Journal, 989, 80, doi: 10.3847/1538-4357/ade3d7DOI
- [3]Alvarado, E., Gerasimov, R., Burgasser, A. J., et al. 2024, Research Notes of the AAS, 8, 134, doi: 10.3847/2515-5172/ad4ffb
- [4]Arnouts, S., Cristiani, S., Moscardini, L., et al. 1999, Monthly Notices of the Royal Astronomical Society, 310, 540, doi: 10.1046/j.1365-8711.1999.02978.xDOI
- [5]Astropy Collaboration, Price-Whelan, A. M., Lim, P. L., et al. 2022, The Astrophysical Journal, 935, 167, doi: 10.3847/1538-4357/ac7c74DOI
- [6]Baraffe, I., Chabrier, G., Barman, T. S., Allard, F., & Hauschildt, P. H. 2003, Astronomy & Astrophysics, 402, 701, doi: 10.1051/0004-6361:20030252DOI
- [7]Batalha, N. E., Marley, M. S., Lewis, N. K., & Fortney, J. J. 2019, The Astrophysical Journal, 878, 70, doi: 10.3847/1538-4357/ab1b51DOI
- [8]Beiler, S. A., Cushing, M. C., Kirkpatrick, J. D., et al. 2023, The Astrophysical Journal Letters, 951, L48, doi: 10.3847/2041-8213/ace32cDOI
- [9]Bezanson, R., Labbé, I., Whitaker, K. E., et al. 2024, The Astrophysical Journal, 974, 92, doi: 10.3847/1538-4357/ad66cfDOI
- [10]Bowler, B. P. 2016, Publications of the Astronomical Society of the Pacific, 128, 102001, doi: 10.1088/1538-3873/128/968/102001DOI
- [11]Brammer, G. B., van Dokkum, P. G., Franx, M., et al. 2012, The Astrophysical Journal Supplement Series, 200, 13, doi: 10.1088/0067-0049/200/2/13DOI
- [12]Breiman, L. 2001, Machine Learning, 45, 5, doi: 10.1023/A:1010933404324DOI
- [13]Burgasser, A. 2026, aburgasser/ucdmmc: v1.4.4, v1.4.4 Zenodo, doi: 10.5281/zenodo.19411337
- [14]Burgasser, A. J., Bezanson, R., Labbé, I., et al. 2024, The Astrophysical Journal, 962, 177, doi: 10.3847/1538-4357/ad206fDOI
- [15]Burgasser, A. J., Geballe, T. R., Leggett, S. K., Kirkpatrick, J. D., & Golimowski, D. A. 2006, The Astrophysical Journal, 637, 1067, doi: 10.1086/498563DOI
- [16]Burrows, A., Hubbard, W. B., Lunine, J. I., & Liebert, J. 2001, Reviews of Modern Physics, 73, 719, doi: 10.1103/RevModPhys.73.719DOI
- [17]Butkevich, A. G., & Lindegren, L. 2014, A&A, 570, A62, doi: 10.1051/0004-6361/201424483DOI
Machine contribution statement
No AI-use declaration is available for this version in Valency.
The available record does not establish whether AI systems or models contributed to this work.




