ABSTRACT

We apply the 3D dust radiative transfer code skirt to the low-redshift (z ≤ 0.1) galaxy population in the TNG100 cosmological simulation, the fiducial run of the IllustrisTNG project. We compute global fluxes and spectral energy distributions (SEDs) from the far-ultraviolet to the submillimetre for |$\approx 60\, 000$| galaxies, with the same post-processing methodology that was previously applied to the TNG50 simulation. We verify that TNG100 reproduces observational luminosity functions at low redshifts to excellent precision, unlike TNG50. Additionally, we test the realism of our TNG100 plus skirt fluxes by comparing various flux and colour relations to data from the GAMA survey. TNG100 broadly reproduces the observed distributions, but we predict ultraviolet colours that are too blue by |$\approx 0.4\, \mathrm{mag}$|⁠, possibly related to the extinction in the star-forming regions subgrid model not being selective enough. Furthermore, we find that the simulated galaxies exhibit mid-infrared fluxes elevated by up to |$\approx 0.5\, \mathrm{mag}$| that we attribute to overly effective stochastic heating of the diffuse dust. All synthetic broad-band fluxes and SEDs are made publicly available in three orientations and four apertures, and can readily be used to study TNG100 galaxies in a mock observational fashion.

1 INTRODUCTION

Cosmological hydrodynamical simulations that emulate the assembly and evolution of thousands of galaxies have proven an indispensable tool to understand many facets of the observed galaxy population (Somerville & Davé 2015; Vogelsberger et al. 2020a). Assessing the realism and reliability of cosmological simulations by comparing their outcome to observations is critical: a solid baseline agreement is necessary in order to draw meaningful conclusions from the simulations. Furthermore, discrepancies can be used to unveil gaps in our understanding of galaxy formation and evolution. However, comparing the simulated and observed galaxy populations comes with a major caveat: observations of galaxies only trace the light emitted by stellar populations (and partially reprocessed by dust and gas), while in simulations only the ‘physical’ parameters of the stellar populations and interstellar medium (such as masses and metallicities) are known. Tracking the radiation field in cosmological simulations is computationally prohibitive, unless the simulation run only covers the high-redshift regime (z ≳ 5) and only few wavelength bins are considered as is done in the SPHINX (Rosdahl et al. 2018) or THESAN (Kannan et al. 2022) simulations.

Comparing the simulated and observed galaxy populations in the ‘physical’ realm (e.g. the stellar mass function or the main sequence of star-forming galaxies) bears the main caveat that all physical properties need to be inferred from observations. Such retrievals of physical parameters sensitively depend on the adopted model used in e.g. the spectral energy distribution (SED) fitting process, relying on simplified star-formation histories and dust-to-star geometries (Pacifici et al. 2023). As an example cautionary note, the long-standing disagreement in the star-forming main sequence for 0.5 < z < 3 with the simulated galaxy population offset to lower star-formation rates (Mitchell et al. 2014; Furlong et al. 2015; Leja et al. 2015; Tomczak et al. 2016; Donnari et al. 2019; Katsianis et al. 2020) could only recently be remedied with more sophisticated SED fitting methods (Nelson et al. 2021; Leja et al. 2022).

As a complementary approach, it is therefore critical to move the simulated galaxies into the observational realm by post-processing them with radiative transfer. This method circumvents any uncertainties in the parameter inference from observations (e.g. choice of free parameters and prior ranges), but requires a post-processing scheme based on the stars and gas of the simulated galaxies that comes with its own caveats (e.g. choice of dust allocation recipe if dust is not modelled in the cosmological simulation). As a substantial fraction of the light emitted by stellar populations is reprocessed by dust and gas in the interstellar medium (Popescu & Tuffs 2002; Viaene et al. 2016; Bianchi et al. 2018), methods to solve for the transport of radiation are required. Since dust efficiently scatters and absorbs starlight at ultraviolet (UV) and optical wavelengths, Monte Carlo radiative transfer (MCRT) methods are generally used to accurately simulate the radiation field in galaxies taking the 3D dust and stellar distributions into account. Using such MCRT methods, synthetic broad-band fluxes and images for a large variety of cosmological simulations such as EAGLE (Camps et al. 2016; Trayford et al. 2017), SIMBA (Narayanan et al. 2021); AURIGA (Kapoor et al. 2021; Kapoor et al., in preparation); ARTEMIS (Camps et al. 2022), IllustrisTNG (Rodriguez-Gomez et al. 2019; Schulz et al. 2020; Vogelsberger et al. 2020b; Popping et al. 2022; Trčka et al. 2022; Costantin et al. 2023; Guzmán-Ortega et al. 2023; Baes et al. 2024a; Bottrell et al. 2024), and NewHorizon (Jang et al. 2023) have been calculated and compared to observational data.

In Trčka et al. (2022), broad-band fluxes from the UV to the far-infrared (FIR) have been computed for a sample of ∼ 14 000 galaxies at low redshift (z ≤ 0.1) from the TNG50 simulation. Comparing the simulated fluxes to observational low-redshift luminosity functions (LFs), Trčka et al. (2022) found that the TNG50 LFs at all wavelengths exceed the observational estimates. Trčka et al. (2022) attribute this tension mostly to the subgrid parameter calibration in the IllustrisTNG project. As some of the physical processes cannot be resolved by cosmological simulations, these simulations typically rely on a number of subgrid parameters (e.g. the strength of feedback from active galactic nuclei) to reproduce some important galaxy statistics (e.g. the stellar mass–halo mass relation; Schaye et al. 2015; Kugel et al. 2023). In the case of the IllustrisTNG project, these subgrid parameters were chosen at the resolution of the fiducial TNG100 run and then left constant for other simulation runs. This leads to small systematic resolution-dependent differences in the outcomes of the various IllustrisTNG runs (see appendices of Pillepich et al. 2018a, b, 2019 for more details).

In this study, we want to test if the IllustrisTNG subgrid choices truly caused the discrepancies between TNG50 and observations found by Trčka et al. (2022). To this end, we apply the post-processing method of Trčka et al. (2022) to the TNG100 simulation, the fiducial run of the IllustrisTNG simulation suite. Following Trčka et al. (2022), we apply the MCRT code skirt (Baes et al. 2011; Camps & Baes 2015, 2020) to a stellar mass-limited sample of ≈60 000 TNG100 galaxies at z = 0 and z = 0.1. We generate broad-band fluxes in 53 broad-band filters ranging from the GALEX far-UV (FUV) to the ALMA band 6 and low-resolution SEDs ranging from 0.1 to 2000 μm with R = 39 for this sample of TNG100 galaxies.

To reveal potential biases in our post-processing method and to further assess the realism of the cosmological simulation in the observational realm, we also explore different galaxy flux–flux and colour–colour relations over a large wavelength range. Since these relations trace the underlying distributions and scaling relations of physical properties (e.g. specific star-formation rate, dust mass, age), they provide an important testbed for the cosmological simulation plus radiative transfer post-processing approach. This provides a complementary approach of assessing the simulation’s realism, as the simulations are typically evaluated for their ability to reproduce the physical properties of the galaxy population inferred from observations (e.g. Davé et al. 2017; De Rossi et al. 2017; Rosito et al. 2019; Torrey et al. 2019; Nelson et al. 2021).

The outline of this paper is as follows: We describe the cosmological simulation as well as the skirt post-processing method in Section 2, and compare TNG100 LFs to observations in Section 3. We proceed by comparing the simulated fluxes to observational data from the GAMA survey in terms of flux–flux and colour–colour relations (Section 4), and summarize our results in Section 5. We adopt a flat ΛCDM cosmology, with parameters measured by the Planck satellite (Planck Collaboration XIII 2016), consistent with the IllustrisTNG cosmology. We use the AB magnitude system (Oke 1971) throughout this study.

2 SIMULATION METHODS

2.1 IllustrisTNG

The IllustrisTNG suite (Marinacci et al. 2018; Naiman et al. 2018; Nelson et al. 2018; Springel et al. 2018; Pillepich et al. 2018b) is a set of cosmological, magnetohydrodynamical simulations run using the moving-mesh code arepo (Springel 2010). The simulation suite consists of three different volumes with box sizes of approximately 50, 100, and 300 comoving Mpc, each realized with three to four different resolutions. All of these simulations were run with the same physical model, with the subgrid parameters chosen for the fiducial TNG100-1 run (hereafter ‘TNG100’), which is the highest resolution run for the 100-cMpc box. Unlike in the EAGLE suite (Schaye et al. 2015), the subgrid parameters were not recalibrated for other IllustrisTNG simulations (at different resolutions and box sizes). For the cosmological parameters, the simulations use the 2015 results measured by the Planck satellite (Planck Collaboration XIII 2016), i.e. Ωm = 0.3089, Ωb = 0.0486, |$\Omega _\Lambda =0.6911$|⁠, |$H_0=100\, h\, \mathrm{km\, s^{-1}Mpc^{-1}}$| with h = 0.6774). In the following, we briefly describe the aspects of IllustrisTNG and its galaxy formation model (Weinberger et al. 2017; Pillepich et al. 2018a) that are most relevant to this study.

TNG100 simulates a cube with box size of 110.7 comoving Mpc from z = 127 to z = 0. This volume is resolved with 18203 baryonic and dark matter particles, corresponding to a mean particle mass of |$1.4\times 10^6\, M_\odot$| and |$7.5\times 10^6\, M_\odot$|⁠, respectively. Galaxies are identified as gravitationally bound substructures using the subfind algorithm (Springel et al. 2001). Since molecular clouds cannot be resolved in the simulation, star formation is modelled stochastically for gas with |$n_\mathrm{H}\gt 0.106\, \mathrm{cm}^{-3}$| according to the two-phase model of Springel & Hernquist (2003). Stellar populations are modelled with a Chabrier initial mass function (Chabrier 2003). These star particles subsequently affect the surrounding interstellar medium (ISM) via metal enrichment as well as feedback from supernovae explosions. The IllustrisTNG model furthermore incorporates gas radiative processes (including metal-line cooling and heating in an evolving UV background), formation, and merging of supermassive black holes, as well as feedback from active galactic nuclei in a thermal and a kinetic mode.

In Trčka et al. (2022), we calculated broad-band fluxes (in 53 filters) as well as low-resolution SEDs (R = 39) from 0.1 to 2000 μm for the TNG50-1 and the lower resolution TNG50-2 simulations (Nelson et al. 2019b; Pillepich et al. 2019, see Table 1 for an overview of the different simulation resolutions) and publicly released them on the IllustrisTNG website.1 These data are available at two snapshots (099 and 091), corresponding to z = 0 and z = 0.1, for all galaxies above a stellar mass threshold. The stellar mass threshold of |$10^8\, \mathrm{M}_\odot$| ensures that the galaxies are resolved by enough (≳ 102) star particles for the radiative transfer post-processing. We remark that we always use the stellar mass within two stellar half-mass radii for the simulation stellar masses (as opposed to the total gravitationally bound stellar mass for instance), which is available from the IllustrisTNG galaxy catalogue.

Table 1.

Runs of the IllustrisTNG suite that we consider in this study. For each simulation, we list the volume, the target baryon mass (the resolution) and the stellar mass (more specifically, the stellar mass in two stellar half-mass radii) threshold which defines the galaxy samples. Ngal indicates the number of galaxies (in the snapshots at z = 0 and z = 0.1) that conform to our sample selection criteria.

Simulation|$V\, (\mathrm{cMpc}^3)$||$m_\mathrm{b}\, (\mathrm{M}_\odot)$||$M_\star ^\mathrm{min}\, (\mathrm{M}_\odot)$||$N_\mathrm{gal}^{z=0}$||$N_\mathrm{gal}^{z=0.1}$|
TNG100-1106.531.4 × 106108.530 71230 364
TNG50-151.738.5 × 1041087 3757 302
TNG50-251.736.8 × 1051085 6695 665
Simulation|$V\, (\mathrm{cMpc}^3)$||$m_\mathrm{b}\, (\mathrm{M}_\odot)$||$M_\star ^\mathrm{min}\, (\mathrm{M}_\odot)$||$N_\mathrm{gal}^{z=0}$||$N_\mathrm{gal}^{z=0.1}$|
TNG100-1106.531.4 × 106108.530 71230 364
TNG50-151.738.5 × 1041087 3757 302
TNG50-251.736.8 × 1051085 6695 665
Table 1.

