REML and ML estimation for clustered grouped survival data