Advances in Astronomy

Advances in Astronomy / 2010 / Article
Special Issue

Robotic Astronomy

View this Special Issue

Research Article | Open Access

Volume 2010 |Article ID 102831 |

Sebastián Castillo-Carrión, Alberto Javier Castro-Tirado, "Making Preliminary GRBs Real-Time Astronomical Reports", Advances in Astronomy, vol. 2010, Article ID 102831, 8 pages, 2010.

Making Preliminary GRBs Real-Time Astronomical Reports

Academic Editor: Lorraine Hanlon
Received09 Jun 2009
Accepted15 Sep 2009
Published13 Dec 2009


We present a standalone software tool which makes reports for analysis and evaluation of GRBs. Recently, analysis and evaluation of GRBs were done without help of semiautomated tools or routines; so the time elapsed from the detection until getting all the information produced (DSS-2 data: Digitized Sky Surveys, elevation diagrams in each observatory, etc.) could be 30 minutes. The software presented allows to reduce the time elapsed to 30 seconds, getting an email, web, and sms reports.

1. Introduction

Gamma ray bursts (GRBs) were first reported by Klebesadel et al. [1] as they studied data acquired by the VELA spacecraft [2]. GRBs are the most luminous events known in the Universe. They are flashes of gamma rays, coming from seemingly random places on the sky and at random times, that last from milliseconds to many minutes. They are often followed by afterglow emission at longer wavelengths (X-ray, UV, optical, IR, and radio).

The longest GRBs are followed by an X-ray afterglow emission. GRB events take place in random sky coordinates, and their prediction are not possible. The majority of observed GRBs appear to be due to supernova explosion (longer GRBs) and binary systems collapse (shorter GRBs). GRBs can only be detected from space because the Earth’s atmosphere absorbs gamma rays and therefore we cannot observe them from the ground, although afterglow emission is possible to be observed.

2. Recent GRB Follow-up Systems

Following the BeppoSAX [3] and the High-Energy Transient Explorer 2 (HETE-2) [4] results in the field, other space observatories like Chandra [5] and XMM-Newton [6] are pinpointing the X-ray afterglow emission that follow the gamma-ray events. Recently, the International Gamma Ray Astrophysics Laboratory (INTEGRAL, from ESA) [7], The Fermi Gamma-ray Space Telescope (FERMI) [8], and Swift, (a NASA Midex Mission) [9] are increasing the number of GRB detections to about 100/yr.

The GRB afterglow emission can only be observed for few days; so, the time elapsed from GRB detection until its observation must be minimized. Once a GRB has been detected by one of the satellites mentioned above, rapidly analysis and evaluation of the alert info and external conditions need to be done. This helps to determine whether any reasonable followup effort is feasible, which helps making “Target of Opportunity” (ToO) proposals. Observations are scheduled if a transient event covered by the proposal occurs during the scheduling cycle. Analysis and evaluation of GRB were initially made by hand (observatories, instrumentation, elevation diagrams, Sun and Moon position in each observatory, etc.). This makes the time elapsed between the reception of the GRB alert and the production of this “followup” output as large as 30 minutes. However, it is possible to make them semiautomated with new technologies, taking not more than 30 seconds, which helps starting to obtain images, in several occasions, 3 minutes after the burst commenced [10].

Similar to Rapid Response Analysis of GRB Optical Afterglows [11], this work has been directed towards optimizing ToO techniques. Semi-automated programs and routines have been developed to facilitate faster and more efficient GRB follow-up. They are used in conjunction with other real time, online, automatic data analysis system: BOOTES [12].

3. Realtime Astronomical Report Software

One of the key issues in GRB followup observations is response time. The rapid fading of the GRB optical afterglow can make it fade below visibility within hours, which sets heavy demands on quick response times of any followup observations.

In order for the GRB ToO run to be successful, a number of conditions must be met. Here are listed some of the common problems that must be considered or solved during a run:

