1 Introduction

Gamma-ray bursts (GRBs) are the most powerful explosions in the universe, and they occur in galaxies that can be at the farthest reaches of the (observable) universe. They have so far been observed with redshifts up to \(z = 9.4\), with hopes of reaching \(z = 20\) with future satellite detectors, qualifying them as potential cosmological probes. Although GRBs are not standard candles, the discovery of several luminosity and energy correlations opened a new window of investigation in which GRBs could be used to probe cosmological models and cosmological issues, like the star formation rate.

Two GRB luminosity correlations were discovered in 2000. The first is a correlation between a burst’s luminosity and the time lag between the arrival of hard and soft photons in the burst (Norris et al. 2000). The second is a correlation between a burst’s luminosity and its “spikiness” or variability (Fenimore and Ramirez-Ruiz 2000). These two correlations were then used to create a GRB Hubble diagram (Schaefer 2003). Other luminosity and energy correlations were soon discovered, such as: the Amati relation (Amati et al. 2002, 2008, 2009; Amati 2006) which relates the intrinsic spectral peak energy, \(E_{p,i}\), to the equivalent isotropic energy, \(E_{iso}\); the Yonetoku relation (Yonetoku et al. 2004) which is a correlation between \(E_{p,i}\) and the isotropic peak luminosity, \(L_{iso}\); the Ghirlanda relation (Ghirlanda et al. 2004, 2006, 2010) which is a correlation between \(E_{p,i}\) and the collimation corrected energy \(E_{\gamma }\) ; and the Liang-Zhang relation (Liang and Zhang 2005) which relates \(E_{iso}\) to both \(E_{p,i}\) and the break time of the optical afterglow light curves, \(T_{a}\).

Early attempts to use GRB correlations to constrain cosmological parameters, such as the matter density parameter \(\varOmega_{M}\), faced several problems (Dai et al. 2004; Azzam and Alothman 2006a, 2006b). The first problem was the scatter in the correlations, which made it difficult to pin down the cosmological parameters. The second was the circularity problem, which refers to the fact that in order to calibrate the luminosity and energy correlations, one must assume a cosmological model in the first place. The third problem was the paucity of data points with the required input parameters, like the redshift and the spectral peak energy. For a detailed discussion of these issues, the reader is referred to the recent review by Amati and Della Valle (2013) and the detailed study by Dainotti et al. (2013b) who clearly demonstrate the importance of taking proper account of the circularity problem, which could, otherwise, affect the evaluation of the cosmological parameters by 10 to 13 %.

In recent years, a revived interest in GRB cosmology has taken place, perhaps due to the new abundance of high quality data. For instance, Petrosian et al. (2015) investigated the cosmological evolution of a sample of 200 Swift bursts and utilized the results they obtained to put constraints on the star formation rate. Another recent study (Wang et al. 2015, 2016) provides a thorough investigation of how GRBs can be employed to constrain cosmological parameters, dark energy, the star formation rate, the pre-galactic metal enrichment, and the first stars (Totani 1997; Wijers et al. 1998; Mao and Mo 1998; Mao 2010; Porciani and Madau 2001; Natarajan et al. 2005; Hopkins and Beacom 2006; Jakobsson et al. 2006; Dermer 2007; Daigne and Mochkovitch 2007; Coward 2007; Yüksel and Kistler 2007; Kistler et al. 2008; Dainotti et al. 2015b).

In this paper, we use a sample of 126 Swift GRBs to investigate the correlation between the energy emitted by GRBs in their prompt phase and their X-ray afterglow fluxes. GRB luminosity correlations necessarily include cosmological parameters through the dependence of the luminosity on the burst’s distance. The goal is to utilize the correlation between burst parameters to infer the best distance function, thus constraining the cosmological parameters and creating a Hubble diagram at redshifts that go beyond those found in Type Ia supernovae.

2 Data preparation

The data for the prompt gamma portion was collected fromthe two official NASA/Swift websites.Footnote 1 , Footnote 2 For the X-ray part of each burst, we used the data published by the Swift public websiteFootnote 3 (Evans et al. 2009).

Until 25.04.2015, Swift/BAT had observed 304 GRBs with determined redshift. These bursts include 184 ones with an X-ray counterpart observed by Swift/XRT. We eliminated two GRBs, GRB060708 (\(z<2.3\)) and GRB090814 (\(0.696\leq z \leq 2.2\)) because their redshifts are given very approximately. For consistency in our calculations, we only keep bursts that have a spectrum expressed by a single power law (PL) (Dainotti et al. 2016) and whose spectral index is given by the Swift public website.Footnote 4 According to (Sakamoto et al. 2011) the rule of \(\delta_{\chi^{2}} = \chi ^{2}_{PL}-\chi^{2}_{CPL} < 6\) means that the CPL does not improve significantly the fit, thus the PL can be chosen as an equally good fit.

With this constraint we are left with 152 GRBs. We then add two constraints: a duration longer than two seconds, to keep only long bursts, and fluxes greater than \(0.4~\mbox{ph}\,\mbox{cm}^{-2}\,\mbox{s}^{-1}\) (Ghirlanda et al. 2015). Two other GRBs were eliminated due to lack of data on their X-ray fluxes, GRB120714B, GRB080330, and a third a third one, GRB131103A, because of the presence of a very intense flare at about 1000 s. In the end, we are left with a first sample of 139 GRBs.

3 Statistical correlation methods

We use the maximum likelihood method as described in D’Agostini (2005), Amati et al. (2008), Dainotti et al. (2013a, 2016) to determine correlation relations. The objective is to determine the parameters \(m \) and \(q \) when interpolating a set of \(N \) data points \((x_{i}, y_{i}) \) by a straight line \(y = mx+ q\) with standard deviations \(\sigma_{x}\) and \(\sigma_{y}\). Hence, in order to determine the parameters \((m,q,\sigma_{int})\), we follow the Bayesian approach of D’Agostini (2005) by maximizing the likelihood function \(\mathcal{L}(m,q,\sigma )= \exp[-L(m,q,\sigma_{int})]\), such that

