Compute the log likelihood
get_loglik(x, fitted, sigma, N)
x
signal
fitted
fitted values
sigma
estimated standard deviation
N
length of x