This is an error from bwa saying that it can't find your input files:
Here's a checklist:
Check that you have no whitespace after your \ newline breaks. I.e. \ is the very last character
Check that you have no whitespace in any path names
Quote your variables: $REF_PATH -> "$REF_PATH"
Use set -x at the top of your bash script to debug.