Introduction
Ultra-High Energy Cosmic Rays (UHECRs) represent the most energetic particles in the known universe, yet identifying their precise astrophysical sources remains a significant challenge. Researchers typically rely on comparing experimental data from observatories, such as the Pierre Auger Observatory, with complex numerical simulations. However, traditional "forward-propagation" Monte Carlo simulations are computationally intensive. These methods track individual particles over megaparsec scales, where the Earth acts as a "tiny target," leading to substantial computational waste as most simulated trajectories never reach the observer. This bottleneck severely limits the ability to perform broad parameter scans across various source models and magnetic field configurations.
To address this, the PARSEC (Parametrized Simulation Engine for Cosmic rays) tool was developed. It is a high-performance engine that replaces individual particle tracking with efficient mathematical parametrizations, enabling rapid testing of thousands of astrophysical models.
Methodology: Probability-Based Parametrization
PARSEC shifts the simulation paradigm from discrete particle tracking to calculating the probability of observing a particle from a given direction and energy. The engine decomposes the detection probability into three primary components:
- Energy Loss ($f^E$): Models proton energy attenuation due to universal expansion and interactions with the Cosmic Microwave Background (CMB).
- Angular Scattering ($f^B$): Employs a Fisher distribution to simulate the blurring effect of turbulent extragalactic magnetic fields on source images.
- Particle Density ($f^S$): Accounts for source luminosity and the "magnetic trapping" effect, which can increase local particle density compared to straight-line propagation.
Galactic Magnetic Lensing
A key innovation in PARSEC is its treatment of the Milky Way's magnetic field. Instead of recalculating deflections for every run, PARSEC utilizes a pre-calculated, matrix-based "lens" approach. This allows for the instantaneous application of different Galactic Magnetic Field (GMF) models, such as Jansson-Farrar (JF) or BSS_S, to the extragalactic flux. This modularity means researchers can swap theories about local magnetic fields without re-running the entire extragalactic simulation.
Validation and Performance
The accuracy of PARSEC was validated by comparing its outputs against experimental data from the Pierre Auger Observatory and the HiRes experiment, as well as benchmarks from the industry-standard CRPropa code.
The engine demonstrates remarkable efficiency. A complex simulation involving 1,000 sources up to 1,000 Mpc away can be completed in approximately 1.8 hours on a standard consumer laptop. Furthermore, by treating distant, unresolved sources as an isotropic background, PARSEC achieves a 10x speedup with negligible error (less than 1%).
Conclusion and Future Directions
PARSEC provides a modular and accessible framework for UHECR research, significantly reducing the barrier to large-scale parameter studies. While currently optimized for protons, future iterations aim to incorporate more sophisticated treatments for heavier nuclei and secondary particle production, such as neutrinos and gamma rays. The decoupling of extragalactic propagation from Galactic lensing remains a cornerstone of its efficiency, allowing researchers to rapidly test new astrophysical hypotheses with minimal computational overhead.
Source Code: The PARSEC engine is available under the GNU General Public License at http://www.physik.rwth-aachen.de/parsec.
Summary updated