betaFeedback

WorksPhysics and Astronomy

Joint Fit of Galaxy Cluster Scaling Relations from Individual Weak Lensing Data: Comparison with Stacked Analysis and a Real Data Test

Abstract

Stacking is the standard route to signal-to-noise in cluster weak lensing, but it destroys the cluster-by-cluster information that scaling-relation studies need. We instead fit every cluster's individual ΔΣΔΣ profile simultaneously, tying its mass and concentration to its own richness, redshift and magnitude gap, and compare with two stacked analyses of the same data: a forward-modelled stack sharing the same model and priors, and the standard two-step analysis. The magnitude gap (the BCG-to-brightest-satellite magnitude difference) enters the concentration, which the fossil-group picture ties to earlier assembly and more relaxed systems. On mock populations with triaxial haloes and miscentering, at DES Y3-like and LSST-like density, all three analyses recover the injected gap slope γcmγ_{\mathrm{cm}} with uncertainties that match the scatter between realisations, but not equally precisely: the joint fit scatters 1.2–1.3 times less than the forward-modelled stack, and 2 (DES-like) to 6.5 (LSST-like) times less than the two-step analysis, which is also biased in several other scaling-relation parameters. Applied to WaZP clusters with DES Y3 shears, the joint and forward-modelled fits agree on the gap coupling once the mass at fixed richness also depends on the gap, γcm=0.065±0.033γ_{\mathrm{cm}} = 0.065 \pm 0.033 (forward-modelled) and0.007−0.033+0.0320.007^{+0.032}_{-0.033}~mag−1^{-1} (joint); the joint value is consistent with no coupling, so neither is a detection. The mass–concentration slope is consistent with zero in both, as expected from the upturn of the \citet{diemer2019} relation over this mass range. A gap coupling obtained in a model where the gap enters only the concentration need not survive a modest extension of that model.

Introduction

Better understanding galaxy clusters is a key element to use them as probes of physical cosmology. Similarly, studying their mass accretion histories can inform us about the astrophysical processes behind the evolution of galaxies and self-gravitating systems in general. From the start, galaxy clusters provided insights to various discoveries in astrophysics – from the discovery of dark matter by Zwicky [2] to the hints of the accelerating universe in Bachall and Cen (1992) and even earlier by Hoessel et al. [4]. More recently, clusters have also provided tests for new physics, for example, in tests of the cold dark matter model [5, 6, 7].

In recent years, ever larger wide field surveys of galaxies have been conducted [8, 10] (Dark Energy Survey Collaboration 2016), and more are under way or planned [11, 12, 13] for the benefit of cosmology. From this wealth of data we can also build large samples of galaxy clusters and measure statistical characteristics of their population and its evolution. The masses of galaxy clusters are of particular interest, since the distribution of cluster masses as a function of redshift can be derived from cosmological models [14, 15] and are particularly sensitive to cosmological parameters [16]. This, in turn, stems from clusters being the most massive structures to have formed, being close to the exponential end of the mass function.

Cluster masses are not, however, directly measurable. Therefore, a number of indirect techniques have been used to assess them [17]. In dynamical methods, such as in Zwicky [2], Biviano [18], the velocity dispersion of satellite galaxies is connected to the mass through the virial theorem or the Jeans equation (Lokas and Mamon 2003). The caustic technique – using the escape velocity envelope in redshift space – extends these dynamical estimates beyond the virial radius without assuming equilibrium [20].

X-ray observations yield masses by applying an hydrostatic equilibrium assumption to the temperature and density profiles of the intracluster medium ([21, 22]). The thermal Sunyaev–Zel’dovich effect, measuring the integrated gas pressure through distortions of the CMB spectrum, provides a nearly redshift-independent mass proxy. Both strong ([23]) and weak lensing have used the distortion of background galaxies to constrain the foreground mass. Finally, the lensing effect can also be detected on the CMB ([24, 25]).

Weak gravitational lensing (WL) has, in particular, been frequently used to calibrate mass measurements. Since WL is sensitive to the whole mass of the cluster, it can be used to calibrate measurements that are easier to perform but are subject to modelling biases. It has been also shown that weak lensing masses for relaxed clusters are biased by at most 5–10% ([26, 27]).

The use of cluster WL signals is not without difficulty. The shear signal expected around a cluster is of the order of 1–10%, below the intrinsic shape scatter of galaxies σe∼0.25\sigma_e \sim0.25–0.3. Because of this, individual masses measured by WL have an intrinsic 20–30% scatter ([28, 26]). Projection effects further complicate the problem, as foreground halos will cause additional shear ([29] (Wu et al. 2022)). Finally, even the modelling of the mass distribution of individual halos is not unambiguous. The triaxial shape of the mass distribution, formed by sequences of mergers of smaller halos ([31]), and the existence of substructures are two examples that complicate this modelling.

To address the low SNR of WL by galaxy clusters, a strategy frequently employed is stacking (e.g. [32, 33, 34, 35, 36]). In stacking, galaxies at the background from different clusters are lumped together and used as if they were the background to the same cluster. This is then fitted to a parametric profile, from which an average mass is calculated. To be consistent, stacks are usually divided by redshift and richness. The ensemble profile mass, however, does not correspond to a strict average of the masses of the clusters in the stack, as the relationship between the cluster mass and the WL profile is non-linear.

In this work, we propose to replace the stacking of clusters with a joint fit, constrained by known relations such as that between mass and richness, and mass and concentration. This is not without precedent: Mantz et al. [37] develop multivariate scaling relations that have then been applied to the Weighing the Giants project ([38, 39]). Bocquet et al. [40] jointly fits 343 SZ-selected clusters using weak lensing and X-ray data for different subsets. And in Bocquet et al. (2024); Bocquet et al. (2024), they develop a per-cluster hierarchical population likelihood combining abundance and individual-cluster lensing, without richness-binned stacking, and use it for a cosmological analysis. Chiu et al. [43] calibrate the X-ray observable-to-mass relations of EFEDS clusters and groups with a similar population model fit to the weak-lensing profiles of individual systems. Finally, in the Co-

MaLit project ([44]), they develop a Bayesian hierarchical scaling-relation model to assess individual masses. To test and validate our work, we performed a simulated analysis of joint fits and applied it to a DES-like and an LSST-like scenario, comparing the performance with a stacked analysis. We then test the method on real data, using the shape catalogue from DES Y3 and the WaZP cluster catalogue from DES Y6 ([45]), both of which are publicly available.

To further motivate this work, we will explore how the scatter of the mass-concentration relation can be explained by additional observables. This has been suggested as early as Wechsler et al. [46] from simulations of the hierarchical mass accretion. We have first tried this in Viortielli et al. (2018), by dividing stacks into percentiles of the magnitude gap—the difference in magnitude between the brightest cluster galaxy (BCG) and the brightest satellite in the inner region. The intuition here comes from fossil groups: it is proposed that systems with extreme (>2>2) magnitude gaps correspond to relaxed systems, that did not have any significant mergers in a long time ([48]). This is because as time passes, the most massive satellites will suffer gravitational drag and eventually fall and merge into the central BCG. The link is statistical rather than one-to-one: large gaps are transient, and many systems that have a large gap at one time lose it later ([50] (Dariush et al. 2010)).

Conditioning the sample on magnitude gaps has a second, related motivation. In the standard picture, a halo’s galaxy content depends only on its mass and redshift; assembly bias is the name for departures from this expectation, where formation history leaves an additional imprint at fixed mass (Wechsler et al. [46]). Correlations between the richness and secondary cluster characteristics that are connected to its assembly history could then be evidence of assembly bias (§ 6.5). In particular, Hearin et al. [51] found in mock catalogues and SDSS groups that, at fixed richness, systems with a larger magnitude gap are more massive, so that the gap carries information on mass beyond the richness.

§ 2 describes the model, and § 3 the simulations used to test it. § 4 validates the joint fit on those simulations and compares it against stacking on the same data, and § 5 applies both methods to WaZP clusters with DES Y3 shears. § 6 discusses the results and § 7 concludes. The appendices detail the triaxial halo simulation (Appendix § 8) and the radial binning choices (Appendix § 9), test the magnitude-gap dependence of the boost factor (Appendix § 10), describe a paired test of per-cluster covariances (Appendix § 11), justify the choice of covariance for the real data (Appendix § 12), compare the joint and forward-modelled fits with the two-step analysis of the same real and simulated stacks (Appendix § 13), and compare marginal and maximum a posteriori summaries of the real-data fits (Appendix § 14). Throughout, we use the Planck Collaboration et al. [52] cosmology as implemented in ASTROPY (h=0.6766h = 0.6766, Ωm=0.310\Omega_{\mathrm{m}} = 0.310), with σ8=0.802\sigma_8 = 0.802 for the two-halo term, and masses in M⊙M_{\odot} without factors of hh.

Model

At the core of this work is the development of a Bayesian framework that takes us from data to a constrained model of the population of galaxy clusters. One of the many advantages of this approach is that a model can be fully specified, and then simulated, to test if we can constrain the relations we want. So, in this section we will describe our model in detail, and in the next, test it.

The main target is to investigate the use of joint fits of parametric profiles to cluster WL data, conditioned on scaling relations that have been previously studied both in simulations and in real data. From these relations, and using direct observables for each galaxy cluster, one can propose individual parametric curves to fit each cluster, and probe the space of parameters of cluster scaling relations (Sereno and Ettori [44]; Umetsu [53]).

Basically, the method works as follows: the sampler proposes a set of values for the parameters of the scaling relations. Using individual cluster observables that relate to the mass profile, we then have a mass profile for each cluster. The sum of the individual log-likelihoods is then the total likelihood for the parameters. In the following subsections, we look more closely at each of the relations being used, and the joint fitting method.

Halo Mass profile

Following the spherical collapse model development (Gunn and Gott [54]), the theory of formation of clusters was studied through simulations. With dark-matter-only simulations, Navarro et al. [55, 56]; Moore et al. [57] have shown early on that halos form with similar distributions. In Navarro et al. [56], specifically, they parametrise this empirical distribution as

ρ(r)=ρ0(r/rs)(1+r/rs)2(1)\rho(r) = \frac{\rho_0}{(r/r_s)(1+r/r_s)^2} \tag*{(1)}

with density falling roughly as r−1r^{-1} in the inner (∼100\sim100 kpc) region and faster, as r−3r^{-3}, in the outer regions (>1>1 Mpc). The scale radius rsr_s defines where the profile behaves as ρ∼r−2\rho\sim r^{-2}, and defines a concentration for halos, cΔ:=rΔ/rsc_\Delta:= r_\Delta/r_s. Here rΔr_\Delta is a cut-off radius to define the mass of the halo, as models for the mass distribution frequently have divergent mass. One frequent choice for this radius is the one that encloses a region in which the density is 200 times larger than the background, r200r_{200}, which we will use, giving c200=r200/rsc_{200}=r_{200}/r_s. Throughout this work the overdensity is defined with respect to the mean matter density ρˉm(z)\bar{\rho}_m(z) rather than the critical density, so that M200≡M200mM_{200} \equiv M_{200m}.

Large-Scale Structure Contribution

Outer radii depart from the single halo shape due to the clustering of clusters. To account for that, we can use a two-halo mass contribution described as in Johnston et al. [32], given as

ρ2h=b(ν) ρˉm(z) Ωmρc,0(1+z)3 ξLL(r,z),(2)\rho_{2h} = b(\nu)\,\bar{\rho}_{m}(z)\,\Omega_{m}\rho_{c,0}(1+z)^3\,\xi^{L}_{\mathrm{L}}(r,z), \tag*{(2)}

where b(ν)b(\nu) is the linear halo bias calculated at the density peak height of the halo ν=δc/σ(M)\nu=\delta_c/\sigma(M), where σ(M)\sigma(M) is the linear matter variance in the Lagrangian scale of the halo, that is, with R=[3M/(4πρˉm)]1/3R=[3M/(4\pi\bar{\rho}_m)]^{1/3}. We use Tinker et al. [58] as the parametric b(ν)b(\nu). Finally, the linear matter correlation function at redshift zz is

ξLL(r,z)=D(z)2 σ82 ξLL[(1+z)r],(3)\xi^{L}_{\mathrm{L}}(r,z)=D(z)^2\,\sigma_8^2\,\xi^{L}_{\mathrm{L}}[(1+z)r], \tag*{(3)}

where ξLL(r)\xi^{L}_{\mathrm{L}}(r) is the linear correlation function at redshift zero, taken from a CAMB-calculated (Lewis et al. [59]) linear power spectrum, normalised to σ8=1\sigma_8=1, and D(z)D(z) is the growth function.

The projected two-halo term is then

Σ2h(R)=B(z,M) Σl(R),\Sigma_{2h}(R)=B(z,M)\,\Sigma_{\mathrm{l}}(R),
B(z,M):=b(z,M) Ωm σ82 D(z)2,(4)B(z,M):=b(z,M)\,\Omega_m\,\sigma_8^2\,D(z)^2, \tag*{(4)}

with

Σl(R)=(1+z)2 ρc,0 W[(1+z)R],\Sigma_{\mathrm{l}}(R)=(1+z)^2\,\rho_{c,0}\,W[(1+z)R],
W(R):=∫−∞∞dy ξLL(y2+R2),(5)W(R):=\int_{-\infty}^{\infty}dy\,\xi^L_{\mathrm{L}}\left(\sqrt{y^2+R^2}\right), \tag*{(5)}

where RR is the physical projected radius and (1+z)R(1+z)R the comoving one. The sum of a one-halo NFW profile and a linear-bias two-halo term is an approximation in the transition region around the virial radius (Hayashi and White [60]).

Effect of Miscentering

In optical identification and selection of galaxy clusters, we usually identify a bright red galaxy with the cluster centre (the brightest cluster galaxy, BCG). However, astrophysical processes and algorithmic difficulties may result in an offset between the galaxy labelled as BCG and the true centre of the gravitational potential. In the DES redMaPPer cluster catalogue, Zhang et al. [61] found that around a quarter have significant offsets between the selected central galaxy and the centre of the potential well, most of them (∼60%\sim60\%) caused by the cluster finder and the rest by astrophysics. With a significant departure in the measured lensing profile, we need to account for that when using cluster WL data.

Miscentering cannot, however, be individually constrained, so we model it as an ensemble parameter. For a given offset radius roffr_{\rm off} between the true centre and the assumed one, the azimuthal average surface mass at radius rr is

Σoff(r∣roff)=12π∫02πdθ×Σ(r2+roff2−2rroffcos⁡θ).(6)\begin{aligned} \Sigma_{\rm off}(r|r_{\rm off})=\frac{1}{2\pi}\int_{0}^{2\pi}d\theta\\ &\times\Sigma\left(\sqrt{r^2+r_{\rm off}^2-2rr_{\rm off}\cos\theta}\right). \tag*{(6)} \end{aligned}

As we do not know the individual roffr_{\rm off} for each cluster, we marginalise over its distribution, and estimate the parametrisation of this distribution from the data. We use a Rayleigh distribution as the model for the scattering offsets, given by

P(roff)=roffσoff2exp⁡[−12(roffσoff)2],(7)P(r_{\rm off})=\frac{r_{\rm off}}{\sigma_{\rm off}^2}\exp\left[-\frac{1}{2}\left(\frac{r_{\rm off}}{\sigma_{\rm off}}\right)^2\right], \tag*{(7)}

where σoff\sigma_{\rm off} is the scale of the miscentering offset. Zhang et al. [61] model the offsets with a Gamma distribution. in units of the cluster radius; the Rayleigh distribution in physical units is our choice.

In addition, we use the fraction of miscentered clusters, fmisf_{\rm mis}, as an ensemble parameter to be determined from the data. The model of each cluster is then the miscentering-averaged profile of Eq. (13) (§ 2.7), rather than a mixture of likelihoods over the cluster’s unknown offset. For a single cluster this is an approximation, adequate when its profile is dominated by shape noise. It affects only the joint fit, since the stacked model averages the members’ profiles in any case.

Weak Lensing

The lensing effect on background galaxies is related to the foreground surface mass density contrast ΔΣ(R)=Σ‾r<R−Σ(R)\Delta\Sigma(R) = \overline{\Sigma}_{r<R} - \Sigma(R). For a given pair of lens ii and background galaxy jj, the tangential shear is

γt=ΔΣΣcrit,(8)\gamma_{\rm t} = \frac{\Delta\Sigma}{\Sigma_{\rm crit}}, \tag*{(8)}

where

Σcrit=c24πGDSDLDLS(9)\Sigma_{\rm crit} = \frac{c^2}{4\pi G}\frac{D_{\rm S}}{D_{\rm L}D_{\rm LS}} \tag*{(9)}

and DSD_{\rm S}, DLD_{\rm L}, and DLSD_{\rm LS} are the angular diameter distances to the source, to the lens, and between lens and source, respectively. The model for the surface mass density Σ(R)\Sigma(R) for an NFW-like mass distribution can be found in Wright and Brainerd [62]. The quantity measured is the reduced shear gt=γt/(1−κ)g_{\rm t} = \gamma_{\rm t}/(1-\kappa), with κ=Σ/Σcrit\kappa= \Sigma/\Sigma_{\rm crit}. Our model and simulations use γt\gamma_{\rm t}, an approximation whose effect on the real data we quantify in § 6.8. § 2.8 describes how the observed data vector ΔΣ(Δr)\Delta\Sigma(\Delta r) and its covariance are constructed from a background galaxy catalogue.

Mass-Richness relation

One of the most immediate mass-observable relations in clusters is the mass-richness relation. As the galaxy density is a tracer of mass density, we expect more massive clusters to have more galaxies. Indeed, the mass-richness relation of clusters has been investigated in several works, both from theoretical and observational perspectives ([63, 64]).

In principle, a halo occupation distribution (HOD) can be used as a model for the connection between halo mass and its population of galaxies (Cooray and Sheth [65]). However, the true number of member galaxies is not observed. Instead, given a particular cluster finder algorithm, we have a richness estimator that attaches membership probabilities to some galaxies around each halo ([66, 67]). Thus, the mass-richness relation is also a property of the survey, not only of the physical properties of the system. Nevertheless, given a single survey, the richness can be calibrated as a mass proxy by WL (McClintock et al. [36]) consistently.

A general model of the mass-richness relation can be written as

log⁡10M200(λ,z)=log⁡10M0+αMλlog⁡10(λ/λpiv)+βMλlog⁡10((1+z)/(1+zpiv)),(10)\log_{10} M_{200}(\lambda,z) = \log_{10} M_0 + \alpha_{M\lambda}\log_{10}(\lambda/\lambda_{\rm piv}) + \beta_{M\lambda}\log_{10}((1+z)/(1+z_{\rm piv})) , \tag*{(10)}

where we have dependencies with the richness λ\lambda, and redshift zz, about pivots λpiv=40\lambda_{\rm piv}=40 and zpiv=0.35z_{\rm piv}=0.35.

Mass-Concentration Relation

In the hierarchical structure formation paradigm smaller halos form earlier, while larger ones form later, mainly through mergers ([68, 46]). After a halo forms, it keeps the mass profile of § 2.1 ([69]).

In this way, a natural intuition for a mass-concentration relation appears as a clock for halo formation time: as the density of the universe decreases with time, the r200r_{200} grows larger just by its definition. For a halo that stops accreting, rsr_{\rm s} stays nearly constant ([69, 46]), which in turn leads to concentration increasing with rΔr_\Delta. This process is called pseudo-evolution in Diemer et al. [70]. With that, halo concentrations have been linked to mass, redshift, and cosmology.

The universality of halo shape as a function of mass, when mass and concentration are related, has been shown to be more complicated, however. At fixed mass and redshift, data has shown that concentrations have significant scatter (Neto et al. [71]), largely attributable to the diversity of mass accretion histories among halos of similar mass (Wechsler et al. [46]). The original Bullock et al. [69]-type relation was also later shown to mispredict the evolution of concentration for massive, still-assembling halos. More recent calibrations correct for this trend while preserving the qualitative picture that concentration encodes formation time (Diemer and Joyce [1]).

We will begin by considering a simple, power-law model for the concentration as a function of mass and redshift:

log⁡10c(M,z)=log⁡10c0+αcmlog⁡10(MMpiv)+βcmlog⁡10(1+z1+zpiv),(11)\log_{10}c(M,z) = \log_{10}c_0 + \alpha_{\rm cm}\log_{10}\left(\frac{M}{M_{\rm piv}}\right) + \beta_{\rm cm}\log_{10}\left(\frac{1+z}{1+z_{\rm piv}}\right) , \tag*{(11)}

where again we separate dependencies with mass αcm\alpha_{\rm cm} and redshift βcm\beta_{\rm cm}.

To go further, as we want to investigate the relationship if the scatter in this relation can be explained by direct observables, we model the normalisation of the relation as a function of an observable as