$$\begin{aligned} &L(m,q,\sigma ) \\ &\quad{}=\frac{1}{2}\sum_{i=1}^{N} \biggl[\ln{ \bigl({\sigma_{y}^{2}+m^{2}\sigma_{x} ^{2} +\sigma_{y,i}^{2}+m^{2} \sigma_{x,i}^{2}}\bigr)} \\ &\qquad{}+\frac{(y_{i}-m x_{i}-q)^{2}}{\sigma_{y}^{2}+m^{2}\sigma_{x}^{2}+ \sigma_{y,i}^{2}+m^{2}\sigma_{x,i}^{2}} \biggr], \end{aligned}$$
(1)

where \(\sigma = \sqrt{\sigma_{y}^{2}+m^{2}\sigma_{x}^{2}+\sigma_{y,i} ^{2}+m^{2}\sigma_{x,i}^{2}}\). \(\sigma_{x}\), \(\sigma_{y}\), \(\sigma_{y,i}\), and \(\sigma_{x,i}\) represent the standard deviations corresponding respectively to \(x\), \(y\), \(x_{i}\) and \(y_{i}\). Because the errors on \(x\) and \(y\) were unknown, D’Agostini (2005) choose \(\sigma_{x} = 0\) and set \(\sigma_{y} = \sigma_{v}\). This choice is justified by the fact that y depends on several hidden parameters, while \(x\) does not depend on any factor. This has recently been used by Wang et al. (2016) to justify the choice of \(x = E_{p}\) and \(y = E_{iso}\) instead of the reverse, because \(E_{iso}\) depends on the cosmological parameters.

In this work, since we know neither \(\sigma_{x}\) nor \(\sigma_{y}\) we replace \(m^{2}\sigma_{x}^{2}+\sigma_{y}^{2}\) by \(\sigma_{int}\), noting that the latter is called extrinsic scatter by Amati et al. (2008), Wang et al. (2016) and “intrinsic scatter” by Dainotti et al. (2013a, 2016). It replaces the sum of all Gaussian errors that may affect \((x,y)\) and which might come from other non-observed variabilities.

From the expression of \(\sigma_{int}\), it is clear that the latter depends on the slope \(M\) times \(\sigma_{int}\). but practically speaking, in the minimization procedure for the function \(-\ln {\mathcal{L}}\) with respect to \(M\) and \(\sigma_{int}\), the corresponding best value of \(\sigma_{int}\) must be of the same order as \(\sqrt{\sigma_{y,i}^{2}+m^{2}\sigma_{x,i}^{2}}\). Hence, it depends on \(M\) as long as \(\sigma_{y,i}\) is not dominant. In this regard, and in the aim of minimization its value, we choose the dependent variable \(y = f(x)\), which gives a slope \(m\) such that \(|m| < 1\).

We may refer to the work of Dainotti et al. (2015b) in order to compare the values of \(\sigma_{int}\) obtained for different values of \(M\) and given in the two tables. In our work and our sample, with \(y = L_{X}\) and \(X = T_{a}\), we obtain \(m = -1.4\) and \(\sigma_{int} = 0.6\). However, if we take \(y = T_{a}\) and \(x = L_{X}\), we get \(m= -0.46\) and \(\sigma_{int} = 0.29\). Since smaller values of \(m\) result in smaller values of \(\sigma_{int}\), we choose \(L_{X}\) as the \(x\) variable and \(T_{a}\) as the \(y\) variable. This may be one of the reasons for the choices made by Amati (2003) and Ghirlanda et al. (2004) in their correlations.

We note that the maximization of likelihood function is performed on the two parameters \((m, \sigma_{int})\), because the parameter \(q\), called “intercept” is obtained analytically from:

$$\begin{aligned} q =& \biggl[ \sum \frac{y_{i}-mx_{i}}{\sigma_{int}^{2}+\sigma_{y,i} ^{2}+m^{2}\sigma_{x,i}^{2}} \biggr] \\ &{}\times \biggl[\sum \frac{1}{\sigma_{int}^{2}+\sigma_{y,i}^{2}+m^{2} \sigma_{x,i}^{2}} \biggr]^{-1} \end{aligned}$$
(2)

for each pair \((m,\sigma_{int})\).

For comparison, and in simple cases, we shall use the \(\chi^{2}\) statistical method, which is defined as follows:

$$ \chi^{2} = \sum_{i=1}^{N} \frac{(y_{i}-mx_{i}-q)^{2}}{\sigma^{2}}, $$
(3)

where \(\sigma =\sqrt{\sigma_{int}^{2}+\sigma_{y,i}^{2}+m\sigma_{x,i} ^{2}}\).

This method has also been used by Amati and Della Valle (2013) to constrain the cosmological parameters. It gives the same results as the maximum likelihood method when the number of data points is large. Statistically, the maximum likelihood method is more reliable when the data set is small (Saporta 2011; Martin 2012).

4 Calculation of the energy \(E_{iso,\gamma }\) of the prompt gamma emission

We calculate the total isotropic energy \(E_{iso,\gamma }\) emitted by the burst during the prompt phase using the following expression (Cardone et al. 2011)

$$ E_{iso,\gamma }= 4\pi D_{L}^{2}(z)S_{b}(1+z)^{-1}, $$
(4)

where \(S_{b}\) is the bolometric fluence. This quantity is related to the observed one by (Schaefer 2007):

$$ S_{b}= S~\frac{\int^{10^{4}/(1+z)}_{1/(1+z)}E\varPhi_{S}(E)dE}{ \int^{E_{max}}_{E_{min}}E\varPhi_{S}(E)dE}, $$
(5)

where \(S\) (\(\mbox{erg}\,\mbox{cm}^{-2}\)) is the observed quantity corresponding to the fluence. The integral represents a correction term (Zitouni et al. 2014). \(\varPhi_{S}(E)\) is the mean spectral energy. \((E_{min}, E_{max})\) is the energy range corresponding to the observing instrument. The energy range of Swift/BAT is (15 keV, 150 keV). \(D_{L}\) is the GRB luminosity distance computed in terms of the redshift \(z\),

