This function computes the gradient of the log likelihood term with respect to beta.
marg_loglike_poisson_grad(beta, reported, Q, lnPmat)
spline parameter vector length num_params
An integer vector of reported cases.
spline basis matrix Tmod x num_params
matrix size Tobs x Tobs, log of make_likelihood_matrix
A numeric vector, gradient of log likelihood value with respect to beta.