0710.1303/grb.tex
1: \documentstyle[times,epsfig,graphics,amssymb]{mn2e}
2: 
3: \newcommand{\be}{\begin{equation}}
4: \newcommand{\e}{\end{equation}}
5: \newcommand{\bear}{\begin{eqnarray}}
6: \newcommand{\ear}{\end{eqnarray}}
7: \newcommand{\nline}{\nonumber \\}
8: \newcommand{\f}{\frac}
9: \newcommand{\de}{{\rm d}}
10: \newcommand{\del}{\partial}
11: \newcommand{\etal}{\frenchspacing etal. }
12: 
13: \def\Onot{\Omega_0}
14: \def\be{\begin{equation}}
15: \def\ee{\end{equation}}
16: \def\mpc{\,{\rm {Mpc}}}
17: \def\mpch{\,h^{-1}{\rm {Mpc}}}
18: \def\kms{\,{\rm {km\, s^{-1}}}}
19: \def\Msun{{M_\odot}}
20: \def\Zsun{{Z_\odot}}
21: \def\HeII{\hbox{He~$\scriptstyle\rm II\ $}}
22: \def\vcir{{V_c}}
23: \def\Gyr{{\,\rm Gyr}}
24: \def\etal{{et al~}}
25: \def\cm{${\rm cm}$}
26: \def\sec{{\rm s}}
27: \def\gsim{\lower.5ex\hbox{\gtsima}}
28: \def\lsim{\lower.5ex\hbox{\ltsima}}
29: \def\gtsima{$\; \buildrel > \over \sim \;$}
30: \def\ltsima{$\; \buildrel < \over \sim \;$}
31: \def\prosima{$\; \buildrel \propto \over \sim \;$}
32: \def\gsim{\lower.5ex\hbox{\gtsima}}
33: \def\lsim{\lower.5ex\hbox{\ltsima}}
34: \def\simgt{\lower.5ex\hbox{\gtsima}}
35: \def\simlt{\lower.5ex\hbox{\ltsima}}
36: \def\simpr{\lower.5ex\hbox{\prosima}}
37: \def\ie{{\frenchspacing\it i.e. }}
38: \def\eg{{\frenchspacing\it e.g. }}
39:   
40: \title[Testing Reionization with GRBs]
41: {Testing Reionization with Gamma Ray Burst Absorption Spectra} 
42: 
43: 
44: \author[S. Gallerani, R. Salvaterra, A. Ferrara, T. Roy Choudhury]{
45: S. Gallerani$^{1}$, R. Salvaterra$^{2}$, A. Ferrara$^{1}$, T. Roy Choudhury$^{3}$ \\\\
46: $^1$ SISSA/International School for Advanced Studies, via Beirut
47: 2-4, 34014 Trieste, Italy\\
48: $^2$ Dipartimento di Fisica G. Occhialini, Universit\`a degli Studi di Milano Bicocca, Piazza della Scienza 3, I-20126 Milano, Italy \\
49: $^3$ Institute of Astronomy, Madingley Road, Cambridge CB3 OHA, UK\\}
50: 
51: \date{\today}
52: \pagerange{\pageref{firstpage}--\pageref{lastpage}} \pubyear{2007}
53: \begin{document}
54: 
55: \maketitle
56: \label{firstpage}
57: 
58: \begin{abstract}
59: We propose to study cosmic reionization using absorption line spectra of high-redshift Gamma Ray Burst (GRB) afterglows. We show that the statistics of the dark portions (gaps) in GRB absorption spectra represent exquisite tools to discriminate among different reionization models.  We then compute the probability to find the largest gap in a given width range $[W_{\rm max}, W_{\rm max}+dW]$ at a flux threshold $F_{\rm th}$ for burst afterglows at redshifts $6.3 \le z \le 6.7$. 
60: We show that different reionization scenarios populate the $(W_{\rm max},F_{\rm th})$
61: plane in a very different way, allowing to distinguish among different reionization histories.
62: We provide here useful plots that allow a very simple and direct comparison 
63: between observations and model results. Finally, we apply our methods to GRB~050904 detected at $z=6.29$. We show that the observation of this burst strongly favors reionization models which predict a highly ionized intergalactic medium at $z\sim 6$, with an estimated mean neutral hydrogen fraction $x_{\rm HI}=6.4\pm 0.3 \times 10^{-5}$ along the line of sight towards GRB~050904.
64: \end{abstract}
65: 
66: \begin{keywords}
67: cosmology: large-scale structure of Universe - intergalactic medium - gamma-ray: bursts 
68: \end{keywords}
69: \section{Introduction}
70: In the last few years, our knowledge of the high-$z$ Universe and in
71: particular of the reionization process has been enormously increased mainly 
72: owing to the observation of quasars by the SDSS survey (Fan 2006) and CMB
73: data (Hinshaw et al. 2007, Page et al 2007). Long gamma ray bursts (GRB) may constitute a complementary way 
74: to study the reionization process avoiding the proximity effects and 
75: possibly probing even larger redshifts. This has now become clear after the detection of five GRBs at $z\gsim 5$, 
76: over a sample of about 200 objects observed with the {\it Swift} satellite 
77: (Gehrels et al. 2004). The current
78: record holder is GRB~050904 at $z = 6.29$ (Tagliaferri et al. 2005, Kawai et 
79: al. 2006). Totani et al. (2006) have used this object to constrain the ionization state
80: of the intergalactic medium (IGM) at high redshift by modeling its optical 
81: afterglow spectrum. They report the evidence that 
82: the IGM was largely ionized already at $z=6.3$. The best-fit neutral 
83: hydrogen fraction is consistent with zero with upper limit $x_{\rm HI}<0.17$ 
84: ($<0.6$) at 68\% (95\%) C.L.
85: 
86: Several authors (Natarajan et al. 2005, Daigne, Rossi \& Mochkovitch 2006, 
87: Bromm \& Loeb 2006, Salvaterra et al. 2007a) have computed the number of 
88: high--$z$ GRBs detectable by {\it Swift}. In spite of model details,
89: all these different studies consistently predict that a non-negligible fraction 
90: (up to $\sim 10$\%) of all observed GRBs should lie at very high redshift. 
91: On the basis of these results, several GRBs at $z\ge 6$ should be 
92: observed by {\it Swift} in the near future. Depending on the 
93: {\it Swift}/BAT trigger sensitivity and on model details, Salvaterra \& 
94: Chincarini (2007) found that $\sim 2-8$ GRBs can be detected above this 
95: redshift during every year of mission. From the observational point of view, Ruiz-Velasco et al. (2008) find that the fraction of {\it Swift} GRBs at $z>6$ should not exceed the conservative upper limit of $19\%$.
96: Moreover, future X-- and Gamma--ray missions will increase rapidly the sample
97: of high--$z$ GRBs, possibly up to $z\sim 10$ (Salvaterra et al. 2007b).
98: Once detected, spectroscopic follow-up observations of high--$z$ GRBs require 
99: a rapid trigger of  8-meter, ground based telescopes. This can be done by
100: pre-selecting reliable candidates on the basis of some promptly-available 
101: information provided by {\it Swift}, such as burst duration, photon flux, 
102: the lack of detection in the UVOT $V$-band, and the low Galactic extinction 
103: (Campana et al. 2007, Salvaterra et al. 2007a).
104: We note that cosmological time dilation helps keeping the flux bright, since observations will sample the afterglow early phases, even a
105: few days after trigger.   
106: 
107: The spectra of high-redshift sources (as QSOs and GRBs) bluewards of the Ly$\alpha$ are characterized 
108: by dark portions (gaps) produced by intervening neutral hydrogen along the line of sight. 
109: The use of various gap statistics in QSO spectra has been recently recognized as a very powerful 
110: tool to constrain the IGM ionization state (Paschos \& Norman 2005; Fan et al.
111: 2006; Gallerani, Choudhury \& Ferrara 2006, hereafter G06; Gallerani et al. 
112: 2007, hereafter G07). For example,  
113: by comparing the statistics of these spectral features in a sample of 17 observed QSOs with Ly$\alpha$ 
114: forest simulations, G07 concluded that the HI fraction, $x_{\rm{HI}}$, evolves smoothly 
115: from $10^{-4.4}$ at $z=5.3$ to $10^{-4.2}$ at $z=5.6$, with a robust upper limit $x_{\rm{HI}} < 
116: 0.36$ at $z=6.3$. These results encourage the application of such analysis to GRBs.  
117: There are several advantages promised by such an attempt. First, GRBs are soon expected to
118: be found at redshifts higher than those typical of QSOs; second, and contrary to the massive 
119: hosts of QSOs, they reside in ``average" cosmic regions only marginally affected by local 
120: ionization effects or strong clustering; finally, they are bright and their afterglow spectra 
121: closely follows a power-law, making continuum determination much easier
122: 
123: In agreement with the WMAP3 results 
124: (Spergel et al. 2007) we assume a flat universe with $\Omega_m=0.24$, 
125: $\Omega_{\Lambda}=0.76$, $\Omega_bh^2=0.022$, $h=0.73$. The parameters 
126: defining the linear dark matter power spectrum are $n=0.95$, 
127: $\de n/\de \ln k=0$, $\sigma_{8}=0.82$. Mpc are physical unless differently stated.
128: \section{GRB emission properties}
129: We have built a synthetic GRB afterglow emission spectrum starting from
130: the observed spectral energy distribution and time evolution of the most
131: distant GRB detected up-to-now, i.e. GRB 050904 at $z=6.29$ (Tagliaferri et al. 2005,
132: Kawai et al. 2006). The unabsorbed afterglow spectrum of GRB 050904 can be
133: parametrized as $F(\nu)\propto \nu^{\rm \alpha} t^{\rm \beta}$, with $\alpha=-1.25^{+0.15}_{-0.14}$
134: (Haislip et al. 2006, Tagliaferri et al. 2005). The observed temporal decay 
135: up to 0.5 days from burst is well described by a power-law index of 
136: $-1.36\pm 0.06$, followed by a plateau phase with $\beta=-0.82\pm 0.15$ lasting
137: until 2.6 days after burst (Haislip et al. 2006). The further 
138: afterglow evolution can be described assuming $\beta=-2.4\pm0.4$ 
139: (Tagliaferri et al. 2005). Finally, we normalize the intrinsic GRB 050904 
140: optical spectrum in order to reproduce the flux of 
141: $\sim 18$ $\mu$Jy as measured at 1 day from burst in the J band (Haislip et al.
142: 2006). Although we have experimented with other choices to explore the model
143: sensitivity to redshift, we will mostly show results for GRBs located in the range 
144: $6.3 \le z \le 6.7$, which appears to be crucial to properly
145: follow the latest (i.e. overlap) phases of reionization history. 
146: From the observed afterglow spectral evolution of GRB 050904,
147: we compute the rest frame spectrum between Ly$\alpha$ ($1215.67$ \AA) and Ly$\beta$ ($1025.72$ \AA). 
148: %for GRBs at different times from the burst. 
149: \section{Absorption spectra}
150: \begin{figure}
151: \centerline{
152: \psfig{figure=PLOT/fig0.ps,width=5.7cm,angle=0}}
153: \caption{Synthetic absorption spectra at different times after the burst (t=0.1, 1.0, 3.4 days from the bottom to the top) of a GRB at $z=6.3$, for the ERM. The thin black horizontal lines denote the flux threshold $F_{\rm th}^{\rm obs}$ used to define gaps. The thick dashed cyan lines show the largest dark gap along each lines of sight.}    
154: \label{Fig1}
155: \end{figure} 
156: The ultraviolet radiation emitted by a GRB can suffer resonant Ly$\alpha$ scattering as it propagates
157: through the intergalactic neutral hydrogen. In this process, photons are removed from the line of
158: sight (LOS)  resulting in an attenuation of the source flux, the so-called Gunn-Peterson (GP) 
159: effect.  Thus, the observed flux $F_{\rm obs}$ is given by $F_{\rm obs}=F(\nu)~e^{-\tau_{\rm GP}}$, where $\tau_{\rm GP}$ is the GP optical depth. To simulate the $\tau_{\rm GP}$ distribution 
160: we use the method described by G06 and further revised in G07, whose main features are summarized as follows. 
161: Mildly non-linear density fluctuations giving raise to spectral absorption features in the 
162: intergalactic medium (IGM) are described by a Log-Normal distribution, which has been shown to fit observational data at redshifts $1.7<z<5.8$ (Becker et al. 2007).   
163: For a given IGM equation of state (i.e. temperature-density relation), the mean HI fraction, $x_{\rm HI}$, 
164: can be computed from photoionization equilibrium (an excellent approximation under the prevailing physical conditions) 
165: as a function of the baryonic overdensity, $\Delta\equiv\rho/\bar\rho$, and photoionization rate, $\Gamma$, due to the 
166: ultraviolet background radiation field. These quantities must be determined from a combination of theory and
167: observations; here we follow the approach of Choudhury \& Ferrara (2006, CF06 hereafter). Their study allows for three 
168: types of ultraviolet ionizing photons: QSOs, PopII and PopIII stars. As the contribution of PopIII stars is negligible
169: for the redshift of interest here, we neglect this type of sources. The CF06 model contains two free parameters: 
170: (i) the star-formation efficiency $f_*$, and (ii) the escape fraction $f_{\rm esc}$ of ionizing photons from galaxies. 
171: These are calibrated by a maximum-likelihood procedure to a broad data set, including the redshift evolution of
172: Lyman-limit systems, Ly$\alpha$ and Ly$\beta$ GP optical depths, electron scattering optical depth, cosmic star formation 
173: history, and number counts of high redshift sources. 
174: 
175: 
176: Currently, the available data can be explained by two different reionization histories, corresponding to different choices of the free parameters: 
177: (i) an Early Reionization Model (ERM) ($f_{*}=0.1; f_{\rm esc}=0.07$), and (ii) a Late Reionization Model (LRM) ($f_{*}=0.08; f_{\rm esc}=0.04$).
178: These two models bracket the range of possible reionization histories. For example models in which reionization occurs earlier (later) than
179: in the ERM (LRM) would overproduce the electron scattering (GP) optical depth. 
180: The global properties of the two reionization models are shown in Fig. 1 of G07
181: so we do not report them here. It suffices to say that in the ERM the volume filling factor of ionized regions,
182: $Q_{\rm HII}=V_{\rm HII}/V_{\rm tot}=1$ at $z\leq 7$; in the LRM $Q_{\rm HII}$ evolves from 0.65 to unity in the redshift range 7.0-6.0, implying that the 
183: reionization is still in the pre-overlap stage at $z\geq 6$. Both ERM and LRM by construction provide an excellent fit to the
184: mean neutral hydrogen fraction evolution experimentally deduced from the GP test.
185: Having selected all the necessary physical 
186: evolutionary properties of the most likely reionization histories, we can now describe how we plan to use GRBs to discriminate
187: between them.  
188: \section{Reionization tests}
189: The main idea we propose in this paper is to exploit the statistics of the 
190: transmissivity gaps imprinted by the intervening IGM neutral hydrogen on the 
191: otherwise smooth power-law spectrum of high-redshift GRBs. On general grounds, 
192: we expect that at any given redshift, but particularly above $z=6$, where 
193: differences become more marked, the value of $x_{\rm{HI}}$ is higher in the 
194: LRM than in the ERM. As a result, if reionization completes later, absorption spectra are characterized by wider and more numerous gaps, defined as contiguous regions of the spectrum with observed 
195: flux lower than a given flux threshold over a rest frame 
196: wavelength interval larger than 1 \AA. Moreover, the level of neutral hydrogen 
197: fluctuations along the LOS to the GRB differs 
198: in the two models: in principle, the GRB flux decay could be used as a tunable 
199: high-pass filter which allows to study the growth
200: of gaps with time. 
201: As the time after the burst increases, the gaps become larger.
202: In fact, the progressive fading of the unabsorbed afterglow produces a
203: corresponding attenuation of the observed flux, as can be seen from Fig. 1.
204: As the flux falls below the flux threshold $F_{\rm th}^{\rm obs}$ (thin black horizontal lines) the
205: transmission
206: windows disappear, causing the gaps to expand. The thick dashed cyan line shows the
207: largest gap ($W_{\rm max}$) along the LOS; the largest gap width (LGW)
208: increases as the GRB flux fades.
209: However, in practice, the analysis of the LGW time evolution can be equivalently applied at a fixed time after the burst to the transmitted flux $F_{\rm transm}=F_{\rm obs}/F(\nu)$ varying the threshold\footnote{Note that we define $F_{\rm th}^{\rm obs}$ as the threshold which defines gaps in the observed flux and $F_{\rm th}$ in reference to the transmitted one.} $F_{\rm th}$. 
210: 
211: We have derived the evolution 
212: of the LGW found in synthetic absorption spectra varying the flux threshold used to define gaps.  
213: Suppose that a GRB is observed at a given redshift $z_{\rm GRB}$.
214: We can then ask what is the probability that in its afterglow spectrum the largest gap, defined by $F_{\rm th}$, is found within a given width range\footnote{In this work we assume $dW=20$\AA.} $[W_{\rm max}, W_{\rm max}+dW]$. 
215: We can draw this probability from our model by analyzing a large number of 
216: synthetic spectra corresponding to different GRB redshifts $z_{\rm GRB}$ and 
217: counting the number of LOS having the largest gap in the given range, varying the $F_{\rm th}$  between 0 and 1. Clearly, in real cases, a minimum threshold $F_{\rm th, min}$ is set by the noise associated to the spectrum.
218: 
219: We have computed this statistics for afterglow spectra of GRBs with $6.3 < z_{\rm GRB} < 6.7$.
220: In fact, according to the most
221: recent estimates involving the lower trigger sensitivity, the {\it Swift} mission is expected to increase the sample
222: of high--$z$ GRBs, possibly up to $z\sim 10$ (Salvaterra et al. 2007b). 
223: \begin{figure*}
224: \centerline{\psfig{figure=PLOT/nofill1.epsi,width=7.7cm,angle=0}}
225: \caption{Isocontours of the probability that the afterglow spectrum of a GRB at redshift $z_{\rm GRB}$, contains a 
226: largest 
227: gap of size in the range $[W_{\rm max}, W_{\rm max}+dW]$, with $dW=20$~\AA for a flux threshold $F_{\rm th}$.  The left (right) panel shows the results for the ERM (LRM). The top (middle, bottom) panel shows the results for $z_{\rm GRB}=6.3$ ($6.5, 6.7$).
228: The isocontours correspond to probability of 5\%, 10\%, and 40\%.} 
229: \label{Fig1}
230: \end{figure*} 
231: 
232: We show the resulting largest gap probability isocontours in Fig. 2 for 
233: $z_{\rm GRB}=6.3$ (top panels),  $z_{\rm GRB}=6.5$ (middle panels), and  $z_{\rm GRB}=6.7$ (bottom panels)%40~\AA$\le W_{\rm max}\le 80$~\AA~(top panels) and 
234: %$80$~\AA$ \le W_{\rm max}\le 120$~\AA~(bottom panels);  
235: ; the left (right) panels refer to the ERM (LRM) case. We use 300 LOS   in order to ensure statistical convergence of the results. The isocontours correspond to a probability of 5\%, 10\%, and 40\%.  
236: %We find that the two models populate the $(z_{\rm GRB}, F_{\rm J})$ plane in a very
237: %different way. 
238: The differences caused by the two different reionization histories are striking, since the ERM and LRM populate the  $(W_{\rm max},F_{\rm th})$
239: plane in a very different way, as shown in Fig. 2. For example, at $z_{\rm GRB}=6.3$, the probability to find the largest gap with $W_{\rm max}=50$~\AA~for $F_{\rm th}=0.1$, is $\approx 40\%$, in the ERM, while it is only of the $\approx 5\%$ in the LRM, being most of the largest gaps wider than 50~\AA.
240: 
241: Moreover, in the LRM the width of the gaps is a factor $\approx 2$  times wider 
242: than in the ERM.  In particular, for $z_{\rm GRB}=6.5$ and $F_{\rm th}=0.2$, we find that in the ERM $40\lesssim W_{\rm max}\lesssim 170$~\AA, while in the LRM gaps are mostly larger than $80$ \AA, for the same value of the flux threshold.  
243: 
244: Finally, in the ERM the LOS becomes completely dark for flux threshold values higher than in the LRM case, as a consequence of the higher transmitted flux predicted by the former. For example, at $z=6.7$, in the ERM (LRM) the gap size is equal to the simulated LOS length ($\approx 190$\AA) for $F_{\rm th}\approx 0.4~(0.15)$.
245: 
246: The results point also towards two very important, and potentially interesting, redshift-dependent features, both
247: related to the thickening of the Ly$\alpha$ forest, which becomes on average more neutral towards higher redshifts.   
248: First, there is an overall shift towards larger $W_{\rm max}$ values of both ERM and LRM curves from $z_{\rm GRB}=6.3$ to $z_{\rm GRB}=6.7$. Second, the
249: rate at which the gap width grows and saturates with $F_{\rm th}$ strongly correlates with redshift.   
250: 
251: Thus, the analysis of the largest gap evolution with the flux threshold shows that it is is easier to discriminate among different reionization 
252: histories using the highest redshift available sample of GRBs. 
253: 
254: Fig.~2 allows a straightforward comparison between data and model results. In practice, information 
255: on the reionization history from a $z>6$ GRB can be easily extracted through the following the steps:
256: (i) from the J-band afterglow flux, $F_{\rm J}$, extrapolate the continuum as $F(\nu)=F_{\rm J} 
257: (\nu/\nu_{\rm J})^{\alpha}$; (ii) compute the transmitted flux $F_{\rm transm}=F_{\rm obs}/F(\nu)$; (iii)
258: Determine the LGW in $F_{\rm transm}$, varying $F_{\rm th}$ in $[F_{\rm th, min};1]$, (iv) compare the result
259: with Fig. 2. This simple procedure will allow to dicriminate between different reionization scenarios.
260: \section{The case of GRB 050904} 
261: We apply the LGW analysis to the observed flux of the GRB 050904, whose  
262: spectrum has been obtained 3.4 days after the burst (Kawai et al. 2006). For a fair comparison with observations, simulated spectra have been convolved with a gaussian of
263: FWHM = 300 km/sec, providing $R=1000$, and then rebinned to a resolution of
264: R = 600. Finally, we add noise to the simulated data such that the
265: flux F in each pixel is replaced by F + G(1) $\sigma_n$, where G(1) is
266: a Gaussian random deviate with zero mean and unit variance, and $\sigma_n=0.05$ is almost the mean noise r.m.s deviation, observed in the GRB 050904 spectrum by 
267: Kawai et al. 2006.
268: 
269: In this work the lower flux threshold value that we use is
270: $F_{\rm th, min}^{\rm obs}=0.3\times 10^{-18}{\rm erg~s^{-1} cm^{-2} \AA^{-1}}$ which is $\geq 3-\sigma_n$. Such conservative choice of $F_{\rm th}^{\rm obs}$ excludes the 
271: possibility that the widths of the gaps are underestimated because of some 
272: spurious transmission peaks.
273: For $F_{\rm th}^{\rm obs}=(0.30;~0.35;~0.40)\times 10^{-18}\rm erg/\rm s/cm^2/\rm{\AA}$, 
274: the observed largest dark gaps sizes are $W_{\rm max}=(51;~78;~141)$~\AA, 
275: respectively, in the GRB rest frame.  These values refer to the dark regions 
276: extending in the observed wavelength region $\sim [7850-8220]$; 
277: $[7850-8420]$; $[7850-8874]$~\AA, respectively. It is worth noting that the 
278: third wavelength range contains the spectral region immediately blueward the Ly$\alpha$ 
279: emission, which could be affected by the presence of a DLA, as claimed by 
280: Kawai et al. (2006). Thus, the corresponding quoted size for the dark gap 
281: should be consider as an upper limit. 
282: 
283: The black filled circles in Fig. 3, 
284: corresponding to the values of $W_{\rm max}$ and $F_{\rm th}^{\rm obs}$ for GRB 050904, show that the ERM is favored by the data.  
285: In particular, the probability to find a largest gap of 
286: $W_{\rm max}\approx 51$~\AA, for 
287: $F_{\rm th}^{\rm obs}=0.30\times 10^{-18}\rm erg/\rm s/cm^2/\rm{\AA}$ is 
288: $\approx 40$\% if reionization occurred early, i.e. almost half of the LOS 
289: contains a largest gap of this size for a burst with the redshift and flux of 
290: GRB~050904. Such probability drops for a late reionization model to $\sim 10$\% 
291: clearly indicating that in this scenario the GRB~050904 observation represents 
292: a much rarer event. 
293: Moreover, in the ERM, the probability to find a largest gap of 
294: $W_{\rm max}\approx 78$~\AA, for 
295: $F_{\rm th}^{\rm obs}=0.35\times 10^{-18}\rm erg/\rm s/cm^2/\rm{\AA}$ is almost 3 times the LRM one (27\% vs 10\%).
296: Finally, for the third observed point the LRM appears to be more probable
297: than the ERM by a factor 27:5. This value should be considered an upper
298: limit, since the third point has been obtained analyzing a spectral region which could be affected
299: by a DLA contamination (Kawai et al. 2006). For this reason, the corresponding gap size 
300: should be smaller than $141$\AA, thus being more consistent with ERM 
301: predictions, as the other observational data. 
302: Without taking into account the latter 
303: observed point, we find that the ERM is 11 times more probable than 
304: the LRM; if such data point is included, the above vantage factor 
305: reduces to 2. We have checked the impact of uncertainties on the continuum flux
306: by varying its slope within the quoted error on $\alpha$ (see Sec. 2).
307: We have found that the results shown in Fig. 3 are negligibly affected.\\
308: Our results are due to the fact that many, relatively large, opaque 
309: stretches are present in the IGM at $z=6.3$ for the LRM, 
310: resulting in an average large $W_{\rm max}$. In the case of ERM, reionization 
311: is almost complete already at $z\sim 7$ and smaller largest gaps 
312: are expected at the redshift of GRB~050904. \\
313: Although a large sample of high redshift GRBs is required before we conclude 
314: that a model in which reionization ended by  $z\approx 7$ is favored by the 
315: data, the discriminating power of the proposed method is already apparent.
316: \subsection{Neutral hydrogen measurements}
317: We have compared the gap statistics as predicted by two different reionization models. At z=6, the ERM predicts a mean neutral hydrogen fraction $x_{\rm HI}\sim 10^{-4}$, while in the LRM $x_{\rm HI}\sim 0.03$. As shown in the previous Sections, the gap statistics is sensitive to the neutral hydrogen amount along the LOS to the background source. Thus, we can exploit the better agreement of the ERM predictions with observed data to provide a measurement of the neutral hydrogen fraction $x_{\rm HI}$ along the LOS to the GRB 050904. To this aim, from the ERM sample used in the analysis, we select those LOS whose largest gap is consistent with observations. Thus, we derive the mean neutral hydrogen fraction $x_{\rm HI}$ along the synthetic LOS characterized by $W_{\rm max}~\epsilon~[51~$\AA$~\pm~dW]$ for $F_{\rm th}^{\rm obs}=0.30\times 10^{-18}$~erg~s$^{-1}$~cm$^{-2}$~\AA$^{-1}$ and $W_{\rm max}~\epsilon~[78~$\AA$~\pm~dW]$ for $F_{\rm th}^{\rm obs}=0.35\times 10^{-18}$~erg~s$^{-1}$~cm$^{-2}$~\AA$^{-1}$. We find that the observed LGW 
318: in the GRB~050904 afterglow spectrum are consistent with $x_{\rm HI}=6.4\pm 0.3\times 10^{-5}$. 
319: \begin{figure*}
320: \centerline{\psfig{figure=PLOT/appl.eps,width=8.8cm,angle=0}}
321: \caption{Isocontours of the probability that the afterglow spectrum 
322: associated with a GRB at redshift $z_{\rm GRB}=6.3$, contains a 
323: largest 
324: gap of size in the range $[W_{\rm max}, W_{\rm max}+dW]$, with $dW=20$~\AA, for a flux threshold $F_{\rm th}$.  
325: The left (right) panel shows the results for the ERM (LRM). The isocontours correspond to probability of 5\%, 10\%, and 40\%. The black points indicates the position in the $(W_{\rm max}, F_{\rm th}^{\rm obs})$ plane of 
326: GRB 050904. The point with arrow means that the gap size should be considered as an upper limit, since the corresponding dark region could be affected by the presence of a DLA (Kawai et al. 2006).}
327: \label{Fig1}
328: \end{figure*} 
329: \section{Conclusions}
330: We have proposed to investigate cosmic reionization using absorption line spectra of high--$z$ GRB afterglows. 
331: The evolution of the largest gap width (LGW) as a function of the flux threshold  $F_{\rm th}$ used to define 
332: gaps shows marked differences in the two reionization models favored by present data. 
333: In particular, (i) the LGW is typically $\sim 2$ times wider in the LRM than in the ERM, for a fixed $F_{\rm th}$; 
334: (ii) the difference between ERM and LRM in terms of $(W_{\rm max}, F_{\rm th})$ increases with $z$; (iii) an overall shift towards larger $W_{\rm max}$ values for a fixed $F_{\rm th}$ is found in both models towards higher redshifts. 
335: This analysis has shown that we can robustly distinguish among different reionization histories: improved results can 
336: be obtained if data is collected promptly after burst detection and by using GRBs at the highest available redshifts.
337: 
338: A direct comparison of the model with data can be carried on in terms of the probability to find the largest gap in a given width range for burst afterglows at $z=z_{\rm GRB}$.  When applied 
339: to the only known GRB at $z>6$, i.e. GRB~050904 at $z_{\rm GRB}=6.29$, a clear indication is obtained that reionization must 
340: have occurred well before $z=6$. 
341: 
342: We find that the observed LGW 
343: in the GRB~050904 afterglow spectrum are consistent with $x_{\rm HI}=6.4\pm 0.3\times 10^{-5}$. This result 
344: is in agreement with previous measurements by Totani et al. (2006), who find that $x_{\rm HI}$ is bound to be  
345: $x_{\rm HI}<0.17$ ($<0.6$) at 68\% (95\%) C.L.
346: 
347: Some gaps/peaks in absorption spectra could be due to DLAs/HII regions intervening along the LOS towards 
348: the background source (e.g. the DLAs/transverse proximity effect detection by Totani et al. 2006/Gallerani et al. 2007). 
349: Such contaminants could affect neutral hydrogen measurements, if the foreground sources are not properly removed. 
350: 
351: In this work we have applied the gap statistics to the GRB 050904 observed flux. However, the same analysis 
352: can be done by using the transmitted flux $F_{\rm obs}/F(\nu)$, i.e. normalizing the observed flux to the continuum. Following this approach, we provide useful plots (Fig. 2) 
353: which allow a straightforward comparison between our model results and future observations of $z>6$ GRBs afterglow 
354: spectra. 
355: 
356: It is worth noting that the gap statistics with a variable flux threshold can be readily applied to other background sources, as QSOs. 
357: We plan to apply this analysis to the Fan et al. (2006) data, thus improving the results obtained by Gallerani et al. (2007). 
358: The advantage of varying the flux threshold is that this technique allows to study the response of the transmitted flux both to 
359: the high and low end tail of the IGM density field. In fact, high (low) $F_{\rm th}$ values probe regions corresponding to 
360: low (high) overdensities.
361: 
362: In spite of the fact that QSO data are presently more abundant, GRBs are expected to be found at higher redshift, as they
363: should result from the death of (early) massive stars (e.g. Abel et al. 2002, Schneider et al. 2002). 
364: Larger samples of GRB afterglow spectra at $z\ge 6$, likely available in the near future, will allow a statistically 
365: significant analysis and possibly to reconstruct the cosmic reionization history. At redshifts approaching reionization epoch, 
366: gaps in afterglow absorption spectra are expected to become as large as the spectral region between the Ly$\alpha$ and 
367: Ly$\beta$ emission lines, thus obscuring completely the GRBs optical counterpart. 
368: \section*{Acknowledgments}
369: We thank E. Pian for providing useful instrumental data, G. Chincarini, D. Malesani, G. Tagliaferri for
370: stimulating discussions about GRB afterglows and {\it Swift} data, Z. Haiman for enlightening comments, and
371: the referee J. Schaye for constructive criticism.
372: \begin{thebibliography}{99}
373: \bibitem{} Abel T., Bryan G.~L., Norman M.~L., Science, 295, 93 
374: \bibitem{} Becker G.~D., Rauch M. \& Sargent W.~L.~W., 2007, ApJ, 662, 72
375: \bibitem{} Bromm V. \& Loeb A., 2006, ApJ, 642, 382
376: \bibitem{} Campana S., Tagliaferri G., Malesani D., Stella L., D'Avanzo P., Chincarini G., Covino S., 2007, A\&A, 464, L25
377: \bibitem{} Choudhury T. R. \& Ferrara A., 2006, MNRAS, 371, L55
378: \bibitem{} Daigne F., Rossi E. M. \& Mochkovitch R. 2006, MNRAS, 372, 1034
379: \bibitem{} Fan X., 2006, NewAR, 50, 665
380: \bibitem{} Fan X. et al., 2006, AJ, 132, 117
381: \bibitem{} Gallerani S., Choudhury T. R. \&  Ferrara, A., 2006, MNRAS, 370,
382: 1401 (G06) 
383: \bibitem{} Gallerani S., Ferrara A., Fan X., Choudhury T. R., 2007, MNRAS, 386, 359 (G07)
384: \bibitem{} Gehrels, N., et al. 2004, ApJ, 611, 1005
385: \bibitem{} Haislip J.B, et al., 2006, Nature, 440, 181
386: \bibitem{} Hinshaw G. et al., 2007, ApJS, 170, 288
387: \bibitem{} Kawai, N., et al., 2006, Nature, 440, 184
388: \bibitem{} Natarajan P., Albanna B., Hjorth J., Ramirez--Ruiz E., Tarvir N., \& Wijers R., 2005, MNRAS, 364, L8
389: \bibitem{} Page M. J. et al. 2007, ApJS, 170, 335
390: \bibitem{} Paschos P. \& Norman M. L., 2005, ApJ, 620, L9
391: \bibitem{} Ruiz-Velasco A.~E. et al., 2007, ApJ, 669, 1
392: \bibitem{} Salvaterra R., \& Chincarini G., 2007, ApJ, 656, L49
393: \bibitem{} Salvaterra R., Campana S., Chincarini G., Tagliaferri G., Covino S., 2007a, MNRAS in press, arXiv:0706.0657
394: \bibitem{} Salvaterra R., Campana S., Chincarini G., Covino S., Tagliaferri G., 2007b, in preparation
395: \bibitem{} Schneider R., Guetta D., Ferrara A., 2002, MNRAS, 334, 173
396: \bibitem{} Spergel D. N. et al., 2007, ApJS, 170, 377  
397: \bibitem{} Starling R. L. C., Wijers R. A. M. J., Hughes M. A., Tanvir N. R., Vreeswijk P. M., Rol E., Salamanca I., 2005, MNRAS, 360, 305
398: \bibitem{} Tagliaferri G. et al., 2005, A\&A, 443, L1
399: \bibitem{} Totani T. et al., 2006, PASJ, 58, 485
400: \bibitem{} Vreeswijk P.~M. et al., 2007, A\&A, 468, 83
401: \end{thebibliography}
402: \end{document}
403: 
404: 
405: 
406: 
407: 
408: 
409: 
410: