1 Introduction

Gamma-ray bursts (GRBs) were detected by military satellites Vela in late 1960’s. GRBs were recognized early to be of extrasolar origin (Klebesadel et al. 1973). Mazets et al. (1981) first observed a bimodal distribution of \(T_{90}\) (time during which 90 % of the burst’s fluence is accumulated) drawn for 143 events detected in the KONUS experiment. Burst and Transient Source Explorer (BATSE) onboard the Compton Gamma Ray Observatory (CGRO) (Meegan et al. 1992) allowed to confirm the hypothesis that GRBs are of extragalactic origin due to isotropic angular distribution in the sky combined with the fact that they exhibited an intensity distribution that deviated strongly from the \(-3/2\) power law (Briggs 1995; Fishman and Meegan 1995). However, a more complete sample of BATSE short GRBs were shown to be distributed anisotropically (Mészáros and Štoček 2003; Vavrek et al. 2008) and cosmological consequences were discussed lately (Mészáros et al. 2009). BATSE 1B data release was followed by further investigation of the \(T_{90}\) distribution (Kouveliotou et al. 1993) that lead to establishing the common classification of GRBs into short (\(T_{90}<2~\mbox{s}\)) and long (\(T_{90}>2~\mbox{s}\)). This \(2~\mbox{s}\) limit was derived by fitting a parabola to the local minimum of the binned distribution of 222 GRBs. It was observed that durations \(T_{90}\) seem to exhibit log-normal distributions which were fitted to short and long GRBs (McBreen et al. 1994), resulting in mean durations equal to \(0.37~\mbox{s}\) and \(26.36~\mbox{s}\). A mixture of Gaussians fitted to \(\log T_{90}\) dataset from BATSE 2B yielded locations of the components equal to \(0.60~\mbox{s}\) and \(32.1~\mbox{s}\) (Koshut et al. 1996), while a subset of BATSE 3B sample yielded \(0.42~\mbox{s}\) and \(34.4~\mbox{s}\) (Kouveliotou et al. 1996). A complete BATSE dataset gave mean locations of the groups at \(0.78~\mbox{s}\) and \(34.7~\mbox{s}\) (Horváth 2002). The progenitors of long GRBs are associated with supernovae (Woosley and Bloom 2006) related with collapse of massive, e.g. Wolf-Rayet, stars. Progenitors of short GRBs are thought to be NS-NS or NS-BH mergers (Nakar 2007), and no connection between short GRBs and supernovae has been proven (Zhang et al. 2009).

The existence of an intermediate-duration GRB class, consisting of GRBs with \(T_{90}\) in the range \(2\mbox{--}10~\mbox{s}\), was put forward (Horváth 1998; Mukherjee et al. 1998) based on the analysis of BATSE 3B data. It was supported (Horváth 2002) with the use of the complete BATSE dataset. Evidence for a third normal component was also found in Swift data (Horváth et al. 2008, 2010; Zhang and Choi 2008; Huja et al. 2009). BeppoSAX dataset was shown to be in agreement with earlier results regarding the bimodal distribution, and the detection of an intermediate-duration component was established on a lower, compared to BATSE and Swift, significance level due to a less populate sample (Horváth 2009). It is important to note that in BeppoSAX only the intermediate and long GRBs were detected, the short ones being not present. Interestingly, Zitouni et al. (2015) re-examined the BATSE current catalog as well as the Swift dataset, and found that a mixture of three Gaussians fits the Swift data better than a two-Gaussian, while in the BATSE case statistical tests did not support the presence of a third component. Regarding Fermi, a three-Gaussian is a better fit than a two-Gaussian,Footnote 1 however the presence of a third group in the \(T_{90}\) distribution was found to be unlikely (Tarnopolski 2015a,b).

The \(2~\mbox{s}\) limit is widely used in GRB analysis. However, the Swift data were re-examined (Bromberg et al. 2013) and it was found that a limit of \(0.8~\mbox{s}\) is more suitable for the GRBs observed by Swift. Many works in which a two-Gaussian was fitted to the \(\log T_{90}\) distribution showed a significant overlap of components corresponding to short and long GRBs (McBreen et al. 1994; Koshut et al. 1996; Horváth 2002, 2009; Zhang and Choi 2008; Huja et al. 2009; Barnacka and Loeb 2014; Zitouni et al. 2015), regarding datasets from BATSE, Swift, BeppoSAX, Fermi, among others. The mentioned datasets consist of \(\sim 1000\mbox{--}2000\) events. Based on the well-established conjecture that durations \(T_{90}\) are log-normally distributed, the limit between short and long GRBs may be placed at the position of the local minimum of a mixture distribution.

The aim of this paper is to examine what limits are most suitable for GRB samples observed by different satellites. In Sect. 2, the datasets and methods are described. Results are shown in Sect. 3, while Sect. 4 is devoted to discussion and is followed by concluding remarks gathered in Sect. 5.

2 Datasets and methods

