4D-Var data assimilation using an adjoint model of a neural network surrogate model