[Paper Review] The MAGIC telescopes DAQ software and the on-the-fly online analysis client
This paper presents the upgraded MAGIC telescopes' Data Acquisition (DAQ) software and the on-the-fly online analysis client MOLA, which enables real-time high-level analysis of gamma-ray data by streaming pixel-wise signal information from independent DAQ systems to a centralized analysis program. The system achieves 600 Hz online analysis with no data loss, providing immediate feedback for rapid gamma-ray flares, as demonstrated during the IC 310 and Mrk 421 flares.
In this contribution we describe the design of the Data AcQuisition (DAQ) and online analysis software of the MAGIC telescopes after the 2012 upgrade. Although the final stereo trigger requires coincidence between the two telescopes, the actual data acquisition is performed independently, producing two separate data streams. Events are first readout and built from the front-end electronics and then stored in the DAQs' internal ring buffer for further processing: pre-calibration and signal extraction. The pixel signals, previously used only for data quality monitoring, are now also sent "on-the-fly" to the centralized online analysis program MOLA, which acts as a single client for the two DAQ data streams, and uses this information to provide preliminary high level analysis results. The integrated DAQ and online analysis programs allows an immediate feedback in case of a rapid gamma-ray flare of the pointed astrophysical source.
Motivation & Objective
- To enable real-time, high-level online analysis of Cherenkov telescope data following the 2012 MAGIC upgrade.
- To reduce latency in detecting transient gamma-ray flares by processing data on-the-fly without storing intermediate results.
- To integrate pixel-wise signal data (intensity and arrival time) from two independent DAQ systems into a unified online analysis pipeline.
- To maintain high data acquisition performance by prioritizing DAQ over online analysis, ensuring no performance degradation during high-rate data taking.
- To provide telescope operators with immediate feedback on source behavior via dynamic plots and diagnostic metrics during observations.
Proposed method
- The DAQ software, Domino4Readout, runs independently on two dedicated servers per telescope, handling data acquisition, event building, and pre-processing including pedestal offset regularization and time-lapse correction.
- Pixel-wise signal intensity and arrival time are extracted online and streamed via network to the MOLA client, which acts as a centralized analysis engine for both telescopes.
- MOLA processes events in real time using ring buffers to synchronize data from two independent DAQ streams, enabling stereo event matching via unique L3 trigger numbers.
- The system performs image cleaning, calculates shower direction using random forest methods, and computes key analysis metrics such as theta-squared plots and gamma-ray excess maps.
- Data transfer and analysis are prioritized to maintain DAQ throughput, with online analysis operating at up to 600 Hz without event loss.
- The pipeline supports two energy ranges (LE and HE), applying energy-dependent cuts and background suppression using the hadronness likelihood parameter.
Experimental results
Research questions
- RQ1How can real-time, high-level gamma-ray analysis be achieved without compromising data acquisition performance in stereoscopic Cherenkov telescopes?
- RQ2What is the maximum sustainable online analysis rate that can be achieved while maintaining full data acquisition throughput and no event loss?
- RQ3How effectively can on-the-fly pixel data from two independent DAQ systems be synchronized and combined for stereo event reconstruction?
- RQ4To what extent does the integration of pre-calibrated pixel data into online analysis improve the timeliness of transient source detection?
- RQ5What level of sensitivity can be achieved in real-time analysis for detecting weak or transient gamma-ray sources?
Key findings
- The system achieves a stable online analysis rate of 600 Hz, three times the typical stereo trigger rate, with no data loss during high-rate data acquisition.
- The sensitivity of the MOLA online analysis for the Crab Nebula was estimated at 1.4% of the Crab flux in 50 hours of observation, demonstrating high sensitivity in real time.
- The DAQ software maintains a data acquisition rate of 800 Hz with full pre-processing, including pedestal regularization and time-lapse correction, ensuring high data quality.
- The integration of pixel-wise data (intensity and arrival time) into MOLA enables immediate feedback on source behavior, as validated during the IC 310 and Mrk 421 flares.
- The use of a single MOLA client for two independent DAQ streams allows efficient stereo event matching via unique L3 trigger numbers, enabling accurate direction and core position reconstruction.
- Dynamic outputs such as theta-squared plots and excess sky maps are generated in real time, with background turning yellow when a >3σ excess is detected, enabling rapid source monitoring.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.