log⁡10c(M,z,Δm)=log⁡10c0+αcmlog⁡10(MMpiv)+βcmlog⁡10(1+z1+zpiv)+γcmΔm,(12)\log_{10}c(M,z,\Delta m) = \log_{10}c_0 + \alpha_{\rm cm}\log_{10}\left(\frac{M}{M_{\rm piv}}\right) + \beta_{\rm cm}\log_{10}\left(\frac{1+z}{1+z_{\rm piv}}\right) + \gamma_{\rm cm}\Delta m , \tag*{(12)}

where, following our previous tests in Vitorelli et al. [47], the observable is the magnitude gap Δm\Delta m (in magnitudes) between the brightest cluster galaxy and the brightest satellite, so that γcm\gamma_{\rm cm} is in mag−1^{-1} and c0c_0 is the concentration at Δm=0\Delta m = 0. The term is linear in Δm\Delta m because the magnitude gap is already a logarithmic quantity. The mass and redshift pivots are Mpiv=1014 M⊙M_{\rm piv} = 10^{14}\,M_\odot and zpiv=0.35z_{\rm piv} = 0.35.

The full model of cluster mass profiles

Putting each contribution together, the full model for the mass distribution of galaxy clusters is

ΔΣ(r∣M200,c200,fmis,σoff)=(1−fmis) ΔΣNFW(r∣M200,c200)+fmis ΔΣNFWoff(r∣M200,c200,σoff)+ΔΣ2h(r∣M200)(13)\Delta\Sigma(r|M_{200},c_{200},f_{\rm mis},\sigma_{\rm off}) = (1-f_{\rm mis})\,\Delta\Sigma_{\rm NFW}(r|M_{200},c_{200}) + f_{\rm mis}\,\Delta\Sigma_{\rm NFW}^{\rm off}(r|M_{200},c_{200},\sigma_{\rm off}) + \Delta\Sigma_{2h}(r|M_{200}) \tag*{(13)}

where fmisf_{\rm mis} is the fraction of miscentered clusters. For each single cluster, the mass is estimated from the mass-richness relation and the concentration subsequently by the mass-concentration relation. In turn, fmisf_{\rm mis} and σoff\sigma_{\rm off} are nuisance parameters. Given the spread of the mass-richness relation, we also fit its normalisation M0M_0 (Eq. (10)) rather than fixing it to a calibration.

The model signal ΔΣ\Delta\Sigma is evaluated at the logarithmic centre of each radial bin, whereas the measurement is an area-weighted average over each annulus. This approximation is much cheaper in the joint fit, which evaluates every radius of every cluster; Appendix § 9 quantifies it and shows that it affects mainly the mass normalisation.

Data Vector

The joint and stacked fits use the same estimator of ΔΣ\Delta\Sigma, applied either to a single cluster or to a stack. Each cluster cc contributes the background galaxies jj selected behind it (§ 5.3), each with tangential ellipticity et,je_{t,j}, measurement weight wjw_j, tangential shear response RjR_j (§ 5.2), and critical surface density Σcrit,j\Sigma_{{\rm crit},j} of the lens-source pair. Radial bins are logarithmically spaced, with bin centres RkR_k and edges at the geometric mean between centres. For each cluster and radial bin kk we compute

Tc,k=∑j∈c,ket,jwjΣcrit,j,Kc,k=∑j∈c,kRjwjΣcrit,j2,T_{c,k} = \sum_{j\in c,k}\frac{e_{t,j}w_j}{\Sigma_{{\rm crit},j}}, \qquad K_{c,k} = \sum_{j\in c,k}\frac{R_jw_j}{\Sigma_{{\rm crit},j}^{2}},
nc,k=#{j∈c,k},(14)n_{c,k} = \#\{j\in c,k\}, \tag*{(14)}

so that Kc,kK_{c,k} is the response-weighted lensing weight of the cluster in that bin. The data vector of a single cluster, used by the joint fit, and that of a stack ss of clusters, used by the stacked fit, are

ΔΣ^c,k=Bc,kTc,kKc,k,\widehat{\Delta\Sigma}_{c,k} = B_{c,k}\frac{T_{c,k}}{K_{c,k}},
ΔΣ^s,k=Bs,k∑c∈sTc,k∑c∈sKc,k,(15)\widehat{\Delta\Sigma}_{s,k} = B_{s,k}\frac{\sum_{c\in s}T_{c,k}}{\sum_{c\in s}K_{c,k}}, \tag*{(15)}

where the response RjR_j removes the multiplicative shear bias, and the boost factor BB corrects the dilution of the signal by cluster members and foreground galaxies that pass the background selection. For a stack, the boost factor is measured directly from the excess of source counts,

Bs,k=∑c∈snc,knˉsAk,(16)B_{s,k} = \frac{\sum_{c\in s}n_{c,k}}{\bar n_s A_k}, \tag*{(16)}

which compares the galaxy count in bin kk with that expected at the stack’s mean source density, nˉs=∑c,knc,k/Atot\bar n_s = \sum_{c,k}n_{c,k}/A_{\rm tot}, over the bin’s area AkA_k (in practice evaluated with a random catalogue at that density). A single cluster has too few sources for this measurement, so Bc,kB_{c,k} is a smooth fit to the boost factors of the stack the cluster belongs to (§ 5.4).

Covariances

The stacked and joint fit data vectors differ in their covariance estimation. For a single cluster, part of the covariance comes from the shape noise of its own background galaxies, and we test two ways of estimating it. The first is an analytic shape-noise covariance of the estimator,

Var⁡(ΔΣ^c,k)=Bc,k2σe2∑j∈c,k(wj/Σcrit,j)2Kc,k2,(17)\operatorname{Var}(\widehat{\Delta\Sigma}_{c,k}) = B_{c,k}^{2}\frac{\sigma_e^{2}\sum_{j\in c,k}(w_j/\Sigma_{{\rm crit},j})^{2}}{K_{c,k}^{2}}, \tag*{(17)}

where the per-component shape dispersion σe\sigma_e is the weighted root-mean-square of the source ellipticities over the whole selected source sample, in the same (response-uncorrected) units as Tc,kT_{c,k}. It is diagonal, since every galaxy contributes to a single radial bin and the shape noise of different galaxies is independent, and it uses no individual galaxy shape.

