Sort the response data set NEWSITES in order of the BY variable.
The data must be in sorted order before running the GMAP procedure with BY-group processing.
proc sort data=newsites; by region; run;