Make sure your input dataset is in the current directory. The error message means that the sub-brick selector was not valid for that dataset. The -session option applies only to the output dataset. Check the input dataset has the correct number of input sub-bricks with "3dinfo -verb ./scan1+orig".