|
Any ideas on why I can't create a .coo file from daofind or a .mag file from phot? I've copied over a uparm file and the proper login.cl. I've tried various ways of doing it, like straight from the Perl script and also by creating a task. It freezes so I have to hit Ctrl+c. When I do this the program is killed, but it creates the desired file as it logs out of IRAF. Here is my code:
$iraf->exec(command => "daofind $imagename output=\"$imagename.coo\" fwhmpsf=$fwhm sigma=$sigma thr
+eshold=5");
or
$iraf->load_task(name => "findstars",
task => "daofind $imagename output=\"$imagename.coo\" fwhmpsf=$fwhm sigma=$sigma threshold=5",
file =>; "findstars.cl",
parfile => 1);
$iraf->exec(command =>; "findstars");
Yes, I've tried using the timeout option for the first one, but it still doesn't create the desired file. When using phot, the format is similar and the results (or lack of them) are the same. Any help would be appreciated. Thanks. |