"create_catalog.sh": Added checking if file is regular.
"create_catalog.sh": Check if fits files are also readable. Changed from getting all information via dfits and imstats for all files at once to a for-loop over all files. This is slower but for many input files, dfits and imstats do not work.