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 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, (forward-modelled) and~mag (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 –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 () 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 (, ), with for the two-halo term, and masses in without factors of .
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
with density falling roughly as in the inner ( kpc) region and faster, as , in the outer regions ( Mpc). The scale radius defines where the profile behaves as , and defines a concentration for halos, . Here 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, , which we will use, giving . Throughout this work the overdensity is defined with respect to the mean matter density rather than the critical density, so that .
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
where is the linear halo bias calculated at the density peak height of the halo , where is the linear matter variance in the Lagrangian scale of the halo, that is, with . We use Tinker et al. [58] as the parametric . Finally, the linear matter correlation function at redshift is
where is the linear correlation function at redshift zero, taken from a CAMB-calculated (Lewis et al. [59]) linear power spectrum, normalised to , and is the growth function.
The projected two-halo term is then
with
where is the physical projected radius and 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 () 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 between the true centre and the assumed one, the azimuthal average surface mass at radius is
As we do not know the individual 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
where 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, , 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 . For a given pair of lens and background galaxy , the tangential shear is
where
and , , and are the angular diameter distances to the source, to the lens, and between lens and source, respectively. The model for the surface mass density for an NFW-like mass distribution can be found in Wright and Brainerd [62]. The quantity measured is the reduced shear , with . Our model and simulations use , an approximation whose effect on the real data we quantify in § 6.8. § 2.8 describes how the observed data vector 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
where we have dependencies with the richness , and redshift , about pivots and .
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 grows larger just by its definition. For a halo that stops accreting, stays nearly constant ([69, 46]), which in turn leads to concentration increasing with . 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:
where again we separate dependencies with mass and redshift .
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
where, following our previous tests in Vitorelli et al. [47], the observable is the magnitude gap (in magnitudes) between the brightest cluster galaxy and the brightest satellite, so that is in mag and is the concentration at . The term is linear in because the magnitude gap is already a logarithmic quantity. The mass and redshift pivots are and .
The full model of cluster mass profiles
Putting each contribution together, the full model for the mass distribution of galaxy clusters is
where 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, and are nuisance parameters. Given the spread of the mass-richness relation, we also fit its normalisation (Eq. (10)) rather than fixing it to a calibration.
The model signal 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 , applied either to a single cluster or to a stack. Each cluster contributes the background galaxies selected behind it (§ 5.3), each with tangential ellipticity , measurement weight , tangential shear response (§ 5.2), and critical surface density of the lens-source pair. Radial bins are logarithmically spaced, with bin centres and edges at the geometric mean between centres. For each cluster and radial bin we compute
so that 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 of clusters, used by the stacked fit, are
where the response removes the multiplicative shear bias, and the boost factor 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,
which compares the galaxy count in bin with that expected at the stack’s mean source density, , over the bin’s area (in practice evaluated with a random catalogue at that density). A single cluster has too few sources for this measurement, so 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,
where the per-component shape dispersion is the weighted root-mean-square of the source ellipticities over the whole selected source sample, in the same (response-uncorrected) units as . 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, 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 . Within a radius , 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 times: each resample recomputes — numerator, denominator, and boost factor together — from the resampled clusters’ sums, so the covariance 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 the residual is , where is the data vector and is the corresponding model prediction at parameter vector — 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 is sampled linearly, not in . For a cluster with the analytic covariance , the log-likelihood is the Gaussian
with radial bins per cluster.
When the covariance is estimated by the galaxy bootstrap, the Gaussian is no longer the appropriate likelihood. The bootstrap variance of a bin is itself estimated from the 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,
a Student- 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 clusters of the sample,
with 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 as
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 , we draw indices with replacement:
Each bootstrap log-likelihood for draw is
where is the bootstrap multiplicity of cluster in draw . The vector is drawn from a Multinomial distribution. The expected value is and the variance is , so on average each cluster enters once, with Poisson-like fluctuations.
We fit each of the resamples and summarise the joint fit by the median and the 16th and 84th percentiles of the 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 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 and for all clusters). The stacked model is the average of its members’ profiles, weighted as the estimator weights their galaxies in each bin:
This is the expectation of Eq. (15) when each galaxy’s tangential ellipticity estimates and the boost factor removes the dilution exactly. The weights 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 the residual between and Eq. (24) over the stack’s valid bins, the log-likelihood is
where is the number of valid bins and the Hartlap et al. [81] factor debiases the inverse of the estimated covariance, with the number of member clusters of the stack, the number of independent realisations behind the cluster bootstrap; times the mean diagonal of is a numerical regulariser. The likelihood of Sellentin and Heavens [72], which marginalises over the estimated covariance, is an alternative with the same ; § 6.8 tests it. The covariances do not depend on , so the normalisation is constant and omitted. The parameters 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 member clusters gives a covariance of rank at most , 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 , given plausible data.
The pool of candidate clusters is generated as follows:
Redshift. Draw . 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.
Halo mass. Draw from the Tinker et al. [15] halo mass function at the cluster’s redshift, normalised within the range .
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.
Satellite galaxies. The satellites form a Poisson process in absolute magnitude, whose mean cumulative number brighter than interpolates, linearly in , the Zheng et al. [82] halo occupation distribution (HOD) satellite numbers of the SDSS , and 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 and , with and independent unit exponentials, as for the first two events of a Poisson process. Clusters without a satellite brighter than are rejected.
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
where and are the magnitudes of the brightest and second-brightest galaxies, so that . 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 band of the HOD and the 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 (black); dotted lines mark the medians. (b) against halo mass, coloured by magnitude gap (blue: small gaps, red: large gaps). (c) against , coloured by halo mass. The injected truth is , , , . The dashed line in panel (b) is the Dutton and Macciò [83] baseline evaluated at ; the dashed line in panel (c) is the injected – relation (Eq. (12)) evaluated at the median simulated halo mass, illustrating the coupling the joint fit is designed to recover.
NFW concentration. The concentration is modelled as
centred near the median simulated gap, so that the mean concentration changes little with ; the fit model has no such pivot, and its absorbs the centring. The Dutton and Macciò [83] baseline concentration is
with and . This form is calibrated for a critical overdensity. We evaluate it at only as a baseline for the injected truth, which does not affect the recovery test, since the injected , and 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 , and . The injected relation therefore has no scatter and no magnitude-gap dependence. It is a relation for the mean of , 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 (matching the WaZP cosmology-sample cut of § 5) and . Batches are generated until clusters pass, and the catalogue is truncated to exactly : 15,967 for the DES-like configuration, the size of the real sample before its 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 .
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 , and each receives a metacalibration-like response (clipped to ) from a lognormal size proxy . The shear is applied with the exact composition , for which the mean over an isotropic distribution is exactly (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, truncated at , with for the DES-like configuration, chosen to approximate the real DES Y3 source distribution, and 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 ; the simulated distributions are uniform in 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 .
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 , 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 , , and the resulting projected axis ratio q_{\min}/q_{\maj} on the sky.
Intermediate-to-major axis ratio: .
Minor-to-major axis ratio: (ensures ).
LOS polar angle: with (isotropic).
LOS azimuthal angle: .
Miscentering
We simulate miscentered clusters simply by shifting the centre by choosing a random offset (Figure 4) with properties

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: ; miscentered fraction: .
Offset magnitude for miscentered clusters: with . Using gives Mpc.
Offset direction: .
Centred clusters: .
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 , , spanning a range that keeps the concentrations physically plausible: at a halo at with the 99th-percentile gap (2.4 mag) has , against 4.8 at the median gap. Only varies between the simulated populations; the other injected scaling-relation parameters are the same in all realisations. For each value of we create 6 independent realisations for the LSST-like configuration (twelve at ) 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 . 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 of their centre, with a width at least several times that of the corresponding posterior.
| Parameter | Prior |
| [Mpc] |
Table 1. Priors of every simulated fit and of the stacked fits (the real-data joint fit changes only the prior, § 5.6). is a Gaussian, truncated at the bounds given; is uniform.
The two configurations use different radial grids, each matched to what its source density can support. The LSST-like configuration measures 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 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–), 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.
| Configuration | Fit | Slope | Offset [mag] | Scatter [mag] | Scatter/width | [mag] |
| LSST-like (48) | joint | |||||
| stacked | ||||||
| DES-like (84) | joint | |||||
| stacked |
Table 2. Recovery of in the simulations: slope and offset of the straight-line fit of recovered against injected values over all realisations, standard deviation of between realisations (the measured precision), its ratio to the mean posterior width, and the mean posterior 68% half-width (the reported uncertainty).
Figure 5. Recovered minus injected 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 below unity. Further investigation revealed that miscentering causes most of this deficit. Realisations at with the same random seeds but without miscentering show no deficit: the mean offsets are then between and at every injected value. Switching the miscentering back on lowers the recovered by of the true value on average, with a spread between injected values somewhat larger than the errors ( for 3 degrees of freedom). We have also tested if triaxiality had an impact, but repeating this test with triaxiality off changes the recovered by only .
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 between realisations to the mean posterior width lies between 0.94 and 1.11 as can be seen in Table 2.
For , 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).

