I am unclear whether your issues are solved or not.
I took a look at your uploaded light frame. This image has a width of 9600 and a height of 6422 pixels. In STF, I set the parameters to Shadows Clipping = 0.008 and Midtones Balance = 0.010. Then one realizes black borders at the left side (width 24 pixels) and at the lower side (height 34 pixels). In Image calibration, the rectangles are defined by the coordinates x, y of the upper left point, and width and height of the rectangle.
So image and target region are:
x = 24, y = 0, w = 9576, h = 6388
I tried the overscan calibration with two different Source region settings:
1. x = 24, y = 6388, w = 9576, h = 34 (i.e. the lower region)
2. x = 0, y = 0, w = 24, h = 6388 (i.e. the left region)
After overscan calibration, the image has a width of 9576 and a height of 6388 pixels since the black borders are cropped. It made no difference which Source region was used for the overscan calibration, the statisitcs of the calibrated images were almost identical.
However, in the FITS headers of the calibrated images, the rectangles used by Overscan calibration are defined differently: by the upper left and the lower right point coordinates:
Image and target region:
x1 = 24, y1 = 0, x2 = 9600, y2 = 6388
Source region:
1. x1 = 24, y1 = 6388, x2 = 9600, y2 = 6422
2. x1 = 0, y1 = 0, x2 = 24, y2 = 6388
This might have been somewhat confusing.
Bernd