arXiv ScienceSearch

arXiv subjects

Tiago Castro

Publications and source records attributed to Tiago Castro.

At least 19 recordsLinked to original sources

Dianoga simulations of galaxy clusters and groups: Properties of the baryonic components

We introduce the Dianoga set of cosmological simulations of galaxy clusters and groups, specifically aimed at studying the impact of the implementation of AGN feedback and star formation. Using the OpenGadget3 code, we carry out simulations of 28 regions centred on massive galaxy clusters, and of a cosmological box. This generates a sample of 293 halos with M_{200}> 1.5 x 10^{13} M_{\odot}. Parameters of AGN feedback in the reference implementation were minimally calibrated exclusively to match the local relation between SMBH masses and stellar masses of host galaxies. Simulations are compared to observed galaxy stellar mass function (GSMF), stellar mass fraction in clusters and groups, BCG masses, scaling relations between ICM/IGM properties and profiles of their thermodynamical properties. In the appendix, we show how results vary as we modify the reference feedback model in six alternative configurations. Our reference model predicts a GSMF in general agreement with observations, albeit overestimated in the high end. BCG stellar masses and mass fractions are higher than observed in massive clusters, while being closer to observations for groups. Predicted properties of the ICM/IGM are in general agreement with observations, with the core regions of simulated clusters having entropy and temperature profiles that are slightly less "cool-cored" than observed. A comparison with other implementations of AGN feedback highlights that models including thermal evaporation of the sub-resolution interstellar medium succeed to bring BCG masses and stellar mass fractions closer to observation, and to increase the cool-coreness of simulated clusters. Our results demonstrate that the details of the interface between AGN energy injection and the sub-resolution interstellar medium model are at least as critical as the total feedback efficiency itself.

astro-ph.CO

Baryonic assembly bias in X-ray-selected galaxy groups and clusters: insights from the Magneticum simulation

Galaxy groups and clusters trace the large-scale matter distribution, with their clustering usually interpreted mainly as a function of halo mass. Yet, at fixed mass, their baryonic properties retain information about halo growth, gas accretion, and feedback. The intrinsic scatter in X-ray luminosity and gas fraction suggests that X-ray-selected systems may not be a random subset of the halo population. If these observables correlate with halo assembly, they may trace secondary variations in halo bias. We test this using the Magneticum hydrodynamical simulation, measuring the clustering of systems selected by X-ray luminosity and gas fraction at fixed halo mass. We construct mass-matched subsamples by ranking halos in percentiles of X-ray luminosity and derive the linear halo-matter bias from the halo-matter cross-power spectrum. X-ray-bright halos are more strongly clustered than X-ray-faint halos at fixed mass. For the 84th-16th percentile split, we find $\Delta b_{\rm lin}=0.17\pm0.03$, corresponding to a $\sim17\%$ enhancement relative to the X-ray-faint sample. A 67th-33rd split gives a consistent signal, with $\Delta b_{\rm lin}=0.12\pm0.02$ and a $\sim12\%$ enhancement. The effect is strongest at group scales and negligible for cluster-size halos. Gas fraction shows an even stronger clustering dependence, with relative enhancements of $\sim39\%$ and $\sim26\%$ for the two percentile splits. This signal is present from $z\simeq2$, whereas X-ray luminosity becomes significant only at $z\simeq0.3$, once the gas thermodynamic state is more closely coupled to baryon retention. Matching halos by both mass and formation time reduces the large-scale bias difference to below $2\sigma$, indicating that formation time captures much of the signal. These results show that, in Magneticum, X-ray luminosity traces a baryonic manifestation of halo assembly bias beyond mass.

astro-ph.CO

X-ray emission maps and scaling relations in IllustrisTNG and MillenniumTNG: Differences between cluster and group regimes