(i) visibility: whether the GRB field is observable at the telescopes, distance to Sun/Moon, and so forth;(ii) telescope availability: it must be determined which telescopes are actually available for ToO activation: night reserved for technical time, outside the time of the approved ToO programme, and so forth;(iii) size of error-field: the size of error-field can be dramatically different from one burst localization to the next, making it necessary to consider carefully;(iv) extinction: the position on the sky of the GRB-field with respect to the plane of the Milky Way is very important for evaluating the chances of a successful follow-up;(v) to provide the observer with charts of the GRB-field, to ensure that the position observed is the correct one.

An application which makes GRBs reports has been developed at the Instituto de Astrofísica de Andalucía [13]. It streamlines and automates some of the previous procedures involved in GRB ToO operations. This application provides fast and detailed information on a given GRB on basis of a satellite localization alert. It helps to form a reliable basis for quick decision making regarding whether a ToO activation should be performed.

This application supports the ToO research projects BOOTES-1 [14], BOOTES-2 [15], and BOOTES-IR [16].

It is a public domain software, although there is currently no web-site to download the software, but an email can be sent to to get the source/application, detailed instruction for installing, deploying and running, and any kind of support.

The details of software specification, design, and implementation are given next.

3.1. Specification

Functionality and requirements of software are listed.

(1) Input Data
(i)Type of alert: identified by a number(ii) Right ascension and declination of GRB(iii) GRB alert start time(iv) Error Box(v) GRB Id (grb trigger).

Input data are provided by another software: rts2 [17], which receives alerts from satellites through sockets [18] and makes the input data which are storaged into a relational database.

(2) Output Data
(i)Report title according to alert type:
(ii) Report time(iii) Time elapsed from GRB detection to report generation(iv) GRB galactic coordinates(v) Value from Lambert-projection maps: E(B V), Au, Ab, Av, Ar, Ai, Aj, Ah, Ak(vi) Moon and Sun right ascension and declination; Sun-GRB and Moon-GRB distance, Moon phase(vii) Observatories with approved Spanish ToO programme, telescopes, instrumentation, and so forth(viii) GRB altitude-azimuth diagrams in each observatory(ix)FITS and JPEG images of ESO Online Digitized Sky Survey using the Digitized Sky Survey (2n version, dss-2 [19]) (red, ir, blue) tool.

All report information will be available through web page, email, and sms (not so detailed).

3.2. Design and Implementation

This application is running in GNU/Linux i686. In a basic diagram, general working of software is shown (Figure 1): when a grb is detected, this application is executed by rts2 (which provides the input data) and outputs three types of reports.

The system is composed of several modules. Some of them can run simultaneously; others need data to be received from other modules.

The most relevant modules of the system are the following:

(i)Make Title Report: Given type of GRB, it reports title of grb;(ii)Galactic Coordinates: it reports galactic coordinates from grb equatorial coordinates;(iii)Distance Sun-Moon to GRB: given equatorial coordinates of Sun and Moon, computes distance from GRB to Sun and Moon;(iv)Moon, Sun RA, and DEC: Computes equatorial coordinates of Sun and Moon;(v)elevation graph in observatories: computes, for each observatory of the database (with known latitude and longitude), grb elevation graphs;(vi)moon phase: given date and time, it reports Moon phase;(vii)list observatories, instrumentation, and so forth: Given a date and time, it reports, for every telescope of each observatory, who is the observer, instrument mounted, approved ToO programme, and so forth;(viii)dss-2: given equatorial coordinates and field of view, it returns digital sky image of that area;(ix)report time: it returns date and time when report has just been created;(x)dust_getval: it computes E(B V) extinction value;(xi)database observatories, instrumentation, and so forth: it is not a module, just a database which provides data to other modules;(xii)time elapsed GRBdetection-report generation: time elapsed from detection of grb to creation of this report.

Execution order of modules is shown in Figure 2. An arrow indicates dependency between two modules: it leaves the module that provides the data and ends in the module which uses them. A module with no arrows mean that it does not need data and neither provides them to others.

Next, a more detailed working of above diagram is shown in Figure 3. It gives additional information of each module: technology used is reported within brackets, graphs paths of inputs and outputs, and so forth. Each module takes input data from left and generates output data to right. Input data of the application are on the left side of the diagram, and reports produced are on the right one.

Database storages all observers/researchers, instrumentation, telescopes, observatories, and country time observation in different tables and interrelationships between them in “Schedule timetable.” These data determine which telescopes are actually available for ToO activation for the coming night.

