script to read Galfit output