Panorama is using INT_MAX, defined by Apple in limits.h. Apparently this is a 32 bit value, I think Panorama should be using LONG_MAX, which I think is the correct 64 bit value.
I think that the Maximum command will not work if all values are more negative than -INT_MAX.
This also affects the aggregate( function.
Search for INT_MAX to find the two places in the code affected by this.