Error in creating wm_fod map

This is most likely a result of a poor mask – unfortunately dwi2mask is not nearly as robust as we would like. You have what looks like a pronounced bias field in your data, so I wouldn’t be surprised if that’s the source of the problem. Lots of discussion on this issue in this forum, e.g. this topic.