Investigation of Josephson interferometer potentials by ac excitations