Statistical Challenges in the Photometric Calibration for 21st Century Cosmology: The J-PAS case