Assessing the accuracy of the Jastrow antisymmetrized geminal power in the H 4 model system