script to read GALFIT output