Compute data likelihood for each iteration.