before attempting to run a BCS state, make sure the phi matrix is finite