key: cord-0284114-qjv0st3g authors: Horta, Danny; Hughes, Meghan E.; Pfeffer, Joel L.; Bastian, Nate; Kruijssen, J. M. Diederik; Reina-Campos, Marta; Crain, Robert A. title: Linking globular cluster formation at low and high redshift through the age-metallicity relation in E-MOSAICS date: 2020-10-20 journal: nan DOI: 10.1093/mnras/staa3522 sha: 0324016ebec552ac1f67d714a9055ff341227cd8 doc_id: 284114 cord_uid: qjv0st3g We set out to compare the age-metallicity relation (AMR) of massive clusters from Magellanic Cloud mass galaxies in the E-MOSAICS suite of numerical cosmological simulations with an amalgamation of observational data of massive clusters in the Large and Small Magellanic Clouds (LMC/SMC). We aim to test if: i) star cluster formation proceeds according to universal physical processes, suggestive of a common formation mechanism for young-massive clusters (YMCs), intermediate-age clusters (IACs), and ancient globular clusters (GCs); ii) massive clusters of all ages trace a continuous AMR; iii) the AMRs of smaller mass galaxies show a shallower relation when compared to more massive galaxies. Our results show that, within the uncertainties, the predicted AMRs of L/SMC-mass galaxies with similar star formation histories to the L/SMC follow the same relation as observations. We also find that the metallicity at which the AMR saturates increases with galaxy mass, which is also found for the field star AMRs. This suggests that relatively low-metallicity clusters can still form in dwarfs galaxies. Given our results, we suggest that ancient GCs share their formation mechanism with IACs and YMCs, in which GCs are the result of a universal process of star cluster formation during the early episodes of star formation in their host galaxies. Where and when globular clusters (GCs) form, as well as how they reflect the properties of their host galaxies, are some of the most pressing questions in astrophysics today. With the discovery of young massive clusters (YMCs) in starburst galaxies in the local Universe, as well as massive intermediate age clusters (IACs, ages ∼ 1 − 10 Gyr) in galactic merger remnants, the question of how they relate to the ancient (metal poor) GCs has been tackled from a variety of angles. Many studies have adopted extremely old ages for GCs, often leading to the suggestion that they may pre-date the formation of their (eventual) host galaxy (e.g. Peebles & Dicke 1968; Renzini 2017) . Other studies invoked conditions unique to the early Universe in order to form GCs (e.g., Fall & Rees 1985; Trenti et al. 2015; Kimm et al. 2016; Creasey et al. 2019; Madau et al. 2020) , or at least a sub-set of them (i.e. the low metallicity GCs). In these models, the formation of ancient (metal poor) GCs is fundamentally different from massive clusters forming today, hence there is is little or no link between them. ★ E-mail: D.HortaDarrington@2018.ljmu.ac.uk A contrasting view is that the YMCs, IACs and ancient GCs share the same formation mechanism. The time evolution of the environmental dependencies of such formation mechanism, combined with the effects due to their evolution (i.e. stellar evolution and mass loss history), would lead to the observed broad spectrum of cluster properties observed today (e.g. see Krumholz et al. 2019) . Under this scenario, higher maximum cluster masses and cluster formation efficiencies would be favoured in the extreme conditions of galaxies at the early cosmic times during which GCs formed (Elmegreen & Efremov 1997; Kruijssen 2015) . In this view, the formation of stellar clusters (low or high mass) is tied to star formation in the host galaxy, which in turn is largely controlled by the ambient interstellar medium (ISM) properties of the host at the time of formation (Kruijssen 2012) . There is little doubt today that the formation of YMCs and IACs is linked to the environment in which they reside (e.g., Adamo & Bastian 2018 ). The question is whether this also applies to the ancient GCs. A number of models and simulations of the co-formation and evolution of massive clusters and their host galaxies have adopted this view with some success (e.g., Kruijssen 2015; Li et al. 2017 Li et al. , 2018 Choksi et al. 2018a; Forbes et al. 2018 ; Kim et al. 2018; Pfeffer et al. 2018; Adamo et al. 2020; Lahén et al. 2020; Ma et al. 2020) . If cluster formation is a product of general star formation in a galaxy, the cluster will inherit the metallicity of the ISM in which it forms. Hence, we would expect the cluster population to trace out a curve in age-metallicity space, starting with the oldest objects at low metallicity and ending with the youngest objects at higher metallicity (Muratov & Gnedin 2010; Kruijssen et al. 2019b ). This would mirror the underlying stellar population of the galaxy 1 . In this view, the metal poor GCs are not a fundamentally different population with an exotic formation channel, rather they are simply part of the early chemical evolution of their host galaxy (e.g. for the Milky Way, see Keller et al. 2020) . A basic result coming from simulations of galaxy assembly is that massive galaxies enrich faster than lower mass galaxies. We show one such result from the EAGLE simulations (Schaye et al. 2015; Crain et al. 2015) in Fig. 1 . Each curve represents the median metallicity of forming stars as a function of age (we will refer to these as age-metallicity relations, or AMR). High mass galaxies experience extremely rapid enrichment while lower mass dwarfs undergo a more gentle enrichment, leading to an overall lower curve in age-metallicity space towards more metal poor values. This AMR dependence of star formation has also been observed in galaxies in the local Universe (e.g., Gallazzi et al. 2005; Bellstedt et al. 2020) . If massive cluster formation (including YMCs, IACs and the ancient GCs) are tracing the formation of their host galaxy, then we would also expect them to follow such curves (e.g., Muratov & Gnedin 2010; Kruijssen et al. 2019a) . A number of studies have noted that the Milky Way (MW) GC population has a forked AMR distribution, with a steep component beginning at low metallicities and continuing to the highest metallicity GCs known, along with a branch beginning at [Fe/H]∼ −1.5 that extends to lower ages with a much shallower slope (e.g., Marín-Franch et al. 2009; Forbes & Bridges 2010; Leaman et al. 2013 ). This shallower branch has been demonstrated to be made up of accreted clusters Massari et al. 2019; Forbes 2020) , and it also appears as a separate branch for metal poor GCs in the -Fe plane (e.g. Horta et al. 2020c) . It is due to the fact that the accreted galaxies have lower masses (and hence shallower age-metallicity relations) that such a branch exists. This insight has allowed the unravelling of the assembly history of the Galaxy through its GC population (e.g., Kruijssen et al. 2020) , and predicted early accretion events which have recently been confirmed with the discovery of its stellar debris (Horta et al. 2020a) . Here, we explore the age-metallicity relation as a function of galaxy mass within the E-MOSAICS simulations (Pfeffer et al. 2018; Kruijssen et al. 2019a) . Specifically, we focus on galaxies with masses similar to that of the Large and Small Magellanic Clouds (LMC and SMC, respectively). By comparing such dwarf galaxies to MW-like galaxies, the large range in the expected AMRs can be exploited. The LMC and SMC also host considerable populations of massive clusters, with ages ranging from just a few Myr (e.g., Baumgardt et al. 2013) , to near the age of the Universe (e.g., Wagner-Kaiser et al. 2017) , and all epochs in between (e.g., Glatt et al. 2008) . We focus on the SMC, LMC and MW as the clusters can be studied through resolved CMDs (that reach well below the main sequence turn-off) and spectroscopy of individual stars, giving the tightest constraints on the ages and metallicities of the clusters. 1 Where recent accretion events generate an additional cluster population that is offset to lower metallicities (e.g. Kruijssen et al. 2019a ). A basic prediction of models that tie GC formation to the starformation of their host galaxy is that all massive clusters should trace the AMR of the host galaxy. Alternatively, models that invoke special conditions of the early Universe to form GCs would not predict any variations in the AMR from galaxy-to-galaxy. If it is found that massive clusters, at all ages, trace a continuous AMR, and that each galaxy (galaxy mass bin) has its own AMR, this would lend strong support to theories that tie together YMCs, IACs and the ancient GCs. This paper is organised as follows: in Section 2 we discuss the simulations employed in this study, focusing on the sample of L/SMC-mass galaxies in Section 2.1, as well as the observational data used for GCs in the LMC and SMC in Section 2.2 (see Appendix A for a more detail description of the observational sample). In Section 3 we show the results from the comparison between the AMRs of L/SMC-mass galaxies from the simulations that are classified as centrals or satellites. We then compare the SFHs of the L/SMC-mass galaxies from E-MOSAICS with the SFHs of the LMC and SMC in Section 4. We discuss the implications of our results in Section 5, and present our main conclusions in Section 6. In this paper we explore the star cluster age-metallicity relation (AMR) as a function of galaxy mass and environment. The goal is to test whether GC formation is a natural outcome of star formation in galaxies at any redshift, which is the underlying premise in the E-MOSAICS model (and other recent theoretical and numerical studies -e.g. Li et al. 2017; Choksi et al. 2018b; Kim et al. 2018; Ma et al. 2020) . To do this we focus on the Large and Small Magellanic Clouds (LMC and SMC, respectively), both of which host relatively large populations of massive (> 10 4 M ) clusters that span a wide range of ages, from forming today to 10 Gyr ago. Additionally, we will exploit the results for Milky Way mass galaxies from Kruijssen et al. (2019b) . E-MOSAICS couples the MOSAICS (MOdelling Star cluster population Assembly In Cosmological Simulations) star cluster forma-tion and evolution model (Kruijssen et al. 2011; Pfeffer et al. 2018) to the EAGLE (Evolution and Assembly of GaLaxies and their Environments) galaxy formation and evolution model (Schaye et al. 2015; Crain et al. 2015) in a subgrid fashion. This allows us to follow the formation and evolution of star clusters and their host galaxies simultaneously and in a cosmological context. We will outline the relevant details of the simulations here, for a full description of the models we refer the interested reader to Pfeffer et al. (2018) ; Kruijssen et al. (2019a) and Crain et al. (in preparation) . As a stellar particle is formed, it may form a number of sub-grid star clusters. The number and individual masses of the star clusters formed depends on the local star-forming environment. The fraction of mass that is assigned to cluster formation is regulated by the cluster formation efficiency (Bastian 2008) , which in the simulations is related to the local properties of the interstellar medium (Kruijssen 2012). Then, cluster masses are stochastically sampled from a Schechter (1976) initial cluster mass function with an environmentally dependant truncation mass (Reina-Campos & Kruijssen 2017 ). This star cluster population then inherits the age and chemical composition of its parent stellar particle. Pfeffer et al. (2019a) showed that the star clusters formed in the MOSAICS model reproduce the observed properties of young clusters in the nearby universe. Star cluster mass loss occurs via stellar evolution (which is calculated for each stellar particle by the EAGLE model, Wiersma et al. 2009a) , two-body relaxation and tidal shocks (Kruijssen et al. 2011) . Complete disruption of clusters via dynamical friction is applied in post-processing (see Pfeffer et al. 2018) . We use the E-MOSAICS simulation of a large periodic volume (34.4 comoving Mpc on a side, L034N1034), which will be presented in detail in Crain et al. (in preparation ; see also Bastian et al. 2020) . This is the largest hydrodynamical, cosmological simulation to date that includes star cluster formation and evolution. The large size of this simulation means that there are hundreds of lower mass galaxies that we can use to make statistical conclusions and comparisons. The simulation adopts the 'Recalibrated' EAGLE galaxy formation model and uses a resolution equivalent to the EAGLE Recal-L025N0752 simulation (initial baryon masses of 2.26 × 10 5 M , Schaye et al. 2015) . In this work we consider the fiducial (environmentally-dependent) E-MOSAICS cluster formation model (for discussions of other cluster formation models, see Kruijssen et al. 2019b; Reina-Campos et al. 2019; Pfeffer et al. 2019b; Bastian et al. 2020) . We select galaxies with masses comparable to the LMC and SMC, namely 1.5 × 10 9 M and 4.6 × 10 8 M respectively (Mc-Connachie 2012), allowing for a ±5 × 10 8 M and ±2 × 10 8 mass range of the adopted mass of the LMC and SMC, respectively. This results in a total number of 200 LMC and 405 SMC analogues, of which 120 LMC and 232 SMC analogues are central galaxies (i.e., are the dominant halo in their group). The remaining 80 LMC and 173 SMC mass galaxies are satellites of a larger halo. In addition, we also use the 25 MW-mass central galaxy sample presented previously as part of the E-MOSAICS suite (Pfeffer et al. 2018; Kruijssen et al. 2019a ). This sample is unbiased and volume-limited, as it corresponds to all galaxies with halo masses 7×10 11 < 200 / < 3×10 12 from the 25 cMpc 3 high-resolution volume Recal-L025N0752 from EAGLE. We focus on the origin of globular clusters and therefore limit our simulated star cluster population to those more massive than > 10 4 M at = 0 throughout this work. We note that we do not make any cuts in age or metallicity of the clusters in the simulations. As discussed by Kruijssen et al. (2019a) , the E-MOSAICS simulations of MW-mass galaxies have too low of a disruption rate in the high metallicity inner regions of these galaxies when compared to observational estimates (e.g., Horta et al. 2020b) . Such an effect could plausibly also affect the L/SMC-mass analogues in this work. However, we note that galaxies with stellar masses within the range 10 8 -10 9.5 M in the E-MOSAICS simulations have GC specific masses (the fraction of a galaxy's stellar mass within GCs) consistent with observed galaxies , suggesting that under-disruption is less severe within dwarf galaxies. In Fig. 4 we show the resulting AMR relation of massive GCs (namely, >10 4 M ) for our central L/SMC-mass galaxy samples as orange and purple solid lines, respectively, and the halo mass ( 200 ≈ 10 12 M ) selected MW sample ) in black 2 . The shaded regions show the 16 th and 84 th percentiles. As expected, the AMRs traced by GCs from different mass galaxies occupy the same AMR position as their star counterparts, displaying similar metallicity values at old ages when compared to more massive galaxies, yet occupying more metal poor positions at younger ages. This result is expected in the E-MOSAICS simulations (Kruijssen et al. 2019a) , and is a result of the longer star formation and chemical enrichment timescales of their smaller mass host. There has been a long history of using stellar clusters to trace the age-metallicity distribution of the L/SMC (e.g., Da Costa 1991; Geisler et al. 2003; Bekki & Tsujimoto 2012; Parisi et al. 2014 ). These studies have mostly been focused on the chemical evolution of galaxies, implicitly assuming that the chemical evolution of the cluster populations follow that of the underlying stellar field. We argue here that the ancient GCs of both galaxies are an extension of this trend at early times. As we are focused on the origin of globular clusters (GCs), in common with the simulations, we limit our sample of LMC and SMC clusters to those with masses > 10 4 M . We note that both the LMC and SMC host clusters with masses > 10 5 M , i.e. directly comparable to the ancient GCs in the MW and other galaxies. Our sample of clusters in the L/SMC is given and discussed in Appendix A. We note that our sample (for both the LMC and SMC) is incomplete. This is mainly due to clusters not having accurately measured parameters, specifically their age, metallicity, and/or mass. However, the sample used is representative of the overall cluster population of both galaxies. In particular, we note that there are an additional five ancient clusters in the LMC sample which have not had their ages accurately derived (beyond showing that they are likely old ( 10 Gyr, see small triangles in Fig 4) . These clusters will be discussed in more detail in § 5. We compare the predicted AMRs to these observations of massive clusters in the LMC and SMC in Fig. 4 , which will be discussed in more detail in § 4 and § 5. As the LMC and SMC are currently within the MW's virial radius (e.g., Guglielmo et al. 2014) , they are technically not isolated central galaxies, but are rather satellites of the MW. In this section we look at the differences in the star cluster AMR between centrals and satellites within our simulations. The main difference between central and satellite galaxies in the simulations is that satellites can have their star formation (e.g. Fillingham et al. 2015; Simpson et al. 2018) , and thus star cluster formation (e.g., Hughes et al. 2019; Kruijssen et al. 2020) , truncated due to losing their star-forming gas after entering the halo of a larger galaxy. Since we make a cut on galaxy mass, those satellite galaxies whose star-formation was truncated will have reached a higher metallicity at earlier times than centrals of similar present day mass (see e.g., Kruijssen et al. 2020) . This is also observed for galaxies in the Local Group, where dwarf galaxies within the virial radii of the Milky Way and M31 are largely devoid of HI gas (e.g. Grcevich & Putman 2009; McConnachie 2012; Spekkens et al. 2014) . Hence, for a given galaxy mass at the present day, satellite galaxies will need to build-up their stellar mass rapidly before they are truncated. Centrals, on the other hand can build up their mass over the full cosmic history (e.g., Mistani et al. 2016) , since their star/cluster formation is typically not truncated. From this mass assembly bias, satellite galaxies (within the selected mass range) are expected to have steeper AMRs than centrals (i.e., they enrich more rapidly than centrals). In Fig 2 we show the AMR of massive clusters for our L/SMCmass galaxy samples, both for centrals (solid lines, the same as in Fig 4) and for satellites (dashed lines). We note that the AMR for the satellite galaxies is systematically above that for centrals as expected from mass assembly bias. We investigate the origin of this offset in Fig. 3 , where we split the satellite galaxy populations into sub-samples based on whether or not they have had their cluster formation truncated. Although accretion onto a larger host galaxy is the most likely cause for such truncation, we note that we do not categorise the galaxies based on infall time, but rather when the galaxy stopped forming clusters. In the top panel, we only include satellite galaxies that have had their cluster formation truncated at time trunc > 4.5 Gyr. Here, the offset is much more pronounced and is driven by our selection criteria of a fixed stellar mass at = 0. Galaxies that truncated their star/cluster formation early, must have had a higher mass at trunc > 4.5 Gyr than galaxies that continued to form stars/clusters, in order to have the same mass at = 0. However, we note that both the LMC and SMC have continued to form massive clusters within the past Gyr, i.e. their star/cluster formation has not yet been truncated by their infall into the Milky Way halo (see Appendix A). This is expected given their (probable) recent infall ( 4 Gyr, Rocha et al. 2012; Patel et al. 2017 ) and the long quenching timescale for L/SMC-mass galaxies (which is expected to occur via starvation, Wheeler et al. 2014; Fillingham et al. 2015) . In the bottom panel of Fig. 3 we show a sub-sample of satellite galaxies that have continued to form massive clusters until (at least) the past Gyr, in order to match the LMC and SMC. Here we see that there is no significant offset between the AMR of the satellites and centrals. This result is in agreement with findings by Garrison-Kimmel et al. (2019) , who studied the SFHs of dwarf galaxies with a range of masses in the FIRE-2 simulations (Hopkins et al. 2018) . Specifically, these authors compared the SFHs of satellite galaxies and centrals, and found that for L/SMC-mass galaxies (see § 4), the SFH of centrals near MW mass galaxies were most alike the SFH of the LMC and SMC galaxies. We conclude that the AMR is the same for central galaxies and satellites that match the cluster formation duration of the LMC The relations for satellites lie systematically above that for centrals. This is due to assembly bias at the selection of galaxies of a specific mass range at = 0. and SMC. Therefore, in the rest of this work we use the simulated central galaxies as representations of the LMC and SMC 3 . Due to their proximity, the LMC and SMC offer a unique opportunity to study their evolution, as their (field) stellar populations can be resolved down to and beyond the ancient main sequence turnoff. This has allowed the reconstruction of each galaxy's star formation history (SFH) in a detail not possible for nearly all other stellar systems. This allows us to directly compare the formation of the field star component of the galaxies to that of their star cluster populations. For the observational comparison we use the SFHs as estimated by Weisz et al. (2013, hereafter W13) . As noted by the authors, the LMC and SMC have undergone very different assembly histories, which we may expect to be reflected in their cluster populations. In Fig. 5 we show the median (plus the 16 th and 84 th percentiles) SFHs of the simulated central LMC (left panel) and SMC (right panel) mass galaxies. We also show the observed distribution from W13. Overall, the simulations (and the scatter) broadly reproduce the SFHs of the LMC and SMC, with the notable exception of the LMC at the oldest ages (> 10 Gyr ago). In order to find simulated galaxies that best match the observed SFH of the LMC and SMC, we extract the SFH for each of the simulated galaxies in the sample (both centrals and satellites) and compared them to the observations by calculating a 2 value. The most similar L/SMC analogues are those for which the resulting 2 value is smallest, and are shown in Fig 6 and Fig 7, respectively. As noted, none of our simulated galaxies reproduce the ancient LMC SFH, hence we restrict the comparison on lookback times within 5 Gyr. In each of the panels we show the time of formation of clusters with masses > 5 × 10 4 M as dots along the cumulative Fig. 2 , but selecting galaxies that have had their cluster formation truncated at time trunc . The upper panel shows the AMR for satellites with relatively early truncation of their cluster formation ( trunc > 4.5 Gyr) while the bottom panels includes simulated galaxies that have continued to form clusters until the past Gyr. We find that satellites that have not had their star/cluster formation truncated until recently (or at all) are the best representative of the L/SMC system due to their recent infall time into the larger host halo. track. The same is shown for the observations, where we only show the 'high confidence' sample (i.e. those clusters with accurate mass, age and metallicity measurements). For the SMC-analogues, we find a number of simulated galaxies that closely match the observed SFH of the SMC. In the following subsections, we break up the SFH into separate epochs in order to more directly compare theory and observations. We find that the AMR for GCs in the satellite L/SMC-mass galaxies from Ideally, we would like to quantitatively compare the observed star and cluster formation histories of the LMC and SMC clusters with that of our simulations. Unfortunately, this is currently not possible, as we are limited by the incompleteness of the observed cluster catalogues. For example, the LMC hosts a number of ancient GCs that are not included in our study (see Table A1 ) as they The AMR for massive clusters in the LMC (orange triangles) and SMC (purple, upside-down triangles) as well as the median and 1 AMRs for massive clusters (> 10 4 M ) in the simulated central S/LMC-mass galaxies (purple and orange, respectively), and for Milky Way-mass (black) galaxies. The MW AMR was taken from Kruijssen et al. (2019b) , and only includes GCs with massess > 10 5 M . The solid lines show the median relation while the shaded regions denote the 16 th and 84 th percentiles of each distribution. The highest metallicity ancient LMC cluster, NGC 1898, should provide an excellent tests of the models, as its age should be 11 Gyr. For the LMC, five ancient clusters without detailed age fitting are shown as small triangles at an arbitrary age of 13.5 Gyr, in order to highlight their metallicities. A small offset in metallicity may be present due to systematic uncertainties in nucleosynthetic yields in simulations (which are uncertain at a factor of 2 level, e.g. Wiersma et al. 2009b) or an offset in the adopted L/SMC mass compared to the true value. lack detailed age information (as well as [ /Fe] measurements). Similarly, it is likely that the current catalogues are incomplete, especially at masses below >5×10 4 M , at intermediate ages. Below we qualitatively compare the star and cluster formation histories of both the LMC and SMC and compare them to expectations from our simulations. According to W13, by 10 Gyr ago, the LMC had built up ∼ 27% of its present stellar mass (i.e., ∼ 4 × 10 8 M ). In comparison, by the same age the SMC had only assembled ∼ 12% of its = 0 mass (i.e., ∼ 5 × 10 7 M ). This difference is compounded by the respective masses of the LMC and SMC, with the LMC being ∼ 3 times more massive at the present time. As such, we expect that the LMC had a mean star-formation rate at early times (up until 10 Gyr ago) that was ∼ 6 times higher than the SMC. This rapid early assembly of the LMC, relative to the SMC, would be expected to result in the formation of a larger cluster population in the LMC. This is borne out in the observations, where the LMC hosts 11 GCs older than 10 Gyr ago, while the SMC only hosts 1 (NGC 121). In fact, the SFH of the SMC is actually consistent with little or no star formation happening for lookback times >11 Gyr ago. More massive cluster formation at early times is also predicted for the simulated LMC-mass galaxies. We find that six out of the ten LMC-mass analogues form ≥5 massive clusters (i.e., 5×10 4 M ) before a lookback time of ∼10 Gyr (see Fig. 6 ). Conversely, our results reveal that only one SMC-mass analogue galaxy from Conversely, the SMC is consistent with having approximately no SF until ∼ 11 Gyrs ago. Furthermore, the LMC appears to obtain half of its present day mass ∼ 1 Gyr before the SMC. From this moment onwards, both galaxies then show a similar increase in SF until reaching their present day mass. (SMC 52) forms as many massive clusters in the same amount of time, matching the observed number. The cluster population of the LMC has a notable 'age-gap', which lasts from ∼ 3 − 4 Gyr to ∼ 9 Gyr. We note that the SFH of the LMC is quite low during this period (as seen by the shallow slope in Fig. 5 ). This reduced star-formation activity would be expected to lead to a low cluster formation rate and potentially to a lower truncation mass in the cluster initial mass function (e.g., Reina-Campos & Kruijssen 2017) . This interpretation is supported by the fact that simulated LMC-mass analogues with low SFRs (for example LMC 131, LMC 158, and LMC 191) generally have low gas pressures and correspondingly low GC initial mass function truncation masses ). Hence, we would expect few or no massive clusters during this age range, in agreement with the observed 'age-gap' in the LMC cluster population. This hypothesis is corroborated by our predictions from the simulations (see Fig. 6 ), where we find that LMC-mass analogues which show a similar SFH as the LMC in this age range (LMC 26, LMC 131, LMC 158, and LMC 191) show a similar lack of massive cluster formation during that time, displaying the observed LMC "age gap". On the other hand, the SMC hosts a relatively large population of clusters with ages between 4 and 8 Gyr, including at least five with masses in excess of 5 × 10 4 M . These clusters represent the increased SFR and cluster formation rate (CFR) of the SMC, as it built up its stellar mass after a relatively slow start. When comparing the observed SMC GC AMR to the predictions from the simulations in Fig. 7 , we find that there are only two SMCmass galaxy analogues (SMC 27 and SMC 71) that show a similar massive cluster formation as the observations within this age range, forming approximately 3-4 clusters. Therefore, our results suggest that the increased SFH of the SMC within this age gap, which lead to the formation of the five massive clusters observed, is not typical of SMC-mass analogue galaxies. Both the LMC and SMC underwent a rapid buildup of their stellar masses during the past ∼ 3 Gyr, with the LMC forming ∼ 35 per cent of its stars and the SMC forming nearly 50 per cent. As such, we may expect to see relatively large cluster populations in both galaxies during this epoch. Again, this is borne out by observations. The LMC hosts at least 17 clusters more massive than 10 4 M and with ages between 1 − 2 Gyr (e.g., Goudfrooij et al. 2014) , and at least 9 more younger than 1 Gyr (Baumgardt et al. 2013) . The more abundant population of massive clusters at young ages is also predicted for five out of ten of the LMC-mass analogue galaxies compared in Fig. 6 . Specifically, we find that these five galaxies (LMC 7, LMC 19, LMC 26, LMC 51, and LMC 131) form five or more massive clusters, matching the high number of young massive clusters that is seen in the observations. Therefore, the majority of the simulated LMC-mass analogues predict this enhanced massive cluster formation at young ages, as expected given their enhanced SFR in this age range. The SMC also hosts a population of massive clusters with ages < 3 Gyr (although less abundant), including the massive (1.4 × 10 5 M ) cluster, NGC 419 (Kamann et al. 2018) . We find that only four of our ten SMC-mass galaxy analogues have a comparable number of massive clusters at young ages (∼3). As shown in Fig. 1 , the AMR normalisation of a galaxy correlates with its stellar mass, whereby less massive galaxies show a lower . Cumulative SFHs as a function of lookback time for the ten most resembling LMC analogues (orange), selected on a 2 value merit, are compared with the W13 SFH from Fig. 5 (blue) . The dots along the lines represent the massive GCs (namely, > 5 × 10 4 M ) formed in each galaxy, respectively. We find no LMC analogue in the simulations which shows a similar high SFH at high lookback times. However, below a lookback time of ∼ 6 Gyr, a number of simulated galaxies are similar to the observed LMC distribution. The time at which 50 per cent of the stellar mass of the galaxy has formed is shown as a horizontal dashed line and a conference constant SFH is shown as a dotted line. metallicity increase with decreasing age, than more massive galaxies. This mass-AMR connection of galactic field populations has been attributed to the star formation history and chemical enrichment of the host galaxy (e.g. Gallazzi et al. 2005) . When attempting to link GCs to this scenario, a series of fundamental questions emerge, such as: how do massive clusters form; do massive clusters follow the AMR of the galaxy they are associated with; and if so, can we use massive clusters to trace the star formation of their host galaxy. In this section, we set out to tackle these pivotal questions by comparing the predicted AMRs of LMC and SMC mass galax-ies from the E-MOSAICS simulations with observational results of massive clusters in the Magellanic Clouds. The origin of these AMR trends in the stellar populations, as a function of galaxy mass, are well known within the context of galaxy evolution. Higher mass galaxies undergo more rapid enrichment, as they are able to retain the ejecta of high-mass stars and SNe, allowing for a rapid enrichment of the ISM. Lower mass galaxies build up their stellar mass more slowly over time, and lose a larger fraction of the ejecta of stars/SNe, meaning that they enhance their overall metallicities more slowly. Hence, a basic prediction of any model that correlates the formation of massive stellar clusters with the star-formation of a host galaxy, is that the clusters will span a range of ages, with lower mass galaxies hosting younger clusters (at fixed metallicity) compared to massive galaxies. The galaxy mass-dependence on the AMR of GC populations has been highlighted in previous works. While the GC population of the Milky Way is quite old on average (> 11 Gyr), it has been long noted that there are two branches of the MW AMR (e.g., Marín-Franch et al. 2009; Forbes & Bridges 2010; Leaman et al. 2013) . The steep branch represents the in-situ component, i.e. GCs forming in the relatively massive MW progenitor, while the shallower branch represents the GCs accreted from lower mass dwarf galaxies (e.g., Kruijssen et al. 2019a) . It is this separation that has allowed the assembly history of the MW to be inferred from the AMR relation of its GC population (e.g., Kruijssen et al. 2019b Kruijssen et al. , 2020 . As the LMC likely had a mass comparable to the satellites accreted during some of the main accretion events of the MW during its early evolution ( * ∼ 10 8 M , Kruijssen et al. 2020) , we would expect LMC clusters to display an AMR very similar to the MW 'accreted' branch (Leaman et al. 2013 , made up mainly of Gaia-Enceladus/Sausage, Sequoia, Sagittarius and Kraken GCs -e.g., Massari et al. 2019) , at early times (i.e. before these galaxies were accreted). As the SMC has a lower mass, its AMR is expected to be shallower. Figure 4 displays the AMR for massive clusters (namely, * > 10 4 M ) formed in the simulations in the SMC, LMC and MW analogue galaxy populations as purple, orange and black lines, respectively. The shaded regions denote the 16 th and 84 th percentiles for each relation. It is evident from Fig. 4 that at metallicities below [Fe/H] < -1.5, the AMRs of these three distinct populations of galaxies converge -largely independent of environment-and should be very old (Age > 10 Gyr). Conversely, despite the MW, LMC and SMC simulations all showing an increase in metallicity with decreasing age, at metallicities above [Fe/H]= −1.5, the median ages of the GC populations diverge strongly. This result corroborates that massive clusters follow the AMR of the galaxy they are associated with. At [Fe/H]= −1.5, the median age of GCs in L/SMC-mass galaxies is expected to be ∼ 2 Gyr younger than in MW-mass galaxies. By a metallicity of [Fe/H]= −1.0 the median age difference, relative to MW-mass galaxies, has grown to ∼ 3 and ∼ 4 Gyr for LMC and SMC-mass galaxies, respectively. Figure 4 shows the comparison between the predictions from the simulations with observational data for clusters more massive than * > 10 4 M in the LMC and SMC galaxies 4 . The predictions from the simulations are generally in good agreement with the observational data, and follow the predicted AMR for their cor-responding galaxy mass within 1 . A small offset in metallicity may be present due to systematic uncertainties in nucleosynthetic yields in simulations (which are uncertain at a factor of 2 level, e.g. Wiersma et al. 2009b) or an offset in the adopted L/SMC mass compared to the true value. The comparison between the observed and predicted AMRs shows that at metallicities below [Fe/H] ∼ −1.5 the observed/predicted clusters from the LMC and LMC occupy the same AMR locus as the MW predictions, suggesting that the majority of metal poor GCs should be old (> 11 Gyr) . For the LMC, this is in agreement with the results of Wagner-Kaiser et al. (2017) who found that the metal poor GCs have the same age (within the uncertainties) as MW GCs in the same metallicity range. We draw particular attention to the more metal rich LMC ancient GCs that have not been subjected to precision age-dating (shown in Fig. 4 as smaller triangles at the arbitrary age 13.5 Gyr). The two most metal rich clusters, NGC 1898 and NGC 2019, have iron abundances of [Fe/H]= −1.2 ± 0.2 and −1.3 ± 0.2, respectively (Johnson et al. 2006; Piatti et al. 2018) . A direct prediction of the simulations presented here is that, with these metallicities, both clusters should be relatively young, with ages ∼ 10±1.5 Gyr (when adopting an age scale of ∼ 12 Gyr for the lower metallicity clusters). This is significantly younger than the metal poor clusters studied previously (Wagner-Kaiser et al. 2017) . Due to the low number statistics associated with the one SMC GC with an age > 10 Gyr, we are unable to make the same claim (i.e. that ancient GCs should be metal-poor) for the observed old SMC clusters. However, we note that the star-formation histories of the LMC and SMC were markedly different at early times, with the SMC showing a much lower star-formation rate than the LMC (Weisz et al. 2013 ). In the E-MOSAICS model, the result of these different SFHsf is that we would expect the LMC to have many more ancient GCs than the SMC (e.g., Pfeffer et al. 2018) , in agreement with the observations. At younger ages, the differences in metallicity between the SMC, LMC and MW become even more pronounced. The observed AMR of massive SMC clusters is clearly shallower than that of the LMC clusters, which in turn is shallower than that of the MW. While our sample of massive LMC and SMC clusters is not complete (due to missing resolved CMDs and/or resolved spectroscopy of stellar members to determine each clusters abundances) the median ages of the SMC, LMC and MW GCs are 7, 9, and 12 Gyr, respectively. Alternatively, for models that adopt some special conditions in the early universe in order to form GCs, e.g., dark matter minihaloes (e.g., Trenti et al. 2015) or high velocity interactions (e.g., Madau et al. 2020) , no such AMR would be expected. In these models, once the unique environment needed to form GCs is gone, no further GCs can form. The MW GC population is bi-modal, with peaks at [Fe/H]∼ −0.7 and −1.3, and a minimum between the populations at [Fe/H]∼ −1.0. This has led some investigators to propose that the metal poor GCs formed differently than the metal rich GCs, with the former forming under some unique early Universe conditions. We note, however, that the SMC is an excellent litmus test for this class of theories, as it hosts a number of massive clusters with [Fe/H]< −1.0 but with ages that extend to ∼ 4 Gyr ago, spanning an age range of > 6 Gyr. This demonstrates that metal-poor GCs formed until quite recently in dwarf galaxies. In summary, the results presented in this study reveal that the formation of the ancient globular clusters (GC), intermediate-age (IAC), and young-massive clusters (YMC) is interwoven, with massive clusters forming whenever the gas conditions produce intense bursts of star formation across cosmic time and galactic environment. By comparing the predicted GC age-metallicity relations (AMR) of L/SMC-mass galaxies from the E-MOSAICS 34 cMpc 3 volume (Crain et al. in prep.) with those determined observationally, we have shown that there is good agreement between theory and observations. In particular, we have shown that at old ages, the AMR of different mass galaxies converges. As galaxies evolve and undergo different star formation histories and chemical enrichment, GCs continue to form, and adopt the properties of their host system, yielding the spread of predicted/observed cluster metallicity values at fixed age. Our results thus suggest that the AMR is a powerful tool for understanding massive cluster formation and the formation and evolution of galaxies. If the formation of massive clusters is indeed a natural outcome of the star-formation process (e.g., Kruijssen 2015; Pfeffer et al. 2018) , implied here by the correlation between the SFH and cluster formation history in the Magellanic Clouds, it would offer a powerful probe into the assembly history of galaxies. This has been shown for the Milky Way Forbes 2020) , and for the Magellanic Clouds in the present paper. Extending this type of work to galaxies at larger distances where resolved stellar studies are in general no longer possible requires integrated light studies. There have been promising steps in this direction, using the AMR to constrain the assembly history of nearby galaxies, such as M33 (Beasley et al. 2015 ) and more massive early type galaxies (e.g. Usher et al. 2019) . We have also highlighted the caveats introduced by a truncation of star and cluster formation within satellite galaxies. When selecting by present day galaxy mass, satellite galaxies that have had their SF truncated at early times, will have had to build up their stellar mass much more rapidly than galaxies that were able to form stars continuously over cosmic time. The truncated satellite galaxies will follow steeper AMRs, effectively behaving as higher mass galaxies (as they would have continued to grow if star-formation had not been truncated). This has important effects on the GC population of those galaxies (e.g. Mistani et al. 2016) . One common feature shared between metal-poor and metalrich GCs, also over a wide range of ages (from ∼ 2 − 13 Gyr), is that they host light-element abundance spreads within them. The origin of these abundance variations is still unknown (e.g., Bastian & Lardo 2018), but their ubiquity points to a common formation mechanism across all massive clusters (e.g., Martocchia et al. 2019; Saracino et al. 2019) . This continuity, also seen in the AMR of massive clusters in both galaxies presented here, lends support to the underlying assumption of the E-MOSAICS simulations (as well as others within the literature) that GCs can form throughout cosmic history, and that the YMCs and IACs share the same formation and evolutionary mechanisms as the classical, ancient GCs. Table A1 . The adopted properties of massive clusters in the LMC and SMC. Additionally, we give a confidence indication, with 1 being high confidence and 0 being lower confidence on (at least) one of the cluster properties (age, [Fe/H]). † indicates clusters without a systematic precision age measurement, which are given an arbitrary ancient age of 13.5 Gyr. The Lifecycle of Clusters in Galaxies The Magellanic Clouds NumPy: A guide to NumPy We thank the many people around the world whose hard work fighting the ongoing COVID-19 pandemic has made it possible for us to remain safe and healthy for the past several months. We also warmly thank the organisers of the KITP20Clusters conference during which much of this paper was developed. DH thanks Sue, Alex (Hunter 2007) . The data underlying this article will be shared on reasonable request to the corresponding author. There have been a number of studies on the age-metallicity relation (AMR) of the stellar cluster and field population of the Magellanic Clouds (e.g., Parisi et al. 2014) . To our knowledge, there has not been a systematic study of the ages and metallicities for a large sample of clusters, particularly at the higher mass (> 10 4 M ) end. We have constructed a sample from the literature from a variety of sources, and as such, the sample is heterogeneous. Ideally, we would like all clusters to have ages determined through multi-band HST CMD analyses, metallicities from medium/high-resolution spectroscopy of large numbers of stars, and masses determined through dynamical and/or profile measurements. All of these criteria together are rarely met in the literature, hence accommodations must be made. We selected clusters with a reasonable chance of having present day masses in excess of 10 4 M .In Table A1 we list the sample of clusters, along with the adopted parameters and associated references. We note that this sample is incomplete (even at the relatively high masses, > 10 4 M used in the present work). Hence, it is not possible to use this sample for quantitative analysis of the relative age, mass or metallicity distributions of the clusters. However, it should be representative of the trajectory in AMR space for massive clusters in both the Large and Small Magellanic Clouds.A systematic study of a representative number of stars with medium/high resolution spectroscopy to determine their abundances (iron and content, as well as multiple population properties), along with high precision (likely HST) photometry (as well as total stellar mass estimates) to systematically determine the cluster ages would be highly beneficial to the community. This paper has been typeset from a T E X/L A T E X file prepared by the author.