Figure 6. Posterior 68% half-width of 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.
| Parameter | LSST-like F | LSST-like 2S | DES-like F | DES-like 2S | Real data F | Real data 2S |
| 1.28 | 6.50 | 1.23 | 2.03 | 1.29 | 3.26 | |
| 1.37 | 5.14 | 1.27 | 1.62 | 1.25 | 2.63 | |
| 1.29 | 5.27 | 1.08 | 1.49 | 1.14 | 2.56 | |
| 1.35 | 1.76 | 1.53 | 1.80 | 1.28 | 1.46 | |
| 1.27 | 1.71 | 1.27 | 1.59 | 1.47 | 1.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 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.
| Parameter | LSST-like Joint | LSST-like Stacked | DES-like Joint | DES-like Stacked |
| [mag] | (1.11) | (0.98) | (0.94) | (0.98) |
| (1.11) | (1.04) | (1.18) | (1.10) | |
| (0.93) | (0.83) | (1.00) | (0.96) | |
| (0.96) | (0.95) | (0.94) | (0.90) | |
| (0.95) | (1.02) | (0.99) | (0.93) | |
| (1.13) | (0.98) | (0.95) | (0.99) | |
| (0.92) | (0.87) | (1.06) | (1.02) | |
| (1.09) | (1.20) | (0.74) | (0.70) | |
| [Mpc] | (1.09) | (1.00) | (0.77) | (0.79) |
Table 3. Mean bias (fit minus truth) 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 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 , 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 slightly low ( per fit, Table 3), with a correlated small deficit in . The stacked fit shows the same direction at half the size. The main quantity we targeted, , 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 , , size ratio above , , and a positive DNF photometric redshift (De Vicente et al. [93]), which leaves sources over an occupied footprint of 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 , the effective number of member galaxies; this is the quantity we use as in the mass-richness relation of Eq. (10) throughout, with . We also remove candidates at , 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 (, 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 sample used in the fit), per-cluster uncertainty (top right), and its dependence on richness and redshift (bottom row). The 142 clusters with (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 , the probability of the -th satellite being the brightest satellite galaxy is the probability that it is a member while every brighter satellite is not:
The expected magnitude gap and its uncertainty are then
where and are the magnitudes of the -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.:
where and 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 we can build an unbiased estimator for the true shear as
To convert the observed shapes and responses into tangential ellipticities around halos, we apply rotations as
where is the azimuth1.
Correspondingly, we can transform the metacalibration response matrix to a multiplicative term (equivalent to ), as
The tangential ellipticity and response of each source are the and 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 – against a shear response –, so neglecting it raises by about 2.5%. The residual multiplicative bias of the Y3 catalogue, between and 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 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 , 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 . We use throughout. Source redshifts are the DNF point estimates, used both for this cut and for . 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 , which keeps enough sources in the bins of individual clusters. The stacked analysis of § 5.5 takes a stricter , 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 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 measured for each stack of the stacked analysis ( background selection), by redshift (columns), magnitude-gap tercile (rows), and richness (colour; is the number of member clusters), with bootstrap error bars. All stacks approach at large , as required. The three lowest-richness, highest-richness stacks () are shown but excluded from the fit by the threshold.
For the joint fit, the boost factor of each cluster (Eq. (15)) comes from a power-law parametrisation of stacked boost factors,
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 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 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 . Refitting the joint model with boost factors redrawn from the bootstrap covariance of the stacked boosts changes well within its uncertainty (§ 6.8). This is the one respect in which the joint fit draws on a stacked quantity. However, 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 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 of Vitorelli et al. [47], : with the same number of parameters, the Bayesian evidence is higher by and at the posterior median lower by 4.1. § 5.6 compares these numbers with the joint fit.
Figure 12. Boost-corrected stacked 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; 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.
| Parameter | Joint | KL [nats] | Stacked | Difference |
| [mag] | 3.12 | |||
| 1.59 | ||||
| 1.39 | ||||
| 0.83 | ||||
| 2.47 | ||||
| 2.43 | ||||
| 3.47 | ||||
| 1.14 | ||||
| [Mpc] | 1.79 | |||
| 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 0.075 mag, 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 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).

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, truncated at zero, instead of the flat prior on . The miscentering parameters keep their flat priors. With the flat 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 , 0.024 against 0.027 mag).
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.

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 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 is defined: it is the concentration at and , below the sample medians (, mag), and re-expressing it at the medians, which changes only and its prior, changes its posterior correlation with from to , and with from to . 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, and the reported uncertainties of both methods match that scatter. For these two fits, data density matters more than the method: both constrain five to six times more precisely at LSST-like than at DES-like density (Table 2). The measurement of is therefore a matter of statistical power and of controlling the miscentering parameters. In terms of concentration, the posterior width of times the standard deviation of , the uncertainty on the gap-driven spread of , 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, and grows with data density, because the two-step 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 (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 and 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 and WaZP’s 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, , 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 is , 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 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: in the joint fit and 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 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 — treating each mass bin equally, and weighting each bin by its share of the Fisher information on , which peaks near the minimum of the curve and beyond (Figure 17a, bottom panel). Both measured slopes lie within 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 (, 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 (red dotted). (a) Bottom: the cluster-count distribution of the sample in mass (grey) against the fraction of total 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 (Eq. (36)) added on top, every other parameter refit freely in both cases. The two posteriors agree within .
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 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,
Every other parameter (the mass-richness normalisation and slopes, the miscentered fraction, and the miscentering scale) is refit freely alongside , 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 ’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 , in close agreement with the power-law joint fit () and 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 , 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 ( against ). 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 , 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 , 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,
with a prior , in both fits, everything else unchanged. Each cluster’s magnitude gap then enters its mass through and its concentration through (and through ). 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 free, both couplings fall by similar amounts: the stacked one from 0.101 to , and the joint one from 0.057 to . Both fits prefer a positive , (stacked) and dex mag (joint), and in both the two slopes are anti-correlated (Figure 18). The two methods then differ by in and in . On the joint fit’s radial range, using only stacked bins above 0.25 Mpc, the stacked coupling is , within of the joint value. The Bayesian evidence of the stacked fit does not require the additional parameter (it slightly prefers 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, , and of mass at fixed richness, , with 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 in the original model, (solid, as in the rest of the paper), and with 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, ), the stacked model of Eq. (24) gives 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 beyond 1 Mpc, where the concentration has little effect, against and 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 .
Interpreting a gap-dependent mass-richness relation
A non-zero 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 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 amplitude difference between clusters of different 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 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 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.
| Change | Joint | Stacked |
| None (reference) | ||
| Sellentin and Heavens [72] likelihood | – | |
| Reduced shear in the model | ||
| Boost factors redrawn (8 draws, range of medians) | – | – |
| included (15,925 clusters) | – | |
| removed (13,181 clusters) | – | |
| Joint fit’s source selection () | – | |
| Bins above 0.25 Mpc | – | |
| Joint fit’s source selection and bins above 0.25 Mpc | – | |
| free per magnitude-gap tercile | ||
| and free per tercile | ||
| Redshift 0.1–0.3 only (’s fixed at 0) | – | |
| Redshift 0.3–0.5 only | – | |
| Redshift 0.5–0.7 only | – |
Table 7. Magnitude-gap slope [mag] 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 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 , 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 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 from 6.9 to 6.6 and the joint from 0.03 to 0.00, and changes 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 , consistent with the joint . 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 free per tercile, the stacked fit prefers the smallest miscentered fraction for the largest gaps (0.23 0.12 against 0.30 and 0.33), as expected if large-gap clusters are more often centred on the true potential minimum. Its then falls to 0.052, with an uncertainty three times larger (): 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 ( against 0.34 and 0.37) and keeps , unchanged from its reference value. The same holds with 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 () and () by , 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 | ||
| Stacked, (original) | – | |
| Stacked, free | ||
| Stacked, free, bins above 0.25 Mpc | ||
| Joint, (original) | – | |
| Joint, free |
Table 6. Magnitude-gap slopes of concentration (, in mag) and of mass at fixed richness (, in dex mag, Eq. (37)), with 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 , 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 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 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 , 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 and Mpc, but leaves 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 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 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 and 1.5–5.3× more on the other slopes, and is biased by 3 to 6 standard errors, except for , 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 in both methods but with the joint fit’s smaller uncertainty, while only the joint fit keeps its constraint under a gap-dependent miscentering.
| Parameter | LSST-like Bias | LSST-like Scatter ratio | DES-like Bias | DES-like Scatter ratio |
| [mag] | 6.50 | 2.03 | ||
| 5.14 | 1.62 | |||
| 5.27 | 1.49 | |||
| 2.52 | 0.85 | |||
| 1.22 | 0.96 | |||
| 1.76 | 1.80 | |||
| 1.71 | 1.59 |
Table 10. Two-step analysis of the simulated realisations: mean bias (fit minus truth) 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 (forward-modelled) and mag (joint); the joint value is consistent with no coupling and the forward-modelled one is from zero, so neither is a detection.
Both fits prefer a positive magnitude-gap dependence of the mass at fixed richness, (joint) and dex mag (forward-modelled), although the evidence of the stacked fit does not require the extra parameter. Since freeing 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, (joint) and (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 and (joint) and 0.918 0.048 and (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
with in the halo’s principal frame and proportional to its semi-axes . 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 is the halo’s , and its concentration keeps its spherical meaning
with the second draw conditioned on the first so that by construction. These ranges are chosen to mimic the axis-ratio distributions found for CDM haloes in -body simulations (e.g. Jing and Suto [31]). The line-of-sight direction is drawn independently and isotropically in the halo’s principal frame, and , 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 , 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 is lower by 2.8% on average (0.012 dex), and the mass within the radius where the enclosed mean density equals is lower by about 0.017 dex for . The axis ratios are drawn as
Projection onto the sky
With , a point has . Writing a point along the line of sight as and completing the square in gives , with
in an orthonormal sky-plane basis : is the Schur complement of along . Integrating the density along the line of sight then gives an exactly elliptical surface density,
where is the surface density of the spherical halo with the same and . The factor 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 , the total projected mass is the same for every orientation. Diagonalising , with eigenvalues , gives the projected axis ratio 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 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 isodensity ellipsoid with its principal axes and line-of-sight direction (top) and the projected lensing convergence of Eq. (41) (bottom), including the line-of-sight amplitude. Labels give the sky-plane ellipticity and the amplitude .
Shearing the background catalogue
In the frame of the projected major () and minor () axes, the convergence of Eq. (41) depends on position only through . For any such elliptical convergence , the second derivatives of the lensing potential reduce to one-dimensional integrals (Schramm [87]; Keeton [88]),
with and . The shear is , , rotated from the 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 in relative terms. The shear is then multiplied by ’s normalisation, the line-of-sight amplitude, and 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 , so that a response-corrected estimator recovers the injected signal unbiased.
We validated the implementation in four ways: for 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 , for one representative halo (, , ) sheared through the full measurement pipeline in 300 random shapes and orientations. Individual orientations differ from the spherical profile by up to –, 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 below the spherical one, nearly independent of radius, so a spherical NFW fit to the average profile recovers a mass dex low and a concentration low, whether or not the bins inside Mpc are included.
Figure 20. Effect of triaxiality on the measured of one representative halo (, , ), 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 (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 and , 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) | |
| 1.71 | 1.66 | 1.89 | |
| 1.54 | 1.51 | 1.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 evaluated at the logarithmic bin centre to its area-weighted average over the annulus, for a miscentered NFW halo at . 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 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.

Figure 22. Ratio of the bin-centre model to the bin-averaged model for the LSST-like (left) and DES-like and WaZP (middle) radial grids, for three halo masses at 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 directly. Figure 23 shows the boost excess 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 on average (inverse-variance weighted over the 11 cells with three usable terciles), against a typical , 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 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 ( 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 and once with all of them reversed, , 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 , at . Inverse-variance means with the per-cluster bootstrap variances are biased high by at 0.25 Mpc, at 0.44 Mpc and at 0.76 Mpc, while the same means with
Figure 24. Left: bias of the mean estimate, relative to the true profile, from paired 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 , and 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 (, , in the first three bins). The outermost bin is high by 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 , , , and the mass normalisation (the other parameters held at their true values) computed without refitting, bootstrap weights give a mean shift of mag in (realisation-to-realisation scatter 0.80), in and in , against (0.13), and 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 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 . For this fit we use the analytic covariance of Eq. (17), with the direct estimator of Eq. (15) as the data vector and 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 and unchanged within their uncertainties, but moves the posterior along the degeneracy between the concentration normalisation and the miscentering parameters, towards higher , and , and steepens the redshift slope of the mass-richness relation (Appendix § 14, Figure 25).

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 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 ( Mpc), not by the innermost bins. The likelihood along is shallow for both covariance estimators, with rising and falling along the valley, so the two estimators select different points of a weakly constrained direction. We conclude that , and are degenerate and weakly constrained by the individual profiles, so their values should not be given a physical interpretation, and that depends on how high-redshift, high-richness clusters are weighted; and 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 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 , and , and its posteriors for them are too narrow. The resulting fit places half of the clusters miscentered by Mpc ( and 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 without bias in the simulations. Refitting all 84 DES-like and 60 LSST-like realisations (the 48 of § 4 and twelve more at and with their galaxy-bootstrap covariances (floored inside 0.5 Mpc, as for the real data)) gives recovered-against-injected slopes of and , against and with the analytic covariance, and shifts relative to the analytic-covariance fit of the same realisation by and 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 , and shift by , and 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, and 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,
with the fitted 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).
| Parameter | Two-step | Forward-modelled |
| [mag] | ||
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:
Fewer free parameters. The two-step analysis gives every stack its own mass, concentration and miscentering ( 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; and are shared by all stacks and constrained by all of them, which breaks the per-stack degeneracy. This is the largest gain.
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.
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 but far less precise, and biased in other parameters (Table 10). Its recovered-against-injected slope of is (LSST-like) and (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 (LSST-like) and (DES-like). At LSST-like density its concentration normalisation is off by , and at DES-like density its mass-concentration slope and the redshift slope of the mass-richness relation are off by and . Apart from , 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 and 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 . 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 , 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 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 interval for a Gaussian posterior, and is generally somewhat wider than the marginal interval for degenerate posteriors.
| Parameter | Joint, bootstrap cov. | Joint, analytic cov. | Stacked |
| 8.346 [6.560, 11.192] | 8.670 [4.460, 11.236] | 6.988 [5.833, 8.600] | |
| 0.029 [−0.045, 0.172] | 0.055 [−0.226, 0.105] | 0.028 [−0.055, 0.125] | |
| 0.913 [0.509, 1.669] | 0.422 [−1.816, 0.765] | 0.510 [−0.016, 0.816] | |
| [mag] | 0.057 [0.015, 0.088] | 0.100 [−0.037, 0.119] | 0.112 [0.072, 0.131] |
| 14.290 [14.248, 14.299] | 14.260 [14.239, 14.284] | 14.334 [14.325, 14.349] | |
| 1.039 [0.989, 1.088] | 1.047 [0.969, 1.110] | 0.927 [0.865, 0.961] | |
| −2.028 [−2.279, −1.812] | −3.592 [−3.868, −3.184] | −1.732 [−1.996, −1.499] | |
| 0.370 [0.266, 0.461] | 0.506 [0.397, 0.587] | 0.307 [0.217, 0.390] | |
| [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 (, , , ) they are shifted along the degeneracy discussed in § 5.6; and agree within their intervals between the two covariance estimators, the mass normalisation shifts by 0.030 dex between the two, and depends strongly on it.
References
- [1]B. Diemer and M. Joyce, ApJ 871, 168 (2019).
- [2]F. Zwicky, Helvetica Physica Acta 6, 110 (1933).
- [4]J. G. Hoessel, J. E. Gunn, and T. X. Thuan, ApJ 241, 486 (1980).
- [5]D. Clowe, M. Bradac, A. H. Gonzalez, M. Markevitch, S. W. Randall, C. Jones, and D. Zaritsky, ApJ 648, L109 (2006).
- [6]S. W. Randall, M. Markevitch, D. Clowe, A. H. Gonzalez, and M. Bradac, ApJ 679, 1173 (2008).
- [7]R. Monteiro-Oliveira, Universe 12, 249 (2026).
- [8]D. G. York et al., AJ 120, 1579 (2000).
- [10]J. T. A. de Jong, G. A. Verdoes Kleijn, K. H. Kuijken, and E. A. Valentijn, Experimental Astronomy 35, 25 (2013).
- [11]R. Laureijs et al., Euclid Definition Study Report, Tech. Rep. (ESA, 2011) arXiv:1110.3193.arxiv.org/abs/1110.3193
- [12]Ž. Ivezić et al., ApJ 873, 111 (2019).
- [13]R. Akeson et al., arXiv e-prints (2019), 1902.05569.
- [14]W. H. Press and P. Schechter, ApJ 187, 425 (1974).
- [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).
- [16]S. W. Allen, A. E. Evrard, and A. B. Mantz, ARA&A 49, 409 (2011).
- [17]G. W. Pratt, M. Arnaud, A. Biviano, et al., Space Science Reviews 215, 25 (2019).
- [18]A. Biviano, in Reviews in Modern Astronomy, Vol. 19 (2006) arXiv:astro-ph/0609587.
- [20]A. Diaferio and M. J. Geller, ApJ 481, 633 (1997).
- [21]C. L. Sarazin, X-ray Emission from Clusters of Galaxies (Cambridge University Press, 1988).
- [22]A. Vikhlinin et al., ApJ 640, 691 (2006).
- [23]J.-P. Kneib and P. Natarajan, A&ARv 19, 47 (2011).
- [24]A. Lewis and A. Challinor, Phys. Rept. 429, 1 (2006).
- [25]S. Dodelson, PRD 70, 023009 (2004).
- [26]M. R. Becker and A. V. Kravtsov, ApJ 740, 25 (2011).
- [27]M. Oguri and T. Hamana, MNRAS 414, 1851 (2011).
- [28]H. Hoekstra, MNRAS 339, 1155 (2003).
- [29]H. Hoekstra, A&A 370, 743 (2001).
- [31]Y. P. Jing and Y. Suto, ApJ 574, 538 (2002).
- [32]D. E. Johnston et al., arXiv e-prints (2007), arXiv:0709.1159.arxiv.org/abs/0709.1159
- [33]E. S. Sheldon, D. E. Johnston, R. Scranton, B. P. Koester, et al., The Astrophysical Journal 703, 2217 (2009), arXiv:0709.1153.DOI
- [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
- [35]R. Murata, T. Nishimichi, M. Takada, H. Miyatake, et al., The Astrophysical Journal 854, 120 (2018), arXiv:1707.01907.DOI
- [36]T. McClintock et al., MNRAS 482, 1352 (2019).
- [37]A. Mantz, S. W. Allen, D. Rapetti, and H. Ebeling, MNRAS 406, 1773 (2010).
- [38]A. von der Linden et al., MNRAS 439, 2 (2014).
- [39]D. E. Applegate et al., MNRAS 439, 48 (2014).
- [40]S. Bocquet et al., ApJ 878, 55 (2019).
- [43]I.-N. Chiu et al., ApJ 661, A11 (2022), arXiv:2107.05652.DOI
- [44]M. Sereno and S. Ettori, MNRAS 450, 3633 (2015).
- [45]C. Benoist et al., arXiv e-prints (2025), arXiv:2507.05360.arxiv.org/abs/2507.05360
- [46]R. H. Wechsler, J. S. Bullock, J. R. Primack, A. V. Kravtsov, and A. A. Dekel, ApJ 568, 52 (2002).
- [47]A. Z. Vitorelli, E. Scypriano, M. Makler, M. E. S. Pereira, T. Erben, and B. Moraes, MNRAS 474, 866 (2018).
- [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
- [50]A. J. Deason, C. Conroy, A. R. Wetzel, and J. L. Tinker, ApJ 777, 154 (2013), arXiv:1306.3990.DOI
- [51]A. P. Hearin, A. R. Zentner, J. A. Newman, and A. A. Berlind, MNRAS 430, 1238 (2013), arXiv:1207.1074.DOI
- [52]Planck Collaboration, N. Aghanim, et al., A&A 641, A6 (2020), arXiv:1807.06209.
- [53]K. Umetsu, A&A 528, 7 (2020).
- [54]J. E. Gunn and J. R. Gott, III, ApJ 176, 1 (1972).
- [57]B. Moore, S. Ghigna, F. Governato, G. Lake, T. Quinn, J. Stadel, and P. Tozzi, ApJL 524, L19 (1999).
- [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).
- [59]A. Lewis, A. Challinor, and A. Lasenby, ApJ 538, 473 (2000).
- [60]E. Hayashi and S. D. M. White, MNRAS 388, 2 (2008), arXiv:0709.3933.DOI
- [61]Y. Zhang, T. Jelt ema, D. L. Hollowood, et al., MNRAS 487, 2578 (2019).
- [62]C. O. Wright and T. G. Brainerd, ApJ 534, 34 (2000).
- [63]A. A. Berlind and D. H. Weinberg, ApJ 575, 587 (2002).
- [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).
- [65]A. Cooray and R. Sheth, Phys. Rept. 372, 1 (2002).
- [66]E. S. Rykoff et al., ApJ 785, 104 (2014).
- [67]F. Bellagamba, M. Roncarelli, M. Maturi, and L. Moscardini, MNRAS 473, 5221 (2018).
- [68]C. Lacey and S. Cole, MNRAS 262, 627 (1993).
- [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).
- [70]B. Diemer, S. More, and A. V. Kravtsov, ApJ 766, 25 (2013).
- [71]A. F. Neto et al., MNRAS 381, 1450 (2007).
- [72]E. Sellentin and A. F. Heavens, MNRAS 456, L132 (2016), arXiv:1511.05969.DOI
- [73]D. Gruen, S. Seitz, M. R. Becker, O. Friedrich, and A. Mana, MNRAS 449, 4264 (2015), arXiv:1501.01632.DOI
- [74]J. H. Huggins and J. W. Miller, arXiv e-prints (2019), arXiv:1912.07104.arxiv.org/abs/1912.07104
- [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
- [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
- [77]G. F. Lesci, F. Marulli, L. Moscardini, M. Sereno, et al., Astronomy & Astrophysics 659, A88 (2022), arXiv:2012.12273.DOI
- [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
- [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
- [80]C. Payerne, Z. Zhang, M. Aguena, et al., Astronomy & Astrophysics 700, A34 (2025), arXiv:2502.08444.DOI
- [81]J. Hartlap, P. Simon, and P. Schneider, Astronomy & Astrophysics 464, 399 (2007).
- [82]Z. Zheng, A. L. Coil, and I. Zehavi, ApJ 667, 760 (2007).
- [83]A. A. Dutton and A. V. Macciò, MNRAS 441, 3359 (2014).
- [84]C. Seitz and P. Schneider, Astronomy & Astrophysics 318, 687 (1997), astro-ph/9601079.
- [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).
- [86]Z. Zhang, H.-Y. Wu, Y. Zhang, J. Frieman, et al., MNRAS 523, 1994 (2023).
- [87]T. Schramm, Astronomy & Astrophysics 231, 19 (1990).
- [88]C. R. Keeton, “A catalog of mass models for gravitational lensing,” (2001), arXiv:astro-ph/0102341.DOI
- [89]J. U. Lange, Monthly Notices of the Royal Astronomical Society 525, 3181 (2023), 2306.16923.
- [90]B. C. Kelly, ApJ 665, 1489 (2007), arXiv:0705.2774.DOI
- [91]J. P. Dietrich, Y. Zhang, J. Song, et al., MNRAS 443, 1713 (2014), arXiv:1405.2923.DOI
- [92]M. Gatti et al., MNRAS 504, 4312 (2021).
- [93]J. De Vicente, E. Sánchez, and I. Sevilla-Noarbe, MNRAS 459, 3078 (2016), arXiv:1511.07623.DOI
- [94]M. Aguena et al., MNRAS 502, 4435 (2021).
- [95]E. S. Sheldon and E. M. Huff, ApJ 841, 24 (2017).
- [96]N. MacCrann et al., MNRAS 509, 3371 (2022), arXiv:2012.08567.DOI
- [97]T. Sunayama, Y. Park, M. Takada, et al., MNRAS 496, 4468 (2020), arXiv:2002.03867.DOI
- [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.
- [99]T. N. Varga et al., MNRAS 489, 2511 (2019), arXiv:1812.05116.DOI
- [100]M. Oguri, J. Lee, and Y. Suto, The Astrophysical Journal 599, 7 (2003).
- [101]V. L. Corless and L. J. King, Monthly Notices of the Royal Astronomical Society 380, 149 (2007).
- [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


















