Insert this at the beginning of your program...

Define OSCCAL_1K 1

See if this does the trick.

The calibration value is located at address $3FF (3FFh) and the above statement loads it (see PBP manual 2.5.1 on page 13).

I don't have ICprog, but find it strange that it causes you fail to program just because you've not loaded the Factory Calibration value which is pretty irrelevant at best.