skip to main content

gaia data release 4 documentation

16.3 Apsis modules

16.3.7 ESP-HS

Author(s): Yves Frémat

16.3.7.1 Goal

ESP-HS is deriving the astrophysical parameters of stars hotter than 7500 K by applying assumptions and methods that differ from those used by GSP-Phot and GSP-Spec. In its full processing mode, it estimates Teff, log⁡g, AG, A0, E⁢(GBP−GRP), R0, [Fe/H], and v⁢sin⁡i.

16.3.7.2 Training data and models

The module is based on a minimum distance method that compares observed to synthetic spectra. The synthetic spectra are those described in Section 16.2.5 based on various libraries (Korn et al. 2026).

16.3.7.3 Inputs

The module input consists of internally calibrated BP/RP spectra, initially sampled over 120 points per passband by SMSgen and subsequently resampled by ESP-HS to 40 wavelength bins. Both pass-bands were normalized to their total flux, separately. The data are considered only when the signal-to-noise ratio (SNR), integrated over BP and RP, is sufficiently high (>600). RVS spectra, assumed to be in the rest frame, are included when the SNR per bin (as derived by the module) exceeds 10. The absolute magnitude is used when both the apparent magnitude G and the parallax are available.

While the instrument model used to simulate the BP/RP spectra has significantly improved relative to Gaia DR3, discrepancies between the observed and synthetic spectra were found in the 7000 - 12000 K Teff range. These primarily affect the Balmer jump below 420 nm and appear as colour-dependent trends in the ratio of theoretical to observed fluxes. To mitigate these effects, a median correction was derived from the flux ratios of low-extinction stars (A0<0.2) selected from the Xiang et al. (2022) catalogue. In addition, the comparison indicated that the flux uncertainties provided by the SMSgen module for the sampled BP/RP spectra were underestimated. A magnitude-dependent correction was therefore applied to rescale the BP/RP uncertainties accordingly.

ESP-HS uses the ESP-ELS output to select the targets to be processed. Only sources with a spectraltype_espels value equal to ‘A’, ‘B’, or ‘O’ were processed. Suspected emission-line stars, except for Be stars, were excluded based on the label found in the field classlabel_espels.

16.3.7.4 Outputs

All the module results are stored in the ap_hot table. The parameters/uncertainties and corresponding field names are

Processing flags (flags_esphs):

When no issue was reported and the star is brighter than G=17, the flag is set to ‘0’. In this case, the set of parameter values is considered to satisfy all the quality criteria to be eligible for inclusion in the GaiaSource table. The value ‘1’ is used to identify the next-best parameter estimates. For the remaining cases, the processing flag was left in its original signed integer format. This flag was set by the pipeline to report an incident that occurred during processing or post-processing. It was recorded in a 64-bit signed integer used as a bitmask, and stored as a string in flags_esphs (the bits are described in the description).

Values with a flag not equal to ‘0’ or ‘1’ should be treated with great caution (Section 16.4.5.1) as they are suspected to gather a significant fraction of cool stars mistaken for hot stars.

Adopted processing modes (processmode_esphs):

  1. 1:

    The BP/RP and RVS data were taken into account. The metallicity, the total-to-selective extinction and projected rotational velocity parameters were fitted together with the main astrophysical parameters.

  2. 2:

    The BP/RP data was taken into account. The metallicity and the total-to-selective extinction parameters were fitted together with the main astrophysical parameters.

  3. 3:

    The BP/RP and RVS data, as well as the apparent G magnitude and parallax were taken into account. The metallicity, the total-to-selective extinction, and projected rotational velocity parameters were fitted together with the main astrophysical parameters.

  4. 4:

    The BP/RP data, and the apparent G magnitude and parallax were taken into account. The metallicity and the total-to-selective extinction parameters were fitted together with the main astrophysical parameters.

16.3.7.5 Method

The module is working in two modes: RVS+BP/RP and BP/RP-only mode. In both cases, the parallax and G magnitude are taken into account. In the BP/RP-only mode, the astrophysical parameters (Teff, log⁡g, AG, A0, E⁢(GBP−GRP), R0, [Fe/H]) are inferred by minimizing the weighted squared residuals

χ2=∑k=1n(Fko⁢b⁢s.−Fks⁢i⁢m.)2σk2 (16.32)

