AIPS version = /home/auto/aips/31DEC07/LINUX/SYSTEM/VLA_PIPE/aips Prep version = Oct 14 2009 /home/vlbacald-c/vlbacald/bin/AVLAPREP.001 ------------- Pops Prior Date Time Task Messages for user25138 1 0 14-JUN-2010 13:48:43 AIPS version'ABIN' 1 0 14-JUN-2010 13:48:43 AIPS run avlaprep 1 2 14-JUN-2010 13:48:43 AIPS Found in Version=ABIN 1 2 14-JUN-2010 13:48:43 AIPS $ Lorant Sjouwerman, versions 1.. 2005, for NRAO 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS $$ General naming utilities - default to data disk 1 (safest of all) 1 2 14-JUN-2010 13:48:43 AIPS procedure pipedef1 1 2 14-JUN-2010 13:48:43 AIPS string*12 pnam 1 2 14-JUN-2010 13:48:43 AIPS string*6 pcls 1 2 14-JUN-2010 13:48:43 AIPS scalar pseq,pdsk 1 2 14-JUN-2010 13:48:43 AIPS pdsk=1 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS pipedef1 1 2 14-JUN-2010 13:48:43 AIPS procedure namepipe 1 2 14-JUN-2010 13:48:43 AIPS pnam=inname;pcls=inclass;pseq=inseq;indisk=pdsk 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS procedure pipename 1 2 14-JUN-2010 13:48:43 AIPS inname=pnam;inclass=pcls;inseq=pseq;indisk=pdsk 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure checkcat 1 2 14-JUN-2010 13:48:43 AIPS $LOS - count and make sure catalog starts at one (and not more than 10 files) 1 2 14-JUN-2010 13:48:43 AIPS scalar numcat 1 2 14-JUN-2010 13:48:43 AIPS clrname;indisk=pdsk;chkname;numcat=1-error 1 2 14-JUN-2010 13:48:43 AIPS $ for later: find out how to deal with CH0/LINE data in MOVE 1 2 14-JUN-2010 13:48:43 AIPS if(numcat>0)then;recat;end;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS return numcat 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure gx 1 2 14-JUN-2010 13:48:43 AIPS $ inputs 1 2 14-JUN-2010 13:48:43 AIPS go;wait 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure pre_fillm 1 2 14-JUN-2010 13:48:43 AIPS $LOS - sets VLA archive defaults for fillm 1 2 14-JUN-2010 13:48:43 AIPS default fillm;outdisk=pdsk;doall=1;douvcomp=-1;cparm(8)=0.05;bparm(10)=0.75 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure fname 1 2 14-JUN-2010 13:48:43 AIPS return inname!!'.'!!inclass!!'.'!!char(inseq) 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure shortname 1 2 14-JUN-2010 13:48:43 AIPS scalar idx,nsrc,ll,ii,spc 1 2 14-JUN-2010 13:48:43 AIPS string*12 newstrng 1 2 14-JUN-2010 13:48:43 AIPS keyword'NUM ROW';inext'SU';getthead;nsrc=keyvalue(1);keyword'';keyvalue 0 1 2 14-JUN-2010 13:48:43 AIPS for idx=1:nsrc;pixxy=idx,2,1;tabget;ll=length(keystrng);newstrng'' 1 2 14-JUN-2010 13:48:43 AIPS if(ll>12)then;spc=0;ll=1 1 2 14-JUN-2010 13:48:43 AIPS while(spc=0&ll<17);substr(newstrng,ll,ll)=substr(keystrng,ll,ll) 1 2 14-JUN-2010 13:48:43 AIPS if(substr(keystrng,ll,ll+1)=' ')then 1 2 14-JUN-2010 13:48:43 AIPS if(spc=0)then;spc=1;substr(newstrng,ll,ll)='@';end 1 2 14-JUN-2010 13:48:43 AIPS end;ll=ll+1;clrtemp;end;ii=ll 1 2 14-JUN-2010 13:48:43 AIPS while(ll<17) 1 2 14-JUN-2010 13:48:43 AIPS if(substr(keystrng,ll,ll)<>' ')then 1 2 14-JUN-2010 13:48:43 AIPS substr(newstrng,ii,ii)=substr(keystrng,ll,ll);ii=ii+1 1 2 14-JUN-2010 13:48:43 AIPS end;ll=ll+1;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS end;ll=length(newstrng);nsrc=min(12,ll) $ for safety during tests 1 2 14-JUN-2010 13:48:43 AIPS if(ll>12)then;keystrng=newstrng;ll=ll+1;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS for ii=1:nsrc;substr(newstrng,ii,ii)=substr(keystrng,ll-ii,ll-ii);end 1 2 14-JUN-2010 13:48:43 AIPS end;task'TABED';clroname;inext'SU';optype'REPL';keyword'';keyvalue 0 1 2 14-JUN-2010 13:48:43 AIPS aparm 2 1;bcount=idx;ecount=idx;keystrng=newstrng;go;wait;end;end;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure del 1 2 14-JUN-2010 13:48:43 AIPS error=1;zap 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure numants 1 2 14-JUN-2010 13:48:43 AIPS scalar numarow,numbout,numbant,numbase,idx;string*16 nameant 1 2 14-JUN-2010 13:48:43 AIPS numbout=0;keyword'NUM ROW';inext'AN';invers=0;getthead;numarow=keyvalue(1) 1 2 14-JUN-2010 13:48:43 AIPS for numbant=1:numarow 1 2 14-JUN-2010 13:48:43 AIPS pixxy=numbant,1,0;tabget;nameant=keystrng;idx=1;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS while(substr(nameant,idx,idx)<>':');idx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(substr(nameant,idx+1,idx+3)='OUT')then;numbout=numbout+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(substr(nameant,idx+2,idx+4)='OUT')then;numbout=numbout+1;end 1 2 14-JUN-2010 13:48:43 AIPS end;numbase=(numarow-numbout);clrtemp 1 2 14-JUN-2010 13:48:43 AIPS $ type char(numarow-numbout)!!' ANTENNAS',char(numbase)!!' BASELINES' 1 2 14-JUN-2010 13:48:43 AIPS return numbase 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure skipdata 1 2 14-JUN-2010 13:48:43 AIPS $LOS - delete unwanted data sets - currently all but continuum X and C bands 1 2 14-JUN-2010 13:48:43 AIPS $ if(inclass='LINE')then;del;inclass'CH 0';del;type'ZAP LINE :'fname;end 1 2 14-JUN-2010 13:48:43 AIPS if((inclass='CH 0')!(inclass='LINE'))then;del;type'ZAP LINE :'fname;end 1 2 14-JUN-2010 13:48:43 AIPS if(inclass='4 BAND')then;del;type'ZAP 4-BAND :'fname;end 1 2 14-JUN-2010 13:48:43 AIPS if(inclass='P BAND')then;del;type'ZAP P-BAND :'fname;end 1 2 14-JUN-2010 13:48:43 AIPS $ if(inclass='L BAND')then;del;type'ZAP L-BAND :'fname;end 1 2 14-JUN-2010 13:48:43 AIPS $ if(inclass='U BAND')then;del;type'ZAP U-BAND :'fname;end 1 2 14-JUN-2010 13:48:43 AIPS $ if(inclass='K BAND')then;del;type'ZAP K-BAND :'fname;end 1 2 14-JUN-2010 13:48:43 AIPS $ if(inclass='Q BAND')then;del;type'ZAP Q-BAND :'fname;end;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS if(error<1)then $ file not zapped, check for single dish vlbi; #vis=0 1 2 14-JUN-2010 13:48:43 AIPS task'TABGET';userid 0;inext'NX';invers=0;keyvalue=0;keystrng'' 1 2 14-JUN-2010 13:48:43 AIPS keyword'NUM ROW';getthead;pixxy=keyvalue(1),6,0;tabget;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS if(keyvalue(1)=0)then;del;type'ZAP S-DISH :'fname;end 1 2 14-JUN-2010 13:48:43 AIPS if(error<1)then;idx=numants $ file not zapped, check for # ants (<9) 1 2 14-JUN-2010 13:48:43 AIPS if(idx<9)then;del;type'ZAP MINI-ARRAY ('!!char(idx)!!') :'!!fname 1 2 14-JUN-2010 13:48:43 AIPS end;clrtemp;end;end 1 2 14-JUN-2010 13:48:43 AIPS $also zap if solar/planetary/pulsar mode - su table proper motion?? 1 2 14-JUN-2010 13:48:43 AIPS $ and what about PT-link? antenna VPT is not OUT, later also EVLA names 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure checkids 1 2 14-JUN-2010 13:48:43 AIPS $LOS - account for fast switching source names - check on pos, qual, calco 1 2 14-JUN-2010 13:48:43 AIPS scalar ra1a,ra1b,ra2a,ra2b,dc1a,dc1b,dc2a,dc2b,n,m,l,idx 1 2 14-JUN-2010 13:48:43 AIPS scalar q1,q2,k,x,y1,y2 1 2 14-JUN-2010 13:48:43 AIPS string*1 co1,co2 1 2 14-JUN-2010 13:48:43 AIPS string*16 n1,n2 1 2 14-JUN-2010 13:48:43 AIPS array alist(100),blist(100) 1 2 14-JUN-2010 13:48:43 AIPS inext'SU';invers 0;keyword'NUM ROW';keyvalue 0;keystrng'';getthead 1 2 14-JUN-2010 13:48:43 AIPS n=keyvalue(1);idx=1;aparm 0;bparm 0;alist 0;blist 0 1 2 14-JUN-2010 13:48:43 AIPS if (n > 1) then 1 2 14-JUN-2010 13:48:43 AIPS for m=1:(n-1);clrtemp 1 2 14-JUN-2010 13:48:43 AIPS pixxy m,11;inext'SU';tabget;ra1a keyvalue(1);ra1b keyvalue(2) 1 2 14-JUN-2010 13:48:43 AIPS for l=(m+1):n;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS pixxy l,11;tabget;ra2a keyvalue(1);ra2b keyvalue(2) 1 2 14-JUN-2010 13:48:43 AIPS if (abs(ra1a-ra2a)=0) then 1 2 14-JUN-2010 13:48:43 AIPS if ( abs((ra1b-ra2b)*3600*1000) < 3 ) then $ RA within 3 mas! 1 2 14-JUN-2010 13:48:43 AIPS pixxy m,12;tabget;dc1a keyvalue(1);dc1b keyvalue(2) 1 2 14-JUN-2010 13:48:43 AIPS pixxy l,12;tabget;dc2a keyvalue(1);dc2b keyvalue(2) 1 2 14-JUN-2010 13:48:43 AIPS if (abs(dc1a-dc2a)=0) then 1 2 14-JUN-2010 13:48:43 AIPS if ( abs((dc1b-dc2b)*3600*1000) < 3 ) then $ DC within 3 mas! 1 2 14-JUN-2010 13:48:43 AIPS pixxy m,3;tabget;q1 keyvalue(1);pixxy l,3;tabget;q2 keyvalue(1) 1 2 14-JUN-2010 13:48:43 AIPS $if one has zero vis then next checks not needed and declare/fix same source 1 2 14-JUN-2010 13:48:43 AIPS inext'NX';keyword'NUM ROW';getthead;k=keyvalue(1);y1=0;y2=0 1 2 14-JUN-2010 13:48:43 AIPS for x=1:k;pixxy x,3;tabget 1 2 14-JUN-2010 13:48:43 AIPS if(keyval(1)=m)then;y1=y1+1;else; 1 2 14-JUN-2010 13:48:43 AIPS if(keyval(1)=l)then;y2=y2+1;end;end 1 2 14-JUN-2010 13:48:43 AIPS end $ if ((y1=0)!(y2=0)) then one has 0 visibilities: do dsorc 1 2 14-JUN-2010 13:48:43 AIPS if (q1=q2)!((y1=0)!(y2=0)) then ;inext'SU' $ same calcode? 1 2 14-JUN-2010 13:48:43 AIPS pixxy m,4;tabget;co1 keystrng;pixxy l,4;tabget;co2 keystrng 1 2 14-JUN-2010 13:48:43 AIPS if (co1=co2)!((y1=0)!(y2=0)) then 1 2 14-JUN-2010 13:48:43 AIPS pixxy m,1;tabget;q1 keyvalue(1) 1 2 14-JUN-2010 13:48:43 AIPS pixxy l,1;tabget;q2 keyvalue(1) 1 2 14-JUN-2010 13:48:43 AIPS pixxy m,2;tabget;n1 keystrng;pixxy l,2;tabget;n2 keystrng 1 2 14-JUN-2010 13:48:43 AIPS if (idx>100) then; 1 2 14-JUN-2010 13:48:43 AIPS type 'TOO MANY SOURCES TO DO DSORC - DO BY HAND!' 1 2 14-JUN-2010 13:48:43 AIPS type 'NEXT =.'!!char(idx)!!' DO:'!!char(l)!!'.&.'!!char(m) 1 2 14-JUN-2010 13:48:43 AIPS else 1 2 14-JUN-2010 13:48:43 AIPS if (length(n1)1) then;task'DSORC';n=0 1 2 14-JUN-2010 13:48:43 AIPS outname inname;outclass inclass;outseq inseq;outdisk indisk 1 2 14-JUN-2010 13:48:43 AIPS while (n100)then;type'TOO MANY SOURCES FOR DSORC';error 1;end;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS end 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure checkcal 1 2 14-JUN-2010 13:48:43 AIPS $LOS Currently (Sep 22, 2005) can/will do 3C286 and 3C48 at X and C 1 2 14-JUN-2010 13:48:43 AIPS $LOS (and for now skip 3C286/3C48/3C138/3C147 Q,K,U and 3C48 L) 1 2 14-JUN-2010 13:48:43 AIPS scalar idx,jdx 1 2 14-JUN-2010 13:48:43 AIPS string*16 sname 1 2 14-JUN-2010 13:48:43 AIPS task'TABGET';userid 0;inext'SU';invers=0;keyvalue=0;keystrng'';error=1 1 2 14-JUN-2010 13:48:43 AIPS keyword'NUM ROW';getthead;idx=keyvalue(1);clrtemp 1 2 14-JUN-2010 13:48:43 AIPS for jdx=1:idx 1 2 14-JUN-2010 13:48:43 AIPS pixxy=jdx,2,0;tabget;sname=substr(keystrng,1,length(keystrng)) 1 2 14-JUN-2010 13:48:43 AIPS if(sname='3C286')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='3C48')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='3C138')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='3C147')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='3C295')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(error>0)then $ try B1950 name 1 2 14-JUN-2010 13:48:43 AIPS if(sname='1328+307')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='0134+329')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='0518+165')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='0538+498')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='1409+524')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(error>0)then $ try J2000 1 2 14-JUN-2010 13:48:43 AIPS if(sname='1331+305')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='0137+331')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='0521+166')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='0542+498')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='1411+522')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(error>0)then $ try J2000 name 1 2 14-JUN-2010 13:48:43 AIPS if(sname='J1331+3030')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='J0137+3309')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='J0521+1638')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='J0542+4951')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS if(sname='J1411+5212')then;error=-1;jdx=idx+1;end 1 2 14-JUN-2010 13:48:43 AIPS end;end;end;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS end 1 2 14-JUN-2010 13:48:43 AIPS $ if error>0 check on coords (for different name than standard) 1 2 14-JUN-2010 13:48:43 AIPS $ but keyval not reliable to do this.. ?? 1 2 14-JUN-2010 13:48:43 AIPS $ end 1 2 14-JUN-2010 13:48:43 AIPS if(error>0)then;del;type'ZAP - NO STD CAL SRC FOR :'fname;error=1 1 2 14-JUN-2010 13:48:43 AIPS else;checkids;error=-1;end;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure j2000fix 1 2 14-JUN-2010 13:48:43 AIPS $LOS - convert data to J2000 by default use of uvfix 1 2 14-JUN-2010 13:48:43 AIPS task'UVFIX';outname=inname;outclass=inclass;outseq=inseq;outdisk=indisk 1 2 14-JUN-2010 13:48:43 AIPS shift=0;uvfixprm=0;tput uvfix;outclass'PREFIX';rename;default tabget 1 2 14-JUN-2010 13:48:43 AIPS tget uvfix;task'TABGET';inclass'PREFIX';inext'SU';pixxy 1,13,1;tabget 1 2 14-JUN-2010 13:48:43 AIPS if (keyvalue(1)<1) then; tput tabget;default tabed;tget tabget 1 2 14-JUN-2010 13:48:43 AIPS task'TABED';optype'REPL';aparm 13,0,0,2;keyvalue 1950.0 0;gx;end 1 2 14-JUN-2010 13:48:43 AIPS tget uvfix;inclass'PREFIX';gx;zap;inclass=outclass;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure addcalco 1 2 14-JUN-2010 13:48:43 AIPS $LOS - check for a calcode and add them if non-existent 1 2 14-JUN-2010 13:48:43 AIPS scalar maxcat,maxrow,hasacode,m2d,fnd,ii,jj,kk 1 2 14-JUN-2010 13:48:43 AIPS task'TABGET';inext'SU';keyword'NUM ROW';getthead 1 2 14-JUN-2010 13:48:43 AIPS maxrow=keyvalue(1);hasacode=0;jj=0 1 2 14-JUN-2010 13:48:43 AIPS while((jj' ')then;hasacode=1;end;end;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS if(hasacode=0)then;fnd=0;type 'SEARCHING SOURCES TO ADD CALIBRATOR CODES' 1 2 14-JUN-2010 13:48:43 AIPS $ go through SU and check against calibrator list 1 2 14-JUN-2010 13:48:43 AIPS $ maybe do this anyway for all sources and not skip if one (above) found 1 2 14-JUN-2010 13:48:43 AIPS for jj=1:maxrow;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS pixxy=jj,2;tabget;error=0;syscom'grep -i 1 2 14-JUN-2010 13:48:43 AIPS if(keystrng='J0137+3309')then;keystrng'0137+331';end 1 2 14-JUN-2010 13:48:43 AIPS if(keystrng='J0521+1638')then;keystrng'0521+166';end 1 2 14-JUN-2010 13:48:43 AIPS if(keystrng='J0542+4951')then;keystrng'0542+498';end 1 2 14-JUN-2010 13:48:43 AIPS if(keystrng='J1331+3030')then;keystrng'1331+305';end 1 2 14-JUN-2010 13:48:43 AIPS if(keystrng='J1411+5212')then;keystrng'1411+522';end 1 2 14-JUN-2010 13:48:43 AIPS if((substr(keystrng,1,1)='J')&(substr(keystrng,2,2)<>'U'))then 1 2 14-JUN-2010 13:48:43 AIPS m2d=floor(value(substr(keystrng,9,10))/6);keystrng=substr(keystrng,2,8) 1 2 14-JUN-2010 13:48:43 AIPS sys2com(1)'X'!!keystrng!!char(m2d);else;sys2com(1)'X'!!keystrng 1 2 14-JUN-2010 13:48:43 AIPS end;clrtemp;kk=1;ii=length(keystrng) $ safeguard against spaces in name 1 2 14-JUN-2010 13:48:43 AIPS while((kk<=ii)&(substr(keystrng,kk,kk)<>''));kk=kk+1;end;m2d=kk+1;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS if(m2d>1)then;for kk=m2d:ii;substr(keystrng,kk,kk)=' ';end;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS sys2com(2)'X'!!'/users/lsjouwer/calvlaobs/csource.mas 1 2 14-JUN-2010 13:48:43 AIPS keyvalue=0;substr(sys2com(1),1,1)'';substr(sys2com(2),1,1)'';clrtemp 1 2 14-JUN-2010 13:48:43 AIPS system;keystrng'Y';if(error=-1)then;fnd=fnd+1;pixxy=jj,4;tabput;end;end 1 2 14-JUN-2010 13:48:43 AIPS if(fnd>0)then;type char(fnd)!!' CALCODES ADDED' $ ZAP if no code found 1 2 14-JUN-2010 13:48:43 AIPS else;type'ERROR: PIPELINE WILL FAIL TO COMPLETE (NO CALS)';zap;end;end;end 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure datachks 1 2 14-JUN-2010 13:48:43 AIPS $LOS - delete unwanted data sets, check for standard calibrators and make J2000 1 2 14-JUN-2010 13:48:43 AIPS if(error<1)then $ file exists 1 2 14-JUN-2010 13:48:43 AIPS skipdata;if(error<1)then $ file was not zapped 1 2 14-JUN-2010 13:48:43 AIPS checkcal;if(error<1)then $ file has standard calibrator in it 1 2 14-JUN-2010 13:48:43 AIPS addcalco 1 2 14-JUN-2010 13:48:43 AIPS shortname 1 2 14-JUN-2010 13:48:43 AIPS j2000fix 1 2 14-JUN-2010 13:48:43 AIPS end;end;end;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure freqchks 1 2 14-JUN-2010 13:48:43 AIPS $LOS - split up in frequency IDs, run INDXR, and remove 1 2 14-JUN-2010 13:48:43 AIPS scalar rows, nfrq 1 2 14-JUN-2010 13:48:43 AIPS if(error<1)then $ file exists 1 2 14-JUN-2010 13:48:43 AIPS inext'FQ';invers=1;keyword='NUM ROW';getthead;nfrq=keyvalue(1) 1 2 14-JUN-2010 13:48:43 AIPS if (nfrq > 1) then 1 2 14-JUN-2010 13:48:43 AIPS if (nfrq > 9) then;type' WARNING! MORE THAN 9 FREQUENCY ID-S!';end 1 2 14-JUN-2010 13:48:43 AIPS tput getthead;default'UVCOP';tget getthead;keyword='';task'UVCOP';tput 1 2 14-JUN-2010 13:48:43 AIPS for rows=1:nfrq 1 2 14-JUN-2010 13:48:43 AIPS pixxy=rows,1,1;inver=1;inext='FQ';tabget;tget;freqid=keyvalue(1) 1 2 14-JUN-2010 13:48:43 AIPS outclass=substr(inclass,1,1)!!substr(inclass,3,6)!!char(freqid) 1 2 14-JUN-2010 13:48:43 AIPS type'COPYING FREQUENCY ID #'!!char(freqid);gx 1 2 14-JUN-2010 13:48:43 AIPS default'INDXR';tget uvcop;task'INDXR';inclass outclass;gx;task'DQUAL' 1 2 14-JUN-2010 13:48:43 AIPS $out not in! ** outname=inname;outclass=inclass;outseq=inseq;outdisk=indisk;gx 1 2 14-JUN-2010 13:48:43 AIPS tget uvcop;freqid=1;clrtemp 1 2 14-JUN-2010 13:48:43 AIPS end;end;end;if(nfrq>1)then;type fname!!' SPLIT IN :'!!char(nfrq);zap;end 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure pre_move 1 2 14-JUN-2010 13:48:43 AIPS $LOS - moves file to another AIPS user number 1 2 14-JUN-2010 13:48:43 AIPS default move;indisk=pdsk;outseq=-1;opcode'MOVE';clrtemp 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS 1 2 14-JUN-2010 13:48:43 AIPS procedure expid 1 2 14-JUN-2010 13:48:43 AIPS string*20 expnm 1 2 14-JUN-2010 13:48:43 AIPS string*75 expmsg 1 2 14-JUN-2010 13:48:43 AIPS return expnm 1 2 14-JUN-2010 13:48:43 AIPS finish 1 2 14-JUN-2010 13:48:43 AIPS type expid 1 5 14-JUN-2010 13:48:43 AIPS ' ' 1 0 14-JUN-2010 13:48:43 AIPS compress 1 0 14-JUN-2010 13:48:43 AIPS type'EMPTY CATALOG ?' checkcat 1 5 14-JUN-2010 13:48:43 AIPS 'EMPTY CATALOG ?' 0 1 0 14-JUN-2010 13:48:43 AIPS default prtmsg;outprint'ARUN:'!!'AD0506_2005FEB13_1.fill.log 1 0 14-JUN-2010 13:48:43 AIPS docrt=-3;prnumber=-1;tput prtmsg;docrt 1 1 0 14-JUN-2010 13:48:43 AIPS pre_fillm 1 0 14-JUN-2010 13:48:43 AIPS infile'AVIS:AD0506_2005FEB13_1_' 1 0 14-JUN-2010 13:48:43 AIPS ncount 1;vlaobs 'AD506';cparm(6) 1 1 0 14-JUN-2010 13:48:43 AIPS gx 1 5 14-JUN-2010 13:48:43 FILLM Task FILLM (release of 31DEC07) begins 1 4 14-JUN-2010 13:48:43 FILLM Shadow flag limit = 2.500E+01 meters. 1 3 14-JUN-2010 13:48:43 FILLM Opacity correction in CL table weighted average of weather and 1 3 14-JUN-2010 13:48:43 FILLM season. Weight for weather = 0.50 1 3 14-JUN-2010 13:48:43 FILLM Gain curve correction in CL table read from file, 1 3 14-JUN-2010 13:48:43 FILLM with variation as function of antenna and band. 1 3 14-JUN-2010 13:48:43 FILLM Opening AVIS:AD0506_2005FEB13_1_1 1 2 14-JUN-2010 13:48:43 FILLM 1 2 14-JUN-2010 13:48:43 FILLM *** ATTENTION - default: loading subarray 1 *** 1 2 14-JUN-2010 13:48:43 FILLM 1 5 14-JUN-2010 13:48:43 FILLM tape file # 1, start date/time = 20050213/05:10:30 1 5 14-JUN-2010 13:48:43 FILLM MCINI: Processing Correlator Code ' ' with 25 antennas. 1 3 14-JUN-2010 13:48:43 FILLM MCINI - Continuum, 2 compatible IFs 1 3 14-JUN-2010 13:48:43 FILLM Program = AD506 ; Tape revision number = 26. 1 2 14-JUN-2010 13:48:43 FILLM Create 20050213 .L BAND. 1 (UV) on disk 1 cno 1 1 4 14-JUN-2010 13:48:43 FILLM Ref. date = 20050213 A-C = 1.464900 B-D = 1.385100 GHz 1 6 14-JUN-2010 13:48:43 FILLM FLMFQ: FQ entry tolerance = 1.000E+02 1.000E+02 1 4 14-JUN-2010 13:48:43 FILLM Found 1331+305 : 0 50.000 MHz at IAT 0/ 05:10:30.0 1 3 14-JUN-2010 13:48:43 FILLM Zenith opacity set to 0.010 1 3 14-JUN-2010 13:48:43 FILLM Trying to access VLA antenna gains file... 1 2 14-JUN-2010 13:48:43 FILLM ZTXOP2: using translated file name = 1 2 14-JUN-2010 13:48:43 FILLM ZTXOP2: /home/auto/aips/TEXT/IONS/VLA.GAINS 1 2 14-JUN-2010 13:48:43 AIPS Resumes 1 4 14-JUN-2010 13:48:43 FILLM Found 0417-1814 : 0 50.000 MHz at IAT 0/ 05:21:30.0 1 4 14-JUN-2010 13:48:44 FILLM Found 0430-1454 : 0 50.000 MHz at IAT 0/ 05:30:30.0 1 4 14-JUN-2010 13:48:44 FILLM Found 0444-2051 : 0 50.000 MHz at IAT 0/ 05:40:10.0 1 4 14-JUN-2010 13:48:44 FILLM Found 0416-188 : 0 50.000 MHz at IAT 0/ 05:49:40.0 1 4 14-JUN-2010 13:48:44 FILLM Found 0514-2433 : 0 50.000 MHz at IAT 0/ 05:54:10.0 1 4 14-JUN-2010 13:48:44 FILLM Found 0507-1822 : 0 50.000 MHz at IAT 0/ 06:03:40.0 1 4 14-JUN-2010 13:48:47 FILLM Found 0615-2054 : 0 50.000 MHz at IAT 0/ 06:13:20.0 1 4 14-JUN-2010 13:48:47 FILLM Found 0618-1949 : 0 50.000 MHz at IAT 0/ 06:20:50.0 1 4 14-JUN-2010 13:48:47 FILLM Found 0609-157 : 0 50.000 MHz at IAT 0/ 06:32:20.0 1 4 14-JUN-2010 13:48:47 FILLM Found 0932-1925 : 0 50.000 MHz at IAT 0/ 06:37:50.0 1 4 14-JUN-2010 13:48:47 FILLM Found 0930-2050 : 0 50.000 MHz at IAT 0/ 06:47:20.0 1 4 14-JUN-2010 13:48:47 FILLM Found 0931-1919 : 0 50.000 MHz at IAT 0/ 06:56:40.0 1 4 14-JUN-2010 13:48:47 FILLM Found 0946-2451 : 0 50.000 MHz at IAT 0/ 07:06:10.0 1 4 14-JUN-2010 13:48:48 FILLM Found 0943-083 : 0 50.000 MHz at IAT 0/ 07:16:20.0 1 4 14-JUN-2010 13:48:48 FILLM Found 0955-1836 : 0 50.000 MHz at IAT 0/ 07:21:20.0 1 4 14-JUN-2010 13:48:48 FILLM Found 0956-2237 : 0 50.000 MHz at IAT 0/ 07:30:40.0 1 4 14-JUN-2010 13:48:48 FILLM Found 0958-1406 : 0 50.000 MHz at IAT 0/ 07:40:20.0 1 4 14-JUN-2010 13:48:48 FILLM Found 1013-1856 : 0 50.000 MHz at IAT 0/ 07:50:00.0 1 4 14-JUN-2010 13:48:48 FILLM Found 1057-245 : 0 50.000 MHz at IAT 0/ 07:59:40.0 1 4 14-JUN-2010 13:48:48 FILLM Found 1101-1455 : 0 50.000 MHz at IAT 0/ 08:04:20.0 1 4 14-JUN-2010 13:48:48 FILLM Found 1112-2150 : 0 50.000 MHz at IAT 0/ 08:14:10.0 1 4 14-JUN-2010 13:48:49 FILLM Found 1146-1232 : 0 50.000 MHz at IAT 0/ 08:23:50.0 1 4 14-JUN-2010 13:48:49 FILLM Found 1148-2230 : 0 50.000 MHz at IAT 0/ 08:33:30.0 1 4 14-JUN-2010 13:48:49 FILLM Found 1146-247 : 0 50.000 MHz at IAT 0/ 08:42:50.0 1 4 14-JUN-2010 13:48:49 FILLM Found 1151-1627 : 0 50.000 MHz at IAT 0/ 08:47:40.0 1 4 14-JUN-2010 13:48:49 FILLM Found 1154-1427 : 0 50.000 MHz at IAT 0/ 08:57:00.0 1 4 14-JUN-2010 13:48:55 FILLM Found 1108-1921 : 0 50.000 MHz at IAT 0/ 09:06:50.0 1 4 14-JUN-2010 13:48:55 FILLM Found 1219-2557 : 0 50.000 MHz at IAT 0/ 09:16:30.0 1 4 14-JUN-2010 13:48:55 FILLM Found 1246-075 : 0 50.000 MHz at IAT 0/ 09:26:30.0 1 4 14-JUN-2010 13:48:55 FILLM Found 1245-2032 : 0 50.000 MHz at IAT 0/ 09:31:30.0 1 4 14-JUN-2010 13:48:56 FILLM Found 1247-2008 : 0 50.000 MHz at IAT 0/ 09:41:00.0 1 4 14-JUN-2010 13:48:57 FILLM Found 1311-2220 : 0 50.000 MHz at IAT 0/ 09:50:30.0 1 4 14-JUN-2010 13:48:57 FILLM Found 1337-2318 : 0 50.000 MHz at IAT 0/ 10:00:00.0 1 4 14-JUN-2010 13:48:57 FILLM Found 1351-148 : 0 50.000 MHz at IAT 0/ 10:09:40.0 1 4 14-JUN-2010 13:48:57 FILLM Found 1343-2001 : 0 50.000 MHz at IAT 0/ 10:14:10.0 1 4 14-JUN-2010 13:48:57 FILLM Found 1356-2447 : 0 50.000 MHz at IAT 0/ 10:23:40.0 1 4 14-JUN-2010 13:48:57 FILLM Found 1306-2532 : 0 50.000 MHz at IAT 0/ 10:33:20.0 1 4 14-JUN-2010 13:48:57 FILLM Found 1401-1202 : 0 50.000 MHz at IAT 0/ 10:43:10.0 1 4 14-JUN-2010 13:48:57 FILLM Found 1448-163 : 0 50.000 MHz at IAT 0/ 10:52:50.0 1 4 14-JUN-2010 13:48:58 FILLM Found 1432-1912 : 0 50.000 MHz at IAT 0/ 10:57:30.0 1 4 14-JUN-2010 13:48:58 FILLM Found 1439-1528 : 0 50.000 MHz at IAT 0/ 11:06:50.0 1 4 14-JUN-2010 13:48:58 FILLM Found 1456-1827 : 0 50.000 MHz at IAT 0/ 11:16:20.0 1 4 14-JUN-2010 13:48:58 FILLM Found 1407-1618 : 0 50.000 MHz at IAT 0/ 11:26:00.0 1 4 14-JUN-2010 13:48:58 FILLM Found 1448-163 : 0 50.000 MHz at IAT 0/ 11:35:30.0 1 4 14-JUN-2010 13:48:58 FILLM Found 1515-2551 : 0 50.000 MHz at IAT 0/ 11:40:30.0 1 4 14-JUN-2010 13:48:58 FILLM Found 1547-1208 : 0 50.000 MHz at IAT 0/ 11:50:20.0 1 4 14-JUN-2010 13:48:58 FILLM Found 1637-1512 : 0 50.000 MHz at IAT 0/ 12:00:00.0 1 4 14-JUN-2010 13:48:59 FILLM Found 1637-1201 : 0 50.000 MHz at IAT 0/ 12:09:20.0 1 4 14-JUN-2010 13:48:59 FILLM Found 1743-038 : 0 50.000 MHz at IAT 0/ 12:19:20.0 1 4 14-JUN-2010 13:48:59 FILLM Found 1644-2519 : 0 50.000 MHz at IAT 0/ 12:24:20.0 1 4 14-JUN-2010 13:48:59 FILLM Found 1652-1237 : 0 50.000 MHz at IAT 0/ 12:34:10.0 1 4 14-JUN-2010 13:48:59 FILLM Found 1656-2202 : 0 50.000 MHz at IAT 0/ 12:43:50.0 1 4 14-JUN-2010 13:48:59 FILLM Found 1657-1358 : 0 50.000 MHz at IAT 0/ 12:53:40.0 1 4 14-JUN-2010 13:48:59 FILLM Found 1743-038 : 0 50.000 MHz at IAT 0/ 13:03:10.0 1 4 14-JUN-2010 13:49:00 FILLM Found 1740-1428 : 0 50.000 MHz at IAT 0/ 13:08:00.0 1 4 14-JUN-2010 13:49:00 FILLM Found 1848-1806 : 0 50.000 MHz at IAT 0/ 13:18:00.0 1 4 14-JUN-2010 13:49:00 FILLM Found 1914-2208 : 0 50.000 MHz at IAT 0/ 13:27:40.0 1 4 14-JUN-2010 13:49:00 FILLM Found 1919-1335 : 0 50.000 MHz at IAT 0/ 13:37:10.0 1 4 14-JUN-2010 13:49:00 FILLM Found 1923-210 : 0 50.000 MHz at IAT 0/ 13:46:50.0 1 4 14-JUN-2010 13:49:00 FILLM Found 1331+305 : 0 50.000 MHz at IAT 0/ 13:54:30.0 1 5 14-JUN-2010 13:49:00 FILLM Read 885071 visibilities from 1 files 1 3 14-JUN-2010 13:49:00 FILLM Appears to have ended successfully 1 5 14-JUN-2010 13:49:00 FILLM vlbacald-c 31DEC07 TST: Cpu= 8.1 Real= 17 1 3 14-JUN-2010 13:49:00 AIPS Task FILLM has finished 1 0 14-JUN-2010 13:49:00 AIPS indisk pdsk 1 0 14-JUN-2010 13:49:00 AIPS for j=1:checkcat;error 0;egetname j;datachks;end 1 2 14-JUN-2010 13:49:00 AIPS Disk 1 No files needed renumbering 1 2 14-JUN-2010 13:49:00 AIPS Got(1) disk= 1 user=**** type=UV 20050213.L BAND.1 1 2 14-JUN-2010 13:49:01 AIPS Rename 20050213 .L BAND. 1 (UV) on disk 1 cno 1 1 2 14-JUN-2010 13:49:01 AIPS To 20050213 .PREFIX. 1 (UV) on disk 1 cno 1 1 5 14-JUN-2010 13:49:02 UVFIX Task UVFIX (release of 31DEC07) begins 1 2 14-JUN-2010 13:49:02 AIPS Resumes 1 2 14-JUN-2010 13:49:02 UVFIX Create 20050213 .L BAND. 1 (UV) on disk 1 cno 2 1 3 14-JUN-2010 13:49:02 UVFIX Copied AN file from vol/cno/vers 1 1 1 to 1 2 1 1 3 14-JUN-2010 13:49:03 UVFIX Copied NX file from vol/cno/vers 1 1 1 to 1 2 1 1 3 14-JUN-2010 13:49:03 UVFIX Copied SU file from vol/cno/vers 1 1 1 to 1 2 1 1 3 14-JUN-2010 13:49:03 UVFIX Copied FQ file from vol/cno/vers 1 1 1 to 1 2 1 1 3 14-JUN-2010 13:49:03 UVFIX Copied CL file from vol/cno/vers 1 1 1 to 1 2 1 1 3 14-JUN-2010 13:49:03 UVFIX Copied TY file from vol/cno/vers 1 1 1 to 1 2 1 1 3 14-JUN-2010 13:49:03 UVFIX Copied WX file from vol/cno/vers 1 1 1 to 1 2 1 1 3 14-JUN-2010 13:49:03 UVFIX Copied OF file from vol/cno/vers 1 1 1 to 1 2 1 1 4 14-JUN-2010 13:49:03 UVFIX Processing subarray 1 1 8 14-JUN-2010 13:49:03 UVFIX default: IAT-UTC = 32.0 seconds 1 8 14-JUN-2010 13:49:03 UVFIX leap second entries updated until: 2006-JAN-01 1 5 14-JUN-2010 13:49:03 UVFIX 1 3 14-JUN-2010 13:49:07 UVFIX Appears to have ended successfully 1 5 14-JUN-2010 13:49:07 UVFIX vlbacald-c 31DEC07 TST: Cpu= 3.8 Real= 5 1 3 14-JUN-2010 13:49:07 AIPS Task UVFIX has finished 1 4 14-JUN-2010 13:49:10 AIPS Destroyed 1 extension files of type OF 1 4 14-JUN-2010 13:49:10 AIPS Destroyed 1 extension files of type WX 1 4 14-JUN-2010 13:49:10 AIPS Destroyed 1 extension files of type TY 1 4 14-JUN-2010 13:49:10 AIPS Destroyed 1 extension files of type CL 1 4 14-JUN-2010 13:49:10 AIPS Destroyed 1 extension files of type FQ 1 4 14-JUN-2010 13:49:10 AIPS Destroyed 1 extension files of type SU 1 4 14-JUN-2010 13:49:10 AIPS Destroyed 1 extension files of type NX 1 4 14-JUN-2010 13:49:10 AIPS Destroyed 1 extension files of type AN 1 4 14-JUN-2010 13:49:10 AIPS Destroyed 1 extension files of type HI 1 4 14-JUN-2010 13:49:10 AIPS Destroyed UV image file: catno= 1 disk= 1 1 0 14-JUN-2010 13:49:10 AIPS for j=1:checkcat;error 0;egetname j;freqchks;end 1 2 14-JUN-2010 13:49:10 AIPS Disk 1 in-CNO 2 renumbered as CNO 1 1 2 14-JUN-2010 13:49:10 AIPS Got(1) disk= 1 user=**** type=UV 20050213.L BAND.1 1 0 14-JUN-2010 13:49:10 AIPS type'EMPTY CATALOG ?' checkcat 1 2 14-JUN-2010 13:49:10 AIPS Disk 1 No files needed renumbering 1 5 14-JUN-2010 13:49:10 AIPS 'EMPTY CATALOG ?' 1 1 0 14-JUN-2010 13:49:10 AIPS tget prtmsg;prtmsg;docrt 1