I am using AstroPhot to obtain a cutout of an image and use it's segmentation map to fit the different objects in the image. However, as I am trying to do this and initialize the group model, I get the following error when I try to increase the cutout size past (600,600):
ValueError: zero-size array to reduction operation minimum which has no identity
Also, when it can handle that cutout size, this error pops up when I try to fit the model:
InvalidParameter: q has lower limit 0.0
Thank you in advance.