I found a way of finding out what happened to a job. The name of the utility is qacct. Is is a by dirty but with some grep juggling you can get what you need.
For instance to get information about the exit status, jobnumer and task for the last day in the cluster, run:
qacct -j -d 1 | egrep -i "exit_status|jobnumber|taskid"