## Abstract

The largest clusters of galaxies in the Universe contain vast amounts of dark matter, plus baryonic matter in two principal phases, a majority hot gas component and a minority cold stellar phase comprising stars, compact objects, and low-temperature gas. Hydrodynamic simulations indicate that the highest-mass systems retain the cosmic fraction of baryons, a natural consequence of which is anti-correlation between the masses of hot gas and stars within dark matter halos of fixed total mass. We report observational detection of this anti-correlation based on 4 elements of a 9 × 9-element covariance matrix for nine cluster properties, measured from multi-wavelength observations of 41 clusters from the Local Cluster Substructure Survey. These clusters were selected using explicit and quantitative selection rules that were then encoded in our hierarchical Bayesian model. Our detection of anti-correlation is consistent with predictions from contemporary hydrodynamic cosmological simulations that were not tuned to reproduce this signal.

## Introduction

Dark matter, whose nature remains elusive, and ordinary matter described by the Standard Model of particle physics, are the strongly clustered materials of our Universe, with the latter component referred to as baryonic matter, or more simply baryons, by observational cosmologists^{1}. The question of how well these two components trace one another, across spatial scales and cosmic time, is central to our understanding of the astrophysics that drives galaxy formation and offers clues to the thermal nature of dark matter and other new physics.

Assuming weak-field (Newtonian) gravitational accretion and collisional shocks under the approximation of spherical symmetry, self-similar solutions^{2} emerge in which both collisionless dark matter and collisional baryonic fluids develop similar radial profiles when expressed in terms of a characteristic physical radius, the turn-around radius^{3} at which the perturbed Hubble flow is stationary. A key implication of this simple model is that dark matter and baryons exhibit no radial separation. Collapsed structures, referred to as halos, should retain the cosmic mix of these different fluids at all radii.

The most massive dark matter halos host groups and clusters of galaxies. Early X-ray measurements of the hot gas content of clusters upended the standard cold dark matter (CDM) model orthodoxy of a matter dominated universe^{4} before observations of Type Ia supernovae ushered in the current ΛCDM model of a universe dominated by a smooth dark energy component^{5}. The argument against a matter dominated universe relied on a fair sampling hypothesis, namely that the mean baryon fraction within clusters (ratio of baryonic mass to total mass) accurately reflects the cosmic mean baryon fraction. A natural consequence of this hypothesis is that the hot and cold fractions of baryons in clusters should be anti-correlated; at fixed total mass, clusters with more cold baryons should have less hot baryons, and vice versa. While this model does not define how baryons are partitioned into these phases, the constancy of the sum implies that a particular system with more hot gas than average must contain a lower stellar mass than average, and vice versa.

However, this simple model ignores important non-spherical and non-gravitational effects such as hierarchical mergers driven by large-scale filaments and the redistribution of energy, momentum and mass (generically termed feedback) by supernovae and active galactic nuclei (AGN). In low mass halos that host only one bright galaxy like the Milky Way, feedback is energetic enough to vent hot gas phase baryons out of these relatively shallow gravitational potentials^{6}. Even smaller halos of dwarf or satellite galaxies suffer severe baryon losses from collective supernova explosions. At the other extreme, the massive halos of rich galaxy clusters have much deeper gravitational potentials that shield them from feedback-driven baryon venting outside of their core regions^{7}. Thus, clusters are likely to be closed baryon boxes, unbiased reservoirs of the cosmic baryon fraction.

Studies of mean trends in gas and stellar mass fraction^{8,9} support the expectation that massive clusters are more closed than smaller halos, based on the trend of increasing baryon fraction with halo mass. However, measurements of absolute baryon fractions are currently subject to uncertain biases of \({\cal{O}}(10\% )\) in estimates of total mass, and this systematic uncertainty limits the reliability of comparison with the cosmic mean baryon fraction. We take a complementary approach based on *variance about mean behavior*, particularly the covariance of hot gas mass and stellar mass conditioned on total mass. This approach is encouraged by recent findings of strongly negative correlation coefficients (\(r \ \lesssim -\!0.5\)) from a pair of complex, multi-fluid cosmological simulations in which this statistic has been measured^{10,11}.

