improvements to hzg_analysis for dealing with errors