In the prolog, instead of piping stdout directly to the job output we need to preface it with the 'print' command as per https://slurm.schedmd.com/prolog_epilog.html. This is awkward but fine. However, we have a need to add statistics and feedback to the job output *after* the job is completed, and the epilog and/or task epilog seem to ignore the 'print' statements we've sent it.