diagnosing skysubtraction