added processsing diagnostic output to zim_link_analysis.py