skip to main content

gaia data release 4 documentation

16.4 Results and Quality Assessment

16.4.8 Products in the ap_xp_epoch and ap_rvs_epoch tables

Author(s): Luis M. Sarro, Nicolas Nardetto, Pedro Alonso Palicio, Alejandra Recio-Blanco

The ap_xp_epoch table contains results uniquely from the ESP-UCD module for 8796 sources, while the ap_rvs_epoch table contains results uniquely from GSP-Spec for Cepheids and RR Lyrae stars.

16.4.8.1 ESP-UCD products

The ESP-UCD module produces effective temperatures for 355 690  transits of 8796 sources, and Hα pseudo-EW estimates for a subset of 281 258  transits (8755 sources). Sources in the epoch quality class 4 do not have Hα pseudo-EW estimates. Figure 16.106 shows the comparison between the median effective temperatures derived from epoch spectra and those derived from combined spectra (with the colour code reflecting the source integrated RP magnitude). It shows a systematic departure from the identity line in the sense of lower temperature estimates derived from the epoch spectra. The regression model applied to the RP spectra was the same in the two cases (epoch and combined spectra) and thus, the systematic differences can only be attributed to the way the epoch spectra are calibrated using the ridge regression module (the number of basis functions and the regularization term; see Section 16.3.9.5 for more details). These differences are smaller for the brighter GRP magnitudes, and greater for fainter sources and intermediate temperatures. The median absolute deviation (MAD) is 27 K and the mean bias is −40 K, well within the typical uncertainties.

Refer to caption
Figure 16.106: Comparison of the Teff estimates in K derived by the ESP-UCD module from epoch and combined RP spectra. The colour code reflects the GRP magnitude.

The main objective of the epoch processing module was to detect large-scale variability both in Teff and in the Hα pseudo-EW. Measuring Hα pseudo-EWs is a challenge in itself for combined spectra, let alone epoch spectra. The RP instrument line spread function (LSF) and its dispersion imply that the Hα flux is distributed across a wide range of pixels and blended with neighbouring lines and bands. This results in severe limitations to the capacity to measure but the strongest emissions. Therefore, we caution against using the pseudo-EW estimates at face value, especially for sources with integrated GRP magnitudes fainter than 15.5 mag. Figure 16.107 shows the distribution of interquartile ranges (IQR) as a function of the GRP magnitude, with symbols proportional and coloured according to the weighted mean pseudo-EW. It shows that beyond GRP≈15 mag, the typical IQR per source is greater than 2 nm. Furthermore, in the range 16–17 mag sources with genuine strong emission (blue circles) and large IQRs (variable) have IQRs comparable to those of sources with weighted mean pseudo-EWs compatible with no emission/absorption (red–orange points). Visual inspection of the epoch spectra of the latter reveals that the large IQRs are the result of a high variance in the continuum determination for these sources and thus, the IQR is solely due to noise and not to real variability. In the Teff domain of the ESP-UCD module the quiescent level is compatible with no absorption/emission at the level of sensitivity of the RP instrument. Therefore, it can be safely assumed that positive measurements (absorption) are due to noise. This is especially relevant beyond GRP⁢16.5 mag.

Refer to caption
Figure 16.107: Distribution of Hα pseudo-EW inter-quartile range (IQR) values in nm. The colour code reflects the weighted mean of the individual epoch pseudo-EW values.

Figure 16.108 shows a comparison of Hα pseudo-EW values from the literature (West et al. 2011; Newton et al. 2017; Schmidt et al. 2015) with the weighted averages from the ESP-UCD module. It shows reasonable agreement up to GRP≈15.5 mag, and a large scatter for sources with fainter magnitudes. The symbols are inversely proportional to the RP magnitude to emphasize the better agreement with literature values for brighter sources.

Refer to caption
Figure 16.108: Comparison of literature EWs with ESP-UCD weighted averages of the individual epoch pseudo-EW values, both in nm. Filled circles represent measurements taken from West et al. (2011); filled squares, measurements from Newton et al. (2017); and asterisks, measurements from Schmidt et al. (2015). The colour code reflects the source GRP magnitude.

Figure 16.109 shows the distribution of the weighted means of Hα pseudo-EW as a function of Teff and coloured by the GRP magnitude. It provides a visual estimate of the scatter that can be expected as a function of the RP magnitude and the relative frequency of strong emitters in the sample of ESP-UCD epoch results. Sources below ≈2250 K are scarce and are compatible with no significant emission at the sensitivity level of this methodology applied to RP epoch spectra.

Refer to caption
Figure 16.109: Distribution of the weighted averages of the ESP-UCD Hα pseudo-EW estimates in nm as a function of the median epoch effective temperatures in K. The colour code reflects the source GRP magnitude.

Examples of the most significant variability detections in Teff or Hα pseudo-EW are included in Heiter (2026).

16.4.8.2 GSP-Spec products