Runs of the IllustrisTNG suite that we consider in this study. For each simulation, we list the volume, the target baryon mass (the resolution) and the stellar mass (more specifically, the stellar mass in two stellar half-mass radii) threshold which defines the galaxy samples. Ngal indicates the number of galaxies (in the snapshots at z = 0 and z = 0.1) that conform to our sample selection criteria.

Simulation|$V\, (\mathrm{cMpc}^3)$||$m_\mathrm{b}\, (\mathrm{M}_\odot)$||$M_\star ^\mathrm{min}\, (\mathrm{M}_\odot)$||$N_\mathrm{gal}^{z=0}$||$N_\mathrm{gal}^{z=0.1}$|
TNG100-1106.531.4 × 106108.530 71230 364
TNG50-151.738.5 × 1041087 3757 302
TNG50-251.736.8 × 1051085 6695 665
Simulation|$V\, (\mathrm{cMpc}^3)$||$m_\mathrm{b}\, (\mathrm{M}_\odot)$||$M_\star ^\mathrm{min}\, (\mathrm{M}_\odot)$||$N_\mathrm{gal}^{z=0}$||$N_\mathrm{gal}^{z=0.1}$|
TNG100-1106.531.4 × 106108.530 71230 364
TNG50-151.738.5 × 1041087 3757 302
TNG50-251.736.8 × 1051085 6695 665

With this study, we add the same data products (i.e. broad-band fluxes and low-resolution SEDs) for TNG100 at redshifts z = 0 and z = 0.1 for 61 076 galaxies with |$M_\star \gt 10^{8.5}\, \mathrm{M}_\odot$| (we choose a higher stellar mass threshold for TNG100 due to the lower particle mass resolution compared to the TNG50 runs) to the data base. For the galaxy samples of all three simulations, sub-haloes that are flagged as being not of cosmological origin are excluded.2 An overview of the different sample definitions and galaxy sample sizes is shown in Table 1. We caution that the chosen stellar mass thresholds are relatively low, meaning that the post-processing results for the lowest mass galaxies could be unreliable for TNG100-1 and TNG50-2.

2.2 Radiative transfer post-processing

The methodology for the radiative transfer post-processing adopted here for TNG100 galaxies is exactly the same as in Trčka et al. (2022), which, in turn, is based on Camps et al. (2016, 2018) and Kapoor et al. (2021). We briefly summarize the main steps here and refer the reader to Trčka et al. (2022) for more details.

We use the 3D dust MCRT code skirt (Baes et al. 2011; Camps & Baes 2015, 2020) to generate broad-band fluxes over a large (UV-FIR) wavelength range. We simulate the emission of photon packets from evolved stellar populations as well as star-forming regions (‘primary emission’ in skirt). The photon packets are then propagated through the dusty ISM, where they get absorbed and scattered. Furthermore, the dust grains are stochastically heated and subsequently emit IR radiation (‘secondary emission’; Camps et al. 2015). Finally, the photon packets are recorded in synthetic instruments that emulate different apertures, orientations, and broad-band filters. We briefly describe the different components of the skirt simulations and how they are imported from IllustrisTNG in the following.

  • Evolved stellar populations: All star particles with ages above 10 Myr are treated as evolved stellar populations. We model their SED using the Bruzual & Charlot (2003) template library with a Chabrier IMF. All parameters to model the emission of evolved stellar populations (positions, current masses, metallicities, ages, and smoothing lengths) are directly available from the IllustrisTNG snapshot data.

  • Star-forming regions: Star particles with ages below 10 Myr are modelled as star-forming regions, i.e. young stars that are still partially enshrouded within their dusty birth clouds. We use the template library MAPPINGS-III (Groves et al. 2008) to model their SED, which contains the light contribution from the young stellar population as well as nebular and dust emission. In addition to the positions, metallicities, and smoothing lengths, this template library has a number of parameters that are not directly available from the snapshot data. These are the star-formation rates (calculated as initial mass of the star particle divided by its age), ISM pressure (set to a constant value of |$P/k_B=10^5\, \mathrm{K\, cm^{-3}}$|⁠), and compactness parameter (randomly sampled from a Gaussian distribution). Lastly, the photodissociation region (PDR) covering factor is calculated as fPDR = et, with t being the age of the star particle and τ a free parameter in the radiative transfer post-processing scheme.

  • Diffuse dust: As IllustrisTNG does not track the dust content in the ISM, we assign dust-to-gas cells based on their metallicity. Specifically, we use the criterion of Torrey et al. (2012, 2019) to select dust-containing gas cells based on their temperature and mass density. This criterion separates the hot circumgalactic medium (CGM) from the ISM. While we do not assign dust to the CGM gas cells, the dust mass in all other cells is scaled to their metal masses, with the dust-to-metal ratio fdust being a free parameter of the post-processing scheme. All other parameters that control the diffuse dust (positions, mass densities, temperatures, and metallicities) are directly available from the snapshot data. For the optical properties of the diffuse dust, we use the THEMIS dust model from Jones et al. (2017). The dusty medium is discretized on an octtree grid (Saftly et al. 2013; Saftly, Baes & Camps 2014) with a maximum subdivision level of twelve.

The skirt post-processing simulations are performed for a defined spatial domain. In our case, we use a cube with side length ten times stellar half-mass radii, centred on the subhalo positions. Additionally, we consider only star particles within a sphere of radius five stellar half-mass radii3 for the post-processing. Lastly, we use 5 × 107 photon packets to perform the radiative transfer simulations.

In Trčka et al. (2022), the free parameters τ and fdust were calibrated using a test sample of TNG50 galaxies which are compared to low-redshift multiwavelength observational data from the DustPedia archive4 (Davies et al. 2017; Clark et al. 2018). Using various luminosity and colour scaling relations, the default parameters were determined to |$\tau =3\, \mathrm{Myr}$| and fdust = 0.2. We kept these parameters unchanged for the post-processing of TNG100 galaxies. We have verified that the TNG100 galaxies exhibit a similar behaviour compared to TNG50 on the scaling relations that were used to calibrate the free parameters.

To illustrate our methodology, we show the global SEDs of the TNG100 galaxy population in Fig. 1 split into the different components of our skirt simulations. These global SEDs are obtained by summing the rest-frame SEDs of all TNG100 galaxies in our base sample at z = 0 and z = 0.1. The total SED is shown by the orange line in the first panel of Fig. 1. To separate primary emission (from evolved stars and star-forming regions) and secondary emission (from diffuse dust in the ISM), we show the SED arising solely from primary emission (which is still attenuated by the diffuse dust) by the purple line in the first panel of Fig. 1. The ratio of primary to total flux is indicated by the filled blue area, which is shown on a linear scale in the second panel.

The global SED of the TNG100 galaxy population, split into the various components of our skirt simulations. The dashed black lines correspond to the pivot wavelengths of the broad-band filters that we consider in Section 4. The first panel shows the total SED (orange line) as well as the SED from the attenuated primary emission (evolved stellar populations and star-forming regions, purple line). The ratio between the two is indicated by the blue area in the second panel. The third panel shows the unattenuated primary emission (purple line) and the contribution from evolved stellar populations (light blue line), with the ratio of the two indicated by the red area (fourth panel). Note that the SEDs in the first and third panels are shown on arbitrarily normalized logarithmic scales.
Figure 1.

The global SED of the TNG100 galaxy population, split into the various components of our skirt simulations. The dashed black lines correspond to the pivot wavelengths of the broad-band filters that we consider in Section 4. The first panel shows the total SED (orange line) as well as the SED from the attenuated primary emission (evolved stellar populations and star-forming regions, purple line). The ratio between the two is indicated by the blue area in the second panel. The third panel shows the unattenuated primary emission (purple line) and the contribution from evolved stellar populations (light blue line), with the ratio of the two indicated by the red area (fourth panel). Note that the SEDs in the first and third panels are shown on arbitrarily normalized logarithmic scales.

To further split the primary emission into the contribution from evolved stellar populations and star-forming regions, we show the unattenuated primary emission of the galaxy population by the purple line in the third panel of Fig. 1. The emission considering only evolved stellar populations is shown in light blue, while the filled red area indicates the fractional contribution of evolved stellar populations to the total primary emission. Fig. 1 exhibits the expected features of the different components of our skirt setup: In the optical and NIR the flux is dominated by evolved stellar populations, while at larger wavelengths diffuse dust emission dominates. Star-forming regions contribute significantly to the UV and also partially to the MIR and FIR flux due to the emission from their dusty birth clouds.

2.3 Simulation products

The main output of the radiative transfer post-processing are broad-band fluxes in 53 filters, from the UV (GALEX FUV) to the ALMA band 6. These fluxes are available for all galaxies in TNG100-1 (as well as TNG50-1 and TNG50-2 already presented by Trčka et al. 2022) above the stellar mass threshold (see Table 1), at redshifts 0 and 0.1. The broad-band flux is given both in the galaxy rest-frame (in absolute AB magnitudes) and in the observational frame5 (in Jy). Additionally, we provide low-resolution SEDs (R = 39) in the observational frame (in Jy) for 0.1 to 2000 μm for all TNG100-1 galaxies in the base sample. All data are available in three different galaxy orientations (random, edge-on, and face-on) as well as four different circular apertures (with aperture radii of 10 kpc, 30 kpc, two stellar half-mass radii, and five stellar half-mass radii).

3 GALAXY LUMINOSITY FUNCTIONS

We begin by investigating low-redshift luminosity functions in various broad-band filters. As in Trčka et al. (2022), we use the rest-frame magnitudes (which we convert into solar luminosities) for our main galaxy sample which combines the z = 0 and z = 0.1 snapshots. We use a default orientation (random) throughout this work and adopt an aperture of five stellar half-mass radii in Section 3, the default choice for the simulated LFs in Trčka et al. (2022). Since the observational LFs are thought to be representative of the local galaxy population, we do not mimic any observational selection effect (as instead done and described in Section 4.2).

In Trčka et al. (2022) (their fig. 9), luminosity functions of the TNG50-1 simulation were found to overestimate the observational estimates in all filters and at all luminosities from the UV to the far-IR. At the bright end, this discrepancy can be mitigated by choosing a significantly smaller aperture (10 kpc instead of the default five stellar half-mass radii), but this value is less representative of observational apertures and does not resolve the tension for galaxies fainter than the knee of the luminosity functions. Trčka et al. (2022) found that the discrepancy is largely mitigated when using the lower resolution TNG50-2 simulation. Indeed, within the IllustrisTNG model, the resolution improvement from the fiducial TNG100 resolution to TNG50 results in somewhat larger galaxy masses and SFRs (Pillepich et al. 2018a, b, 2019; Donnari et al. 2019). We test this statement here explicitly by investigating the LFs of the TNG100 simulation, which is the fiducial resolution at which the subgrid parameters were chosen.

We show the low-redshift luminosity functions for TNG100 in Fig. 2. The observational estimates from various low-redshift surveys6 are equivalent to the ones from Trčka et al. (2022) (see their section 3.2.1 for more details), which are corrected to h = 0.6774 to be consistent with the cosmological parameters of IllustrisTNG. We also include the LFs from the TNG50-1 (hereafter ‘TNG50’) simulation to highlight the convergence behaviour of the cosmological simulations. To not overcrowd the figure TNG50-2 is not shown, but we note that the TNG50-2 LFs closely align with the TNG100-1 results, meaning that the LFs are converged with simulation box size. In Fig. 2, the Poisson error for the simulated LFs is shown as shaded area, and luminosity bins with fewer than ten galaxies are marked. We cut the calculation of the simulated LFs at a minimum luminosity to ensure that the shown LFs are complete. This minimum luminosity is calculated as the 90 per cent luminosity percentile in the lowest 5 per cent stellar mass bin. The number of galaxies above this luminosity threshold are noted in each panel for TNG100 and TNG50 separately.

