Clustering longitudinal data using the likelihood as a metric of