Observational studies have explored baryonic properties conditioned on estimated halo mass, particularly X-ray and thermal Sunyaev-Zel’dovich (SZ) Effect^{12} signatures from the hot gas phase and optical/infrared properties of galaxies^{13}. While correlations among internal hot gas properties have been measured in a few empirical studies^{14,15,16,17}, the degree of correlation between hot gas and galactic components has not yet been investigated. The minimum requirement for such an analysis is to obtain high quality observations of both stellar and gas properties for a cluster sample with well-defined selection rules and robust estimates of total cluster mass. Currently, these requirements are only fulfilled by the Local Cluster Substructure Survey (LoCuSS), a multi-wavelength survey of the 41 X-ray brightest galaxy clusters at redshifts of 0.15 < *z* < 0.3.

The LoCuSS sample is selected by applying a redshift-dependent X-ray luminosity (*L*_{X}) cut to clusters identified in the *ROSAT* All-sky Survey (RASS) catalog at high galactic latitudes. The multi-wavelength observations used in this study, obtained over the period of a decade (2005–2014) by co-authors, includes optical imaging data from the Subaru 8.2-m telescope, infrared data from the 3.8-m United Kingdom Infrared Telescope on Mauna Kea (UKIRT), X-ray observations from the *Chandra* and *XMM-Newton* satellites, and millimeter observations of the thermal SZ effect from the Planck satellite and the Sunyaev-Zel’dovich Array (SZA).

Here we report observational detection of anti-correlation between the hot and cold baryon contents of galaxy clusters. The key measurements are a subset of posterior estimates of 36 pairwise correlations among nine cluster properties derived from the LoCuSS observations, most measured within a radial scale defined by the weak-lensing estimate of each system’s mass^{18}. Details of the galaxy cluster sample and posterior measures of the slope, variance, and *L*_{X,}_{RASS}–property covariance for nine properties are presented in a companion work^{19}. Our detection of anti-correlation supports independent evidence that massive galaxy clusters retain close to the cosmic mix of baryons and dark matter, a finding that can underpin improved cluster cosmology from cross-wavelength sample analysis.

## Results

### Galaxy cluster property covariance

Table 1 lists the observable properties employed in this analysis. We model the data using a likelihood based on log-normal property covariance about mean scaling relations behaving as power-laws in halo mass^{20}. We employ default redshift scaling behaviors^{21}, but this assumption is unimportant due to the narrow redshift range of the sample. We assume that, on average, weak gravitational lensing measurements provide unbiased estimates of true cluster masses with 0.2 fractional scatter. To model the selection effect, we employ the threshold selection condition for *L*_{X,}_{RASS} emission used to define the LoCuSS cluster sample. X-ray emission offers clearer identification of massive halos, being less prone than cluster properties measured at other wavelengths to confusion from additional halos projected along the line of sight. While imprecise models of sample selection can bias scaling parameter estimates, we show in the Supplementary Information that inferred correlations among property pairs are insensitive to biases in posterior slope and variance estimates (See Supplementary Figs. 1 and 2).

Our analysis takes a hierarchical Bayesian approach that accounts for the effects of the sample selection, measurement error covariance induced by the use of a common sky aperture and other effects, as well as the halo space density as a function of mass for a ΛCDM cosmology. Uninformative priors are used in the regression; all quoted constraints are derived solely from the sample data. Our model simultaneously constrains the population scaling parameters associated with the multi-wavelength ensemble, the slopes, normalizations, and the mass-conditioned property covariance (see Eq. (2) in the “Methods” section). We report pairwise correlation coefficients, i.e., the covariance divided by the intrinsic scatter of each observable, as in Eq. (3).

An analysis of variance must be cognizant of astrophysical sources of scatter extrinsic to the host halos of the cluster sample. In particular, other halos along the line-of-sight will add correlated noise to some of a cluster’s observed properties^{22}. In the Supplementary Fig. 3 and Supplementary Table 1, we show that such sources of systematic error, including projection, tend to dilute the magnitude of an intrinsically anti-correlated property pair. We argue that it is conservative, then, to consider the measured magnitude of an anti-correlation between stellar mass and hot gas mass as effectively a lower limit to the underlying halo population value.

Table 2 presents the full property covariance matrix at fixed weak-lensing mass derived from the LoCuSS sample. While we report the entire matrix, our focus is mainly on the last two rows and columns that contain optical properties. The lower triangle elements summarize the correlation coefficients of property pairs while the diagonal elements provide standard deviations of each property. Median values from the Markov chain Monte Carlo (MCMC) chains, ~10^{5} in length, are quoted, and uncertainties give 68% confidence limits. As explained below in “Methods”, we impose a minimum value of 0.05 on the intrinsic scatter in the log of *K*-band luminosity, ln *L*_{K,tot}, at fixed halo mass when determining these statistics. The upper triangle gives the odds that each element has a sign opposite to that of its median value.

