small utility programs for BAO/PhotoZ catalog analysis