Effects of energy chirp on bunch length measurement in linear accelerator beams. (17th July 2017)