So if you look at your first screen shot with the error message, it says “Unrecognized graphics format Venezuela”. When I copied your script from your most recent post it ran. So for whatever reasons the gmt begin command gets confused about the session name and the graphics formats. Please type
bash -xv venezuela_1.sh
and post the entire result.