$$ \begin{aligned} &D_{L}(z) =\frac{(1+z)c}{H_{0} \sqrt{|\varOmega_{k}|}} \sinh\bigl\{ \sqrt{| \varOmega_{k}|}F(z)\bigr\} , \\ &F(z) = \int^{z}_{0} \frac{dz'}{\sqrt{(1+z')^{2}(1+\varOmega_{M} z')-z'(2+z') \varOmega_{\varLambda }}}, \end{aligned} $$
(6)

assuming a standard cosmological \(\Lambda\)CDM model with \(\varOmega_{k}= \varOmega_{m}+\varOmega_{\varLambda }-1\), neglecting the radiation density given by the parameter \(\varOmega_{r}\). \(c\) is the speed of light, \(H_{0}\) is the Hubble constant at the present time. The \(sinn\) function is the sin function if \(\varOmega_{k} > 0\), corresponding to a “closed universe”, and the sinh function if \(\varOmega_{k} < 0\), corresponding to an “open universe”. For a flat space, \(\varOmega_{k} = 0\), thus \(D_{L}\) simplifies to

$$ D_{L}(z)=\frac{(1+z)c}{H_{0}} \int_{0}^{z} \frac{dz'}{\sqrt{\varOmega _{M}(1+z')^{3}+\varOmega_{L}}}. $$
(7)

5 Calculation of the luminosity \(L_{X}(t)\) and the energy \(E_{iso,XA}\) of the X-ray afterglow

The luminosity of the afterglow in the X-ray band, \(L_{X}(t)\), corresponding to a time \(t\) measured from the detection of the prompt emission, is given by the following expression (Sultana et al. 2012):

$$ L_{X}(t)=4\pi D_{L}^{2}F_{X}(0.3\mbox{--}10~\mbox{keV},t) \times K_{c}, $$
(8)

where \(F_{X}(0.3\mbox{--}10~\mbox{keV},t)\) is the flux observed at the time \(t\) in the X-ray band. \(K_{c}\) is the K-correction for the spectral power law obtained for each afterglow (Evans et al. 2009; Dainotti et al. 2010, 2016; D’Avanzo et al. 2012):

$$ K_{c}=\frac{(\frac{10}{1+z})^{2-\varGamma }-(\frac{2}{1+z})^{2-\varGamma }}{10^{2- \varGamma }-0.3^{2-\varGamma }}, $$
(9)

where \(\varGamma \) is the measured spectral index. The X-ray afterglow energy is calculated by integrating over time from its first detection to its end.

$$ E_{iso,XA}=\frac{4\pi D_{L}^{2}(z)}{1+z}\times K_{c} \int_{t_{1}}^{t _{2}}F_{X}(t) dt, $$
(10)

where \(t_{1}\) and \(t_{2}\) are the start and end times of the X-ray afterglow.

The X-ray afterglow luminosity corresponding to a time \(t\) is calculated from the observed flux at that time. In the Swift/XRT data, we find the X-ray afterglows observed at the start denoted by \(F_{X,early}\) (\(\mbox{erg}\,\mbox{cm}^{-2}\,\mbox{s}^{-1}\)), those observed eleven hours later denoted by \(F_{X,11}\), and those observed after 24 hours denoted by \(F_{X,24}\).

6 Study of the different correlation relations

In Fig. 1 we have plotted the energy \(E_{iso,X}\) emitted by the X-ray afterglow against the luminosity \(L_{X,early}\). \(E_{iso,X}\) was calculated for a flat universe (\(\varOmega_{k}=0\), \(\varOmega_{\varLambda =0.7}\), \(\varOmega_{M}=0.3\), \(H_{0}=70~\mbox{km}\,\mbox{s}^{-1}\,\mbox{Mpc}^{-1}\)). Using the \(\chi^{2}\) statistical method, we note that there is a good correlation between the two quantities, except for 13 bursts falling outside of the group: GRB060926, GRB060904B, GRB061110B, GRB070411, GRB070611, GRB070506, GRB080411, GRB090529, GRB090726, GRB091024, GRB100902A, GRB120909A, GRB140114A. This group is characterized by X-ray afterglow fluxes that either do not have breaks in their temporal profiles or have a hint of a break in a highly slanted plateau.

Fig. 1
figure 1

Total isotropic X-ray afterglow energy \(E_{iso,X}\) against the X-ray afterglow luminosity measured very early, denoted as \(L_{X,early}\). (\(\varOmega_{k}=0\), \(\varOmega_{\varLambda }=0.7\), \(\varOmega_{M}=0.3\), \(H_{0}= 70~\mbox{km}\,\mbox{s}^{-1}\,\mbox{Mpc}^{-1}\))

In the rest of our study, we thus limit our sample to 126 GRBs (the previous 139 minus these 13), as there is a good chance of finding a strong correlation for them.

With this sample of 126 GRBs, we study the correlation between the prompt gamma emission and the X-ray afterglow. In Fig. 2, we plot the isotropic X-ray afterglow energy, denoted by \(E_{iso,XA}\) against the gamma isotropic emission, denoted by \(E_{iso,\gamma }\). We confirm a correlation between these quantities, which are obtained using the expressions (4) and (10). The first correlation relation is expressed analytically by the equation (11). We note that we find exactly the same slope as was found by Margutti et al. (2013). In a recent work, Zaninoni et al. (2016) find the following for long bursts: \(m=0.68\pm 0.06\) and \(y_{0} = 16\pm 2\), corresponding to \(q=-0.64\pm 0.08\). In our work, we obtain the following expression:

$$\begin{aligned} \log {\biggl(\frac{E_{iso,XA}}{erg}\biggr)} =& (0.74\pm 0.05)~\log {\biggl( \frac{E_{iso, \gamma }}{~erg}\biggr)} \\ &{}+ (12.3\pm 2.6). \end{aligned}$$
(11)
Fig. 2
figure 2

