On some sites/batch systems, the pegasus.maxwalltime is getting translated to the batch system walltime, and due to the site configuration, a SIGKILL is issued. The result is that both the job and kickstart gets hard killed, and stdout/stderr get lost.
I suggest we use the existing TERM/KILL functionality in kickstart to kill the job gracefully, right before the walltime runs out.
Something like converting pegasus.maxwalltime to seconds, subtracting 300 (5 minutes), and then hardkill 60 seconds after that:
pegasus-kickstart -k [totalsecs-300] -K 60