An Application of the Likelihood Method to Change-Point Detection