Nonparametric maximum likelihood estimation for random effect