Welcome to iraf.net Friday, May 03 2024 @ 09:33 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Error using FITPARAMS
   
BorgChick
 04/02/2012 07:43PM (Read 4314 times)  
+----
Newbie

Status: offline


Registered: 10/12/2006
Posts: 13
Hi,I am trying to fit my transformation coefficients using fitparams and following the steps outlined in Massey & Davis 1992, "A Users Guide to Stellar CCD Photometry with IRAF." When I get to the step using FITPARAMS, I get the following error:"ERROR: bus error"I tried increasing my stacksize by entering"limit stacksize unlimited"since we are using tcsh. Is this right?Do you have any thoughts/ideas why this might be occurring? Thanks!

 
Profile Email
 Quote
fitz
 04/02/2012 07:43PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The stacksize limit applies only to linux systems, and if it were the problem, would affect all tasks (e.g. IMSTAT) equally. Otherwise, there are no open issues with the task and there's not enough information to comment specifically: a 'bus error' is sometimes a coding problem, but can also be caused by particular parameter setting or data values. What IRAF version and architecture is this? Can you upload sample data and parameters you used to the anonftp at ftp://iraf.noao.edu/pub so we can try to reproduce the problem?

 
Profile Email
 Quote
BorgChick
 04/02/2012 07:43PM  
+----
Newbie

Status: offline


Registered: 10/12/2006
Posts: 13
We are using a Mac OSX 10.6.8 with verson 2.15.1.a of IRAF. We will post things to the ftp site soon...Just a quick note: We are using PG0231 as our standard field, and therefore have 7 stars that we are using instead of 1, which is what the guide uses. We weren't sure if our work-around was causing a problem. Also, we used IDL to create a file that looked like Fig. 20 (file called 'standobs') because we did photometry in a different way than that described in the guide. Therefore, we can only really upload the files we used, not the actual data. However, we could potentially upload the individual fits images if you require them.

 
Profile Email
 Quote
BorgChick
 04/02/2012 07:43PM  
+----
Newbie

Status: offline


Registered: 10/12/2006
Posts: 13
We have uploaded our files to the /pub directory. They are as follows:fitparam.parameters = parameters used for FITPARAMS
standobs = lists field by star, filter, airmass, xcent, ycent, mag, merr
standstar = lists matched observations of stars
fstandobs.dat = format of standobs file (made to look like fig. 21 in the guide)
testnuro.cfg = made by running mkconfig

 
Profile Email
 Quote
fitz
 04/02/2012 07:43PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The good news is that with your data I was able to reproduce the problem under v2.15 and traced the problem to a pointer not being properly cast for 64-bit architectures. I fixed this and similar instances however there are some pretty strange data structures in PHOTCAL and I suspect there may be additional cases that still need fixing. Anyway, the patched binary can be found inftp://iraf.noao.edu/iraf/v215/support/macintel/x_photcal.eYou should download this and install in your $iraf/noao/bin.macintel directory.The bad news, however, is that this doesn't fix the problem. With the patched binary (and under v216, and under v215 with 32-bit binaries), I get the message "ERROR: No observations could be matched with the catalog entries". The testnuro.ans file contains several status codes indicating "Too few points" and lots of zero values that you should probably look at.I'm not too familiar with the package but I hope this gives you something to work with.

 
Profile Email
 Quote
BorgChick
 04/02/2012 07:43PM  
+----
Newbie

Status: offline


Registered: 10/12/2006
Posts: 13
Thanks! We will definitely look into this further and let you know what we find out. Thanks so much for your help!

 
Profile Email
 Quote
BorgChick
 04/02/2012 07:43PM  
+----
Newbie

Status: offline


Registered: 10/12/2006
Posts: 13
Hi! We were able to install the new binary, and discovered that we had a formatting error in our 'standobs' file. Once that was fixed, we also realized that the catalog name should have been 'onlandolt'. We ran FITPARAMS and got a reasonable output and when we hit 'q' to move onto the next filter, we got a 'BUS ERROR' message again. Frown Any thoughts? We will upload a new copy of our standobs file. Thanks!

 
Profile Email
 Quote
fitz
 04/02/2012 07:43PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Found the problem and updated the binary atftp://iraf.noao.edu/iraf/v215/support/macintel/x_photcal.eWith this I was able to get the task to exit normally. BTW, even without the fix the task ran normally under v2.16 but will be fixed in the next release as well.

 
Profile Email
 Quote
   
Content generated in: 0.21 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login