Thank you for your reply Steve. I too suspected that maybe it might be data from just that single iteration that caused the problem. So I tried it for 10 simulated datasets and it produces errors for 5/10. Amazingly, scrambling did work for some datasets, but 2/10 still produced infinite likelihood errors. Hopefully someone else might have come across this problem and may have a solution. I have attached the data here just in case someone likes to play with datasets like these.
... View more