Main

GRBs are flashes of gamma-rays occurring at cosmological distances with an isotropic-equivalent energy release from 1051 to 1054 ergs9,10,14,15. They can be sorted into two classes: short-duration hard-spectrum bursts (<2 s) and long-duration soft-spectrum bursts16. Thanks to the rapid-response capability and high sensitivity of the Swift satellite17, numerous unforeseen features have been discovered, one of which is that about half of the bursts have large, late-time X-ray flares with short rise and decay times4,5. Unexpected X-ray flares with an isotropic-equivalent energy from 1048 to 1052 ergs have been detected for both long and short bursts4,6,7. The occurrence times of X-ray flares range from a few seconds to 106 seconds after the GRB trigger8. Until now, the physical mechanism of X-ray flares has remained mysterious, although some models have been proposed9,10. Due to the 8-year observations of Swift, plentiful X-ray flare data have been collected. Here we investigate the frequency distributions of energies, durations and waiting times of GRB X-ray flares for the first time. On the other hand, it is well known that solar flares with a timescale of hours are explosive phenomena in the solar atmosphere with an energy release of about 1028–1032 ergs, which are widely believed to be triggered by a magnetic reconnection process18. They have been observed in broadband electromagnetic waves, but we focus here on solar hard X-ray flares.

Although X-ray flares are common phenomena in GRBs and the Sun, the flare energy spans about 20 orders of magnitude and an outstanding question appears, namely, do GRB X-ray flares and solar flares have a similar physical mechanism? Interestingly, some theoretical models have suggested that GRB X-ray flares could be magnetically dominated explosive events11,12,13. However, a physical analogy between GRB X-ray flares and solar flares has not yet been established.

We search for statistical similarities between GRB X-ray flares and solar flares. In particular, we compare the statistical properties of the energy release, duration-time and waiting-time distributions of GRB X-ray flares and solar flares. For X-ray flares of GRBs with known redshifts, we employ published and archival observed data that allow us to estimate the energy release, duration time and waiting time of each X-ray flare4,5,6,7,8. The total number of flares is 83, including 9 short-burst flares and 74 long-burst flares. The isotropic energy of one flare in the 0.3–10 keV band can be calculated by Eiso = 4πdL2(z)SF/(1+z), where SF is the fluence, z is the redshift and dL(z) is the luminosity distance calculated for a flat cosmological-constant cold dark matter universe with ΩM = 0.3, ΩΛ = 0.7 and H0 = 70 km s−1 Mpc−3. The Malmquist bias refers to an effect that leads to the preferential detection of intrinsically bright objects, but this effect is claimed to be small and negligible for GRBs spreading over a wide range of redshift19. The waiting time in the source’s rest frame can be obtained by Δt = (ti+1ti)/(1+z), where ti+1is the observed starting time of the i+1th flare, ti is the observed starting time of the ith flare, and (1+z) is the relativistic time dilation factor to transfer the time into the source’s rest frame. For the first flare appearing in an afterglow, the waiting time is taken to be t1/(1+z). We list the measured parameters of the 83 X-ray flares in Supplementary Table S1.

Figure 1 shows the cumulative energy distribution of GRB X-ray flares and the differential energy frequency distribution of solar hard X-ray flares. If the number of events N(E) dE with energy between E and E+dE obeys a power-law relation, N(E) dE E α E  dE for E<Emax, with index of αE and a cutoff energy of Emax, then we can calculate the number of events with energy larger than E through N(>E) = a+b[ E 1 α E E max 1 α E ], where a and b are two parameters. To obtain the best-fitting parameters, the Markov chain Monte Carlo technique is used in our calculations. We obtain αE1.06±0.15 from the cumulative energy distribution for GRB X-ray flares. Furthermore, the blue and green curves in Fig. 1 represent the differential energy frequency distribution with αE = 1.65±0.02 for Ramaty High Energy Solar Spectroscopic Imager (RHESSI) solar flares20, and αE = 1.53±0.02 for Hard X-ray Burst Spectrometer (HXRBS) solar flares21, respectively. The energy of a solar flare is the non-thermal energy in electrons above 25 keV. A distinct difference in the energy release distributions between GRB X-ray flares and solar flares is that the former’s high-energy cutoff is Emax≈2×1052 ergs. In Fig. 2, we present the duration-time (T) frequency distributions of solar flares and GRB X-ray flares, which can also be fitted by a power-law relation with an index of αT, that is N(T) dT T α T  dT. The red lines in Fig. 2 show a power-law fit with αT = 1.10±0.15for GRB X-ray flares, and 2.00±0.05 for solar flares, respectively.

Figure 1: Energy-release frequency distributions.
figure 1

a, The differential energy frequency distribution of solar hard X-ray flares. We employ 11,595 solar flares20 from RHESSI during 2002–2007, and 2,787 flares21 from HXRBS during 1980–1982. For a differential frequency distribution N(E) dE; E α E  dE of solar flares, the blue and green curves give αE = 1.65±0.02 for the RHESSI sample, and 1.53±0.02 for the HXRBS sample, respectively. b, The cumulative energy distribution of GRB X-ray flares. The black curve gives the cumulative energy distribution N(>E) = a+b[ E 1 α E E max 1 α E ], with αE1.06±0.15 for GRB X-ray flares. The SOC theory predicts that the value of αE is 1.0 for one dimension, and 1.5 for three dimensions, respectively22. Although the power-law indices are apparently different for both types of flares, their statistical properties can be explained within the same framework of a SOC system, as discussed in the text.

Figure 2: Duration-time frequency distributions.
figure 2

