<font face="Verdana, Arial, Helvetica" size="2">Gregory Walsh updated #16634<br />
----------------------------<br />
<br />
AIPS message NOT TASK when running a procedure<br />
----------------------------------------------<br />
<br />
<div style="margin-left: 40px;">Ticket ID: 16634</div>
<div style="margin-left: 40px;">URL: <a href="https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/16634">https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/16634</a></div>
<div style="margin-left: 40px;">Name: Gregory Walsh</div>
<div style="margin-left: 40px;">Email address: <a href="mailto:gwalsh4758@gmail.com">gwalsh4758@gmail.com</a></div>
<div style="margin-left: 40px;">Creator: User</div>
<div style="margin-left: 40px;">Department: AIPS Data Reduction</div>
<div style="margin-left: 40px;">Staff (Owner): -- Unassigned --</div>
<div style="margin-left: 40px;">Type: Issue</div>
<div style="margin-left: 40px;">Status: Open</div>
<div style="margin-left: 40px;">Priority: Default</div>
<div style="margin-left: 40px;">SLA: NRAO E2E</div>
<div style="margin-left: 40px;">Template group: Default</div>
<div style="margin-left: 40px;">Created: 28 July 2020 02:02 PM</div>
<div style="margin-left: 40px;">Updated: 28 July 2020 02:02 PM</div>
<div style="margin-left: 40px;">Reply due: 30 July 2020 02:02 PM (2d 0h 0m)</div>
<div style="margin-left: 40px;">Resolution due: 24 April 2023 12:00 AM (999d 9h 58m)</div>
<br />
<br />

<p>Hello,</p>
<p>I have a data set in which we are performing phase referencing for multiple targets with two unique phase calibrators per target. I have written a procedure which (I believe) would run VLBAFRGP twice for each target, once per phase calibrator. The procedure is as follows:</p>
<p>PROC PH_REF</p>
<p>type '*-----------------------------------------------------------*<br />type TARGET(I) !! ' being worked on<br />type '*-----------------------------------------------------------*</p>
<p>default 'vlbafrgp'<br />inna PROCNAME; incl 'FQ-1'; inseq 1<br />calsour PHASECAL(2*I-1),''<br />sources PHASECAL(2*I-1),TARGET(I),''<br />gainuse=maxtab('cl')<br />refant ANTREF<br />search 9 4 1 3 5 6 7 8 10<br />solint= 2.0 <br />INTERPOL='SIMP'<br />vlbafrgp; wait</p>
<p>calsour PHASECAL(2*I),''<br />sources PHASECAL(2*I),TARGET(I),''<br />vlbafrgp; wait<br />FINISH</p>
<p>where PROCNAME, PHASECAL and TARGET have been declared and defined. </p>
<p>I put this in a for loop, e.g., for i=1 to x; ph_ref; end, where x is determined previously in my script, and it will run for the first iteration i=1 just fine. After it finishes running CLCAL AIPS force exits the for loop with the error message NOT TASK. I don't understand why this error comes about and any insight into this would be greatly appreciated!</p>
<p>Thank you,</p>
<p>Greg</p>

<br />
<HR style="margin-bottom: 6px; height: 1px; BORDER: none; color: #cfcfcf; background-color: #cfcfcf;" />
Staff CP:  <a href="https://help.nrao.edu/staff" target="_blank">https://help.nrao.edu/staff</a><br />
</font>