We first note the physically sensible result that the two independently measured properties reflecting a halo’s stellar mass–total K-band luminosity, *L*_{K,tot}, and optical richness *λ* – have a strong positive correlation, \(r = 0.77_{ - 0.27}^{ + 0.16}\). The probability of this value being negative is very small, 1.4%. Of these two measures, the quantity *λ* appears noisier, with median intrinsic scatter of 25% compared to only 9% for *L*_{K,tot}, but this may also reflect the different measurement errors quoted for each property. The fractional statistical uncertainties in *λ* are a factor ~3 smaller than those in *L*_{K,tot}. As we show in the Supplementary Fig. 2, bias and/or extra noise relative to the underlying halo population statistics will tend to dilute measured (anti-)correlations, and these effects can explain why some galaxy-hot gas property pairs yield weaker evidence of anti-correlation.

### Property covariance between hot and cold baryons

In the bottom two rows of Table 2, the elements linking galaxy and hot gas properties are mainly negative. Figure 1 highlights the correlation coefficients between the galaxy measures and two key measures of hot gas: the core-excised X-ray luminosity and the derived gas mass. Boxes show inner quartiles (25–75-percentile) and whiskers encompass the inner 95% of the marginalized posterior distributions. All pairs tend to be negative, as anticipated by the correlations between hot gas mass and stellar mass seen in hydrodynamical simulations^{10,11}, shown as background bands in Fig. 1. The consistency in sign of hot-cold phase covariance elements between observed proxy measures and their simulation-derived counterparts is an encouraging sign of fidelity in the sophisticated astrophysical treatments employed to model the coupled evolution of multiple baryon components at sub-cluster scales in modern cosmological simulations^{23}. A consistent feature of such simulations is that the mean baryon fraction measured within the characteristic *R*_{500} length scale used in this work approaches the cosmic value as system mass increases. This aspect, along with a reduction in the population variance in baryon component mass fractions, supports the fair sampling hypothesis and allows the most massive clusters to serve as cosmic distance rulers^{24}.

### Property covariance between hot gas observables

Figure 2 shows posterior constraints of correlations among different hot gas properties. Our results (shaded bands) of mainly strong positive correlations are consistent with both hydrodynamic simulation expectations^{25,26} and previous empirical measurements^{16,17,27}. Our constraints are broader in scope, i.e., a larger number of measurements of the ICM including *Y*_{X}, *Y*_{SZA}, and *Y*_{Pl}, and in most cases, more precise than the few existing estimates.

### Uncertainties and systematics

Due to the modest sample size, the uncertainty on any individual correlation coefficient remains large. Examining the upper triangle of Table 2, we find that the pairing of *L*_{K,tot} and *L*_{X,ce} is the strongest indicator of anti-correlation, with only a 1.8% chance of being zero or positive. As noted in Fig. 3 of the “Methods” section, the odds of a positive *L*_{K,tot}–*L*_{X,ce} correlation drop below one percent if the intrinsic scatter in *L*_{K,tot} at fixed halo mass is larger than 0.07. For the *λ* measure of stellar mass, the evidence is somewhat weaker, with a 9% chance that it correlates positively with *L*_{X,ce} at fixed halo mass.

It has previously been argued^{28,29} that the *K*-band integrated light is a more accurate indicator of a cluster’s total stellar mass than the number of optically-selected galaxies, i.e., optical richness. Our results appear to reinforce this finding, as the anti-correlations for *L*_{K,tot} and X-ray properties are systematically more negative than those inferred using *λ*. But, as noted above, underestimation of the statistical uncertainty in *λ* could also play a role in diluting *λ* correlations^{30} (see Supplementary Figs. 2 and 3).

The findings of anti-correlation using core-excised X-ray luminosity are reinforced by the derived gas mass, *M*_{gas}. Again, the infrared light provides a tighter constraint, with only a 6% chance of being zero or positive, while the odds rise to 30% when using *λ*. In the companion paper, we note that the slope of the *M*_{gas} scaling with halo mass is ~2.5*σ* lower than values derived by previous studies based solely on X-ray observations and also slopes inferred from modern hydrodynamic simulations. A bias in slope could dilute the anti-correlation signal and explain why *L*_{X,ce} provides more significant evidence of anti-correlation (Supplementary Fig. 1).