Luminosity functions in 14 bands and the total infrared (TIR). Continuous lines mark the simulation results for TNG50 (purple) and TNG100 (red), for z ≤ 0.1. The shaded area corresponds to the Poisson error, crosses mark luminosity bins with fewer than ten galaxies. The simulated luminosity functions are computed only above a completeness limit, see the text for details. The number of simulated galaxies above this completeness limit is shown in each panel. Observational data are shown as various markers. The TNG100 LFs are in excellent agreement with the observations.
Figure 2.

Luminosity functions in 14 bands and the total infrared (TIR). Continuous lines mark the simulation results for TNG50 (purple) and TNG100 (red), for z ≤ 0.1. The shaded area corresponds to the Poisson error, crosses mark luminosity bins with fewer than ten galaxies. The simulated luminosity functions are computed only above a completeness limit, see the text for details. The number of simulated galaxies above this completeness limit is shown in each panel. Observational data are shown as various markers. The TNG100 LFs are in excellent agreement with the observations.

Fig. 2 shows how the agreement between TNG100 and observational LFs improves compared to TNG50. In fact, the TNG100 LFs provide an excellent match to the observational data in the near-UV (NUV) and FIR bands. In the FUV, optical and near-infrared (NIR) bands (GALEX FUV, SDSS, and UKIDSS filters), the faint ends and knees of the observed LFs are also precisely reproduced in TNG100. At the bright ends TNG100 overestimates the observational estimates, but we note that in this regime there are also large differences across the observational data sets. As an example, the LFs in the SDSS filters from Loveday et al. (2012) are given in Petrosian apertures, while Driver et al. (2012) use Kron apertures. Even though both studies use data from the GAMA survey, the differences in the LFs reach almost an order of magnitude for the brightest luminosity bins (see also Hill et al. 2011 and Bernardi et al. 2013 for a discussion on this issue). For a detailed discussion on the impact of the aperture for the simulated LFs, we refer the reader to section 4 in Trčka et al. (2022).

We conclude that, as suggested by Trčka et al. (2022), the way that the subgrid parameters are chosen in the IllustrisTNG model (at the fiducial TNG100 resolution) indeed caused the discrepancy in the LFs for TNG50. Acknowledging observational uncertainties at the bright end related to aperture choices, the agreement between TNG100 and low-redshift observational LFs is excellent.

4 UV-SUBMM BROAD-BAND FLUXES: COMPARISON WITH GAMA

To assess galaxy scaling relations and distributions in the observational realm, we continue by analysing different flux–flux and colour–colour relations over a large wavelength range. As opposed to analysing scaling relations in the physical realm, this analysis provides a complementary approach of assessing the simulation’s realism. We also use these relations to evaluate the accuracy and reveal potential systematics in our radiative transfer post-processing scheme. We only analyse TNG100 in this section, and refer the reader to Appendix  A for a comparison to TNG50.

We first detail the observational data set in Section 4.1 and describe how we homogenize the observational and simulated galaxy samples in Section 4.2, before discussing the results for the flux–flux and colour–colour relations in Sections 4.3 and 4.4, respectively.

4.1 Observational data from GAMA

The Galaxy and Mass Assembly (GAMA) survey (Driver et al. 2009, 2011, 2022; Liske et al. 2015; Baldry et al. 2018) is a spectroscopic survey of galaxies with the AAOmega spectrograph in the optical wavelength range, mounted on the Anglo Australian Telescope (AAT). The survey consists of five different fields with varying input catalogues (used for target selection), observing a total area of 286 deg2. The most recent data release (DR4) of GAMA (Driver et al. 2022) contains spectra, spectroscopic redshifts, X-ray to FIR photometry from various other surveys,7 as well as derived data such as stellar masses and rest-frame fluxes for some |$\sim 300\, 000$| galaxies. All accessed data used in this study is part of the GAMA data release 4, described in Driver et al. (2022). Due to its large sample size of low-redshift galaxies (z ≲ 0.6) and large wavelength coverage of photometric data, the GAMA data base provides an excellent observational sample to compare to the simulated photometric data from TNG100.

The GAMA project consists of three phases, which are different in their target selection as the input catalogues were updated with more recent photometric data from other surveys over time. As the three equatorial fields (labelled G09, G12, and G15) observed as part of GAMA II have the highest availability of derived data products (importantly, those are the only galaxies within GAMA with matched-aperture photometry), we only use this data set throughout this study. The target selection is defined as having an apparent Petrosian r-band magnitude below |$19.8\, \mathrm{mag}$| in SDSS DR7. This limit is the same for all three fields.

For the analysis in this paper, we use various catalogues from the GAMA data base, which we describe in this section. To select only galaxies that are part of the main GAMA II survey, we use the TilingCat v46 catalogue from the EqInputCat data management unit (DMU). Objects that are part of the main survey have a survey class of four or higher. We enforce this criterion for our GAMA sample.

We use broad-band fluxes from the LambdarCat v01 catalogue in the LambdarPhotometry DMU. In this catalogue, the fluxes are extracted using matched aperture photometry with the lambdar code (Wright et al. 2016). lambdar measures the photometry given an input aperture [in this case, the apertures come from a combination of SExtractor (Bertin & Arnouts 1996) runs on the SDSS r and VIKING Z-bands of imaging as well as visual inspection] and performs aperture convolution, deblending, correction, and sky subtraction. The fluxes are available for the GALEX, SDSS, VISTA, WISE, PACS, and SPIRE bands. The fluxes are corrected for Milky Way extinction but not K-corrected, hence these are fluxes in the observational frame (as opposed to rest-frame fluxes).

As we want to limit the observational galaxy sample in redshift, we also download redshift estimates from the DistanceFrames v14 catalogue in the LocalFlowCorrection DMU (Baldry et al. 2012). We use the redshifts from the Tonry flow model (Tonry et al. 2000), which equals the cosmic microwave background redshift for z ≥ 0.03 and takes into account local flows at lower redshifts. Following the documentation of this DMU, we impose z ≥ 0.002 as lower redshift objects are potentially not galaxies. We also impose z ≤ 0.1 to not extrapolate our simulation results into higher redshift ranges. Only galaxies with a high-quality redshift (redshift flag must be three or larger) are kept in our sample.

We also impose a stellar mass limit (⁠|$M_\star \ge 10^{8.5}\, \mathrm{M}_\odot$|⁠) to the GAMA galaxies, the same stellar mass limit of our TNG100 galaxy sample. Stellar masses8 are obtained from the StellarMassesLambdar v20 catalogue in the StellarMasses DMU. These are inferred from SED fits to the lambdar aperture photometry (see Taylor et al. 2011 for details). The cuts in survey class (≥4), redshift flag (≥3), redshift (0.002 ≤ z ≤ 0.1), and stellar mass (⁠|$M_\star \ge 10^{8.5}\, \mathrm{M}_\odot$|⁠) lead to a base sample of 17 932 galaxies contained in the GAMA data set. We note that not all galaxies in this GAMA catalogue have detected broad-band fluxes in all filters.

The GAMA base sample is then cut further depending on the broadbands that are involved in a specific flux-flux or colour–colour plot. We first impose SNR cuts on all involved filters to ensure that the GAMA galaxies have reliable fluxes. Specifically, we discard all galaxies with SNR < 3 in any of the involved filters. In a second step, we want to define a flux threshold that broadly corresponds to a volume-limited sample. The same threshold can then be applied to the simulated galaxies to ensure a fair comparison. We noted that the GAMA galaxies exhibit noise distributions with outliers multiple orders of magnitude below the median, even after this SNR cut. This leads to some galaxies having very low flux values, which are not representative of the typical sensitivity of the respective surveys. Hence, we compute the 10 per cent-percentiles of the GAMA galaxies with SNR > 3 in each band, and use these fluxes as thresholds for the GAMA and TNG100 data sets. This means that in every flux–flux or colour–colour plot, if a GAMA or TNG100 galaxy has a flux below the threshold in any band it is omitted from the plot. The flux thresholds are given in Table 2 for all filters considered in Figs. 4 and 5.

Apertures of TNG100 galaxies (red) and objects from the GAMA survey, for 0.002 ≤ z ≤ 0.1 and $M_\star \ge 10^{8.5}\, \mathrm{M}_\odot$. The GAMA apertures correspond to the circularized radii of the elliptical lambdar apertures. For TNG100 we show the constant apertures (10 or 30 kpc) as dotted lines. The other available TNG100 apertures (2 or 5 stellar half-mass radii) and the GAMA apertures are displayed as running medians as a function of stellar mass. Shaded areas indicate the interquartile range (not shown for 5 stellar half-mass radii). Since an aperture of two stellar half-mass radii provides the closest match to the GAMA apertures, we adopt this as our default aperture for the TNG100 fluxes in Section 4.
Figure 3.

Apertures of TNG100 galaxies (red) and objects from the GAMA survey, for 0.002 ≤ z ≤ 0.1 and |$M_\star \ge 10^{8.5}\, \mathrm{M}_\odot$|⁠. The GAMA apertures correspond to the circularized radii of the elliptical lambdar apertures. For TNG100 we show the constant apertures (10 or 30 kpc) as dotted lines. The other available TNG100 apertures (2 or 5 stellar half-mass radii) and the GAMA apertures are displayed as running medians as a function of stellar mass. Shaded areas indicate the interquartile range (not shown for 5 stellar half-mass radii). Since an aperture of two stellar half-mass radii provides the closest match to the GAMA apertures, we adopt this as our default aperture for the TNG100 fluxes in Section 4.

Six different flux–flux relations, for TNG100 (red) and observational data from the GAMA survey (black), for 0.002 ≤ z ≤ 0.1 and $M_\star \ge 10^{8.5}\, \mathrm{M}_\odot$. The panels always have the VISTA K-band flux on the x-axis, and feature various bands (increasing with wavelength from the top left to the bottom right panel) on the y-axis. For both data sets, we filter out galaxies which lie below specific flux thresholds in any of the bands (see the text for details). The number of remaining galaxies is given in the top right corner of each panel. The 2D distribution is estimated using a kernel density estimate (KDE). The different levels correspond to 5, 25, 60, and 90 per cent of the total KDE density. 1D colour histograms for both data sets are also shown. Note that we use observer-frame fluxes here. An estimate of the average noise in the observations is indicated by the grey ellipses, with the darker (lighter) ellipse indicating the median (upper quartile) 1-σ observational error bar. DKS indicates the distance between the two distributions according to a 2D Kolmogorov–Smirnov test. The flux–flux relations seen in the GAMA data are well reproduced by the TNG100 galaxies.
Figure 4.

Six different flux–flux relations, for TNG100 (red) and observational data from the GAMA survey (black), for 0.002 ≤ z ≤ 0.1 and |$M_\star \ge 10^{8.5}\, \mathrm{M}_\odot$|⁠. The panels always have the VISTA K-band flux on the x-axis, and feature various bands (increasing with wavelength from the top left to the bottom right panel) on the y-axis. For both data sets, we filter out galaxies which lie below specific flux thresholds in any of the bands (see the text for details). The number of remaining galaxies is given in the top right corner of each panel. The 2D distribution is estimated using a kernel density estimate (KDE). The different levels correspond to 5, 25, 60, and 90 per cent of the total KDE density. 1D colour histograms for both data sets are also shown. Note that we use observer-frame fluxes here. An estimate of the average noise in the observations is indicated by the grey ellipses, with the darker (lighter) ellipse indicating the median (upper quartile) 1-σ observational error bar. DKS indicates the distance between the two distributions according to a 2D Kolmogorov–Smirnov test. The flux–flux relations seen in the GAMA data are well reproduced by the TNG100 galaxies.