a, The relation between the occurrence rate and duration time for solar flares. The occurrence rate is defined by the ratio of the number of X-ray flares in the bin to the bin width. The total duration times of 11,595 solar flares20 were observed by RHESSI during 2002–2007. The best-fit power-law index is −2.00±0.05. b, The relation between the occurrence rate and duration time for GRB X-ray flares. The best-fit power-law index is −1.10±0.15.

Although the energy and duration-time frequency distributions for both kinds of flares are apparently different, we next show that these distributions can be well understood within the same statistical framework of a SOC system. The energy and duration frequency distributions of solar fares have been thought to be attributed to a magnetic reconnection process on the basis of the fractal-diffusive avalanche model20,22,23. We further discuss this model to explain the energy and duration-time frequency distributions of GRB X-ray flares. For a SOC system24, owing to some driving force, subsystems will self-organize to a critical state at which a small perturbation can trigger an avalanche-like chain reaction of any size within the system. Due to diffuse random walking, a statistical relationship22 between the size scale L and the duration time T of a SOC avalanche is L;T1/2, and a probability distribution of size L is argued as N(L) dL;LS dL for the three Euclidean dimensions S = 1, 2 and 3. This probability argument is based on the assumption that the occurrence frequency or number of events is equally likely throughout the system. So the index of the duration frequency distribution of flares is given by22

This index becomes αT = 1 for S = 1 and αT = 2 for S = 3, which can well explain the observed duration distributions of GRB X-ray flares and solar flares. On the other hand, the index of the energy frequency distribution can be written as22

It is easy to see that the index αE = 1 for S = 1 and αE = 1.5 for S = 3, which are remarkably consistent with the observed indices of GRB X-ray flares and solar flares. Interestingly, soft γ-ray repeaters also have a power-law energy frequency distribution25,26 with αE1.5. A power-law distribution of occurrence frequency is characteristic of a SOC system20. According to equations (1) and (2), the power-law indices of the energy and duration-time distributions of SOC depend on the Euclidean space dimensions S of the energy dissipation domain22. Thus, it is clear that GRB X-ray flares and solar flares correspond to the one-dimensional (S = 1) and three-dimensional (S = 3) cases, respectively. Therefore, GRB X-ray flares and solar flares share energy and duration-time frequency distributions, suggesting that they can be explained with the same statistical framework of SOC systems, but with different Euclidean dimensions.

Now we discuss the waiting-time distributions for both kinds of flares. The waiting time is defined as the time interval between two successive events. Its distribution gives us information on whether events occur independently, and provides the mean rate of event occurrence20. It has been suggested that the waiting-time distribution of solar flares can be described by a power-law distribution with an index of about −2.0 for long waiting times27,28. But the waiting-time distribution of GRB X-ray flares has not been studied previously. Figure 3 shows the waiting-time distribution of GRB X-ray flares and solar flares. Excluding the fluctuations of short waiting times, the waiting-time distribution of GRB X-ray flares is also a power-law with index −1.80±0.20. The solar flares with waiting times larger than about 2 h observed by RHESSI during 2002-2009 can be fitted by a power-law function with an index of −2.0±0.05. Thus, GRB X-ray flares and solar flares have similar waiting-time distributions, which can be explained by non-stationary Poisson processes27. A Poissonian random process has an exponential waiting-time distribution for a stationary flare rate and a power-law-like waiting-time distribution for a non-stationary flare rate, which is the prediction of the SOC theory20. For a non-stationary Poisson process, the waiting-time distribution can be expressed by27

where λ0 is the mean rate of flares. For large waiting times (Δt1/λ0), equation (3) approaches a power-law relation Pt)≈(1/λ0)(Δt)−2, which is consistent with the observations. We can see from Fig. 3 that the breakpoint is around Δt0 = 1/λ020 s in the source’s rest frame for GRB X-ray flares (so the mean rate is λ00.05 s−1), and Δt01.2 h for solar flares.

Figure 3: Waiting-time frequency distributions.
figure 3

a, The relation between the occurrence rate and waiting time for solar flares. The waiting times of 11,595 solar flares27 were observed by RHESSI during 2002–2007. The best-fit power-law index is −2.04±0.03. The blue vertical line shows the waiting time at the breakpoint, corresponding to the mean rate of flares. The waiting time at the breakpoint is about 1.2 h for solar flares. b, The relation between the occurrence rate and waiting time for GRB X-ray flares. The best-fit power-law index is −1.80±0.20. The waiting time at the breakpoint is about 20 s in the source’s rest frame for GRB X-ray flares.

In short, we find that GRB X-ray flares and solar flares have similar statistical properties but different Euclidean dimensions of SOC systems. Which models for X-ray flares are consistent with an S = 1 SOC process? The observations indicate that the central engines of GRBs have long-lasting activity and X-ray flares arise from late internal shocks, which could be formed through collisions of relativistic shells ejected after the prompt gamma-ray emission has ended2,9,10. Such shells could be powered by differentially rotating, ultra-strongly magnetized, millisecond pulsars11. The differential rotation leads to windup of poloidal magnetic fields in the interior and the resulting toroidal fields are strong enough to float up and break through the stellar surface29,30. Magnetic reconnection-driven multiple explosions then occur, producing X-ray flares. Some internal dissipations of relativistic winds from postburst millisecond magnetars (a type of pulsar with a magnetic field strength of 1014−1015 Gauss) could also lead to X-ray flares12. Furthermore, relativistic shells could be ejected from long-term hyperaccreting disks around stellar-mass black holes by some mechanism, for example the magnetic barrier effect13. It is generally believed that the magnetic fields in the shells produced in these models will be mainly transverse, because any radial component decays faster with radius. Thus, the magnetic fields in the shells are stronger compared to matter kinetic energies, and hence closer to one dimension rather than the three dimensions for the much weak solar fields. This can provide an explanation of why the αE and αT indices of GRB X-ray flares are different from those of solar flares, as we found above.