The likelihood for a state space model | Synapse