Four different colour–colour relations, for TNG100 (red) and observational data from the GAMA survey (black), for 0.002 ≤ z ≤ 0.1 and $M_\star \ge 10^{8.5}\, \mathrm{M}_\odot$. For both data sets, we filter out galaxies which lie below specific flux thresholds in any of the bands involved in the colour–colour relation (see the text for details). The number of remaining galaxies is given in the top right corner of each panel. The 2D distribution is estimated using a kernel density estimate (KDE). The different levels correspond to 5, 25, 60, and 90 per cent of the total kernel density. 1D colour histograms for both data sets are also shown. Note that we use observer-frame fluxes here. An estimate of the average noise in the observations is indicated by the grey ellipses, with the darker (lighter) ellipse indicating the median (upper quartile) 1-σ observational error bar. DKS indicates the distance between the two distributions according to a 2D Kolmogorov–Smirnov test. TNG100 reproduces the observed colour distributions in the two upper panels, but the TNG100 galaxies have flatter UV slopes and bluer WISE W3–SPIRE 250 colours compared to the GAMA data.
Figure 5.

Four different colour–colour relations, for TNG100 (red) and observational data from the GAMA survey (black), for 0.002 ≤ z ≤ 0.1 and |$M_\star \ge 10^{8.5}\, \mathrm{M}_\odot$|⁠. For both data sets, we filter out galaxies which lie below specific flux thresholds in any of the bands involved in the colour–colour relation (see the text for details). The number of remaining galaxies is given in the top right corner of each panel. The 2D distribution is estimated using a kernel density estimate (KDE). The different levels correspond to 5, 25, 60, and 90 per cent of the total kernel density. 1D colour histograms for both data sets are also shown. Note that we use observer-frame fluxes here. An estimate of the average noise in the observations is indicated by the grey ellipses, with the darker (lighter) ellipse indicating the median (upper quartile) 1-σ observational error bar. DKS indicates the distance between the two distributions according to a 2D Kolmogorov–Smirnov test. TNG100 reproduces the observed colour distributions in the two upper panels, but the TNG100 galaxies have flatter UV slopes and bluer WISE W3–SPIRE 250 colours compared to the GAMA data.

Table 2.

Flux limits for the various broad-band filters used to construct flux–flux and colour–colour relations (Figs. 4 and 5). These flux limits correspond to the 10 per cent–percentile of the GAMA fluxes with SNR > 3 in each filter. Only galaxies (for both the GAMA and TNG100 samples) which have fluxes above these thresholds in all involved filters for a specific flux–flux/colour–colour relation are plotted in this relation in Figs. 4 and 5.

FilterPivot wavelength (μm)Flux limit (Jy)
GALEX FUV0.1544.48 × 10−6
GALEX NUV0.2306.36 × 10−6
SDSS u0.3561.41 × 10−5
SDSS r0.6185.76 × 10−5
VISTA J1.259.42 × 10−5
VISTA K2.211.00 × 10−4
WISE W13.391.26 × 10−4
WISE W312.64.02 × 10−4
WISE W422.34.25 × 10−3
PACS 1001015.39 × 10−2
SPIRE 2502532.10 × 10−2
SPIRE 5005152.15 × 10−2
FilterPivot wavelength (μm)Flux limit (Jy)
GALEX FUV0.1544.48 × 10−6
GALEX NUV0.2306.36 × 10−6
SDSS u0.3561.41 × 10−5
SDSS r0.6185.76 × 10−5
VISTA J1.259.42 × 10−5
VISTA K2.211.00 × 10−4
WISE W13.391.26 × 10−4
WISE W312.64.02 × 10−4
WISE W422.34.25 × 10−3
PACS 1001015.39 × 10−2
SPIRE 2502532.10 × 10−2
SPIRE 5005152.15 × 10−2
Table 2.

Flux limits for the various broad-band filters used to construct flux–flux and colour–colour relations (Figs. 4 and 5). These flux limits correspond to the 10 per cent–percentile of the GAMA fluxes with SNR > 3 in each filter. Only galaxies (for both the GAMA and TNG100 samples) which have fluxes above these thresholds in all involved filters for a specific flux–flux/colour–colour relation are plotted in this relation in Figs. 4 and 5.

FilterPivot wavelength (μm)Flux limit (Jy)
GALEX FUV0.1544.48 × 10−6
GALEX NUV0.2306.36 × 10−6
SDSS u0.3561.41 × 10−5
SDSS r0.6185.76 × 10−5
VISTA J1.259.42 × 10−5
VISTA K2.211.00 × 10−4
WISE W13.391.26 × 10−4
WISE W312.64.02 × 10−4
WISE W422.34.25 × 10−3
PACS 1001015.39 × 10−2
SPIRE 2502532.10 × 10−2
SPIRE 5005152.15 × 10−2
FilterPivot wavelength (μm)Flux limit (Jy)
GALEX FUV0.1544.48 × 10−6
GALEX NUV0.2306.36 × 10−6
SDSS u0.3561.41 × 10−5
SDSS r0.6185.76 × 10−5
VISTA J1.259.42 × 10−5
VISTA K2.211.00 × 10−4
WISE W13.391.26 × 10−4
WISE W312.64.02 × 10−4
WISE W422.34.25 × 10−3
PACS 1001015.39 × 10−2
SPIRE 2502532.10 × 10−2
SPIRE 5005152.15 × 10−2

We caution that the choice of SNR (3) and flux (10 per cent–percentile) thresholds are arbitrary. We have tested different strategies (changing the SNR and flux percentile values, or either just using an SNR or a flux percentile criterion), and find that the peaks and correlations of the distributions are hardly affected. On the other hand, the widths of the distributions are altered (e.g. lowering or dropping the SNR criterion primarily makes the GAMA distribution wider). We adopted the specific thresholds as a compromise between galaxy sample size and mitigating noise and incompleteness effects in GAMA. For our chosen thresholds, we find the GAMA noise levels moderate in the sense that the widths of the flux and colour distributions of TNG100 and GAMA are similar, i.e. the intrinsic scatter in the galaxy population dominates over instrumental effects. Due to this ambiguity in SNR and flux thresholds, we focus the discussion in Sections 4.3 and 4.4 on the peaks and correlations of the distributions. Making firm statements about the scatter of the shown flux–flux and colour–colour relations would require adding realistic GAMA-like noise to the TNG100 galaxies, which is beyond the scope of this study.

Lastly, we remark that aperture mismatches in the observed and simulated data sets can substantially bias the comparison. The distribution of GAMA apertures (given as the circularized radii9 of the elliptical aperture used by lambdar) as a function of stellar mass for all 17 932 galaxies in the base sample is shown in Fig. 3. These apertures are compared to the four different available apertures for the TNG100 data (10 kpc, 30 kpc, 2 or 5 stellar half-mass radii). We find that two stellar half-mass radii provide the closest match to the GAMA apertures, even though the TNG100 apertures are significantly smaller for all stellar masses below |$10^{11}\, \mathrm{M}_\odot$| in that case. Hence, we adopt two stellar half-mass radii as our default aperture in Section 4.

4.2 Observational sensitivity limits for simulated galaxies

A major caveat when comparing observational and simulated data sets is that the galaxy samples can be very different. This caveat is usually mitigated by matching the samples in some physical properties like stellar masses or star-formation rates (e.g. Diemer et al. 2019; Donnari et al. 2021; Trčka et al. 2022; Goddy et al. 2023). However, this approach bears the problem that the observational and simulated definitions of those properties can be different,10 and physical parameters inferred from observations come with their own caveats. Hence, we implement a different method to homogenize the galaxy samples.

We base our method on the observational sensitivity limits in various filters, which determine the flux limits of the galaxies. We use these limits to filter out ‘fainter’ TNG100 galaxies which would lie below the observational detection threshold. This approach is similar to post-processing studies of semi-analytical models (SAMs) over large redshift ranges which have been used to study galaxy clustering (Blaizot et al. 2005; Kitzbichler & White 2007). In this approach, the (periodic) simulation box at different snapshots is stacked many times to construct a sufficiently large volume and to calculate a mock light cone. Unfortunately, such a mock light-cone construction requires the post-processing of many different snapshots, which is feasible for the SAM post-processing but prohibitive for our 3D dust radiative transfer modelling. Hence, we do not stack the simulation box at different snapshots, but rather place the friend-of-friend haloes (FoF groups) of the z = 0 and z = 0.1 snapshots at arbitrary distances (within the redshift bounds from the observational sample, i.e. 0.002 < z < 0.1) from the mock observer. We assume that the haloes are uniformly distributed in space, such that the comoving number density of haloes n is constant:

(1)

Here, Ntot denotes the total number of haloes from TNG100 that are now distributed, N(Dc, Dc + dDc) indicates the number of haloes within a small comoving distance interval dDc, and V(Dc, Dc + dDc) corresponds to the volume of this comoving distance slice. The total comoving volume of the (mock) survey, Vtot, is given by the redshift limits zmin and zmax:

(2)

The normalized probability distribution function for ‘placing’ a halo at a specific distance, p(Dc), can then be written as follows:

(3)

With this procedure, we draw random redshifts within 0.002 ≤ z ≤ 0.1 for each TNG100 halo and then assign these random halo redshifts to all subhaloes (i.e. galaxies) that belong to a particular halo. This is done independently for the z = 0 and z = 0.1 snapshots. We then compute the broad-band flux |$F_\nu ^\mathrm{j}(z)$| in any filter j of the galaxy at that arbitrary redshift. Since we need this flux in the observational frame, we cannot simply use the fluxes that we stored for the TNG100 galaxies (they are stored in the rest- and in the observational frame, but only at the fixed snapshot redshifts of 0 and 0.1). Hence we convolve the low-resolution SED Fν(zsnap, λ) (which is stored for each galaxy in the observational frame at its snapshot redshift zsnap) with filter transmission curves11 counter instruments, the transmission curves are multiplied by the wavelengths. Tj(λ), accounting for the redshifting of the photons:

(4)

with k = (1 + z)/(1 + zsnap) and Dl indicates the luminosity distance (for the z = 0 snapshot we use |$D_l=20\, \mathrm{Mpc}$| as the skirt instrument is placed at this distance). Placing TNG100 galaxies at arbitrary redshifts introduces inconsistencies due to galaxy evolution between the snapshot redshift from which they were extracted and the new redshift at which they are placed. The unknown result without this systematic effect, which would be obtained if we had access to each galaxy at the random continuous redshift between 0.002 and 0.1, is bound by the results using only one of the z = 0 and z = 0.1 snapshots. To estimate if this inconsistency affects our results, we repeat our analysis using only the snapshot z = 0 and z = 0.1, respectively. We find that none of our results are affected significantly.12

The end product of this procedure are observer-frame fluxes in Jansky (equation 4) for the entire z = 0 and z = 0.1 TNG100 galaxy sample, in all available 53 filters. These fluxes can be computed for continuous redshifts within arbitrary redshift intervals, and readily used to mimic observational sensitivity limits in various filters. We emulate the observational galaxy selection by distributing the TNG100 galaxies over the same redshift range (0.002 < z < 0.1) as the GAMA data set. Consistent with the GAMA data, only TNG100 galaxies with fluxes above the thresholds from Table 2 are shown in Figs. 4 and 5. Under the assumption that the GAMA data are complete (i.e. volume-limited) above these flux limits, this procedure mitigates any sample selection effects to ensure a fair comparison of the TNG100 and GAMA galaxy samples.

4.3 Galaxy flux–flux relations

We compare the simulated and observed fluxes in six different flux–flux relations in Fig. 4. We always consider the VISTA K band in combination with various other bands. The K band is a good tracer for stellar mass (Kauffmann & Charlot 1998; Bell & de Jong 2001), hence this analysis is analogous to various galaxy scaling relations as a function of stellar mass in the ‘observational realm’. In Figs. 4 and 5, we show the GAMA and TNG100 2D distributions as kernel density estimates (KDE), with the contours indicating various percentiles of enclosed fraction of the galaxy population density. 1D histograms are shown on the sides, and observational errors are indicated by the grey ellipses in the upper left corner where the darker (lighter) ellipse indicates the median (upper quartile) 1-σ observational error bar. The error bars are computed by propagating the flux uncertainties in quadrature, assuming that the flux uncertainties are uncorrelated with each other. The number of galaxies above the flux limits are given both for TNG100 and GAMA in the top right of each panel. To quantify the degree of agreement between the TNG100 and GAMA distributions, we also compute the 2D Kolmogorov–Smirnov test statistic DKS (Kolmogorov 1933; Smirnov 1948). This number is given in the top right of each panel, with lower numbers indicating a better agreement between the two distributions.