X-ray observations are a primary probe of the intracluster medium, widely used to infer galaxy cluster masses and scaling relations. We present and validate a pipeline to generate X-ray emission maps of galaxy groups and clusters from large cosmological simulations, and use it to study the origin of deviations from self-similarity across the group-to-cluster transition. We apply this pipeline to the Illustris-TNG300 and MillenniumTNG simulations, constructing \mbox{X-ray} emission maps and spectra based on APEC cooling functions. For simulations that do not explicitly track individual chemical abundances, we introduce a metallicity-based prescription that accurately reproduces the full spectral emission. We derive the $L_{\mathrm{X}}$--$M_{500}$, $M_{\mathrm{gas}}$--$M_{500}$, and $T$--$M_{500}$ scaling relations over $10^{12.5} \leq M_{500} \leq 10^{15.5}\,\mathrm{M}_\odot$, compare them with observational data, and quantify the hydrostatic equilibrium and spectroscopic temperature biases through synthetic X-ray analyses. The simulated scaling relations are in good overall agreement with observations and are best described by broken power laws with a pivot at $M_{500}=10^{13.67}\,\mathrm{M}_\odot$. At high masses, the slopes are close to self-similar expectations; at lower masses the relations steepen significantly, reflecting the growing importance of AGN feedback. X-ray hydrostatic masses are systematically underestimated by $15\%$, independently of cluster mass. When spectroscopic effects are included, the bias becomes mass-dependent, ranging from $15\%$ at low masses to $21\%$ at high masses. The recovered X-ray luminosity, measured in the $0.15$--$1\,R_{500}$ aperture, is also mass-dependent: high-mass clusters are underestimated by $18\%$, while low-mass systems show discrepancies of up to $33\%$, driven by single-temperature spectral modelling of the gas outside the core.

astro-ph.GA

Galaxy Phase-Space and Field-Level Cosmology: The Strength of Semi-Analytic Models

Semi-analytic models are a widely used approach to simulate galaxy properties within a cosmological framework, relying on simplified yet physically motivated prescriptions. They have also proven to be an efficient alternative for generating accurate galaxy catalogs, offering a faster and less computationally expensive option compared to full hydrodynamical simulations. In this paper, we demonstrate that using only galaxy $3$D positions and radial velocities, we can train a graph neural network coupled to a moment neural network to obtain a robust machine learning based model capable of estimating the matter density parameters, $\Omega_{\rm m}$, with a precision of approximately 10%. The network is trained on ($25 h^{-1}$Mpc)$^3$ volumes of galaxy catalogs from L-Galaxies and can successfully extrapolate its predictions to other semi-analytic models (GAEA, SC-SAM, and Shark) and, more remarkably, to hydrodynamical simulations (Astrid, SIMBA, IllustrisTNG, and SWIFT-EAGLE). Our results show that the network is robust to variations in astrophysical and subgrid physics, cosmological and astrophysical parameters, and the different halo-profile treatments used across simulations. This suggests that the physical relationships encoded in the phase-space of semi-analytic models are largely independent of their specific physical prescriptions, reinforcing their potential as tools for the generation of realistic mock catalogs for cosmological parameter inference.

astro-ph.CO

Accurate cosmological emulator for the probability distribution function of gravitational lensing of point sources

We develop an accurate and computationally efficient emulator to model the gravitational lensing magnification probability distribution function (PDF), enabling robust cosmological inference of point sources such as supernovae and gravitational-wave observations. We construct a pipeline utilizing cosmological $N$-body simulations, creating past light cones to compute convergence and shear maps. Principal Component Analysis (PCA) is employed for dimensionality reduction, followed by an eXtreme Gradient Boosting (XGBoost) machine learning model to interpolate magnification PDFs across a broad cosmological parameter space ($\Omega_m$, $\sigma_8$, $w$, $h$) and redshift range ($0.2 \le z \le 6$). We identify the optimal number of PCA components to balance accuracy and stability. Our emulator, publicly released as ace_lensing, accurately reproduces lensing PDFs with a median Kullback-Leibler divergence of $0.007$. Validation on the test set confirmed that the model reliably reproduces the detailed shapes and statistical properties of the PDFs across the explored parameter range, showing no significant degradation for specific parameter combinations or redshifts. Future work will focus on incorporating baryonic physics through hydrodynamical simulations and expanding the training set to further enhance model accuracy and generalizability.

astro-ph.CO

Towards Exascale Computing for Astrophysical Simulation Leveraging the Leonardo EuroHPC System

Developing and redesigning astrophysical, cosmological, and space plasma numerical codes for existing and next-generation accelerators is critical for enabling large-scale simulations. To address these challenges, the SPACE Center of Excellence (SPACE-CoE) fosters collaboration between scientists, code developers, and high-performance computing experts to optimize applications for the exascale era. This paper presents our strategy and initial results on the Leonardo system at CINECA for three flagship codes, namely gPLUTO, OpenGadget3 and iPIC3D, using profiling tools to analyze performance on single and multiple nodes. Preliminary tests show all three codes scale efficiently, reaching 80% scalability up to 1,024 GPUs.

cs.DC