The most important entity is “Schedule timetable,” which establishes spatial and time entity relations between data storaged in the other tables. So, when a GRB is detected, the application will query the database and make a detailed report for all telescopes of each observatory: observer, instrument mounted, ToO programme, and so forth. Figure 4 shows simplified entity relationship model:

Below, there is a list of libraries and software required by this tool, with brief description of the actions performed by each one of them.

(i)rts2, Remote Telescope System, is an integrated open source package for remote observatory control under the Linux operating system. It runs the software presented in this work and provides input data (see Section 3.1). The software presented is not provided with rts2.(ii)Perl [20]: it is a high-level, general-purpose, interpreted , dynamic programming language. Perl borrows features from other programming languages including C, sh, awk, and sed. It is intended to be practical and support programming paradigms. Quick startup, powerful features, and true flexibility are some reasons for choosing this programming language to implement the system. The main module (and almost all the system, 80%) is written in perl, and also secondary or auxiliary functions (extract arguments from shell outputs, make base or main report, elevation diagrams, etc.).(iii) Astro: MoonPhase [21]: returns information about the phase of the Moon at a given time.(iv)Libnova for C,C++ [22]: general purpose, double precision, celestial mechanics, astrometry, and astrodynamics library. In this work it is used to calculate distance from grb to Sun and Moon, Sun position, Moon position, Moon phase, Horizontal and Equatorial Coordinates of objects (grb, Sun, Moon), and so forth.(v)dss-2 (sky digitized survey): the ESO/ST-ECF digitized sky survey (dss) application is a remote client program that extracts random sky section from the DSS image server installed at ESO, which covers the entire sky. The extracted images are delivered in standard FITS format and contain all header keywords needed to visualize proper celestial coordinates for any pixel position. This remote client application enables the creation of batch jobs to be integrated into other application software. So, once rts2 provides equatorial coordinates and size of error of the grb, the software presented executes this remote client to get images from dss which help to identify the grb in the sky.(vi)dust_getval [23]: given galactic longitude and latitude, it returns the reddening value E(B V).
3.3. Output Report Format

Output report is divided into five sections (see Figure 5):

(i)Directly from GRB. In this section the data are extracted directly from input provided from rts2; so basically the software only produces well-formatted text: equatorial coordinates of grb, type, trigger num, error, date, and time.(ii)Easily calculated from GRB. Data received from rts2 are used to calculate other parameters without undue complexity.(iii)Query to database. Database returns, for each telescope of each observatory, observer/staff member responsible for the telescope, instrument mounted on, approved ToO programme, phone and contact information.(iv)Elevation Diagrams. Knowledge on the pointing restrictions of the individual telescopes is quite vital, especially when planning longer duration ToO observations.(v)DSS images. They help the observer to identify grb or new objects on the sky.
3.4. Example of Output Data

Some examples of report generated email and sms alerts are presented for GRB 070704 (see Figures 6 and 7). Report generated web page is close similar to email with different paragraph formats, and so web example is not included in this section.

An sms message issued for GRB 070704 will be received from phone number “SX233755s 661703_20:08, 04/07”, with the following encoding:

SX: simplified GRB title. The simplified GRB titles are INTEGRAL_WAKEUP IO; INTEGRAL_OFFLINE IF; SWIFT_BAT_GRB_POSITION SB; SWIFT_XRT_POSITION SX; SWIFT_FOM_OBSERVE SF; FERMI_GBM_GND_POS FG; FERMI_LAT_GRB_POS_UPD FL.233755: right ascension in hours, minutes, and seconds. 661703: declination in degrees, minutes, and seconds.20:08: UT GRB time.04/07: GRB Date (it is supposed to be the present year).

4. Conclusions

Due to the transient and inherent unpredictable nature of gamma-ray bursts, it is of singular importance to minimize ToO response and ToO preparation times in advance of an alert. At the same time it is necessary to have easy access to all relevant information in order to rapidly devise the most efficient observation strategy in the limited time available.

A successful ToO system has been developed, which allows to achieve this through automation of the time-critical processes: Alert, Information retrieval, and ToO preparation and activation.

