Fixed photo rate calculations with derivs