where Fko⁢b⁢s. and σk are the observed flux and corresponding uncertainties provided by SMSgen for the sample k, and Fks⁢i⁢m. is the flux from simulations obtained by processing the BP/RP synthetic spectra from the A (7000 to 15000 K) and OB (15000 to 50000 K) libraries through the instrument model and SMSgen. The extinction was simulated by adopting the extinction curve derived by Gordon et al. (2023) (see also Section 16.2.3.2). For the ESP-HS module, the total-to-selective extinction ratios, R0, considered were 2.5, 3.1,4.1,5.1,5.6.

The parametrisation is performed in two consecutive steps. The first step uses a Nelder & Mead approach (Press et al. 2007) to obtain an initial estimate of the astrophysical parameters (APs) by minimising χ2. This step is repeated 14 times, each run starting from a different initial combination of Teff (selected between 7500 and 50000 K) and log⁡g (3.5 and 4.0) values. The initial values of [Fe/H] and R0 were 0 (solar metallicity) and 4.3, respectively. The attempt that led to the best fit is selected based on the goodness-of-fit criterion, and the corresponding APs are adopted as the starting point for the second step. In the second step, we perform 50 minimisations by introducing random perturbations in the data consistent with the flux, parallax, and magnitude uncertainties. The final astrophysical parameters are the average of their distribution truncated to the 15.87th and 84.13th percentiles. Their uncertainty is estimated as half the difference between these two percentiles of the distribution.

When an RVS spectrum of sufficient quality is available (SNR>RVS10, where the signal-to-noise ratio is computed by the module on the mean spectrum.) the weighted squared residuals of the RVS spectrum are added to the χ2 expression given by Equation 16.32. Before starting the full minimisation, a parameter determination is performed in BP/RP-only mode. The resulting parameters set is used to perform a first re-normalisation of the RVS spectrum to the corresponding grid-interpolated simulation. Because we may expect that the spectra of hot stars are set to the rest frame (Blomme et al. 2023) with a lower accuracy than at lower Teff, the same APs and simulations are used to estimate the possible remaining RV offset, as well as to get a first estimate of the v⁢sin⁡i. Both values are then used to put the spectrum in the star’s rest frame and to perform a second re-normalisation. As for the BP/RP-only mode, the minimisation is performed in two steps by perturbing the input data. The APs obtained during the first BP/RP-only mode determination are used as a first guess.

16.3.7.6 Scope

Results are usually provided for stars brighter than magnitude G=18.25, with BP/RP spectra obtained over more than 10 transits, and of sufficient quality. Only targets that were labelled ‘O’, ‘B’, and ‘A’ with no emission reported by ESP-ELS are considered.

16.3.7.7 Uses and limitations

The parameter quality flag may have 2 formats. It can be an integer with values 0 or 1, or it can be a signed long. Astrophysical parameters associated with the latter should be treated with caution (Section 16.4.5.1) as they may be suspected to include targets that have been mistaken for hot stars (Section 16.4.3.3).

The determination of R0 is based only on Gaia data with a specific interstellar extinction function (Section 16.2.3.2), which may explain the systematics and scatter observed when compared to published estimates (see for example Figure 16.91). As expected, the results become unreliable at low extinction values (A0 < 0.5). Our validation also shows that the results obtained by ESP-HS for the LMC and the SMC are unreliable.

The metallicity provided with the ESP-HS parameters was derived in the two processing modes. The estimates obtained in BP/RP +RVS mode are expected to show different trends compared to those based on the analysis of the BP/RP spectra. The validation showed that the results obtained in both modes exhibit a large scatter, especially at Teff>9000 K, where less spectroscopic information becomes available to constrain it. In these cases, the objective function is nearly flat, and the solution remains close to its starting value. Therefore, we adopted the solar value as a unique starting point.

More information on the performance of the module is available in Section 16.4.3.3 and in Heiter (2026).

16.3.7.8 Changes with respect to Gaia DR3

  • •

    The global metallicity and total-to-selective extinction were fitted, while the two parameters were kept fixed for the Gaia DR3.

  • •

    The interstellar extinction function described in Gordon et al. (2023) was adopted in the Apsis pipeline (Section 16.2.3.2).

  • •

    The post-processing was performed in the module to flag the sets of APs with issues or of worse quality. Unlike Gaia DR3, these parameters have not been deleted but are kept in the catalogue with their corresponding quality flag (a long signed).