GSP-Spec has analysed ∼188 000  spectra corresponding to single-transit observations of ∼8 500  scientifically interesting variable sources, which were classified as Cepheids and RR-Lyrae in Gaia DR3 by CU7 (Clementini et al. 2023b; Ripepi et al. 2023a). As a result, we obtained atmospheric characterisation at different pulsation phases, enabling a detailed study of their variability. The atmospheric parameters and chemical abundances inferred from the single-transit spectra of these sources are released in the ap_rvs_epoch table.

We assign validity flags to the GSP-Spec atmospheric parameters (mainly Teff and log⁡g) of Cepheids and RR Lyrae stars. The chemical abundances were checked for some well-studied objects, but no flags were defined at this stage. The methodology we adopted is as follows:

  1. 1.

    Teff and log⁡g were extracted using the MATISSE-Gauguin algorithm without any preliminary specific calibration.

  2. 2.

    A golden sample was built using the following criteria: S/N >5, a goodness-of-fit of log⁡χ2<−2.5, and relative errors on Teff and log⁡g better than 5%. These conditions led to Figure 16.110, which represents log⁡g as a function of Teff for individual measurements of Fundamental (FU), First Overtone (FO), and Type II (T2) Cepheids, as well as RRab and RRc stars (see the legend). For comparison, we over-plot the Spectro-Photo-Interferometry of Pulsating Stars (SPIPS; see Mérand et al. 2015) models obtained for Cepheids and RR Lyrae stars by Trahin et al. (2021) and Bras et al. (2024), respectively. As shown, the pulsation cycles of the best SPIPS models for Cepheids (magenta) and RR Lyrae stars (black) are consistent with the DR4 data. This allows the pair (Teff, log⁡g) to be validated at first order for the highest-quality Gaia DR4 data.

  3. 3.

    The edges of the instability strip (IS) were defined to include most of the best Gaia DR4 measurements obtained for all types of pulsating stars, including Cepheids and RR Lyrae stars. The purpose here is not to perform a detailed comparison with the literature for all types of stars, but rather to define a common reference that can be used to validate the data. We adopted the relations log⁡g=14×log⁡(Teff)−52.25 and log⁡g=14×log⁡(Teff)−49.5 for the blue and red edges, respectively. The limits in log⁡g were set to 0.25 and 5.

  4. 4.

    Using this definition, we proposed five flags: inside the IS (flag = 0); outside the IS but with an effective temperature (Teff) differing by no more than 1σ (flag = 1), 2σ (flag = 2), or 3σ (flag = 3). Measurements with Teff differing by more than 3σ were assigned a flag of 4. These flags were assigned to all Gaia DR4 data for Cepheids and RR Lyrae stars, regardless of their S/N. Figure 16.111 indicates the number of individual measurements for each flag when considering either all S/N values or focusing on data with S/N >5. Figure 16.112 similarly shows the distributions of the individual measurements in the HR diagram associated with the different flags for data with S/N above or below 5. These flags are not included in flags_ gspspec field but should be computed by the user.

To help the users deal with the flags introduced above, we propose the following ADQL queries to simplify the filtering:

  • •

    Get the source_id and transit_id of variable sources with GSP-Spec parameters within the IS:

    select teff_gspspec, logg_gspspec
    from gaiadr4.ap_rvs_epoch
    where (14*LOG10(teff_gspspec)-logg_gspspec) between 49.5 and 52.25
        
    
  • •

    Retrieve Teff and log⁡g for those stars separated 1σ from the IS.

    select teff_gspspec, logg_gspspec
    from gaiadr4.ap_rvs_epoch
    where ((POWER(10.,(logg_gspspec+49.5)/14)-teff_gspspec) between 0
    and 0.5*1*(teff_gspspec_upper-teff_gspspec_lower))
    OR
    ((teff_gspspec-POWER(10.,(logg_gspspec+52.25)/14)) between 0
    and 0.5*1*(teff_gspspec_upper-teff_gspspec_lower))
    
        
    
  • •

    For sources for which the Teff estimations are 2σ from the IS:

    select teff_gspspec, logg_gspspec
    from gaiadr4.ap_rvs_epoch
    where ((POWER(10.,(logg_gspspec+49.5)/14)-teff_gspspec) between
    0.5*1*(teff_gspspec_upper-teff_gspspec_lower) and
    0.5*2*(teff_gspspec_upper-teff_gspspec_lower))
    OR
    ((teff_gspspec-POWER(10.,(logg_gspspec+52.25)/14)) between
    0.5*1*(teff_gspspec_upper-teff_gspspec_lower) and
    0.5*2*(teff_gspspec_upper-teff_gspspec_lower))
        
    
  • •

    Similarly, within 3σ:

    select teff_gspspec, logg_gspspec
    from gaiadr4.ap_rvs_epoch
    where ((POWER(10.,(logg_gspspec+49.5)/14)-teff_gspspec)
    between 0.5*2*(teff_gspspec_upper-teff_gspspec_lower) and
    0.5*3*(teff_gspspec_upper-teff_gspspec_lower))
    OR
    ((teff_gspspec-POWER(10.,(logg_gspspec+52.25)/14))
    between 0.5*2*(teff_gspspec_upper-teff_gspspec_lower) and
    0.5*3*(teff_gspspec_upper-teff_gspspec_lower))
        
    
  • •

    Finally, if the difference in Teff exceeds 3σ (flag 4) the IS then the sources satisfy the query:

    select teff_gspspec, logg_gspspec
    from gaiadr4.ap_rvs_epoch
    where
    ((POWER(10.,(logg_gspspec+49.5)/14)-teff_gspspec)>0.5*3*(
    teff_gspspec_upper-teff_gspspec_lower))
    OR
    ((teff_gspspec-POWER(10.,(logg_gspspec+52.25)/14))>0.5*3*(
    teff_gspspec_upper-teff_gspspec_lower))
        
    