## Discussion

Property covariance has been forecast to significantly improve the power of joint, multi-wavelength survey analysis, especially in the case of anti-correlated properties^{31}. This work helps set the stage for such analysis by providing initial estimates of stellar and hot gas covariance and refined estimates of a larger number of property correlations. While statistical errors in our correlation estimates are currently large, the coming decades will see an explosion of multi-wavelength cluster data from wide-area surveys such as Large Synoptic Survey Telescope (LSST), Euclid, *e-ROSITA*, and the Stage-4 ground-based cosmic microwave background experiment (CMB-S4). These upcoming samples will allow a better understanding of the physics and feedback effects that regulate the ICM along with improved cosmological constraints from joint sample analysis.

For example, the application of cluster gas fraction as a standard ruler^{32} could benefit from the inclusion of stellar mass estimates. Just as lightcurve shape and color corrections are used to improve the quality of Type Ia supernovae distances, so could stellar mass measurements be used to derive a lower scatter distance proxy than provided by the gas fraction alone.

On the computational side, the sensitivity of cluster property population statistics to modeling treatments will become more apparent as computational advances in multi-phase plasma astrophysics enable refinements of processes at sub-resolution scales. Synthetic observations of halo populations produced along past lightcones under model-specific conditions, when mapped through survey-specific observational filters, offer a pathway for likelihood testing of increasingly sensitive, multi-wavelength observational surveys. A new era has arrived for studies of clusters of galaxies as a population, one in which astrophysics-dependent population statistics realized from simulations are tested against corresponding multi-wavelength, empirical data, with outcomes driving improvements in next generation models. Our results reinforce the discovery power of applying population statistical analysis to galaxy cluster samples with complete, uniform multi-wavelength observations that probe hot and cold phase baryons and total mass.

## Methods

### Cosmology and notation

We assume a universe with dimensionless energy densities at the current time in total matter (baryons plus dark matter) Ω_{m} = 0.3 and vacuum energy Ω_{Λ} = 0.7, with Hubble constant *H*_{0} = 70 kms^{−1} Mpc^{−1}. The Hubble expansion rate is normalized via \(E(z) \equiv H(z){\mathrm{/}}H_0 = \sqrt {{\mathrm{\Omega }}_{\mathrm{m}}(1 + z)^3 + {\mathrm{\Omega }}_{\mathrm{\Lambda }}}\). For the halo population, we employ a mass scale convention, *M*_{500}, defined as the mass within a sphere, of radius *r*_{500}, within which the mean enclosed density is 500*ρ*_{crit}(*z*), where *ρ*_{crit}(*z*) = 3*H*(*z*)^{2}/8*πG*, is the critical density of the universe^{1}. Unless stated otherwise, the weak-lensing determined radius, *r*_{500,WL}, defines the aperture within which integrated observable properties are derived.

### A multi-wavelength vector of observables

Here we describe the data vector employed in this study.

We study 41 X-ray bright clusters of the LoCuSS sample derived from RASS^{33,34,35}. The sample is selected by redshift-dependent thresholds of X-ray luminosity, *L*_{X,RASS}*E*^{−1}(*z*) > 4.4 × 10^{44} ergs^{−1} for clusters between 0.15 < *z* < 0.24 and *L*_{X,RASS}*E*^{−1}(*z*) > 7.0 × 10^{44} ergs^{−1} for 0.24 < *z* < 0.30. For each cluster nine additional properties, listed in Table 1, have been measured. Details are provided in the companion paper^{19}. The sample is complete in most, but not all, properties, as detailed below. The integrated observables can be grouped into three distinct sets: (i) a weak-lensing mass estimate of total system mass; (ii) quantities associated with the hot intracluster gas, and; (iii) quantities associated with stellar properties. We briefly describe each set as follows.

Using deep, multi-band optical images from Subaru/Suprime-Cam, a mass estimate for each cluster is derived by fitting the shear signal expected from weak gravitational lensing of a projected Navarro–Frenk–White (NFW, ref. ^{36}) mass density profile to the measured tangential shear pattern^{18}.

Properties of the hot gas content of clusters are mostly observable at X-ray and millimeter wavelengths. We use X-ray measurements of the ICM derived in ref. ^{37}, where the selected sample has been observed with either or both of the *Chandra* and *XMM-Newton* X-ray observatories.

