redoing log likelihood in fire detection