In conclusion, the user should consider flags 0 to 3. A flag of 0 means that the measurement of the star (Cepheid or RR Lyrae) lies within the IS (as defined above, i.e. in a very conservative way). A flag of 4 means that the measurement differs by more than 3σ in terms of effective temperature, which essentially indicates that the data are probably of poor quality. Note, however, that even if a measurement is assigned a flag between 0 and 3, an additional criterion on S/N may be applied depending on the purpose of the study. It should also be mentioned that these flags are assigned to individual measurements, not to stars, which means that a Cepheid, for instance, can have part of its cycle flagged as 0, while at other phases it may receive flags from 1 to 4. Finally, we remind the reader that, at this stage, no particular quality assessment has been performed for the metallicity.

Refer to caption
Figure 16.110: Kiel diagram of the epoch parameters obtained by GSP-Spec. Solid circles correspond to the best Gaia DR4 sample of Cepheids and RR Lyrae stars, where the colour denotes the pulsation type (FU, FO, T2, RRab, and RRc, as defined in the text). The number of stars for each pulsating-star type is given in the legend. The blue (red) edge of the instability strip domain is traced by the blue solid (red dashed) line, common to both Cepheids and RR Lyrae stars. The best SPIPS models (displayed as pulsation loops for each star) are over plotted for Cepheids (solid magenta line) and RR Lyrae stars (solid black line), respectively.
Refer to caption
Figure 16.111: Histogram of individual measurements for each flag, considering epoch observations without any constraint on S/N and those with S/N >5. We recall the criteria for the golden sample impose S/N >5, log⁡χ2<−2.5, and relative errors on Teff and log⁡g lower than 5%.
Refer to caption
Figure 16.112: Kiel diagrams obtained from epoch measurements of Cepheids and RR Lyrae stars for each flag. Grey dots correspond to S/N <5, while coloured markers are associated with S/N >5. Solid and dashed lines enclose the IS as in Figure 16.110. Note that measurements outside the log⁡g limits (0.25 and 5) are also assigned a flag of 4 (right panel).

In Palicio et al. (2026a), we illustrated the capabilities of GSP-Spec for tracing changes in the atmospheric parameters of a Classical Cepheid using DT Cyg as an example. Here, we complement that work by reproducing the analysis for the RR Lyrae star CS Eri (Gaia DR4 source_id = 4947090013255935616), as shown in Figure 16.113. As for DT Cyg, we only considered epoch parameters with uncertainties δ⁢Teff<125 K, δ⁢log⁡g<0.25, and goodness-of-fit log⁡χ2≤−3. For each epoch, its associated pulsation phase is computed from the period P=0.311 d (Clementini et al. 2023b) as phase=JDmodP, where JD refers to the Julian Date of the observation. As commonly done in the literature, a phase shift is applied to obtain the maximum luminosity at zero phase.

Refer to caption
Figure 16.113: Epoch parametrisation of the RR Lyrae CS Eri, with source_id 4947090013255935616. Panels from (a) to (d) represent Teff, log⁡g, [M/H], and [α/Fe]. Text annotations indicate the weighted mean and standard deviation of [M/H] and [α/Fe], while the colour-bar denotes the apparent magnitude in the G-band at each phase (Sartoretti et al. 2026). Two periods are shown to enhance the periodicity of the pulsation.

As panels (a)–(b) in Figure 16.113 show, we can trace the expansion and contraction of CS Eri from its epoch atmospheric characterisation. As expected, its maximum (minimum) brightness is observed at its hottest (coolest) stage. Concerning the chemical composition, we find a mean metallicity [M/H]CSEri=−1.77±0.04 dex, while the literature values for [Fe/H]CS⁢Eri range from −1.96 dex (Crestani et al. 2021) to −1.41 dex (Feast et al. 2008), with estimates close to our value of −1.77 dex reported by Kinman et al. (2000), spanning −1.82 to −1.65 dex depending on the adopted methodology. Furthermore, Kinman et al. (2000) provide measurements of α-element abundances for this RR Lyrae star: [Mg/Fe] = 0.26–0.29 dex and [Ti/Fe] = +0.36 dex. Therefore, we concluded that our estimate of [M/H]CS⁢Eri is consistent with the literature. On the contrary, no quantitative agreement is found for [α/Fe]CS⁢Eri, although GSP-Spec qualitatively predicts that CS Eri is an α-rich star.