The automated system has effected in a much improved response time. It decreases the minimum delay from alert to ToO-activation. This system also reduces the significant overhead time required for evaluating the ToO-feasibility for each alert, freeds up a lot of resources formerly used to consider, and rejects unsuitable alerts for follow-up.

It allows rapid GRB alert response and follow-up, with minimum delay from alert to ToO-activation, accessing to all relevant information and rejecting unsuitable alerts.


The authors thank J. Gorosabel, Jelínek, P. Kubánek, and A. de Ugarte Postigo for fruitful discussions. This work was supported by the Spanish Ministry of Science and Technology’s projects AYA 2004-01515 and AYA 2007-63677.


  1. R. W. Klebesadel, I. B. Strong, and R. A. Olson, “Observations of gamma-ray bursts of cosmic origin,” Astrophysical Journal Letters, vol. 182, pp. L85–L88, 1973. View at: Google Scholar
  2. R. W. Klebesadel and J. T. Bonnell, “A brief history of the discovery of cosmic gamma-ray bursts,” in Proceedings of the 3rd Huntsville Symposium on Gamma-Ray Bursts, vol. 384, pp. 977–980, Los Alamos, NM, USA, August 1996. View at: Google Scholar
  7. C. Winkler, T. J.-L. Courvoisier, G. Di Cocco et al., “The INTEGRAL mission,” Astronomy & Astrophysics, vol. 411, no. 1, pp. L1–L6, 2003. View at: Publisher Site | Google Scholar
  10. J. M. Castro Cerón, A. Castro-Tirado, J. Soldán et al., “Search for gamma ray burst quasi simultaneous optical emission with BOOTES-1,” in Proceedings of the 4th Reunión Científica de la Sociedad Española de Astronomía, pp. 37–40, Santiago de Compostela, Spain, September 2001. View at: Google Scholar
  11. B. L. Jensen, Rapid response analysis of GRB optical afterglows, Ph.D. thesis, Astronomical Observatory, NBIfAFG, University of Copenhagen, Copenhagen, Denmark.
  12. J. M. Castro-Cerón, A. J. Castro-Tirado, J. Soldán et al., “The BOOTES experiment as support to the Gran Telescopio Canarias (GTC) in the study of the high energy Universe,” in Proceedings of the Conference of Science with the GTC, Granada, Spain, February 2002. View at: Google Scholar
  14. A. J. Castro-Tirado, J. Soldán, M. Bernas et al., “The burst observer and optical transient exploring system (BOOTES),” Astronomy and Astrophysics Supplement Series, vol. 138, no. 3, pp. 583–585, 1999. View at: Publisher Site | Google Scholar
  15. T. J. Mateo-Sanguino, A. J. Castro-Tirado, A. de Ugarte Postigo et al., “Desarrollos técnicos en BOOTES-1 y BOOTES-2,” in Proocedings of the I Reunión Nacional de Astrofísica Robótica, Astrofísica Robótica en España, A. J. Castro-Tirado, B. A. de la Morena-Carretero, and J. Torres Riera, Eds., pp. 189–200, Huelva, Spain, May 2004. View at: Google Scholar
  16. A. J. Castro-Tirado, R. Cunniffe, A. de Ugarte Postigo et al., “BOOTES-IR: a robotic nIR astronomical observatory devoted to follow-up of transient phenomena,” in Ground-Based and Airborne Telescopes, L. M. Stepp, Ed., vol. 6267 of Proceedings of SPIE, Orlando, Fla, USA, May 2006. View at: Publisher Site | Google Scholar
  17. P. Kubanek, M. Jelinek, S. Vitek, A. de Ugarte Postigo, M. Nekola, and J. French, “RTS2: a powerful robotic observatory manager,” in Advanced Software and Control for Astronomy, H. Lewis and A. Bridger, Eds., vol. 6274 of Proceedings of SPIE, Orlando, Fla, USA, May 2006. View at: Publisher Site | Google Scholar

Copyright © 2010 Sebastián Castillo-Carrión and Alberto Javier Castro-Tirado. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

More related articles

1191 Views | 572 Downloads | 1 Citation
 PDF Download Citation Citation
 Download other formatsMore
 Order printed copiesOrder

Related articles

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.