Total X-ray afterglow isotropic energy, \(E_{iso,XA}\), against the prompt emission isotropic energy, \(E_{iso,\gamma }\), for our 126 GRBs

In Fig. 3 we present a histogram of our 126 GRBs as a function of \(\log {(E_{iso,XA} / E_{iso,\gamma })}\). We note that 67 GRBs (53 % of the sample) have a ratio \(r= (E_{iso,XA} / E_{iso, \gamma }) < 3~\%\), and 124 of them (98.4 % of the sample) have \(r < 30~\%\). On average, we find \(r = 0.03^{+0.07}_{-0.02}\). Considering the error box, this result is in agreement with the ratio of 10 % obtained by Willingale et al. (2007) and confirmed by Dainotti et al. (2015b).

Fig. 3
figure 3

Histogram of our 126 GRBs as a function of \(\log {(E_{iso,XA} / E_{iso,\varGamma })}\) with a logarithmic step equal to 1

Aiming to confirm a correlation relation between an observed quantity and an intrinsic source quantity, we have studied the correlation relations between \(L_{X}(T_{a})\), the X-ray afterglow luminosity determined at the time of the break \(T_{a}\) in the temporal profile of the X-ray flux after the plateau, and the break time \(T_{a}\) itself. We thus needed to determine those breaks in the X-ray flux time profiles, the latter being obtained from the Swift database Swift/XRT (Evans et al. 2009).

We should note that a correlation between \(T_{a}\) and \(L_{X}(T_{a})\) was found by Dainotti et al. (2008) based on a sample of 32 GRBs detected by Swift. The discovery of this relation has been the object of several updates based on newer sets of data (Dainotti et al. 2010, 2011, 2013a, 2013b, 2015a). These authors expressed \(L_{X}\) as function of the break time \(T_{a}/(1+z)\) in the source frame (the logarithmic variable \(\log {(T_{a}/(1+z))}\). Using the maximum likelihood estimator, Dainotti et al. (2015b) get \(m = -0.90^{+0.19}_{-0.17}\) and \(q = 51.14 \pm 0.58\) on a sample of 123 GRBs. In a recent work, Dainotti et al. (2016) add a third parameter, \(L_{peak}\), and infer a new correlation plane from a total sample of 176 Swift GRBs. In our work, we have preferred to keep \(L_{X}\) as the independent variable and study a correlation with \(T_{a}\).

Following that, we study the different possible correlations between the various intrinsic physical quantities obtained in the source’s reference frame (\(L_{X}(T_{a})\), \(E_{iso,XA}\), \(E_{iso,\gamma }\)) and the quantities observed by Swift/XRT, i.e. the break time \(T_{a}\) and the X-ray flux \(FX(T_{a})\). We also search for a correlation between observed flux \(FX(T_{a})\) and intrinsic break time \(T_{a}/(1+z)\).

This study is performed on a sample of 73 GRBs, after having kept only those bursts with an X-ray flux that has a plateau followed by a break and which can be fitted by the phenomenological model given by Willingale et al. (2007).

In Table 1 we list the 73 GRBs with their redshifts and their characteristic quantities which we have calculated. The temporal profiles of these bursts more or less resemble those shown in Fig. 4, which presents the profile of the most recent GRB in our sample, i.e. GRB150323A.

Fig. 4
figure 4

Time profile of the X-ray afterglow flux of GRB150323A

Table 1 Our sample consists of 73 GRBs, of which 65 are of type (a) canonical; 6 are of type (c) one break, shallow first; 2 are of type (o): oddball. \(\varGamma \) is the X-ray spectral index. The other quantities are defined in the text

To find the break time \(T_{a}\) and its uncertainty, we use the data given in the official Swift/XRT website,Footnote 5 which automatically treats the raw data; it classifies bursts into 5 types: (a) canonical; (b) one break, step first; (c) one break, shallow first; (d) no breaks; (o) oddball. Out of the 126 GRBs, we find 65 of type (a), 16 of type (b), 6 of type (c), 6 of type (d), and 31 of type (o). We use only the “canonical” ones (type a) and those that have a break after the X-ray flux plateau. We also add two bursts of type O, GRB100413A and GRB120729A, as their profiles are very similar to the (a) type. We thus end up with a sample of 73 bursts, given in Table 2.

In Fig. 5 we present the relation between the X-ray flux and the break time \(T_{a}\) for our sample of 73 GRBs. We confirm a correlation between the two quantities, and we express that with Eq. (12). This formula does not allow us to constrain the cosmological parameters, because both quantities are observed and independent of these parameters, but it does encourage us to try to confirm a correlation between \(T_{a}\) and the luminosity \(L_{X}\) at \(T_{a}\).

Fig. 5
figure 5

X-ray flux calculated at the break time as a function of the break time \(T_{a}\) for 73 GRBs. (\(\varOmega_{k}=0\), \(\varOmega_{ \varLambda }=0.7\), \(\varOmega_{M}=0.3\), \(H_{0}= 70~\mbox{km}\,\mbox{s}^{-1}\,\mbox{Mpc}^{-1}\))

We have thus sought such a correlation in a flat universe (\(\varOmega _{k}=0\), \(\varOmega_{\varLambda }=0.7\), \(\varOmega_{M}=0.3\), \(H_{0}= 70~\mbox{km}\,\mbox{s}^{-1}\,\mbox{Mpc}^{-1}\)). The correlation is shown graphically in Fig. 6 and analytically by Eq. (13). We note that these relations have rather good precisions, judging by the values of their slopes and intercepts (see the uncertainties on the power indices in Eqs. (12) and (13)).

$$\begin{aligned} &F_{X}(T_{a}) = 10^{-7.02\pm 0.35}T_{a}^{-1.01\pm 0.08}, \end{aligned}$$
(12)
$$\begin{aligned} &\frac{T_{a}}{1+z} = 10^{25.2\pm 1.8} L_{X}(T_{a})^{-0.46\pm 0.04}, \end{aligned}$$
(13)

with \(F_{X}\) in \((\mbox{erg}\,\mbox{cm}^{-2}\,\mbox{s}^{-1})\), \(T_{a}\) in seconds, and \(L_{X}\) in \(\mbox{erg}\,\mbox{s}^{-1}\). z is the redshift and \(T_{a}/(1+z)\) is the break time measured in the source’s rest frame.

Fig. 6
figure 6

Luminosity versus break time for 73 GRBs. (\(\varOmega _{k}=0\), \(\varOmega_{\varLambda }=0.7\), \(\varOmega_{M}=0.3\), \(H_{0}= 70~\mbox{km}\,\mbox{s}^{-1}\,\mbox{Mpc}^{-1}\))

We may compare with the recent work of (van Eerten 2014), who finds a slope of \(-1.07^{+0.20}_{-0.09}\) for \(F_{X}\) as a function of \(T_{a}\), which is quite close to our own result.

For that same sample of 73 GRBs we have studied the correlation between \(L_{X}(T_{a})\) and the isotropic energy of the prompt gamma emission, \(E_{iso,\gamma }\). We present this relation graphically in Fig. 7 and analytically by Eq. (14). This relation has an uncertainty of 16 % on the slope and about 100 % on the value of the intercept:

$$ L_{X}(T_{a})= 10^{-5.5\pm 6.0}E_{iso,\gamma }^{1.0^{\pm }0.1}. $$
(14)
Fig. 7
figure 7

X-ray afterglow luminosity, \(L_{X}\), calculated at the break time as a function of \(E_{iso,\gamma }\) for our sample of 70 GRBs. (\(\varOmega_{k}=0\), \(\varOmega_{\varLambda }=0.7\), \(\varOmega_{M}=0.3\), \(H_{0}= 70~\mbox{km}\,\mbox{s}^{-1}\,\mbox{Mpc}^{-1}\))

We note that this correlation relation suffers from a very large uncertainty on the value of the intercept, therefore it cannot be used to make any convincing inferences. By contrast, despite substantial scatter, the \(L_{X} - T_{a}\) plot gives an intercept with only 10 % uncertainty. From the correlations that we have sought, we thus only retain the one between the break time \(T_{a}\) and the luminosity \(L_{X}\) at that time, with the goal of constraining cosmological parameters.

7 Cosmological parameters derived from correlation relations

We use the maximum likelihood method as described in D’Agostini (2005), Amati et al. (2008), Dainotti et al. (2013a, 2016) to constrain the cosmological parameters within the standard \(\varLambda CDM\) model. We should note that in this work we try to constrain the cosmological constants \(\varOmega_{\varLambda }\) and \(\varOmega_{M}\) while taking a value \(H_{0} = 70~\mbox{km}\,\mbox{s}^{-1}\,\mbox{Mpc}^{-1}\) for the Hubble constant.

7.1 Usage of the Amati relation

We start by using the Amati relation, as presented in our previous work (Zitouni et al. 2014), in an effort to constrain the cosmological constant \(\varOmega_{M}\). The Amati relation is given by the following equation:

$$ \frac{E_{p,i}}{\mbox{keV}}=K\times \biggl(\frac{E_{iso}}{10^{52}~\mbox{erg}}\biggr)^{m}, $$
(15)

where \(E_{p,i}\) is the energy of the burst corresponding to the peak of the flux and measured in the source’s frame, and \(E_{iso}\) is the total energy emitted by the source in all space. In this work, we use data for 27 bursts to infer the constants \(K\) and \(m\) (Zitouni et al. 2014), and we assume a flat universe, such that \(\varOmega_{M}+\varOmega_{\varLambda }=1\). It thus suffices to constrain one parameter to obtain the other.

Originally, the Amati relation was discovered for a flat universe, characterized by \(\varOmega_{k}=0\), \(\varOmega_{\varLambda }=0.7\), \(\varOmega_{M}=0.3\), \(H_{0}= 70~\mbox{km}\,\mbox{s}^{-1}\,\mbox{Mpc}^{-1}\). These values were chosen based on the results obtained from SNe Ia data. In Table 2, we present the values of the \(m\) and \(q\) fitting parameters found in the framework of this model.

Table 2 Values of the slope m and intercept q. To compare with the original Amati relation, one must take \(q = \log {K}-52m \). Ref(1): Present work, Ref(2): Amati (2003), Ref(3): Ghirlanda et al. (2004). (\(\varOmega_{k}=0\), \(\varOmega_{\varLambda }=0.7\), \(\varOmega_{M}=0.3\), \(H_{0}= 70~\mbox{km}\,\mbox{s}^{-1}\,\mbox{Mpc}^{-1}\))

We stress that our novel approach consists in performing a “reverse job”, namely to search for the cosmological parameters that give the best fit, which is when the likelihood function \(-\ln {\mathcal{L}}\) is minimized. The fit is not given by specific values but rather by surfaces or contours corresponding to the same values of \(-\ln {\mathcal{L}}\). We vary the cosmological constant \(\varOmega_{M}\) numerically between 0 and 1, and determine the values presented in Table 3 for the Amati correlation relation.

Table 3 Best values obtained for the parameters of the Amati relation using the likelihood method. Data used here consist of 27 GRBs, taken from our previous work (Zitouni et al. 2014). Values are obtained assuming a flat universe (\(\varOmega_{k} = 0\)), with \(\varOmega_{M}\) varying between 0 and 1 and \(\varOmega_{\varLambda }= 1- \varOmega_{M}\)

In Fig. 8, we plot the values of the function \(-\ln{\mathcal{L}}\) in the (\(m,\varOmega_{M}\)) plane for a constant value of \(\sigma_{int}=0.2\). Each contour is characterized by one value of \(-\ln{\mathcal{L}}\). We note that the best value for \(-\ln{\mathcal{L}}\) corresponds to low values of \(\varOmega_{M} \leq \).

Fig. 8
figure 8

The function \(-\ln {\mathcal{L}}\) in the plane (\(m\), \(\varOmega_{M}\)), with \(\sigma_{int} = 0.20\) for the Amati relation obtained from the data for 27 GRBs of Swift/BAT (Zitouni et al. 2014). A contour represents the same value of \(-\ln {\mathcal{L}}\) for different pairs of (\(m,\varOmega_{M}\)). We assume a flat universe, i.e. \(\varOmega_{k} = 0\)

In Fig. 9, we plot the values of the function \(-\ln{\mathcal{L}}\) in the (\(\sigma_{int},\varOmega_{M}\)) plane for a slope value of \(m = 0.37\). Each contour is characterized by one value of \(-\ln{\mathcal{L}}\). We note that the best value for \(-\ln{\mathcal{L}}\) corresponds to low values of \(\varOmega_{M} \leq 0.3\).

Fig. 9
figure 9

The function \(-\ln {\mathcal{L}}\) in the (\(\sigma _{int}\), \(\varOmega_{M}\)) plane, with a slope \(m = 0.37\), for the Amati relation obtained from the data for 27 GRBs in Swift/BAT (Zitouni et al. 2014). A contour represents the same value of \(-\ln {\mathcal{L}}\) for different pairs of (\(\sigma_{int}\), \(\varOmega_{M}\)). We assume a flat universe, i.e. \(\varOmega_{k} = 0\)

In Fig. 10, we plot values of the function \(-\ln{\mathcal{L}}\) in the plane (\(m,\sigma_{int}\)), assuming a constant value of \(\varOmega_{M} = 0.3\). Each contour represents one value of \(-\ln{\mathcal{L}}\). We note that the best fit is for \(-\ln{\mathcal{L}} = -24\), which corresponds to a slope \(m = 0.360\pm 0.005\) and \(\sigma_{int} = 0.202 \pm 0.004\). The intercept of the best fit is \(-17\pm 1\).

Fig. 10
figure 10

The likelihood function in the (\(m,\sigma_{int}\)) plane for \(\varOmega_{M} = 0.2975\), \(\varOmega_{\varLambda } = 0.70\) and \(\varOmega_{k} = 0\) for the Amati relation obtained from the Swift/BAT data. The contours represent the same value of the function \(-\ln {\mathcal{L}}\) obtained for different pairs (\(m\), \(\sigma_{int}\)). For the innermost contour, \(-\ln {\mathcal{L}}=-24\), and for each next one, 0.02 is added

Next, we attempt to constrain the cosmological parameters \(\varOmega_{\varLambda }\) and \(\varOmega_{M}\), using the Amati relation as studied in our previous work (Zitouni et al. 2014), but in any universe (cosmological topology), that is assuming a curvature constant \(\varOmega_{k} = 1 -\varOmega_{M}-\varOmega_{\varLambda }\). We first determine the best values of \(L = -\ln {\mathcal{L}}\), which correspond to the parameters \((m,q)\) of a straight line. In this case we vary \(\varOmega_{M}\) between 0 and 1.2 and \(\varOmega_{\varLambda }\) between 0 and 1, independently. Our results are shown graphically in Fig. 11 and (with more detail) in tabular form in Table 4. The best values of the function \(-\ln {\mathcal{L}}\) correspond to small values of \(\varOmega_{M}\) and large values of \(\varOmega_{\varLambda }\). In other words, the statistical method that is used tends to favor a universe dominated by dark energy if the Amati relation is correct, and not simply due to a selection effect (Nakar and Piran 2005). For example, for \(\varOmega_{M} = 0.0175 \); \(\varOmega_{\varLambda }=0.975\) we get \(m = 0.3275\pm 0.0025\) and \(\sigma_{int} = 0.193\pm 0.0015\) with rather high precision.

Fig. 11
figure 11

The likelihood fonction in the (\(m, \sigma_{int}\)) plane for different values of \(\varOmega_{M}\) and \(\varOmega_{\varLambda }\) using the Amati relation with Swift/BAT data for 27 GRBs (Zitouni et al. 2014). The contours represent the values of the \(-\ln {\mathcal{L}}\) function. For more information, please refer to Table 4

Table 4 Values of the slope \(m\) and \(\sigma_{int}\) for various values of \(\varOmega_{M}\) and \(\varOmega_{\varLambda }\). a, b and f represent the contours of Fig. 11

In Fig. 12 we show the best values of the function \(-\ln {\mathcal{L}}\) plotted in an \(\varOmega_{M}\), \(\varOmega_{\varLambda }\) plane diagram. On the same figure we present the contours of the values obtained by our methods for determining the cosmological parameters using the SNe Ia data. We note that it is difficult to constrain the cosmological constants using GRB correlation relations without making use of supernovae data (Riess et al. 2004; Xu et al. 2005). The methods agree for values centered around \(\varOmega_{M} = 0.3\) and \(\varOmega_{\varLambda } = 0.7\). We wish to stress the fact that we did not use the Amati relation as found for the specific values of \(\varOmega_{M} = 0.3\) and \(\varOmega_{\varLambda }= 0.7\) in order to constrain these same parameters; that would be falling into the circularity trap (Ghirlanda et al. 2004; Dai et al. 2004).

Fig. 12
figure 12

The contours of the function \(-\ln(\mathcal{L})\) in the \(\varOmega_{M}, \varOmega_{\varLambda }\) plane, using the Amati relation obtained from the Swift/BAT data. The contours represent the same values of the function \(-\ln {\mathcal{L}}\) corresponding to \(m\) and \(\sigma_{int}\) given in Table 6. The dotted-line contours are the results obtained using the methods based on SNe Ia

By inverting the Amati relation and taking \(E_{p,i}\) as an independent variable and \(E_{iso}\) as a variable which depends on the cosmological parameters, we obtain the results shown in Fig. 13. This second Amati relation is expressed by \(\log {E_{iso}} = m\log {E_{p,i}} + q\). In this case, the corresponding values of \(m\), \(q\), \(\sigma_{int}\), and \(-\ln{\mathcal{L}}\) are given in Table 5. We note that the values of \(\sigma_{int}\) and \(-\ln {\mathcal{L}}\) are larger than those obtained with the first Amati relation. On the other hand, we note that with the inverse Amati relation, the likelihood methods tends to prefer cosmological parameters that converge toward \(\varOmega_{M} = 0.28\) and \(\varOmega_{\varLambda } = 0.725\).

Fig. 13
figure 13

The contours of the function \(-\ln(\mathcal{L})\) in the \(\varOmega_{M}, \varOmega_{\varLambda }\) plane, using the inverted Amati relation obtained from the Swift/BAT data. The contours represent the same values of the function \(-\ln {\mathcal{L}}\) corresponding to \(m\) and \(\sigma_{int}\) given in Table 5. The meeting point of the contours correspond \(\varOmega_{M}= 0.28\) and \(\varOmega_{\varLambda } = 0.725\)

Table 5 Best values obtained for the parameters of the second Amati relation using the likelihood method for various values of \(\varOmega_{M}\) and \(\varOmega_{\varLambda }\). Data used here consist of 27 GRBs, taken from our previous work (Zitouni et al. 2014)

Our approach was rather to find the best values of the cosmological parameters that correspond to the minimum value(s) of (\(-\ln {\mathcal{L}}\)) and to then infer the correlation constants \(m\) and \(q\). This method, however, is very sensitive to the dispersion of the data. It allows one to converge on rather precise values if the data have been obtained with high precision. This procedure also allows one to verify a correlation relation by comparing with the results obtained through other methods and data (WMAP: the Wilkinson Microwave Anisotropy Probe, SN Ia).

7.2 Usage of the Dainotti relation

We have also attempted to use the correlation that was obtained above between the break time \(T_{a}\) seen in the X-ray afterglow’s time evolution and the luminosity \(L_{X}\) at that instant. For that we used the 73 bursts that we had selected. We chose this correlation because it relates an observed quantity to one which is calculated in terms of the cosmological parameters. That relation is expressed by Eq. (13) and applies to a flat universe with (\(\varOmega_{k}=0\), \(\varOmega_{\varLambda }=0.7\), \(\varOmega_{M}=0.3\), \(H_{0}= 70~\mbox{km}\,\mbox{s}^{-1}\,\mbox{Mpc}^{-1}\)). In what follows we study that relation for a more general case.

Before applying our method, let us explain what we would like to accomplish, assuming the ideal case in which our data do not suffer from any dispersion. In Fig. 14, we present the case where \(\varOmega_{M} = 0.3\). We note that our method does converge toward (\(\varOmega_{M} = 0.3\), \(\varOmega_{\varLambda } = 0.7\)). This is a way to check the validity of our method and the impact of the dispersion of data on our results.

Fig. 14
figure 14

The function \(-\ln {\mathcal{L}}\) in the (\(\varOmega _{M}, \varOmega_{\varLambda }\)) plane for Dainotti correlation relation between the X-ray luminosity X at \(T_{a}\) as a function of the break time after the temporal plateau. In the ideal case, we have used a straight line (\(\log {\frac{T_{a}}{1+z}}= -0.46 \log {F_{x}(T_{a})} + 25.2\))

In Fig. 15 we use the Dainotti correlation relation \(L_{X}(T_{a})-T_{a}\) to constrain \((\varOmega_{M}, \varOmega_{\varLambda })\) in any type of universe. We present the results as contours of specific values of \(-\ln {\mathcal{L}}\). We note that the best values of this function, that is the minima of the function, are obtained for \(\varOmega_{\varLambda } \rightarrow 0\) and \(\varOmega_{M} \rightarrow 1\). In other words, Dainotti correlation relation works best in a universe dominated by matter. This result is opposite to what was obtained with the Amati relation. On the other hand, if we include the results obtained using supernovae, we obtain the same earlier results, namely values closer to \((\varOmega_{M} =0.3, \varOmega_{\varLambda } = 0.7)\) for a flat universe.

Fig. 15
figure 15

The function \(-\ln {\mathcal{L}}\) in the (\(\varOmega _{M}, \varOmega_{\varLambda }\)) plane using the Dainotti correlation relation between \(L_{X}(T_{a})\) and \(T_{a}\)

In Fig. 16 we show the contours for the best values of the function \(-\ln {\mathcal{L}}\) in the \((m,\sigma_{int})\) plane for different values of the pair \((\varOmega_{M}, \varOmega_{\varLambda })\). Information for each contour is given in Table 6. For example, for contour B, corresponding to \((\varOmega_{M} =0.3, \varOmega_{\varLambda } = 0.7)\), we get \(m = -0.462\pm 0.014\) and \(\sigma_{int} = 0.288\pm 0.012\).

Fig. 16
figure 16

The likelihood function in the (\(m\), \(\sigma_{int}\)) plane for different values of \(\varOmega_{M}\) and \(\varOmega_{\varLambda }\) using the Dainotti correlation between \(L_{X}(T_{a})\) and \(T_{a}\) we obtained from the Swift/BAT data for 70 GRBs. The contours represent the values of the function \(-\ln {\mathcal{L}}\). Further information on A and E, please refer to Table 6

Table 6 Values for the slope \(m\) and \(\sigma_{int}\) for different values of \(\varOmega_{M}\) and \(\varOmega_{\varLambda }\). A and E represent the contours in Fig. 16

In Fig. 17 we show the obtained values of \((m, \sigma_{int})\) starting from a flat space characterized by \(\varOmega _{M} =0.3\). We here note the ability of the likelihood method to converge to the best values of \(m\) and \(\sigma_{int}\).

Fig. 17
figure 17

The function \(-\ln {\mathcal{L}}\) in the (\(\sigma _{int}, m\)) plane for Dainotti correlation between the X-ray luminosity and \(T_{a}\) as a function of the break time after the temporal plateau. \(\varOmega_{M} = 0.3\)

When we express the Dainotti relation by taking \(Ta/(1+ z)\) as an independent variable and \(L_{X}\) as a variable that depends on cosmological parameters, we obtain the results shown in Fig. 18. The relation that is represented there is \(\log {L_{X}} = m~\log {(T_{a}/(1+z))} + q\), and we refer to it as the ‘second Dainotti relation’ to distinguish it from the first one referred to earlier. In this case, the corresponding values of \(m\), \(q\), \(\sigma_{int}\), and \(-\ln{\mathcal{L}}\) are given in Table 7. We note that the values of \(\sigma_{int}\) and \(-\ln{\mathcal{L}}\) are larger than those obtained with the first Dainotti relation while showing the same general trend.

Fig. 18
figure 18

The contours of the function \(-\ln(\mathcal{L})\) in the \(\varOmega_{M}, \varOmega_{\varLambda }\) plane, using the second Dainotti relation obtained from the Swift/BAT data. The contours represent the same values of the function \(-\ln {\mathcal{L}}\) corresponding to \(m\) and \(\sigma_{int}\) given in Table 7

Table 7 Best values obtained for the parameters of the second Dainotti relation using the likelihood method for various values of \(\varOmega_{M}\) and \(\varOmega_{\varLambda }\)

8 Discussion

This study was conducted to try to determine the cosmological parameters \(\varOmega_{\varLambda }\) and \(\varOmega_{M}\) by using two correlation relations: the Amati relation between \(E_{p}\) and \(E_{iso}\) and a Dainotti relation between \(T_{a}\) and \(L_{X}(T_{a})\), which we presented in the previous sections. The Amati relation has been widely used to this aim (Dai et al. 2004; Amati et al. 2008; Kodama et al. 2008; Wei et al. 2013; Wang et al. 2016). However, this relation was inferred by assuming a flat universe with \(\varOmega_{M} = 0.3\), while some of the above-mentioned works use it as is and at the same time try to determine the cosmological parameters, which raises the issue of the circularity problem. Other works use a calibration based on the results from SN Ia for redshifts \(z < 1.414\) (Wang et al. 2015, 2016), which we view as a good approach (associating the results from SNe Ia with data from GRBs).

In the present work, we have tried to constrain the cosmological parameters using the two Amati relations relation but without setting a priori values of the slope and intercept parameters m and q. The best values are those that minimize the function \(L = -\ln {\mathcal{L}}\). This requirement leads to a set of values for \(\varOmega_{M}\) et \(\varOmega_{\varLambda }\) that produce contours in the plane of those cosmological variables/parameters. We find that the first Amati relation tends to favor values of \(\varOmega_{M}\rightarrow 0\) and \(\varOmega_{ \varLambda }\rightarrow 1\). To relate our result with that obtained from SNe Ia, we have graphically superposed the two. On the other hand, the second Amati relation favors values of the cosmological parameters that tend to converge toward \(\varOmega_{M} = 0.28\) and \(\varOmega_{\varLambda } = 0.725\) in the best cases.

The second relation, Dainotti relation, which we confirmed from Swift/XRT data is between the breaking time \(T_{a}\) in the time profile of the X-ray flux and the luminosity \(L_{X}(T_{a})\). However, it is characterized by large dispersions of the data points around the interpolation (straight) line. For the two versions of the Dainotti relation, our statistical analysis tends to favor values of \(\varOmega_{M}\rightarrow 1\) and \(\varOmega_{\varLambda }\rightarrow 0\). By numerically reducing the dispersion of the data, the results are greatly improved and converge to a set of values of the cosmological parameters close to what is obtained by other methods

By numerically reducing the dispersion of the data, the results are greatly improved and converge to a set of values of the cosmological parameters close to what is obtained by other methods; the results are also close to those presented in Fig. 14, which seems to confirm the need for “clean” data with minimal data dispersion around the straight line. We note that the Dainotti correlation has been used by several authors in an effort to constrain the cosmological parameters (Cardone et al. 2009, 2010; Dainotti et al. 2013b; Petrosian et al. 2015).

9 Conclusion

Gamma-ray bursts hold great potential as cosmological probes. This fact, however, has not yet been fully utilized, mainly because GRBs are not standard candles and partly because it has been difficult to construct plots between GRB characteristics that do not show too much scatter. The discovery and calibration of several luminosity and energy correlations has ushered in a new period of investigation in which GRBs are finally beginning to prove their worth as cosmological probes. In this paper, we tried to put limits on the values of \(q\) and \(m\) by utilizing the well-known Amati relation and one that was obtained by Dainotti et al. (2008) from GRB data, namely a correlation between the X-ray burst luminosity \(L_{X}\) and the break time \(T_{a}\) in the X-ray flux’s time profile, a correlation that we confirmed with our sample. The latter relation suffers from wide scatter, but we were able to narrow this scatter using numerical techniques. This enabled us to get reasonable values for \(\varOmega_{\varLambda }\) and \(\varOmega_{M}\) that are consistent with those obtained via other methods. A few general conclusions may be drawn from this work:

  1. 1.

    despite the wealth of GRB data that we now have (from Swift, Fermi, and others), the data that is plotted in the “standard” ways (luminosity vs. time, luminosity vs energy in various bands, etc.) still shows much scatter, at least for cosmological research purposes. Either we need more data in different energy bands or we are missing some insights as to how to relate various quantities.

  2. 2.

    The correlation that we have confirmed(between \(L_{X}\) and \(T_{a}\)), while far from perfect, shows that interesting perspectives can still be obtained by looking at the data from different angles.

  3. 3.

    Diversifying analysis approaches (maximum likelihood, chi-square minimization, iterative convergence, etc.) can yield interesting results that one may compare and contrast to reach the most robust conclusions.

  4. 4.

    For cosmological studies, while GRBs may certainly represent an important new angle from which to approach the determination of various parameters, combining quantities and results from different methods (SN Ia supernovae, Cosmic Microwave Background, Gamma Ray Bursts) and ensuring consistency across the board appears to be not only the best general approach but perhaps an absolutely necessary one.

In the future, we hope to pursue this new, promising avenue along the lines of the above general conclusions, in the aim of placing more stringent limits on the values of cosmological parameters, particularly by using larger data sets and GRB characteristics (energies and fluxes from various intervals and bands), which may aid in reducing the scatter in the correlation relations and thus in obtaining more precise results.