DUCA: Dynamic Universe Cosmological Analysis. II. The impact of clustering dark energy on the halo mass function

Galaxy clusters are powerful probes of cosmology, and the halo mass function (HMF) serves as a fundamental tool for extracting cosmological information. Previous calibrations of the HMF in dynamical dark energy (DE) models either assumed a homogeneous DE component or a fixed sound speed of unity, which strongly suppresses DE perturbations. We extend the HMF calibration to clustering dark energy (CDE) models by allowing for a sound speed $(c_{\rm s})$ value different than unity. This generalization enables a broader description of the impact of DE perturbations on structure formation. Our approach builds upon the DUCA simulation suite that accounts for DE at the background and perturbative levels. We present an HMF calibration based on introducing an effective peak height while maintaining the multiplicity function as previously calibrated. The effective peak height is written as a function of the peak height computed using the matter power spectrum of the homogeneous DE case, but it is modulated by the amplitude of DE and matter perturbations on the non-homogeneous case at the turnaround. The model depends on one single parameter, which we calibrate using $N$-body simulations, following a Bayesian approach. The resulting HMF model achieves sub-percent accuracy over a wide range of $c_{\rm s}$ values. Our analysis reveals that, although the overall impact of CDE on halo abundances remains modest (typically a few percent), the effects are more pronounced in non-phantom DE scenarios. Our model qualitatively agrees with predictions based on the spherical collapse model, but predicts a significantly lower impact for low $c_{\rm s}$. Our results underscore the need for more precise modeling of CDE's nonlinear regime. Numerical simulations and theoretical approaches must be advanced to capture the complex interplay between DE perturbations and matter fully.

astro-ph.CO

Power spectrum of the CODEX clusters

Aims. We analyze the clustering of galaxy clusters in a large contiguous sample, the Constrain Dark Energy with X-ray (CODEX) sample. We construct a likelihood for cosmological parameters by comparing the measured clustering signal and a theoretical prediction, and use this to obtain parameter constraints. Methods. We measured the three multipole moments (monopole, quadrupole, and hexadecapole, $\ell = 0, 2, 4$) of the power spectrum of a subset of the CODEX clusters. To fully model cluster clustering, we also determined the expected clustering bias of the sample using estimates for the cluster masses and a mass-to-bias model calibrated using N-body simulations. We estimated the covariance matrix of the measured power spectrum multipoles using a set of simulated dark-matter halo catalogs. Combining all these ingredients, we performed a Markov chain Monte Carlo sampling of cosmological parameters $\Omega_m$ and $\sigma_8$ to obtain their posterior. Results. We found the CODEX clustering signal to be consistent with an earlier X-ray selected cluster sample, the REFLEX II sample. We also found that the measured power spectrum multipoles are compatible with the predicted, bias-scaled linear matter power spectrum when the cosmological parameters determined by the Planck satellite are assumed. Furthermore, we found the marginalized parameter constraints of $\Omega_m = 0.24^{+0.06}_{-0.04}$ and $\sigma_8 = 1.13^{+0.43}_{-0.24}$. The full 2D posterior is consistent, for example, with the Planck cosmology within the 68% confidence region.

astro-ph.CO

DUCA: Dynamic Universe Cosmological Analysis. I. The halo mass function in dynamical dark energy cosmologies

The halo mass function (HMF) is fundamental for interpreting the number counts of galaxy clusters, serving as a pivotal theoretical tool in cosmology. With the advent of high-precision surveys such as LSST, eROSITA, DESI, and Euclid, accurate HMF modeling becomes indispensable to avoid systematic biases in cosmological parameter estimation from cluster cosmology. Moreover, these surveys aim to shed light on the dark sector and uncover dark energy's puzzling nature, necessitating models that faithfully capture its features to ensure robust parameter inference. We aim to construct a model for the HMF in dynamical dark energy cosmologies that preserves the accuracy achieved for the standard $\Lambda (\nu)$CDM model of cosmology, while meeting the precision requirements necessary for future cosmological surveys. Our approach models the HMF parameters as functions of the deceleration parameter at the turnaround, a quantity shown to encapsulate essential information regarding the impact of dynamical dark energy on structure formation. We calibrate the model using results from a comprehensive suite of $N$-body simulations spanning various cosmological scenarios, ensuring sub-percent systematic accuracy. We present an HMF model tailored for dynamical dark energy cosmologies. The model is calibrated following a Bayesian approach, and its uncertainty is characterized by a single parameter controlling its systematic error, which remains at the sub-percent level. This ensures that theoretical uncertainties from our model are subdominant relative to other error sources in future cluster number counts analyses.

