ss likelihood functions