We also discuss two alternative realizations of Fig. 4 in the appendix. Fig. A1 displays the exact same flux–flux relations, but using TNG50 instead of TNG100 to explore the impact of the simulation resolution. In Fig. B1, we test the same flux–flux relations using a conditional KDE, i.e. exactly matching the TNG100 and GAMA VISTA K distributions.

All results in Figs. 4 and 5 use a TNG100 aperture of two stellar half-mass radii, which is systematically smaller than the GAMA apertures (see Fig. 3). To verify if this aperture choice significantly affects our results, we have reproduced (but do not show) all flux–flux and colour–colour relations using a TNG100 aperture of five stellar half-mass radii. We find that the differences are minor (DKS never changes by more than 0.05) and do not affect any of our conclusions.

4.3.1 VISTA K versus GALEX FUV

The relation between galaxy stellar mass and star-formation rate is a fundamental galaxy evolution diagnostic (e.g. Popesso et al. 2023). We begin the TNG100-GAMA comparison by showing an analogue of this fundamental relation in the observational realm: VISTA K versus GALEX FUV luminosity (top left panel of Fig. 4). The FUV-luminosity is dominated by young stellar populations and hence traces SFR (modulo dust attenuation effects, e.g. Salim et al. 2007).

The TNG100 and GAMA distributions in this flux–flux relation match to excellent precision (DKS = 0.08), with both data sets showing the expected relation between stellar mass and SFR (the main sequence of star-forming galaxies; Noeske et al. 2007). We highlight that while the IllustrisTNG model has been calibrated to reproduce several galaxy scaling relations (e.g. the stellar mass–halo mass relation; Pillepich et al. 2018a), the stellar mass–SFR relation was not invoked. On the other hand, the two free parameters of the radiative transfer post-processing (the dust-to-metal ratio fdust and the clearing time-scale for the birth clouds of star-forming regions τ) have been calibrated to reproduce various flux and colour relations from the DustPedia sample in Trčka et al. (2022), including a WISE W1-FUV relation which is very similar to the one presented here (see Section 4.3.3 for our reasoning why to replace WISE W1 with VISTA K as stellar mass tracer).

4.3.2 VISTA K versus SDSS r

The SDSS r-band luminosity also traces stellar mass (e.g. Mahajan et al. 2018), but due to increased dust attenuation and variability with stellar age it is less often used as a direct stellar mass proxy compared to the K band (Bell et al. 2003). On the other hand, the stellar evolution templates in the NIR carry systematic uncertainties related to TP-AGB stars (Maraston et al. 2006; Taylor et al. 2011). We find that the r and K-band fluxes correlate very tightly, in a similar fashion for both the GAMA and TNG100 data. The TNG100 galaxies are redder by |$\approx 0.25\, \mathrm{mag}$| which could be due to an overly effective dust attenuation in the r band. Comparatively older or more metal-rich stellar populations in TNG100 could also contribute to this discrepancy, but Nelson et al. (2018) find that the TNG100 galaxy ages and stellar metallicities broadly agree with observational SDSS data within the systematic uncertainties (see their fig. 2). Lastly, we find that systematic uncertainties of the SED templates for the evolved stellar populations are of the order of |$\approx 0.2\, \mathrm{mag}$| when testing different template libraries.

4.3.3 VISTA K versus WISE W1

Since the WISE W1 flux traces the Rayleigh–Jeans tail of evolved stars, this band can also be used as a stellar mass estimate (e.g. Jarrett et al. 2013, 2023; Meidt et al. 2014; Sureshkumar et al. 2023). The comparison with GAMA fluxes reveals that there is a sizeable population of TNG100 galaxies above the GAMA distribution. While the 1D histograms indicate that this offset seems to be mostly due to the K-band flux being too low in TNG100, we caution that a strong selection effect is at play: only galaxies that have both K and WISE W1 fluxes above the thresholds shown in Table 2 are included in the plot. If the selection is dominated by the WISE W1 band, and if the TNG100 galaxies are systematically brighter in this band than GAMA galaxies (at a fixed K-band luminosity), then this ‘WISE W1 excess’ could manifest itself as a ‘VISTA K deficiency’ – even if the TNG100 and GAMA K-band distributions would match exactly. This is because TNG100 galaxies which are comparatively faint in the K-band can reach the required WISE W1 flux threshold, while GAMA galaxies at similar K-band luminosities would be discarded leading to the shown offset in the 1D K-band distributions. To visualize the flux–flux relations under this assumption of perfectly matching K-band luminosity distributions between TNG100 and GAMA, we show the results of a conditional KDE in Fig. B1.

We find that the offset from the GAMA distribution strongly correlates with the number of star-forming regions (stellar populations with ages below 10 Myr which we model with the MAPPINGS-III templates) relative to the number of evolved stellar populations. At first sight, this suggests that the MAPPINGS-III templates are the cause of excess WISE W1 emission for the TNG100 galaxies. However, we found that the contribution of star-forming regions to the WISE W1 flux is small, typically below 5 per cent (see also Fig. 1). Instead, we suggest that emission from the diffuse dust causes the elevated WISE W1 fluxes, as the diffuse dust contribution also strongly correlates with the offset from the GAMA distribution and reaches values up to 70  per cent. Upon inspection of the simulated TNG100 spectra, we find emission features at the WISE W1 band which corresponds to the 3.3-micron polycyclic aromic hydrocarbon (PAH) feature (Tokunaga et al. 1991; Kim et al. 2012). It seems plausible that it is this PAH emission which causes the excess WISE W1 fluxes for the TNG100 galaxies, but whether this originates in overly emissive PAH dust in the THEMIS dust mix or if the MAPPINGS-III templates are overly effective in stochastically heating the surrounding diffuse dust remains unclear.

4.3.4 VISTA K versus WISE W3

Since the WISE W3 band predominantly traces the PAH emission from PDRs (Kapoor et al. 2023), this flux is used as an alternative tracer for star-formation rate which is unaffected by dust attenuation (e.g. Cluver et al. 2017; Elson et al. 2019; Naluminsa, Elson & Jarrett 2021; Sureshkumar et al. 2023). Similarly as in Section 4.3.1, we see the star-forming main sequence with similar slopes in the TNG100 and GAMA data, but with a clearer separation between the star-forming and quiescent galaxy populations compared to the K-FUV relation. The TNG100 galaxies populating the sequence in the bottom right corner, with WISE W3 luminosities 1.5 dex below the main sequence, are all devoid of star-forming gas (i.e. have zero star-formation rate). This population of quiescent galaxies is also seen in the GAMA data.

On the other hand, the star-forming TNG100 galaxies are slightly offset towards the top left corner. The 1D WISE W3 distributions match to great precision, but the TNG100 VISTA K luminosities seem to be offset to lower values compared to the GAMA data. This is exactly the same effect as discussed in Section 4.3.3 (a TNG100 excess in WISE W3 flux disguised as a deficiency in K-band flux due to selection effects), and we speculate that it also has the same origin (an excess of PAH emission from the diffuse dust component) as the diffuse dust emission contributes at least |$\approx 60~{{\ \rm per\ cent}}$| of the WISE W3 flux for all star-forming galaxies (see also Fig. 1).

4.3.5 VISTA K versus PACS 100

Since the FIR dust emission peak is usually encompassed by the 100 and 160  μm bands (Cortese et al. 2014), the PACS 100 flux traces relatively warm dust. The correlation of this flux with the K-band exhibits a similar slope and scatter in the TNG100 and GAMA distributions. The TNG100 PACS 100 fluxes are systematically smaller than the GAMA fluxes, but the offset is very small (⁠|$\approx 0.1\, \mathrm{dex}$|⁠). We note that for this and the next panel involving FIR fluxes, the galaxy samples shrink substantially (c.f. the GAMA and TNG100 base samples of 17 932 and 61 076 galaxies, respectively).

4.3.6 VISTA K versus SPIRE 500

The SPIRE 500 band traces relatively cold dust, and can be used as a dust mass proxy since the dust budget in the ISM is dominated by cold dust (⁠|$T\lesssim 25\, \mathrm{K}$|⁠; Dunne & Eales 2001) and the SPIRE 500 flux is less affected by dust temperature variations than for instance the SPIRE 250 flux (Galametz et al. 2012). Hence, the correlation between K and SPIRE 500 flux is a purely observational counterpart of the physical non-linear relation between stellar and cold dust mass (e.g. Cortese et al. 2012).

While we find that the TNG100 and GAMA flux distributions broadly agree in this flux–flux relation, there is a sizable population of GAMA galaxies at low K-band luminosities (⁠|$L_\mathrm{K}\sim 10^9\, \mathrm{L}_\odot$|⁠) with substantially elevated SPIRE 500 fluxes (by approximately one order of magnitude). When replacing the SPIRE 500 with the SPIRE 250 band we find a better agreement (DKS = 0.13), moreover the 2D KDE contours do not show a population of elevated SPIRE 250 fluxes for the GAMA galaxies. The SPIRE 500 band is (unlike the SPIRE 250 band) susceptible to submillimetre (sub-mm) excess. This excess flux could be due to very cold dust shielded from starlight or changes in the emission properties of the dust grains at sub-mm wavelengths, but the exact origin remains unknown (Kirkpatrick et al. 2013; Hermelo et al. 2016). As the cold (⁠|$T\lesssim 8000\, \mathrm{K}$|⁠) ISM is not modelled explicitly in the IllustrisTNG model but treated according to the two-phase model of Springel & Hernquist (2003), the lack of a cold ISM component could explain the absence of this galaxy population with elevated SPIRE 500 fluxes in TNG100.

However, the SPIRE 500 fluxes are also known to suffer more from source confusion (Rigby et al. 2011) and are less reliable than the SPIRE 250 fluxes. We tested a more stringent SNR criterion of five (instead of three), which mostly affects the SPIRE 500 band. We find that the population of GAMA galaxies with elevated SPIRE 500 fluxes vanishes almost completely in this case,13 with DKS never changing by more than 0.07 for any of the relations in Figs. 4 and 5. Hence, this particular tension is not robust and could be due to observational uncertainties.

4.4 Galaxy colour–colour relations

We show four different colour–colour relations in Fig. 5. The galaxy samples are determined in the same way as in Fig. 4, i.e. they are derived from the GAMA and TNG100 base samples by imposing SNR and flux thresholds on each band involved in a specific colour–colour relation. An alternative realization of Fig. 5 using TNG50 instead of TNG100 is shown in Fig. A2.

4.4.1 (SDSS r–VISTA J) versus (SDSS u–SDSS r)

This colour–colour relation emulates the commonly used UVJ diagram (using the V-J and U-V Johnson filters), which is relevant due to its capability of separating the star-forming and quiescent galaxy populations observationally (Williams et al. 2009; Whitaker et al. 2010; Patel et al. 2012; see Leja, Tacchella & Conroy 2019 for some limitations of the UVJ diagram). While dust attenuation shifts galaxies in the top right direction of the UVJ diagram, quiescent galaxies appear as a distinct population that is offset towards the top left direction. The UVJ diagram has also been studied in post-processed cosmological simulations for TNG100 (Donnari et al. 2019; Nagaraj et al. 2022), TNG50 (Baes et al. 2024a), and SIMBA (Akins et al. 2022). Using a raytracing post-processing method developed by Nelson et al. (2018), Donnari et al. (2019) derive the rest-frame UVJ diagram for TNG100 at z = 0 and find that it is broadly consistent with observational data, but do not compare the simulated and observed colour distributions in detail.

