[2405.14932] Fast Inference Using Automatic Differentiation and Neural Transport in Astroparticle Physics