astro-ph.CO

On the Robustness of Cluster Clustering Covariance Calibration

Ongoing and upcoming wide-field surveys at different wavelengths will measure the distribution of galaxy clusters with unprecedented precision, demanding accurate models for the two-point correlation function (2PCF) covariance. In this work, we assess a semi-analytical framework for the cluster 2PCF covariance that employs three nuisance parameters to account for non-Poissonian shot noise, residual uncertainties in the halo bias model, and subleading noise terms. We calibrate these parameters on a suite of fast approximate simulations generated by PINOCCHIO as well as full $N$-body simulations from OpenGADGET3. We demonstrate that PINOCCHIO can reproduce the 2PCF covariance measured in OpenGADGET3 at the few percent level, provided the mass functions are carefully rescaled. Resolution tests confirm that high particle counts are necessary to capture shot-noise corrections, especially at high redshifts. We perform the parameter calibration across multiple cosmological models, showing that one of the nuisance parameters, the non-Poissonian shot-noise correction $\alpha$, depends mildly on the amplitude of matter fluctuations $\sigma_8$. In contrast, the remaining two parameters, $\beta$ controlling the bias correction and $\gamma$ controlling the secondary shot-noise correction, exhibit more significant variation with redshift and halo mass. Overall, our results underscore the importance of calibrating covariance models on realistic mock catalogs that replicate the selection function of forthcoming surveys and highlight that approximate methods, when properly tuned, can effectively complement full $N$-body simulations for precision cluster cosmology.

astro-ph.CO

Redshift Drift fluctuations from N-body simulations

Measurements of the redshift drift -- the real time variation of the redshift of distance sources -- are expected in the next couple of decades using next generation facilities such as the ANDES spectrograph at the ELT and the SKAO survey. The unprecedented precision of such observations will demand precise theoretical and numerical modeling of the effect in the standard $\Lambda$CDM cosmology. In this work, we use the \texttt{Gadget4} $N$-body code to simulate the redshift drift and its fluctuations in $\Lambda$CDM cosmologies, deriving the corresponding power spectra from a simulation with $1024^3$ particles in a $1\textrm{Gpc}\,h^{-1}$ box. Our results represent an initial step toward deriving the redshift drift fluctuation power spectra from $N$-body simulations and establishing a methodology for the statistical analysis of the redshift drift effect using data from future large-scale surveys. However, further work is required to refine the approach and achieve an accurate modeling of the redshift drift fluctuation power spectra.

astro-ph.CO

The Glow of Axion Quark Nugget Dark Matter: (I) Large Scale Structures

Axion quark nuggets (AQNs) are hypothetical objects with a mass greater than a few grams and sub-micrometer size, formed during the quark-hadron transition. Originating from the axion field, they offer a possible resolution of the similarity between visible and dark components of the Universe. These composite objects behave as cold dark matter, interacting with ordinary matter and resulting in pervasive electromagnetic radiation throughout the Universe. This work aims to predict the electromagnetic signature in large-scale structures from the AQN-baryon interaction, accounting for thermal and non-thermal radiations. We use Magneticum hydrodynamical simulations to describe the distribution and dynamics of gas and dark matter at cosmological scales. We calculate the electromagnetic signature from radio, starting at $\nu \sim$ 1 GHz, up to a few keV X-ray energies. We find that the AQNs signature is characterized by monopole and fluctuation signals. The amplitude of both signals strongly depends on the average AQN mass and the ionization level of the baryonic environment. We identify a most optimistic scenario with a signal often near the sensitivity limit of existing instruments, such as FIRAS and the South Pole Telescope for high-resolution. Fluctuations in the Extra-galactic Background Light caused by the AQN can be tested with space-based imagers Euclid and James Webb Space Telescope. We also identify a minimal configuration, still out of reach of existing instruments, but future experiments might be able to pose constraints on the AQN model. We conclude that this is a viable dark matter model, which does not violate the canons of cosmology, nor existing observations. The best chances for testing this model reside in 1) ultra-deep IR and optical surveys, 2) spectral distorsions of the CMB and 3) low-frequency (1 GHz < $\nu $ < 100 GHz) and high-resolution ($\ell > 10^4$) observations.

astro-ph.CO

KiDS-1000 and DES-Y1 combined: Cosmology from peak count statistics