To avoid contamination from the complex cool core region, measurements of bolometric luminosity, *L*_{X}, and gas temperature, *T*_{X}, are performed in an annulus of [0.15–1]*r*_{500,WL}. The gas mass, *M*_{gas}, is estimated from the observed X-ray emission profile within *r*_{500,WL}. The SZ effect, caused by the inverse Compton scattering of cosmic microwave background (CMB) photons by hot electrons in the ICM^{12}, is characterized by the parameter *Y*, which is proportional to the integrated electron thermal energy. The SZ effect from CMB intensity maps, *Y*_{SZ}, is measured via interferometry with SZA and independently with spectral filtering of Planck satellite data. A third estimate of the integrated electron thermal energy, *Y*_{X}, is derived from the X-ray observations as the product of gas mass, *M*_{gas}, and temperature, *T*_{X}. This quantity is measured within its own iteratively-defined *r*_{500}, as discussed in ref. ^{19}.

We employ two independent measures of the stellar content of clusters, the total near-infrared (NIR) luminosity, *L*_{K}, and a count of red-sequence galaxies, *λ*, referred to as optical richness. The NIR luminosity measurements, obtained with the WFCAM instrument on the UKIRT telescope^{29}, determine the background-subtracted light within the weak-lensing estimated radius, *r*_{500}, of each cluster, as well as *L*_{K} of the BCG. NIR data is missing for one cluster (Abell2697). The optical richness, *λ*, a measure of the number of red-sequence galaxies within the cluster used by the redMaPPer cluster detection algorithm^{38}, is determined for 33 clusters in the overlap region of the LoCuSS sample and the Sloan Digital Sky Survey (SDSS, ref. ^{39}).

### Regression model

We assume a log-normal probability distribution of cluster properties with mean values that scale as a power-law in halo mass and *E*(*z*). Because of the narrow redshift range of the LoCuSS sample, we assume standard, self-similar evolution in redshift. We employ a hierarchical Bayesian inference model that accounts for the sample selection truncation, measurement error covariance and intrinsic property covariance. An additional component of this inference model is a prior function on true halo masses derived from the halo mass function in the reference ΛCDM cosmology with *σ*_{8} = 0.8. The performance of this method to recover input scaling relations of synthetic, truncated samples is demonstrated in the companion paper^{19}.

The key element of our model is the conditional joint property likelihood^{20}, *p*(**S**|*M*_{halo}, *z*), of a vector of observables, **S** (elements in Table 1), given the true mass of the halo, *M*_{halo}, at redshift, *z*. For the LoCuSS sample clusters, we assume that the cluster weak-lensing mass, *M*_{WL}, is an unbiased measure of *M*_{halo} with 20% fractional scatter. Our method returns posterior estimates of the intercepts, slopes, and intrinsic variance of each property element as a function of the cluster weak-lensing mass, along with the covariance of pairs of observables. The latter is assumed to be independent of mass and redshift within the narrow ranges probed by the LoCuSS sample. Uninformative priors are used in the analysis.

Using natural logarithms of the properties, **s** = ln**S**, and mass, *μ* = ln*M*_{halo}, the log-mean scaling of observable *a* at a fixed redshift is linear

in which *α*_{a} and *π*_{a} are the slope and normalization of the scaling relation of property *a*.

For a pair of observables, *a* and *b*, the intrinsic property covariance matrix is

where *δs*_{a,i} ≡ *s*_{a,i} − *α*_{a}*μ*_{i} − *π*_{a} is the residual deviation from the mean scaling relation and *N* is the total number of clusters. Finally the property correlation coefficient is

This correlation coefficient is the quantity of interest that is studied in this letter. Our method constrains these correlation coefficients and the scaling parameters simultaneously, while including a covariance contribution from the reported measurement errors of the properties. Further details are provided in the companion paper^{19} that discusses mean scaling behaviors and property variance. This paper presents off-diagonal property covariance terms, except for *L*_{X,RASS} correlations which are presented in the companion paper.

### Statistical significance and scatter in K-band luminosity

In the companion paper, we show that the posterior constraints on the intrinsic scatter in *L*_{K,tot} are not bounded from below; values near zero are not only allowed by the data but the modal value of the posterior probability density function (PDF) is zero. The correlation coefficients between *L*_{K,tot} and other properties vary substantially as the scatter in ln *L*_{K,tot} drops to very low values. Very small values of this scatter, \(\sigma _{{\mathrm{ln}}L_K|M}\), are not physically reasonable. Cosmological hydrodynamics simulations have found values of \(\sigma _{{\mathrm{ln}}L_K|M}\ > \ 0.10\)^{11}, 0.32^{10}, or 0.16^{40}; and a recent observational study estimates a value of 0.22 ± 0.04^{41}.

