PI writes 32b float images with values in the range 0.0 to 1.0, and by default the fits reader expects to find the same range in fits files that it opens.
what is the range in your CCDstack file? if you open PI and then click the "format explorer" tab on the left, then double-click "FITS", what does the "floating point out-of-range policy" pane show?
imho it's likely that the CCDstack file has values greater than 1.0...
rob