for f in *.pbs; do
	checkf=${f%.*}-rankprob-patrankV4.fits
	if [ ! -e $checkf ]; then
		echo "missing output file: $checkf"
	fi
done
