UnboundLocalError: local variable 'g_now_epoch' referenced before assign...

UnboundLocalError: local variable 'g_now_epoch' referenced before assignment

More info: http://glidemon.web.cern.ch/glidemon/show.php?log=http://vocms20.cern.ch/mon/cms1761/140306_110014_vocms20:jbalcas_crab_check_jbalcas2014_03_06_T2_AT_Vienna/job_out.1.0.txt