The second is a bootstrap over the cluster’s own background galaxies: the sources are resampled with replacement, ΔΣ^c,k\widehat{\Delta\Sigma}_{c,k} is recomputed for each resample, and the data vector and its covariance are the mean and covariance over the resamples. The boost factor, fixed in advance, scales the covariance by Bc,kBc,k′B_{c,k}B_{c,k'}. Within a radius rfloorr_{\rm floor}, where bins hold few sources and the bootstrap variance can be spuriously small, the variance is floored at the value of Eq. (17).

In these single-cluster covariances, bins with too few sources are masked. For the analytic covariance, bins with fewer than three sources are excluded from that cluster’s likelihood (Appendix § 9); for the bootstrap covariance, a bin is used when its estimate is finite in at least 90% of the resamples and its variance is positive, which also keeps some bins with two sources.

For a stack, we bootstrap-resample its member clusters Nboot=500N_{\rm boot}=500 times: each resample recomputes ΔΣ^s,k\widehat{\Delta\Sigma}_{s,k} — numerator, denominator, and boost factor together — from the resampled clusters’ sums, so the covariance CsC_s includes the uncertainty in the boost factor and its correlation with the signal, as well as the cluster population variance within the stack. The data vector is the mean over resamples. Unlike the per-cluster bootstrap, this covariance is estimated from the cluster population and thousands of galaxies per bin, so it barely responds to the fluctuation of the stacked profile itself.

Likelihoods

The joint model assigns masses and concentrations to each cluster through the overall mass-richness and mass-concentration relations, given a choice of their parameters and a richness and observable value. For each cluster ii the residual is ri(θ)=di−mi(θ)\mathbf{r}_i(\theta)=\mathbf{d}_i-\mathbf{m}_i(\theta), where di\mathbf{d}_i is the ΔΣ\Delta\Sigma data vector and mi(θ)\mathbf{m}_i(\theta) is the corresponding model prediction at parameter vector θ=(log⁡10M0,αMλ,βMλ,c0,αcm,βcm,γcm,fmis,σoff)\theta=(\log_{10}M_0,\alpha_{M\lambda},\beta_{M\lambda},c_0,\alpha_{c m},\beta_{c m},\gamma_{c m},f_{\mathrm{mis}},\sigma_{\mathrm{off}}) — the three mass-richness parameters of Eq. (10), the four mass-concentration parameters of Eq. (12), and the two ensemble miscentering nuisance parameters, nine in total. The concentration normalisation c0c_0 is sampled linearly, not in log⁡10c0\log_{10}c_0. For a cluster with the analytic covariance Ci\mathbf{C}_i, the log-likelihood is the Gaussian

ℓi(θ)=−12[kln⁡(2π)+ln⁡∣Ci∣+riTCi−1ri],(18)\ell_i(\theta)=-\frac{1}{2}\left[k\ln(2\pi)+\ln\lvert\mathbf{C}_i\rvert+\mathbf{r}_i^{\mathsf{T}}\mathbf{C}_i^{-1}\mathbf{r}_i\right], \tag*{(18)}

with kk radial bins per cluster.

When the covariance is estimated by the galaxy bootstrap, the Gaussian is no longer the appropriate likelihood. The bootstrap variance si,k2s_{i,k}^2 of a bin is itself estimated from the ni,kn_{i,k} sources in it, which can be as few as two, so we replace the Gaussian of each bin by the likelihood of Sellentin and Heavens [72], which marginalises over the true variance given the estimated one. Since every galaxy contributes to a single radial bin, the bootstrap covariance is also diagonal up to sampling noise (§ 2.9), and this is applied bin by bin,

ℓi(θ)=−∑kni,k2ln⁡[1+ri,k2(ni,k−1)si,k2],(19)\ell_i(\theta)=-\sum_k\frac{n_{i,k}}{2}\ln\left[1+\frac{r_{i,k}^2}{(n_{i,k}-1)s_{i,k}^2}\right], \tag*{(19)}

a Student-tt that tends to the Gaussian for many sources and down-weights large residuals in sparse bins; bins whose variance was floored at the analytic value are not estimates and keep the Gaussian form. The joint log-likelihood is the sum over the NN clusters of the sample,

ℓ(θ)=∑i=1Nℓi(θ),(20)\ell(\theta)=\sum_{i=1}^{N}\ell_i(\theta), \tag*{(20)}

with ℓi\ell_i given by Eq. (18) or Eq. (19) according to the covariance.

Likelihood Bootstrapping

The covariance matrix for single clusters as described above does not take into account all the covariance, because it is only calculated from the shape noise of the background for each cluster separately. Neither the analytic nor the bootstrap in a single cluster includes the shear of uncorrelated large-scale structure (Hoekstra [28]) or the intrinsic variation of profiles at fixed mass (Gruen et al. [73]), which a bootstrap over the member clusters of a stack does include.

To understand this better, we can write the total variance for γ^cm\hat{\gamma}_{\mathrm{cm}} as

Var⁡[γ^cm]≈σshape2⏟shape noise+σsample2⏟cluster sample variance.(21)\operatorname{Var}[\hat{\gamma}_{\mathrm{cm}}]\approx\underbrace{\sigma_{\mathrm{shape}}^2}_{\text{shape noise}}+\underbrace{\sigma_{\mathrm{sample}}^2}_{\text{cluster sample variance}}. \tag*{(21)}

To estimate this total variance, we have adopted a simple strategy: to run the inference multiple times, on different random draws from the cluster sample. Given the dataset D={(di,Ci,zi,λi,Δmi)}i=1N\mathcal{D}=\{(\mathbf{d}_i,\mathbf{C}_i,z_i,\lambda_i,\Delta m_i)\}_{i=1}^{N}, we draw NN indices with replacement:

I(b)=(I1(b),…,IN(b)),Ij(b)∼iidUniform⁡{1,…,N}.(22)\mathbf{I}^{(b)}=\left(I_1^{(b)},\ldots,I_N^{(b)}\right),\qquad I_j^{(b)}\overset{\mathrm{iid}}{\sim}\operatorname{Uniform}\{1,\ldots,N\}. \tag*{(22)}

Each bootstrap log-likelihood for draw bb is

ℓ(b)(θ)=∑j=1NℓIj(b)(θ)=∑i=1Nmi(b)ℓi(θ),(23)\ell^{(b)}(\theta)=\sum_{j=1}^{N}\ell_{I_j^{(b)}}(\theta)=\sum_{i=1}^{N}m_i^{(b)}\ell_i(\theta), \tag*{(23)}

where mi(b)=#{j:Ij(b)=i}m_i^{(b)}=\#\{j:I_j^{(b)}=i\} is the bootstrap multiplicity of cluster ii in draw bb. The vector (m1(b),…,mN(b))(m_1^{(b)},\ldots,m_N^{(b)}) is drawn from a Multinomial (N;1/N,…,1/N)(N;1/N,\ldots,1/N) distribution. The expected value is E[mi(b)]=1\mathbb{E}[m_i^{(b)}]=1 and the variance is Var⁡[mi(b)]=1−1/N≈1\operatorname{Var}[m_i^{(b)}]=1-1/N\approx1, so on average each cluster enters once, with Poisson-like fluctuations.

We fit each of the Nb=50N_b=50 resamples and summarise the joint fit by the median and the 16th and 84th percentiles of the NbN_b per-bootstrap posterior medians. Because resampling the clusters also resamples their background galaxies, the scatter of these medians measures both terms of Eq. (21) together. Pooling the per-bootstrap posteriors instead, as a mixture, would add the shape noise a second time, since each posterior is itself as wide as the shape-noise term; such a bagged posterior is wider than the sampling distribution when the model is correct (Huggins and Miller [74]).

Forward-Modelled Stacking

Most stacked WL calibrations of cluster scaling relations follow a two-step procedure: a mean profile is fit to each stack, and the scaling relation is then fit to the per-stack parameter posteriors, with the expected mean mass of a stack modelled as a weighted average over its members (e.g. Johnston et al. [32]; Melchior et al. [75]; McClintock et al. [36]; Bellagamba et al. [76]; Lesci et al. [77]), possibly including intrinsic scatter (Sereno et al. [78]). McClintock et al. [36], in particular, calibrate the difference between the mean mass and the mass inferred from a stacked profile with simulated stacks built cluster by cluster.

An alternative to this is fitting the scaling relations directly to the stacked profiles, by either taking into account the population distribution or a member-by-member model. In the population approach, the model profile of a stack is an integral of the halo profile over the mass function and the distribution of richness at fixed mass, usually together with the cluster abundance (Murata et al. [35, 79]). Payerne et al. [80] compare this one-step approach with the two-step one on simulations.

In the member-by-member approach of Simet et al. [34], closest to ours, the model of each stack is a weighted sum of the model profiles of its members, each with a mass drawn from the mass-richness relation at its own richness and a concentration from the mass-concentration relation. Our model here has two differences: each member’s model is weighted, in every radial bin, exactly as its galaxies are in the stacked estimator, rather than with one weight per cluster; and every member’s secondary observable, here the magnitude gap, enters its own model, so that the stacked fit constrains the same parameters as the joint fit. Appendix § 13 compares our forward-modelled fit and the joint fit with the two-step analysis of the same real and simulated stacks. The sample is binned into stacks by redshift, richness, and magnitude gap, and each stack’s profile and covariance are measured as in § 2.8. Individual cluster profiles ΔΣc(Rk∣θ)\Delta\Sigma_c(R_k \mid\theta) are the same as in the joint fit: each mass from its own richness and redshift (Eq. (10)), its concentration from that mass, its redshift, and its magnitude gap (Eq. (12)), the NFW profile with the miscentering mixture of Eq. (13) (the same fmisf_{\rm mis} and σoff\sigma_{\rm off} for all clusters). The stacked model is the average of its members’ profiles, weighted as the estimator weights their galaxies in each bin:

ΔΣs,kmodel(θ)=∑c∈sKc,k ΔΣc(Rk∣θ)∑c∈sKc,k.(24)\Delta\Sigma^{\rm model}_{s,k}(\theta) = \frac{\sum_{c\in s} K_{c,k}\,\Delta\Sigma_c(R_k \mid\theta)}{\sum_{c\in s} K_{c,k}} . \tag*{(24)}

This is the expectation of Eq. (15) when each galaxy’s tangential ellipticity estimates RjΔΣc/Σcrit,jR_j \Delta\Sigma_c/\Sigma_{{\rm crit},j} and the boost factor removes the dilution exactly. The weights Kc,kK_{c,k} include every galaxy that passes the background selection, contaminants included, which is exact when the contamination fraction is the same for all members of a stack. Every member’s richness, redshift, and magnitude gap therefore enters the model, not only the stack’s mean.

Likelihood. — With ΔΣ^s\widehat{\Delta\Sigma}_s the residual between ΔΣds\Delta\Sigma_{ds} and Eq. (24) over the stack’s valid bins, the log-likelihood is

ℓ(θ)=−12∑srsTC^s−1rs,(25)\ell(\theta) = -\frac{1}{2}\sum_s \mathbf{r}_s^{\mathsf{T}} \widehat{\mathbf{C}}_s^{-1}\mathbf{r}_s , \tag*{(25)}
C^s−1=Ns−ps−2Ns−1(Cs+ϵI)−1,\widehat{\mathbf{C}}_s^{-1} = \frac{N_s-p_s-2}{N_s-1}\left(\mathbf{C}_s+\epsilon\mathbf{I}\right)^{-1},

where psp_s is the number of valid bins and the Hartlap et al. [81] factor debiases the inverse of the estimated covariance, with NsN_s the number of member clusters of the stack, the number of independent realisations behind the cluster bootstrap; ϵ=10−6\epsilon=10^{-6} times the mean diagonal of Cs\mathbf{C}_s is a numerical regulariser. The likelihood of Sellentin and Heavens [72], which marginalises over the estimated covariance, is an alternative with the same NsN_s; § 6.8 tests it. The covariances do not depend on θ\theta, so the normalisation is constant and omitted. The parameters θ\theta are exactly those of the joint fit, so that, under the same priors and sampler, the two methods differ only in whether the data are stacked before the likelihood is evaluated.

A bootstrap over NN member clusters gives a covariance of rank at most N−1N-1, so a stack with fewer members than radial bins has a singular covariance, and a stack only somewhat larger has a poorly determined one whose inverse can dominate Eq. (25). We therefore use only stacks with at least 50 members, and recommend a threshold of at least a few times the number of radial bins in general.

Simulations

We test the methods on simulated data: we generate plausible populations of galaxy clusters and background source catalogues, and apply the cluster shear to the sources. Our goal with the simulated test was not absolute realism and, as such, we do not run full physics simulations. What we test is if we can recover the parameters from the scaling relations, especially γcm\gamma_{\rm cm}, given plausible data.

The pool of NpoolN_{\rm pool} candidate clusters is generated as follows:

  1. Redshift. Draw z∼Uniform⁡[0.1,0.6]z\sim\operatorname{Uniform}[0.1,0.6]. Combined with the mass draw below, which follows the shape of the mass function at each redshift but not its normalisation, this ignores both the comoving volume and the redshift evolution of the halo abundance. We do not include them because, in the absence of a selection function, which we leave for later work, they would lead to an excess of clusters at high redshift.

  1. Halo mass. Draw log⁡10(M200/M⊙)\log_{10}(M_{200}/M_\odot) from the Tinker et al. [15] halo mass function at the cluster’s redshift, normalised within the range log⁡10(M200/M⊙)∈[14.0,15.0]\log_{10}(M_{200}/M_\odot)\in[14.0,15.0].

  1. Central galaxy. The luminosity of the central galaxy follows the central luminosity–halo mass relation of Zheng et al. [82], with a lognormal scatter of 0.12 dex.

  1. Satellite galaxies. The satellites form a Poisson process in absolute magnitude, whose mean cumulative number brighter than MrM_r interpolates, linearly in ln⁡N\ln N, the Zheng et al. [82] halo occupation distribution (HOD) satellite numbers of the SDSS Mr−5log⁡10h<−18M_r-5\log_{10}h<-18, −21-21 and −22-22 samples at the cluster’s halo mass, extrapolated brightward with the slope between the last two. The brightest and second-brightest satellites are placed at cumulative numbers E1E_1 and E1+E2E_1+E_2, with E1E_1 and E2E_2 independent unit exponentials, as for the first two events of a Poisson process. Clusters without a satellite brighter than Mr−5log⁡10h=−18M_r-5\log_{10}h=-18 are rejected.

  1. Magnitude gap. As an observer would define it, the brightest galaxy of the cluster is taken as the BCG, whether it is the central or a satellite, and

Δm=m2−m1[mag],(26)\Delta m = m_2-m_1 \quad[\mathrm{mag}], \tag*{(26)}

where m1m_1 and m2m_2 are the magnitudes of the brightest and second-brightest galaxies, so that Δm≥0\Delta m\geq0. The resulting gaps have a median of 0.89 mag and a 16–84% range of 0.41–1.40 mag, as wide as the real WaZP gaps (0.21–1.21 mag, § 5.1) but about 0.25 mag larger (Figure 1a). We do not tune the model to remove this offset, which plausibly arises from what the simulation leaves out: projected interlopers, which can supply a spurious bright satellite, the difference between the rr band of the HOD and the ii band of the WaZP gaps, and the identification of the central galaxy by the cluster finder.

Figure 1. Example simulated DES-like population. (a) Magnitude-gap distribution of the simulated clusters (blue) against that of the real WaZP+DES-Y3 clusters with Δm>0\Delta m > 0 (black); dotted lines mark the medians. (b) c200c_{200} against halo mass, coloured by magnitude gap (blue: small gaps, red: large gaps). (c) c200c_{200} against Δm\Delta m, coloured by halo mass. The injected truth is c0=3.23c_0 = 3.23, αcm=−0.092\alpha_{\rm cm} = -0.092, βcm=−0.400\beta_{\rm cm} = -0.400, γcm=0.167 mag−1\gamma_{\rm cm} = 0.167\ {\rm mag}^{-1}. The dashed line in panel (b) is the Dutton and Macciò [83] baseline evaluated at z=0.4z = 0.4; the dashed line in panel (c) is the injected c200c_{200}–Δm\Delta m relation (Eq. (12)) evaluated at the median simulated halo mass, illustrating the coupling the joint fit is designed to recover.

  1. NFW concentration. The concentration is modelled as

log⁡10c=log⁡10cDM14(z,M)+γcmtrue(Δm−0.9 mag),(27)\log_{10} c = \log_{10} c_{\rm DM14}(z,M) + \gamma_{\rm cm}^{\rm true}(\Delta m-0.9\,\mathrm{mag}), \tag*{(27)}

centred near the median simulated gap, so that the mean concentration changes little with γcmtrue\gamma_{\rm cm}^{\rm true}; the fit model has no such pivot, and its c0c_0 absorbs the centring. The Dutton and Macciò [83] baseline concentration is

log⁡10cDM14=a(z)+b(z)log⁡10(M200h1012M⊙),(28)\log_{10} c_{\mathrm{DM14}} = a(z) + b(z) \log_{10}\left(\frac{M_{200} h}{10^{12} M_{\odot}}\right), \tag*{(28)}

with a(z)=0.520+0.385exp⁡(−0.617z1.21)a(z) = 0.520 + 0.385 \exp(-0.617 z^{1.21}) and b(z)=−0.101+0.026zb(z) = -0.101 + 0.026 z. This form is calibrated for a critical overdensity. We evaluate it at M200M_{200} only as a baseline for the injected truth, which does not affect the recovery test, since the injected c0c_0, αcm\alpha_{\mathrm{cm}} and βcm\beta_{\mathrm{cm}} the fit is compared against are measured from the simulated population itself.

7. Richness. Each cluster’s richness is assigned by inverting the mass-richness relation of Eq. (10) at its true mass and redshift, with the McClintock et al. [36] values log⁡10(M0/M⊙)=14.489\log_{10}(M_0/M_{\odot}) = 14.489, αMλ=1.356\alpha_{M\lambda} = 1.356 and βMλ=−0.30\beta_{M\lambda} = -0.30. The injected relation therefore has no scatter and no magnitude-gap dependence. It is a relation for the mean of log⁡10M\log_{10} M, whereas McClintock et al. [36] calibrate the mean mass. The distinction is irrelevant for this closure test.

8. Selection. The pool is drawn in batches and filtered to the clusters that would enter the real analysis: richness λ>25\lambda> 25 (matching the WaZP cosmology-sample cut of § 5) and Δm>0\Delta m > 0. Batches are generated until NN clusters pass, and the catalogue is truncated to exactly NN: 15,967 for the DES-like configuration, the size of the real sample before its Δm>0\Delta m > 0 cut (§ 5), and 80,000 for the LSST-like one (§ 4). The selection is therefore matched to the real sample’s cuts rather than to an assumed parametric n(z)n(z).

One important caveat of this work is that we do not simulate here the spatial distribution of clusters in the plane of the sky. The investigation of effects arising from clustering of clusters, alignments, and substructures will be relegated to future work.

The background galaxies have intrinsic ellipticities drawn per component from a Gaussian of dispersion 0.27, redrawn until ∣e∣<1|e| < 1, and each receives a metacalibration-like response R=1−(s/1.5)2R = 1 - (s/1.5)^2 (clipped to [0.05,0.99][0.05, 0.99]) from a lognormal size proxy ss. The shear is applied with the exact composition eobs=(e+Rg)/(1+Rg∗e)e_{\mathrm{obs}} = (e + Rg)/(1 + Rg^{*}e), for which the mean over an isotropic distribution is exactly RgRg (Seitz and Schneider [84]). Sources are measured within a projected radius of 5.3 Mpc of the (possibly miscentered) cluster centre, matching the outermost radial bin of either grid. The source counts are Poisson-distributed around a mean density of 6.7 galaxies per square arcmin for DES-like and 30 for LSST-like simulations. The DES-like galaxy density is measured directly from the DES Y3 source catalogue used in § 5, over its occupied-footprint area. Source redshifts are drawn from a Smail-Schechter distribution, P(z)∝(z/z0)αexp⁡[−(z/z0)β]P(z) \propto(z/z_0)^\alpha\exp[-(z/z_0)^\beta] truncated at z=2.5z = 2.5, with (α,β,z0)=(2.0,1.5,0.40)(\alpha,\beta,z_0) = (2.0, 1.5, 0.40) for the DES-like configuration, chosen to approximate the real DES Y3 source distribution, and (2.0,0.68,0.11)(2.0, 0.68, 0.11) for the deeper LSST-like one. The resulting distributions, and a comparison with real data for the DES case is shown in Figure 2.

Figure 2. Redshift distributions of the simulated campaigns against the real data: clusters (left, pooling the 84 DES-like and 48 LSST-like realisations, against the 15,825 real WaZP+DES-Y3 clusters with Δm>0\Delta m > 0; the simulated distributions are uniform in 0.1<z<0.60.1 < z < 0.6 by construction and identical for the two configurations) and background sources (right, against the full DES Y3 metacalibration catalogue).

The simulated profiles contain no two-halo term and the source catalogues no contaminating cluster members or foreground galaxies, so the fits to the simulations omit the two-halo term and use Bc,k=1B_{\mathrm{c},k} = 1.

Simulated Triaxiality

Galaxy clusters are expected to be triaxial due to the collisionless nature of Dark Matter (Jing and Suto [31]). This is a particular problem for our modelling, as we do not include information to recover the particular orientation of each cluster. Because of this, we need to test if fitting a spherical NFW profile on the sample carries any biases. In the future this can be expanded into using the BCG as a cluster shape prior, as studied in Herbonnet et al. [85]; Zhang et al. [86].

Each simulated cluster is a triaxial NFW halo, and each background galaxy receives the lensing signal of its projection: the projected surface density is elliptical, with an amplitude that depends on the orientation (larger when the halo is elongated along the line of sight), and the shear is that of this elliptical mass distribution, computed exactly ([87, 88]). The halo mass and concentration keep their spherical meaning, and its total projected mass is the same for every orientation. The full method for projection, and its effect on the measured ΔΣ\Delta\Sigma, are given in Appendix § 8. Each cluster is assigned random triaxial axis ratios and a random line-of-sight (LOS) orientation, drawn independently (Figure 3):

Figure 3. Distribution of the injected triaxial axis ratios b/ab/a, c/ac/a, and the resulting projected axis ratio q_{\min}/q_{\maj} on the sky.

  • Intermediate-to-major axis ratio: b/a∼Uniform⁡[0.5,1.0]b/a \sim\operatorname{Uniform}[0.5, 1.0].

  • Minor-to-major axis ratio: c/a∼Uniform⁡[0.3,b/a]c/a \sim\operatorname{Uniform}[0.3, b/a] (ensures c/a≤b/ac/a \le b/a).

  • LOS polar angle: θlos=arccos⁡(U)\theta_{\mathrm{los}} = \arccos(U) with U∼Uniform⁡[0,1]U \sim\operatorname{Uniform}[0, 1] (isotropic).

  • LOS azimuthal angle: ϕlos∼Uniform⁡[0,2π]\phi_{\mathrm{los}} \sim\operatorname{Uniform}[0, 2\pi].

Miscentering

We simulate miscentered clusters simply by shifting the centre by choosing a random offset (Figure 4) with properties

Simulated offset magnitude distribution and offset positions on the sky

Figure 4. Simulated offset magnitude distribution (left, with the injected Rayleigh model overlaid) and offset positions on the sky (right) for the miscentered fraction of the sample.

  • Centred fraction: Fcen=0.64F_{\mathrm{cen}} = 0.64; miscentered fraction: Fmis=1−Fcen=0.36F_{\mathrm{mis}} = 1 - F_{\mathrm{cen}} = 0.36.

  • Offset magnitude for miscentered clusters: roff∼Rayleigh⁡(σoff)r_{\mathrm{off}} \sim\operatorname{Rayleigh}(\sigma_{\mathrm{off}}) with σoff=0.32 h−1 Mpc\sigma_{\mathrm{off}} = 0.32\,h^{-1}\,\mathrm{Mpc}. Using h=0.6766h = 0.6766 gives σoff≈0.473\sigma_{\mathrm{off}} \approx0.473 Mpc.

  • Offset direction: ϕmis∼Uniform⁡[0,2π]\phi_{\mathrm{mis}} \sim\operatorname{Uniform}[0, 2\pi].

  • Centred clusters: roff=0r_{\mathrm{off}} = 0.

These miscentering values and distributions need not correspond to those of the real data.

Simulation Results

We test both methods on independent realisations of each configuration, with new cluster populations, source catalogues, shapes, orientations and centring offsets in every realisation. We use seven injected values γcmtrue=\gamma_{\mathrm{cm}}^{\mathrm{true}} = n/36 mag−1n/36\ {\rm mag}^{-1}, n=0,1,…,6n = 0, 1, \ldots, 6, spanning a range that keeps the concentrations physically plausible: at γcmtrue=6/36 mag−1\gamma_{\rm cm}^{\rm true} = 6/36\ {\rm mag}^{-1} a 1014 M⊙10^{14}\ M_\odot halo at z=0.3z = 0.3 with the 99th-percentile gap (2.4 mag) has c200≈8.6c_{200} \approx8.6, against 4.8 at the median gap. Only γcm\gamma_{\rm cm} varies between the simulated populations; the other injected scaling-relation parameters are the same in all realisations. For each value of γcmtrue\gamma_{\rm cm}^{\rm true} we create 6 independent realisations for the LSST-like configuration (twelve at γcmtrue=1/36 mag−1\gamma_{\rm cm}^{\rm true} = 1/36\ {\rm mag}^{-1}) and twelve for the DES-like one, 48 and 84 in total. Each realisation is fit once by the joint fit and once by the forward-modelled stacked fit (§ 2.12), with the same priors and sam-

pler, so the two methods see exactly the same data. We sample each posterior with NAUTILUS Lange [89] to an effective sample size of 3000, for which the Monte Carlo error of the posterior median and 68% bounds is expected to be below 0.03σ0.03\sigma. The scatter between independent realisations measures the full uncertainty of each method and tests its reported posterior width.

All nine parameters are free, under weakly informative, physically bounded priors (Table 1) that place every physically plausible value within about 2σ2\sigma of their centre, with a width at least several times that of the corresponding posterior.

ParameterPrior
c0c_0U(1,15)U(1,15)
αcm\alpha_{\mathrm{cm}}N(−0.1,0.5)N(-0.1,0.5)
βcm\beta_{\mathrm{cm}}N(−0.4,2)N(-0.4,2)
γcm\gamma_{\mathrm{cm}}N(0,1)N(0,1)
log⁡10(M0/M⊙)\log_{10}(M_0/M_\odot)N(14.489,0.5)N(14.489,0.5)
αMλ\alpha_{M\lambda}N(1.356,0.5)N(1.356,0.5)
βMλ\beta_{M\lambda}N(−0.30,2)N(-0.30,2)
fmisf_{\mathrm{mis}}U(0,1)U(0,1)
σoff\sigma_{\mathrm{off}} [Mpc]U(0,1)U(0,1)

Table 1. Priors of every simulated fit and of the stacked fits (the real-data joint fit changes only the c0c_0 prior, § 5.6). N(μ,σ)N(\mu,\sigma) is a Gaussian, truncated at the bounds given; U(a,b)U(a,b) is uniform.

The two configurations use different radial grids, each matched to what its source density can support. The LSST-like configuration measures ΔΣ\Delta\Sigma in 8 logarithmically spaced bins spanning 0.16–3.98 Mpc. At DES-like density that grid is not usable: its innermost bins frequently hold too few background sources for a usable measurement (Appendix § 9), and which bins fail varies from cluster to cluster. In testing, this heterogeneous masking pattern destabilised the bound construction of the nested sampler. The DES-like configuration therefore matches the real-data measurement used later in § 5: 6 wider bins spanning 0.25–3.98 Mpc. Both configurations apply the analytic shape-noise covariance of Eq. (17) (§ 2.9), with σe=0.269\sigma_e = 0.269 measured from the simulated sources.

The stacked fits use the same stack binning in the simulations and in the real data (§ 5.5). The stacks split the sample into 3 redshift bins (0.1–0.3–0.5–0.7), 4 richness bins (25–35–55–85–∞\infty), and, within each redshift-richness cell, 3 magnitude-gap terciles, so that each cell contributes three points to the magnitude-gap dependence. Each stack’s profile is measured in 16 logarithmic radial bins spanning 0.16–3.98 Mpc. Stacks with at least 50 members are used.

Both methods recover the injected coupling at both densities (Figure 5 and Table 2). The table gives the slope and offset of a straight-line fit of recovered against injected values over all realisations, the injected value of each realisation being the slope measured from its own population (§ 3). Every offset is consistent with zero, and every slope but one with unity.

ConfigurationFitSlopeOffset [mag−1^{-1}]Scatter [mag−1^{-1}]Scatter/widthσ(γcm)\sigma(\gamma_{\rm cm}) [mag−1^{-1}]
LSST-like (48)joint0.947±0.0200.947 \pm0.020+0.002±0.002+0.002 \pm0.0020.00820.00821.111.110.00740.0074
stacked0.984±0.0280.984 \pm0.028+0.000±0.003+0.000 \pm0.0030.01050.01050.980.980.01070.0107
DES-like (84)joint0.983±0.0930.983 \pm0.093−0.009±0.009-0.009 \pm0.0090.04680.04680.940.940.04980.0498
stacked1.011±0.1141.011 \pm0.114−0.013±0.011-0.013 \pm0.0110.05780.05780.980.980.05920.0592

Table 2. Recovery of γcm\gamma_{\rm cm} in the simulations: slope and offset of the straight-line fit of recovered against injected values over all realisations, standard deviation of γcm\gamma_{\rm cm} between realisations (the measured precision), its ratio to the mean posterior width, and the mean posterior 68% half-width σ(γcm)\sigma(\gamma_{\rm cm}) (the reported uncertainty).

Figure 5. Recovered minus injected γcm\gamma_{\rm cm} for independent realisations of the LSST-like (left) and DES-like (right) simulations, for the joint fit (circles) and the forward-modelled stacked fit (squares). Small points are individual realisations; large markers are the mean and its standard error at each injected value (offset horizontally for visibility). The legends give the number of fits and the mean posterior width of each method.

The exception is the LSST-like joint fit, whose slope is 2.6σ2.6\sigma below unity. Further investigation revealed that miscentering causes most of this deficit. Realisations at γcmtrue∈{2/36,3/36,5/36,6/36} mag−1\gamma_{\mathrm{cm}}^{\mathrm{true}} \in\{2/36, 3/36, 5/36, 6/36\}\ \mathrm{mag}^{-1} with the same random seeds but without miscentering show no deficit: the mean offsets are then between −0.004-0.004 and +0.001+0.001 at every injected value. Switching the miscentering back on lowers the recovered γcm\gamma_{\mathrm{cm}} by (3.0±0.7)%(3.0 \pm0.7)\% of the true value on average, with a spread between injected values somewhat larger than the errors (χ2=8.3\chi^2 = 8.3 for 3 degrees of freedom). We have also tested if triaxiality had an impact, but repeating this test with triaxiality off changes the recovered γcm\gamma_{\mathrm{cm}} by only −0.0004±0.0003-0.0004 \pm0.0003.

At DES-like density the recovery is unbiased within its larger uncertainties. The mean offset is within two standard errors of zero at every injected value except for one value, where both methods are low. That point lies 3.2 (joint) and 2.8 (stacked) standard errors below zero. Since both methods fit the same twelve realisations there, it is a fluctuation of those data sets rather than of either method.

Both methods report uncertainties that match their scatter between realisations, in both the DES and LSST scenarios: the ratio of the scatter of γcm\gamma_{\mathrm{cm}} between realisations to the mean posterior width lies between 0.94 and 1.11 as can be seen in Table 2.

For γcm\gamma_{\mathrm{cm}}, the joint fit is the most precise method: its scatter between realisations is 1.28 (LSST-like) and 1.23 (DES-like) times smaller than that of the forward-modelled stacked fit, and 6.5 and 2.0 times smaller than that of the two-step analysis (Table 2 and Table 5; Figure 6 shows the corresponding posterior widths).

Posterior 68% half-width of $\gamma_{\rm cm}$ for every simulated fit

Figure 6. Posterior 68% half-width of γcm\gamma_{\rm cm} of every simulated fit, the uncertainty each method reports (Table 2 gives the measured scatter between realisations), for the joint fit (blue) and forward-modelled stacked (orange) fits at LSST-like and DES-like density; vertical bars mark the medians. The median widths are 6.7 (joint) and 5.5 (stacked) times smaller at LSST-like density.

ParameterLSST-like FLSST-like 2SDES-like FDES-like 2SReal data FReal data 2S
γcm\gamma_{\rm cm}1.286.501.232.031.293.26
αcm\alpha_{\rm cm}1.375.141.271.621.252.63
βcm\beta_{\rm cm}1.295.271.081.491.142.56
αMλ\alpha_{M\lambda}1.351.761.531.801.281.46
βMλ\beta_{M\lambda}1.271.711.271.591.471.88

Table 5. Ratio of the uncertainty of the forward-modelled stacked fit (F) and of the two-step stacked analysis (2S, Appendix F) to that of the joint fit, per parameter. Simulations: ratio of the standard deviations of the estimates between independent realisations, the measured precision. Real data, where no truth is known: ratio of the reported uncertainties (68% half-widths of the stacked posterior and of the distribution of the joint fit’s per-bootstrap medians; weighted-least-squares errors of the two-step analysis). Values below 1 mean the stacked analysis is the more precise.

A few additional caveats are: i) the richness seen by the fits is the noiseless inverse of the mass-richness relation, so the model’s assumption of no scatter at fixed richness holds exactly (the selection at λ>25\lambda> 25 uses a Poisson-scattered richness, but the fits receive the noiseless value); ii) the magnitude gap is known exactly, whereas real gaps carry measurement uncertainties (§ 5), which attenuate a fitted slope Kelly [90]; and iii) halo orientations are isotropic, without the orientation selection a cluster finder may introduce Dietrich et al. [91]. Each of these will be addressed in forthcoming work (§ 7).

Joint vs. Stacked Constraining Power

We now compare the two methods on all nine parameters, in both configurations. Table 3 and Figure 7 give the mean bias of every parameter over all realisations and injected values.

