Skip to main content
Sandbox Physics
Weighing galaxy clusters with X-rays, SZ and lensing

Recompute X-COP hydrostatic masses and a toy SZ cluster survey

Sandbox Physics ·

Planck puts Abell 2029 at 7.04×1014M⊙7.04\times10^{14} M_\odot. A fit to the distortion of background galaxies gives 12.1×1014M⊙12.1\times10^{14} M_\odot. Download the data to compare those estimates with X-ray pressure and to see what changes when you use the same physical radius.

The first part reruns the fits for Abell 2029 and Abell 2319 from the public X-COP profiles. The second uses a simulated survey to follow the mass difference into a count. Start with hydrostatic mass bias and cluster counts if you want the derivation.

Get the files

Download and unpack the complete replay ZIP. The individual files are also available.

The ZIP preserves the folders. Create a Python environment with the versions listed in requirements.txt and run the replay.

python3 -m pip install -r requirements.txt
python3 reproduce.py

The run takes a few seconds and exits with status 0 when every number agrees with expected-outputs.json within its tolerance.

Step 1: read an input file

Each input file holds columns copied unchanged from the X-COP FITS tables for one cluster, the SHA-256 of every FITS file and of the release archive, and a header with the published redshift, R500R_{500}, M500M_{500} and the pressure unit P500P_{500}. Open xcop-a2029.json and find:

  • density: deprojected electron density NE in cm−3{\rm cm^{-3}} between radii R_IN and R_OUT in kpc, with lower and upper bounds.
  • pressureXRay: pressure P_X in units of P500P_{500} at radius RW_X in units of R500R_{500}.
  • pressureSZ: pressure P_SZ from Planck at RW_SZ. The FITS header says P/K500. Ghirardini et al. plot both pressure profiles in units of the same pressure scale in Figure 4.
  • gasFraction: the published gas fraction profile.

The team asks users to cite three papers: Ghirardini et al. for thermodynamic profiles, Ettori et al. for masses and Eckert et al. for gas fractions. Universal thermodynamic properties of the intracluster medium in the X-COP sample Hydrostatic mass profiles in X-COP galaxy clusters Non-thermal pressure support in X-COP galaxy clusters

Step 2: fit density and pressure

fit_density fits ln⁡ne\ln n_{\rm e} with a one-component form of the Vikhlinin et al. density model. Chandra sample of nearby relaxed galaxy clusters, Eq. 3 fit_pressure fits all X-ray and SZ points together with a generalised NFW profile, inner slope fixed at 0.3081 as in Arnaud et al. The universal galaxy cluster pressure profile from REXCESS, Eq. 12

The SZ points get one free scale factor. Where SZ and X-ray points overlap, the SZ values are lower: the median ratio is 0.73 for A2029 and 0.89 for A2319, and across all 12 clusters in the release it ranges from 0.73 to 1.24. A single profile could not pass through both sets. The fitted factors are 0.756 and 0.922, so the SZ points constrain the outer shape but not the normalisation.

The printed χ2\chi^2 is 75.8 for 24 pressure points in A2029 and 252 for 29 points in A2319. Treat these as weighted residual scores. The points are correlated and this calculation uses their individual error bars.

Step 3: hydrostatic mass and the cluster edge

analyse_cluster evaluates

M(<r)=−r2Gμmpne dPedr,μ=0.61,M(<r)=-\frac{r^2}{G\mu m_{\rm p}n_{\rm e}}\,\frac{\mathrm dP_{\rm e}}{\mathrm dr},\qquad \mu=0.61,

and finds R500R_{500} where the mean enclosed density reaches 500ρc(z)500\rho_{\rm c}(z) for H0=70H_0=70 and Ωm=0.3\Omega_{\rm m}=0.3. The profile measures electron pressure. Hydrostatic balance here assumes thermal pressure supports all the gas against gravity.

Table 5.1 Our hydrostatic fits against the published X-COP values.
Clusterour R500R_{500} (kpc)publishedour M500M_{500} (1014 M⊙10^{14}\ M_\odot)publishedratio
A2029139314148.288.650.957
A2319136113687.577.680.985

The mass depends on the logarithmic pressure slope at R500R_{500}: −2.69-2.69 for A2029 and −2.61-2.61 for A2319. For A2029 the fit sits on the bound of the outer slope parameter. The parameters trade off there, but the slope at R500R_{500} stays put.

Step 4. Three mass estimates from one data set

The script then integrates the gas mass with ρgas=μmp(ne+np)\rho_{\rm gas}=\mu m_{\rm p}(n_{\rm e}+n_{\rm p}) and ne=1.17npn_{\rm e}=1.17n_{\rm p}, and forms:

  1. the hydrostatic gas fraction at our R500R_{500}: 0.140 for A2029, 0.187 for A2319, against published 0.140 and 0.190;
  2. the mass at which the gas fraction would equal the universal 0.131: 9.22 and 14.7;
  3. the mass that the Planck X-ray-calibrated relation assigns to our spherical Y500Y_{500}: 8.44 and 10.0. Planck 2015 results XXIV, Sec. 1 and Eq. 7

For A2029, 1−0.131/0.140=0.0651-0.131/0.140=0.065 is a constant non-thermal fraction consistent with the gas fraction. For A2319 it is 0.30.

Step 5. Compare with the catalogues

