Strange magnification pattern in the large separation lens SDSS J1004+4112 from optical to X-rays