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