We analyse the fourth data release of the Kilo Degree Survey (KiDS-1000) and extract cosmological parameter constraints based on the cosmic shear peak count statistics. Peaks are identified in aperture mass maps in which the filter is maximally sensitive to angular scales in the range 2-4arcmin, probing deep into the non-linear regime of structure formation. We interpret our results with a simulation-based inference pipeline, sampling over a broad $w$CDM prior volume and marginalising over uncertainties on shape calibration, photometric redshift distribution, intrinsic alignment and baryonic feedback. Our measurements constrain the structure growth parameter and the amplitude of the non-linear intrinsic alignment model to $\Sigma_8 \equiv \sigma_8\left[\Omega_{\rm m}/0.3\right]^{0.60}=0.765^{+0.030}_{-0.030}$ and $A_{\rm IA}= 0.71^{+0.42}_{-0.42}$, respectively, in agreement with previous KiDS-1000 results based on two-point shear statistics. These results are robust against modelling of the non-linear physics, different scale cuts and selections of tomographic bins. The posterior is also consistent with that from the Dark Energy Survey Year-1 peak count analysis presented in Harnois-D\'eraps et al (2021), and hence we jointly analyse both surveys. We obtain $\Sigma_8^{\rm joint} \equiv \sigma_8\left[\Omega_{\rm m}/0.3\right]^{0.57}=0.759^{+0.020}_{-0.017}$, in agreement with the Planck $w$CDM results. The shear-CMB tension on this parameter increases to $3.1\sigma$ when forcing $w=-1.0$, and to $4.1\sigma$ if comparing instead with $S_{8,\Lambda{\rm CDM}}^{\rm joint} = 0.736^{+0.016}_{-0.018}$, one of the tightest constraints to date on this quantity. (abridged)

astro-ph.CO

A deconstruction of methods to derive one-point lensing statistics

Gravitational lensing is a crucial tool for exploring cosmic phenomena, providing insights into galaxy clustering, dark matter, and dark energy. Given the substantial computational demands of $N$-body simulations, approximate methods like $\texttt{PINOCCHIO}$ and $\texttt{turboGL}$ have been proposed as viable alternatives for simulating lensing probability density functions (PDFs). This paper evaluates these methods and their effectiveness across both weak and strong lensing regimes, with a focus in the context where baryonic effects are negligible. Our comparative analysis reveals that these methods are effective for applications where lensing is mild, such as the majority of sources of electromagnetic and gravitational waves. However, both $\texttt{PINOCCHIO}$ and $\texttt{turboGL}$ break down for large values of convergence and magnification due to their loss of accuracy in capturing small-scale nonlinear matter fields, owing to oversimplified assumptions about internal halo structures and reliance on perturbation theory. $\texttt{PINOCCHIO}$ yields second-to-fourth moments of the lensing PDFs, which are 6-10% smaller than those resulting from $N$-body simulations in regimes where baryonic effects are minimal. These findings aim to inform future studies on gravitational lensing of point sources, which are increasingly relevant with upcoming supernova and gravitational wave datasets.

astro-ph.CO

Field-level simulation-based inference with galaxy catalogs: the impact of systematic effects

It has been recently shown that a powerful way to constrain cosmological parameters from galaxy redshift surveys is to train graph neural networks to perform field-level likelihood-free inference without imposing cuts on scale. In particular, de Santi et al. (2023) developed models that could accurately infer the value of $\Omega_{\rm m}$ from catalogs that only contain the positions and radial velocities of galaxies that are robust to uncertainties in astrophysics and subgrid models. However, observations are affected by many effects, including 1) masking, 2) uncertainties in peculiar velocities and radial distances, and 3) different galaxy selections. Moreover, observations only allow us to measure redshift, intertwining galaxies' radial positions and velocities. In this paper we train and test our models on galaxy catalogs, created from thousands of state-of-the-art hydrodynamic simulations run with different codes from the CAMELS project, that incorporate these observational effects. We find that, although the presence of these effects degrades the precision and accuracy of the models, and increases the fraction of catalogs where the model breaks down, the fraction of galaxy catalogs where the model performs well is over 90 %, demonstrating the potential of these models to constrain cosmological parameters even when applied to real data.

astro-ph.CO

Cosmological constraints from abundance, weak-lensing and clustering of galaxy clusters: application to the SDSS

