Hi-
This is another case where seeing the "afni_proc.py ..." command will be useful/necessary to help.
My guess is that the input file paths or names are not correct in the afni_proc.py command. That is the first "ERROR ..." message I see above. In particular, the script complains about not being able to find this file:
/mnt/d/MRIMS/84/AD/sub-01/func/sub-01_task-AD.nii
Can you check and see if that is really findable/correctly entered (and, for example, if the diskdrive hold it is really mounted at the time of running the command, since the path starts with "/mnt/...". You can do this by copy+pasting:
ls -l /mnt/d/MRIMS/84/AD/sub-01/func/sub-01_task-AD.nii
in the terminal, for example, and seeing if that gives an error.
--pt