Table 5.2 Masses at a mean density of 500ρc(z)500\rho_{\rm c}(z) in units of 1014 M⊙10^{14}\,M_\odot.
ClusterX-COP hydrostaticPlanck PSZ2 proxyCFHT weak lensing, NFW
A20298.657.04−0.19+0.207.04_{-0.19}^{+0.20}12.1±2.512.1\pm2.5
A23197.688.74−0.12+0.118.74_{-0.12}^{+0.11}

The Planck proxy exceeds the X-COP mass for Abell 2319 and falls below it for Abell 2029. The proxy applies a pressure-to-mass relation calibrated on hydrostatic masses. Its printed errors describe the catalogue extraction. The hydrostatic and Planck estimates share some Planck data. Second Planck SZ Catalogue, Sec. 7 and catalogue definitions

Herbonnet et al. also integrated the tangential shear around Abell 2029 and deprojected it using an NFW model. The central estimate is 10.8×1014 M⊙10.8\times10^{14}\,M_\odot inside 1.52 Mpc. At that same radius the published X-COP profile gives 9.21×1014 M⊙9.21\times10^{14}\,M_\odot. Their ratio is 0.85. The lensing mass alone spans (8.5,12.7)×1014 M⊙(8.5,12.7)\times10^{14}\,M_\odot over its quoted uncertainty. The frozen CFHT table supplies a match for Abell 2029. Its coverage leaves the Abell 2319 entry empty. Herbonnet et al., Sec. 5.2 and Table A2 of the pinned preprint

Step 6. Fit with the central Planck bins masked

The Planck beam smears the smallest radii. Ghirardini et al. drop the first three SZ bins. Repeat that cut and the best pressure scale factor moves from 0.756 to 0.888 for Abell 2029 and from 0.922 to 1.096 for Abell 2319. Fixing the scale to one on these same outer bins raises the weighted residual score from 60.9 to 64.4, and from 198.4 to 206.2, respectively. The fitted factor depends on the radial cut. Ghirardini et al., Sec. 2.5

Step 7. Rerun the simulated survey

cluster_count_selection.run builds a survey with true σ8=0.81\sigma_8=0.81 and true 1−b=0.81-b=0.8: Tinker mass function, Planck's YY-MM relation, lognormal scatter 0.173, noise growing with angular size, detection at q>6q>6, 65 percent of the sky, ten redshift bins from 0 to 1.

Table 5.3 Checks on the simulated survey.
CheckResult
analytic detections481.9
mean of 200 Monte Carlo surveys483.1, standard deviation 19.7
difference in standard errors0.86
detections predicted at σ8=0.81\sigma_8=0.81 if 1−b1-b were 11255

The Monte Carlo check matters because it draws individual clusters, scatters them and applies the cut, a route independent of the analytic integral. Then the script solves for the σ8\sigma_8 that matches the expected total for each assumed 1−b1-b: 0.916 at 0.6, 0.810 at 0.8, 0.739 at 1.0.

Failure cases kept on purpose

  • Abell 2029's pressure fit reaches the outer-slope bound. Abell 2319's fitted scale crosses unity after masking. A single temperature or pressure calibration cannot explain those checks on its own.
  • The script ignores covariance matrices and fits smooth forms, while the published masses come from forward-modelling. The fit tests whether the same inputs yield a nearby answer.
  • The published rows are an exercise in matching definitions and apertures. Estimating one population correction requires a sample and its selection model.
  • The toy survey's noise model and sky are simplified and its count is tuned to be similar to Planck's 439. It fits only the total count, so σ8\sigma_8 and 1−b1-b are completely degenerate.

A checklist for the next calibration paper

  1. Which mass does the paper call "true", and which mass calibrated the scaling relation?
  2. Are the reported masses thermal-only hydrostatic masses, or corrected for non-thermal pressure?
  3. Is YY spherical or cylindrical, and inside which radius?
  4. Is the scatter in the observable modelled together with the selection?
  5. Are calibration and cosmology fitted in separate stages, and how does the uncertainty of the first enter the second?

To check what the Lab shows against these numbers, open the cluster mass Lab.

Sources

  1. Universal thermodynamic properties of the intracluster medium in the X-COP sample
  2. Hydrostatic mass profiles in X-COP galaxy clusters
  3. Non-thermal pressure support in X-COP galaxy clusters
  4. Chandra sample of nearby relaxed galaxy clusters, Eq. 3
  5. The universal galaxy cluster pressure profile from REXCESS, Eq. 12
  6. Planck 2015 results XXIV, Sec. 1 and Eq. 7
  7. Second Planck SZ Catalogue, Sec. 7 and catalogue definitions
  8. Herbonnet et al., Sec. 5.2 and Table A2 of the pinned preprint

Keep reading

What this page links to directly

See this series on the content map →

Weighing galaxy clusters with X-rays, SZ and lensing · Reading path

From three scales to cluster counts

  1. ArticleWhy X-rays, the SZ effect and lensing weigh a galaxy cluster differently
  2. ArticleHow hot gas weighs a galaxy cluster in hydrostatic equilibrium
  3. ArticleA first computable cluster model with SZ Compton y and lensing shear
  4. ArticleHow a hydrostatic mass bias shifts cosmology from cluster counts
  5. You are hereRecompute X-COP hydrostatic masses and a toy SZ cluster survey
  6. ArticleHow to read the Planck 2015 SZ cluster counts and the mass bias
Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy