I don't see any obvious problems with your script. What is your AFNI version?
afni -ver
Unrelated to the error message, the following line
-glfLabel 1 'GroupByTime' -glfCode 1 'group : 1*ctrl -1*pat cond : 1*v1 -1*v2' \
could be changed to
-gltLabel 9 'GroupByTime' -gltCode 9 'group : 1*ctrl -1*pat cond : 1*v1 -1*v2' \
Gang