outer LIN_GS residual does not match inner KSP residual - optimization dies after 1 iter, but all curves look correct