Is there any way to reduce the dimensions of the mgdraw.f output file?

Dear FLUKA experts,
I am trying to record the features (energy, position and inclination) of the neutron and photon secondary emission from a cylindrical target, using a primary beam of carbon ions. I need to use the mgdraw.f user routine in order to use its output data as input to the user routine source_newgen.f.

The problem is that the output file of mgdraw.f takes all my computer available memory (400GB) just for 500.000 primary particles (very low for my purposes), within few hours.
Is there any way to reduce the dimensions of the mgdraw.f output file? And so, is there any solution alternative to reducing the number of primary particles and making a high number of simulations to get good statistics?
I leave in the attachment the flair, input and fortran files I am currently using for my task.
Thanks in advance.

Best regards,
AM

Ph_n_extraction_MGD.f (14.9 KB)
Ph_n_extraction_MGD.flair (3.3 KB)
Ph_n_extraction_MGD.inp (3.0 KB)

Dear Andrea,

the huge output is generated by the default output of the mgdraw.f user routine. If you are not interested in those, and only want to use the BXDRAW entry, they can be simply deleted, as I did in the routine below.

Ph_n_extraction_MGD.f (10.0 KB)

Cheers,
David

Thank you so much, David, you saved me.

Best regards,
Andrea