ParameterLSST-like JointLSST-like StackedDES-like JointDES-like Stacked
γcm\gamma_{\rm cm} [mag−1^{-1}]−0.002±0.001-0.002 \pm0.001 (1.11)−0.001±0.002-0.001 \pm0.002 (0.98)−0.011±0.005-0.011 \pm0.005 (0.94)−0.012±0.006-0.012 \pm0.006 (0.98)
c0c_0−0.29±0.03-0.29 \pm0.03 (1.11)−0.16±0.04-0.16 \pm0.04 (1.04)−0.02±0.17-0.02 \pm0.17 (1.18)+0.08±0.19+0.08 \pm0.19 (1.10)
αcm\alpha_{\rm cm}+0.006±0.003+0.006 \pm0.003 (0.93)−0.003±0.004-0.003 \pm0.004 (0.83)−0.019±0.014-0.019 \pm0.014 (1.00)−0.043±0.017-0.043 \pm0.017 (0.96)
βcm\beta_{\rm cm}+0.026±0.013+0.026 \pm0.013 (0.96)+0.026±0.016+0.026 \pm0.016 (0.95)−0.00±0.07-0.00 \pm0.07 (0.94)−0.15±0.07-0.15 \pm0.07 (0.90)
log⁡10M0\log_{10} M_0−0.044±0.001-0.044 \pm0.001 (0.95)−0.029±0.001-0.029 \pm0.001 (1.02)−0.053±0.003-0.053 \pm0.003 (0.99)−0.033±0.003-0.033 \pm0.003 (0.93)
αMλ\alpha_{M\lambda}−0.000±0.003-0.000 \pm0.003 (1.13)−0.013±0.004-0.013 \pm0.004 (0.98)+0.016±0.009+0.016 \pm0.009 (0.95)−0.013±0.014-0.013 \pm0.014 (0.99)
βMλ\beta_{M\lambda}−0.011±0.007-0.011 \pm0.007 (0.92)+0.007±0.008+0.007 \pm0.008 (0.87)+0.00±0.04+0.00 \pm0.04 (1.06)+0.10±0.05+0.10 \pm0.05 (1.02)
fmisf_{\rm mis}−0.027±0.004-0.027 \pm0.004 (1.09)−0.007±0.005-0.007 \pm0.005 (1.20)−0.007±0.012-0.007 \pm0.012 (0.74)+0.007±0.013+0.007 \pm0.013 (0.70)
σoff\sigma_{\rm off} [Mpc]+0.002±0.003+0.002 \pm0.003 (1.09)+0.003±0.002+0.003 \pm0.002 (1.00)−0.036±0.013-0.036 \pm0.013 (0.77)−0.029±0.014-0.029 \pm0.014 (0.79)

Table 3. Mean bias (fit minus truth) ±\pm its standard error over all realisations and injected values, and, in parentheses, the ratio of the scatter between realisations to the mean posterior width. LSST-like: 48 fits per method; DES-like: 84.

Figure 7. Mean bias of every parameter, in units of the mean posterior width (linear axis within ±0.5, logarithmic beyond), over all independent realisations and injected γcm\gamma_{\rm cm} of the LSST-like (left) and DES-like (right) simulations, for the joint fit (circles) and the forward-modelled stacked fit (squares); error bars are standard errors of the mean.

Both methods recover the mass-richness slopes and the mass-concentration slopes, and their reported uncertainties track the realisation-to-realisation scatter on every parameter, with ratios between 0.7 and 1.2. The joint fit is the most precise on every scaling-relation slope: beyond γcm\gamma_{\mathrm{cm}}, the scatter of the forward-modelled stacked estimates between realisations is 1.3–1.4 times that of the joint ones at LSST-like density and 1.1–1.5 times at DES-like density (Table 5). The standard two-step analysis of the same stacks (Appendix § 13) is far less precise, its scatter being 1.7–5.3 times that of the joint fit at LSST-like density and 1.5–1.8 times at DES-like density on these slopes, and it is biased in several of them.

The one large and consistent bias is in the mass normalisation, which both methods recover low (Table 3; § 6.2).

At LSST-like density the joint fit also places c0c_0 slightly low (1.4σ1.4\sigma per fit, Table 3), with a correlated small deficit in fmisf_{\rm mis}. The stacked fit shows the same direction at half the size. The main quantity we targeted, γcm\gamma_{\rm cm}, remains unaffected.

Data Tests

We use the DES Y3 Dark Energy Survey Collaboration (2016) METACALIBRATION shape catalogue, whose shape measurements and calibrations are detailed in Gatti et al. [92], to apply our methods to real data. In our selection, we keep sources with flags =0= 0, 10<S/N<100010 < S/N < 1000, size ratio above 0.50.5, T>0T > 0, and a positive DNF photometric redshift (De Vicente et al. [93]), which leaves 1.27×1081.27 \times10^{8} sources over an occupied footprint of ≈5200\approx5200 square degrees.

Our clusters are drawn from the DES Y6 WaZP catalogue (version 5.0.12; Aguena et al. [94]; Benoist et al. [45]). From its more than 400,000 cluster candidates we keep those with richness above 25, the threshold of the WaZP cosmology sample of Aguena et al. [94], and a central galaxy flagged by WaZP. No other catalogue flag is used. WaZP reports richness as NgalsN_{\rm gals}, the effective number of member galaxies; this is the quantity we use as λ\lambda in the mass-richness relation of Eq. (10) throughout, with λpiv=40\lambda_{\rm piv}=40. We also remove candidates at z>0.7z>0.7, where spurious detections are more likely and the lensing signal is weak, so that they would add more noise than signal. This leaves 15,967 clusters, of which 15,825 have a positive magnitude gap (Figure 9). The joint fit uses the 15,783 of these with a usable lensing measurement, and the stacked fit the 15,628 in stacks of at least 50 members. Figure 8 shows their distribution across redshift and richness, together with the galaxy count of the shape catalogue as a function of redshift.

Figure 8. The WaZP cluster sample distribution across redshifts and richnesses (NgalsN_{\rm gals}, the WaZP richness; left Y axis). The colours blue to red indicate increasing magnitude gap. The grey histogram is the galaxy count in the DES Y3 shape catalogue as a function of redshift (right Y axis). The dashed black lines indicate the split in stacks for the stacked analysis.

Figure 9. WaZP magnitude gap distribution (top left, median +0.63 mag over the Δm>0\Delta m > 0 sample used in the fit), per-cluster uncertainty (top right), and its dependence on richness and redshift (bottom row). The 142 clusters with Δm≤0\Delta m \le0 (light grey; excluded from every fit in this work) are shown for reference only: their preferential scatter toward low richness and high redshift, visible in the bottom row, is the expected signature of noisier BCG/brightest-satellite identification in exactly the regime where it should be hardest.

Magnitude Gaps

We have calculated the expected value for the magnitude gaps for each cluster following the same method in Vitorelli et al. [47]. The BCG is the member that WaZP flags as the central galaxy, and the satellites are the other members within a projected radius of 0.5 Mpc of the WaZP centre. Ordering the satellite galaxies by increasing magnitude with membership probabilities p1,p2,p3,…p_1,p_2,p_3,\ldots, the probability of the nn-th satellite being the brightest satellite galaxy is the probability that it is a member while every brighter satellite is not:

Pn=pn∏i=1n−1(1−pi).(29)P_n = p_n \prod_{i=1}^{n-1}(1-p_i). \tag*{(29)}

The expected magnitude gap and its uncertainty are then

E[Δm]=∑n=1NPn(mn−mBCG),(30)E[\Delta m] = \sum_{n=1}^{N} P_n\left(m_n-m_{\rm BCG}\right), \tag*{(30)}
σΔm2=∑n=1NPn(mn−mBCG)2−E[Δm]2,\sigma_{\Delta m}^{2} = \sum_{n=1}^{N} P_n\left(m_n-m_{\rm BCG}\right)^2-E[\Delta m]^2,

where mnm_n and mBCGm_{\rm BCG} are the magnitudes of the nn-th satellite and of the brightest cluster galaxy. The resulting distribution of magnitude gaps across the entire sample, and their per-cluster uncertainties, are shown in Figure 9.

Shear Calibration

Averaging the shapes of a galaxy sample does not directly yield the gravitational shear. Instead, for small shears, average shapes are related to the true shear linearly, i.e.:

⟨gobs⟩=(1+m)γ+c,(31)\langle g_{\rm obs}\rangle=(1+m)\gamma+c, \tag*{(31)}

where mm and cc are respectively called multiplicative and additive biases.

In METACALIBRATION, biases are determined by testing how shear acts directly on real images (Sheldon and Huff [95]). From the shear response matrix Rij=∂ei/∂γjR_{ij}=\partial e_i/\partial\gamma_j we can build an unbiased estimator for the true shear as

γ=⟨Rij⟩−1⟨eobs⟩.(32)\gamma=\langle R_{ij}\rangle^{-1}\langle e_{\rm obs}\rangle. \tag*{(32)}

To convert the observed shapes and responses into tangential ellipticities around halos, we apply rotations as

eT=−e1cos⁡(2ϕ)−e2sin⁡(2ϕ),(33)e_{\mathrm{T}}=-e_1\cos(2\phi)-e_2\sin(2\phi), \tag*{(33)}

where ϕ\phi is the azimuth1.

Correspondingly, we can transform the metacalibration response matrix to a multiplicative term (equivalent to 1+m1+m), as

RT=R11cos⁡2(2ϕ)+R22sin⁡2(2ϕ)+(R12+R21)sin⁡(2ϕ)cos⁡(2ϕ).(34)R_{\mathrm{T}}=R_{11}\cos^2(2\phi)+R_{22}\sin^2(2\phi) +(R_{12}+R_{21})\sin(2\phi)\cos(2\phi). \tag*{(34)}

The tangential ellipticity eTe_{\mathrm{T}} and response RTR_{\mathrm{T}} of each source are the et,je_{\mathrm{t},j} and RjR_j of Eq. (14).

Two calibration terms that we do not apply act on every cluster alike and approximately cancel. We do not apply a metacalibration selection response for our source cuts. A selection response requires every selection to be repeated on the artificially sheared images, but our background selection uses DNF photometric redshifts from the unsheared photometry (§ 5.3), for which no sheared counterpart exists. For the DES Y1 catalogue McClintock et al. [36] found ⟨Rsel⟩≈0.013\langle R_{\mathrm{sel}}\rangle\approx0.013–0.0150.015 against a shear response ⟨Rγ⟩≈0.55\langle R_{\gamma}\rangle\approx0.55–0.600.60, so neglecting it raises ΔΣ\Delta\Sigma by about 2.5%. The residual multiplicative bias of the Y3 catalogue, mm between −0.006-0.006 and −0.037-0.037 across its redshift bins and caused mainly by blending (MacCrann et al. [96]), lowers it by a similar amount, in the joint and the stacked fit alike. With ΔΣ∝M0.6\Delta\Sigma\propto M^{0.6} near the scale radius, each corresponds to about 0.02 dex in the mass normalisation, comparable to its statistical uncertainty, but in opposite directions; neither changes the slopes or γcm\gamma_{\mathrm{cm}}, since both are nearly independent of redshift and do not depend on the magnitude gap, so they do not affect our conclusions.

Background selection

Shear profiles are measured around the WaZP cluster centres, not BCG positions, from the sources within a projected radius that encloses the outermost radial bin (5.3 Mpc for the per-cluster profiles). Background sources are selected behind each cluster by a redshift margin, keeping sources with zs>fzl+δz_{\mathrm{s}}>f z_{\mathrm{l}}+\delta. We use δ=0.2\delta=0.2 throughout. Source redshifts are the DNF point estimates, used both for this cut and for Σcrit\Sigma_{\mathrm{crit}}. Cluster members and foreground galaxies that pass the cut dilute the signal and are corrected by the boost factor (§ 5.4). The joint fit of § 5.6, and the boost-factor fits it uses, take f=1.1f=1.1, which keeps enough sources in the bins of individual clusters. The stacked analysis of § 5.5 takes a stricter f=1.2f=1.2, which the pooled sources of a stack can afford.

Boost correction

Figure 10 shows the boost factors (Eq. (16)) measured for each stack of the stacked analysis. All approach unity beyond ∼1\sim1 Mpc, where contamination is negligible, with the largest corrections at small radius and low redshift, where member contamination is most severe.

Figure 10. Boost factors B(R)B(R) measured for each stack of the stacked analysis (f=1.2f=1.2 background selection), by redshift (columns), magnitude-gap tercile (rows), and richness (colour; NN is the number of member clusters), with bootstrap error bars. All stacks approach B(R)→1B(R)\rightarrow1 at large RR, as required. The three lowest-richness, highest-richness stacks (N=35N=35) are shown but excluded from the fit by the N≥50N\ge50 threshold.

For the joint fit, the boost factor Bc,kB_{\mathrm{c},k} of each cluster (Eq. (15)) comes from a power-law parametrisation of stacked boost factors,

B(R)=1+B0(RRs)αB,(35)B(R)=1+B_0\left(\frac{R}{R_{\mathrm{s}}}\right)^{\alpha_B}, \tag*{(35)}

fit to each of 24 stacks of a coarser binning, with the redshift and richness bins of the stacked analysis and 2 magnitude-gap bins split at the median (Figure 11). To each cluster the boost factor is assigned from that fit by its stack.

Figure 11. Boost-factor power-law fits (Eq. (35), dashed curves) against the stacked B(R)B(R) data used to fit them (points with bootstrap error bars), for all 24 stacks of the 2-way magnitude-gap binning, split by redshift, richness, and low/high magnitude gap. These are the fits that give the per-cluster boost factors Bc,kB_{c,k} of Eq. (15). Lower-richness (smaller, more numerous) stacks show a larger boost amplitude at small radius, where member contamination is most severe – the same qualitative pattern as the independent measurement of Figure 10.

The boost correction is a point estimate, and the uncertainty of the boost fit is not propagated into CiC_i. Refitting the joint model with boost factors redrawn from the bootstrap covariance of the stacked boosts changes γcm\gamma_{\mathrm{cm}} well within its uncertainty (§ 6.8). This is the one respect in which the joint fit draws on a stacked quantity. However, B(R)B(R) describes the contamination of the source sample, not the mass profile of individual clusters, so a shared boost estimate does not compromise the per-cluster nature of the fit.

Finally, we have tested the boost dependence on magnitude gaps. We found that the contamination depends at most weakly on the magnitude gap at fixed richness and redshift, as shown in Appendix § 10.

Stacked Fitting Results

We apply the forward-modelled stacked analysis of § 2.12 to the WaZP+DES-Y3 sample, with the binning of § 4 (16 radial bins, 0.16–3.98 Mpc) and the priors of Table 1. 33 of the 36 stacks have at least 50 members; the 3 excluded are the three magnitude-gap terciles of a single cell (lowest redshift, highest richness, 35 clusters each). The binning was fixed before any measurement, and we keep it rather than adjust the bins after seeing the results.

We find that a single set of scaling-relation parameters describes all 33 stacks (15,628 clusters) well, with χ2=509.9\chi^2 = 509.9 for 528 data points at the posterior median. Figure 12 shows the stacked profiles and the fitted model, and Figure 13 the posterior. Table 4 gives the fitted parameters. In this analysis, the magnitude-gap coupling is positive, in the fossil-group direction – at fixed mass and redshift, a larger magnitude gap is associated with higher concentration. The stacks also prefer the linear magnitude-gap term of Eq. (12) to the power law in Δm\Delta m of Vitorelli et al. [47], γcmlog⁡10(Δm/0.1 mag)\gamma_{\mathrm{cm}}\log_{10}(\Delta m/0.1\,\mathrm{mag}): with the same number of parameters, the Bayesian evidence is higher by Δln⁡Z=1.7\Delta\ln Z = 1.7 and χ2\chi^2 at the posterior median lower by 4.1. § 5.6 compares these numbers with the joint fit.

Figure 12. Boost-corrected stacked ΔΣ\Delta\Sigma profiles of the real WaZP+DES-Y3 sample, by redshift (columns, increasing to the right) and richness (rows, increasing upward), so that each panel sits where its stack cell sits in Figure 8, for the low, middle, and high magnitude-gap terciles of each cell (colours; points slightly offset in radius for visibility; NN is the number of member clusters). Curves and bands are the median and 68% range of the forward-modelled stacked fit’s prediction (Eq. (24)) over its posterior, fit to all 33 stacks at once with the 9 parameters of the joint model.

Figure 13. Posterior of the forward-modelled stacked fit to the real WaZP+DES-Y3 stacks, for the same 9 parameters as the joint fit; dashed orange curves are the priors.

ParameterJointKL [nats]StackedDifference
γcm\gamma_{\rm cm} [mag−1^{-1}]0.057−0.026+0.0200.057^{+0.020}_{-0.026}3.120.101−0.029+0.0300.101^{+0.030}_{-0.029}−1.2σ-1.2\sigma
αcm\alpha_{\rm cm}0.033−0.091+0.0520.033^{+0.052}_{-0.091}1.590.036−0.089+0.0900.036^{+0.090}_{-0.089}−0.0σ-0.0\sigma
βcm\beta_{\rm cm}0.90−0.30+0.420.90^{+0.42}_{-0.30}1.390.416−0.408+0.4160.416^{+0.416}_{-0.408}+0.9σ+0.9\sigma
c0c_08.35−1.42+1.398.35^{+1.39}_{-1.42}0.836.93−1.21+1.466.93^{+1.46}_{-1.21}+0.7σ+0.7\sigma
αMλ\alpha_{M\lambda}1.042−0.045+0.0291.042^{+0.029}_{-0.045}2.470.918−0.047+0.0480.918^{+0.048}_{-0.047}+2.1σ+2.1\sigma
βMλ\beta_{M\lambda}−2.05−0.15+0.18-2.05^{+0.18}_{-0.15}2.43−1.732−0.247+0.246-1.732^{+0.246}_{-0.247}−1.1σ-1.1\sigma
log⁡10(M0/M⊙)\log_{10}(M_0/M_\odot)14.289−0.011+0.00814.289^{+0.008}_{-0.011}3.4714.335−0.012+0.01214.335^{+0.012}_{-0.012}−3.0σ-3.0\sigma
fmisf_{\rm mis}0.357−0.040+0.0530.357^{+0.053}_{-0.040}1.140.302−0.096+0.0790.302^{+0.079}_{-0.096}+0.6σ+0.6\sigma
σoff\sigma_{\rm off} [Mpc]0.390−0.037+0.0290.390^{+0.029}_{-0.037}1.790.417−0.044+0.0560.417^{+0.056}_{-0.044}−0.5σ-0.5\sigma
All 9 parameters—21.36——
Residual (mutual information)—3.12——

Table 4. Real WaZP+DES-Y3 data: joint fit (median and 16th–84th percentiles of the 50 per-bootstrap posterior medians, Section 2.11; 6-bin radial grid, bootstrap covariance with shape-noise floor, likelihood of Eq. 19, two-halo term; 50/50 bootstraps converged), the Kullback-Leibler divergence of its marginal posteriors from their priors (medians over bootstraps, in nats), the forward-modelled stacked fit of Section 5.5, and the difference between the two in units of their combined uncertainty.

Figure 14 illustrates this result in the mass-richness and mass-concentration planes. Each stack is refit on its own, with its own mass, concentration and miscentering parameters, and coloured by its mean magnitude gap. These single-halo values are an illustration: the forward-modelled fit models every member cluster and never assigns a mass or concentration to a stack, so the lines are not fits to the points. With the miscentering free for each stack, the per-stack concentrations are too uncertain to show the magnitude-gap ordering by themselves (a weighted regression gives a magnitude-gap slope of 0.074 ±\pm 0.075 mag−1^{-1}, Appendix § 13), while the forward-modelled fit, which shares the miscentering between stacks, measures it as the offset between the two lines.

Figure 14. Mass against mean richness (left) and concentration against mass (right) of each of the 33 real WaZP+DES-Y3 stacks, from independent fits of each stack with free mass, concentration and miscentering parameters (two-halo term included, flat priors), with medians and 68% intervals, coloured by the stack’s mean magnitude gap. Left: the forward-modelled stacked mass-richness relation at the sample’s mean redshift (solid line, with its 68% posterior band; the model has no magnitude-gap term in this relation). The annotation in the panel gives the magnitude-gap slope of a weighted regression of the per-stack masses on richness, redshift and magnitude gap. Right: the forward-modelled stacked relation at the sample’s mean redshift for a low and a high magnitude gap (the 17th and 83rd percentiles of the stacks’ mean gaps; values in the legend), with their 68% posterior bands, and the Diemer and Joyce [1] relation at the same redshift (dashed). The annotation in the panel gives the magnitude-gap slope of the analogous regression of the per-stack concentrations.

A weighted regression of the per-stack masses on richness, redshift and magnitude gap gives a magnitude-gap slope of 1.7 times its uncertainty (Figure 14, left), a weak indication that clusters with larger gaps are more massive at fixed richness (§ 6.5). The per-stack masses are much better determined than the concentrations, and their richness dependence follows the forward-modelled relation.

Joint Fitting Results

The data vector and covariance of each cluster are measured in the 6 radial bins of the DES-like configuration (0.25–3.98 Mpc, § 4) with the galaxy bootstrap of § 2.9 (200 resamples) and corrected with the boost factors of § 5.4. The variance is floored at the shape-noise value in bins at R<0.5R < 0.5 Mpc, where bins hold few sources (Figure 21). Bootstrap correlations between radial bins are consistent with sampling noise, so the covariance are effectively diagonal. We use the bootstrap rather than the analytic covariance for the real data because the analytic shape-noise covariance does not describe the noise of the real inner bins (Appendix § 12; the paired test of Appendix § 11 gives further details).

Fraction of clusters with at least three background sources in each radial bin

Figure 21. Fraction of clusters with at least three background sources in each radial bin, for the LSST-like and DES-like simulated samples and the real WaZP+DES-Y3 sample (15,825 clusters with a positive magnitude gap). The dashed line marks 0.5 Mpc.

