Analytical MBPT(4) gradients