In our case, we find two galaxy populations that are clearly separated as seen in observations. As we know the star-formation rates for the TNG100 galaxies, we can verify if these two populations indeed correspond to star-forming and quiescent galaxies. When splitting the galaxy population by specific star-formation rate (sSFR), we find that star-forming galaxies (with |$\mathrm{sSFR}\gt 10^{-10.5}\, \mathrm{yr}^{-1}$|⁠) indeed occupy the peak at blue colours and broadly extend to the top right corner, while quiescent galaxies (with |$\mathrm{sSFR}\lt 10^{-11.5}\, \mathrm{yr}^{-1}$| are located along a very narrow sequence offset from the star-forming sequence to redder u-r colours.

However, the star-forming sequence appears to be slightly too red in TNG100 by |$\approx 0.25\, \mathrm{mag}$| along both axes. Multiple effects could contribute to render the star-forming galaxies too red for TNG100 (as discussed in Section 4.3.2): at these wavelengths, the amount of dust as well as the dust model affects the colours. Furthermore, the SED template libraries for the evolved stars can affect the UVJ colours by up to 0.2 mag (G. Worthey, private communication). And lastly, the stellar populations of the star-forming TNG100 galaxies could also be intrinsically too old or metal-rich. However, we remark that the u-r colour of z = 0 TNG100 galaxies post-processed with the simpler method of Nelson et al. (2018) reproduce observational data from SDSS, i.e. the star-forming galaxies are bluer by |$\approx 0.25\, \mathrm{mag}$| compared to our TNG100 colours calculated with skirt . At the same time, the quiescent galaxies which are less affected by dust attenuation are slightly redder (by |$\approx 0.1\, \mathrm{mag}$|⁠) in Nelson et al. (2018) compared to our results. This points towards too much dust reddening in our skirt pipeline, which is puzzling given the excellent agreement of our skirt fluxes with other flux–flux/colour–colour relations and luminosity functions. We defer a more detailed assessment of the intrinsic and dust-reddened optical colors of TNG100 galaxies to future work.

4.4.2 (GALEX FUV–VISTA K) versus (VISTA K–SPIRE 250)

As discussed in Sections 4.3.1 and 4.3.6, the GALEX FUV and SPIRE 250 fluxes trace galaxy SFR and dust mass, respectively. Hence, this colour–colour relation is an analogue of the physical galaxy scaling relation between specific star-formation rate and specific dust mass (e.g. Cortese et al. 2012; Rémy-Ruyer et al. 2015; Nanni et al. 2020; Shivaei et al. 2022). Both GAMA and TNG100 feature a mild correlation between these colours, with a tail extending towards the bottom left corner which contains quiescent galaxies with very small specific dust masses. The peaks, widths, and correlation of the GAMA and TNG100 colour distributions match to great precision for this relation.

We briefly compare this result to a similar colour–colour relation which was used to calibrate the skirt post-processing parameters in Trčka et al. (2022) (their fig. 6, panel g). Their colour–colour relation slightly differs from the one shown here as Trčka et al. (2022) adopted the WISE W1 band to trace stellar mass, while we use the VISTA K band. As discussed in Section 4.3.3, the WISE W1 flux can contain significant PAH contribution from the diffuse dust component. We also examined the exact same colour–colour relation replacing the VISTA K with the WISE W1 band, to reproduce the colour–colour relation that was used by Trčka et al. (2022) in the calibration process. We find for our data sets that the excellent match between the GAMA and TNG100 distributions vanishes (DKS = 0.6), with the WISE W1-SPIRE 250 (GALEX FUV-WISE W1) colour of GAMA being significantly redder bluer by |$\approx 0.5\, \mathrm{mag}$| compared to TNG100. This means that the radiative transfer calibration of Trčka et al. (2022) (using DustPedia data and WISE W1 fluxes) produces sensible results when using GAMA data and VISTA K fluxes as shown here, but is in tension when using the same GAMA data with WISE W1 fluxes.

We found two different effects with coincidentally similar magnitudes, which can explain these discrepant results: first, the TNG100 WISE W1 fluxes contain PAH emission that seems to be too strong in the skirt setup used here (see Section 4.3.3). Secondly, the DustPedia WISE W1-SPIRE 250 colours are bluer by |$\approx 0.5\, \mathrm{mag}$| compared to the GAMA colours, probably related to selection effects (the DustPedia archive is a much smaller sample of 814 local galaxies with Herschel and WISE W1 detections). These two effects conspire to give consistent results for this colour–colour relation using the WISE W1 band and DustPedia or using the VISTA K band and GAMA data.

4.4.3 (GALEX FUV–VISTA K) versus (GALEX FUV–GALEX NUV)

This colour–colour relation has the UV slope GALEX FUV-NUV on the y-axis. Since the UV is dominated by star-forming regions and dust attenuation is very strong at these wavelengths, the UV slope of the TNG100 galaxies sensitively depends on the treatment of star-forming regions and the subsequent attenuation in the diffuse ISM. Hence, the UV slope β is correlated with the infrared excess IRX (ratio of IR and UV luminosity) and commonly used as a measure for attenuation in the ISM using the IRX-β relation (Calzetti 1997; Meurer, Heckman & Calzetti 1999). We examine the FUV-NUV colour as a function of FUV-VISTA K, which we use as a proxy for sSFR−1 as in Section 4.4.2.

We find that the sSFR and UV slopes are anticorrelated in both data sets, but the anticorrelation is substantially stronger in the GAMA data. Furthermore, the TNG100 UV slopes are also offset to lower values, with the peaks of the distributions differing by |$\approx 0.4\, \mathrm{mag}$|⁠. We also note that the FUV-NUV distribution of the GAMA galaxies is wider, which is (at least partially) caused by the relatively high noise levels of this particular colour.

When calculating FUV-NUV colours without diffuse dust component for the TNG100 galaxies we find that the FUV-NUV colours hardly change, meaning that the diffuse dust has a negligible impact on the UV slope. Instead, the FUV-NUV colour is driven by the SED templates of both the evolved stellar populations and the star-forming regions, which contribute roughly similar fractions to the total UV fluxes (see Fig. 1). A redder FUV-NUV colour (i.e. a steeper UV slope) could, for instance, be obtained with a more selective extinction in the FUV band from the dusty birth clouds in the MAPPINGS-III templates. Kapoor et al. (in preparation) find that for the 30 MW-like galaxies from the AURIGA simulation (Grand et al. 2017), the recent TODDLERS library for star-forming regions (Kapoor et al. 2023) yields redder FUV-NUV colours of |$\approx 0.15\, \mathrm{mag}$| compared to MAPPINGS-III. Whether this change fully resolves the tension in this colour–colour relation or additional adjustments need to be made (e.g. in the templates for the evolved stellar populations, which can also contribute substantially to the UV fluxes) would require post-processing the TNG100 galaxies again varying the SED templates of the star-forming regions and evolved stellar populations, which is beyond the scope of this study.

4.4.4 (WISE W4–SPIRE 250) versus (WISE W3–SPIRE 250)

Lastly, we show a colour–colour relation involving the SPIRE 250, WISE W3, and WISE W4 fluxes. As discussed in Section 4.3.4, the WISE W3 band traces PAH emission from the diffuse dust component. The WISE W4 flux originates from hot dust around star-forming regions (Kapoor et al. 2023), and we find that it comes roughly in equal parts from the MAPPINGS-III star-forming regions and the diffuse dust (see Fig. 1). Hence, this colour–colour relation measures the amount of hot dust and PAH emission relative to cold dust traced by SPIRE 250.

This relation is observationally particularly challenging to measure, resulting in the large observational errors and wider GAMA distributions. While the WISE W4-SPIRE 250 colour distributions broadly match, the TNG100 WISE W3-SPIRE 250 colours are bluer by ≈0.5 mag which we attribute to elevated WISE W3 fluxes due to PAH emission from the diffuse dust (as discussed in Section 4.3.4). The 2D distributions show that the slope of the relation is steeper in TNG100. This is expected since galaxies with high WISE W4-SPIRE 250 colours have a comparatively large fraction of their dust heated to high temperatures due to emission from star-forming regions. This in turn leads to a stronger WISE W3 excess for those galaxies and thus a steepening of this colour–colour relation for TNG100 galaxies.

5 SUMMARY

We applied the radiative transfer post-processing method developed by Trčka et al. (2022), where the TNG50 simulation was analysed, to the fiducial TNG100 run of the IllustrisTNG suite. The post-processing method uses the dust MCRT code skirt to propagate the emission from evolved stars and star-forming regions through the dusty ISM. We generated broad-band fluxes and low-resolution SEDs from the UV to the far-IR for all TNG100 galaxies in the z = 0 and z = 0.1 snapshots resolved by more than ≈200 star particles (⁠|$M_\star \gt 10^{8.5}\, \mathrm{M}_\odot$|⁠), leading to a sample of |$\approx 60\, 000$| post-processed galaxies. This data set (as well as the TNG50 and TNG50-2 fluxes and SEDs generated by Trčka et al. 2022) is publicly available on the IllustrisTNG website.14 To test the fidelity of the cosmological simulation and our post-processing method, we compared the simulated fluxes to low-redshift observational data. The following points summarize our main findings:

  • TNG100 luminosity functions from the UV to the far-IR fall within the range of low-redshift observational results (Fig. 2). Residual discrepancies at the bright end in the UV/optical/NIR are on the level of systematic effects in the observations related to aperture choices. As noted by Trčka et al. (2022), the improvement over the TNG50 simulation stems from the fact that the IllustrisTNG model was designed at the resolution of TNG100, i.e. the subgrid parameters were chosen such that TNG100 reproduces some key statistics of the low-redshift galaxy population (e.g. the stellar mass–halo mass relation).

  • We compare six different flux–flux relations between TNG100 and observational data from GAMA in Fig. 4. To mimic the strong observational selection effects, we redistribute the TNG100 galaxies to arbitrary redshifts to compute a realistic apparent brightness distribution (Section 4.2). Exploring the fluxes in various bands as a function of K-band luminosity (which traces stellar mass), we find a broad baseline agreement between TNG100 and GAMA. Tension in the WISE bands is correlated with the abundance of star-forming regions in TNG100 galaxies and with emission from the diffuse dust component. Hence, we attribute this tension to excess PAH emission, potentially related to overly effective stochastic dust heating from the star-forming regions.

  • Lastly, we use the same method applied for the flux–flux relations to compare four different colour–colour relations between TNG100 and GAMA. Tension exists mostly in the UV slope (TNG100 galaxies exhibit flatter UV slopes, i.e. lower FUV-NUV colours, than GAMA data) and in IR colours involving WISE bands. The former could be related to the extinction in the dusty birth clouds of the MAPPINGS-III templates not being selective enough, while the latter is again caused by excess PAH emission from the diffuse dust. However, we remark that uncertainties in the dust model, dust distribution, and templates for evolved stellar populations could also play a role.

We conclude that this low-redshift data set provides a useful resource to test the fidelity of TNG100, explore observational systematics (e.g. aperture, inclination, or sample selection effects), and interpret the complexity faced in the observed galaxy population. Fundamentally, this is made possible by shifting the simulated data into the ‘observational realm’. This approach is complementary to studies in the ‘physical realm’, and we highlight the importance of considering both approaches as they carry different systematics and biases. The data set presented in this study represents an important step towards analysing the vast IllustrisTNG simulation landscape in the ‘observational realm’.

ACKNOWLEDGEMENTS

We thank Eric Rohr and Peter Camps for enlightening discussions. We also wish to express our gratitude towards the anonymous referee, whose feedback substantially improved the quality of this paper.

AG gratefully acknowledges financial support from the Fund for Scientific Research Flanders (FWO-Vlaanderen, project FWO.3F0.2021.0030.01).

This study made extensive use of the python programming language, especially the numpy (van der Walt, Colbert & Varoquaux 2011), matplotlib (Hunter 2007), and scipy (Virtanen et al. 2020) packages. We also acknowledge the use of the topcat visualization tool (Taylor 2005) and the ndtest python package (https://github.com/syrte/ndtest).

The IllustrisTNG simulations were undertaken with compute time awarded by the Gauss Centre for Supercomputing (GCS) under GCS Large-Scale Projects GCS-ILLU and GCS-DWAR on the GCS share of the supercomputer Hazel Hen at the High Performance Computing Center Stuttgart (HLRS), as well as on the machines of the Max Planck Computing and Data Facility (MPCDF) in Garching, Germany.

GAMA is a joint European-Australasian project based around a spectroscopic campaign using the Anglo-Australian Telescope. The GAMA input catalogue is based on data taken from the Sloan Digital Sky Survey and the UKIRT Infrared Deep Sky Survey. Complementary imaging of the GAMA regions is being obtained by a number of independent survey programmes including GALEX MIS, VST KiDS, VISTA VIKING, WISE, Herschel-ATLAS, GMRT, and ASKAP providing UV to radio coverage. GAMA is funded by the STFC (UK), the ARC (Australia), the AAO, and the participating institutions. The GAMA website is http://www.gama-survey.org/. We also use VISTA VIKING data from the GAMA data base, based on observations made with ESO Telescopes at the La Silla Paranal Observatory under programme ID 179.A-2004.

This research has made use of the Spanish Virtual Observatory (https://svo.cab.inta-csic.es, Rodrigo, Solano & Bayo 2012; Rodrigo & Solano 2020) project funded by MCIN/AEI/10.13039/501100011033/ through grant PID2020-112949GB-I00.

DATA AVAILABILITY

The IllustrisTNG data used in this work as well as the generated broad-band fluxes are publicly available at https://www.tng-project.org/ as described by Nelson et al. (2019a).

The GAMA data is publicly available as part of data release 4 (DR4, Driver et al. 2022) of the GAMA survey. DR4 can be accessed at http://www.gama-survey.org/dr4/.

All other data (observational luminosity functions, derived data for GAMA) and the analysis scripts are publicly available at https://github.com/andreagebek/TNG100colors.

Footnotes

2

The IllustrisTNG subhalo finder sometimes falsely identifies baryonic fragments or clumps as galaxies. The IllustrisTNG galaxy catalogue (Nelson et al. 2019a) contains a flag that indicates if a subhalo is probably not of cosmological origin, in which case the ‘SubhaloFlag’ field is set to zero. We omit these objects from the post-processing analysis.

3

This ensures that we capture most of the starlight emitted by the galaxy. To test this more quantitatively, we compared half-light sizes derived by Baes et al. (2024b) for massive (⁠|$M_\star \ge 10^{9.8}\, \mathrm{M}_\odot$|⁠) TNG50-1 galaxies to their half-mass sizes. The bluest available band (LSST u) shows the highest half-light to half-mass size ratios, with |$28.3~{{\ \rm per\ cent}}$| (⁠|$3.47~{{\ \rm per\ cent}}$|⁠) of all galaxies having a half-light size larger than two (five) half-mass radii. Hence, there is a sizeable fraction of galaxies for which we miss some starlight in the bluest optical and the UV filters, but we remark that our maximum aperture of five stellar half-mass radii is comparable or larger than the observational apertures used in this paper (see Fig. 3).

5

For the data in the observational frame, the skirt instrument is placed at 20 Mpc for redshift zero or at the corresponding redshift for z = 0.1.

6

Specifically, we use LF data at z ≲ 0.1 from the GALEX MIS (Budavári et al. 2005), GALEX AIS (Wyder et al. 2005), GAMA (Driver et al. 2012), SDSS (Loveday et al. 2012), SDSS+UKIDSS LAS+MGC redshift survey (Hill et al. 2010), H-ATLAS (Dunne et al. 2011), Planck ERCSC (Negrello et al. 2013), and Spitzer Data Fusion data base  + HerMES (Marchetti et al. 2016) surveys.

7

Specifically, the GAMA data base includes photometry from the XMM-XXL, GALEX, SDSS, KiDS, VIKING, WISE, and Herschel-ATLAS surveys.

8

Different stellar mass estimates exist in this GAMA table. While the TNG100 stellar masses would correspond to the sum of the GAMA stellar and remnant masses, we just consider the more commonly used stellar masses. Adding the remnant masses would shift the stellar masses by less than 0.1 dex. Furthermore, we correct the stellar masses to h = 0.6774, but do not perform an aperture correction.

9

We use |$R_\mathrm{aperture}=\sqrt{ab}$| with a and b the semimajor and semiminor axes of the aperture, respectively.

10

As an example, the galaxy star-formation rate in the simulation is typically defined as the instantaneous SFR of the star-forming gas. On the other hand, in observations the SFR is determined for some tracer of young stellar populations, yielding the average SFR over a certain time-scale.

11

We obtained the filter transmission curves from the Spanish Virtual Observatory (SVO) filter profile service (http://svo2.cab.inta-csic.es/theory/fps/). For photon

12

The similarity of the TNG100 and GAMA distributions quantified by the 2D Kolmogorov-Smirnov test statistic DKS never changes by more than 0.04 in Figs. 4 and 5.

13

The impact on any of the other results is minor when using a more stringent SNR criterion of SNR > 5

REFERENCES

Akins
H. B.
,
Narayanan
D.
,
Whitaker
K. E.
,
Davé
R.
,
Lower
S.
,
Bezanson
R.
,
Feldmann
R.
,
Kriek
M.
,
2022
,
ApJ
,
929
,
94

Baes
M.
,
Verstappen
J.
,
De Looze
I.
,
Fritz
J.
,
Saftly
W.
,
Vidal Pérez
E.
,
Stalevski
M.
,
Valcke
S.
,
2011
,
ApJS
,
196
,
22

Baes
M.
et al. ,
2024a
,
A&A
,
683
,
 A181

Baes
M.
et al. ,
2024b
,
A&A
,
683
,
A182

Baldry
I. K.
et al. ,
2012
,
MNRAS
,
421
,
621

Baldry
I. K.
et al. ,
2018
,
MNRAS
,
474
,
3875

Bell
E. F.
,
de Jong
R. S.
,
2001
,
ApJ
,
550
,
212

Bell
E. F.
,
McIntosh
D. H.
,
Katz
N.
,
Weinberg
M. D.
,
2003
,
ApJS
,
149
,
289

Bernardi
M.
,
Meert
A.
,
Sheth
R. K.
,
Vikram
V.
,
Huertas-Company
M.
,
Mei
S.
,
Shankar
F.
,
2013
,
MNRAS
,
436
,
697

Bertin
E.
,
Arnouts
S.
,
1996
,
A&AS
,
117
,
393

Bianchi
S.
et al. ,
2018
,
A&A
,
620
,
A112

Blaizot
J.
,
Wadadekar
Y.
,
Guiderdoni
B.
,
Colombi
S. T.
,
Bertin
E.
,
Bouchet
F. R.
,
Devriendt
J. E. G.
,
Hatton
S.
,
2005
,
MNRAS
,
360
,
159

Bottrell
C.
et al. ,
2024
,
MNRAS
,
527
,
6506

Bruzual
G.
,
Charlot
S.
,
2003
,
MNRAS
,
344
,
1000

Budavári
T.
et al. ,
2005
,
ApJ
,
619
,
L31

Calzetti
D.
,
1997
,
AJ
,
113
,
162

Camps
P.
,
Baes
M.
,
2015
,
Astron. Comput.
,
9
,
20

Camps
P.
,
Baes
M.
,
2020
,
Astron. Comput.
,
31
,
100381

Camps
P.
et al. ,
2015
,
A&A
,
580
,
A87

Camps
P.
,
Trayford
J. W.
,
Baes
M.
,
Theuns
T.
,
Schaller
M.
,
Schaye
J.
,
2016
,
MNRAS
,
462
,
1057

Camps
P.
et al. ,
2018
,
ApJS
,
234
,
20

Camps
P.
,
Kapoor
A. U.
,
Trcka
A.
,
Font
A. S.
,
McCarthy
I. G.
,
Trayford
J.
,
Baes
M.
,
2022
,
MNRAS
,
512
,
2728

Chabrier
G.
,
2003
,
PASP
,
115
,
763

Clark
C. J. R.
et al. ,
2018
,
A&A
,
609
,
A37

Cluver
M. E.
,
Jarrett
T. H.
,
Dale
D. A.
,
Smith
J. D. T.
,
August
T.
,
Brown
M. J. I.
,
2017
,
ApJ
,
850
,
68

Cortese
L.
et al. ,
2012
,
A&A
,
540
,
A52

Cortese
L.
et al. ,
2014
,
MNRAS
,
440
,
942

Costantin
L.
et al. ,
2023
,
ApJ
,
946
,
71

Davé
R.
,
Rafieferantsoa
M. H.
,
Thompson
R. J.
,
Hopkins
P. F.
,
2017
,
MNRAS
,
467
,
115

Davies
J. I.
et al. ,
2017
,
PASP
,
129
,
044102

De Rossi
M. E.
,
Bower
R. G.
,
Font
A. S.
,
Schaye
J.
,
Theuns
T.
,
2017
,
MNRAS
,
472
,
3354

Diemer
B.
et al. ,
2019
,
MNRAS
,
487
,
1529

Donnari
M.
et al. ,
2019
,
MNRAS
,
485
,
4817

Donnari
M.
,
Pillepich
A.
,
Nelson
D.
,
Marinacci
F.
,
Vogelsberger
M.
,
Hernquist
L.
,
2021
,
MNRAS
,
506
,
4760

Driver
S. P.
et al. ,
2009
,
Astron. Geophys.
,
50
,
5

Driver
S. P.
et al. ,
2011
,
MNRAS
,
413
,
971

Driver
S. P.
et al. ,
2012
,
MNRAS
,
427
,
3244

Driver
S. P.
et al. ,
2022
,
MNRAS
,
513
,
439

Dunne
L.
,
Eales
S. A.
,
2001
,
MNRAS
,
327
,
697

Dunne
L.
et al. ,
2011
,
MNRAS
,
417
,
1510

Elson
E. C.
,
Kam
S. Z.
,
Chemin
L.
,
Carignan
C.
,
Jarrett
T. H.
,
2019
,
MNRAS
,
483
,
931

Furlong
M.
et al. ,
2015
,
MNRAS
,
450
,
4486

Galametz
M.
et al. ,
2012
,
MNRAS
,
425
,
763

Goddy
J. S.
,
Stark
D. V.
,
Masters
K. L.
,
Bundy
K.
,
Drory
N.
,
Law
D. R.
,
2023
,
MNRAS
,
520
,
3895

Grand
R. J. J.
et al. ,
2017
,
MNRAS
,
467
,
179

Groves
B.
,
Dopita
M. A.
,
Sutherland
R. S.
,
Kewley
L. J.
,
Fischera
J.
,
Leitherer
C.
,
Brandl
B.
,
van Breugel
W.
,
2008
,
ApJS
,
176
,
438

Guzmán-Ortega
A.
,
Rodriguez-Gomez
V.
,
Snyder
G. F.
,
Chamberlain
K.
,
Hernquist
L.
,
2023
,
MNRAS
,
519
,
4920

Hermelo
I.
et al. ,
2016
,
A&A
,
590
,
A56

Hill
D. T.
,
Driver
S. P.
,
Cameron
E.
,
Cross
N.
,
Liske
J.
,
Robotham
A.
,
2010
,
MNRAS
,
404
,
1215

Hill
D. T.
et al. ,
2011
,
MNRAS
,
412
,
765

Hunter
J. D.
,
2007
,
Comput. Sci. Eng.
,
9
,
90

Jang
J. K.
et al. ,
2023
,
ApJ
,
950
,
4

Jarrett
T. H.
et al. ,
2013
,
AJ
,
145
,
6

Jarrett
T. H.
,
Cluver
M. E.
,
Taylor
E. N.
,
Bellstedt
S.
,
Robotham
A. S. G.
,
Yao
H. F. M.
,
2023
,
ApJ
,
946
,
95

Jones
A. P.
,
Köhler
M.
,
Ysard
N.
,
Bocchio
M.
,
Verstraete
L.
,
2017
,
A&A
,
602
,
A46

Kannan
R.
,
Garaldi
E.
,
Smith
A.
,
Pakmor
R.
,
Springel
V.
,
Vogelsberger
M.
,
Hernquist
L.
,
2022
,
MNRAS
,
511
,
4005

Kapoor
A. U.
et al. ,
2021
,
MNRAS
,
506
,
5703

Kapoor
A. U.
et al. ,
2023
,
MNRAS
,
526
,
3871

Katsianis
A.
et al. ,
2020
,
MNRAS
,
492
,
5592

Kauffmann
G.
,
Charlot
S.
,
1998
,
MNRAS
,
297
,
L23

Kim
J. H.
et al. ,
2012
,
ApJ
,
760
,
120

Kirkpatrick
A.
et al. ,
2013
,
ApJ
,
778
,
51

Kitzbichler
M. G.
,
White
S. D. M.
,
2007
,
MNRAS
,
376
,
2

Kolmogorov
A. N.
,
1933
,
Giornale Inst. Ital. Attuari
,
4
,
83

Kugel
R.
et al. ,
2023
,
MNRAS
,
526
,
6103

Leja
J.
,
van Dokkum
P. G.
,
Franx
M.
,
Whitaker
K. E.
,
2015
,
ApJ
,
798
,
115

Leja
J.
,
Tacchella
S.
,
Conroy
C.
,
2019
,
ApJ
,
880
,
L9

Leja
J.
et al. ,
2022
,
ApJ
,
936
,
165

Liske
J.
et al. ,
2015
,
MNRAS
,
452
,
2087

Loveday
J.
et al. ,
2012
,
MNRAS
,
420
,
1239

Mahajan
S.
et al. ,
2018
,
MNRAS
,
475
,
788

Maraston
C.
,
Daddi
E.
,
Renzini
A.
,
Cimatti
A.
,
Dickinson
M.
,
Papovich
C.
,
Pasquali
A.
,
Pirzkal
N.
,
2006
,
ApJ
,
652
,
85

Marchetti
L.
et al. ,
2016
,
MNRAS
,
456
,
1999

Marinacci
F.
et al. ,
2018
,
MNRAS
,
480
,
5113

Meidt
S. E.
et al. ,
2014
,
ApJ
,
788
,
144

Meurer
G. R.
,
Heckman
T. M.
,
Calzetti
D.
,
1999
,
ApJ
,
521
,
64

Mitchell
P. D.
,
Lacey
C. G.
,
Cole
S.
,
Baugh
C. M.
,
2014
,
MNRAS
,
444
,
2637

Nagaraj
G.
,
Forbes
J. C.
,
Leja
J.
,
Foreman-Mackey
D.
,
Hayward
C. C.
,
2022
,
ApJ
,
939
,
29

Naiman
J. P.
et al. ,
2018
,
MNRAS
,
477
,
1206

Naluminsa
E.
,
Elson
E. C.
,
Jarrett
T. H.
,
2021
,
MNRAS
,
502
,
5711

Nanni
A.
,
Burgarella
D.
,
Theulé
P.
,
Côté
B.
,
Hirashita
H.
,
2020
,
A&A
,
641
,
A168

Narayanan
D.
et al. ,
2021
,
ApJS
,
252
,
12

Negrello
M.
et al. ,
2013
,
MNRAS
,
429
,
1309

Nelson
D.
et al. ,
2018
,
MNRAS
,
475
,
624

Nelson
D.
et al. ,
2019a
,
Comput. Astrophys. Cosmol.
,
6
,
2

Nelson
D.
et al. ,
2019b
,
MNRAS
,
490
,
3234

Nelson
E. J.
et al. ,
2021
,
MNRAS
,
508
,
219

Noeske
K. G.
et al. ,
2007
,
ApJ
,
660
,
L43

Oke
J. B.
,
1971
,
ApJ
,
170
,
193

Pacifici
C.
et al. ,
2023
,
ApJ
,
944
,
141

Patel
S. G.
,
Holden
B. P.
,
Kelson
D. D.
,
Franx
M.
,
van der Wel
A.
,
Illingworth
G. D.
,
2012
,
ApJ
,
748
,
L27

Pillepich
A.
et al. ,
2018a
,
MNRAS
,
473
,
4077

Pillepich
A.
et al. ,
2018b
,
MNRAS
,
475
,
648

Pillepich
A.
et al. ,
2019
,
MNRAS
,
490
,
3196

Planck Collaboration XIII
2016
,
A&A
,
594
,
A13

Popescu
C. C.
,
Tuffs
R. J.
,
2002
,
MNRAS
,
335
,
L41

Popesso
P.
et al. ,
2023
,
MNRAS
,
519
,
1526

Popping
G.
et al. ,
2022
,
MNRAS
,
510
,
3321

Rémy-Ruyer
A.
et al. ,
2015
,
A&A
,
582
,
A121

Rigby
E. E.
et al. ,
2011
,
MNRAS
,
415
,
2336

Rodrigo
C.
,
Solano
E.
,
2020
, in
XIV.0 Scientific Meeting (virtual) of the Spanish Astronomical Society
. p.
182

Rodrigo
C.
,
Solano
E.
,
Bayo
A.
,
2012
,
SVO Filter Profile Service Version 1.0, IVOA Working Draft 15 October 2012
,
Available at
: https://ui.adsabs.harvard.edu/abs/2012ivoa.rept.1015R

Rodriguez-Gomez
V.
et al. ,
2019
,
MNRAS
,
483
,
4140

Rosdahl
J.
et al. ,
2018
,
MNRAS
,
479
,
994

Rosito
M. S.
,
Tissera
P. B.
,
Pedrosa
S. E.
,
Lagos
C. D. P.
,
2019
,
A&A
,
629
,
L3

Saftly
W.
,
Camps
P.
,
Baes
M.
,
Gordon
K. D.
,
Vandewoude
S.
,
Rahimi
A.
,
Stalevski
M.
,
2013
,
A&A
,
554
,
A10

Saftly
W.
,
Baes
M.
,
Camps
P.
,
2014
,
A&A
,
561
,
A77

Salim
S.
et al. ,
2007
,
ApJS
,
173
,
267

Schaye
J.
et al. ,
2015
,
MNRAS
,
446
,
521

Schulz
S.
,
Popping
G.
,
Pillepich
A.
,
Nelson
D.
,
Vogelsberger
M.
,
Marinacci
F.
,
Hernquist
L.
,
2020
,
MNRAS
,
497
,
4773

Shivaei
I.
et al. ,
2022
,
ApJ
,
928
,
68

Smirnov
N.
,
1948
,
Ann. Math. Stat.
,
19
,
279

Somerville
R. S.
,
Davé
R.
,
2015
,
ARA&A
,
53
,
51

Springel
V.
,
2010
,
MNRAS
,
401
,
791

Springel
V.
,
Hernquist
L.
,
2003
,
MNRAS
,
339
,
289

Springel
V.
,
White
S. D. M.
,
Tormen
G.
,
Kauffmann
G.
,
2001
,
MNRAS
,
328
,
726

Springel
V.
et al. ,
2018
,
MNRAS
,
475
,
676

Sureshkumar
U.
et al. ,
2023
,
A&A
,
669
,
A27

Taylor
M. B.
,
2005
, in
Shopbell
P.
,
Britton
M.
,
Ebert
R.
, eds,
ASP Conf. Ser. Vol. 347, Astronomical Data Analysis Software and Systems XIV
.
Astron. Soc. Pac
,
San Francisco
, p.
29

Taylor
E. N.
et al. ,
2011
,
MNRAS
,
418
,
1587

Tokunaga
A. T.
,
Sellgren
K.
,
Smith
R. G.
,
Nagata
T.
,
Sakata
A.
,
Nakada
Y.
,
1991
,
ApJ
,
380
,
452

Tomczak
A. R.
et al. ,
2016
,
ApJ
,
817
,
118

Tonry
J. L.
,
Blakeslee
J. P.
,
Ajhar
E. A.
,
Dressler
A.
,
2000
,
ApJ
,
530
,
625

Torrey
P.
,
Vogelsberger
M.
,
Sijacki
D.
,
Springel
V.
,
Hernquist
L.
,
2012
,
MNRAS
,
427
,
2224

Torrey
P.
et al. ,
2019
,
MNRAS
,
484
,
5587

Trayford
J. W.
et al. ,
2017
,
MNRAS
,
470
,
771

Trčka
A.
et al. ,
2022
,
MNRAS
,
516
,
3728

van der Walt
S.
,
Colbert
S. C.
,
Varoquaux
G.
,
2011
,
Comput. Sci. Eng.
,
13
,
22

Viaene
S.
et al. ,
2016
,
A&A
,
586
,
A13

Virtanen
P.
et al. ,
2020
,
Nat. Methods
,
17
,
261

Vogelsberger
M.
,
Marinacci
F.
,
Torrey
P.
,
Puchwein
E.
,
2020a
,
Nat. Rev. Phys.
,
2
,
42

Vogelsberger
M.
et al. ,
2020b
,
MNRAS
,
492
,
5167

Weinberger
R.
et al. ,
2017
,
MNRAS
,
465
,
3291

Whitaker
K. E.
et al. ,
2010
,
ApJ
,
719
,
1715

Williams
R. J.
,
Quadri
R. F.
,
Franx
M.
,
van Dokkum
P.
,
Labbé
I.
,
2009
,
ApJ
,
691
,
1879

Wright
A. H.
et al. ,
2016
,
MNRAS
,
460
,
765

Wyder
T. K.
et al. ,
2005
,
ApJ
,
619
,
L15

APPENDIX A: RESOLUTION EFFECTS: COMPARISON TO TNG50

As shown in Fig. 2, the IllustrisTNG fluxes exhibit a dependence on the simulation resolution. We show the flux–flux and colour–colour relations for TNG50 in Figs. A1 and A2 to assess how the simulation resolution impacts our results. For the flux–flux relation, we find that the results up to the WISE W1 band are unchanged. The TNG50 WISE W3 (SPIRE 500) fluxes are slightly lower (higher) at fixed K-band luminosity compared to TNG100. For the colour–colour relations, the differences are more pronounced. TNG50 exhibits bluer VISTA K-SPIRE 250 colours, lower UV slopes, and bluer WISE W3-SPIRE 250 colours. Still, the level of agreement with GAMA for these flux–flux and colour–colour relations is comparable for TNG100 and TNG50, unlike the luminosity functions where TNG100 provides a significantly better match to the observational data. This indicates that to first order, the higher resolution of TNG50 leads to the galaxies being brighter at all wavelengths at fixed dark matter halo mass, while changes in the colours are only a higher order (though non-negligible) resolution effect.

Same as Fig. 4, but using TNG50 instead of TNG100.
Figure A1.

Same as Fig. 4, but using TNG50 instead of TNG100.

Same as Fig. 5, but using TNG50 instead of TNG100.
Figure A2.

Same as Fig. 5, but using TNG50 instead of TNG100.

APPENDIX B: CONDITIONAL FLUX–FLUX RELATIONS

As discussed in Section 4.3.3, imposing flux thresholds to select TNG100 galaxies potentially leads to biased K-band distributions if the TNG100 and GAMA colours are different. To visualize this effect and explore the differences in various bands under the assumption that the K-band distributions of TNG100 and GAMA galaxies perfectly match, we show the flux–flux relations with conditional KDEs in Fig. B1. In this figure, we weigh all GAMA galaxies such that they reproduce the 1D K-band distributions of TNG100. The DKS values correspond to the weighted 1D test here, as opposed to the unweighted 2D test used for all other flux–flux and colour–colour results. Comparing this result to Fig. 4, we note some differences especially for the centre panels involving WISE bands. We refer to Section 4.3.3 for a discussion on the cause and implications of this effect.

Same as Fig. 4, but using weights for the GAMA galaxies such that the VISTA K distribution exactly matches the TNG100 result.
Figure B1.

Same as Fig. 4, but using weights for the GAMA galaxies such that the VISTA K distribution exactly matches the TNG100 result.

This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted reuse, distribution, and reproduction in any medium, provided the original work is properly cited.