The confidence intervals and statistical significance of the anti-correlation signals reported in the main text employ a lower limit of \(\sigma _{{\mathrm{ln}}L_K|M} = 0.05\). This choice is a conservative one, two times smaller than the smallest value reported above. We discard any point in the posterior chain with \(\sigma _{{\mathrm{ln}}L_K|M} \ < \ 0.05\). All numbers reported in the main text are based on this truncated posterior distribution. For the sake of symmetry, we also impose the same limit on the richness scatter, *σ*_{lnλ|M} ≥ 0.05, but this has a much smaller effect as the posterior PDF has very little support in this region.

The statistical significance of the hot-cold baryon phase anti-correlation reported here is sensitive to the choice of minimum value for the stellar mass scatter. Figure 3 illustrates the odds of having a positive correlation for an optical and *L*_{X} observable changes as a function of the imposed minimum value of \(\sigma _{{\mathrm{ln}}M_{{\mathrm{star}}}|M}\). For a minimum value of 0.1, the odds of a positive correlation between *L*_{K} and *L*_{X} at fixed halo mass are 0.006, or roughly three-*σ* evidence. The odds that *both* optical measures correlate positively with *L*_{X,ce} is very small, 0.005 for our fiducial minimum of 0.05 in \(\sigma _{{\mathrm{ln}}M_{{\mathrm{star}}}|M}\).

## Data availability