The real-data joint fit uses the priors of Table 1 with one change: the concentration-normalisation prior is a Gaussian centred on the Dutton and Macciò [83] value at the pivot, N(4.5,5)\mathcal{N}(4.5,5) truncated at zero, instead of the flat prior on [1,15][1,15]. The miscentering parameters keep their flat priors. With the flat c0c_0 prior, or with other changes of the priors, the posterior does not shift beyond a fraction of its width.

Figure 15 shows the 9-parameter posterior of the joint fit (bootstrap covariance with floor and the likelihood of Eq. (19)), and Table 4 gives its marginalised 68% intervals, the Kullback-Leibler divergence of each marginal posterior from its prior, a measure of how much the data inform each parameter beyond the prior, and the comparison with the forward-modelled stacked fit of § 5.5 (also Figure 16). The scatter of the 50 per-bootstrap medians is comparable to the width of a single posterior (for γcm\gamma_{\mathrm{cm}}, 0.024 against 0.027 mag−1^{-1}).

Figure 15. Joint fit, all 9 model parameters: distribution of the 50 per-bootstrap posterior medians (§ 2.11), shown as a smoothed bootstrap that preserves their mean and covariance. Dashed orange curves are the priors; dashed black lines mark the 16th, 50th and 84th percentiles of the medians, as quoted above each panel and in Table 4.

Distribution of joint-fit and forward-modelled stacked-fit posteriors for six parameters

Figure 16. Real WaZP+DES-Y3 data: distribution of the joint fit per-bootstrap posterior medians (blue; smoothed, Section 2.11) and marginal posteriors of the forward-modelled stacked fit (red), for the magnitude-gap slope, the mass-concentration and mass-richness slopes, and the mass normalisation. The grey band in the αcm\alpha_{\rm cm} panel spans the unweighted and Fisher-weighted slopes of the Diemer and Joyce [1] relation over the mass distribution of the sample (Section 6.4).

The joint fit agrees with the stacked fit on the concentration and miscentering parameters, and finds a weaker magnitude-gap coupling (Table 4), with flat miscentering priors in both fits and neither fit using the other’s result. The concentration normalisation is degenerate with the miscentering parameters, and the degeneracy depends on where c0c_0 is defined: it is the concentration at MpivM_{\mathrm{piv}} and Δm=0\Delta m = 0, below the sample medians (M≈1014.3M⊙M \approx10^{14.3} M_{\odot}, Δm≈0.63\Delta m \approx0.63 mag), and re-expressing it at the medians, which changes only c0c_0 and its prior, changes its posterior correlation with γcm\gamma_{\mathrm{cm}} from −0.47-0.47 to −0.24-0.24, and with γcm\gamma_{\mathrm{cm}} from −0.07-0.07 to +0.14+0.14. The mass-richness parameters differ more between the methods (Table 4; § 6.3).

Discussion

In the following, we discuss what the comparison of the methods and the real-data fits show, and address some of the results. Section 6.1 compares the precision of the joint and stacked analyses, in the simulations and on the real data, and Section 6.2 interprets the offsets of the simulated fits. Section 6.3 discusses the mass-richness relation and miscentering that the two methods measure for WaZP clusters, and Section 6.4 shows that the nearly flat mass-concentration slope is explained by the non-power-law shape of the Diemer and Joyce [1] relation. Sections 6.5–6.7 turn to the magnitude-gap coupling: whether a magnitude-gap dependence of the mass at fixed richness can account for the stacked coupling, where the stacked profiles depart from the joint fit, and how such a dependence can be interpreted. Section 6.8 tests the coupling against the choices of the analysis and

Precision of the methods

The joint fit is the more precise method in the simulations, and reports the smaller uncertainties on the real data (Table 5). In the simulations its estimates scatter less between independent realisations than the forward-modelled stacked ones for every scaling-relation slope, by 1.1–1.5×\times, and the reported uncertainties of both methods match that scatter. For these two fits, data density matters more than the method: both constrain γcm\gamma_{\rm cm} five to six times more precisely at LSST-like than at DES-like density (Table 2). The measurement of γcm\gamma_{\rm cm} is therefore a matter of statistical power and of controlling the miscentering parameters. In terms of concentration, the posterior width of γcm\gamma_{\rm cm} times the standard deviation of Δm\Delta m, the uncertainty on the gap-driven spread of log⁡10c\log_{10} c, is 0.025 (joint) and 0.030 dex (forward-modelled) at DES-like density and 0.004 and 0.005 dex at LSST-like density. The gain over the standard two-step analysis is larger, 1.5–6.5×\times, and grows with data density, because the two-step γcm\gamma_{\rm cm} gains only a factor of 1.8 in precision between the two densities: the per-stack fits of the two-step analysis are limited by the degeneracy between concentration and miscentering within each stack rather than by shape noise. On the real data, where the precision cannot be measured, the ratio of the reported uncertainties is 1.1–1.5 for the slopes relative to the forward-modelled fit and 1.5–3.3 relative to the two-step analysis, and the stacked fit reports a tighter interval only on c0c_0 (Table 4), which is degenerate with the miscentering parameters. Beyond precision, the joint fit works cluster by cluster: it needs no binning choices or minimum stack size, uses every cluster, and can be extended to per-cluster quantities that stacking averages away, such as intrinsic scatter about the scaling relations or individual observables beyond the binned ones.

Offsets in the simulated fits

Part of the low mass normalisation in the simulations (§ 4.1) is the bin-centre evaluation of the model (§ 2.7), which depends on the radial grid: it lowers the mass normalisation by about 0.019 dex on the 8-bin grid, 0.027 dex on the 6-bin grid and only 0.004 dex on the 16-bin grid of the stacks (Appendix § 9). This accounts for the difference between the two methods, 0.015 and 0.020 dex, and after it both are low by about 0.025 dex.

The rest is the expected response of a spherical model to triaxial haloes, whose orientation-averaged lensing signal is lower than that of a spherical halo of the same mass and concentration by a nearly radius-independent amount (Appendix § 8). Most of this part is definitional: the injected mass is that within an ellipsoid, which exceeds the spherical-overdensity mass of the same halo by about 0.017 dex (Appendix § 8).

A plausible explanation of the low c0c_0 and fmisf_{\rm mis} of the LSST-like joint fits is that the spherical, miscentered model absorbs part of the triaxial projection (which changes both the amplitude and the inner slope of each cluster’s profile) through the concentration-miscentering degeneracy, while stacking averages orientations before the fit. We have not tested this further.

Mass-richness relation and miscentering

Both methods measure the mass-richness relation of WaZP clusters (Table 4). The two methods differ more on the mass-richness parameters than on the concentration ones. About 0.02 dex of the 0.046 dex difference in normalisation is the different bin-centre offset of the two radial grids (Appendix B). The runs share the same data, so these differences are a guide and not independent significances. In the simulations both methods recover these parameters (Section 4.1), so the remaining differences arise from properties of the real data that the simulations do not include (member contamination and the boost correction, richness scatter and selection, and the two-halo term) or from the weighting of individual clusters by their covariance (Appendix E).

The WaZP mass-richness values are not directly comparable with the DES-Y1 calibration of McClintock et al. [36], which we use only to centre the priors: richness is defined by each cluster finder, and redMaPPer’s λ\lambda and WaZP’s NgalsN_{\rm gals} differ in definition, in their scaling with mass and in their projection effects, so the slopes need not agree. A calibration of WaZP richness against redMaPPer’s is left to a forthcoming comparison.

The miscentred fractions are similar to the one found for redMaPPer clusters. The stacked fit’s miscentred fraction, fmis=0.30−0.10+0.08f_{\rm mis}=0.30^{+0.08}_{-0.10}, is of the same order as the roughly one quarter that Zhang et al. [61] find for redMaPPer clusters, although such fractions are specific to each cluster finder’s centring and are not a benchmark for WaZP (§ 2.3); the joint fit’s ff is 0.36−0.04+0.050.36^{+0.05}_{-0.04}, obtained with a flat prior and without using the stacked result, is similar. These fractions are constrained together with the concentration normalisation: a higher normalisation raises the inner profile of every cluster, more miscentering dilutes it again, and γcm\gamma_{\rm cm} redistributes the remaining inner signal between magnitude-gap terciles (§ 5.6, Appendix E).

The mass-concentration slope

The mass-concentration slope is consistent with zero in both methods: αcm=0.033−0.091+0.052\alpha_{\rm cm}=0.033^{+0.052}_{-0.091} in the joint fit and 0.036±0.0900.036\pm0.090 in the stacked fit. This is what the concentration-mass relation of Diemer and Joyce [1] predicts for this sample, because that relation is not a power law over this mass range: it declines with mass at the low-mass end, reaches a minimum near log⁡10(M/M⊙)≈14.7\log_{10}(M/M_\odot)\approx14.7 at the pivot redshift, and turns upward beyond it (Figure 17a, top panel). A single power-law slope fit to such a curve depends on where the fit’s effective weight sits across the mass range. Evaluated over the mass distribution of the WaZP+DES-Y3 sample, the Diemer19 curve gives a slope close to zero however it is weighted — αcm=−0.011\alpha_{\rm cm}=-0.011 treating each mass bin equally, and 0.0000.000 weighting each bin by its share of the Fisher information on αcm\alpha_{\rm cm}, which peaks near the minimum of the curve and beyond (Figure 17a, bottom panel). Both measured slopes lie within 1σ1\sigma of this prediction. The per-stack concentrations of Figure 14 lie above the Diemer and Joyce [1] prediction; their normalisation is degenerate with the miscentering parameters (Section 5.6), so we do not interpret this offset.

Figure 17. (a) Top: the Diemer and Joyce [1] concentration-mass relation at the pivot redshift (z=0.35z = 0.35, solid black), which is non-monotonic over the WaZP+DES-Y3 mass range, together with power-law fits to that same prediction restricted to the mass distribution of the sample – unweighted (blue dashed) and weighted by the share of each mass bin in the Fisher information on αcm\alpha_{\rm cm} (red dotted). (a) Bottom: the cluster-count distribution of the sample in mass (grey) against the fraction of total αcm\alpha_{\rm cm} Fisher information contributed per mass bin (red), showing that the sample’s statistical weight is concentrated near the curve’s minimum and beyond, while its raw counts are not. (b) The magnitude-gap slope from the joint fit (distribution of the 50 per-bootstrap posterior medians) under two different mass-concentration baselines, both fit to the same real, boost-corrected WaZP+DES-Y3 sample: the free power-law relation of Eq. (12) (the joint fit of § 5.6) and the Diemer and Joyce [1] prediction with only γcm\gamma_{\rm cm} (Eq. (36)) added on top, every other parameter refit freely in both cases. The two posteriors agree within 1σ1\sigma.

The non-power-law shape raises a direct question about the magnitude-gap result itself. If the true mass dependence of concentration turns over rather than following a single power law, does γcm\gamma_{\rm cm} survive when the power law is replaced by a relation with that turnover built in? To test this, we refit the joint model on the same real, boost-corrected sample, with the same covariance and priors as the joint fit of Section 5.6. The free power-law mass-concentration relation (Eq. (12)) is replaced by the Diemer and Joyce [1] prediction as the baseline, with only the same magnitude-gap term added on top of it,

log⁡10c200=log⁡10cDiemer19(M200,z)+γcm Δm.(36)\log_{10} c_{200} = \log_{10} c_{\mathrm{Diemer19}}(M_{200},z) + \gamma_{\rm cm}\,\Delta m . \tag*{(36)}

Every other parameter (the mass-richness normalisation and slopes, the miscentered fraction, and the miscentering scale) is refit freely alongside γcm\gamma_{\rm cm}, and the two-halo term is included, exactly as in that fit. This is not a fit of the Diemer19 relation’s own shape to the data (its amplitude, pivot mass, and higher-order behaviour are all fixed to the literature prediction). It only asks the narrower question above: do γcm\gamma_{\rm cm}’s sign and approximate size depend on assuming a power law for the mass dependence in the first place? A full treatment of a curved, non-power-law mass-concentration relation, with its own parameters left free, is deferred to following work. fig:17b shows the result: under the Diemer19 baseline γcm=0.055−0.015+0.017 mag−1\gamma_{\rm cm} = 0.055^{+0.017}_{-0.015}\ {\rm mag}^{-1}, in close agreement with the power-law joint fit (0.057−0.026+0.0200.057^{+0.020}_{-0.026}) and 1.4σ1.4\sigma below the stacked value. The joint coupling is the same under either baseline, so it does not depend on assuming a power law for the mass dependence of concentration.

and the two methods need not absorb it in the same way. A gap-dependent mass at fixed richness is plausible on two grounds. First, in the fossil-group picture (Jones et al. [48]), which motivated the use of the magnitude gap in Vitorelli et al. [47] and here, a large gap forms when the brightest satellites merge into the central galaxy, which removes members, so that at fixed mass a large-gap cluster is poorer, and at fixed richness it is more massive. Hearin et al. [51] found this dependence in mock catalogues and SDSS groups. Second, in a photometric cluster finder, projected interlopers raise the richness at fixed mass and can also provide a spurious brightest satellite, lowering Δm\Delta m, so projection alone gives small-gap clusters a lower mass at fixed richness (Sunayama et al. [97]). The per-stack masses of Figure 14 already hint at a positive dependence (§ 5.5).

Magnitude gap and mass at fixed richness

The joint and stacked couplings differ by 1.2σ1.2\sigma (0.057−0.026+0.0200.057^{+0.020}_{-0.026} against 0.101±0.030 mag−10.101 \pm0.030\ {\rm mag}^{-1}). The stacked coupling is positive, in the direction expected if large gaps trace early-assembled systems. The joint value stays within its uncertainty when the covariance estimator or the priors are changed (Appendix § 12). On the joint fit’s source selection and radial range, the stacked fit gives 0.072−0.040+0.0420.072^{+0.042}_{-0.040}, in agreement with it (§ 6.8). We look for an assumption of the model that could account for the stacked coupling. The joint and stacked fits share the model of § 2, in which the magnitude gap enters only the concentration (Eq. (12)) and the mass depends only on richness and redshift (Eq. (10)). If clusters with different gaps also differ in mass at fixed richness, the model can represent that difference only through γcm\gamma_{\rm cm}, and the two methods need not absorb it in the same way.

We test it by adding a magnitude-gap term to the mass-richness relation,

log⁡10M200=log⁡10M0+αMλlog⁡10λλpiv+βMλlog⁡101+z1+zpiv+δMλΔm,(37)\log_{10} M_{200} = \log_{10} M_0 + \alpha_{M\lambda} \log_{10} \frac{\lambda}{\lambda_{\rm piv}} + \beta_{M\lambda} \log_{10} \frac{1+z}{1+z_{\rm piv}} + \delta_{M\lambda}\Delta m, \tag*{(37)}

with a prior δMλ∼N(0,1)\delta_{M\lambda} \sim\mathcal{N}(0,1), in both fits, everything else unchanged. Each cluster’s magnitude gap then enters its mass through δMλ\delta_{M\lambda} and its concentration through γcm\gamma_{\rm cm} (and through c(M)c(M)). A larger mass raises a cluster’s whole profile, including the two-halo term, while a larger concentration raises mainly the inner profile, so the two are separated by the radial shape of the profiles. The joint fit uses the bootstrap covariance and priors of § 5.6, with 50 cluster bootstraps summarised as in § 2.11; the stacked fit is that of § 5.5. Table 6 and Figure 18 give the results. With δMλ\delta M_\lambda free, both couplings fall by similar amounts: the stacked one from 0.101 to 0.065±0.0330.065 \pm0.033, and the joint one from 0.057 to 0.007−0.033+0.0320.007^{+0.032}_{-0.033}. Both fits prefer a positive δMλ\delta M_\lambda, 0.043±0.0200.043 \pm0.020 (stacked) and 0.035−0.012+0.0160.035^{+0.016}_{-0.012} dex mag−1^{-1} (joint), and in both the two slopes are anti-correlated (Figure 18). The two methods then differ by 1.2σ1.2\sigma in γcm\gamma_{\rm cm} and 0.3σ0.3\sigma in δMλ\delta M_\lambda. On the joint fit’s radial range, using only stacked bins above 0.25 Mpc, the stacked coupling is 0.048−0.046+0.0480.048^{+0.048}_{-0.046}, within 0.7σ0.7\sigma of the joint value. The Bayesian evidence of the stacked fit does not require the additional parameter (it slightly prefers δMλ=0\delta M_\lambda= 0 under the wide prior used), so the data do not demand a gap-dependent mass; but once one is allowed, neither coupling is robust.

Figure 18. Left: 68% and 95% posterior regions of the magnitude-gap slopes of concentration, γcm\gamma_{\rm cm}, and of mass at fixed richness, δMλ\delta M_{\lambda}, with δMλ\delta M_{\lambda} free, for the forward-modelled stacked fit (all radial bins, and only bins above 0.25 Mpc as in the joint fit) and the joint fit of the real WaZP+DES-Y3 data. Right: marginal posteriors of γcm\gamma_{\rm cm} in the original model, δMλ=0\delta M_{\lambda}=0 (solid, as in the rest of the paper), and with δMλ\delta M_{\lambda} free (dashed; dotted: stacked fit with bins above 0.25 Mpc only).

Posterior predictive check

A posterior predictive check of the stacks against the joint fit shows where the two methods depart. With the joint fit’s parameters (medians of Table 4, δMλ=0\delta M_\lambda= 0), the stacked model of Eq. (24) gives χ2=550.3\chi^2 = 550.3 for the 528 stacked data points, against 509.9 at the stacked fit’s own median. Of the difference, 32 comes from the high-gap terciles, whose profiles lie above the joint prediction at every radius: inverse-variance weighted over the stacks, the data exceed the prediction by 14±3%14 \pm3\% beyond 1 Mpc, where the concentration has little effect, against 7±3%7 \pm3\% and 10±3%10 \pm3\% for the low- and middle-gap terciles (the common part reflects the different mass normalisations of the two fits, § 6.3). An excess of the large-gap stacks at large radius is the signature of a magnitude-gap dependence of the mass at fixed richness, which the original model cannot represent and partly absorbs through γcm\gamma_{\rm cm}.

Interpreting a gap-dependent mass-richness relation

A non-zero δMλ\delta M_\lambda is necessary but not sufficient evidence of assembly bias: scatter in richness at fixed mass alone makes any mass-correlated observable carry mass information beyond the richness, and the positive δMλ\delta M_\lambda preferred by the real data is expected from projection effects as well as from the fossil-group picture. These data do not separate these possibilities, which we will address in a following work.

At the signal-to-noise of these data, a ΔΣ\Delta\Sigma amplitude difference between clusters of different Δm\Delta m can be absorbed by a change of concentration. A larger mass raises the entire profile and a larger concentration its inner part, but neither the stacked profiles nor the individual ones separate the two well, so when the mass is not allowed to depend on the gap, both methods fit an amplitude difference by a change of concentration. Allowing a magnitude-gap-dependent mass is the model counterpart of the comparison in Vitorelli et al. [47]. There, each magnitude-gap stack was fit with its own mass and concentration, and the concentrations were moved along the Duffy et al. [98] mass-concentration relation to a common mass before being compared. Leaving the mass of each stack free is what δMλ\delta M_\lambda restores in the forward model, while the slide along the mass-concentration relation is built into Eq. (12). A model in which the magnitude gap enters only the concentration can therefore return a coupling that does not survive a modest extension of the model, in a stacked as in a joint analysis. We have not tested this mechanism in simulations yet: those of § 4 contain no magnitude-gap dependence of mass, which is why the two methods agree there. Injecting a δMλ\delta M_\lambda is left to future work, together with the assembly-bias question it raises for richness.

Robustness of the real-data coupling

Table 7 collects refits of both methods in which one choice of the data or the model is changed at a time. Each joint refit is a single posterior on the full sample, compared with a full-sample fit with the reference choices (the first row), so the shifts are paired: their widths include shape noise only (§ 2.11). Each stacked refit is compared with a rerun of the stacked fit of § 5.5 with the same sampler settings (the first row), so these shifts are paired as well.

ChangeJointStacked
None (reference)0.061−0.026+0.0260.061^{+0.026}_{-0.026}0.100−0.029+0.0300.100^{+0.030}_{-0.029}
Sellentin and Heavens [72] likelihood–0.101−0.029+0.0300.101^{+0.030}_{-0.029}
Reduced shear in the model0.059−0.026+0.0260.059^{+0.026}_{-0.026}0.097−0.028+0.0290.097^{+0.029}_{-0.028}
Boost factors redrawn (8 draws, range of medians)0.0570.057–0.0640.064–
Δm≤0\Delta m \le0 included (15,925 clusters)0.058−0.026+0.0260.058^{+0.026}_{-0.026}–
Δm<2σΔm\Delta m < 2\sigma_{\Delta m} removed (13,181 clusters)0.070−0.030+0.0310.070^{+0.031}_{-0.030}–
Joint fit’s source selection (f=1.1f=1.1)–0.083−0.028+0.0280.083^{+0.028}_{-0.028}
Bins above 0.25 Mpc–0.094−0.041+0.0440.094^{+0.044}_{-0.041}
Joint fit’s source selection and bins above 0.25 Mpc–0.072−0.040+0.0420.072^{+0.042}_{-0.040}
fmisf_{\rm mis} free per magnitude-gap tercile0.059−0.036+0.0510.059^{+0.051}_{-0.036}0.052−0.095+0.0880.052^{+0.088}_{-0.095}
fmisf_{\rm mis} and σoff\sigma_{\rm off} free per tercile0.063−0.044+0.0510.063^{+0.051}_{-0.044}0.055−0.092+0.0900.055^{+0.090}_{-0.092}
Redshift 0.1–0.3 only (β\beta’s fixed at 0)0.112−0.037+0.0390.112^{+0.039}_{-0.037}–
Redshift 0.3–0.5 only0.004−0.037+0.0370.004^{+0.037}_{-0.037}–
Redshift 0.5–0.7 only0.070−0.098+0.1010.070^{+0.101}_{-0.098}–

Table 7. Magnitude-gap slope γcm\gamma_{\rm cm} [mag−1^{-1}] of the real data under changes of the analysis (medians and 68% intervals). Joint: full-sample posteriors, to be compared with the first row; stacked: to be compared with the first row, a rerun of the fit of § 5.5 that differs from it only by sampling noise.

Changes of the likelihood, of the boost factors and of the treatment of small gaps each move γcm\gamma_{\rm cm} by at most 0.009 (Table 7). The Sellentin and Heavens [72] likelihood for the stacks, the uncertainty of the joint fit’s boost factors and the inclusion of the clusters with Δm≤0\Delta m \le0, which the linear term allows without a floor, each move it by 0.004 or less, and removing the clusters whose gap is below twice its uncertainty raises the joint value by 0.009, well within its uncertainty.

The reduced shear, which the model neglects (§ 2.4), acts mainly on the concentration. With the parameters of the joint fit and the source redshift distribution, it raises ΔΣ\Delta\Sigma of a well-centred cluster by 5% at 0.25 Mpc, 2% at 0.44 Mpc and 1% or less beyond, and differs by less than 0.3% between magnitude-gap terciles. Including it lowers the stacked c0c_0 from 6.9 to 6.6 and the joint αcm\alpha_{\rm cm} from 0.03 to 0.00, and changes γcm\gamma_{\rm cm} by 0.003 or less.

With the same data products, the two methods agree: with the joint fit’s source selection and radial range, the stacked coupling is 0.072−0.040+0.0420.072^{+0.042}_{-0.040}, consistent with the joint 0.061±0.0260.061 \pm0.026. The stricter source selection and the innermost stacked bins add about 0.02 and 0.01 to the stacked value, shifts within the uncertainty of the stacked fit.

A magnitude-gap dependence of the miscentering separates the two methods. With fmisf_{\rm mis} free per tercile, the stacked fit prefers the smallest miscentered fraction for the largest gaps (0.23 ±\pm 0.12 against 0.30 and 0.33), as expected if large-gap clusters are more often centred on the true potential minimum. Its γcm\gamma_{\rm cm} then falls to 0.052, with an uncertainty three times larger (±0.09\pm0.09): the stacks cannot tell a gap-dependent concentration from a gap-dependent concentration. The joint fit, which models every cluster’s profile with its own gap, finds no such preference (0.35−0.14+0.170.35^{+0.17}_{-0.14} against 0.34 and 0.37) and keeps γcm=0.059−0.036+0.051\gamma_{\rm cm} = 0.059^{+0.051}_{-0.036}, unchanged from its reference value. The same holds with σoff\sigma_{\rm off} also free per tercile. A magnitude-gap dependence of the centring therefore does not explain the joint coupling, and only the joint fit can bound it.

Split by redshift, the coupling differs between 0.1<z<0.30.1 < z < 0.3 (0.112−0.037+0.0390.112^{+0.039}_{-0.037}) and 0.3<z<0.50.3 < z < 0.5 (0.004±0.0370.004 \pm0.037) by 2.0σ2.0\sigma, which may point to a redshift-dependent systematic or population difference that the model does not capture. The mass normalisations of the three bins, fit without

Fitγcm\gamma_{\rm cm}δMλ\delta M_{\lambda}
Stacked, δMλ=0\delta M_{\lambda}=0 (original)0.101−0.029+0.0300.101^{+0.030}_{-0.029}–
Stacked, δMλ\delta M_{\lambda} free0.065−0.033+0.0330.065^{+0.033}_{-0.033}0.043−0.020+0.0200.043^{+0.020}_{-0.020}
Stacked, δMλ\delta M_{\lambda} free, bins above 0.25 Mpc0.048−0.046+0.0480.048^{+0.048}_{-0.046}0.039−0.019+0.0200.039^{+0.020}_{-0.019}
Joint, δMλ=0\delta M_{\lambda}=0 (original)0.057−0.026+0.0200.057^{+0.020}_{-0.026}–
Joint, δMλ\delta M_{\lambda} free0.007−0.033+0.0320.007^{+0.032}_{-0.033}0.035−0.012+0.0160.035^{+0.016}_{-0.012}

Table 6. Magnitude-gap slopes of concentration (γcm\gamma_{\rm cm}, in mag−1^{-1}) and of mass at fixed richness (δMλ\delta M_{\lambda}, in dex mag−1^{-1}, Eq. (37)), with δMλ\delta M_{\lambda} fixed at zero (the original model, used in the rest of the paper) and free. The joint fit uses bins from 0.25 Mpc; the stacked fit uses bins from 0.16 Mpc, or only those above 0.25 Mpc. Medians and 68% intervals.

redshift evolution, imply βMλ≈−2.6\beta_{M\lambda} \approx-2.6, consistent with the full fit: the strong evolution of mass at fixed richness is shared by all bins rather than driven by one.

Our analytic covariance (Eq. (17)) is a simple shape-noise model, with a single dispersion σe\sigma_{\mathrm{e}} and independent galaxies, and it does not describe the noise of the real measurement. In the DES-like simulations, where shape noise is the only source of noise, the bootstrap and analytic variances of a cluster agree, but in the real data the bootstrap variance is 1.8 times the analytic one at 0.25 Mpc and 1.3 times at 0.44 Mpc, falling to the analytic value beyond 0.7 Mpc, even with σe\sigma_{\mathrm{e}} estimated separately for classes of source weight (Appendix § 12). The real inner bins therefore carry noise that this model misses. We have not identified its source; it may be member galaxies and blending in the crowded cluster cores, the variation of the shear response between galaxies, or the scatter of the photometric redshifts that enter Σcrit\Sigma_{\mathrm{crit}}, none of which the simulations contain. An analytic covariance that misses this noise overstates the information in the inner bins, which constrain the concentration and the miscentering, and a fit with it moves along their degeneracy to fmis≈0.5f_{\mathrm{mis}} \approx0.5 and σoff≈0.5\sigma_{\mathrm{off}} \approx0.5 Mpc, but leaves γcm\gamma_{\mathrm{cm}} within its uncertainty (Appendix § 12). The bootstrap follows the real noise, at the cost of a weighting bias in the sparsest bins (Appendix § 11) that the likelihood of Eq. (19) keeps from reaching γcm\gamma_{\mathrm{cm}} in the simulations.

The choices of the analysis therefore matter little: apart from a gap-dependent miscentering, which removes the stacked constraint, no change of the analysis choices we tested moves either coupling beyond its uncertainty, although the coupling differs between redshift bins.

Conclusion

We have developed a joint fit of individual-cluster weak-lensing profiles under mass-richness and mass-concentration scaling relations, with the magnitude gap as an additional observable of the concentration, and compared it with a forward-modelled stacked analysis that fits the same relations, with the same model and priors, to stacked profiles, and with the standard two-step analysis of the same stacks. In simulations at DES-like and LSST-like density, the joint and forward-modelled fits recover the injected magnitude-gap coupling with uncertainties that match the scatter between realisations.

Of the three methods, the joint fit is the most precise in the simulations. Its estimates scatter less between realisations than the forward-modelled stacked ones, by 1.2–1.3× in γcm\gamma_{\mathrm{cm}} and 1.1–1.5× on the other scaling-relation slopes, with neither method biased beyond a few percent. The standard two-step analysis scatters 2–6.5× more than the joint fit in γcm\gamma_{\mathrm{cm}} and 1.5–5.3× more on the other slopes, and is biased by 3 to 6 standard errors, except for c0c_0, in several mass-concentration and mass-richness parameters (Table 5 and Table 10). On the real data, the joint fit reports 1.1–1.5× smaller uncertainties on every slope. Data density matters more, both methods being five to six times more precise at LSST-like density (Table 2). The precision of the joint fit rests on the model, however: a dependence the model omits, such as a gap-dependent mass, enters γcm\gamma_{\mathrm{cm}} in both methods but with the joint fit’s smaller uncertainty, while only the joint fit keeps its constraint under a gap-dependent miscentering.

ParameterLSST-like BiasLSST-like Scatter ratioDES-like BiasDES-like Scatter ratio
γcm\gamma_{\mathrm{cm}} [mag−1^{-1}]+0.005±0.008+0.005 \pm0.0086.50−0.019±0.010-0.019 \pm0.0102.03
αcm\alpha_{\mathrm{cm}}+0.017±0.014+0.017 \pm0.0145.14−0.075±0.022-0.075 \pm0.0221.62
βcm\beta_{\mathrm{cm}}−0.35±0.07-0.35 \pm0.075.27+0.44±0.10+0.44 \pm0.101.49
c0c_0−0.87±0.08-0.87 \pm0.082.52+0.28±0.14+0.28 \pm0.140.85
log⁡10M0\log_{10} M_0−0.034±0.001-0.034 \pm0.0011.22−0.011±0.003-0.011 \pm0.0030.96
αMλ\alpha_{M\lambda}+0.002±0.005+0.002 \pm0.0051.76+0.026±0.017+0.026 \pm0.0171.80
βMλ\beta_{M\lambda}−0.015±0.011-0.015 \pm0.0111.71+0.35±0.06+0.35 \pm0.061.59

Table 10. Two-step analysis of the simulated realisations: mean bias (fit minus truth) ±\pm its standard error, and the ratio of its scatter between realisations to that of the joint fit of the same realisations. LSST-like: 48 realisations; DES-like: 84.

Applied to WaZP clusters with DES Y3 shears, our main results are:

  • The joint and forward-modelled fits agree on the magnitude-gap coupling of the concentration once the mass at fixed richness may also depend on the gap, with γcm=0.065±0.033\gamma_{\mathrm{cm}} = 0.065 \pm0.033 (forward-modelled) and 0.007−0.033+0.0320.007^{+0.032}_{-0.033} mag−1^{-1} (joint); the joint value is consistent with no coupling and the forward-modelled one is 2σ2\sigma from zero, so neither is a detection.

  • Both fits prefer a positive magnitude-gap dependence of the mass at fixed richness, δMλ=0.035−0.012+0.016\delta_{M\lambda} = 0.035^{+0.016}_{-0.012} (joint) and 0.043±0.0200.043 \pm0.020 dex mag−1^{-1} (forward-modelled), although the evidence of the stacked fit does not require the extra parameter. Since freeing δMλ\delta_{M\lambda} removes most of both couplings, a coupling measured in a model where the magnitude gap enters only the concentration need not survive a modest extension of the model, in stacked and joint analyses alike.

  • The mass-concentration slope is consistent with zero in both fits, αcm=0.033−0.091+0.052\alpha_{\mathrm{cm}} = 0.033^{+0.052}_{-0.091} (joint) and 0.036±0.0900.036 \pm0.090 (forward-modelled), as expected from the upturn of the Diemer and Joyce [1] relation over the sample’s mass range; with that relation as the baseline of the concentration, the joint magnitude-gap coupling is unchanged.

  • Both fits measure the mass-richness relation of WaZP clusters, with αMλ=1.042−0.045+0.029\alpha_{M\lambda} = 1.042^{+0.029}_{-0.045} and βMλ=−2.05−0.15+0.18\beta_{M\lambda} = -2.05^{+0.18}_{-0.15} (joint) and 0.918 ±\pm 0.048 and −1.73±0.25-1.73 \pm0.25 (forward-modelled), specific to the WaZP richness definition.

The analysis rests on simplifications that future work should remove:

  • Neither model includes intrinsic scatter about the mass-richness relation or the selection on richness (Mantz et al. [37]), so the WaZP mass-richness parameters are not corrected for scatter or selection.

  • The simulations contain no realistic cluster-finder selection or orientation bias (Dietrich et al. [91]), no substructure and no line-of-sight projection of unrelated structures (Sunayama et al. [97]); their redshifts are drawn uniformly rather than from the comoving volume and the halo abundance, and the fits receive the noiseless richness, so the assumption of no scatter at fixed richness holds exactly in them.

  • Source and cluster redshifts and magnitude gaps are used without their uncertainties (Kelly [90]).

  • The per-cluster covariances contain shape noise only (Hoekstra [28]; Gruen et al. [73]) and the boost factors are estimated from source counts rather than from the redshift distribution of the sources (Varga et al. [99]).

  • Neither analysis accounts for correlated noise between clusters whose apertures overlap and share

background sources: 92% of the real clusters share part of their 5.3 Mpc aperture with at least one other cluster, mostly in the outer bins, which affects mainly the mass normalisation and the two-halo term.

These will be addressed in two forthcoming papers: one with real data only, comparing WaZP and redMaPPer clusters and adding further concentration-related observables, and one with simulations only, testing a fully Bayesian hierarchical model of the scaling relations and of the selection processes.

Beyond these extensions, this work is intended as the first step of a larger effort to model galaxy cluster scaling relations in a full Bayesian, per-cluster framework, rather than through stacked or otherwise pre-averaged summaries. A natural extension is to make the causal structure between richness, magnitude gap, mass, and concentration explicit, rather than implicit in the choice of which relations to include, so that questions about formation history can be posed as causal questions and answered with the tools built for them, instead of being inferred indirectly from correlations that a purely predictive model cannot by itself distinguish from confounding.

Data availability

The lensing measurement and modelling code, XLENSING, is publicly available at https://github.com/andrevitorelli/xlensing. The joint and forward-modelled stacked fitting code, DESTACKING, will be made publicly available at https://github.com/andrevitorelli/destacking. The DES Y3 METACALIBRATION shape catalogue and the DES Y6 WaZP cluster catalogue used here are public and can be obtained from the DES data release website, https://des.ncsa.illinois.edu/releases.

Acknowledgments

The authors would like to thank Giulia Cerini, Eric Huff, Katarina Marković, Mariana Penna-Lima, and Sandro Vitenti for insightful discussions. This work was made possible by the support of several institutions and countries. The authors are grateful for funding from JPL’s R&TD 7x ‘Future of Dark Sector Cosmology: Systematic Effects and Joint Analysis’ (01STRS/R.23.312.005), and FAPESP for the LSC infrastructure at the PMR EP-USP. ESC acknowledges support from CNPq grant 302592/2025-3 and FAPESP grant 2023/05085-6. This work made heavy use of the computing facilities of the Centro de Processamento de Dados do IAG/USP (CPD-IAG), whose purchase was made possible by the Brazilian agency FAPESP (grants 2019/25950-8, 2017/24954-4 and 2009/54006-4).

Due to the large scope of coding involved in this work, most of the software development was performed with the help of a large language model, specifically Claude Code (Anthropic). The xlensing package was developed before Vitorelli et al. [47] but highly improved in performance with LLM assistance. The code was then read, verified and tested by humans.

Simulating triaxial haloes

This appendix details the method summarised in § 3.1: drawing a triaxial halo shape and orientation for each simulated cluster, projecting it onto the sky, and computing the shear it induces on the background galaxies.

Shape and orientation sampling

Each halo is an NFW profile in the ellipsoidal radius

m2=x2α2+y2β2+z2γ2,αβγ=1,(38)m^2 = \frac{x^2}{\alpha^2} + \frac{y^2}{\beta^2} + \frac{z^2}{\gamma^2}, \qquad\alpha\beta\gamma= 1, \tag*{(38)}

with (x,y,z)(x,y,z) in the halo’s principal frame and α≥β≥γ\alpha\ge\beta\ge\gamma proportional to its semi-axes a≥b≥ca \ge b \ge c. The unit-determinant normalisation keeps the volume inside every isodensity surface equal to that of a sphere of the same radius, so the mass enclosed within m=r200m = r_{200} is the halo’s M200M_{200}, and its concentration keeps its spherical meaning

b/a∼Uniform⁡[0.5,1.0],c/a∼Uniform⁡[0.3,b/a],(39)b/a \sim\operatorname{Uniform}[0.5, 1.0], \qquad c/a \sim\operatorname{Uniform}[0.3, b/a], \tag*{(39)}

with the second draw conditioned on the first so that c≤bc \le b by construction. These ranges are chosen to mimic the axis-ratio distributions found for CDM haloes in NN-body simulations (e.g. Jing and Suto [31]). The line-of-sight direction n\mathbf{n} is drawn independently and isotropically in the halo’s principal frame, cos⁡θlos∼Uniform⁡[0,1]\cos\theta_{\rm los} \sim\operatorname{Uniform}[0,1] and ϕlos∼Uniform⁡[0,2π]\phi_{\rm los} \sim\operatorname{Uniform}[0,2\pi], so no orientation is preferred over any other; § 4 lists the caveat that this does not include the orientation selection a cluster finder may introduce.

([100, 101]). This M200M_{200}, the truth against which the fits are compared, is the mass within the ellipsoid, not a spherical-overdensity mass: for the axis ratios drawn here, the mass within the sphere r<r200r < r_{200} is lower by 2.8% on average (0.012 dex), and the mass within the radius where the enclosed mean density equals 200ρm200\rho_m is lower by about 0.017 dex for c200=4c_{200} = 4. The axis ratios are drawn as

