AIPS version = /home/auto/aips/31DEC07/LINUX/SYSTEM/VLA_PIPE/aips Prep version = Dec 7 2007 /home/vlbacald-d/vlbacald/bin/AVLAPREP.001 ------------- Pops Prior Date Time Task Messages for user18872 5 0 24-OCT-2008 16:03:12 AIPS version'ABIN' 5 0 24-OCT-2008 16:03:12 AIPS run avlaprep 5 2 24-OCT-2008 16:03:12 AIPS Found in Version=ABIN 5 2 24-OCT-2008 16:03:12 AIPS $ Lorant Sjouwerman, versions 1.. 2005, for NRAO 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS $$ General naming utilities - default to data disk 1 (safest of all) 5 2 24-OCT-2008 16:03:12 AIPS procedure pipedef1 5 2 24-OCT-2008 16:03:12 AIPS string*12 pnam 5 2 24-OCT-2008 16:03:12 AIPS string*6 pcls 5 2 24-OCT-2008 16:03:12 AIPS scalar pseq,pdsk 5 2 24-OCT-2008 16:03:12 AIPS pdsk=1 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS pipedef1 5 2 24-OCT-2008 16:03:12 AIPS procedure namepipe 5 2 24-OCT-2008 16:03:12 AIPS pnam=inname;pcls=inclass;pseq=inseq;indisk=pdsk 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS procedure pipename 5 2 24-OCT-2008 16:03:12 AIPS inname=pnam;inclass=pcls;inseq=pseq;indisk=pdsk 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure checkcat 5 2 24-OCT-2008 16:03:12 AIPS $LOS - count and make sure catalog starts at one (and not more than 10 files) 5 2 24-OCT-2008 16:03:12 AIPS scalar numcat 5 2 24-OCT-2008 16:03:12 AIPS clrname;indisk=pdsk;chkname;numcat=1-error 5 2 24-OCT-2008 16:03:12 AIPS $ for later: find out how to deal with CH0/LINE data in MOVE 5 2 24-OCT-2008 16:03:12 AIPS if(numcat>0)then;recat;end;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS return numcat 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure gx 5 2 24-OCT-2008 16:03:12 AIPS $ inputs 5 2 24-OCT-2008 16:03:12 AIPS go;wait 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure pre_fillm 5 2 24-OCT-2008 16:03:12 AIPS $LOS - sets VLA archive defaults for fillm 5 2 24-OCT-2008 16:03:12 AIPS default fillm;outdisk=pdsk;doall=1;douvcomp=-1;cparm(8)=0.05;bparm(10)=0.75 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure fname 5 2 24-OCT-2008 16:03:12 AIPS return inname!!'.'!!inclass!!'.'!!char(inseq) 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure shortname 5 2 24-OCT-2008 16:03:12 AIPS scalar idx,nsrc,ll,ii,spc 5 2 24-OCT-2008 16:03:12 AIPS string*12 newstrng 5 2 24-OCT-2008 16:03:12 AIPS keyword'NUM ROW';inext'SU';getthead;nsrc=keyvalue(1);keyword'';keyvalue 0 5 2 24-OCT-2008 16:03:12 AIPS for idx=1:nsrc;pixxy=idx,2,1;tabget;ll=length(keystrng);newstrng'' 5 2 24-OCT-2008 16:03:12 AIPS if(ll>12)then;spc=0;ll=1 5 2 24-OCT-2008 16:03:12 AIPS while(spc=0&ll<17);substr(newstrng,ll,ll)=substr(keystrng,ll,ll) 5 2 24-OCT-2008 16:03:12 AIPS if(substr(keystrng,ll,ll+1)=' ')then 5 2 24-OCT-2008 16:03:12 AIPS if(spc=0)then;spc=1;substr(newstrng,ll,ll)='@';end 5 2 24-OCT-2008 16:03:12 AIPS end;ll=ll+1;clrtemp;end;ii=ll 5 2 24-OCT-2008 16:03:12 AIPS while(ll<17) 5 2 24-OCT-2008 16:03:12 AIPS if(substr(keystrng,ll,ll)<>' ')then 5 2 24-OCT-2008 16:03:12 AIPS substr(newstrng,ii,ii)=substr(keystrng,ll,ll);ii=ii+1 5 2 24-OCT-2008 16:03:12 AIPS end;ll=ll+1;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS end;ll=length(newstrng);nsrc=min(12,ll) $ for safety during tests 5 2 24-OCT-2008 16:03:12 AIPS if(ll>12)then;keystrng=newstrng;ll=ll+1;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS for ii=1:nsrc;substr(newstrng,ii,ii)=substr(keystrng,ll-ii,ll-ii);end 5 2 24-OCT-2008 16:03:12 AIPS end;task'TABED';clroname;inext'SU';optype'REPL';keyword'';keyvalue 0 5 2 24-OCT-2008 16:03:12 AIPS aparm 2 1;bcount=idx;ecount=idx;keystrng=newstrng;go;wait;end;end;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure del 5 2 24-OCT-2008 16:03:12 AIPS error=1;zap 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure numants 5 2 24-OCT-2008 16:03:12 AIPS scalar numarow,numbout,numbant,numbase,idx;string*16 nameant 5 2 24-OCT-2008 16:03:12 AIPS numbout=0;keyword'NUM ROW';inext'AN';invers=0;getthead;numarow=keyvalue(1) 5 2 24-OCT-2008 16:03:12 AIPS for numbant=1:numarow 5 2 24-OCT-2008 16:03:12 AIPS pixxy=numbant,1,0;tabget;nameant=keystrng;idx=1;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS while(substr(nameant,idx,idx)<>':');idx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(substr(nameant,idx+1,idx+3)='OUT')then;numbout=numbout+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(substr(nameant,idx+2,idx+4)='OUT')then;numbout=numbout+1;end 5 2 24-OCT-2008 16:03:12 AIPS end;numbase=(numarow-numbout);clrtemp 5 2 24-OCT-2008 16:03:12 AIPS $ type char(numarow-numbout)!!' ANTENNAS',char(numbase)!!' BASELINES' 5 2 24-OCT-2008 16:03:12 AIPS return numbase 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure skipdata 5 2 24-OCT-2008 16:03:12 AIPS $LOS - delete unwanted data sets - currently all but continuum X and C bands 5 2 24-OCT-2008 16:03:12 AIPS $ if(inclass='LINE')then;del;inclass'CH 0';del;type'ZAP LINE :'fname;end 5 2 24-OCT-2008 16:03:12 AIPS if((inclass='CH 0')!(inclass='LINE'))then;del;type'ZAP LINE :'fname;end 5 2 24-OCT-2008 16:03:12 AIPS if(inclass='4 BAND')then;del;type'ZAP 4-BAND :'fname;end 5 2 24-OCT-2008 16:03:12 AIPS if(inclass='P BAND')then;del;type'ZAP P-BAND :'fname;end 5 2 24-OCT-2008 16:03:12 AIPS $ if(inclass='L BAND')then;del;type'ZAP L-BAND :'fname;end 5 2 24-OCT-2008 16:03:12 AIPS $ if(inclass='U BAND')then;del;type'ZAP U-BAND :'fname;end 5 2 24-OCT-2008 16:03:12 AIPS $ if(inclass='K BAND')then;del;type'ZAP K-BAND :'fname;end 5 2 24-OCT-2008 16:03:12 AIPS $ if(inclass='Q BAND')then;del;type'ZAP Q-BAND :'fname;end;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS if(error<1)then $ file not zapped, check for single dish vlbi; #vis=0 5 2 24-OCT-2008 16:03:12 AIPS task'TABGET';userid 0;inext'NX';invers=0;keyvalue=0;keystrng'' 5 2 24-OCT-2008 16:03:12 AIPS keyword'NUM ROW';getthead;pixxy=keyvalue(1),6,0;tabget;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS if(keyvalue(1)=0)then;del;type'ZAP S-DISH :'fname;end 5 2 24-OCT-2008 16:03:12 AIPS if(error<1)then;idx=numants $ file not zapped, check for # ants (<9) 5 2 24-OCT-2008 16:03:12 AIPS if(idx<9)then;del;type'ZAP MINI-ARRAY ('!!char(idx)!!') :'!!fname 5 2 24-OCT-2008 16:03:12 AIPS end;clrtemp;end;end 5 2 24-OCT-2008 16:03:12 AIPS $also zap if solar/planetary/pulsar mode - su table proper motion?? 5 2 24-OCT-2008 16:03:12 AIPS $ and what about PT-link? antenna VPT is not OUT, later also EVLA names 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure checkids 5 2 24-OCT-2008 16:03:12 AIPS $LOS - account for fast switching source names - check on pos, qual, calco 5 2 24-OCT-2008 16:03:12 AIPS scalar ra1a,ra1b,ra2a,ra2b,dc1a,dc1b,dc2a,dc2b,n,m,l,idx 5 2 24-OCT-2008 16:03:12 AIPS scalar q1,q2,k,x,y1,y2 5 2 24-OCT-2008 16:03:12 AIPS string*1 co1,co2 5 2 24-OCT-2008 16:03:12 AIPS string*16 n1,n2 5 2 24-OCT-2008 16:03:12 AIPS array alist(100),blist(100) 5 2 24-OCT-2008 16:03:12 AIPS inext'SU';invers 0;keyword'NUM ROW';keyvalue 0;keystrng'';getthead 5 2 24-OCT-2008 16:03:12 AIPS n=keyvalue(1);idx=1;aparm 0;bparm 0;alist 0;blist 0 5 2 24-OCT-2008 16:03:12 AIPS if (n > 1) then 5 2 24-OCT-2008 16:03:12 AIPS for m=1:(n-1);clrtemp 5 2 24-OCT-2008 16:03:12 AIPS pixxy m,11;inext'SU';tabget;ra1a keyvalue(1);ra1b keyvalue(2) 5 2 24-OCT-2008 16:03:12 AIPS for l=(m+1):n;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS pixxy l,11;tabget;ra2a keyvalue(1);ra2b keyvalue(2) 5 2 24-OCT-2008 16:03:12 AIPS if (abs(ra1a-ra2a)=0) then 5 2 24-OCT-2008 16:03:12 AIPS if ( abs((ra1b-ra2b)*3600*1000) < 3 ) then $ RA within 3 mas! 5 2 24-OCT-2008 16:03:12 AIPS pixxy m,12;tabget;dc1a keyvalue(1);dc1b keyvalue(2) 5 2 24-OCT-2008 16:03:12 AIPS pixxy l,12;tabget;dc2a keyvalue(1);dc2b keyvalue(2) 5 2 24-OCT-2008 16:03:12 AIPS if (abs(dc1a-dc2a)=0) then 5 2 24-OCT-2008 16:03:12 AIPS if ( abs((dc1b-dc2b)*3600*1000) < 3 ) then $ DC within 3 mas! 5 2 24-OCT-2008 16:03:12 AIPS pixxy m,3;tabget;q1 keyvalue(1);pixxy l,3;tabget;q2 keyvalue(1) 5 2 24-OCT-2008 16:03:12 AIPS $if one has zero vis then next checks not needed and declare/fix same source 5 2 24-OCT-2008 16:03:12 AIPS inext'NX';keyword'NUM ROW';getthead;k=keyvalue(1);y1=0;y2=0 5 2 24-OCT-2008 16:03:12 AIPS for x=1:k;pixxy x,3;tabget 5 2 24-OCT-2008 16:03:12 AIPS if(keyval(1)=m)then;y1=y1+1;else; 5 2 24-OCT-2008 16:03:12 AIPS if(keyval(1)=l)then;y2=y2+1;end;end 5 2 24-OCT-2008 16:03:12 AIPS end $ if ((y1=0)!(y2=0)) then one has 0 visibilities: do dsorc 5 2 24-OCT-2008 16:03:12 AIPS if (q1=q2)!((y1=0)!(y2=0)) then ;inext'SU' $ same calcode? 5 2 24-OCT-2008 16:03:12 AIPS pixxy m,4;tabget;co1 keystrng;pixxy l,4;tabget;co2 keystrng 5 2 24-OCT-2008 16:03:12 AIPS if (co1=co2)!((y1=0)!(y2=0)) then 5 2 24-OCT-2008 16:03:12 AIPS pixxy m,1;tabget;q1 keyvalue(1) 5 2 24-OCT-2008 16:03:12 AIPS pixxy l,1;tabget;q2 keyvalue(1) 5 2 24-OCT-2008 16:03:12 AIPS pixxy m,2;tabget;n1 keystrng;pixxy l,2;tabget;n2 keystrng 5 2 24-OCT-2008 16:03:12 AIPS if (idx>100) then; 5 2 24-OCT-2008 16:03:12 AIPS type 'TOO MANY SOURCES TO DO DSORC - DO BY HAND!' 5 2 24-OCT-2008 16:03:12 AIPS type 'NEXT =.'!!char(idx)!!' DO:'!!char(l)!!'.&.'!!char(m) 5 2 24-OCT-2008 16:03:12 AIPS else 5 2 24-OCT-2008 16:03:12 AIPS if (length(n1)1) then;task'DSORC';n=0 5 2 24-OCT-2008 16:03:12 AIPS outname inname;outclass inclass;outseq inseq;outdisk indisk 5 2 24-OCT-2008 16:03:12 AIPS while (n100)then;type'TOO MANY SOURCES FOR DSORC';error 1;end;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS end 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure checkcal 5 2 24-OCT-2008 16:03:12 AIPS $LOS Currently (Sep 22, 2005) can/will do 3C286 and 3C48 at X and C 5 2 24-OCT-2008 16:03:12 AIPS $LOS (and for now skip 3C286/3C48/3C138/3C147 Q,K,U and 3C48 L) 5 2 24-OCT-2008 16:03:12 AIPS scalar idx,jdx 5 2 24-OCT-2008 16:03:12 AIPS string*16 sname 5 2 24-OCT-2008 16:03:12 AIPS task'TABGET';userid 0;inext'SU';invers=0;keyvalue=0;keystrng'';error=1 5 2 24-OCT-2008 16:03:12 AIPS keyword'NUM ROW';getthead;idx=keyvalue(1);clrtemp 5 2 24-OCT-2008 16:03:12 AIPS for jdx=1:idx 5 2 24-OCT-2008 16:03:12 AIPS pixxy=jdx,2,0;tabget;sname=substr(keystrng,1,length(keystrng)) 5 2 24-OCT-2008 16:03:12 AIPS if(sname='3C286')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='3C48')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='3C138')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='3C147')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='3C295')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(error>0)then $ try B1950 name 5 2 24-OCT-2008 16:03:12 AIPS if(sname='1328+307')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='0134+329')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='0518+165')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='0538+498')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='1409+524')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(error>0)then $ try J2000 5 2 24-OCT-2008 16:03:12 AIPS if(sname='1331+305')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='0137+331')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='0521+166')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='0542+498')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='1411+522')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(error>0)then $ try J2000 name 5 2 24-OCT-2008 16:03:12 AIPS if(sname='J1331+3030')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='J0137+3309')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='J0521+1638')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='J0542+4951')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS if(sname='J1411+5212')then;error=-1;jdx=idx+1;end 5 2 24-OCT-2008 16:03:12 AIPS end;end;end;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS end 5 2 24-OCT-2008 16:03:12 AIPS $ if error>0 check on coords (for different name than standard) 5 2 24-OCT-2008 16:03:12 AIPS $ but keyval not reliable to do this.. ?? 5 2 24-OCT-2008 16:03:12 AIPS $ end 5 2 24-OCT-2008 16:03:12 AIPS if(error>0)then;del;type'ZAP - NO STD CAL SRC FOR :'fname;error=1 5 2 24-OCT-2008 16:03:12 AIPS else;checkids;error=-1;end;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure j2000fix 5 2 24-OCT-2008 16:03:12 AIPS $LOS - convert data to J2000 by default use of uvfix 5 2 24-OCT-2008 16:03:12 AIPS task'UVFIX';outname=inname;outclass=inclass;outseq=inseq;outdisk=indisk 5 2 24-OCT-2008 16:03:12 AIPS shift=0;uvfixprm=0;tput uvfix;outclass'PREFIX';rename;default tabget 5 2 24-OCT-2008 16:03:12 AIPS tget uvfix;task'TABGET';inclass'PREFIX';inext'SU';pixxy 1,13,1;tabget 5 2 24-OCT-2008 16:03:12 AIPS if (keyvalue(1)<1) then; tput tabget;default tabed;tget tabget 5 2 24-OCT-2008 16:03:12 AIPS task'TABED';optype'REPL';aparm 13,0,0,2;keyvalue 1950.0 0;gx;end 5 2 24-OCT-2008 16:03:12 AIPS tget uvfix;inclass'PREFIX';gx;zap;inclass=outclass;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure addcalco 5 2 24-OCT-2008 16:03:12 AIPS $LOS - check for a calcode and add them if non-existent 5 2 24-OCT-2008 16:03:12 AIPS scalar maxcat,maxrow,hasacode,m2d,fnd,ii,jj,kk 5 2 24-OCT-2008 16:03:12 AIPS task'TABGET';inext'SU';keyword'NUM ROW';getthead 5 2 24-OCT-2008 16:03:12 AIPS maxrow=keyvalue(1);hasacode=0;jj=0 5 2 24-OCT-2008 16:03:12 AIPS while((jj' ')then;hasacode=1;end;end;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS if(hasacode=0)then;fnd=0;type 'SEARCHING SOURCES TO ADD CALIBRATOR CODES' 5 2 24-OCT-2008 16:03:12 AIPS $ go through SU and check against calibrator list 5 2 24-OCT-2008 16:03:12 AIPS $ maybe do this anyway for all sources and not skip if one (above) found 5 2 24-OCT-2008 16:03:12 AIPS for jj=1:maxrow;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS pixxy=jj,2;tabget;error=0;syscom'grep -i 5 2 24-OCT-2008 16:03:12 AIPS if(keystrng='J0137+3309')then;keystrng'0137+331';end 5 2 24-OCT-2008 16:03:12 AIPS if(keystrng='J0521+1638')then;keystrng'0521+166';end 5 2 24-OCT-2008 16:03:12 AIPS if(keystrng='J0542+4951')then;keystrng'0542+498';end 5 2 24-OCT-2008 16:03:12 AIPS if(keystrng='J1331+3030')then;keystrng'1331+305';end 5 2 24-OCT-2008 16:03:12 AIPS if(keystrng='J1411+5212')then;keystrng'1411+522';end 5 2 24-OCT-2008 16:03:12 AIPS if((substr(keystrng,1,1)='J')&(substr(keystrng,2,2)<>'U'))then 5 2 24-OCT-2008 16:03:12 AIPS m2d=floor(value(substr(keystrng,9,10))/6);keystrng=substr(keystrng,2,8) 5 2 24-OCT-2008 16:03:12 AIPS sys2com(1)'X'!!keystrng!!char(m2d);else;sys2com(1)'X'!!keystrng 5 2 24-OCT-2008 16:03:12 AIPS end;clrtemp;kk=1;ii=length(keystrng) $ safeguard against spaces in name 5 2 24-OCT-2008 16:03:12 AIPS while((kk<=ii)&(substr(keystrng,kk,kk)<>''));kk=kk+1;end;m2d=kk+1;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS if(m2d>1)then;for kk=m2d:ii;substr(keystrng,kk,kk)=' ';end;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS sys2com(2)'X'!!'/users/lsjouwer/calvlaobs/csource.mas 5 2 24-OCT-2008 16:03:12 AIPS keyvalue=0;substr(sys2com(1),1,1)'';substr(sys2com(2),1,1)'';clrtemp 5 2 24-OCT-2008 16:03:12 AIPS system;keystrng'Y';if(error=-1)then;fnd=fnd+1;pixxy=jj,4;tabput;end;end 5 2 24-OCT-2008 16:03:12 AIPS if(fnd>0)then;type char(fnd)!!' CALCODES ADDED' $ ZAP if no code found 5 2 24-OCT-2008 16:03:12 AIPS else;type'ERROR: PIPELINE WILL FAIL TO COMPLETE (NO CALS)';zap;end;end;end 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure datachks 5 2 24-OCT-2008 16:03:12 AIPS $LOS - delete unwanted data sets, check for standard calibrators and make J2000 5 2 24-OCT-2008 16:03:12 AIPS if(error<1)then $ file exists 5 2 24-OCT-2008 16:03:12 AIPS skipdata;if(error<1)then $ file was not zapped 5 2 24-OCT-2008 16:03:12 AIPS checkcal;if(error<1)then $ file has standard calibrator in it 5 2 24-OCT-2008 16:03:12 AIPS addcalco 5 2 24-OCT-2008 16:03:12 AIPS shortname 5 2 24-OCT-2008 16:03:12 AIPS j2000fix 5 2 24-OCT-2008 16:03:12 AIPS end;end;end;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure freqchks 5 2 24-OCT-2008 16:03:12 AIPS $LOS - split up in frequency IDs, run INDXR, and remove 5 2 24-OCT-2008 16:03:12 AIPS scalar rows, nfrq 5 2 24-OCT-2008 16:03:12 AIPS if(error<1)then $ file exists 5 2 24-OCT-2008 16:03:12 AIPS inext'FQ';invers=1;keyword='NUM ROW';getthead;nfrq=keyvalue(1) 5 2 24-OCT-2008 16:03:12 AIPS if (nfrq > 1) then 5 2 24-OCT-2008 16:03:12 AIPS if (nfrq > 9) then;type' WARNING! MORE THAN 9 FREQUENCY ID-S!';end 5 2 24-OCT-2008 16:03:12 AIPS tput getthead;default'UVCOP';tget getthead;keyword='';task'UVCOP';tput 5 2 24-OCT-2008 16:03:12 AIPS for rows=1:nfrq 5 2 24-OCT-2008 16:03:12 AIPS pixxy=rows,1,1;inver=1;inext='FQ';tabget;tget;freqid=keyvalue(1) 5 2 24-OCT-2008 16:03:12 AIPS outclass=substr(inclass,1,1)!!substr(inclass,3,6)!!char(freqid) 5 2 24-OCT-2008 16:03:12 AIPS type'COPYING FREQUENCY ID #'!!char(freqid);gx 5 2 24-OCT-2008 16:03:12 AIPS default'INDXR';tget uvcop;task'INDXR';inclass outclass;gx;task'DQUAL' 5 2 24-OCT-2008 16:03:12 AIPS $out not in! ** outname=inname;outclass=inclass;outseq=inseq;outdisk=indisk;gx 5 2 24-OCT-2008 16:03:12 AIPS tget uvcop;freqid=1;clrtemp 5 2 24-OCT-2008 16:03:12 AIPS end;end;end;if(nfrq>1)then;type fname!!' SPLIT IN :'!!char(nfrq);zap;end 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure pre_move 5 2 24-OCT-2008 16:03:12 AIPS $LOS - moves file to another AIPS user number 5 2 24-OCT-2008 16:03:12 AIPS default move;indisk=pdsk;outseq=-1;opcode'MOVE';clrtemp 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS 5 2 24-OCT-2008 16:03:12 AIPS procedure expid 5 2 24-OCT-2008 16:03:12 AIPS string*20 expnm 5 2 24-OCT-2008 16:03:12 AIPS string*75 expmsg 5 2 24-OCT-2008 16:03:12 AIPS return expnm 5 2 24-OCT-2008 16:03:12 AIPS finish 5 2 24-OCT-2008 16:03:12 AIPS type expid 5 5 24-OCT-2008 16:03:12 AIPS ' ' 5 0 24-OCT-2008 16:03:12 AIPS compress 5 0 24-OCT-2008 16:03:12 AIPS type'EMPTY CATALOG ?' checkcat 5 5 24-OCT-2008 16:03:12 AIPS 'EMPTY CATALOG ?' 0 5 0 24-OCT-2008 16:03:12 AIPS default prtmsg;outprint'ARUN:'!!'AQ0006_1991SEP11_1.fill.log 5 0 24-OCT-2008 16:03:12 AIPS docrt=-3;prnumber=-1;tput prtmsg;docrt 1 5 0 24-OCT-2008 16:03:12 AIPS pre_fillm 5 0 24-OCT-2008 16:03:12 AIPS infile'AVIS:AQ0006_1991SEP11_1_' 5 0 24-OCT-2008 16:03:12 AIPS ncount 2;vlaobs 'AQ6';cparm(6) 1 5 0 24-OCT-2008 16:03:12 AIPS gx 5 5 24-OCT-2008 16:03:13 FILLM Task FILLM (release of 31DEC07) begins 5 4 24-OCT-2008 16:03:13 FILLM Shadow flag limit = 2.500E+01 meters. 5 3 24-OCT-2008 16:03:14 FILLM Opacity correction in CL table weighted average of weather and 5 3 24-OCT-2008 16:03:14 FILLM season. Weight for weather = 0.50 5 3 24-OCT-2008 16:03:14 FILLM Gain curve correction in CL table read from file, 5 3 24-OCT-2008 16:03:14 FILLM with variation as function of antenna and band. 5 3 24-OCT-2008 16:03:14 FILLM Opening AVIS:AQ0006_1991SEP11_1_1 5 2 24-OCT-2008 16:03:14 FILLM 5 2 24-OCT-2008 16:03:14 FILLM *** ATTENTION - default: loading subarray 1 *** 5 2 24-OCT-2008 16:03:14 FILLM 5 5 24-OCT-2008 16:03:14 FILLM tape file # 1, start date/time = 19910911/11:23:40 5 5 24-OCT-2008 16:03:14 FILLM MCINI: Processing Correlator Code ' ' with 26 antennas. 5 3 24-OCT-2008 16:03:14 FILLM MCINI - Continuum, 2 compatible IFs 5 3 24-OCT-2008 16:03:14 FILLM Program = AQ6 ; Tape revision number = 24. 5 2 24-OCT-2008 16:03:15 FILLM Create 19910911 .C BAND. 1 (UV) on disk 1 cno 1 5 2 24-OCT-2008 16:03:15 AIPS Resumes 5 4 24-OCT-2008 16:03:15 FILLM Ref. date = 19910911 A-C = 4.885100 B-D = 4.835100 GHz 5 6 24-OCT-2008 16:03:15 FILLM FLMFQ: FQ entry tolerance = 1.000E+02 1.000E+02 5 4 24-OCT-2008 16:03:15 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 11:23:40.0 5 3 24-OCT-2008 16:03:16 FILLM Zenith opacity set to 0.010 5 3 24-OCT-2008 16:03:16 FILLM Trying to access VLA antenna gains file... 5 2 24-OCT-2008 16:03:16 FILLM ZTXOP2: using translated file name = 5 2 24-OCT-2008 16:03:16 FILLM ZTXOP2: /home/auto/aips/TEXT/IONS/VLA.GAINS 5 4 24-OCT-2008 16:03:16 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 11:36:40.0 5 3 24-OCT-2008 16:03:16 FILLM Opening AVIS:AQ0006_1991SEP11_1_2 5 4 24-OCT-2008 16:03:17 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 11:41:40.0 5 4 24-OCT-2008 16:03:17 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 11:56:20.0 5 4 24-OCT-2008 16:03:18 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 12:11:30.0 5 4 24-OCT-2008 16:03:18 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 12:16:30.0 5 4 24-OCT-2008 16:03:23 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 12:31:10.0 5 4 24-OCT-2008 16:03:24 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 12:46:20.0 5 4 24-OCT-2008 16:03:24 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 12:51:20.0 5 4 24-OCT-2008 16:03:26 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 13:06:10.0 5 4 24-OCT-2008 16:03:27 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 13:21:10.0 5 4 24-OCT-2008 16:03:27 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 13:26:10.0 5 4 24-OCT-2008 16:03:28 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 13:41:00.0 5 4 24-OCT-2008 16:03:28 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 13:56:10.0 5 4 24-OCT-2008 16:03:28 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 14:01:10.0 5 4 24-OCT-2008 16:03:29 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 14:15:50.0 5 4 24-OCT-2008 16:03:29 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 14:31:00.0 5 4 24-OCT-2008 16:03:29 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 14:36:00.0 5 4 24-OCT-2008 16:04:00 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 14:50:50.0 5 4 24-OCT-2008 16:04:32 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 15:06:10.0 5 4 24-OCT-2008 16:04:33 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 15:11:00.0 5 4 24-OCT-2008 16:04:35 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 15:25:40.0 5 4 24-OCT-2008 16:04:38 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 15:41:00.0 5 4 24-OCT-2008 16:04:41 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 15:46:00.0 5 4 24-OCT-2008 16:04:44 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 16:00:40.0 5 4 24-OCT-2008 16:04:49 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 16:15:50.0 5 4 24-OCT-2008 16:04:51 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 16:20:50.0 5 4 24-OCT-2008 16:04:53 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 16:35:30.0 5 4 24-OCT-2008 16:04:56 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 16:50:40.0 5 4 24-OCT-2008 16:04:56 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 16:55:40.0 5 4 24-OCT-2008 16:04:59 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 17:10:30.0 5 4 24-OCT-2008 16:05:11 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 17:25:30.0 5 4 24-OCT-2008 16:05:12 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 17:30:30.0 5 4 24-OCT-2008 16:05:15 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 17:45:20.0 5 4 24-OCT-2008 16:05:18 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 18:00:30.0 5 5 24-OCT-2008 16:05:18 FILLM MCINI: Processing Correlator Code ' ' with 25 antennas. 5 3 24-OCT-2008 16:05:18 FILLM MCINI - Continuum, 2 compatible IFs 5 5 24-OCT-2008 16:05:18 FILLM MCINI: Processing Correlator Code ' ' with 25 antennas. 5 3 24-OCT-2008 16:05:18 FILLM MCINI - Continuum, 2 compatible IFs 5 4 24-OCT-2008 16:05:18 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 18:01:50.0 5 4 24-OCT-2008 16:05:18 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 18:05:30.0 5 4 24-OCT-2008 16:05:26 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 18:20:10.0 5 4 24-OCT-2008 16:05:28 FILLM Found 0836+710 : 0 50.000 MHz at IAT 0/ 18:35:30.0 5 4 24-OCT-2008 16:05:29 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 18:40:30.0 5 4 24-OCT-2008 16:05:31 FILLM Found 0716+714 : 0 50.000 MHz at IAT 0/ 18:55:10.0 5 4 24-OCT-2008 16:05:33 FILLM Found 1328+307 : 0 50.000 MHz at IAT 0/ 19:12:50.0 5 5 24-OCT-2008 16:05:34 FILLM Read 858464 visibilities from 2 files 5 3 24-OCT-2008 16:05:34 FILLM Appears to have ended successfully 5 5 24-OCT-2008 16:05:34 FILLM vlbacald-d 31DEC07 TST: Cpu= 8.1 Real= 141 5 3 24-OCT-2008 16:05:34 AIPS Task FILLM has finished 5 0 24-OCT-2008 16:05:34 AIPS indisk pdsk 5 0 24-OCT-2008 16:05:34 AIPS for j=1:checkcat;error 0;egetname j;datachks;end 5 2 24-OCT-2008 16:05:34 AIPS Disk 1 No files needed renumbering 5 2 24-OCT-2008 16:05:34 AIPS Got(1) disk= 1 user=**** type=UV 19910911.C BAND.1 5 2 24-OCT-2008 16:05:34 AIPS Rename 19910911 .C BAND. 1 (UV) on disk 1 cno 1 5 2 24-OCT-2008 16:05:34 AIPS To 19910911 .PREFIX. 1 (UV) on disk 1 cno 1 5 5 24-OCT-2008 16:05:34 UVFIX Task UVFIX (release of 31DEC07) begins 5 2 24-OCT-2008 16:05:34 AIPS Resumes 5 2 24-OCT-2008 16:05:35 UVFIX Create 19910911 .C BAND. 1 (UV) on disk 1 cno 2 5 3 24-OCT-2008 16:05:35 UVFIX Copied AN file from vol/cno/vers 1 1 1 to 1 2 1 5 3 24-OCT-2008 16:05:35 UVFIX Copied NX file from vol/cno/vers 1 1 1 to 1 2 1 5 3 24-OCT-2008 16:05:35 UVFIX Copied SU file from vol/cno/vers 1 1 1 to 1 2 1 5 3 24-OCT-2008 16:05:36 UVFIX Copied FQ file from vol/cno/vers 1 1 1 to 1 2 1 5 3 24-OCT-2008 16:05:36 UVFIX Copied CL file from vol/cno/vers 1 1 1 to 1 2 1 5 3 24-OCT-2008 16:05:36 UVFIX Copied TY file from vol/cno/vers 1 1 1 to 1 2 1 5 3 24-OCT-2008 16:05:36 UVFIX Copied WX file from vol/cno/vers 1 1 1 to 1 2 1 5 4 24-OCT-2008 16:05:36 UVFIX Processing subarray 1 5 8 24-OCT-2008 16:05:36 UVFIX default: IAT-UTC = 26.0 seconds 5 8 24-OCT-2008 16:05:36 UVFIX leap second entries updated until: 2006-JAN-01 5 5 24-OCT-2008 16:05:36 UVFIX Coordinates precessed from B1950 to J2000 5 3 24-OCT-2008 16:05:50 UVFIX Appears to have ended successfully 5 5 24-OCT-2008 16:05:50 UVFIX vlbacald-d 31DEC07 TST: Cpu= 3.8 Real= 16 5 3 24-OCT-2008 16:05:50 AIPS Task UVFIX has finished 5 4 24-OCT-2008 16:05:50 AIPS Destroyed 1 extension files of type WX 5 4 24-OCT-2008 16:05:50 AIPS Destroyed 1 extension files of type TY 5 4 24-OCT-2008 16:05:50 AIPS Destroyed 1 extension files of type CL 5 4 24-OCT-2008 16:05:50 AIPS Destroyed 1 extension files of type FQ 5 4 24-OCT-2008 16:05:50 AIPS Destroyed 1 extension files of type SU 5 4 24-OCT-2008 16:05:50 AIPS Destroyed 1 extension files of type NX 5 4 24-OCT-2008 16:05:50 AIPS Destroyed 1 extension files of type AN 5 4 24-OCT-2008 16:05:50 AIPS Destroyed 1 extension files of type HI 5 4 24-OCT-2008 16:05:50 AIPS Destroyed UV image file: catno= 1 disk= 1 5 0 24-OCT-2008 16:05:50 AIPS for j=1:checkcat;error 0;egetname j;freqchks;end 5 2 24-OCT-2008 16:05:50 AIPS Disk 1 in-CNO 2 renumbered as CNO 1 5 2 24-OCT-2008 16:05:50 AIPS Got(1) disk= 1 user=**** type=UV 19910911.C BAND.1 5 0 24-OCT-2008 16:05:50 AIPS type'EMPTY CATALOG ?' checkcat 5 2 24-OCT-2008 16:05:50 AIPS Disk 1 No files needed renumbering 5 5 24-OCT-2008 16:05:50 AIPS 'EMPTY CATALOG ?' 1 5 0 24-OCT-2008 16:05:50 AIPS tget prtmsg;prtmsg;docrt 1