The clustering of galaxy clusters is a powerful cosmological tool, which can help to break degeneracies between parameters when combined with other cosmological observables. We aim to demonstrate its potential in constraining cosmological parameters and scaling relations when combined with cluster counts and weak lensing mass information, using as a case study the redMaPPer cluster catalog derived from the Sloan Digital Sky Survey (SDSS). We extend the analysis of number counts and weak lensing signal performed by Costanzi et al. 2019a, with the addition of the real-space 2-point correlation function. We derive cosmological and scaling relation posteriors for all the possible combinations of the three observables to assess their constraining power, parameter degeneracies, and possible internal tensions. We find no evidence for tensions between the three data set analyzed. We demonstrate that the inclusion of the cluster clustering statistic can greatly enhance the constraining power of the sample thanks to its capability of breaking the $\Omega_{\rm m} - \sigma_8$ degeneracy characteristic of cluster abundance studies. In particular, for a flat $\Lambda$CDM model with massive neutrinos, we obtain $\Omega_{\rm m}=0.28 \pm 0.03$ and $\sigma_8 = 0.82 \pm 0.05$, a 33% and 50% improvement compared to the posteriors derived combining cluster abundance and weak lensing analyses. Our results are consistent with cosmological posteriors from other cluster surveys, as well as with Planck CMB results and DES-Y3 galaxy clustering and weak-lensing analysis.

astro-ph.CO

KiDS-1000 cosmology: Combined second- and third-order shear statistics

This paper performs the first cosmological parameter analysis of the KiDS-1000 data with second- and third-order shear statistics. This work builds on a series of papers that describe the roadmap to third-order shear statistics. We derive and test a combined model of the second-order shear statistic, namely the COSEBIs and the third-order aperture mass statistics $\langle M_\mathrm{ap}^3\rangle$ in a tomographic set-up. We validate our pipeline with $N$-body simulations that mock the fourth Kilo Degree survey data release. To model the second- and third-order statistics, we use the latest version of \textsc{HMcode2020} for the power spectrum and \textsc{BiHalofit} for the bispectrum. Furthermore, we use an analytic description to model intrinsic alignments and hydro-dynamical simulations to model the effect of baryonic feedback processes. Lastly, we decreased the dimension of the data vector significantly by considering for the $\langle M_\mathrm{ap}^3\rangle$ part of the data vector only equal smoothing radii, making a data analysis of the fourth Kilo Degree survey data release using a combined analysis of COSEBIs third-order shear statistic possible. We first validate the accuracy of our modelling by analysing a noise-free mock data vector assuming the KiDS-1000 error budget, finding a shift in the maximum-a-posterior of the matter density parameter $\Delta \Omega_m< 0.02\, \sigma_{\Omega_m}$ and of the structure growth parameter $\Delta S_8 < 0.05\, \sigma_{S_8}$. Lastly, we performed the first KiDS-1000 cosmological analysis using a combined analysis of second- and third-order shear statistics, where we constrained $\Omega_m=0.248^{+0.062}_{-0.055}$ and $S_8=\sigma_8\sqrt{\Omega_m/0.3}=0.772\pm0.022$. The geometric average on the errors of $\Omega_\mathrm{m}$ and $S_8$ of the combined statistics increased compared to the second-order statistic by 2.2.

astro-ph.CO

Cosmology with one galaxy? -- The ASTRID model and robustness

Recent work has pointed out the potential existence of a tight relation between the cosmological parameter $\Omega_{\rm m}$, at fixed $\Omega_{\rm b}$, and the properties of individual galaxies in state-of-the-art cosmological hydrodynamic simulations. In this paper, we investigate whether such a relation also holds for galaxies from simulations run with a different code that made use of a distinct subgrid physics: Astrid. We find that also in this case, neural networks are able to infer the value of $\Omega_{\rm m}$ with a $\sim10\%$ precision from the properties of individual galaxies while accounting for astrophysics uncertainties as modeled in CAMELS. This tight relationship is present at all considered redshifts, $z\leq3$, and the stellar mass, the stellar metallicity, and the maximum circular velocity are among the most important galaxy properties behind the relation. In order to use this method with real galaxies, one needs to quantify its robustness: the accuracy of the model when tested on galaxies generated by codes different from the one used for training. We quantify the robustness of the models by testing them on galaxies from four different codes: IllustrisTNG, SIMBA, Astrid, and Magneticum. We show that the models perform well on a large fraction of the galaxies, but fail dramatically on a small fraction of them. Removing these outliers significantly improves the accuracy of the models across simulation codes.

astro-ph.CO