Single model analysis code