{#eq:A3}

Projection onto the sky

With Q=diag⁡(α−2,β−2,γ−2)Q=\operatorname{diag}(\alpha^{-2},\beta^{-2},\gamma^{-2}), a point x\mathbf{x} has m2=xTQxm^2=\mathbf{x}^{\mathsf{T}}Q\mathbf{x}. Writing a point along the line of sight as x⊥+sn\mathbf{x}_{\perp}+s\mathbf{n} and completing the square in ss gives m2=(nTQn)s′2+ξ2m^2=(\mathbf{n}^{\mathsf{T}}Q\mathbf{n})s^{\prime2}+\xi^2, with

ξ2=x⊥TMx⊥,Mij=eiTQej−(eiTQn)(ejTQn)nTQn,i,j∈{1,2},(40)\xi^2=\mathbf{x}_{\perp}^{\mathsf{T}}M\mathbf{x}_{\perp}, \qquad M_{ij}=\mathbf{e}_i^{\mathsf{T}}Q\mathbf{e}_j-\frac{(\mathbf{e}_i^{\mathsf{T}}Q\mathbf{n})(\mathbf{e}_j^{\mathsf{T}}Q\mathbf{n})}{\mathbf{n}^{\mathsf{T}}Q\mathbf{n}}, \qquad i,j\in\{1,2\}, \tag*{(40)}

in an orthonormal sky-plane basis (e1,e2)(\mathbf{e}_1,\mathbf{e}_2): MM is the Schur complement of QQ along n\mathbf{n}. Integrating the density along the line of sight then gives an exactly elliptical surface density,

Σ(x⊥)=ΣNFW(ξ)nTQn,(41)\Sigma(\mathbf{x}_{\perp})=\frac{\Sigma_{\mathrm{NFW}}(\xi)}{\sqrt{\mathbf{n}^{\mathsf{T}}Q\mathbf{n}}}, \tag*{(41)}

where ΣNFW\Sigma_{\mathrm{NFW}} is the surface density of the spherical halo with the same M200M_{200} and c200c_{200}. The factor (nTQn)−1/2(\mathbf{n}^{\mathsf{T}}Q\mathbf{n})^{-1/2} is the line-of-sight projection amplitude: it exceeds unity when the halo is elongated along the line of sight and falls below it when the halo is viewed along its short axis. Since det⁡M nTQn=det⁡Q=1\det M\,\mathbf{n}^{\mathsf{T}}Q\mathbf{n}=\det Q=1, the total projected mass is the same for every orientation. Diagonalising MM, with eigenvalues λ1≤λ2\lambda_1\leq\lambda_2, gives the projected axis ratio q=(λ1/λ2)1/2q=(\lambda_1/\lambda_2)^{1/2} and the position angle of the projected major axis. This projection recovers the expected limits: a spherical halo projects to a circle of unit amplitude regardless of orientation, and a halo viewed along one of its principal axes projects to the ratio of the other two. It is the projection used to build the qq distribution of Figure 3.

Figure 19 shows sixteen individual haloes drawn from this procedure, with their 3D ellipsoid and projected convergence map.

Figure 19. Sixteen example haloes drawn from the shape and orientation sampling described in this appendix, each showing the m=r200m=r_{200} isodensity ellipsoid with its principal axes and line-of-sight direction (top) and the projected lensing convergence κ\kappa of Eq. (41) (bottom), including the line-of-sight amplitude. Labels give the sky-plane ellipticity e=1−qe=1-q and the amplitude Alos=(nTQn)−1/2A_{\mathrm{los}}=(\mathbf{n}^{\mathsf{T}}Q\mathbf{n})^{-1/2}.

Shearing the background catalogue

In the frame of the projected major (uu) and minor (vv) axes, the convergence of Eq. (41) depends on position only through ξK2=u2+v2/q2\xi_K^2=u^2+v^2/q^2. For any such elliptical convergence κ(ξK)\kappa(\xi_K), the second derivatives of the lensing potential ψ\psi reduce to one-dimensional integrals (Schramm [87]; Keeton [88]),

ψuu=2qu2K0+qJ0,ψvv=2qv2K2+qJ1,\psi_{uu}=2q u^2K_0+qJ_0,\qquad\psi_{vv}=2q v^2K_2+qJ_1,
ψuv=2quvK1,\psi_{uv}=2q uvK_1,
Jn=∫01κ(ξ2(w)) dw[1−(1−q2)w]n+1/2,J_n=\int_0^1\frac{\kappa\left(\xi^2(w)\right)\,dw}{\left[1-(1-q^2)w\right]^{n+1/2}},
Kn=∫01wκ′(ξ2(w)) dw[1−(1−q2)w]n+1/2,(42)K_n=\int_0^1\frac{w\kappa'\left(\xi^2(w)\right)\,dw}{\left[1-(1-q^2)w\right]^{n+1/2}}, \tag*{(42)}

with ξ2(w)=w[u2+v2/(1−(1−q2)w)]\xi^2(w)=w\left[u^2+v^2/\left(1-(1-q^2)w\right)\right] and κ′=dκ/d(ξK2)\kappa'=\mathrm{d}\kappa/\mathrm{d}(\xi_K^2). The shear is γ1=(ψuu−ψvv)/2\gamma_1=(\psi_{uu}-\psi_{vv})/2, γ2=ψuv\gamma_2=\psi_{uv}, rotated from the (u,v)(u,v) frame to the sky. Because the NFW profile has the same shape at every mass once lengths are measured in units of its scale radius, the dimensionless shear is computed once on a grid of scaled radius, position angle, and axis ratio, and interpolated for each galaxy; the interpolation reproduces the direct integrals to a median of 4×10−44\times10^{-4} in relative terms. The shear is then multiplied by ΣNFW\Sigma_{\mathrm{NFW}}’s normalisation, the line-of-sight amplitude, and 1/Σcrit1/\Sigma_{\mathrm{crit}} for the galaxy’s redshift, and added to its intrinsic ellipticity. Where per-galaxy shear response is available (§ 3), the injected shear is scaled by that response, following the metacalibration convention δe=Rδγ\delta e=R\delta\gamma, so that a response-corrected estimator recovers the injected signal unbiased.

We validated the implementation in four ways: for b=c=ab=c=a it reproduces the spherical NFW shear; the azimuthally averaged tangential shear on any circle equals the mean convergence inside it minus the convergence on it, as it must for any mass distribution; the shear field agrees point by point with a Fourier-space inversion of the same convergence map; and the cross shear vanishes on the projected principal axes.

Figure 20 shows the effect on the measured ΔΣ\Delta\Sigma, for one representative halo (z=0.4z=0.4, M200=2×1014 M⊙M_{200}=2\times10^{14}\,M_{\odot}, c200=4c_{200}=4) sheared through the full measurement pipeline in 300 random shapes and orientations. Individual orientations differ from the spherical profile by up to ∼10\sim10–20%20\%, most strongly in the innermost bins: a halo elongated along the line of sight has a higher signal, and one viewed along its short axis a lower one. Averaged over isotropic orientations the signal is ≈5%\approx5\% below the spherical one, nearly independent of radius, so a spherical NFW fit to the average profile recovers a mass 0.0230.023 dex low and a concentration 3%3\% low, whether or not the bins inside 0.50.5 Mpc are included.

Figure 20. Effect of triaxiality on the measured ΔΣ\Delta\Sigma of one representative halo (z=0.4z = 0.4, M200=2×1014 M⊙M_{200} = 2 \times10^{14}\ M_\odot, c200=4c_{200} = 4), from 300 random shapes and isotropic orientations sheared through the full measurement pipeline at zero shape noise. Left: spherical profile and the orientation-averaged triaxial profile with its 16–84% range. Middle: ratio of the triaxial to the spherical profile, for all orientations and by tercile of ∣cos⁡θlos∣|\cos\theta_{\rm los}| (large values: line of sight close to the short axis); the shaded region marks the bins inside 0.5 Mpc. Right: the orientation-averaged ratio, and spherical NFW fits to the averaged profile over 0.16–4 and 0.5–4 Mpc.

Radial binning choices

The radial grid enters the analysis in three ways: how many clusters contribute to each bin, whether the model is evaluated at the bin centre or averaged over the annulus, and how much information is lost if the innermost bins are cut. We summarise each.

Bin occupancy. — In every bin, a cluster’s measurement with the analytic covariance is used only if the bin holds at least three background sources; otherwise the bin is masked for that cluster (the bootstrap covariance applies the slightly looser criterion of § 2.9). Figure 21 shows the fraction of clusters that pass this criterion. At LSST-like density the innermost bin (0.16 Mpc) is valid for 72% of the clusters and the next for 96%. At DES-like density the two innermost bins of the 6-bin grid (0.25 and 0.44 Mpc) are valid for only 45% and 76% of the clusters, and the real WaZP+DES-Y3 sample is better, with 70% and 92% at those radii and 96–97% beyond. Because the inner bins are those that constrain the concentration, the grid is matched to what the source density supports: 8 bins from 0.16 to 3.98 Mpc for LSST-like data and 6 bins from 0.25 to 3.98 Mpc for DES-like and real data.

Cost of cutting the inner bins. — Excluding all bins below 0.5 Mpc would discard most of the inner, concentration-sensitive information. Table 8 gives the resulting increase of the Fisher uncertainty on γcm\gamma_{\rm cm} and c0c_0, with the other parameters held fixed. We therefore keep every bin and rely on the per-cluster masking and, for the bootstrap covariance, on the variance floor of § 2.9.

LSST-like (3 bins removed)DES-like (2 bins)Real data (2 bins)
σ(γcm)\sigma(\gamma_{\rm cm})1.711.661.89
σ(c0)\sigma(c_0)1.541.511.83

Table 8. Factor by which the Fisher uncertainty grows when all bins below 0.5 Mpc are removed, other parameters held fixed, for the miscentered model at the injected (simulations, one realisation each) or fitted (real data) parameters, with the per-cluster variances of each data set.

Bin centre versus bin average. — Figure 22 shows the ratio of the model ΔΣ\Delta\Sigma evaluated at the logarithmic bin centre to its area-weighted average over the annulus, for a miscentered NFW halo at z=0.4z = 0.4. The bin-centre value is high by 0.7–3.5% on the 8-bin grid and 1.6–5% on the 6-bin grid, increasing with radius and decreasing slightly with mass. Fitting identical simulated data with the exact bin average and with the bin-centre model changes γcm\gamma_{\rm cm} by only 0.1σ and 0.7σ in two paired tests; the difference is absorbed by the mass normalisation, which the bin-centre model places ≈ 0.018 dex lower. Bin averaging costs four times more per likelihood evaluation, so the analysis uses the bin-centre model, and the logarithmic mass normalisations quoted in this paper carry that offset. Its size depends on the grid: weighting all bins equally, the bin-centre model is high on average by 4.0% on the 6-bin grid, 2.6% on the 8-bin grid and 0.6% on the 16-bin grid of the stacks, which lowers the fitted mass normalisation by about 0.027, 0.019 and 0.004 dex, consistent with the 0.018 dex measured in the paired fits. The joint and stacked mass normalisations therefore carry different offsets, of which the difference is about 0.02 dex.

Ratio of the bin-centre model to the bin-averaged model $\Delta\Sigma$ for the LSST-like and DES-like and WaZP radial grids

Figure 22. Ratio of the bin-centre model to the bin-averaged model ΔΣ\Delta\Sigma for the LSST-like (left) and DES-like and WaZP (middle) radial grids, for three halo masses at z=0.4z = 0.4 with a miscentering offset of 0.47 Mpc, and a summary of the effect on the joint fit (right).

Magnitude-gap dependence of the boost factor

The boost correction removes the dilution of the signal by cluster members and foreground galaxies that pass the background selection, and a magnitude-gap dependence of that contamination at fixed richness and redshift would enter γcm\gamma_{\rm cm} directly. Figure 23 shows the boost excess B−1B - 1 inside 0.5 Mpc for the three magnitude-gap terciles of each redshift–richness cell of the stacked analysis. Within each cell, the high-gap tercile exceeds the low-gap one by 0.010±0.0070.010 \pm0.007 on average (inverse-variance weighted over the 11 cells with three usable terciles), against a typical B−1≈0.06B - 1 \approx0.06, so the contamination depends at most weakly on the magnitude gap, and the two magnitude-gap bins of the boost fits used by the joint fit (§ 5.4) are sufficient.

Figure 23. Boost excess B−1B - 1 inside 0.5 Mpc (inverse-variance mean over the radial bins) of the low, middle and high magnitude-gap tercile of each redshift-richness cell of the stacked analysis (f=1.2f = 1.2 background selection), for the 11 cells in which all three terciles have at least 50 members; colours mark the redshift bin.

A paired test of per-cluster covariances

The analytic covariance (Eq. (17)) cannot respond to the fluctuation of a cluster’s own data, but the bootstrap covariance can: for a ratio estimator such as Eq. (15), responses and critical densities vary between galaxies and sheared shapes have a skewed distribution, so a bin that fluctuates high tends to receive a smaller bootstrap variance and therefore a larger weight. To test an estimator and its covariance on identical haloes, simulate each halo’s sources twice, once with intrinsic ellipticities ee and once with all of them reversed, −e-e, through the same pipeline. The shear signal is the same in both copies, while the shape noise has opposite sign, so averaging the two cancels it to first order, and a residual deviation of the average from the true profile is a bias of the estimator or of the weighting. Figure 24 (left) applies this to 6000 identical DES-like haloes of log⁡10M=14.5\log_{10} M = 14.5, c=3c = 3 at z=0.3z = 0.3. Inverse-variance means with the per-cluster bootstrap variances are biased high by 6.0±1.9%6.0 \pm1.9\% at 0.25 Mpc, 2.7±0.5%2.7 \pm0.5\% at 0.44 Mpc and 0.8±0.5%0.8 \pm0.5\% at 0.76 Mpc, while the same means with

Figure 24. Left: bias of the mean ΔΣ\Delta\Sigma estimate, relative to the true profile, from paired e/−ee/-e simulations of identical haloes, for three weightings (see text); the outermost bin is truncated by the 5.0 Mpc source aperture of the test. Right: mean projected shift of γcm\gamma_{\rm cm}, c0c_0 and βcm\beta_{\rm cm} over 24 DES-like realisations with centred, spherical haloes, for bootstrap and analytic per-cluster covariances, in units of the realisation-to-realisation scatter of the analytic case; error bars are standard errors of the mean.

the analytic variance are consistent with zero beyond 0.25 Mpc (+2.0±1.5%+2.0 \pm1.5\%, +0.1±0.3%+0.1 \pm0.3\%, −0.1±0.3%-0.1 \pm0.3\% in the first three bins). The outermost bin is high by ≈3.9%\approx3.9\% for every weighting, because the test collects sources only within 5.0 Mpc and so truncates that bin; it is unrelated to the covariance. Errors are from a 20-block jackknife.

The same difference propagates to the fit. For 24 DES-like realisations with centred, spherical haloes, with the first-order shift of a fit of c0c_0, αcm\alpha_{\rm cm}, βcm\beta_{\rm cm}, γcm\gamma_{\rm cm} and the mass normalisation (the other parameters held at their true values) computed without refitting, bootstrap weights give a mean shift of +0.13±0.16+0.13 \pm0.16 mag−1^{-1} in γcm\gamma_{\rm cm} (realisation-to-realisation scatter 0.80), +0.7±1.0+0.7 \pm1.0 in c0c_0 and +1.8±1.5+1.8 \pm1.5 in βcm\beta_{\rm cm}, against +0.004±0.026+0.004 \pm0.026 (0.13), −0.11±0.12-0.11 \pm0.12 and −0.03±0.10-0.03 \pm0.10 with the analytic variance (Figure 24, right). These test realisations have narrower magnitude gaps than the simulations of § 3 (standard deviation 0.16 mag), so γcm\gamma_{\rm cm} is poorly determined in them; what the test shows is that the bootstrap weights multiply the scatter of every parameter several times over, while the analytic weights leave it at the shape-noise level. The test needs no fit and is applicable to any lensing pipeline that can regenerate its sources with reversed ellipticities. Full refits of the simulations of § 4 with their bootstrap covariances, which test the configuration used for the real data, are described in Appendix § 12.

Choice of covariance for the real data

Repeating the real-data joint fit with the analytic covariance moves the degenerate parameters but not γcm\gamma_{\rm cm}. For this fit we use the analytic covariance of Eq. (17), with the direct estimator of Eq. (15) as the data vector and σe\sigma_e estimated separately for 50 quantile classes of the source weight (0.155–0.224, against 0.195 for the whole selected DES Y3 sample; in the response-uncorrected units of Eq. (15)). The bootstrap variance is larger than the analytic one, most of all in sparse inner bins and at high redshift, so the two estimates weight the clusters differently. Repeating the fit with the analytic covariance leaves γcm\gamma_{\rm cm} and αMλ\alpha_{M\lambda} unchanged within their uncertainties, but moves the posterior along the degeneracy between the concentration normalisation and the miscentering parameters, towards higher c0c_0, fmisf_{\rm mis} and σoff\sigma_{\rm off}, and steepens the redshift slope of the mass-richness relation (Appendix § 14, Figure 25).

Marginal posterior median and MAP intervals for each parameter

Figure 25. Marginal posterior median with its 68% interval (thick bar and circle) and MAP with its PJ-HPD 68% interval (thin bar and star) for each parameter, for the joint fit with bootstrap covariance, the joint fit with analytic covariance and the forward-modelled stacked fit of the real WaZP+DES-Y3 data.

The shift is caused by the weighting of the individual clusters, not by the priors: it is the same with flat miscentering priors, with Gaussian miscentering priors centred on the stacked fit (used for the analytic-covariance fit shown in Appendix § 14) and with either c0c_0 prior, while changing the priors with the bootstrap covariance does not produce it. The analytic covariance gives relatively more weight to high-redshift, high-richness clusters, and the shift is driven by their profiles at intermediate radii (∼1\sim1 Mpc), not by the innermost bins. The likelihood along c0c_0 is shallow for both covariance estimators, with fmisf_{\rm mis} rising and αcm\alpha_{\rm cm} falling along the valley, so the two estimators select different points of a weakly constrained direction. We conclude that c0c_0, fmisf_{\rm mis} and αcm\alpha_{\rm cm} are degenerate and weakly constrained by the individual profiles, so their values should not be given a physical interpretation, and that βMλ\beta_{M\lambda} depends on how high-redshift, high-richness clusters are weighted; γcm\gamma_{\rm cm} and αMλ\alpha_{M\lambda} do not. The maximum a posteriori points and projected joint highest-posterior-density intervals ([102]) of both fits are given in Appendix § 14; they do not change this picture.

The paired test of Appendix § 11 shows that the bootstrap covariance correlates with the measured signal, so that inverse-variance weights bias the mean profile high in the sparse inner bins, and that the variance floor inside 0.5 Mpc does not remove this. We nevertheless use the bootstrap covariance for the real data, for two reasons.

First, the analytic covariance does not describe the noise of the real measurement. In the DES-like simulations, where shape noise is the only source of noise, the median ratio of the bootstrap to the analytic variance of a cluster is 0.95–1.00 in every bin; in the real data it is 1.80 at 0.25 Mpc and 1.32 at 0.44 Mpc, falling to 0.93–1.02 beyond 0.7 Mpc, even with σe\sigma_e estimated separately for each class of source weight. The real inner bins therefore scatter 30–80% more than shape noise predicts, so the analytic covariance overstates the information in the bins that constrain c0c_0, fmisf_{\rm mis} and σoff\sigma_{\rm off}, and its posteriors for them are too narrow. The resulting fit places half of the clusters miscentered by ≃0.5\simeq0.5 Mpc (fmis=0.51f_{\rm mis}=0.51 and σoff=0.51\sigma_{\rm off}=0.51 Mpc, against 0.30 and 0.42 Mpc from the stacks), which we regard as a symptom of the misspecified covariance rather than a physical result.

Second, the bootstrap covariance, combined with the likelihood of Eq. (19), recovers γcm\gamma_{\rm cm} without bias in the simulations. Refitting all 84 DES-like and 60 LSST-like realisations (the 48 of § 4 and twelve more at γcmtrue=5/36\gamma_{\rm cm}^{\rm true}=5/36 and 6/366/36 with their galaxy-bootstrap covariances (floored inside 0.5 Mpc, as for the real data)) gives recovered-against-injected slopes of 0.96±0.100.96\pm0.10 and 0.94±0.020.94\pm0.02, against 0.98±0.090.98\pm0.09 and 0.95±0.020.95\pm0.02 with the analytic covariance, and shifts γcm\gamma_{\rm cm} relative to the analytic-covariance fit of the same realisation by +0.04+0.04 and +0.09+0.09 of its uncertainty on average; the scatter between realisations matches the posterior widths. As on the real data, the covariance moves the degenerate parameters more: at LSST-like density βcm\beta_{\rm cm}, σoff\sigma_{\rm off} and c0c_0 shift by +1.0+1.0, +0.6+0.6 and +0.5+0.5 of their uncertainties, and by 0.3 or less at DES-like density. With a Gaussian likelihood instead, the same DES-like fits are dominated by a few clusters whose bootstrap variance collapses in the first unfloored bin, and their scatter exceeds the posterior widths several times over. The likelihood of Eq. (19), which marginalises over the uncertainty of each estimated variance, is therefore required whenever the bootstrap covariance is used.

Two-step versus forward-modelled stacking

The forward-modelled stacked fit of § 2.12 replaces the common two-step analysis of stacked profiles. To compare them, we also perform the two-step analysis on the same real WaZP+DES-Y3 stacks and on the stacks of every simulated realisation of § 4 (in the simulations without the two-halo term). In the first step each stack is fit on its own with an NFW profile plus miscentering and the two-halo term, with its mass, concentration, fmisf_{\rm mis} and σoff\sigma_{\rm off} free under flat priors, at the stack’s mean redshift (these are the per-stack values of Figure 14). In the second step the per-stack values are regressed, by weighted least squares, on the stacks’ mean observables,

log⁡10Ms=log⁡10M0+αMλlog⁡10λˉsλpiv+βMλlog⁡101+zˉs1+zpiv(43)\log_{10} M_s = \log_{10} M_0 + \alpha_{M\lambda} \log_{10} \frac{\bar{\lambda}_s}{\lambda_{\mathrm{piv}}} + \beta_{M\lambda} \log_{10} \frac{1+\bar{z}_s}{1+z_{\mathrm{piv}}} \tag*{(43)}
log⁡10cs=log⁡10c0+αcmlog⁡10MsMpiv+βcmlog⁡101+zˉs1+zpiv+γcmΔm‾s,(44)\log_{10} c_s = \log_{10} c_0 + \alpha_{cm} \log_{10} \frac{M_s}{M_{\mathrm{piv}}} + \beta_{cm} \log_{10} \frac{1+\bar{z}_s}{1+z_{\mathrm{piv}}} + \gamma_{cm} \overline{\Delta m}_s, \tag*{(44)}

with the fitted log⁡10Ms\log_{10} M_s as the regressor of the second relation.

Table 9 compares the two methods.

Two-step and forward-modelled stacked fits of the same 33 real stacks. Two-step: weighted-least-squares coefficients and their errors; forward-modelled: posterior medians and 68% half-widths (Section 5.5).

ParameterTwo-stepForward-modelled
γcm\gamma_{cm} [mag−1^{-1}]0.074±0.0750.074 \pm0.0750.101±0.0300.101 \pm0.030
αcm\alpha_{cm}−0.013±0.188-0.013 \pm0.1880.036±0.0900.036 \pm0.090
βcm\beta_{cm}0.89±0.920.89 \pm0.920.42±0.410.42 \pm0.41
c0c_06.8±1.56.8 \pm1.56.9±1.36.9 \pm1.3
αMλ\alpha_{M\lambda}0.958±0.0540.958 \pm0.0540.918±0.0480.918 \pm0.048
βMλ\beta_{M\lambda}−1.76±0.31-1.76 \pm0.31−1.73±0.25-1.73 \pm0.25
log⁡10(M0/M⊙)\log_{10}(M_0/M_\odot)14.337±0.01214.337 \pm0.01214.335±0.01214.335 \pm0.012

Table 9. Two-step and forward-modelled stacked fits of the same 33 real stacks. Two-step: weighted-least-squares coefficients and their errors; forward-modelled: posterior medians and 68% half-widths (Section 5.5).

On the real data the two methods agree on every central value, and the forward-modelled fit constrains the concentration slopes two to three times more tightly; the mass-richness parameters are similar. The forward model does not extract more signal from the same profiles; the two-step analysis discards some of it, while the forward model makes stronger assumptions that let it use the rest:

  1. Fewer free parameters. The two-step analysis gives every stack its own mass, concentration and miscentering (4×334\times33 parameters), and within one stack the concentration and the miscentering are strongly degenerate, so each stack’s concentration is poorly determined (Figure 14). The forward model has nine parameters in total; fmisf_{\mathrm{mis}} and σoff\sigma_{\mathrm{off}} are shared by all stacks and constrained by all of them, which breaks the per-stack degeneracy. This is the largest gain.

  1. Mass tied across stacks. In the forward model each member’s mass follows from the mass-richness relation constrained by all stacks together, which removes the per-stack correlation between mass and concentration.

  1. A lossy summary. The regression keeps only a median and a symmetric error per stack, ignores the correlation between the fitted mass and concentration of a stack, and treats the fitted mass as an exact regressor, while the per-stack posteriors are skewed. The forward model also uses every member’s own redshift, richness and magnitude gap rather than one mean value per stack.

In the simulations the two-step analysis is unbiased in γcm\gamma_{cm} but far less precise, and biased in other parameters (Table 10). Its recovered-against-injected slope of γcm\gamma_{cm} is 1.08±0.141.08\pm0.14 (LSST-like) and 1.01±0.191.01\pm0.19 (DES-like), and its scatter between realisations is 6.5 and 2.0 times that of the joint fit. Its redshift slope of the mass-concentration relation, however, is off by −0.35±0.07-0.35\pm0.07 (LSST-like) and +0.44±0.10+0.44\pm0.10 (DES-like). At LSST-like density its concentration normalisation is off by −0.87±0.08-0.87\pm0.08, and at DES-like density its mass-concentration slope and the redshift slope of the mass-richness relation are off by −0.075±0.022-0.075\pm0.022 and +0.35±0.06+0.35\pm0.06. Apart from c0c_0, these are 3 to 6 standard errors, while the joint and forward-modelled fits show no comparable bias (Table 3). The bias arises in the first step. Replacing each stack’s fitted mass and concentration by the true mean log⁡10M\log_{10} M and log⁡10c\log_{10} c of its members recovers every parameter, while using the members’ mean observables instead of the stacks’ means in the regression changes nothing. The single-halo fits return masses 0.030 (LSST-like) and 0.036 dex (DES-like) and concentrations 0.07 and 0.03 dex below the members’ means, with a mass offset that varies with redshift at DES-like density and biases βMλ\beta_{M\lambda}. This is the difference between the mass of a stacked profile and the mean mass of its members that calibrations of two-step analyses correct with simulations (McClintock et al. [36]); the forward-modelled and joint fits avoid it by modelling every member. The reported weighted-least-squares errors match the scatter at LSST-like density and are 1.4–1.5 times too large on the mass-concentration parameters at DES-like density, consistent with the larger two-step to joint ratio of reported uncertainties on the real data (Table 5).

The extra precision therefore rests on the assumptions that the miscentering is common to all stacks and that the mass is set by richness and redshift alone. When these hold, the forward model is the full likelihood of the stacked data and the two-step analysis a degraded version of it; when they do not, the extra precision can turn into bias. § 6.5 shows an example: tying the mass to richness alone forces a magnitude-gap dependence of the mass into γcm\gamma_{cm}, whereas the two-step analysis, with every stack’s mass free, is protected from it, as was the comparison at equal mass in Vitorelli et al. [47]. The two-step γcm\gamma_{cm} agrees with the forward-modelled one on the real data only because its uncertainty is large. The same trade-off between precision and robustness to a misspecified model separates the joint fit from stacked analyses.

Point estimates: maximum a posteriori and projected joint credible intervals

Marginal posterior medians, which we quote throughout, are unambiguous summaries of one parameter after marginalising over all others, and transform trivially under a change of variables. When parameters are degenerate and the priors are wide, however, the marginal posterior need not peak at the best fit to the data. As a complement, Table 11 gives the maximum a posteriori (MAP) point and the projected joint highest-posterior-density (PJ-HPD) interval of Joachimi et al. [102]. The PJ-HPD interval of a parameter is the range spanned, along that parameter, by the highest-posteriordensity region of the full multivariate posterior that contains 68% of that parameter’s marginal mass; it contains the MAP by construction, reduces to the usual highest-posterior-density interval in one dimension and to the 1σ\sigma interval for a Gaussian posterior, and is generally somewhat wider than the marginal interval for degenerate posteriors.

ParameterJoint, bootstrap cov.Joint, analytic cov.Stacked
c0c_08.346 [6.560, 11.192]8.670 [4.460, 11.236]6.988 [5.833, 8.600]
αcm\alpha_{\mathrm{cm}}0.029 [−0.045, 0.172]0.055 [−0.226, 0.105]0.028 [−0.055, 0.125]
βcm\beta_{\mathrm{cm}}0.913 [0.509, 1.669]0.422 [−1.816, 0.765]0.510 [−0.016, 0.816]
γcm\gamma_{\mathrm{cm}} [mag−1^{-1}]0.057 [0.015, 0.088]0.100 [−0.037, 0.119]0.112 [0.072, 0.131]
log⁡10(M0/M⊙)\log_{10}(M_0/M_\odot)14.290 [14.248, 14.299]14.260 [14.239, 14.284]14.334 [14.325, 14.349]
αMλ\alpha_{M\lambda}1.039 [0.989, 1.088]1.047 [0.969, 1.110]0.927 [0.865, 0.961]
βMλ\beta_{M\lambda}−2.028 [−2.279, −1.812]−3.592 [−3.868, −3.184]−1.732 [−1.996, −1.499]
fmisf_{\mathrm{mis}}0.370 [0.266, 0.461]0.506 [0.397, 0.587]0.307 [0.217, 0.390]
σoff\sigma_{\mathrm{off}} [Mpc]0.389 [0.330, 0.437]0.515 [0.471, 0.567]0.422 [0.374, 0.470]

Table 11. MAP and PJ-HPD 68% interval, in brackets, of the joint fit (bootstrap covariance), the analytic-covariance joint fit (with Gaussian miscentring priors centred on the stacked fit) and the forward-modelled stacked fit of the real WaZP+DES-Y3 data.

We evaluate them directly from the posterior samples, using for each sample the log-likelihood returned by the sampler plus the log prior density. The MAP is the highest-posterior sample, which is approximate. For the joint fits, which have 50 bootstrap posteriors, we compare here with the marginal of their pooled mixture, so that all intervals in this appendix are posterior intervals (wider than the bootstrap-median intervals of § 5.6, see § 2.11). The MAP is then the median

over the bootstrap MAPs. The PJ-HPD interval is computed on the pooled samples, ordered by their log posterior density relative to each bootstrap’s own maximum, with each bootstrap carrying equal mass. This is an approximation, since the density of the pooled mixture is not available. For the stacked fit, a single posterior, the MAP and PJ-HPD interval are those of Joachimi et al. [102] up to the sampling of the posterior peak.

The MAP agrees with the marginal median within 0.4 of the posterior width for every parameter of the three fits, and within 0.15 for the joint fits, so the choice of point estimates does not change any conclusion drawn from the medians. The PJ-HPD intervals have widths similar to the marginal ones, but for the degenerate pa-

rameters (c0c_0, fmisf_{\mathrm{mis}}, αcm\alpha_{\mathrm{cm}}, βcm\beta_{\mathrm{cm}}) they are shifted along the degeneracy discussed in § 5.6; γcm\gamma_{\mathrm{cm}} and αMλ\alpha_{M\lambda} agree within their intervals between the two covariance estimators, the mass normalisation shifts by 0.030 dex between the two, and βMλ\beta_{M\lambda} depends strongly on it.

References

  1. [1]B. Diemer and M. Joyce, ApJ 871, 168 (2019).
  2. [2]F. Zwicky, Helvetica Physica Acta 6, 110 (1933).
  3. [4]J. G. Hoessel, J. E. Gunn, and T. X. Thuan, ApJ 241, 486 (1980).
  4. [5]D. Clowe, M. Bradac, A. H. Gonzalez, M. Markevitch, S. W. Randall, C. Jones, and D. Zaritsky, ApJ 648, L109 (2006).
  5. [6]S. W. Randall, M. Markevitch, D. Clowe, A. H. Gonzalez, and M. Bradac, ApJ 679, 1173 (2008).
  6. [7]R. Monteiro-Oliveira, Universe 12, 249 (2026).
  7. [8]D. G. York et al., AJ 120, 1579 (2000).
  8. [10]J. T. A. de Jong, G. A. Verdoes Kleijn, K. H. Kuijken, and E. A. Valentijn, Experimental Astronomy 35, 25 (2013).
  9. [11]R. Laureijs et al., Euclid Definition Study Report, Tech. Rep. (ESA, 2011) arXiv:1110.3193.arxiv.org/abs/1110.3193
  10. [12]Ž. Ivezić et al., ApJ 873, 111 (2019).
  11. [13]R. Akeson et al., arXiv e-prints (2019), 1902.05569.
  12. [14]W. H. Press and P. Schechter, ApJ 187, 425 (1974).
  13. [15]J. Tinker, A. V. Kravtsov, C. Klypin, K. Abazajian, M. Warren, G. Yepes, S. Gottlöber, and D. E. Holz, ApJ 688, 709 (2008).
  14. [16]S. W. Allen, A. E. Evrard, and A. B. Mantz, ARA&A 49, 409 (2011).
  15. [17]G. W. Pratt, M. Arnaud, A. Biviano, et al., Space Science Reviews 215, 25 (2019).
  16. [18]A. Biviano, in Reviews in Modern Astronomy, Vol. 19 (2006) arXiv:astro-ph/0609587.
  17. [20]A. Diaferio and M. J. Geller, ApJ 481, 633 (1997).
  18. [21]C. L. Sarazin, X-ray Emission from Clusters of Galaxies (Cambridge University Press, 1988).
  19. [22]A. Vikhlinin et al., ApJ 640, 691 (2006).
  20. [23]J.-P. Kneib and P. Natarajan, A&ARv 19, 47 (2011).
  21. [24]A. Lewis and A. Challinor, Phys. Rept. 429, 1 (2006).
  22. [25]S. Dodelson, PRD 70, 023009 (2004).
  23. [26]M. R. Becker and A. V. Kravtsov, ApJ 740, 25 (2011).
  24. [27]M. Oguri and T. Hamana, MNRAS 414, 1851 (2011).
  25. [28]H. Hoekstra, MNRAS 339, 1155 (2003).
  26. [29]H. Hoekstra, A&A 370, 743 (2001).
  27. [31]Y. P. Jing and Y. Suto, ApJ 574, 538 (2002).
  28. [32]D. E. Johnston et al., arXiv e-prints (2007), arXiv:0709.1159.arxiv.org/abs/0709.1159
  29. [33]E. S. Sheldon, D. E. Johnston, R. Scranton, B. P. Koester, et al., The Astrophysical Journal 703, 2217 (2009), arXiv:0709.1153.DOI
  30. [34]M. Simet, T. McClintock, R. Mandelbaum, E. Rozo, et al., Monthly Notices of the Royal Astronomical Society 466, 3103 (2017), arXiv:1603.06953.DOI
  31. [35]R. Murata, T. Nishimichi, M. Takada, H. Miyatake, et al., The Astrophysical Journal 854, 120 (2018), arXiv:1707.01907.DOI
  32. [36]T. McClintock et al., MNRAS 482, 1352 (2019).
  33. [37]A. Mantz, S. W. Allen, D. Rapetti, and H. Ebeling, MNRAS 406, 1773 (2010).
  34. [38]A. von der Linden et al., MNRAS 439, 2 (2014).
  35. [39]D. E. Applegate et al., MNRAS 439, 48 (2014).
  36. [40]S. Bocquet et al., ApJ 878, 55 (2019).
  37. [43]I.-N. Chiu et al., ApJ 661, A11 (2022), arXiv:2107.05652.DOI
  38. [44]M. Sereno and S. Ettori, MNRAS 450, 3633 (2015).
  39. [45]C. Benoist et al., arXiv e-prints (2025), arXiv:2507.05360.arxiv.org/abs/2507.05360
  40. [46]R. H. Wechsler, J. S. Bullock, J. R. Primack, A. V. Kravtsov, and A. A. Dekel, ApJ 568, 52 (2002).
  41. [47]A. Z. Vitorelli, E. Scypriano, M. Makler, M. E. S. Pereira, T. Erben, and B. Moraes, MNRAS 474, 866 (2018).
  42. [48]L. R. Jones, T. J. Ponman, A. H. Norton, A. Babult, H. Ebeling, and D. J. Burke, Monthly Notices of the Royal Astronomical Society 343, 627 (2003), arXiv:astro-ph/0304257.DOI
  43. [50]A. J. Deason, C. Conroy, A. R. Wetzel, and J. L. Tinker, ApJ 777, 154 (2013), arXiv:1306.3990.DOI
  44. [51]A. P. Hearin, A. R. Zentner, J. A. Newman, and A. A. Berlind, MNRAS 430, 1238 (2013), arXiv:1207.1074.DOI
  45. [52]Planck Collaboration, N. Aghanim, et al., A&A 641, A6 (2020), arXiv:1807.06209.
  46. [53]K. Umetsu, A&A 528, 7 (2020).
  47. [54]J. E. Gunn and J. R. Gott, III, ApJ 176, 1 (1972).
  48. [55]J. F. Navarro, C. S. Frenk, and S. D. M. White, ApJ 462, 563 (1996).
  49. [56]J. F. Navarro, C. S. Frenk, and S. D. M. White, ApJ 490, 493 (1997).
  50. [57]B. Moore, S. Ghigna, F. Governato, G. Lake, T. Quinn, J. Stadel, and P. Tozzi, ApJL 524, L19 (1999).
  51. [58]J. L. Tinker, B. E. Robertson, A. V. Kravtsov, A. Klypin, M. S. Warren, Y. Yepes, and S. Gottlöber, ApJ 724, 878 (2010).
  52. [59]A. Lewis, A. Challinor, and A. Lasenby, ApJ 538, 473 (2000).
  53. [60]E. Hayashi and S. D. M. White, MNRAS 388, 2 (2008), arXiv:0709.3933.DOI
  54. [61]Y. Zhang, T. Jelt ema, D. L. Hollowood, et al., MNRAS 487, 2578 (2019).
  55. [62]C. O. Wright and T. G. Brainerd, ApJ 534, 34 (2000).
  56. [63]A. A. Berlind and D. H. Weinberg, ApJ 575, 587 (2002).
  57. [64]A. V. Kravtsov, A. A. Berlind, R. H. Wechsler, A. A. Klypin, S. Gottlöber, B. Allgood, and J. R. Primack, ApJ 609, 35 (2004).
  58. [65]A. Cooray and R. Sheth, Phys. Rept. 372, 1 (2002).
  59. [66]E. S. Rykoff et al., ApJ 785, 104 (2014).
  60. [67]F. Bellagamba, M. Roncarelli, M. Maturi, and L. Moscardini, MNRAS 473, 5221 (2018).
  61. [68]C. Lacey and S. Cole, MNRAS 262, 627 (1993).
  62. [69]J. S. Bullock, T. S. Kolatt, Y. Sigad, R. S. Somerville, A. V. Kravtsov, A. A. Klypin, J. R. Primack, and A. Dekel, MNRAS 321, 559 (2001).
  63. [70]B. Diemer, S. More, and A. V. Kravtsov, ApJ 766, 25 (2013).
  64. [71]A. F. Neto et al., MNRAS 381, 1450 (2007).
  65. [72]E. Sellentin and A. F. Heavens, MNRAS 456, L132 (2016), arXiv:1511.05969.DOI
  66. [73]D. Gruen, S. Seitz, M. R. Becker, O. Friedrich, and A. Mana, MNRAS 449, 4264 (2015), arXiv:1501.01632.DOI
  67. [74]J. H. Huggins and J. W. Miller, arXiv e-prints (2019), arXiv:1912.07104.arxiv.org/abs/1912.07104
  68. [75]P. Melchior, D. Gruen, T. McClintock, T. N. Varga, et al., Monthly Notices of the Royal Astronomical Society 469, 4899 (2017), arXiv:1610.06890.DOI
  69. [76]F. Bellagamba, M. Sereno, M. Roncarelli, M. Maturi, et al., Monthly Notices of the Royal Astronomical Society 484, 1598 (2019), arXiv:1810.02827.DOI
  70. [77]G. F. Lesci, F. Marulli, L. Moscardini, M. Sereno, et al., Astronomy & Astrophysics 659, A88 (2022), arXiv:2012.12273.DOI
  71. [78]M. Sereno, S. Ettori, G. F. Lesci, F. Marulli, et al., Monthly Notices of the Royal Astronomical Society 497, 894 (2020), arXiv:2006.16264.DOI
  72. [79]R. Murata, M. Oguri, T. Nishimichi, M. Takada, et al., Publications of the Astronomical Society of Japan 71, 107 (2019), arXiv:1904.07524.DOI
  73. [80]C. Payerne, Z. Zhang, M. Aguena, et al., Astronomy & Astrophysics 700, A34 (2025), arXiv:2502.08444.DOI
  74. [81]J. Hartlap, P. Simon, and P. Schneider, Astronomy & Astrophysics 464, 399 (2007).
  75. [82]Z. Zheng, A. L. Coil, and I. Zehavi, ApJ 667, 760 (2007).
  76. [83]A. A. Dutton and A. V. Macciò, MNRAS 441, 3359 (2014).
  77. [84]C. Seitz and P. Schneider, Astronomy & Astrophysics 318, 687 (1997), astro-ph/9601079.
  78. [85]R. Herbonnet, A. Crawford, C. Avrutz, E. Rasia, C. Giocoli, M. Meneghetti, A. von der Linden, W. Cui, and G. Yepes, MNRAS 513, 2178 (2022).
  79. [86]Z. Zhang, H.-Y. Wu, Y. Zhang, J. Frieman, et al., MNRAS 523, 1994 (2023).
  80. [87]T. Schramm, Astronomy & Astrophysics 231, 19 (1990).
  81. [88]C. R. Keeton, “A catalog of mass models for gravitational lensing,” (2001), arXiv:astro-ph/0102341.DOI
  82. [89]J. U. Lange, Monthly Notices of the Royal Astronomical Society 525, 3181 (2023), 2306.16923.
  83. [90]B. C. Kelly, ApJ 665, 1489 (2007), arXiv:0705.2774.DOI
  84. [91]J. P. Dietrich, Y. Zhang, J. Song, et al., MNRAS 443, 1713 (2014), arXiv:1405.2923.DOI
  85. [92]M. Gatti et al., MNRAS 504, 4312 (2021).
  86. [93]J. De Vicente, E. Sánchez, and I. Sevilla-Noarbe, MNRAS 459, 3078 (2016), arXiv:1511.07623.DOI
  87. [94]M. Aguena et al., MNRAS 502, 4435 (2021).
  88. [95]E. S. Sheldon and E. M. Huff, ApJ 841, 24 (2017).
  89. [96]N. MacCrann et al., MNRAS 509, 3371 (2022), arXiv:2012.08567.DOI
  90. [97]T. Sunayama, Y. Park, M. Takada, et al., MNRAS 496, 4468 (2020), arXiv:2002.03867.DOI
  91. [98]A. R. Duffy, J. Schaye, S. T. Kay, and C. Dalla Vecchia, Monthly Notices of the Royal Astronomical Society 390, L64 (2008), arXiv:0804.2486.
  92. [99]T. N. Varga et al., MNRAS 489, 2511 (2019), arXiv:1812.05116.DOI
  93. [100]M. Oguri, J. Lee, and Y. Suto, The Astrophysical Journal 599, 7 (2003).
  94. [101]V. L. Corless and L. J. King, Monthly Notices of the Royal Astronomical Society 380, 149 (2007).
  95. [102]B. Joachimi, C.-A. Lin, M. Asgari, T. Tröster, C. Heymans, H. Hildebrandt, F. Köhlinger, A. G. Sánchez, A. H. Wright, et al., Astronomy & Astrophysics 646, A129 (2021), arXiv:2007.01844DOI

Paper details

vlnc:W_9entnxkp
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Claude Code

View statement
Looking for related papers…
Contents