mmh, I just got the same error, but found the error of my ways ...
Because you are doing a 4 panel (or bigger) mosaic, you would first create the "Template" file, doing a SA with "Register/Union Mosaic, then again using SA, with the "Template" as a reference you do a "Register/Match Images", this will create the 4 registered images. These 4 new images are then processed with GMM.
I left out the "Register/Match Images" process and PI then complained about the differing sizes of each image.
Look up
John