15.16.4 Processing steps
15.16.4.1 Rotational modulation analysis
The rotational modulation analysis follows the procedure adopted for Gaia DR3 and described in detail by Distefano et al. (2023). The photometric time series of each source is divided into partially overlapping segments and each segment is analysed independently in order to minimise the effects of active-region evolution.
Compared to Gaia DR3, several modifications were introduced to improve the robustness of the period determination and to better exploit the longer temporal baseline available in Gaia DR4 (see the method section in Distefano et al. 2026b).
First, the maximum segment length was increased from 120 to 140 days. Owing to the sparse Gaia sampling, this modification produces only a modest increase in the number of observations available in each segment. However, it allows a better sampling of the rotational modulation signal while remaining comparable to the typical lifetimes of stellar active regions inferred from photometric studies.
For each segment, periodicity is searched for using the Generalised Lomb–Scargle periodogram. The significance of the detected periodicities is evaluated through the associated false alarm probability (FAP).
After the identification of a candidate period, the sinusoidal model described in Section 15.16.3 is fitted to the data. Measurements showing the largest residuals with respect to the model are flagged as candidate flare events and removed from the time series. The period search is then repeated and the FAP recomputed using the cleaned segment. The flagged measurements are subsequently analysed by the Gaia flaring-stars pipeline.
A candidate period is considered significant when its false alarm probability satisfies
| (15.51) |
For sources in which the rotational modulation signal is detected only in a single segment or only in the full time series, a more stringent threshold
| (15.52) |
is adopted in order to minimise the number of spurious detections.
In addition, a detected period is retained only if it is supported by at least one segment having a phase coverage
| (15.53) |
where the phase coverage parameter quantifies the fraction of the rotational cycle sampled by the observations. This requirement is more restrictive than the criterion adopted in Gaia DR3
| (15.54) |
and was introduced to improve the reliability of the published periods.
For each source, the final rotation period is obtained as the mode of the accepted segment periods. The catalogue reports the final period, its uncertainty, and the associated false alarm probability through the fields
In addition to the quantities already available in Gaia DR3, the Gaia DR4 catalogue includes the parameters
corresponding respectively to the minimum and maximum amplitudes measured among the sinusoidal fits obtained for the different time-series segments.
15.16.4.2 Activity cycle detection
In addition to the rotational-modulation analysis, the Gaia DR4 processing includes a dedicated search for long-term magnetic activity cycles. Activity cycles manifest themselves as quasi-periodic variations of the mean stellar brightness occurring on timescales significantly longer than the stellar rotation period and are analogous to the solar magnetic cycle.
The search for activity cycles is performed on the full -band time series of each source. Unlike the rotational-modulation analysis, which is based on shorter time-series segments in order to minimise the effects of active-region evolution, the cycle search exploits the entire available temporal baseline to maximise the sensitivity to long-period variability.
Candidate cycle periods are identified using the Generalised Lomb–Scargle periodogram (Zechmeister and Kürster 2009). The search is restricted to periods between 200 days and , where is the total duration of the time series. The lower limit was adopted to reduce contamination from spurious signals associated with the Gaia scanning law, while the upper limit ensures that at least one and a half cycle repetitions are sampled within the available observations.
A cycle candidate is accepted when the false alarm probability associated with the corresponding periodogram peak satisfies
| (15.55) |
The Gaia DR4 photometric time series span approximately 1866 days. This temporal coverage allows the detection of magnetic activity cycles with periods up to about 1400 days. Owing to the limited number of observed cycle repetitions for the longest periods, the reliability of the cycle determination generally decreases as the cycle period approaches the upper limit of the searched interval.
Activity cycles are detected independently of the rotational-modulation analysis. Consequently, some sources may have a detected cycle but no measured rotation period, while others may exhibit both types of variability. In total, activity cycles were detected for 3,126,885 sources, of which 2,050,121 also have a measured rotation period.
For each detected cycle, the catalogue provides the cycle period cycle_period, its estimated uncertainty cycle_period_error, and the false alarm probability associated with the corresponding periodogram peak cycle_period_fap. These parameters allow users to assess both the characteristic timescale of the long-term variability and the statistical significance of the detection.
15.16.4.3 Colour–magnitude correlation analysis
The Gaia photometric time series provide nearly simultaneous measurements in the , , and passbands. These observations can be used to investigate the relationship between brightness and colour variations, providing additional information on the nature of the observed magnetic activity.
For each time-series segment, the pipeline performs a robust linear regression between the magnitude and the colour. The slope and intercept of the best-fitting relation are computed together with the Pearson correlation coefficient and its statistical significance.
The Pearson correlation coefficient quantifies the degree of correlation between colour and brightness variations. Positive values indicate that the source becomes redder as it becomes fainter, whereas negative values indicate that the source becomes bluer as it becomes fainter. Values close to zero correspond to weak or absent correlations.
For each source, the catalogue provides the segment-by-segment values of the colour–magnitude slope, intercept, correlation coefficient, and correlation significance and are stored in the database fields:
- •
- •
- •
- •
. These quantities are computed independently of the rotational-modulation and activity-cycle analyses and are available also for sources for which no significant rotation period is detected.