run the spGLM model