The datasetsFootnote 2 from BATSE,Footnote 3 Swift,Footnote 4 BeppoSAX,Footnote 5 and Fermi Footnote 6 are considered herein. They contain 2041 GRBs (BATSE current catalog), 914 (Swift), 1003 (BeppoSAX), and 1596 (Fermi). Additionally, a subset of BATSE data, i.e. complete BATSE 1B sample containing 226 GRBs, is examined to compare with results of Kouveliotou et al. (1993). For display purposes, histograms are plotted using the Knuth rule for bin width. Up to date, to the best of the author’s knowledge, only Horváth et al. (2012) and Qin et al. (2013) conducted research on a Fermi subsample, consisting of 425 GRBs from the first release of the catalog.

The fittings are performed using the maximum likelihood (ML) method (Kendall and Stuart 1973). Having a distribution with a probability density function (PDF) given by \(f=f(x;\theta)\) (possibly a mixture), where \(\theta=\{\theta_{i}\}_{i=1}^{p}\) is a set of \(p\) parameters, the log-likelihood function is defined as

$$ \mathcal{L}=\sum_{i=1}^{N}\log f(x_{i}; \theta), $$
(1)

where \(\{x_{i}\}_{i=1}^{N}\) are the datapoints from the sample to which a distribution is fitted. The fitting is performed by searching a set of parameters \(\theta\) for which the log-likelihood ℒ is maximized. The fitted function in this case is a mixture of two standard Gaussians, \(\mathcal{N}(\mu,\sigma^{2})\):

$$\begin{aligned} f_{k}(x) =&\sum_{i=1}^{k} A_{i} \varphi \biggl(\frac{x-\mu_{i}}{\sigma _{i}} \biggr) \\ =&\sum_{i=1}^{k} \frac{A_{i}}{\sqrt{2\pi}\sigma_{i}}\exp \biggl(-\frac{(x-\mu_{i})^{2}}{2\sigma_{i}^{2}} \biggr). \end{aligned}$$
(2)

Here, \(k=2\), so the distribution is described by \(p=5\) parameters: two means \(\mu_{1}\), \(\mu_{2}\), two dispersions \(\sigma_{1}\), \(\sigma_{2}\), and one weight \(A_{1}\). The second weight is \(A_{2}=1-A_{1}\) due to normalization. Normal distribution’s PDF is denoted by \(\varphi\).

To estimate the parameter errors, \(\delta\theta\), a simple Monte Carlo technique called a parametric bootstrap (Efron 1979, 1981; Efron and Tibshirani 1994) is performed, i.e., having a distribution from Eq. (2) fitted, it is randomly sampled to create a set of \(N\) random variates (\(N\) being the same as in the original dataset). This set is used to find another fit. After repeating this procedure 1000 times, the standard deviations are computed from the 1000 sets of 5 parameters, and serve as errors for the parameters obtained from the original dataset.

In the same manner the error of the location of the local minimum is estimated. In this case, some of the realizations drawn from the original bimodal distribution may happen to be unimodal, hence no local minimum might be present. In that case, only a fraction of the 1000 realizations which do have a local minimum is taken into account. The opposite situation may also occur, i.e. sampling a unimodal distribution and executing the bootstrap may result in some bimodal realizations. However, it turnt out that this kind of situations happen rarely, especially the latter, so no ambiguity is encountered.

3 Results

The results in graphical form are displayed in Fig. 1, where the vertical solid line marks the conventional limit of \(2~\mbox{s}\), and the vertical dashed line marks the location of the minimum of a mixture of two normal distributions (a two-Gaussian). The Swift and BeppoSAX distributions are unimodal, so no new limit may be inferred. Among the 1000 bootstrap executions, 163 realizations were bimodal for the Swift sample, and only one yielded a local minimum in the case of BeppoSAX. Parameters of the fits are gathered in Table 1.

Fig. 1
figure 1

