Updated indexing in log likelihood of test data