TF analysis script modified to skip less time if there is some corruption of a bag file.