Corrected some errors in the script parameters and modified to use the recently released astrom_mag_check.py

 Also, I don't like getting meaningless error messages so I put -p into the mkdir commands.