The observational data vector employed in this work is available via the companion paper^{19} [https://academic.oup.com/mnras/article/484/1/60/5274143]. The full posterior chains that support the findings of this study is publicly available in a figshare repository, [https://doi.org/10.6084/m9.figshare.8001218]. The source data underlying Figs. 1, 2, and 3 and Table 2 are reproducible via the posterior chains.

## Code availability

All analyses were performed with custom-built Python scripts. The MCMC is performed with PyMC^{42} [https://pymc-devs.github.io/pymc/], a Bayesian stochastic modeling package in Python. The analyses scripts are available from the corresponding author upon request.

## References

- 1.
Dodelson, S.

*Modern Cosmology*(Elsevier, Amsterdam, Netherlands, 2003). - 2.
Bertschinger, E. Self-similar secondary infall and accretion in an Einstein-de Sitter universe.

*Astrophys. J. Supp.***58**, 39–65 (1985). - 3.
Gunn, J. E. & Gott, J. R. III. On the infall of matter into clusters of galaxies and some effects on their evolution.

*Astrophys. J.***176**, 1 (1972). - 4.
White, S. D. M., Navarro, J. F., Evrard, A. E. & Frenk, C. S. The baryon content of galaxy clusters: a challenge to cosmological orthodoxy.

*Nature***366**, 429–433 (1993). - 5.
Riess, A. G. et al. Observational evidence from supernovae for an accelerating universe and a cosmological constant.

*Astron. J.***116**, 1009–1038 (1998). - 6.
Silk, J. & Mamon, G. A. The current status of galaxy formation.

*Res. Astron. Astrophys.***12**, 917–946 (2012). - 7.
Voit, G. M. et al. A global model for circumgalactic and cluster-core precipitation.

*Astrophys. J.***845**, 80 (2017). - 8.
Vikhlinin, A. et al. Chandra sample of nearby relaxed galaxy clusters: mass, gas fraction, and mass-temperature relation.

*Astrophys. J.***640**, 691–709 (2006). - 9.
Gonzalez, A. H., Sivanandam, S., Zabludoff, A. I. & Zaritsky, D. Galaxy Cluster Baryon Fractions Revisited.

*Astrophys. J.***778**, 14 (2013). - 10.
Wu, H.-Y. et al. RHAPSODY-G simulations: galaxy clusters as baryonic closed boxes and the covariance between hot gas and galaxies.

*Mon. Not. R. Astron. Soc.***452**, 1982–1991 (2015). - 11.
Farahi, A., Evrard, A. E., McCarthy, I., Barnes, D. J. & Kay, S. T. Localized massive halo properties in BAHAMAS and MACSIS simulations: scalings, log-normality, and covariance.

*Mon. Not. R. Astron. Soc*.**478**, 2618–2632 (2018). - 12.
Sunyaev, R. A. & Zeldovich, I. B. Microwave background radiation as a probe of the contemporary structure and history of the universe.

*Annu. Rev. Astron. Astrophys.***18**, 537–560 (1980). - 13.
Giodini, S. et al. Scaling relations for galaxy clusters: properties and evolution.

*Space Sci. Rev.***177**, 247–282 (2013). - 14.
Mantz, A., Allen, S. W., Ebeling, H., Rapetti, D. & Drlica-Wagner, A. The observed growth of massive galaxy clusters - II. X-ray scaling relations.

*Mon. Not. R. Astron. Soc.***406**, 1773–1795 (2010). - 15.
Maughan, B. J. PICACS: self-consistent modelling of galaxy cluster scaling relations.

*Mon. Not. R. Astron. Soc.***437**, 1171–1186 (2014). - 16.
Mantz, A. B., Allen, S. W., Morris, R. G. & Schmidt, R. W. Cosmology and astrophysics from relaxed galaxy clusters - III. Thermodynamic profiles and scaling relations.

*Mon. Not. R. Astron. Soc.***456**, 4020–4039 (2016). - 17.
Andreon, S., Wang, J., Trinchieri, G., Moretti, A. & Serra, A. L. Variegate galaxy cluster gas content: mean fraction, scatter, selection effects, and covariance with X-ray luminosity.

*Astron. Astrophys.***606**, A24 (2017). - 18.
Okabe, N. & Smith, G. P. LoCuSS: weak-lensing mass calibration of galaxy clusters.

*Mon. Not. R. Astron. Soc.***461**, 3794–3821 (2016). - 19.
Mulroy, S. L. et al. LoCuSS: scaling relations between galaxy cluster mass, gas, and stellar content.

*Mon. Not. R. Astron. Soc.***484**, 60–80 (2019). - 20.
Evrard, A. E., Arnault, P., Huterer, D. & Farahi, A. A model for multiproperty galaxy cluster statistics.

*Mon. Not. R. Astron. Soc.***441**, 3562–3569 (2014). - 21.
Kaiser, N. Evolution and clustering of rich clusters.

*Mon. Not. R. Astron. Soc.***222**, 323–345 (1986). - 22.
Noh, Y. & Cohn, J. D. Disentangling correlated scatter in cluster mass measurements.

*Mon. Not. R. Astron. Soc.***26**, 1829–1844 (2012). - 23.
Borgani, S. & Kravtsov, A. Cosmological simulations of galaxy clusters.

*Adv. Sci. Lett.***4**, 204–227 (2011). - 24.
Allen, S. W., Schmidt, R. W., Ebeling, H., Fabian, A. C. & van Speybroeck, L. Constraints on dark energy from Chandra observations of the largest relaxed galaxy clusters.

*Mon. Not. R. Astron. Soc.***353**, 457–467 (2004). - 25.
Stanek, R., Rasia, E., Evrard, A. E., Pearce, F. & Gazzola, L. Massive halos in millennium gas simulations: multivariate scaling relations.

*Astrophys. J.***715**, 1508–1523 (2010). - 26.
Truong, N. et al. Cosmological hydrodynamical simulations of galaxy clusters: X-ray scaling relations and their evolution.

*Mon. Not. R. Astron. Soc.***474**, 4089–4111 (2018). - 27.
Mantz, A. B. et al. Weighing the giants- V. Galaxy cluster scaling relations.

*Mon. Not. R. Astron. Soc.***463**, 3582–3603 (2016). - 28.
Lin, Y.-T. & Mohr, J. J. K-band properties of galaxy clusters and groups: brightest cluster galaxies and intracluster light.

*Astrophys. J.***617**, 879–895 (2004). - 29.
Mulroy, S. L. et al. LoCuSS: the near-infrared luminosity and weak-lensing mass scaling relation of galaxy clusters.

*Mon. Not. R. Astron. Soc.***443**, 3309–3317 (2014). - 30.
Costanzi, M. et al. Modelling projection effects in optically selected cluster catalogues.

*Mon. Not. R. Astron. Soc.***482**, 490–505 (2019). - 31.
Cunha, C. Cross-calibration of cluster mass observables.

*Phys. Rev. D.***79**, 063009 (2009). - 32.
Mantz, A. B. et al. Cosmology and astrophysics from relaxed galaxy clusters - II. Cosmological constraints.

*Mon. Not. R. Astron. Soc.***440**, 2077–2098 (2014). - 33.
Ebeling, H. et al. The ROSAT brightest cluster sample - I. The compilation of the sample and the cluster log N-log S distribution.

*Mon. Not. R. Astron. Soc.***301**, 881–914 (1998). - 34.
Ebeling, H. et al. The ROSAT brightest cluster sample - IV. The extended sample.

*Mon. Not. R. Astron. Soc.***318**, 333–340 (2000). - 35.
Böhringer, H. et al. The ROSAT-ESO Flux Limited X-ray (REFLEX) Galaxy cluster survey. V. The cluster catalogue.

*Astron. Astrophys.***425**, 367–383 (2004). - 36.
Navarro, J. F., Frenk, C. S. & White, S. D. M. A universal density profile from hierarchical clustering.

*Astrophys. J.***490**, 493–508 (1997). - 37.
Martino, R. et al. LoCuSS: hydrostatic mass measurements of the high-L

_{X}cluster sample - cross-calibration of Chandra and XMM-Newton.*Mon. Not. R. Astron. Soc.***443**, 2342–2360 (2014). - 38.
Rykoff, E. S. et al. redMaPPer. I. Algorithm and SDSS DR8 Catalog.

*Astrophys. J.***785**, 104 (2014). - 39.
Alam, S. et al. The Eleventh and Twelfth Data Releases of the Sloan Digital Sky Survey: Final Data from SDSS-III.

*Astrophys. J. Supp.***219**, 12 (2015). - 40.
Pillepich, A. et al. First results from the IllustrisTNG simulations: the stellar mass content of groups and clusters of galaxies.

*Mon. Not. R. Astron. Soc.***475**, 648–675 (2018). - 41.
Chiu, I. et al. Baryon Content in a Sample of 91 Galaxy Clusters Selected by the South Pole Telescope at 0.2 < z < 1.25.

*Mon. Not. R. Astron. Soc*.**478**, 3072–3099 (2018). - 42.
Patil, A., Huard, D. & Fonnesbeck, C. J. Pymc: Bayesian stochastic modelling in python.

*J. Stat. Softw.***35**, 1 (2010).

## Acknowledgements

We are grateful to Adam Mantz and Ben Maughan for useful discussions on population statistics. We thank Arif Babul and members of the LoCuSS, DES and XMM-XXL collaborations for their support. A. Farahi is supported by a McWilliams Postdoctoral Fellowship. A.E.E. and A. Farahi acknowledge support from NASA Chandra grants GO8-19107B and GO6-17116B. S.L.M. and G.P.S. acknowledge support from the STFC. G.P.S. acknowledges support from the Royal Society. C.O., D.P.M., Z.A., J.E.C. and CARMA operations were supported by NSF grant AST-1140019. C.P.H. acknowledges support from PRIN INAF 2014. H.B. and P.M. acknowledge financial contribution from the agreement ASI-INAF n.2017-14-H.O and from University of Rome “Tor Vergata” Grant, “Mission: Sustainability” EnClOS.

## Author information

### Affiliations

### Contributions

A. Farahi led the data analysis with contributions from A.E.E., S.L.M., G.P.S. and A. Finoguenov. S.L.M. and G.P.S. led the multi-wavelength observational studies. A. Farahi implemented, tested, and performed the statistical analysis. A. Farahi and A.E.E. wrote the main body of the manuscript. H.B., R.M. and P.M. contributed in deriving all the observational quantity related to the X-ray observations of the hot gas content and the SZ signal with the Planck satellite. C.P.H. was responsible for the K-band photometry and cluster galaxy selection. N.O. was responsible for measuring the weak-lensing masses. D.P.M. and J.E.C. were responsible for obtaining the SZA observations and D.P.M. supervised their analysis. C.O. analyzed interferometric data from SZA to estimate the *Y*_{SZ} for each cluster. All authors discussed the results, contributed to the discussions in the manuscript, and reviewed the manuscript. G.P.S. proposed and designed the LoCuSS (the principle investigator).

### Corresponding author

## Ethics declarations

### Competing interests

The authors declare no competing interests.

## Additional information

**Journal peer review information**: *Nature Communications* thanks the anonymous reviewers for their contribution to the peer review of this work. Peer reviewer reports are available.

**Publisher’s note:** Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Supplementary information

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Farahi, A., Mulroy, S.L., Evrard, A.E. *et al.* Detection of anti-correlation of hot and cold baryons in galaxy clusters.
*Nat Commun* **10, **2504 (2019). https://doi.org/10.1038/s41467-019-10471-y

Received:

Accepted:

Published:

## Comments

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.