Two-Gaussian PDFs fitted to \(\log T_{90}\) data. Color dashed curves are the components of the (solid black) mixture distribution. Vertical solid line marks the conventional \(2~\mbox{s}\) limit between short and long GRBs. Vertical dashed line marks the position of the local minimum (if present) of the mixture. The panels correspond to (a) BATSE 1B, (b) BATSE current, (cSwift, (dBeppoSAX, and (eFermi catalogs. In the latter, the new limit is very close to the conventional limit of Kouveliotou et al. (1993)

Table 1 Parameters of the fits. Label corresponds to panels in Fig. 1. Errors are estimated using the bootstrap method

BATSE 1B yielded a minimum at \(2.16\pm0.05~\mbox{s}\), close to the value attained by Kouveliotou et al. (1993). However, for the current BATSE catalog a limit of \(3.38\pm0.27~\mbox{s}\) is more suitable, and the conventional value of \(2~\mbox{s}\) lies outside the interval more than five times of the error. Fermi dataset is the most consistent with the \(2~\mbox{s}\) limit, yielding a minimum at \(2.05\pm0.25~\mbox{s}\). The shallower the minimum, the bigger the error obtained.

In the case of BATSE current catalog, all 1000 bootstrap realizations were bimodal; in BATSE 1B a minimum was present in 911 cases, while for Fermi there were 896 bimodal realizations.

4 Discussion

Bromberg et al. (2013) found, by constructing a PDF for collapsars and non-collapsars (a classification based on physical origin of a GRB), that while the \(2~\mbox{s}\) criterion is suitable for BATSE, a value of \(0.8~\mbox{s}\) is more appropriate for the Swift dataset. Herein, the \(\log T_{90}\) distributions examined imply that the suitable limit between short and long GRBs for the BATSE current catalog should be \(3.38~\mbox{s}\), based on a univariate analysis. This is significantly higher than the commonly applied \(2~\mbox{s}\) criterion. In case of Swift, the duration distribution turnt out to be unimodal, and as such no natural limit may be inferred. Also BeppoSAX durations are unimodal, giving no new limiting value. It is important to note that the locations \(\mu_{1}\), corresponding to the shorter component, are negative (hence \(T_{90}<1~\mbox{s}\)) for BATSE (1B and current), Swift and Fermi, while for BeppoSAX it is \(\mu_{1}=0.626\), corresponding to \(T_{90}\approx4.23~\mbox{s}\). This is definitely not a short GRB group, and it is consistent with Horváth (2009) where the short GRB group was not detected. The Fermi data have a minimum at \(2.05~\mbox{s}\), consistent with the common limiting value.

The newly obtained limits result in different populations of short and long GRBs in the datasets examined (see Table 2). In BATSE 1B the fraction of long GRBs in the sample is unchanged (due to smallness of the sample; it appears there are no GRBs with durations between \(2~\mbox{s}\) and \(2.16~\mbox{s}\)). In Fermi this fraction is nearly the same, slightly smaller than conventional due to the limit being slightly higher than \(2~\mbox{s}\). The biggest difference is visible in the BATSE current catalog, where the new limit leads to diminishing the long GRBs fraction by 4 %.

Table 2 Fractions of long GRBs and overlap of components of the two-Gaussian fits

All catalogs are dominated by long GRBs, the highest fraction of more than 90 % being observed by Swift. In BATSE current, the proportion of short and long GRBs is \(\sim1:3\). Swift is more sensitive in soft bands (corresponding to long GRBs) than BATSE was, while Fermi’s sensitivity at very soft and very hard GRBs had increased compared to BATSE (Meegan et al. 2009). BeppoSAX is also more sensitive to long GRBs due to the trigger system which used \(1~\mbox{s}\) as short integration time (Horváth 2009), hence the lack of a distinct short GRB peak. GRBs tend to be softer at later times, hence the inferred duration is shorter than it might be. This naturally leads to a conclusion that the duration distributions as observed by different satellites must differ between each other, and also the limit between short and long GRBs (the local minimum) has to be placed at different locations.

The duration \(T_{90}\) itself is not an unambiguous indicator of a GRB type, as the components of the fitted two-Gaussians overlap strongly. To quantify this overlap, the common area under the curves is computed (the total area of a two-Gaussian PDF is equal to unity, and the area under each component is given by the weights \(A_{i}\)). This gives a probability of misclassifying a GRB from 5.68 % (BATSE 1B) to 10.1 % (BATSE current), and an enormous 34.4 % in the case of BeppoSAX (see Table 2).

A solution, proposed to deal with the classification ambiguity problem, was proposed and examined in a number of papers (Hakkila et al. 2003; Horváth et al. 2004, 2006, 2010; Chattopadhyay et al. 2007; Veres et al. 2010). The idea is to examine a multi-dimensional space of various parameters; particularly, a two-dimensional space of the hardness ratio vs. duration \(T_{90}\). This approach still awaits to be applied to the Fermi GRBs. Additional parameters have been defined and proposed for GRB classification as well. Examples are \(\varepsilon=E_{\gamma,\mathrm{iso},52}/E_{p,z,2}^{5/3}\) (unambiguously dividing short and long GRBs) (Lü et al. 2010), minimum variability time-scale (MVTS) (Bhat 2013; MacLachlan et al. 2012, 2013a,b; Golkhou and Butler 2014; Golkhou et al. 2015) or Hurst exponent (HE) (MacLachlan et al. 2013b; Tarnopolski 2015c). Still, the most common criterion is the GRB duration, and its limitting value has been shown herein to be detector dependent.

5 Conclusions

The duration distributions of various catalogs (BATSE 1B, BATSE current, Swift, BeppoSAX, and Fermi) were examined. A mixture of two Gaussians was fitted to the \(\log T_{90}\) distributions in search for a new limiting value placed at the local minimum. It was found that the datasets from Swift and BeppoSAX are unimodal, hence no new limit may be inferred. The results from BATSE 1B and Fermi are consistent with the conventional phenomenological limit of \(2~\mbox{s}\) (Kouveliotou et al. 1993), whereas in BATSE current catalog the value obtained is equal to \(3.38\pm0.27~\mbox{s}\). This leads to a different than commonly established, fraction of long GRBs in the sample, diminished by 4 % (see Table 2).

Due to the significant overlap and dependence of the location of the minimum on the detector, while the division into short and long GRBs based on their durations is qualitatively proper, it is not unambiguously related to its progenitor, i.e. collapsar or non-collapsar. Therefore, as the short-long phenomenological classification justifies the existence of two distinct GRB classes, it gives limited insight into the underlying physical phenomenon.