For 3dMEMA to work, you need to provide both effect estimates as well as their t-statistic values. In your script, the effect estimate column is missing on the following lines:
1 1_coef+tlrc 1_tstat+tlrc \
2 2_coef+tlrc 2_tstat+tlrc \
4 4_coef+tlrc 4_tstat+tlrc \
Gang