AIPS version = /home/auto/aips/31DEC07/LINUX/SYSTEM/VLA_PIPE/aips Prep version = Oct 14 23:46 /home/vlbacald-b/vlbacald/bin/AVLAPREP.001 Pipe version = Oct 14 23:46 /home/vlbacald-b/vlbacald/bin/AVLAPIPE.001 Post version = Oct 14 23:46 /home/vlbacald-b/vlbacald/bin/AVLAPOST.001 /home/vlbacald-b/vlbacald/run/AB0271_1984APR26_1.1.run started on Tue Oct 20 06:35:32 MDT 2009 ------------- SETFC FILE FOR SOURCE 3C286 BELOW IS: C 1 500 500 13 31 08.29 30 30 33.0 00001 -1 251 256 257 C 2 246 246 13 31 08.31 30 30 32.4 00002 -1 100 128 129 Pops Prior Date Time Task Messages for user22291 1 0 20-OCT-2009 06:35:32 AIPS version'ABIN' 1 0 20-OCT-2009 06:35:32 AIPS run avlaprep 1 2 20-OCT-2009 06:35:32 AIPS Found in Version=ABIN 1 2 20-OCT-2009 06:35:32 AIPS $ Lorant Sjouwerman, versions 1.. 2005, for NRAO 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS $$ General naming utilities - default to data disk 1 (safest of all) 1 2 20-OCT-2009 06:35:32 AIPS procedure pipedef1 1 2 20-OCT-2009 06:35:32 AIPS string*12 pnam 1 2 20-OCT-2009 06:35:32 AIPS string*6 pcls 1 2 20-OCT-2009 06:35:32 AIPS scalar pseq,pdsk 1 2 20-OCT-2009 06:35:32 AIPS pdsk=1 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS pipedef1 1 2 20-OCT-2009 06:35:32 AIPS procedure namepipe 1 2 20-OCT-2009 06:35:32 AIPS pnam=inname;pcls=inclass;pseq=inseq;indisk=pdsk 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS procedure pipename 1 2 20-OCT-2009 06:35:32 AIPS inname=pnam;inclass=pcls;inseq=pseq;indisk=pdsk 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure checkcat 1 2 20-OCT-2009 06:35:32 AIPS $LOS - count and make sure catalog starts at one (and not more than 10 files) 1 2 20-OCT-2009 06:35:32 AIPS scalar numcat 1 2 20-OCT-2009 06:35:32 AIPS clrname;indisk=pdsk;chkname;numcat=1-error 1 2 20-OCT-2009 06:35:32 AIPS $ for later: find out how to deal with CH0/LINE data in MOVE 1 2 20-OCT-2009 06:35:32 AIPS if(numcat>0)then;recat;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS return numcat 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure gx 1 2 20-OCT-2009 06:35:32 AIPS $ inputs 1 2 20-OCT-2009 06:35:32 AIPS go;wait 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure pre_fillm 1 2 20-OCT-2009 06:35:32 AIPS $LOS - sets VLA archive defaults for fillm 1 2 20-OCT-2009 06:35:32 AIPS default fillm;outdisk=pdsk;doall=1;douvcomp=-1;cparm(8)=0.05;bparm(10)=0.75 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure fname 1 2 20-OCT-2009 06:35:32 AIPS return inname!!'.'!!inclass!!'.'!!char(inseq) 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure shortname 1 2 20-OCT-2009 06:35:32 AIPS scalar idx,nsrc,ll,ii,spc 1 2 20-OCT-2009 06:35:32 AIPS string*12 newstrng 1 2 20-OCT-2009 06:35:32 AIPS keyword'NUM ROW';inext'SU';getthead;nsrc=keyvalue(1);keyword'';keyvalue 0 1 2 20-OCT-2009 06:35:32 AIPS for idx=1:nsrc;pixxy=idx,2,1;tabget;ll=length(keystrng);newstrng'' 1 2 20-OCT-2009 06:35:32 AIPS if(ll>12)then;spc=0;ll=1 1 2 20-OCT-2009 06:35:32 AIPS while(spc=0&ll<17);substr(newstrng,ll,ll)=substr(keystrng,ll,ll) 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,ll,ll+1)=' ')then 1 2 20-OCT-2009 06:35:32 AIPS if(spc=0)then;spc=1;substr(newstrng,ll,ll)='@';end 1 2 20-OCT-2009 06:35:32 AIPS end;ll=ll+1;clrtemp;end;ii=ll 1 2 20-OCT-2009 06:35:32 AIPS while(ll<17) 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,ll,ll)<>' ')then 1 2 20-OCT-2009 06:35:32 AIPS substr(newstrng,ii,ii)=substr(keystrng,ll,ll);ii=ii+1 1 2 20-OCT-2009 06:35:32 AIPS end;ll=ll+1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS end;ll=length(newstrng);nsrc=min(12,ll) $ for safety during tests 1 2 20-OCT-2009 06:35:32 AIPS if(ll>12)then;keystrng=newstrng;ll=ll+1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS for ii=1:nsrc;substr(newstrng,ii,ii)=substr(keystrng,ll-ii,ll-ii);end 1 2 20-OCT-2009 06:35:32 AIPS end;task'TABED';clroname;inext'SU';optype'REPL';keyword'';keyvalue 0 1 2 20-OCT-2009 06:35:32 AIPS aparm 2 1;bcount=idx;ecount=idx;keystrng=newstrng;go;wait;end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure del 1 2 20-OCT-2009 06:35:32 AIPS error=1;zap 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure numants 1 2 20-OCT-2009 06:35:32 AIPS scalar numarow,numbout,numbant,numbase,idx;string*16 nameant 1 2 20-OCT-2009 06:35:32 AIPS numbout=0;keyword'NUM ROW';inext'AN';invers=0;getthead;numarow=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS for numbant=1:numarow 1 2 20-OCT-2009 06:35:32 AIPS pixxy=numbant,1,0;tabget;nameant=keystrng;idx=1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS while(substr(nameant,idx,idx)<>':');idx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(substr(nameant,idx+1,idx+3)='OUT')then;numbout=numbout+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(substr(nameant,idx+2,idx+4)='OUT')then;numbout=numbout+1;end 1 2 20-OCT-2009 06:35:32 AIPS end;numbase=(numarow-numbout);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS $ type char(numarow-numbout)!!' ANTENNAS',char(numbase)!!' BASELINES' 1 2 20-OCT-2009 06:35:32 AIPS return numbase 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure skipdata 1 2 20-OCT-2009 06:35:32 AIPS $LOS - delete unwanted data sets - currently all but continuum X and C bands 1 2 20-OCT-2009 06:35:32 AIPS $ if(inclass='LINE')then;del;inclass'CH 0';del;type'ZAP LINE :'fname;end 1 2 20-OCT-2009 06:35:32 AIPS if((inclass='CH 0')!(inclass='LINE'))then;del;type'ZAP LINE :'fname;end 1 2 20-OCT-2009 06:35:32 AIPS if(inclass='4 BAND')then;del;type'ZAP 4-BAND :'fname;end 1 2 20-OCT-2009 06:35:32 AIPS if(inclass='P BAND')then;del;type'ZAP P-BAND :'fname;end 1 2 20-OCT-2009 06:35:32 AIPS $ if(inclass='L BAND')then;del;type'ZAP L-BAND :'fname;end 1 2 20-OCT-2009 06:35:32 AIPS $ if(inclass='U BAND')then;del;type'ZAP U-BAND :'fname;end 1 2 20-OCT-2009 06:35:32 AIPS $ if(inclass='K BAND')then;del;type'ZAP K-BAND :'fname;end 1 2 20-OCT-2009 06:35:32 AIPS $ if(inclass='Q BAND')then;del;type'ZAP Q-BAND :'fname;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(error<1)then $ file not zapped, check for single dish vlbi; #vis=0 1 2 20-OCT-2009 06:35:32 AIPS task'TABGET';userid 0;inext'NX';invers=0;keyvalue=0;keystrng'' 1 2 20-OCT-2009 06:35:32 AIPS keyword'NUM ROW';getthead;pixxy=keyvalue(1),6,0;tabget;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(keyvalue(1)=0)then;del;type'ZAP S-DISH :'fname;end 1 2 20-OCT-2009 06:35:32 AIPS if(error<1)then;idx=numants $ file not zapped, check for # ants (<9) 1 2 20-OCT-2009 06:35:32 AIPS if(idx<9)then;del;type'ZAP MINI-ARRAY ('!!char(idx)!!') :'!!fname 1 2 20-OCT-2009 06:35:32 AIPS end;clrtemp;end;end 1 2 20-OCT-2009 06:35:32 AIPS $also zap if solar/planetary/pulsar mode - su table proper motion?? 1 2 20-OCT-2009 06:35:32 AIPS $ and what about PT-link? antenna VPT is not OUT, later also EVLA names 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure checkids 1 2 20-OCT-2009 06:35:32 AIPS $LOS - account for fast switching source names - check on pos, qual, calco 1 2 20-OCT-2009 06:35:32 AIPS scalar ra1a,ra1b,ra2a,ra2b,dc1a,dc1b,dc2a,dc2b,n,m,l,idx 1 2 20-OCT-2009 06:35:32 AIPS scalar q1,q2,k,x,y1,y2 1 2 20-OCT-2009 06:35:32 AIPS string*1 co1,co2 1 2 20-OCT-2009 06:35:32 AIPS string*16 n1,n2 1 2 20-OCT-2009 06:35:32 AIPS array alist(100),blist(100) 1 2 20-OCT-2009 06:35:32 AIPS inext'SU';invers 0;keyword'NUM ROW';keyvalue 0;keystrng'';getthead 1 2 20-OCT-2009 06:35:32 AIPS n=keyvalue(1);idx=1;aparm 0;bparm 0;alist 0;blist 0 1 2 20-OCT-2009 06:35:32 AIPS if (n > 1) then 1 2 20-OCT-2009 06:35:32 AIPS for m=1:(n-1);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS pixxy m,11;inext'SU';tabget;ra1a keyvalue(1);ra1b keyvalue(2) 1 2 20-OCT-2009 06:35:32 AIPS for l=(m+1):n;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS pixxy l,11;tabget;ra2a keyvalue(1);ra2b keyvalue(2) 1 2 20-OCT-2009 06:35:32 AIPS if (abs(ra1a-ra2a)=0) then 1 2 20-OCT-2009 06:35:32 AIPS if ( abs((ra1b-ra2b)*3600*1000) < 3 ) then $ RA within 3 mas! 1 2 20-OCT-2009 06:35:32 AIPS pixxy m,12;tabget;dc1a keyvalue(1);dc1b keyvalue(2) 1 2 20-OCT-2009 06:35:32 AIPS pixxy l,12;tabget;dc2a keyvalue(1);dc2b keyvalue(2) 1 2 20-OCT-2009 06:35:32 AIPS if (abs(dc1a-dc2a)=0) then 1 2 20-OCT-2009 06:35:32 AIPS if ( abs((dc1b-dc2b)*3600*1000) < 3 ) then $ DC within 3 mas! 1 2 20-OCT-2009 06:35:32 AIPS pixxy m,3;tabget;q1 keyvalue(1);pixxy l,3;tabget;q2 keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS $if one has zero vis then next checks not needed and declare/fix same source 1 2 20-OCT-2009 06:35:32 AIPS inext'NX';keyword'NUM ROW';getthead;k=keyvalue(1);y1=0;y2=0 1 2 20-OCT-2009 06:35:32 AIPS for x=1:k;pixxy x,3;tabget 1 2 20-OCT-2009 06:35:32 AIPS if(keyval(1)=m)then;y1=y1+1;else; 1 2 20-OCT-2009 06:35:32 AIPS if(keyval(1)=l)then;y2=y2+1;end;end 1 2 20-OCT-2009 06:35:32 AIPS end $ if ((y1=0)!(y2=0)) then one has 0 visibilities: do dsorc 1 2 20-OCT-2009 06:35:32 AIPS if (q1=q2)!((y1=0)!(y2=0)) then ;inext'SU' $ same calcode? 1 2 20-OCT-2009 06:35:32 AIPS pixxy m,4;tabget;co1 keystrng;pixxy l,4;tabget;co2 keystrng 1 2 20-OCT-2009 06:35:32 AIPS if (co1=co2)!((y1=0)!(y2=0)) then 1 2 20-OCT-2009 06:35:32 AIPS pixxy m,1;tabget;q1 keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS pixxy l,1;tabget;q2 keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS pixxy m,2;tabget;n1 keystrng;pixxy l,2;tabget;n2 keystrng 1 2 20-OCT-2009 06:35:32 AIPS if (idx>100) then; 1 2 20-OCT-2009 06:35:32 AIPS type 'TOO MANY SOURCES TO DO DSORC - DO BY HAND!' 1 2 20-OCT-2009 06:35:32 AIPS type 'NEXT =.'!!char(idx)!!' DO:'!!char(l)!!'.&.'!!char(m) 1 2 20-OCT-2009 06:35:32 AIPS else 1 2 20-OCT-2009 06:35:32 AIPS if (length(n1)1) then;task'DSORC';n=0 1 2 20-OCT-2009 06:35:32 AIPS outname inname;outclass inclass;outseq inseq;outdisk indisk 1 2 20-OCT-2009 06:35:32 AIPS while (n100)then;type'TOO MANY SOURCES FOR DSORC';error 1;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS end 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure checkcal 1 2 20-OCT-2009 06:35:32 AIPS $LOS Currently (Sep 22, 2005) can/will do 3C286 and 3C48 at X and C 1 2 20-OCT-2009 06:35:32 AIPS $LOS (and for now skip 3C286/3C48/3C138/3C147 Q,K,U and 3C48 L) 1 2 20-OCT-2009 06:35:32 AIPS scalar idx,jdx 1 2 20-OCT-2009 06:35:32 AIPS string*16 sname 1 2 20-OCT-2009 06:35:32 AIPS task'TABGET';userid 0;inext'SU';invers=0;keyvalue=0;keystrng'';error=1 1 2 20-OCT-2009 06:35:32 AIPS keyword'NUM ROW';getthead;idx=keyvalue(1);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS for jdx=1:idx 1 2 20-OCT-2009 06:35:32 AIPS pixxy=jdx,2,0;tabget;sname=substr(keystrng,1,length(keystrng)) 1 2 20-OCT-2009 06:35:32 AIPS if(sname='3C286')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='3C48')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='3C138')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='3C147')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='3C295')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(error>0)then $ try B1950 name 1 2 20-OCT-2009 06:35:32 AIPS if(sname='1328+307')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='0134+329')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='0518+165')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='0538+498')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='1409+524')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(error>0)then $ try J2000 1 2 20-OCT-2009 06:35:32 AIPS if(sname='1331+305')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='0137+331')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='0521+166')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='0542+498')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='1411+522')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(error>0)then $ try J2000 name 1 2 20-OCT-2009 06:35:32 AIPS if(sname='J1331+3030')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='J0137+3309')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='J0521+1638')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='J0542+4951')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(sname='J1411+5212')then;error=-1;jdx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS end;end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS end 1 2 20-OCT-2009 06:35:32 AIPS $ if error>0 check on coords (for different name than standard) 1 2 20-OCT-2009 06:35:32 AIPS $ but keyval not reliable to do this.. ?? 1 2 20-OCT-2009 06:35:32 AIPS $ end 1 2 20-OCT-2009 06:35:32 AIPS if(error>0)then;del;type'ZAP - NO STD CAL SRC FOR :'fname;error=1 1 2 20-OCT-2009 06:35:32 AIPS else;checkids;error=-1;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure j2000fix 1 2 20-OCT-2009 06:35:32 AIPS $LOS - convert data to J2000 by default use of uvfix 1 2 20-OCT-2009 06:35:32 AIPS task'UVFIX';outname=inname;outclass=inclass;outseq=inseq;outdisk=indisk 1 2 20-OCT-2009 06:35:32 AIPS shift=0;uvfixprm=0;tput uvfix;outclass'PREFIX';rename;default tabget 1 2 20-OCT-2009 06:35:32 AIPS tget uvfix;task'TABGET';inclass'PREFIX';inext'SU';pixxy 1,13,1;tabget 1 2 20-OCT-2009 06:35:32 AIPS if (keyvalue(1)<1) then; tput tabget;default tabed;tget tabget 1 2 20-OCT-2009 06:35:32 AIPS task'TABED';optype'REPL';aparm 13,0,0,2;keyvalue 1950.0 0;gx;end 1 2 20-OCT-2009 06:35:32 AIPS tget uvfix;inclass'PREFIX';gx;zap;inclass=outclass;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure addcalco 1 2 20-OCT-2009 06:35:32 AIPS $LOS - check for a calcode and add them if non-existent 1 2 20-OCT-2009 06:35:32 AIPS scalar maxcat,maxrow,hasacode,m2d,fnd,ii,jj,kk 1 2 20-OCT-2009 06:35:32 AIPS task'TABGET';inext'SU';keyword'NUM ROW';getthead 1 2 20-OCT-2009 06:35:32 AIPS maxrow=keyvalue(1);hasacode=0;jj=0 1 2 20-OCT-2009 06:35:32 AIPS while((jj' ')then;hasacode=1;end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(hasacode=0)then;fnd=0;type 'SEARCHING SOURCES TO ADD CALIBRATOR CODES' 1 2 20-OCT-2009 06:35:32 AIPS $ go through SU and check against calibrator list 1 2 20-OCT-2009 06:35:32 AIPS $ maybe do this anyway for all sources and not skip if one (above) found 1 2 20-OCT-2009 06:35:32 AIPS for jj=1:maxrow;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS pixxy=jj,2;tabget;error=0;syscom'grep -i 1 2 20-OCT-2009 06:35:32 AIPS if(keystrng='J0137+3309')then;keystrng'0137+331';end 1 2 20-OCT-2009 06:35:32 AIPS if(keystrng='J0521+1638')then;keystrng'0521+166';end 1 2 20-OCT-2009 06:35:32 AIPS if(keystrng='J0542+4951')then;keystrng'0542+498';end 1 2 20-OCT-2009 06:35:32 AIPS if(keystrng='J1331+3030')then;keystrng'1331+305';end 1 2 20-OCT-2009 06:35:32 AIPS if(keystrng='J1411+5212')then;keystrng'1411+522';end 1 2 20-OCT-2009 06:35:32 AIPS if((substr(keystrng,1,1)='J')&(substr(keystrng,2,2)<>'U'))then 1 2 20-OCT-2009 06:35:32 AIPS m2d=floor(value(substr(keystrng,9,10))/6);keystrng=substr(keystrng,2,8) 1 2 20-OCT-2009 06:35:32 AIPS sys2com(1)'X'!!keystrng!!char(m2d);else;sys2com(1)'X'!!keystrng 1 2 20-OCT-2009 06:35:32 AIPS end;clrtemp;kk=1;ii=length(keystrng) $ safeguard against spaces in name 1 2 20-OCT-2009 06:35:32 AIPS while((kk<=ii)&(substr(keystrng,kk,kk)<>''));kk=kk+1;end;m2d=kk+1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(m2d>1)then;for kk=m2d:ii;substr(keystrng,kk,kk)=' ';end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS sys2com(2)'X'!!'/users/lsjouwer/calvlaobs/csource.mas 1 2 20-OCT-2009 06:35:32 AIPS keyvalue=0;substr(sys2com(1),1,1)'';substr(sys2com(2),1,1)'';clrtemp 1 2 20-OCT-2009 06:35:32 AIPS system;keystrng'Y';if(error=-1)then;fnd=fnd+1;pixxy=jj,4;tabput;end;end 1 2 20-OCT-2009 06:35:32 AIPS if(fnd>0)then;type char(fnd)!!' CALCODES ADDED' $ ZAP if no code found 1 2 20-OCT-2009 06:35:32 AIPS else;type'ERROR: PIPELINE WILL FAIL TO COMPLETE (NO CALS)';zap;end;end;end 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure datachks 1 2 20-OCT-2009 06:35:32 AIPS $LOS - delete unwanted data sets, check for standard calibrators and make J2000 1 2 20-OCT-2009 06:35:32 AIPS if(error<1)then $ file exists 1 2 20-OCT-2009 06:35:32 AIPS skipdata;if(error<1)then $ file was not zapped 1 2 20-OCT-2009 06:35:32 AIPS checkcal;if(error<1)then $ file has standard calibrator in it 1 2 20-OCT-2009 06:35:32 AIPS addcalco 1 2 20-OCT-2009 06:35:32 AIPS shortname 1 2 20-OCT-2009 06:35:32 AIPS j2000fix 1 2 20-OCT-2009 06:35:32 AIPS end;end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure freqchks 1 2 20-OCT-2009 06:35:32 AIPS $LOS - split up in frequency IDs, run INDXR, and remove 1 2 20-OCT-2009 06:35:32 AIPS scalar rows, nfrq 1 2 20-OCT-2009 06:35:32 AIPS if(error<1)then $ file exists 1 2 20-OCT-2009 06:35:32 AIPS inext'FQ';invers=1;keyword='NUM ROW';getthead;nfrq=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS if (nfrq > 1) then 1 2 20-OCT-2009 06:35:32 AIPS if (nfrq > 9) then;type' WARNING! MORE THAN 9 FREQUENCY ID-S!';end 1 2 20-OCT-2009 06:35:32 AIPS tput getthead;default'UVCOP';tget getthead;keyword='';task'UVCOP';tput 1 2 20-OCT-2009 06:35:32 AIPS for rows=1:nfrq 1 2 20-OCT-2009 06:35:32 AIPS pixxy=rows,1,1;inver=1;inext='FQ';tabget;tget;freqid=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS outclass=substr(inclass,1,1)!!substr(inclass,3,6)!!char(freqid) 1 2 20-OCT-2009 06:35:32 AIPS type'COPYING FREQUENCY ID #'!!char(freqid);gx 1 2 20-OCT-2009 06:35:32 AIPS default'INDXR';tget uvcop;task'INDXR';inclass outclass;gx;task'DQUAL' 1 2 20-OCT-2009 06:35:32 AIPS $out not in! ** outname=inname;outclass=inclass;outseq=inseq;outdisk=indisk;gx 1 2 20-OCT-2009 06:35:32 AIPS tget uvcop;freqid=1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS end;end;end;if(nfrq>1)then;type fname!!' SPLIT IN :'!!char(nfrq);zap;end 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure pre_move 1 2 20-OCT-2009 06:35:32 AIPS $LOS - moves file to another AIPS user number 1 2 20-OCT-2009 06:35:32 AIPS default move;indisk=pdsk;outseq=-1;opcode'MOVE';clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure expid 1 2 20-OCT-2009 06:35:32 AIPS string*20 expnm 1 2 20-OCT-2009 06:35:32 AIPS string*75 expmsg 1 2 20-OCT-2009 06:35:32 AIPS return expnm 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS type expid 1 5 20-OCT-2009 06:35:32 AIPS ' ' 1 0 20-OCT-2009 06:35:32 AIPS run avlapipe 1 2 20-OCT-2009 06:35:32 AIPS Found in Version=ABIN 1 2 20-OCT-2009 06:35:32 AIPS $ 1 2 20-OCT-2009 06:35:32 AIPS $ Ver 1.0 : Copy of private Ver 3.0 of VLARUN (public version is 2.5): 1 2 20-OCT-2009 06:35:32 AIPS $ was 3.0 : Add PLVER (in goplt) for plot files and to include TASAV (12MAY04) 1 2 20-OCT-2009 06:35:32 AIPS $ Repositioned inseq=0 to safeguard to SU-tab confusion (12NOV04) 1 2 20-OCT-2009 06:35:32 AIPS $ Rearanged inputs and options, added integration time calculation, 1 2 20-OCT-2009 06:35:32 AIPS $ QUACK, selective plotting, INNAME vs DOCAT, alternative flux cal, 1 2 20-OCT-2009 06:35:32 AIPS $ selective imaging, SCIMG for targets, use model in CALIB, find VLA 1 2 20-OCT-2009 06:35:32 AIPS $ array, use model,.. 1 2 20-OCT-2009 06:35:32 AIPS $ 1 2 20-OCT-2009 06:35:32 AIPS $Next vers add polarization calibration, SCIMG->SCIMG? 1 2 20-OCT-2009 06:35:32 AIPS $ find imsize, find cutoffflux, include infile 1 2 20-OCT-2009 06:35:32 AIPS $--------------------------------------------------------------- 1 2 20-OCT-2009 06:35:32 AIPS $0000000011111111112222222222333333333344444444445555555555666666666677777777778 1 2 20-OCT-2009 06:35:32 AIPS $2345678901234567890123456789012345678901234567890123456789012345678901234567890 1 2 20-OCT-2009 06:35:32 AIPS $=============================================== 1 2 20-OCT-2009 06:35:32 AIPS $! Calibrating amplitude and phase, and imaging VLA data 1 2 20-OCT-2009 06:35:32 AIPS $# RUN POPS VLA UTILITY CALIBRATION IMAGING 1 2 20-OCT-2009 06:35:32 AIPS $--------------------------------------------------------------- 1 2 20-OCT-2009 06:35:32 AIPS $; Copyright (C) 2002-2006 1 2 20-OCT-2009 06:35:32 AIPS $; Associated Universities, Inc. Washington DC, USA. 1 2 20-OCT-2009 06:35:32 AIPS $; 1 2 20-OCT-2009 06:35:32 AIPS $; This program is free software; you can redistribute it and/or 1 2 20-OCT-2009 06:35:32 AIPS $; modify it under the terms of the GNU General Public License as 1 2 20-OCT-2009 06:35:32 AIPS $; published by the Free Software Foundation; either version 2 of 1 2 20-OCT-2009 06:35:32 AIPS $; the License, or (at your option) any later version. 1 2 20-OCT-2009 06:35:32 AIPS $; 1 2 20-OCT-2009 06:35:32 AIPS $; This program is distributed in the hope that it will be useful, 1 2 20-OCT-2009 06:35:32 AIPS $; but WITHOUT ANY WARRANTY; without even the implied warranty of 1 2 20-OCT-2009 06:35:32 AIPS $; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1 2 20-OCT-2009 06:35:32 AIPS $; GNU General Public License for more details. 1 2 20-OCT-2009 06:35:32 AIPS $; 1 2 20-OCT-2009 06:35:32 AIPS $; You should have received a copy of the GNU General Public 1 2 20-OCT-2009 06:35:32 AIPS $; License along with this program; if not, write to the Free 1 2 20-OCT-2009 06:35:32 AIPS $; Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, 1 2 20-OCT-2009 06:35:32 AIPS $; MA 02139, USA. 1 2 20-OCT-2009 06:35:32 AIPS $; 1 2 20-OCT-2009 06:35:32 AIPS $; Correspondence concerning AIPS should be addressed as follows: 1 2 20-OCT-2009 06:35:32 AIPS $; Internet email: aipsmail@nrao.edu. 1 2 20-OCT-2009 06:35:32 AIPS $; Postal address: AIPS Project Office 1 2 20-OCT-2009 06:35:32 AIPS $; National Radio Astronomy Observatory 1 2 20-OCT-2009 06:35:32 AIPS $; 520 Edgemont Road 1 2 20-OCT-2009 06:35:32 AIPS $; Charlottesville, VA 22903-2475 USA 1 2 20-OCT-2009 06:35:32 AIPS $--------------------------------------------------------------- 1 2 20-OCT-2009 06:35:32 AIPS $=============================================================== 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure pipeinit 1 2 20-OCT-2009 06:35:32 AIPS scalar lsdisk,lsname,lsrant,lscont,lserr,lsplot,lsflag,k,lsflux,lstarg,lsmodl 1 2 20-OCT-2009 06:35:32 AIPS scalar lsids,star,tint,fsw,kj 1 2 20-OCT-2009 06:35:32 AIPS string*2 lstyp 1 2 20-OCT-2009 06:35:32 AIPS string*3 lsvla 1 2 20-OCT-2009 06:35:32 AIPS string*6 lsidc,lsstrng 1 2 20-OCT-2009 06:35:32 AIPS string*16 lsidn,lscal,lsobj 1 2 20-OCT-2009 06:35:32 AIPS string*16 lsampcal(20),lsbndcal(5),lsphacal(20),lspntcal(25),lsallcal(30), 1 2 20-OCT-2009 06:35:32 AIPS array lsbadd(10),lsparm(16),lssid(1000) $ D=1,C=3.3,B=10.8,A=35.4,PT=73 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS pipeinit 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure shortname 1 2 20-OCT-2009 06:35:32 AIPS scalar idx,nsrc,ll,ii,spc 1 2 20-OCT-2009 06:35:32 AIPS string*12 newstrng 1 2 20-OCT-2009 06:35:32 AIPS keyword'NUM ROW';inext'SU';getthead;nsrc=keyvalue(1);keyword'';keyvalue 0 1 2 20-OCT-2009 06:35:32 AIPS for idx=1:nsrc;pixxy=idx,2,1;tabget;ll=length(keystrng);newstrng'' 1 2 20-OCT-2009 06:35:32 AIPS if(ll>12)then;spc=0;ll=1 1 2 20-OCT-2009 06:35:32 AIPS while(spc=0&ll<17);substr(newstrng,ll,ll)=substr(keystrng,ll,ll) 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,ll,ll+1)=' ')then 1 2 20-OCT-2009 06:35:32 AIPS if(spc=0)then;spc=1;substr(newstrng,ll,ll)='@';end 1 2 20-OCT-2009 06:35:32 AIPS end;ll=ll+1;clrtemp;end;ii=ll 1 2 20-OCT-2009 06:35:32 AIPS while(ll<17) 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,ll,ll)<>' ')then 1 2 20-OCT-2009 06:35:32 AIPS substr(newstrng,ii,ii)=substr(keystrng,ll,ll);ii=ii+1 1 2 20-OCT-2009 06:35:32 AIPS end;ll=ll+1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS end;ll=length(newstrng);nsrc=min(12,ll) $ for safety during tests 1 2 20-OCT-2009 06:35:32 AIPS if(ll>12)then;keystrng=newstrng;ll=ll+1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS for ii=1:nsrc;substr(newstrng,ii,ii)=substr(keystrng,ll-ii,ll-ii);end 1 2 20-OCT-2009 06:35:32 AIPS end;task'TABED';clroname;inext'SU';optype'REPL';keyword'';keyvalue 0 1 2 20-OCT-2009 06:35:32 AIPS aparm 2 1;bcount=idx;ecount=idx;keystrng=newstrng;go;wait;end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure longname 1 2 20-OCT-2009 06:35:32 AIPS scalar idx,nsrc,ii 1 2 20-OCT-2009 06:35:32 AIPS keyword'NUM ROW';inext'SU';getthead;nsrc=keyvalue(1);keyword'';keyvalue 0;ii=0 1 2 20-OCT-2009 06:35:32 AIPS for idx=1:nsrc;pixxy=idx,2,1;tabget;if(length(keystrng)>12)then;ii=ii+1;end;end 1 2 20-OCT-2009 06:35:32 AIPS if(ii>0)then;lserr=9 1 2 20-OCT-2009 06:35:32 AIPS type'!';type'! WARNING: SOURCE NAMES TOO LONG: VLARUN WILL NOT RUN PROPERLY' 1 2 20-OCT-2009 06:35:32 AIPS type'!';type'! - if this is planetary data, rerun FILLM with CPARM(2) >= 16 1 2 20-OCT-2009 06:35:32 AIPS type'! - if this is a mozaic, rename the fields with the same field 1 2 20-OCT-2009 06:35:32 AIPS type'! names in the SU-table to something unique <= 12 characters 1 2 20-OCT-2009 06:35:32 AIPS type'! in TABED or use the predefined procedure shortname on the 1 2 20-OCT-2009 06:35:32 AIPS type'! catalog data (remember to do it on both CH0 and LINE if it 1 2 20-OCT-2009 06:35:32 AIPS type'! is line data) 1 2 20-OCT-2009 06:35:32 AIPS type'! - if you just have long source names, make them short in the 1 2 20-OCT-2009 06:35:32 AIPS type'! SU-table (<=12 char) and unique using TABED or "shortname" 1 2 20-OCT-2009 06:35:32 AIPS type'!';type'! --- EXITING VLARUN so you can fix this first --- 1 2 20-OCT-2009 06:35:32 AIPS type'! ('!!char(ii)!!' sources need to be fixed in the SU-table) 1 2 20-OCT-2009 06:35:32 AIPS type'!';end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure pipeinpt 1 2 20-OCT-2009 06:35:32 AIPS lsampcal '3C48', '0134+329','0137+331','J0137+3309' 1 2 20-OCT-2009 06:35:32 AIPS lsampcal(5)~ '3C138','0518+165','0521+166','J0521+1638' 1 2 20-OCT-2009 06:35:32 AIPS lsampcal(9)~ '3C147','0538+498','0542+498','J0542+4951' 1 2 20-OCT-2009 06:35:32 AIPS lsampcal(13)~'3C286','1328+307','1331+305','J1331+3030' 1 2 20-OCT-2009 06:35:32 AIPS lsampcal(17)~'3C295','1409+524','1411+522','J1411+5212' 1 2 20-OCT-2009 06:35:32 AIPS lserr=0;lsbadd=baddisk;lsdisk=indisk;lsname=docat 1 2 20-OCT-2009 06:35:32 AIPS lsidn=inname;lsidc=inclass;lsids=inseq;lstyp'UV';fsw=doalign;lsflag=flagver 1 2 20-OCT-2009 06:35:32 AIPS lsparm(2)=solint;lsparm(13)=factor;lsrant=refant;lsmodl=domodel 1 2 20-OCT-2009 06:35:32 AIPS lscal=keystrng;lsflux=flux;lsparm(3)=uvrange(1);lsparm(4)=uvrange(2) 1 2 20-OCT-2009 06:35:32 AIPS for k=1:20;lsphacal(k)=sources(k);end;for k=1:5;lsbndcal(k)=calsour(k);end 1 2 20-OCT-2009 06:35:32 AIPS lsparm(11)=dopol;lsparm(12)=bpa;lscont=docont;lsplot=plver;lsparm(1)=doall 1 2 20-OCT-2009 06:35:32 AIPS lsparm(5)=doarray;lsparm(6)=imsize(1);lsparm(7)=niter;lsparm(8)=cutoff 1 2 20-OCT-2009 06:35:32 AIPS lsparm(9)=docal;lsparm(10)=doresid 1 2 20-OCT-2009 06:35:32 AIPS $ check input values 1 2 20-OCT-2009 06:35:32 AIPS $->lsbadd 1 2 20-OCT-2009 06:35:32 AIPS if (lsdisk<=0) then;lserr=1;type'SPECIFY THE INDISK';end 1 2 20-OCT-2009 06:35:32 AIPS if(lsname<=0)then;inname=lsidn;inclass=lsidc;inseq=lsids;intype=lstyp;chkname 1 2 20-OCT-2009 06:35:32 AIPS if (error<>0) then 1 2 20-OCT-2009 06:35:32 AIPS lserr=2; type 'SPECIFY INNAME, ETC, OR THE CATALOG NUMBER = DOCAT' 1 2 20-OCT-2009 06:35:32 AIPS else 1 2 20-OCT-2009 06:35:32 AIPS userid=0;k=1;lsname=0 1 2 20-OCT-2009 06:35:32 AIPS while (lsname=0);egetname k 1 2 20-OCT-2009 06:35:32 AIPS if (( (lsidn=inname)&(lsidc=inclass) )&(lsids=inseq)) then 1 2 20-OCT-2009 06:35:32 AIPS lsname=k;lsidn=inname;lsidc=inclass;lsids=inseq;lstyp=intype 1 2 20-OCT-2009 06:35:32 AIPS else;k=k+1;end;end;end;else 1 2 20-OCT-2009 06:35:32 AIPS if ( ((inname <> '')!(inclass <> '')) ! (inseq <> 0) ) then 1 2 20-OCT-2009 06:35:32 AIPS lserr=2; type 'DO NOT SPECIFY BOTH INNAME, ETC, AND VARIABLE DOCAT' 1 2 20-OCT-2009 06:35:32 AIPS else 1 2 20-OCT-2009 06:35:32 AIPS getname(lsname);lsidn=inname;lsidc=inclass;lsids=inseq;lstyp=intype 1 2 20-OCT-2009 06:35:32 AIPS end 1 2 20-OCT-2009 06:35:32 AIPS end 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS $->inname 1 2 20-OCT-2009 06:35:32 AIPS $->inclass 1 2 20-OCT-2009 06:35:32 AIPS $->inseq 1 2 20-OCT-2009 06:35:32 AIPS $->fsw 1 2 20-OCT-2009 06:35:32 AIPS $->lsflag 1 2 20-OCT-2009 06:35:32 AIPS if (lsparm(2)<=0) then; lserr=3; type 'SPECIFY THE SOLUTION INTERVAL';end 1 2 20-OCT-2009 06:35:32 AIPS if (lsparm(13)<1)then;lsparm(13)=1;type'FACTOR<1 QUESTIONABLE, SET TO 1';end 1 2 20-OCT-2009 06:35:32 AIPS if (lsrant<=0)then;lsrant=0;type'AIPS WILL CHOOSE THE REFERENCE ANTENNA';end 1 2 20-OCT-2009 06:35:32 AIPS if ( (lsmodl>0) & (length(lscal)>0) ) then 1 2 20-OCT-2009 06:35:32 AIPS lserr=4;type 'CANNOT USE STANDARD SOURCE MODEL FOR ALTERNATIVE CALIBRATOR' 1 2 20-OCT-2009 06:35:32 AIPS end 1 2 20-OCT-2009 06:35:32 AIPS $->lscal 1 2 20-OCT-2009 06:35:32 AIPS if (length(lscal)<>0) then 1 2 20-OCT-2009 06:35:32 AIPS type 'USING NON-STANDARD AMPLITUDE CALIBRATOR, FLUX, UVRANGE :' 1 2 20-OCT-2009 06:35:32 AIPS type lscal, lsflux, lsparm(3), lsparm(4);lsampcal='';lsampcal(1)=lscal 1 2 20-OCT-2009 06:35:32 AIPS end 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS $->lsflux 1 2 20-OCT-2009 06:35:32 AIPS $-> #3+#4 uvrange 1 2 20-OCT-2009 06:35:32 AIPS for i=1:20;for j=1:16;if(substr(lsphacal(i),j,j)='*')then;if (lserr<>7) then 1 2 20-OCT-2009 06:35:32 AIPS if((i=1)&(j=1))then;star=1;else 1 2 20-OCT-2009 06:35:32 AIPS star=-1;lserr=7;type'ONLY USE * IN THE 1ST CHARACTER OF THE 1ST SOURCE' 1 2 20-OCT-2009 06:35:32 AIPS end;end;end;end;clrtemp;end 1 2 20-OCT-2009 06:35:32 AIPS if (lsname>0) then; indisk=lsdisk; getname(lsname);longname;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (inclass='CH 0') then;inclass='LINE';longname;inclass='CH 0';end 1 2 20-OCT-2009 06:35:32 AIPS if ( (inclass='CH 0') & (substr(lsbndcal(1),1,1) = ' ') ) then 1 2 20-OCT-2009 06:35:32 AIPS lserr=8;type 'SPECIFY THE BANDPASS CALIBRATOR = CALSOUR' 1 2 20-OCT-2009 06:35:32 AIPS end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS $-> #11 dopol 1 2 20-OCT-2009 06:35:32 AIPS $-> #12 bpa 1 2 20-OCT-2009 06:35:32 AIPS $->lscont 1 2 20-OCT-2009 06:35:32 AIPS $->lsplot 1 2 20-OCT-2009 06:35:32 AIPS if (lsparm(1) > 0) then 1 2 20-OCT-2009 06:35:32 AIPS if (lsparm(5)<0) then;type 'SETFC WILL DETERMINE THE CELL SIZE' 1 2 20-OCT-2009 06:35:32 AIPS else 1 2 20-OCT-2009 06:35:32 AIPS if (lsparm(5)=0) then 1 2 20-OCT-2009 06:35:32 AIPS keyword='TELESCOP';gethead 1 2 20-OCT-2009 06:35:32 AIPS if (substr(keystrng,1,3)<>'VLA') then 1 2 20-OCT-2009 06:35:32 AIPS lserr=5; type 'CANNOT DETERMINE ARRAY - THIS IS NOT THE VLA' 1 2 20-OCT-2009 06:35:32 AIPS else;keyword'NUM ROW';inext'AN';invers=0;getthead;k=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS for j=1:k 1 2 20-OCT-2009 06:35:32 AIPS pixxy=j,1,0;tabget;i=1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS while((substr(keystrng,i,i)<>':')&(i<9));i=i+1;end 1 2 20-OCT-2009 06:35:32 AIPS if ((substr(keystrng,i+1,i+1)<>' ')&(substr(keystrng,i+1,i+1)<>'_'))then 1 2 20-OCT-2009 06:35:32 AIPS lsvla=substr(keystrng,i+1,i+3);else 1 2 20-OCT-2009 06:35:32 AIPS lsvla=substr(keystrng,i+2,i+4);end 1 2 20-OCT-2009 06:35:32 AIPS if ((lsvla<>'OUT')&(lsvla<>'MPD'))then 1 2 20-OCT-2009 06:35:32 AIPS if (lsvla='VPT')then;lsparm(5)=75;else 1 2 20-OCT-2009 06:35:32 AIPS if ((substr(keystrng,i+1,i+1)<>' ')&(substr(keystrng,i+1,i+1)<>'_'))then 1 2 20-OCT-2009 06:35:32 AIPS keyword=substr(keystrng,i+2,i+8);else 1 2 20-OCT-2009 06:35:32 AIPS keyword=substr(keystrng,i+3,i+9);end 1 2 20-OCT-2009 06:35:32 AIPS lsparm(5)=max(lsparm(5),value(keyword));clrtemp;end;end;end 1 2 20-OCT-2009 06:35:32 AIPS if (lsparm(5)<75) then;if (lsparm(5)>36) then;lsparm(5)=36;else 1 2 20-OCT-2009 06:35:32 AIPS if (lsparm(5)>18) then;lsparm(5)=11;else 1 2 20-OCT-2009 06:35:32 AIPS if(lsparm(5)>9)then;lsparm(5)=3.5;else;lsparm(5)=1;end;end;end;end 1 2 20-OCT-2009 06:35:32 AIPS end;if(lsparm(5)=0)then;lserr=5;type'WHAT ARRAY?! USE DOARRAY';else 1 2 20-OCT-2009 06:35:32 AIPS if(lsparm(5)>0)then 1 2 20-OCT-2009 06:35:32 AIPS type char(lsparm(5))!!' KILOMETERS WILL BE USED AS MAXIMUM BASELINE' 1 2 20-OCT-2009 06:35:32 AIPS end;end;end;end 1 2 20-OCT-2009 06:35:32 AIPS if (lsparm(6)>=0)then;if((lsparm(6)<128)!(imsize(2)<128))then 1 2 20-OCT-2009 06:35:32 AIPS lserr=6; type 'SPECIFY THE IMSIZE CORRECTLY (>127 OR <0)';end;end 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS $-> #7 niter 1 2 20-OCT-2009 06:35:32 AIPS if (lsparm(7) < 0) then; lsparm(7) = 7e4; end 1 2 20-OCT-2009 06:35:32 AIPS $-> #8 cutoff 1 2 20-OCT-2009 06:35:32 AIPS $-> #9 docal 1 2 20-OCT-2009 06:35:32 AIPS $-> #10 doresid 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS end 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure getidn 1 2 20-OCT-2009 06:35:32 AIPS indisk=lsdisk;inname=lsidn;inclass=lsidc;inseq=lsids;intype=lstyp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure gx 1 2 20-OCT-2009 06:35:32 AIPS $ inputs 1 2 20-OCT-2009 06:35:32 AIPS go;wait 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure getset 1 2 20-OCT-2009 06:35:32 AIPS default;getidn;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure lsclrcal 1 2 20-OCT-2009 06:35:32 AIPS $ consolidate lists, deal with calcode='*' later 1 2 20-OCT-2009 06:35:32 AIPS scalar lsidx,l,m,n 1 2 20-OCT-2009 06:35:32 AIPS task'TABGET';getset;inext'NX';invers 0;keyvalue=0;keystrng'' 1 2 20-OCT-2009 06:35:32 AIPS keyword'NUM ROW';getthead;lsidx=keyvalue(1);clrtemp;n=0;lssid=0 1 2 20-OCT-2009 06:35:32 AIPS if (keyvalue(1)>1000)then;type'WARNING: MORE THAN 1000 SCANS !';end 1 2 20-OCT-2009 06:35:32 AIPS for i=1:lsidx $ remember source number 1 2 20-OCT-2009 06:35:32 AIPS pixxy=i,3,0;tabget;error=0 1 2 20-OCT-2009 06:35:32 AIPS for l=1:n;if(lssid(l)=keyvalue(1))then;error=1;end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(error=0)then;n=n+1;lssid(n)=keyvalue(1);end 1 2 20-OCT-2009 06:35:32 AIPS end;inext'SU';invers 0;keyvalue=0;keystrng'';keyword'NUM ROW' 1 2 20-OCT-2009 06:35:32 AIPS getthead;lsidx=keyvalue(1);clrtemp;sources'';l=1;m=1;n=1 1 2 20-OCT-2009 06:35:32 AIPS for i=1:lsidx 1 2 20-OCT-2009 06:35:32 AIPS pixxy=i,2,0;tabget;k=length(keystrng);j=0;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS while (j<20);j=j+1;if (substr(lsampcal(j),1,k)=substr(keystrng,1,k)) then 1 2 20-OCT-2009 06:35:32 AIPS lsampcal(l)=lsampcal(j);j=30;lsparm(14)=l;l=l+1;end;end;j=0;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS while (j<20);j=j+1;if (substr(lsphacal(j),1,k)=substr(keystrng,1,k)) then 1 2 20-OCT-2009 06:35:32 AIPS lsphacal(m)=lsphacal(j);j=30;lsparm(15)=m;m=m+1;end;end;j=0;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS while (j<5);j=j+1;if (substr(lsbndcal(j),1,k)=substr(keystrng,1,k)) then 1 2 20-OCT-2009 06:35:32 AIPS lsbndcal(n)=lsbndcal(j);j=30;lsparm(16)=n;n=n+1;end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS end;lspntcal'';lsallcal'';for j=l:20;lsampcal(j)='';end 1 2 20-OCT-2009 06:35:32 AIPS for j=m:20;lsphacal(j)='';end;for j=n:5;lsbndcal(j)='';end 1 2 20-OCT-2009 06:35:32 AIPS for j=1:lsparm(15);lspntcal(j)=lsphacal(j);end;k=lsparm(15) 1 2 20-OCT-2009 06:35:32 AIPS for j=1:lsparm(16);lspntcal(j+k)=lsbndcal(j);end;j=0;l=1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS while (j<(lsparm(15)+lsparm(16)));j=j+1;if (length(lspntcal(j))>0) then 1 2 20-OCT-2009 06:35:32 AIPS lspntcal(l)=lspntcal(j);if(l<>j)then;lspntcal(j)='';end;l=l+1;end;end 1 2 20-OCT-2009 06:35:32 AIPS $here - clean up pnt cal for doubles - subtract from total count below 1 2 20-OCT-2009 06:35:32 AIPS k=lsparm(15)+lsparm(16);for j=1:k;lsallcal(j)=lspntcal(j);end;l=1 1 2 20-OCT-2009 06:35:32 AIPS for j=1:lsparm(14);i=length(lsampcal(j));lsidx=0;m=j 1 2 20-OCT-2009 06:35:32 AIPS while ((lsidx0) then;lsallcal(l)=lsallcal(j) 1 2 20-OCT-2009 06:35:32 AIPS if(l<>j)then;lsallcal(j)='';end;l=l+1;end;end 1 2 20-OCT-2009 06:35:32 AIPS $typ 'LSAMPCAL, LSPHACAL, LSBNDCAL, LSPNTCAL, AND LSALLCAL :' 1 2 20-OCT-2009 06:35:32 AIPS $typ lsampcal; typ lsphacal; typ lsbndcal; typ lspntcal; typ lsallcal 1 2 20-OCT-2009 06:35:32 AIPS return;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure numtab(lsstrng) 1 2 20-OCT-2009 06:35:32 AIPS keystrng'';j=0;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS while ((j<15)&(keystrng<>lsstrng)) 1 2 20-OCT-2009 06:35:32 AIPS j=j+1;keyword'EXTYPE'!!char(j);gethead;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (keystrng=lsstrng) then 1 2 20-OCT-2009 06:35:32 AIPS keyword'EXTVER'!!char(j);gethead;else;keyvalue=0;end 1 2 20-OCT-2009 06:35:32 AIPS keyword'';keystrng'';clrtemp 1 2 20-OCT-2009 06:35:32 AIPS return keyvalue(1);finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure numbasel 1 2 20-OCT-2009 06:35:32 AIPS scalar numarow,numbout,numbant,numbase,idx;string*16 nameant 1 2 20-OCT-2009 06:35:32 AIPS numbout=0;keyword'NUM ROW';inext'AN';invers=0;getthead;numarow=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS for numbant=1:numarow 1 2 20-OCT-2009 06:35:32 AIPS pixxy=numbant,1,0;tabget;nameant=keystrng;idx=1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS while(substr(nameant,idx,idx)<>':');idx=idx+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(substr(nameant,idx+1,idx+3)='OUT')then;numbout=numbout+1;end 1 2 20-OCT-2009 06:35:32 AIPS if(substr(nameant,idx+2,idx+4)='OUT')then;numbout=numbout+1;end 1 2 20-OCT-2009 06:35:32 AIPS end;numbase=(numarow-numbout)*(numarow-numbout-1)/2;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS $ type char(numarow-numbout)!!' ANTENNAS',char(numbase)!!' BASELINES' 1 2 20-OCT-2009 06:35:32 AIPS return numbase 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure calcintt 1 2 20-OCT-2009 06:35:32 AIPS scalar numxrow,numscan,numbbeg,numbend,numcnst,sum,avr,rms,rmax;rmax=300 1 2 20-OCT-2009 06:35:32 AIPS array interval(1000),numbvis(1000);avr=0;if(rmax>1000)then;rmax=1000;end 1 2 20-OCT-2009 06:35:32 AIPS if (numtab('NX')<1) then;type'NOT MULTISOURCE - NO INTTIME CALCULATED' 1 2 20-OCT-2009 06:35:32 AIPS else 1 2 20-OCT-2009 06:35:32 AIPS keyword'NUM ROW';inext'NX';invers 0;getthead;numxrow=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS if(numxrow>rmax)then;numxrow rmax;end 1 2 20-OCT-2009 06:35:32 AIPS for numscan=1:numxrow;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS pixxy=numscan,2,0;tabget;interval(numscan)=86400*keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS pixxy=numscan,5,0;tabget;numbbeg=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS pixxy=numscan,6,0;tabget;numbend=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS numbvis(numscan)=numbend-numbbeg+1;avr=max(avr,numbvis(numscan)) 1 2 20-OCT-2009 06:35:32 AIPS end;numcnst=numbasel;sum=0 1 2 20-OCT-2009 06:35:32 AIPS if (avr > 0) then 1 2 20-OCT-2009 06:35:32 AIPS for numscan=1:numxrow;if (numbvis(numscan)>0) then 1 2 20-OCT-2009 06:35:32 AIPS sum=sum+( (numcnst*interval(numscan)) / numbvis(numscan) ) 1 2 20-OCT-2009 06:35:32 AIPS end;end;clrtemp;avr=sum/numxrow;sum=0 1 2 20-OCT-2009 06:35:32 AIPS for numscan=1:numxrow;if (numbvis(numscan)>0) then 1 2 20-OCT-2009 06:35:32 AIPS sum=sum+((numcnst*interval(numscan))/numbvis(numscan)-avr)**2 1 2 20-OCT-2009 06:35:32 AIPS end;end;clrtemp;rms=sum/numxrow;clrtemp;end 1 2 20-OCT-2009 06:35:32 AIPS $ type char(numxrow)!!' SCANS/SAMPLES WITH RMS(SEC) +/-'!!char(rms) 1 2 20-OCT-2009 06:35:32 AIPS $ type char(avr)!!' SECOND INTEGRATIONS (APPROXIMATELY)' 1 2 20-OCT-2009 06:35:32 AIPS end 1 2 20-OCT-2009 06:35:32 AIPS return avr 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure guesintt 1 2 20-OCT-2009 06:35:32 AIPS scalar intcst,intavr,intmod,intime 1 2 20-OCT-2009 06:35:32 AIPS intavr=calcintt;intcst=intavr;keyword'TELESCOP';gethead 1 2 20-OCT-2009 06:35:32 AIPS if (keystrng='VLA') then;intcst=1+(2/3);end 1 2 20-OCT-2009 06:35:32 AIPS if (keystrng='VLBA') then;intcst=0.131072;end 1 2 20-OCT-2009 06:35:32 AIPS if (intcst=intavr) then;type'UNKNOWN TELESCOPE :'!!keystrng;end 1 2 20-OCT-2009 06:35:32 AIPS if (intavr>10) then 1 2 20-OCT-2009 06:35:32 AIPS $ intime=10*floor(0.5+(intavr/10)) 1 2 20-OCT-2009 06:35:32 AIPS intime=10*floor(intavr/10) 1 2 20-OCT-2009 06:35:32 AIPS else;if (intavr>0) then 1 2 20-OCT-2009 06:35:32 AIPS intmod=mod(intavr,intcst) 1 2 20-OCT-2009 06:35:32 AIPS $ intime=intcst*((intavr-intmod)/intcst+floor(0.5+(intmod/intcst))) 1 2 20-OCT-2009 06:35:32 AIPS intime=intcst*((intavr-intmod)/intcst+floor(intmod/intcst)) 1 2 20-OCT-2009 06:35:32 AIPS else;intime=intavr;end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(numtab('NX')>0)then;type char(intime)!!' SECOND INTEGRATIONS (GUESS)';end 1 2 20-OCT-2009 06:35:32 AIPS return intime 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure checkids 1 2 20-OCT-2009 06:35:32 AIPS $LOS - account for fast switching source names - check on pos, qual, calco 1 2 20-OCT-2009 06:35:32 AIPS scalar ra1a,ra1b,ra2a,ra2b,dc1a,dc1b,dc2a,dc2b,n,m,l,idx 1 2 20-OCT-2009 06:35:32 AIPS scalar q1,q2,k,x,y1,y2 1 2 20-OCT-2009 06:35:32 AIPS string*1 co1,co2 1 2 20-OCT-2009 06:35:32 AIPS string*16 n1,n2 1 2 20-OCT-2009 06:35:32 AIPS array alist(100),blist(100) 1 2 20-OCT-2009 06:35:32 AIPS inext'SU';invers 0;keyword'NUM ROW';keyvalue 0;keystrng'';getthead 1 2 20-OCT-2009 06:35:32 AIPS n=keyvalue(1);idx=1;aparm 0;bparm 0;alist 0;blist 0 1 2 20-OCT-2009 06:35:32 AIPS if (n < 2) then; type'ONE SOURCE ONLY, SKIPPING FASTSWITCH TEST';else 1 2 20-OCT-2009 06:35:32 AIPS for m=1:(n-1);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS pixxy m,11;inext'SU';tabget;ra1a keyvalue(1);ra1b keyvalue(2) 1 2 20-OCT-2009 06:35:32 AIPS for l=(m+1):n;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS pixxy l,11;tabget;ra2a keyvalue(1);ra2b keyvalue(2) 1 2 20-OCT-2009 06:35:32 AIPS if (abs(ra1a-ra2a)=0) then 1 2 20-OCT-2009 06:35:32 AIPS if ( abs((ra1b-ra2b)*3600*1000) < 3 ) then $ RA within 3 mas! 1 2 20-OCT-2009 06:35:32 AIPS pixxy m,12;tabget;dc1a keyvalue(1);dc1b keyvalue(2) 1 2 20-OCT-2009 06:35:32 AIPS pixxy l,12;tabget;dc2a keyvalue(1);dc2b keyvalue(2) 1 2 20-OCT-2009 06:35:32 AIPS if (abs(dc1a-dc2a)=0) then 1 2 20-OCT-2009 06:35:32 AIPS if ( abs((dc1b-dc2b)*3600*1000) < 3 ) then $ DC within 3 mas! 1 2 20-OCT-2009 06:35:32 AIPS pixxy m,3;tabget;q1 keyvalue(1);pixxy l,3;tabget;q2 keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS $if one has zero vis then next checks not needed and declare/fix same source 1 2 20-OCT-2009 06:35:32 AIPS inext'NX';keyword'NUM ROW';getthead;k=keyvalue(1);y1=0;y2=0 1 2 20-OCT-2009 06:35:32 AIPS for x=1:k;pixxy x,3;tabget 1 2 20-OCT-2009 06:35:32 AIPS if(keyval(1)=m)then;y1=y1+1;else; 1 2 20-OCT-2009 06:35:32 AIPS if(keyval(1)=l)then;y2=y2+1;end;end 1 2 20-OCT-2009 06:35:32 AIPS end $ if ((y1=0)!(y2=0)) then one has 0 visibilities: do dsorc 1 2 20-OCT-2009 06:35:32 AIPS if (q1=q2)!((y1=0)!(y2=0)) then ;inext'SU' $ same calcode? 1 2 20-OCT-2009 06:35:32 AIPS pixxy m,4;tabget;co1 keystrng;pixxy l,4;tabget;co2 keystrng 1 2 20-OCT-2009 06:35:32 AIPS if (co1=co2)!((y1=0)!(y2=0)) then 1 2 20-OCT-2009 06:35:32 AIPS pixxy m,1;tabget;q1 keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS pixxy l,1;tabget;q2 keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS pixxy m,2;tabget;n1 keystrng;pixxy l,2;tabget;n2 keystrng 1 2 20-OCT-2009 06:35:32 AIPS if (idx>100) then 1 2 20-OCT-2009 06:35:32 AIPS type 'TOO MANY SOURCES TO DO DSORC - DO BY HAND!' 1 2 20-OCT-2009 06:35:32 AIPS type 'NEXT =.'!!char(idx)!!' DO:'!!char(l)!!'.&.'!!char(m) 1 2 20-OCT-2009 06:35:32 AIPS else 1 2 20-OCT-2009 06:35:32 AIPS if (length(n1)1) then;task'DSORC';n=0 1 2 20-OCT-2009 06:35:32 AIPS outname inname;outclass inclass;outseq inseq;outdisk indisk 1 2 20-OCT-2009 06:35:32 AIPS while (n100)then;type'TOO MANY SOURCES FOR DSORC';error 1;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS end 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure chkobjct 1 2 20-OCT-2009 06:35:32 AIPS if (((lsobj='3C286')!(lsobj='3C48'))!((lsobj='3C138')!(lsobj='3C147'))) 1 2 20-OCT-2009 06:35:32 AIPS then; object=lsobj;end 1 2 20-OCT-2009 06:35:32 AIPS if (( (lsobj='1331+305') ! (lsobj='1328+307') ) ! (lsobj='J1331+3030') ) 1 2 20-OCT-2009 06:35:32 AIPS then; object='3C286';end 1 2 20-OCT-2009 06:35:32 AIPS if (( (lsobj='0137+331') ! (lsobj='0134+329') ) ! (lsobj='J0137+3309') ) 1 2 20-OCT-2009 06:35:32 AIPS then; object='3C48';end 1 2 20-OCT-2009 06:35:32 AIPS if (( (lsobj='0521+166') ! (lsobj='0518+165') ) ! (lsobj='J0521+1638') ) 1 2 20-OCT-2009 06:35:32 AIPS then; object='3C138';end 1 2 20-OCT-2009 06:35:32 AIPS if (( (lsobj='0542+498') ! (lsobj='0538+498') ) ! (lsobj='J0542+4951') ) 1 2 20-OCT-2009 06:35:32 AIPS then; object='3C147';end 1 2 20-OCT-2009 06:35:32 AIPS if (( (lsobj='1411+522') ! (lsobj='1409+524') ) ! (lsobj='J1411+5212') ) 1 2 20-OCT-2009 06:35:32 AIPS then; object='3C295';end;clrtemp;return 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure checkbnd 1 2 20-OCT-2009 06:35:32 AIPS band='';j=1 1 2 20-OCT-2009 06:35:32 AIPS while (j<9) 1 2 20-OCT-2009 06:35:32 AIPS keyword='CTYPE'!!char(j);gethead;keyword='CRVAL'!!char(j);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (keystrng='FREQ') then;gethead;j=9;else;j=j+1;end;end 1 2 20-OCT-2009 06:35:32 AIPS keyvalue(1)=keyvalue(1)/1e9 1 2 20-OCT-2009 06:35:32 AIPS if ( (keyvalue(1)>38) & (keyvalue(1)<51) ) then; band='Q';end 1 2 20-OCT-2009 06:35:32 AIPS if ( (keyvalue(1)>20.4) & (keyvalue(1)<25.5) ) then; band='K';end 1 2 20-OCT-2009 06:35:32 AIPS if ( (keyvalue(1)>13.5) & (keyvalue(1)<16.3) ) then; band='U';end 1 2 20-OCT-2009 06:35:32 AIPS if ( (keyvalue(1)> 6.8) & (keyvalue(1)< 9.6) ) then; band='X';end 1 2 20-OCT-2009 06:35:32 AIPS if ( (keyvalue(1)> 4.2) & (keyvalue(1)< 5.1) ) then; band='C';end 1 2 20-OCT-2009 06:35:32 AIPS if ( (keyvalue(1)> 1.15) & (keyvalue(1)< 1.75) ) then; band='L';end 1 2 20-OCT-2009 06:35:32 AIPS if ( (keyvalue(1)>0.298) & (keyvalue(1)<0.345) ) then; band='P';end 1 2 20-OCT-2009 06:35:32 AIPS if ( (keyvalue(1)>0.072) & (keyvalue(1)<0.076) ) then; band='4';end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS return 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure chkmodel 1 2 20-OCT-2009 06:35:32 AIPS error=0;sysout='';sys2com'' 1 2 20-OCT-2009 06:35:32 AIPS syscom'ls -1 $AIPSTARS/ 1 2 20-OCT-2009 06:35:32 AIPS sys2com(1) inname!!'.MODEL' 1 2 20-OCT-2009 06:35:32 AIPS sys2com(2) ' >& /dev/null 1 2 20-OCT-2009 06:35:32 AIPS system 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure loadmodl 1 2 20-OCT-2009 06:35:32 AIPS scalar lsidx,l 1 2 20-OCT-2009 06:35:32 AIPS array lsload(5) 1 2 20-OCT-2009 06:35:32 AIPS task'TABGET';getset;inext'SU';invers 0;keyvalue=0;keystrng'' 1 2 20-OCT-2009 06:35:32 AIPS keyword'NUM ROW';getthead;lsidx=keyvalue(1);l=1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS for i=1:lsidx 1 2 20-OCT-2009 06:35:32 AIPS pixxy=i,2,0;tabget;k=length(keystrng);j=1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS while (j<21) 1 2 20-OCT-2009 06:35:32 AIPS if (substr(lsampcal(j),1,k)=substr(keystrng,1,k)) then 1 2 20-OCT-2009 06:35:32 AIPS lsload(l)=i;j=30;l=l+1;else;j=j+1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS end;end;end;lsidx=0;checkbnd;keyword'EPOCH';keyvalue=0;keystrng='';gethead 1 2 20-OCT-2009 06:35:32 AIPS if (keyvalue(1)<1999) then;lsidx=1;end 1 2 20-OCT-2009 06:35:32 AIPS for j=1:(l-1) 1 2 20-OCT-2009 06:35:32 AIPS lsobj=lsampcal(j);chkobjct;clrtemp;intype'MA';outdisk=lsdisk 1 2 20-OCT-2009 06:35:32 AIPS inname=object!!'_'!!band;inclass'MODEL';inseq=1;indisk=lsdisk;chkname 1 2 20-OCT-2009 06:35:32 AIPS $$ if (error>0) then;type lsampcal(lsload(j))!!' MODEL ='inname;chkmodel 1 2 20-OCT-2009 06:35:32 AIPS if (error>0) then;type lsampcal(j)!!' MODEL ='inname;chkmodel 1 2 20-OCT-2009 06:35:32 AIPS if(error<1)then;go calrd;if (lsidx>0) then;eposwtch;end;end;end $ J2000 1 2 20-OCT-2009 06:35:32 AIPS end;return 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure vlanew 1 2 20-OCT-2009 06:35:32 AIPS clrstat;j=numtab('BP');if (j>0) then;inext'BP';invers=-1;extdest;end 1 2 20-OCT-2009 06:35:32 AIPS j=numtab('CL');if (j>1) then;inext'CL';for k=2:j;invers=k;extdest;end;end 1 2 20-OCT-2009 06:35:32 AIPS j=numtab('SN');if (j>0) then;inext'SN';invers=-1;extdest;end 1 2 20-OCT-2009 06:35:32 AIPS j=numtab('XX');if (j>0) then;inext'XX';invers=-1;extdest;end 1 2 20-OCT-2009 06:35:32 AIPS if (inclass='LINE') then 1 2 20-OCT-2009 06:35:32 AIPS j=numtab('FG');if (j>1) then;inext'FG';for k=2:j;invers=k;extdest;end;end 1 2 20-OCT-2009 06:35:32 AIPS j=numtab('CL');if (j>1) then;inext'CL';for k=2:j;invers=k;extdest;end;end 1 2 20-OCT-2009 06:35:32 AIPS j=numtab('BP');if (j>0) then;inext'BP';invers=-1;extdest;end 1 2 20-OCT-2009 06:35:32 AIPS j=numtab('PL');if (j>0) then;inext'PL';invers=-1;extdest;end 1 2 20-OCT-2009 06:35:32 AIPS end;j=numtab('PL');if (j>0) then;inext'PL';invers=-1;extdest;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS type'DONE CLEANUP OF OLD TABLE EXTENTION FILES (CL,SN,FG,BP,PL,XX)' 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure allzap 1 2 20-OCT-2009 06:35:32 AIPS chkname;if(error<1)then;for j=1:(1-error);zap;end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure allplot 1 2 20-OCT-2009 06:35:32 AIPS tvinit;j=numtab('PL');type 'NUMBER OF PLOT FILES TO SHOW ON TV:'!!char(j) 1 2 20-OCT-2009 06:35:32 AIPS if (j>0) then 1 2 20-OCT-2009 06:35:32 AIPS for k=1:j;plver=k;type 'PLOT'char(k)!!'/'!!char(j);go tvpl;read;end 1 2 20-OCT-2009 06:35:32 AIPS else;type 'NOTHING TO PLOT - DONE';end 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure goplt 1 2 20-OCT-2009 06:35:32 AIPS if (lsplot>=0) then;go;end 1 2 20-OCT-2009 06:35:32 AIPS finish $UV and vis only 1 2 20-OCT-2009 06:35:32 AIPS procedure goplt0 1 2 20-OCT-2009 06:35:32 AIPS if (lsplot>0) then;go;end 1 2 20-OCT-2009 06:35:32 AIPS finish $SN only 1 2 20-OCT-2009 06:35:32 AIPS procedure goplt1 1 2 20-OCT-2009 06:35:32 AIPS if (lsplot>1) then;go;end 1 2 20-OCT-2009 06:35:32 AIPS finish $SN+CL 1 2 20-OCT-2009 06:35:32 AIPS procedure goplt2 1 2 20-OCT-2009 06:35:32 AIPS if (lsplot>2) then;go;end 1 2 20-OCT-2009 06:35:32 AIPS finish $SN+CL+BP 1 2 20-OCT-2009 06:35:32 AIPS procedure goplt3 1 2 20-OCT-2009 06:35:32 AIPS if (lsplot>3) then;go;end 1 2 20-OCT-2009 06:35:32 AIPS finish $CL,BP applied 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure calpipe(lsdisk,lsname,lsrant) 1 2 20-OCT-2009 06:35:32 AIPS vnum=33;dowait=true;getidn;vlanew;j=0;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (inclass='CH 0') then;inclass'LINE';vlanew;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(fsw>0)then;checkids;if(inclass='CH 0')then;inclass'LINE';checkids;end;end 1 2 20-OCT-2009 06:35:32 AIPS if ((numtab('FG')<1)&(lsflag>=0)) then 1 2 20-OCT-2009 06:35:32 AIPS if (lsflag>=1) then 1 2 20-OCT-2009 06:35:32 AIPS task'QUACK';getset;flagver=1;opcode'BEG';i=min(3*tint,20) 1 2 20-OCT-2009 06:35:32 AIPS reason char(i)!!' SEC AUTO-QUACK';aparm=0,i/60,(tint/60)*1.1;j=1 1 2 20-OCT-2009 06:35:32 AIPS while (j<9);keyword='CTYPE'!!char(j);gethead;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(keystrng='FREQ')then 1 2 20-OCT-2009 06:35:32 AIPS keyword='CRVAL'!!char(j);gethead;keyval(1)=keyval(1)/1e10;j=9 1 2 20-OCT-2009 06:35:32 AIPS if (keyval(1) < 1.8) then;clrtemp;go;else;tput quack 1 2 20-OCT-2009 06:35:32 AIPS type 'QUACK SKIPPED FOR THIS HIGH FREQUENCY OBSERVATION' 1 2 20-OCT-2009 06:35:32 AIPS type 'MAY BE A FAST-SWITHCING OBS - IE LOSS OF ALL DATA' 1 2 20-OCT-2009 06:35:32 AIPS type 'RUN BY HAND IF YOU REALLY WANT THIS QUACK';tget quack 1 2 20-OCT-2009 06:35:32 AIPS end;else;j=j+1;end;end 1 2 20-OCT-2009 06:35:32 AIPS end;task'FLAGR';getset 1 2 20-OCT-2009 06:35:32 AIPS docal 2;solint=max(3*tint-2,2.7*tint);vector=-1;docrt 0;go 1 2 20-OCT-2009 06:35:32 AIPS end 1 2 20-OCT-2009 06:35:32 AIPS task'SNPLT';getset;inext'CL';nplots 8;optype'AMP';vput;pixrange=0.7,1.8 1 2 20-OCT-2009 06:35:32 AIPS goplt1;task'SETJY';getset;optype'REJY';aparm=0;freqid=1;go;optype'CALC' 1 2 20-OCT-2009 06:35:32 AIPS if (length(lscal)<>0) then 1 2 20-OCT-2009 06:35:32 AIPS optype'';zerosp=lsflux,0;lsallcal=lscal,lspntcal 1 2 20-OCT-2009 06:35:32 AIPS end;sources=lsampcal;go;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS task'CALIB';getset;docalib=2;refant=lsrant;aparm=3,0,0,0,0,0,4,0,0;calcode'' 1 2 20-OCT-2009 06:35:32 AIPS solint=lsparm(2);calsour=lspntcal;snver=numtab('SN')+1;solmode'P' 1 2 20-OCT-2009 06:35:32 AIPS soltype'L1R';baddisk=lsbadd;vput;kj=0;userid=0;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS while (kj<9) 1 2 20-OCT-2009 06:35:32 AIPS kj=kj+1;keyvalue=0;keystrng'';keyword='CTYPE'!!char(kj);gethead;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,1,4)='FREQ')then;keyword='CRVAL'!!char(kj);gethead 1 2 20-OCT-2009 06:35:32 AIPS kj=10;end;end;vget;if((keyvalue(1))>17e9&(solint>0.5))then;solint=1/3 1 2 20-OCT-2009 06:35:32 AIPS aparm(7)=3.5;vput;type' AUTOMATIC RESET: SOLINT=20SEC (HIGH FREQ)';end 1 2 20-OCT-2009 06:35:32 AIPS if(star>0)then;calsour'';calcode'*';end;go 1 2 20-OCT-2009 06:35:32 AIPS if (lsmodl>0) then $ use models for ones that exist 1 2 20-OCT-2009 06:35:32 AIPS loadmodl;vget calib;calsour='';in2seq=0;in2disk=lsdisk;in2class'MODEL' 1 2 20-OCT-2009 06:35:32 AIPS for j=1:(l-1) 1 2 20-OCT-2009 06:35:32 AIPS inext'SU';pixxy=lsload(j),2,0;tabget;calsour(1)=keystrng;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS pixxy=lsload(j),4,0;tabget;calcode=substr(keystrng,1,4);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS lsobj=lsampcal(j);chkobjct;in2name=object!!'_'!!band 1 2 20-OCT-2009 06:35:32 AIPS vput calib;inname=in2name;inclass=in2class;inseq=in2seq;indisk=in2disk 1 2 20-OCT-2009 06:35:32 AIPS $ if no model, use point with full uvrange 1 2 20-OCT-2009 06:35:32 AIPS chkname;vget calib;if (error>0)then;clr2name;end;go 1 2 20-OCT-2009 06:35:32 AIPS end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS else;uvrange=lsparm(3),lsparm(4);calsour=lsampcal;go;end 1 2 20-OCT-2009 06:35:32 AIPS vget snplt;inext'SN';optype'PHAS';goplt0;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS task'CLCAL';getset;freqid=1;refant=lsrant;gainuse=numtab('CL')+1 1 2 20-OCT-2009 06:35:32 AIPS snver=numtab('SN');gainver=numtab('CL');sources'';soucode'' 1 2 20-OCT-2009 06:35:32 AIPS calsour=lsphacal;calcode'';vput;if(star>0)then;calsour'';calcode'*';end;go 1 2 20-OCT-2009 06:35:32 AIPS calsour=lsallcal;sources=calsour;interpol'SELF' 1 2 20-OCT-2009 06:35:32 AIPS if(star>0)then;calsour'';calcode'*';soucode'*';end;go 1 2 20-OCT-2009 06:35:32 AIPS vget snplt;inext'CL';optype'PHAS';goplt1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS vget calib;solmode'A&P';calsour=lspntcal;calcode'';snver=numtab('SN')+1 1 2 20-OCT-2009 06:35:32 AIPS solint=lsparm(13)*lsparm(2);clr2name;vput 1 2 20-OCT-2009 06:35:32 AIPS if(star>0)then;calsour'';calcode'*';end;go 1 2 20-OCT-2009 06:35:32 AIPS if (lsmodl>0) then 1 2 20-OCT-2009 06:35:32 AIPS loadmodl;vget calib;calsour='';in2seq=0;in2disk=lsdisk;in2class'MODEL' 1 2 20-OCT-2009 06:35:32 AIPS for j=1:(l-1) 1 2 20-OCT-2009 06:35:32 AIPS inext'SU';pixxy=lsload(j),2,0;tabget;calsour(1)=keystrng;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS pixxy=lsload(j),4,0;tabget;calcode=substr(keystrng,1,4);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS lsobj=lsampcal(j);chkobjct;in2name=object!!'_'!!band;calcode'' 1 2 20-OCT-2009 06:35:32 AIPS vput calib;inname=in2name;inclass=in2class;inseq=in2seq;indisk=in2disk 1 2 20-OCT-2009 06:35:32 AIPS $ if no model, use point with full uvrange 1 2 20-OCT-2009 06:35:32 AIPS chkname;vget calib;if (error>0)then;clr2name;end;go 1 2 20-OCT-2009 06:35:32 AIPS end;inseq=0;indisk=lsdisk;inclass'MODEL';intype'MA' 1 2 20-OCT-2009 06:35:32 AIPS for j=1:(l-1) 1 2 20-OCT-2009 06:35:32 AIPS lsobj=lsampcal(j);chkobjct;inname=object!!'_'!!band;chkname 1 2 20-OCT-2009 06:35:32 AIPS if (error<1) then;zap;end;end 1 2 20-OCT-2009 06:35:32 AIPS else;uvrange=lsparm(3),lsparm(4);calsour=lsampcal;go;end 1 2 20-OCT-2009 06:35:32 AIPS vget snplt;inext'SN';optype'AMP';goplt0;optype'PHAS';pixrange=-20,20;goplt0 1 2 20-OCT-2009 06:35:32 AIPS task'GETJY';getset;calsour=lsampcal;snver=numtab('SN') 1 2 20-OCT-2009 06:35:32 AIPS if (star>0) then 1 2 20-OCT-2009 06:35:32 AIPS $ for j=1:lsparm(14);sources(j)='-'!!lsampcal(j);end;k=lsparm(14)+1 1 2 20-OCT-2009 06:35:32 AIPS $ if (length(lscal)>0) then;sources(k)='-'!!lscal;k=k+1;end 1 2 20-OCT-2009 06:35:32 AIPS $ for j=k:(25-k+2);sources(j)=lspntcal(j-k+2);end 1 2 20-OCT-2009 06:35:32 AIPS soucode='*' 1 2 20-OCT-2009 06:35:32 AIPS else 1 2 20-OCT-2009 06:35:32 AIPS sources=lspntcal;if (length(lscal)>0) then;sources(11)='-'!!lscal;end 1 2 20-OCT-2009 06:35:32 AIPS end;go 1 2 20-OCT-2009 06:35:32 AIPS if (lscont<1) then 1 2 20-OCT-2009 06:35:32 AIPS type '********************************************************' 1 2 20-OCT-2009 06:35:32 AIPS type '** WRITE DOWN THE FLUX DENSITIES FOR YOUR CALIBRATORS **' 1 2 20-OCT-2009 06:35:32 AIPS type '** (AND DO NOT FORGET THE ERRORS EITHER!) **' 1 2 20-OCT-2009 06:35:32 AIPS type '********************************************************';read 1 2 20-OCT-2009 06:35:32 AIPS end 1 2 20-OCT-2009 06:35:32 AIPS vget clcal;gainver=numtab('CL');gainuse=numtab('CL')+1;snver=numtab('SN') 1 2 20-OCT-2009 06:35:32 AIPS if(star>0)then;calsour'';calcode'*';end;go;calsour=lsallcal;sources=calsour 1 2 20-OCT-2009 06:35:32 AIPS interpol'SELF';if(star>0)then;calsour'';calcode'*';soucode'*';end;go 1 2 20-OCT-2009 06:35:32 AIPS vget snplt;inext'CL';optype'AMP';goplt1;optype'PHAS';goplt1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (inclass='CH 0') then 1 2 20-OCT-2009 06:35:32 AIPS task'TACOP';getset 1 2 20-OCT-2009 06:35:32 AIPS outdisk=indisk;outname=inname;outclass'LINE';outseq=inseq;ncount=1 1 2 20-OCT-2009 06:35:32 AIPS keystrng'';inext'FG';invers=numtab('FG');if (invers>0) then;go;end 1 2 20-OCT-2009 06:35:32 AIPS inext'CL';invers=numtab('CL');keyvalue 0;outseq=inseq;vput;go;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS task'BPASS';getset;inclass'LINE';calsour=lsbndcal,lsampcal;docal=2 1 2 20-OCT-2009 06:35:32 AIPS solint=-1;bpassprm(5)=-1;bpassprm(9)=1;baddisk=lsbadd;go;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS task'POSSM';getset;inclass'LINE';bpver 0;aparm=0,1,.4,1.2,-30,30,0,2,3,0 1 2 20-OCT-2009 06:35:32 AIPS nplots=6;goplt2;sources=lsbndcal;docalib 2;doband 1;aparm=1 0;aparm(9)=3 1 2 20-OCT-2009 06:35:32 AIPS antennas=lsrant,0;goplt2;nplots=0;vput;goplt2;stokes'I';antennas=0;goplt2 1 2 20-OCT-2009 06:35:32 AIPS sources=lsampcal;goplt3 1 2 20-OCT-2009 06:35:32 AIPS vget tacop;inclass'LINE';outclass'CH 0';invers=numtab('BP');inext'BP';go 1 2 20-OCT-2009 06:35:32 AIPS end;task'TASAV';getset;outdisk=indisk;go;dowait=false;vnum=0;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure calcrms 1 2 20-OCT-2009 06:35:32 AIPS scalar nbas,nvis,tbw,rms,minhrs 1 2 20-OCT-2009 06:35:32 AIPS keyword'GCOUNT';gethead;nvis=keyvalue(1);nbas=numbasel;j=1 1 2 20-OCT-2009 06:35:32 AIPS minhrs=nvis*tint/(nbas*3600) $ underesimate of obs hours (overestimate rms) 1 2 20-OCT-2009 06:35:32 AIPS while (j<9) $ bandwidth in a channel, continuum or spectral line 1 2 20-OCT-2009 06:35:32 AIPS keyword='CTYPE'!!char(j);gethead;keyword='CDELT'!!char(j);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (keystrng='FREQ') then;gethead;j=9;else;j=j+1;end;end;tbw=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS if (lsidc <> 'CH 0') then;j=1 $ continuum, multiple IFs averaged 1 2 20-OCT-2009 06:35:32 AIPS while (j<9) 1 2 20-OCT-2009 06:35:32 AIPS keyword='CTYPE'!!char(j);gethead;keyword='NAXIS'!!char(j);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(keystrng='IF')then;gethead;j=9;else;j=j+1;end;end;tbw=tbw*keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS end;checkbnd;if((band='P')!(band='4'))then;tbw=tbw/3.2;else;tbw=tbw/50;end 1 2 20-OCT-2009 06:35:32 AIPS tbw=sqrt(tbw*minhrs/24e6);rms=-1 1 2 20-OCT-2009 06:35:32 AIPS if (band='Q')then;rms=3.0e-5/tbw;end;if (band='K')then;rms=2.5e-5/tbw;end 1 2 20-OCT-2009 06:35:32 AIPS if (band='U')then;rms=2.0e-5/tbw;end;if (band='X')then;rms=5.3e-6/tbw;end 1 2 20-OCT-2009 06:35:32 AIPS if (band='C')then;rms=6.4e-6/tbw;end;if (band='L')then;rms=6.6e-6/tbw;end 1 2 20-OCT-2009 06:35:32 AIPS if (band='P')then;rms=1.7e-4/tbw;end;if (band='4')then;rms=1.5e-2/tbw;end 1 2 20-OCT-2009 06:35:32 AIPS if (rms<0) then;type 'CANNOT CALCULATE RMS FROM OBSERVING BAND ..';end 1 2 20-OCT-2009 06:35:32 AIPS typ 'ESTIMATED RMS:' char(rms*1000)!!' MILLI JANSKY' 1 2 20-OCT-2009 06:35:32 AIPS return rms 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure setboxfle 1 2 20-OCT-2009 06:35:32 AIPS scalar ci,bi 1 2 20-OCT-2009 06:35:32 AIPS string*12 srcnme 1 2 20-OCT-2009 06:35:32 AIPS string*48 fbox 1 2 20-OCT-2009 06:35:32 AIPS srcnme=inname;ci=0;bi=length(srcnme) 1 2 20-OCT-2009 06:35:32 AIPS while(ci& /dev/null 1 2 20-OCT-2009 06:35:32 AIPS if(substr(boxfile,1,1)<>' ')then;system;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure catboxfile 1 2 20-OCT-2009 06:35:32 AIPS string*20 expnm 1 2 20-OCT-2009 06:35:32 AIPS string*75 expmsg 1 2 20-OCT-2009 06:35:32 AIPS if (substr(expmsg,1,5)='ARUN:')then 1 2 20-OCT-2009 06:35:32 AIPS expmsg = substr(expmsg,6,71);sysout='$ARUN/'!!expmsg 1 2 20-OCT-2009 06:35:32 AIPS else;if (substr(expmsg,1,6)<>'$ARUN/')then;sysout = '$ARUN/'!!expmsg 1 2 20-OCT-2009 06:35:32 AIPS else;sysout = expmsg;end;end;sys2com'';syscom 'echo 1 2 20-OCT-2009 06:35:32 AIPS sys2com(1) ' "SETFC FILE FOR SOURCEX'!!inname!!' BELOW IS:"' 1 2 20-OCT-2009 06:35:32 AIPS substr(sys2com(1),24,24)='';clrtemp;system;syscom 'cat 1 2 20-OCT-2009 06:35:32 AIPS sys2com(1) 'X'!!boxfile;substr(sys2com(1),1,1)='';clrtemp 1 2 20-OCT-2009 06:35:32 AIPS system 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure setimsize 1 2 20-OCT-2009 06:35:32 AIPS scalar szf, kk, prbm 1 2 20-OCT-2009 06:35:32 AIPS string*48 bxf 1 2 20-OCT-2009 06:35:32 AIPS array szc(2), szi(2), orgc(2), orgi(2) 1 2 20-OCT-2009 06:35:32 AIPS vput imagr;task'SETFC';sources'';bcount=1;bxf=setboxfle;boxfile=bxf 1 2 20-OCT-2009 06:35:32 AIPS bparm=0;infile='';shift=0;flux=0;pbparm=0.25,0;delboxfle 1 2 20-OCT-2009 06:35:32 AIPS orgc=cellsize;cellsize=0;orgi=lsparm(6);imsize=0;kk=1 1 2 20-OCT-2009 06:35:32 AIPS while (kk<9) 1 2 20-OCT-2009 06:35:32 AIPS keyword='CTYPE'!!char(kk);gethead;keyword='CRVAL'!!char(kk);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (keystrng='FREQ') then;gethead;kk=9;else;kk=kk+1;end;end 1 2 20-OCT-2009 06:35:32 AIPS keyvalue(1)=keyvalue(1)/1e9;prbm=0.375/keyvalue(1);bparm(1)=prbm;bparm(2)=30 1 2 20-OCT-2009 06:35:32 AIPS bparm(3)=1;bparm(4)=0;bparm(5)=0.031;bparm(6)=256;bparm(7)=256;bparm(8)=100 1 2 20-OCT-2009 06:35:32 AIPS gx;bparm(4)=3*prbm;bparm(1)=-0.7*bparm(1);bcount=nfield+1 1 2 20-OCT-2009 06:35:32 AIPS type'SEARCHING FOR NVSS SOURCES';gx;szf=nfield;szc=cellsize;szi=imsize 1 2 20-OCT-2009 06:35:32 AIPS vget imagr;if(lsparm(5)<0)then;cellsize=szc;else;cellsize=orgc;end 1 2 20-OCT-2009 06:35:32 AIPS if(lsparm(6)<0)then;imsize=256;nfield=szf;boxfile=bxf;else;imsize=orgi;end 1 2 20-OCT-2009 06:35:32 AIPS vput imagr 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure imapipe(k,lsdisk,lsname) 1 2 20-OCT-2009 06:35:32 AIPS vnum=33;dowait=true 1 2 20-OCT-2009 06:35:32 AIPS if (k=1) then 1 2 20-OCT-2009 06:35:32 AIPS task'SPLIT';getset;outdisk=indisk;outclass=inclass;docalib=2 1 2 20-OCT-2009 06:35:32 AIPS baddisk=lsbadd;douvcomp=-1;go 1 2 20-OCT-2009 06:35:32 AIPS if (inclass='CH 0') then;inclass'LINE';outclass=inclass;doband=1;bpver=0 1 2 20-OCT-2009 06:35:32 AIPS go;end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS task'TABGET';getset;inext'SU';invers=0;keyvalue=0;keystrng'';vput;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS task'IMAGR';getset;outdisk=indisk;flux=lsparm(8);baddisk=lsbadd;j=1 1 2 20-OCT-2009 06:35:32 AIPS while (j<9) 1 2 20-OCT-2009 06:35:32 AIPS keyword='CTYPE'!!char(j);gethead;keyword='CRVAL'!!char(j);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (keystrng='FREQ') then;gethead;j=9;else;j=j+1;end;end 1 2 20-OCT-2009 06:35:32 AIPS cellsize=1.75e10/(keyvalue(1)*abs(lsparm(5)));do3dimag=1;overlap=2;vput 1 2 20-OCT-2009 06:35:32 AIPS keyword'NUM ROW';inext'SU';invers=0;keystrng'';getthead;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS for i=1:keyvalue(1) $ check if source is in index and uvfile exists 1 2 20-OCT-2009 06:35:32 AIPS vget tabget;pixxy=i,2,0;tabget;vget imagr;inname=keystrng;j=1;intype'UV' 1 2 20-OCT-2009 06:35:32 AIPS inseq=0;chkname;type ' ';niter=lsparm(7);lstarg=1;clrtemp;vput 1 2 20-OCT-2009 06:35:32 AIPS if (error < 1) then $ source file exists, but same source number ? 1 2 20-OCT-2009 06:35:32 AIPS vget tabget;pixxy=i,1,0;tabget;error=1;k=1 1 2 20-OCT-2009 06:35:32 AIPS while ((lssid(k)>0) & (k<1001)) 1 2 20-OCT-2009 06:35:32 AIPS if (lssid(k)=keyvalue(1))then error=0;end 1 2 20-OCT-2009 06:35:32 AIPS k=k+1;end;keyword'GCOUNT';gethead 1 2 20-OCT-2009 06:35:32 AIPS if(keyvalue(1)<10)then;type'NO DATA';error=1;end;end;vget imagr 1 2 20-OCT-2009 06:35:32 AIPS if (error < 1) then 1 2 20-OCT-2009 06:35:32 AIPS if ((lsparm(7)=7e4)&(lsparm(8)<0))then;flux=6*calcrms;end 1 2 20-OCT-2009 06:35:32 AIPS if ((lsparm(6)<0)!(lsparm(5)<0))then;setimsize;else;imsize=lsparm(6);end 1 2 20-OCT-2009 06:35:32 AIPS while (j<30) 1 2 20-OCT-2009 06:35:32 AIPS k=length(inname) 1 2 20-OCT-2009 06:35:32 AIPS if (substr(lsallcal(j),1,k)=substr(inname,1,k)) then $ calibrator 1 2 20-OCT-2009 06:35:32 AIPS lstarg=0;j=30 1 2 20-OCT-2009 06:35:32 AIPS if(lsparm(6)>=-0.99)then;niter=min(500,lsparm(7)) 1 2 20-OCT-2009 06:35:32 AIPS nfield=1;boxfile'';imsize=min(256,lsparm(6)) 1 2 20-OCT-2009 06:35:32 AIPS if(imsize(1)<0)then;imsize=256;end;end 1 2 20-OCT-2009 06:35:32 AIPS else;j=j+1;end $ check next source, if not found -> target 1 2 20-OCT-2009 06:35:32 AIPS end;if(substr(boxfile,1,1)<>' ')then;catboxfile;end 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS j=1 1 2 20-OCT-2009 06:35:32 AIPS $calibrator lstarg=0 1 2 20-OCT-2009 06:35:32 AIPS $target if lstarg=1 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS while (j<9) 1 2 20-OCT-2009 06:35:32 AIPS keyword='CTYPE'!!char(j);gethead;keyword='NAXIS'!!char(j);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (keystrng='IF') then;gethead;j=9;else;j=j+1;end;end 1 2 20-OCT-2009 06:35:32 AIPS type ' NOW STARTING WITH SOURCE :'!!char(i)!!' ='!!inname;type ' ' 1 2 20-OCT-2009 06:35:32 AIPS if (inclass='CH 0') then 1 2 20-OCT-2009 06:35:32 AIPS for k=1:keyvalue(1);bif=k;eif=k 1 2 20-OCT-2009 06:35:32 AIPS if ((lstarg>0)!(lsparm(9)>0)) then;go;end 1 2 20-OCT-2009 06:35:32 AIPS end;clrtemp;k=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS inclass'LINE';keyvalue=0;keystrng'';j=1;chkname 1 2 20-OCT-2009 06:35:32 AIPS if (error < 1) then 1 2 20-OCT-2009 06:35:32 AIPS while (j<9) 1 2 20-OCT-2009 06:35:32 AIPS keyword='CTYPE'!!char(j);gethead;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (keystrng='FREQ') then 1 2 20-OCT-2009 06:35:32 AIPS keyword='NAXIS'!!char(j);gethead;echan=keyvalue(1);j=9 1 2 20-OCT-2009 06:35:32 AIPS else;j=j+1;end 1 2 20-OCT-2009 06:35:32 AIPS end;bchan=floor(echan/10);echan=ceil(echan*9/10) 1 2 20-OCT-2009 06:35:32 AIPS if (bchan=1) then;bchan=2;end;j=k 1 2 20-OCT-2009 06:35:32 AIPS for k=1:j;bif=k;eif=k;if ((lstarg>0)!(lsparm(9)>1)) then;go;end 1 2 20-OCT-2009 06:35:32 AIPS end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS else 1 2 20-OCT-2009 06:35:32 AIPS bif=1;eif=keyvalue(1);vput;out2disk=indisk 1 2 20-OCT-2009 06:35:32 AIPS if ( (lsparm(10)=0) ! ((lsparm(9)<1)&(lstarg<1)) )then;go;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS else 1 2 20-OCT-2009 06:35:32 AIPS solint=lsparm(2);dotv=1;nmaps=lsparm(10);refant=lsrant;aparm=4,0 1 2 20-OCT-2009 06:35:32 AIPS if (lsparm(10)<0) then;dotv=-1;nmaps=-1*nmaps;end;go scimg;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS end;end;boxfile=setboxfle;delboxfle;vput imagr 1 2 20-OCT-2009 06:35:32 AIPS $ make uv and visibility plot 1 2 20-OCT-2009 06:35:32 AIPS task'UVPLT';ltype=-3;bparm 6,7;dotv -1;goplt;bparm 9,10;goplt;bparm 0 1 2 20-OCT-2009 06:35:32 AIPS goplt;vget imagr;inclass'IMAGR';inseq=0;intype'UV';indisk=lsdisk;allzap 1 2 20-OCT-2009 06:35:32 AIPS $ inclass'SCIMG';allzap 1 2 20-OCT-2009 06:35:32 AIPS inclass'IBM*';intype'MA';allzap 1 2 20-OCT-2009 06:35:32 AIPS inclass'RBM*';allzap;inclass'LBM*';allzap;recat;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS else;type ' NO UV-FILE, SKIPPING SOURCE :'!!inname!!' =#'!!char(i) 1 2 20-OCT-2009 06:35:32 AIPS end;end;dowait=false;vnum=0 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure avlapipe 1 2 20-OCT-2009 06:35:32 AIPS tput avlapipe;vnum=33;vput avlapipe;pipeinpt;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (lserr <> 0) then; type '*** ERROR - ARE ALL INPUTS/NAMES SET PROPERLY ?' 1 2 20-OCT-2009 06:35:32 AIPS else;lsclrcal;tint=guesintt;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (tint > 0) then;calpipe(lsdisk,lsname,lsrant);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if (lsparm(1)>0) then;imapipe(1,lsdisk,lsname) 1 2 20-OCT-2009 06:35:32 AIPS else;type'CALIBRATION DONE - SKIPPING SPLIT AND IMAGING' 1 2 20-OCT-2009 06:35:32 AIPS type'-----------------------------------------------------------' 1 2 20-OCT-2009 06:35:32 AIPS end;type ' ' 1 2 20-OCT-2009 06:35:32 AIPS if (lsplot>0) then;type 'VIEW CAL-PLOTS WITH GETSET;ALLPLOT';end;type ' ' 1 2 20-OCT-2009 06:35:32 AIPS else;type '* * *';type 'SINGLE DISH VLBI EXPERIMENT?';type '* * *';end 1 2 20-OCT-2009 06:35:32 AIPS end;tget avlapipe;vnum=0;type'* APPEARS TO HAVE ENDED SUCCESSFULLY *';clrtemp 1 2 20-OCT-2009 06:35:32 AIPS finish 1 0 20-OCT-2009 06:35:32 AIPS run nvasdefs 1 2 20-OCT-2009 06:35:32 AIPS Found in Version=ABIN 1 2 20-OCT-2009 06:35:32 AIPS default'AVLAPIPE' 1 2 20-OCT-2009 06:35:32 AIPS Found in Version=ABIN 1 2 20-OCT-2009 06:35:32 AIPS indisk 1; doalign -1; flagver 2; domodel 1 1 2 20-OCT-2009 06:35:32 AIPS docal 1; sources '*''' 1 2 20-OCT-2009 06:35:32 AIPS $ to be set by itself later 1 2 20-OCT-2009 06:35:32 AIPS solint 1; factor 5; doarray -1; imsize -1 1 2 20-OCT-2009 06:35:32 AIPS $imsize 512;$niter -1;cutoff -1;plver 0 1 2 20-OCT-2009 06:35:32 AIPS niter -1; cutoff -1 1 2 20-OCT-2009 06:35:32 AIPS $ for now debugging 1 2 20-OCT-2009 06:35:32 AIPS docont 1; plver 0; doall 1; doresid 0 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS $ defaults 1 2 20-OCT-2009 06:35:32 AIPS $ BADDISK 0$ INDISK 0$ DOCAT 1$ INNAME ' '$ INCLASS ' '$ INSEQ 0 1 2 20-OCT-2009 06:35:32 AIPS $ DOALIGN 1$ FLAgver 0$ SOLINT 0$ FACTOR 0$ REFANT 0$ DOMODEL -1 1 2 20-OCT-2009 06:35:32 AIPS $ KEYSTRNG ' '$ FLUX 0$ UVRANGE 0, 0$ SOURCES ' '$ CALSOUR ' ' 1 2 20-OCT-2009 06:35:32 AIPS $ dopol 0$ bpa 0$ DOCONT 1$ PLVER 0$ DOALL -1$ DOARRAY -1 1 2 20-OCT-2009 06:35:32 AIPS $ IMSIZE 0, 0$ NITER 0$ CUTOFF 0$ DOCAL 0$ DORESID -1 1 0 20-OCT-2009 06:35:32 AIPS compress 1 0 20-OCT-2009 06:35:32 AIPS default prtmsg;outprint'ARUN:'!!'AB0271_1984APR26_1.1.log 1 0 20-OCT-2009 06:35:32 AIPS docrt=-3;prnumber=-1;tput prtmsg;docrt 1 1 0 20-OCT-2009 06:35:32 AIPS procedure expid 1 0 20-OCT-2009 06:35:32 AIPS string*20 expnm 1 0 20-OCT-2009 06:35:32 AIPS string*75 expmsg 1 0 20-OCT-2009 06:35:32 AIPS expnm='AB0271_1984APR26_1' 1 0 20-OCT-2009 06:35:32 AIPS expmsg='ARUN:'!!'AB0271_1984APR26_1.1.log 1 0 20-OCT-2009 06:35:32 AIPS return expnm 1 0 20-OCT-2009 06:35:32 AIPS finish 1 0 20-OCT-2009 06:35:32 AIPS type expid 1 5 20-OCT-2009 06:35:32 AIPS 'AB0271_1984APR26_1' 1 0 20-OCT-2009 06:35:32 AIPS 1 0 20-OCT-2009 06:35:32 AIPS docrt=1;type expid 1 5 20-OCT-2009 06:35:32 AIPS 'AB0271_1984APR26_1' 1 0 20-OCT-2009 06:35:32 AIPS run avlapost 1 2 20-OCT-2009 06:35:32 AIPS Found in Version=ABIN 1 2 20-OCT-2009 06:35:32 AIPS $ Lorant Sjouwerman, versions 1.. 2005, for NRAO 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS $$ General catalog looks like 1 2 20-OCT-2009 06:35:32 AIPS $$ Multi-source UV data file 1 2 20-OCT-2009 06:35:32 AIPS $$ Multi-source TASAV file 1 2 20-OCT-2009 06:35:32 AIPS $$ Single-source calibrated data - auvf 1 2 20-OCT-2009 06:35:32 AIPS $$ Single-source calibrated images- aimg 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS $May need to redefine after a restore 0: 1 2 20-OCT-2009 06:35:32 AIPS $allzap 1 2 20-OCT-2009 06:35:32 AIPS $calcintt 1 2 20-OCT-2009 06:35:32 AIPS $guesintt 1 2 20-OCT-2009 06:35:32 AIPS $lsparm(5);tint;lsdisk 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure nvascln 1 2 20-OCT-2009 06:35:32 AIPS scalar alj,uvj, maj 1 2 20-OCT-2009 06:35:32 AIPS clrname;indisk lsdisk;recat;chkname;alj=1-error;getname 1;inname'' 1 2 20-OCT-2009 06:35:32 AIPS chkname;uvj=-error;intype'MA';inclass'NVAS08';chkname;maj=1-error 1 2 20-OCT-2009 06:35:32 AIPS if((uvj=maj)&(uvj>0))then $count down in unlikely case of crash (status R/W) 1 2 20-OCT-2009 06:35:32 AIPS type'CLEANUP SSRC, ALL:',maj,alj;for j=alj:1 by -1;egetn j;zap;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS else;type 'EXPECTED MA-FILES DO NOT MATCH UV-FILES; NO CLEANUP !';end 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure flatfov 1 2 20-OCT-2009 06:35:32 AIPS $LOS - compile flatn-ed radius blank-ed images out to where pbcorr=2.5 (=xpb) 1 2 20-OCT-2009 06:35:32 AIPS scalar uvi,mai,fov,frq,kk,tbw,tint,xpb,xcst,nif,fbw,fta;xpb=2.5 1 2 20-OCT-2009 06:35:32 AIPS string*4 cootype 1 2 20-OCT-2009 06:35:32 AIPS clrname;indisk=lsdisk;intype'UV';chkname;uvi=1-error 1 2 20-OCT-2009 06:35:32 AIPS if(uvi<3)then;type'ERROR: NO FILES PROCESSED !';else 1 2 20-OCT-2009 06:35:32 AIPS if(uvi<4)then;type'WARNING: ONLY ONE UV-FILE - MAYBE CHECK?';end 1 2 20-OCT-2009 06:35:32 AIPS egetname 1;tint=guesintt;kk=1 1 2 20-OCT-2009 06:35:32 AIPS xcst=sqrt((3/ln(2))*(xpb)/(xpb+1)); $ bit more field for BW/TA: xpb+1 1 2 20-OCT-2009 06:35:32 AIPS while (kk<7) 1 2 20-OCT-2009 06:35:32 AIPS keyvalue=0;keystrng'';keyword='CTYPE'!!char(kk);gethead 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,1,2)='IF')then;keyword='NAXIS'!!char(kk) 1 2 20-OCT-2009 06:35:32 AIPS keystrng'';gethead;nif=keyvalue(1);kk=10;else;kk=kk+1;end;end;kk=1 1 2 20-OCT-2009 06:35:32 AIPS while (kk<7) 1 2 20-OCT-2009 06:35:32 AIPS keyvalue=0;keystrng'';keyword='CTYPE'!!char(kk);gethead 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,1,4)='FREQ')then;keyword='CRVAL'!!char(kk) 1 2 20-OCT-2009 06:35:32 AIPS keystrng'';gethead;frq=keyvalue(1);kk=10;else;kk=kk+1;end;end 1 2 20-OCT-2009 06:35:32 AIPS for i=3:uvi;egetname i 1 2 20-OCT-2009 06:35:32 AIPS task'TABGET';inext'FQ';invers 1;keyword'NUM ROW';keystrng'';getthead 1 2 20-OCT-2009 06:35:32 AIPS kk=keyvalue(1);for j=1:kk;pixxy=j,4,1;tabget;tbw=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS if(nif=2)then;pixxy=j,4,2;tabget;tbw=max(tbw,keyvalue(1));end 1 2 20-OCT-2009 06:35:32 AIPS end;intype'MA';inseq=0;inclass'*001';chkname;mai=1-error 1 2 20-OCT-2009 06:35:32 AIPS if(mai>1)then;type'WARNING: MULTIPLE IMAGES - CHECK?';end;inclass'NVAS08' 1 2 20-OCT-2009 06:35:32 AIPS chkname;if(error<1)then;type inname!!' : FLATFOV ALREADY DONE';mai=0;end 1 2 20-OCT-2009 06:35:32 AIPS if (mai=1) then;inclass'*001' 1 2 20-OCT-2009 06:35:32 AIPS for j=1:mai $ assume inseq starts at 1.. 1 2 20-OCT-2009 06:35:32 AIPS inseq=j;kk=1;cellsize=0;userid=0 1 2 20-OCT-2009 06:35:32 AIPS while (kk<5) 1 2 20-OCT-2009 06:35:32 AIPS keyvalue=0;keystrng'';keyword='CTYPE'!!char(kk);gethead 1 2 20-OCT-2009 06:35:32 AIPS keyword='CDELT'!!char(kk);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,1,3)='RA-')then;gethead;cellsize(1)=keyvalue(1);end 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,1,4)='DEC-')then;gethead;cellsize(2)=keyvalue(1);end 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,1,4)='FREQ')then;keyword='CRVAL'!!char(kk) 1 2 20-OCT-2009 06:35:32 AIPS keystrng'';gethead;fov=keyvalue(1)/1e9;fov=1350/fov;end;kk=kk+1 1 2 20-OCT-2009 06:35:32 AIPS end;cellsize(1)=-1*cellsize(1)*3600;cellsize(2)=cellsize(2)*3600 1 2 20-OCT-2009 06:35:32 AIPS fta=min(1.75e10/(frq*abs(lsparm(5))),(min(cellsize(1),cellsize(2)))) 1 2 20-OCT-2009 06:35:32 AIPS fbw=xcst*3*fta*frq/tbw $ radius field/view due bandwidth 1 2 20-OCT-2009 06:35:32 AIPS fta=xcst*3*fta/(tint*7.2722e-5) $ radius field/view due averaging 1 2 20-OCT-2009 06:35:32 AIPS fov=min(fov,fbw);fov=min(fov,fta) $ min field/view radius, arcsec 1 2 20-OCT-2009 06:35:32 AIPS imsize(1)=ceil(2*fov/cellsize(1));imsize(2)=ceil(2*fov/cellsize(2)) 1 2 20-OCT-2009 06:35:32 AIPS task'FLATN';inclass'?CL*';chkname;nfield=1-error;nmaps=1;clroname 1 2 20-OCT-2009 06:35:32 AIPS outname=inname;coordina=0;reweight=0;doweight=0;edgskp=15;aparm=0 1 2 20-OCT-2009 06:35:32 AIPS pbparm=1/xpb,0;type'MINIMUM FOV :'!!char(fov)!!' ARCSEC RADIUS' 1 2 20-OCT-2009 06:35:32 AIPS inclass'?CL001';gx 1 2 20-OCT-2009 06:35:32 AIPS $inclass'?CL*';allzap;recat 1 2 20-OCT-2009 06:35:32 AIPS ;inclass'FLATN' 1 2 20-OCT-2009 06:35:32 AIPS tput;default blank;tget flatn;task'BLANK';opcode'RADI';dparm fov,0 1 2 20-OCT-2009 06:35:32 AIPS gx;allzap;recat 1 2 20-OCT-2009 06:35:32 AIPS end;end;end;end 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure nvasimage 1 2 20-OCT-2009 06:35:32 AIPS $LOS - Determine noise, do primary beam correction, include copyright 1 2 20-OCT-2009 06:35:32 AIPS scalar numfle,ll,mm 1 2 20-OCT-2009 06:35:32 AIPS string*20 expnm 1 2 20-OCT-2009 06:35:32 AIPS if(expnm='')then;tget fillm;ll=length(infile);expnm=substr(infile,6,ll-1);end 1 2 20-OCT-2009 06:35:32 AIPS clrname;indisk=lsdisk;recat;chkname;numfle=1-error;mai=0 1 2 20-OCT-2009 06:35:32 AIPS while((mai'BLANK')) 1 2 20-OCT-2009 06:35:32 AIPS mai=mai+1;egetname mai;end;if(inclass<>'BLANK')then;mai=numfle+1;end 1 2 20-OCT-2009 06:35:32 AIPS for j=mai:numfle;default imean;docat=1;intype'SC';egetname j;chkname 1 2 20-OCT-2009 06:35:32 AIPS if(error=0)then;keyvalue=0;keystrng'';keyword='CRPIX1';gethead 1 2 20-OCT-2009 06:35:32 AIPS ll=keyvalue(1);keyword='CRPIX2';gethead;mm=keyvalue(1);doinvers=1 1 2 20-OCT-2009 06:35:32 AIPS blc(1)=ll-29;blc(2)=mm-30;trc(1)=ll+30;trc(2)=mm+29;imstat;doinv=-1 1 2 20-OCT-2009 06:35:32 AIPS blc=0;trc=0;rms=pixstd;go;wa;if(pixstd=rms)then;keyword'ACTNOISE' 1 2 20-OCT-2009 06:35:32 AIPS keytype'R';keyvalue=rms,0;puthead;end;end;end 1 2 20-OCT-2009 06:35:32 AIPS default'PBCOR';indisk=lsdisk;inclass'BLANK';chkname;pbparm=1/xpb,0 1 2 20-OCT-2009 06:35:32 AIPS for j=mai:numfle 1 2 20-OCT-2009 06:35:32 AIPS intype'SC';egetname mai;chkname;if(error=0)then;getoname mai 1 2 20-OCT-2009 06:35:32 AIPS outclass'RADCOR';outseq=0;inclass'BLANK';outdisk=indisk;gx;zap;recat;end 1 2 20-OCT-2009 06:35:32 AIPS end;default'CPYRT';indisk=lsdisk;recat;infile='AVLA:Arch_Cprt 1 2 20-OCT-2009 06:35:32 AIPS for j=mai:numfle $ can only do on MA files 1 2 20-OCT-2009 06:35:32 AIPS intype'SC';egetname mai;chkname;getoname mai;outclass'NVAS08' 1 2 20-OCT-2009 06:35:32 AIPS if(inclass='RADCOR')then;gx;inclass'RADCOR';zap;recat;end;end 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure mkarr 1 2 20-OCT-2009 06:35:32 AIPS string*1 sx,lx,az 1 2 20-OCT-2009 06:35:32 AIPS string*4 nnsl 1 2 20-OCT-2009 06:35:32 AIPS scalar aw, ae, an, ai 1 2 20-OCT-2009 06:35:32 AIPS numbant=0;aw=0;ae=0;an=0 1 2 20-OCT-2009 06:35:32 AIPS keyword'NUM ROW';inext'AN';invers=0;getthead;k=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS for j=1:k 1 2 20-OCT-2009 06:35:32 AIPS pixxy=j,1,0;tabget;i=1;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS while((substr(keystrng,i,i)<>':')&(i<9));i=i+1;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if ((substr(keystrng,i+1,i+1)<>' ')&(substr(keystrng,i+1,i+1)<>'_'))then 1 2 20-OCT-2009 06:35:32 AIPS lsvla=substr(keystrng,i+1,i+3);else;lsvla=substr(keystrng,i+2,i+4);end 1 2 20-OCT-2009 06:35:32 AIPS az=substr(lsvla,1,1) 1 2 20-OCT-2009 06:35:32 AIPS if ((lsvla<>'OUT')&(lsvla<>'MPD'))then;numbant=numbant+1 1 2 20-OCT-2009 06:35:32 AIPS if (lsvla='VPT')then;ai=75;lx='P';else;ai=value(substr(lsvla,2,3)) 1 2 20-OCT-2009 06:35:32 AIPS if(az='W')then;aw=max(aw,ai);else;if(az='E')then;ae=max(ae,ai);else 1 2 20-OCT-2009 06:35:32 AIPS if(az='N')then;an=max(an,ai);else;if(lx<>'P')then 1 2 20-OCT-2009 06:35:32 AIPS type lsvla!!' - ERROR: ANTENNA NOT KNOWN';end;end;end;end 1 2 20-OCT-2009 06:35:32 AIPS clrtemp;end;end;end 1 2 20-OCT-2009 06:35:32 AIPS if (lx<>'P')then;ai=max(aw,ae);ai=max(ai,an);lx='D';if(ai>36)then;lx='A' 1 2 20-OCT-2009 06:35:32 AIPS else;if(ai>18)then;lx='B';else;if(ai>9)then;lx='C';end;end;end;end 1 2 20-OCT-2009 06:35:32 AIPS ai=min(aw,ae);ai=min(ai,an);sx='A';if(ai<10)then;sx='D';else;if(ai<19)then 1 2 20-OCT-2009 06:35:32 AIPS sx='C';else;if(ai<37)then;sx='B';end;end;end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(numbant<10)then 1 2 20-OCT-2009 06:35:32 AIPS nnsl='0'!!char(numbant)!!sx!!lx;else;nnsl=char(numbant)!!sx!!lx;end 1 2 20-OCT-2009 06:35:32 AIPS return nnsl 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure nvasname 1 2 20-OCT-2009 06:35:32 AIPS $LOS - makes the RA/Dec directory and returns the archive file name 1 2 20-OCT-2009 06:35:32 AIPS scalar ki,ra1,ra2,dc1,dc2,rh,rm,rs,dd,dm,ds,rmsv,sbmv 1 2 20-OCT-2009 06:35:32 AIPS scalar ifx,nif,nu,nu1,nu2,bw,nst,stv,msuv1,msuv2,msuv 1 2 20-OCT-2009 06:35:32 AIPS string*1 pm,rmsc,stc,ik,rdi 1 2 20-OCT-2009 06:35:32 AIPS string*2 zz 1 2 20-OCT-2009 06:35:32 AIPS string*3 mmm 1 2 20-OCT-2009 06:35:32 AIPS string*4 rmss,sbms,fras,frqs,nnsl,rads 1 2 20-OCT-2009 06:35:32 AIPS string*30 dir 1 2 20-OCT-2009 06:35:32 AIPS string*20 expnm 1 2 20-OCT-2009 06:35:32 AIPS $ expnm = '' 1 2 20-OCT-2009 06:35:32 AIPS if(expnm='')then 1 2 20-OCT-2009 06:35:32 AIPS keyword'OBSERVER';gethead;expnm=keystrng;keyword'DATE-OBS';gethead 1 2 20-OCT-2009 06:35:32 AIPS mmm=substr(keystrng,5,6) 1 2 20-OCT-2009 06:35:32 AIPS if(mmm='01')then;mmm='JAN';end;if(mmm='02')then;mmm='FEB';end 1 2 20-OCT-2009 06:35:32 AIPS if(mmm='03')then;mmm='MAR';end;if(mmm='04')then;mmm='APR';end 1 2 20-OCT-2009 06:35:32 AIPS if(mmm='05')then;mmm='MAY';end;if(mmm='06')then;mmm='JUN';end 1 2 20-OCT-2009 06:35:32 AIPS if(mmm='07')then;mmm='JUL';end;if(mmm='08')then;mmm='AUG';end 1 2 20-OCT-2009 06:35:32 AIPS if(mmm='09')then;mmm='SEP';end;if(mmm='10')then;mmm='OCT';end 1 2 20-OCT-2009 06:35:32 AIPS if(mmm='11')then;mmm='NOV';end;if(mmm='12')then;mmm='DEC';end 1 2 20-OCT-2009 06:35:32 AIPS expnm=expnm!!'_'!!substr(keystrng,1,4)!!mmm!!substr(keystrng,7,8)!!'_1' 1 2 20-OCT-2009 06:35:32 AIPS end;ki=1;userid=0 1 2 20-OCT-2009 06:35:32 AIPS while (ki<9) 1 2 20-OCT-2009 06:35:32 AIPS ik=char(ki);keyvalue=0;keystrng'';keyword='CTYPE'!!ik;gethead;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,1,2)='RA')then 1 2 20-OCT-2009 06:35:32 AIPS keyword='CRVAL'!!ik;gethead;ra1=keyvalue(1);ra2=keyvalue(2);msuv1=ra1+ra2 1 2 20-OCT-2009 06:35:32 AIPS keyword='CDELT'!!ik;gethead;cellsize(1)=-1*keyvalue(1)*3600;ra1=ra1/15 1 2 20-OCT-2009 06:35:32 AIPS ra2=ra2/15;rh=floor(ra1);ra1=(ra1-rh)*60;rm=floor(ra1);ra1=(ra1-rm)*60 1 2 20-OCT-2009 06:35:32 AIPS rs=((floor((ra1+(3600*ra2))*1000)+0.005)/1000);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(abs(rs-floor(abs(rs)))<0.1)then;rs=0;zz='.0';else;zz='';end;clrtemp 1 2 20-OCT-2009 06:35:32 AIPS keyword='NAXIS'!!ik;gethead;ra1=0.5*keyvalue(1)*cellsize(1);end 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,1,3)='DEC')then 1 2 20-OCT-2009 06:35:32 AIPS keyword='CRVAL'!!ik;gethead;dc1=keyvalue(1);dc2=keyvalue(2);msuv1=dc1+dc2 1 2 20-OCT-2009 06:35:32 AIPS keyword='CDELT'!!ik;gethead;cellsize(2)=keyvalue(1)*3600 1 2 20-OCT-2009 06:35:32 AIPS if(dc1<0)then;pm='-';dc1=-1*dc1;dc2=-1*dc2;else;pm='+';end 1 2 20-OCT-2009 06:35:32 AIPS dd=floor(dc1);dc1=(dc1-dd)*60;dm=floor(dc1);dc1=(dc1-dm)*60 1 2 20-OCT-2009 06:35:32 AIPS ds=floor(dc1+(3600*dc2)+0.0005);clrtemp;keyword='NAXIS'!!ik 1 2 20-OCT-2009 06:35:32 AIPS gethead;dc1=0.5*(keyvalue(1)-10)*cellsize(2);end $ie correct for (c)-top 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,1,2)='IF')then 1 2 20-OCT-2009 06:35:32 AIPS keyword='NAXIS'!!ik;gethead;nif=keyvalue(1);clrtemp;end 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,1,4)='FREQ')then 1 2 20-OCT-2009 06:35:32 AIPS keyword='CRVAL'!!ik;gethead;nu1=keyvalue(1)/1e6;nu2=keyvalue(2)/1e6 1 2 20-OCT-2009 06:35:32 AIPS keyword='CDELT'!!ik;gethead;bw=keyvalue(1)/1e6;end;nu=(nu1+nu2);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,1,6)='STOKES')then 1 2 20-OCT-2009 06:35:32 AIPS keyword='CRVAL'!!ik;gethead;stv=keyvalue(1) 1 2 20-OCT-2009 06:35:32 AIPS keyword='NAXIS'!!ik;gethead;nst=keyvalue(1);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(nst=4)then;stc='F';else;if(nst=2)then;stc='H';else;if(stv=-1)then 1 2 20-OCT-2009 06:35:32 AIPS stc='R';else;if(stv=-2)then;stc='L';else;if(stv=-5)then;stc='X' 1 2 20-OCT-2009 06:35:32 AIPS else;if(stv=-6)then;stc='Y';else;if(stv >0)then;stc='I';else 1 2 20-OCT-2009 06:35:32 AIPS stc='U';end;end;end;end;end;end;end;end 1 2 20-OCT-2009 06:35:32 AIPS if(substr(keystrng,1,1)='')then;ki=10;else;ki=ki+1;end 1 2 20-OCT-2009 06:35:32 AIPS end;clrtemp $ build the output file name here 1 2 20-OCT-2009 06:35:32 AIPS if(intype='UV')then;nu1=0;nu2=0;clrtemp;inext'FQ';for ifx=1:nif 1 2 20-OCT-2009 06:35:32 AIPS pixxy=1,2,ifx;tabget;nu1=nu1+((keyvalue(1)+keyvalue(2))/1e6) 1 2 20-OCT-2009 06:35:32 AIPS pixxy=1,3,ifx;tabget;nu2=nu2+((keyvalue(1)+keyvalue(2))/1e6);end 1 2 20-OCT-2009 06:35:32 AIPS nu=nu+0.5*(nu1+(0.5*nu2));clrtemp;else;if(intype='MA')then 1 2 20-OCT-2009 06:35:32 AIPS fras=substr(char(0.5*(ra1+dc1)),1,4);nu=nu+(bw/(2*nif));else 1 2 20-OCT-2009 06:35:32 AIPS type 'ERROR: FILE TYPE UNKNOWN (HOW DID THIS HAPPEN?)';end;end 1 2 20-OCT-2009 06:35:32 AIPS frqs=substr(char((nu+5)/1000),1,4);clrtemp;sys2com(1)=' $aimg/ 1 2 20-OCT-2009 06:35:32 AIPS if (intype='MA')then; $read conv size,rms from header, use imsi*cell/2 for R 1 2 20-OCT-2009 06:35:32 AIPS rdi='S';ra2=0.5*(ra1+dc1-9);if(ra2>60)then;rdi='M';ra2=ra2/60;end $ R-fov 1 2 20-OCT-2009 06:35:32 AIPS if(ra2>60)then;rdi='D';ra2=ra2/60;end;rads=substr(char(ra2),1,4) 1 2 20-OCT-2009 06:35:32 AIPS keyword='BMAJ';gethead;sbmv=keyvalue(1);keyword='BMIN';gethead 1 2 20-OCT-2009 06:35:32 AIPS sbmv=1800*(sbmv+keyvalue(1));sbms=substr(char(sbmv),1,4) 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS keyvalue=0;keystrng'';keyword='ACTNOISE';gethead;rmsv=keyvalue(1) $ RMS<1e4 1 2 20-OCT-2009 06:35:32 AIPS if(rmsv>1)then;rmsc='J';rmss=substr(char(rmsv),1,4);else;rmsv=rmsv*1000 1 2 20-OCT-2009 06:35:32 AIPS if(rmsv>1)then;rmsc='M';rmss=substr(char(rmsv),1,4);else;rmsv=rmsv*1000 1 2 20-OCT-2009 06:35:32 AIPS if(rmsv>1)then;rmsc='U';rmss=substr(char(rmsv),1,4);else 1 2 20-OCT-2009 06:35:32 AIPS rmsv=rmsv*1000;rmsc='N';rmss=substr(char(rmsv),1,4) 1 2 20-OCT-2009 06:35:32 AIPS end;end;end;clrtemp;fras='';while(length(frqs)<4);frqs=frqs!!'0';end 1 2 20-OCT-2009 06:35:32 AIPS while(length(rads)<4);rads=rads!!'0';end;while(length(rmss)<4) 1 2 20-OCT-2009 06:35:32 AIPS rmss=rmss!!'0';end;while(length(sbms)<4);sbms=sbms!!'0';end 1 2 20-OCT-2009 06:35:32 AIPS outfile=frqs!!stc!!sbms!!'_'!!expnm!!'_'!!rmss!!rmsc!!fras!!rads!!rdi 1 2 20-OCT-2009 06:35:32 AIPS else;outprint=frqs!!stc!!nnsl!!'_'!!expnm;outfile=outprint!!'.uvfits 1 2 20-OCT-2009 06:35:32 AIPS end 1 2 20-OCT-2009 06:35:32 AIPS msuv=(sqrt((msuv1*msuv1)+(msuv2*msuv2)))*3600 1 2 20-OCT-2009 06:35:32 AIPS if(msuv>5)then $ not multisource UV, make a source dir 1 2 20-OCT-2009 06:35:32 AIPS dir='';sysout'';syscom'umask 0;mkdir 1 2 20-OCT-2009 06:35:32 AIPS if(rh<10)then;sys2com(2)='J0'!!char(rh);else;sys2com(2)='J'!! char(rh);end 1 2 20-OCT-2009 06:35:32 AIPS if(rm<10)then;sys2com(3)='0'!!char(rm);else;sys2com(3)=char(rm);end 1 2 20-OCT-2009 06:35:32 AIPS if(rs<10)then;sys2com(4)='0'!!char(rs)!!zz;else;sys2com(4)=char(rs)!!zz;end 1 2 20-OCT-2009 06:35:32 AIPS sys2com(4)=substr(sys2com(4),1,4);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS if(dd<10)then;sys2com(5)=pm!!'0'!!char(dd);else;sys2com(5)=pm!!char(dd);end 1 2 20-OCT-2009 06:35:32 AIPS if(dm<10)then;sys2com(6)='0'!!char(dm);else;sys2com(6)=char(dm);end 1 2 20-OCT-2009 06:35:32 AIPS if(ds<10)then;sys2com(7)='0'!!char(ds);else;sys2com(7)=char(ds);end 1 2 20-OCT-2009 06:35:32 AIPS sys2com(7)=substr(sys2com(7),1,2);clrtemp 1 2 20-OCT-2009 06:35:32 AIPS sys2com(8) ' >& /dev/null 1 2 20-OCT-2009 06:35:32 AIPS system;clrtemp;for i=1:7;dir=dir!!sys2com(i);end;ki=length(dir) $must be 23 1 2 20-OCT-2009 06:35:32 AIPS dir=substr(dir,8,ki);if(ki<>23)then;type'OOPS: WRONG DIRECTORY NAME ?';end 1 2 20-OCT-2009 06:35:32 AIPS end;syscom'';sys2com'';clrtemp 1 2 20-OCT-2009 06:35:32 AIPS return 1 2 20-OCT-2009 06:35:32 AIPS finish 1 2 20-OCT-2009 06:35:32 AIPS 1 2 20-OCT-2009 06:35:32 AIPS procedure nvasarch 1 2 20-OCT-2009 06:35:32 AIPS $LOS - archives the files to disk - define $EXP (and $AVLA/$ADAT/$AIMG/$AUVF) 1 2 20-OCT-2009 06:35:32 AIPS string*4 nnsl 1 2 20-OCT-2009 06:35:32 AIPS string*20 expnm 1 2 20-OCT-2009 06:35:32 AIPS string*64 expfile 1 2 20-OCT-2009 06:35:32 AIPS scalar nn,mai,uvi,xe,nif 1 2 20-OCT-2009 06:35:32 AIPS clrname;indisk=lsdisk;chkname;numfle=1-error;intype'UV';chkname;uvi=1-error 1 2 20-OCT-2009 06:35:32 AIPS default fitab;indisk=lsdisk;recat;douvcomp=-1;nif=2;type expid 1 2 20-OCT-2009 06:35:32 AIPS $2IF IM, or reset in uv#1 1 2 20-OCT-2009 06:35:32 AIPS if(numfle>3)then $ at least 1UVF, 1TSV, 1SS, 1MA 1 2 20-OCT-2009 06:35:32 AIPS egetname 1;nnsl=mkarr;nvasname;i=1;clrtemp;syscom'umask 0;mkdir 1 2 20-OCT-2009 06:35:32 AIPS while((substr(expnm,i,i)<>'_')&(i<21));i=i+1;end;dir=substr(expnm,1,i-1) 1 2 20-OCT-2009 06:35:32 AIPS outfile='ADAT:'!!expnm!!'_'!!frqs!!stc!!nnsl!!'.uvfits 1 2 20-OCT-2009 06:35:32 AIPS sysout'';sys2com'';sys2com(2) ' >& /dev/null 1 2 20-OCT-2009 06:35:32 AIPS sys2com(1)' $ADAT/'!!dir;system;gx;clrtemp;egetname 2;clrtemp;syscom'\mv -f 1 2 20-OCT-2009 06:35:32 AIPS outfile='ADAT:'!!expnm!!'_'!!frqs!!stc!!nnsl!!'.clfits 1 2 20-OCT-2009 06:35:32 AIPS gx;sys2com(1)' $ADAT/'!!expnm!!'_* $ADAT/'!!dir;system 1 2 20-OCT-2009 06:35:32 AIPS sys2com(1)' $ADAT/'!!expnm!!'.* $ADAT/'!!dir 1 2 20-OCT-2009 06:35:32 AIPS $system 1 2 20-OCT-2009 06:35:32 AIPS sys2com(1)' $ARUN/'!!expnm!!'.* $ADAT/'!!dir 1 2 20-OCT-2009 06:35:32 AIPS $system 1 2 20-OCT-2009 06:35:32 AIPS j=2;mai=0 1 2 20-OCT-2009 06:35:32 AIPS while(j& /dev/null 1 2 20-OCT-2009 06:35:32 AIPS outfile='AIMG:'!!outfile;dparm(5)=1;if(xe=1)then;gx 1 2 20-OCT-2009 06:35:32 AIPS if(numtab('PL')<1)then;type'NO UV PLOTS';else;if (numtab('PL')<2) then 1 2 20-OCT-2009 06:35:32 AIPS type'SINGLE PLOT, ASSUMING UV COVERAGE' 1 2 20-OCT-2009 06:35:32 AIPS else;if(numtab('PL')>2)then;plver=3;outfile='AIMG:'!!outprint!!'.vis.ps 1 2 20-OCT-2009 06:35:32 AIPS go lwpla;wait lwpla;syscom'convert $aimg/ 1 2 20-OCT-2009 06:35:32 AIPS sys2com(1)=outprint!!'.vis.ps $aimg/ 1 2 20-OCT-2009 06:35:32 AIPS sys2com(2)=outprint!!'.vis.gif 1 2 20-OCT-2009 06:35:32 AIPS system;end;plver=2;outfile='AIMG:'!!outprint!!'.ri.ps 1 2 20-OCT-2009 06:35:32 AIPS go lwpla;wait lwpla;syscom'convert $aimg/ 1 2 20-OCT-2009 06:35:32 AIPS sys2com(1)=outprint!!'.ri.ps $aimg/ 1 2 20-OCT-2009 06:35:32 AIPS sys2com(2)=outprint!!'.ri.gif 1 2 20-OCT-2009 06:35:32 AIPS system;end;plver=1;outfile='AIMG:'!!outprint!!'.uv.ps 1 2 20-OCT-2009 06:35:32 AIPS go lwpla;wait lwpla;dparm(5)=0;sys2com(1)=outprint!!'.uv.ps $aimg/ 1 2 20-OCT-2009 06:35:32 AIPS sys2com(2)=outprint!!'.uv.gif 1 2 20-OCT-2009 06:35:32 AIPS system;sys2com(2)='';syscom'chmod 666 $aimg/ 1 2 20-OCT-2009 06:35:32 AIPS $ sys2com(1)=outprint!!'.*.ps 1 2 20-OCT-2009 06:35:32 AIPS $ system;sys2com(1)=outprint!!'.*.gif 1 2 20-OCT-2009 06:35:32 AIPS $ system;sys2com(1)=outprint!!'.uvfits 1 2 20-OCT-2009 06:35:32 AIPS sys2com(1)=outprint!!'* 1 2 20-OCT-2009 06:35:32 AIPS system;end;end;clrtemp;syscom'\mv -f $aimg/ 1 2 20-OCT-2009 06:35:32 AIPS $ sys2com(1)=substr(outfile,6,length(outfile))!!' $aimg/ 1 2 20-OCT-2009 06:35:32 AIPS sys2com(1)=outprint!!'.* $aimg/ 1 2 20-OCT-2009 06:35:32 AIPS sys2com(2)=dir;system;clrtemp;end;for nn=(uvi+1):numfle $ archive MAps 1 2 20-OCT-2009 06:35:32 AIPS egetname nn;chkname;xe=1-error;if((intype='MA')&(inclass='NVAS08'))then 1 2 20-OCT-2009 06:35:32 AIPS nvasname;sysout'';sys2com'';sys2com(8)' >& /dev/null 1 2 20-OCT-2009 06:35:32 AIPS expfile=outfile;outfile='AIMG:'!!outfile 1 2 20-OCT-2009 06:35:32 AIPS if(xe=1)then;gx;syscom'umask 0;\mv -f $aimg/ 1 2 20-OCT-2009 06:35:33 AIPS sys2com(1)=expfile!!' $aimg/ 1 2 20-OCT-2009 06:35:33 AIPS sys2com(2)=expfile!!'.imfits 1 2 20-OCT-2009 06:35:33 AIPS system;clrtemp;syscom'umask 0;fits2jpeg -nonLinear -fits $aimg/ 1 2 20-OCT-2009 06:35:33 AIPS sys2com(1)=expfile!!'.imfits -jpeg $aimg/ 1 2 20-OCT-2009 06:35:33 AIPS sys2com(2)=expfile!!'.jpg 1 2 20-OCT-2009 06:35:33 AIPS sys2com(3)=' ; convert -size 150x150 $aimg/ 1 2 20-OCT-2009 06:35:33 AIPS sys2com(4)=expfile!!'.jpg 1 2 20-OCT-2009 06:35:33 AIPS sys2com(5)=' -resize 150x150 -gamma 1.5 -depth 32 $aimg/ 1 2 20-OCT-2009 06:35:33 AIPS sys2com(6)=expfile!!'.JPG'!!' ; \mv -f $aimg/ 1 2 20-OCT-2009 06:35:33 AIPS sys2com(7)=expfile!!'* $aimg/ 1 2 20-OCT-2009 06:35:33 AIPS sys2com(8) dir!!sys2com(8);system;clrtemp;end;end;end;end 1 2 20-OCT-2009 06:35:33 AIPS type 'NVASARCH DONE - CLEANING UP';nvascln 1 2 20-OCT-2009 06:35:33 AIPS finish 1 2 20-OCT-2009 06:35:33 AIPS 1 2 20-OCT-2009 06:35:33 AIPS $procedure nvas 1 2 20-OCT-2009 06:35:33 AIPS $ typ expid;flatfov;if(uvi>3)then;nvasimage;nvasarch;end 1 2 20-OCT-2009 06:35:33 AIPS $finish 1 2 20-OCT-2009 06:35:33 AIPS 1 2 20-OCT-2009 06:35:33 AIPS procedure nvas 1 2 20-OCT-2009 06:35:33 AIPS typ expid;flatfov;if(uvi>3)then;nvasimage;end;clrtemp;clrname;indisk lsdisk 1 2 20-OCT-2009 06:35:33 AIPS recat;chkname;alj=1-error;getname 1;inname'';chkname;uvj=-error;intype'MA' 1 2 20-OCT-2009 06:35:33 AIPS inclass'NVAS08';chkname;maj=1-error;if (uvj=maj) then;nvasarch;end;clrtemp 1 2 20-OCT-2009 06:35:33 AIPS finish 1 0 20-OCT-2009 06:35:33 AIPS avlapipe 1 2 20-OCT-2009 06:35:33 AIPS Found in Version=ABIN 1 2 20-OCT-2009 06:35:33 AIPS Found in Version=ABIN 1 2 20-OCT-2009 06:35:33 AIPS Got(1) disk= 1 user=**** type=UV 19840426.U BAND.1 1 5 20-OCT-2009 06:35:33 AIPS 'AIPS WILL CHOOSE THE REFERENCE ANTENNA' 1 2 20-OCT-2009 06:35:33 AIPS Got(1) disk= 1 user=**** type=UV 19840426.U BAND.1 1 5 20-OCT-2009 06:35:33 AIPS 'SETFC WILL DETERMINE THE CELL SIZE' 1 5 20-OCT-2009 06:35:33 AIPS '20 SECOND INTEGRATIONS (GUESS)' 1 5 20-OCT-2009 06:35:33 AIPS 'DONE CLEANUP OF OLD TABLE EXTENTION FILES (CL,SN,FG,BP,PL,XX)' 1 5 20-OCT-2009 06:35:33 QUACK Task QUACK (release of 31DEC07) begins 1 4 20-OCT-2009 06:35:33 QUACK Flagged 0.34 min. of data in 1 scans 1 3 20-OCT-2009 06:35:33 QUACK Appears to have ended successfully 1 5 20-OCT-2009 06:35:33 QUACK vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:33 AIPS Resumes 1 5 20-OCT-2009 06:35:33 FLAGR Task FLAGR (release of 31DEC07) begins 1 3 20-OCT-2009 06:35:33 FLAGR Copied FG file from vol/cno/vers 1 1 1 to 1 1 2 1 4 20-OCT-2009 06:35:33 FLAGR Overall average amp= 2.050E-01 +- 5.510E-02 source= 3C286 1 4 20-OCT-2009 06:35:33 FLAGR Overall average rms= 2.351E-03 +- 6.237E-04 source= 3C286 1 5 20-OCT-2009 06:35:33 FLAGR Found 0 bad times, 4 total flags 1 5 20-OCT-2009 06:35:33 FLAGR Wrote 0 antenna & IF independent flags 1 5 20-OCT-2009 06:35:33 FLAGR Wrote 0 antenna independent, IF dependent flags 1 5 20-OCT-2009 06:35:33 FLAGR Wrote 4 antenna & IF dependent flags 1 5 20-OCT-2009 06:35:33 FLAGR Wrote 0 antenna & IF dependent, all-times flags 1 3 20-OCT-2009 06:35:33 FLAGR Appears to have ended successfully 1 5 20-OCT-2009 06:35:33 FLAGR vlbacald-b 31DEC07 TST: Cpu= 0.1 Real= 0 1 2 20-OCT-2009 06:35:33 AIPS Resumes 1 5 20-OCT-2009 06:35:33 SETJY Task SETJY (release of 31DEC07) begins 1 2 20-OCT-2009 06:35:33 SETJY / Resetting flux information to zero 1 2 20-OCT-2009 06:35:33 SETJY BIF = 1 EIF = 2 /Range of IFs 1 2 20-OCT-2009 06:35:33 SETJY SOURCES = '' /All sources selected 1 3 20-OCT-2009 06:35:33 SETJY Appears to have ended successfully 1 5 20-OCT-2009 06:35:33 SETJY vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:33 AIPS Resumes 1 5 20-OCT-2009 06:35:33 SETJY Task SETJY (release of 31DEC07) begins 1 5 20-OCT-2009 06:35:33 SETJY A source model for this calibrator is available 1 5 20-OCT-2009 06:35:33 SETJY Consult the help file for CALRD for assistance 1 5 20-OCT-2009 06:35:33 SETJY A source model for this calibrator is available 1 5 20-OCT-2009 06:35:33 SETJY Consult the help file for CALRD for assistance 1 2 20-OCT-2009 06:35:33 SETJY / Flux calculated using known spectrum 1 2 20-OCT-2009 06:35:33 SETJY BIF = 1 EIF = 2 /Range of IFs 1 2 20-OCT-2009 06:35:33 SETJY '3C286 ' IF = 1 FLUX = 3.4516 (Jy calcd) 1 2 20-OCT-2009 06:35:33 SETJY '3C286 ' IF = 2 FLUX = 3.4603 (Jy calcd) 1 2 20-OCT-2009 06:35:33 SETJY / Using (1999.2) VLA or Reynolds (1934-638) coefficients 1 3 20-OCT-2009 06:35:33 SETJY Appears to have ended successfully 1 5 20-OCT-2009 06:35:33 SETJY vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:34 AIPS Resumes 1 5 20-OCT-2009 06:35:34 CALIB Task CALIB (release of 31DEC07) begins 1 3 20-OCT-2009 06:35:34 CALIB CALIB USING 19840426 . U BAND . 1 DISK= 1 USID=**** 1 3 20-OCT-2009 06:35:34 CALIB L1 Solution type 1 2 20-OCT-2009 06:35:34 CALIB Selecting, editing and calibrating the data 1 3 20-OCT-2009 06:35:34 CALIB Doing cal transfer mode with point model for each source 1 3 20-OCT-2009 06:35:34 CALIB This is not self-calibration 1 2 20-OCT-2009 06:35:34 CALIB Dividing data by source flux densities 1 2 20-OCT-2009 06:35:34 CALIB Determining solutions 1 3 20-OCT-2009 06:35:34 CALIB Writing SN table 1 1 5 20-OCT-2009 06:35:34 CALIB Found 293 good solutions 1 5 20-OCT-2009 06:35:34 CALIB Failed on 3 solutions 1 4 20-OCT-2009 06:35:34 CALIB Average closure rms = 0.0118 +- 0.0020 1 4 20-OCT-2009 06:35:34 CALIB Fraction of times having data > 2.5 rms from solution 1 4 20-OCT-2009 06:35:34 CALIB 0.08333 of the times had 0 - 2 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:34 CALIB 0.33333 of the times had 2 - 4 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:34 CALIB 0.08333 of the times had 4 - 6 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:34 CALIB 0.25000 of the times had 6 - 8 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:34 CALIB 0.08333 of the times had 10 - 12 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:34 CALIB 0.08333 of the times had 12 - 14 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:34 CALIB 0.08333 of the times had 18 - 20 percent outside 2.5 times rms 1 2 20-OCT-2009 06:35:34 CALIB Adjusting solutions to a common reference antenna 1 3 20-OCT-2009 06:35:34 CALIB Appears to have ended successfully 1 5 20-OCT-2009 06:35:34 CALIB vlbacald-b 31DEC07 TST: Cpu= 0.1 Real= 0 1 2 20-OCT-2009 06:35:34 AIPS Resumes 1 5 20-OCT-2009 06:35:34 AIPS '3C286 MODEL =' '3C286_U' 1 3 20-OCT-2009 06:35:34 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:34 AIPS ls -1 $AIPSTARS/3C286_U.MODEL >& /dev/null 1 5 20-OCT-2009 06:35:34 CALRD Task CALRD (release of 31DEC07) begins 1 2 20-OCT-2009 06:35:34 CALRD Reading disk file AIPSTARS:3C286_U.MODEL 1 2 20-OCT-2009 06:35:34 CALRD Create 3C286_U .MODEL . 1 (MA) on disk 1 cno 2 1 3 20-OCT-2009 06:35:34 CALRD Appears to have ended successfully 1 5 20-OCT-2009 06:35:34 CALRD vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:34 AIPS Resumes 1 5 20-OCT-2009 06:35:34 CALIB Task CALIB (release of 31DEC07) begins 1 3 20-OCT-2009 06:35:34 CALIB CALIB USING 19840426 . U BAND . 1 DISK= 1 USID=**** 1 3 20-OCT-2009 06:35:34 CALIB L1 Solution type 1 2 20-OCT-2009 06:35:34 CALIB Selecting, editing and calibrating the data 1 3 20-OCT-2009 06:35:34 CALIB Doing self-cal mode with CC model 1 4 20-OCT-2009 06:35:34 CALIB SETGDS: imaging done with reprojected tangent point(s) 1 3 20-OCT-2009 06:35:34 CALIB FACSET: source model will be scaled to 3.452 Jy 1 3 20-OCT-2009 06:35:34 CALIB FACSET: 3.484087 Jy found from 65 components 1 4 20-OCT-2009 06:35:34 CALIB FACSET: scaling factor set to 9.90679E-01 1 2 20-OCT-2009 06:35:34 CALIB QINIT: did a GET of 20480 Kwords, OFF -90661493 1 2 20-OCT-2009 06:35:34 CALIB VISDFT: Begin DFT component division 1 2 20-OCT-2009 06:35:34 CALIB VISDFT: Model components of type Point 1 3 20-OCT-2009 06:35:34 CALIB I Polarization model processed 1 2 20-OCT-2009 06:35:34 CALIB Model computation is 100 percent complete 1 3 20-OCT-2009 06:35:34 CALIB FACSET: source model will be scaled to 3.460 Jy 1 3 20-OCT-2009 06:35:34 CALIB FACSET: 3.484087 Jy found from 65 components 1 4 20-OCT-2009 06:35:34 CALIB FACSET: scaling factor set to 9.93177E-01 1 2 20-OCT-2009 06:35:34 CALIB VISDFT: Begin DFT component division 1 3 20-OCT-2009 06:35:34 CALIB I Polarization model processed 1 3 20-OCT-2009 06:35:34 CALIB Field 1 used 65 CCs 1 2 20-OCT-2009 06:35:34 CALIB Determining solutions 1 6 20-OCT-2009 06:35:34 CALIB Deleted 74 records from SN table no. 1 1 3 20-OCT-2009 06:35:34 CALIB Writing SN table 1 1 5 20-OCT-2009 06:35:34 CALIB Found 293 good solutions 1 5 20-OCT-2009 06:35:34 CALIB Failed on 3 solutions 1 4 20-OCT-2009 06:35:34 CALIB Average closure rms = 0.0114 +- 0.0018 1 4 20-OCT-2009 06:35:34 CALIB Fraction of times having data > 2.5 rms from solution 1 4 20-OCT-2009 06:35:34 CALIB 0.08333 of the times had 0 - 2 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:34 CALIB 0.25000 of the times had 2 - 4 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:34 CALIB 0.25000 of the times had 4 - 6 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:34 CALIB 0.16667 of the times had 6 - 8 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:34 CALIB 0.08333 of the times had 8 - 10 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:34 CALIB 0.08333 of the times had 12 - 14 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:34 CALIB 0.08333 of the times had 18 - 20 percent outside 2.5 times rms 1 2 20-OCT-2009 06:35:34 CALIB Adjusting solutions to a common reference antenna 1 3 20-OCT-2009 06:35:34 CALIB Appears to have ended successfully 1 5 20-OCT-2009 06:35:34 CALIB vlbacald-b 31DEC07 TST: Cpu= 0.1 Real= 0 1 2 20-OCT-2009 06:35:34 AIPS Resumes 1 5 20-OCT-2009 06:35:34 CLCAL Task CLCAL (release of 31DEC07) begins 1 4 20-OCT-2009 06:35:34 CLCAL Using interpolation mode 2PT 1 3 20-OCT-2009 06:35:34 CLCAL Processing SN table 1 1 5 20-OCT-2009 06:35:34 CLCAL SNMRG: Merging SN table 1 5 20-OCT-2009 06:35:34 CLCAL SNMRG: Write 74 merged records from 74 input records 1 4 20-OCT-2009 06:35:34 CLCAL SN2CL: Applying SN tables to CL table 1, writing CL table 2 1 3 20-OCT-2009 06:35:34 CLCAL Appears to have ended successfully 1 5 20-OCT-2009 06:35:34 CLCAL vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:35 AIPS Resumes 1 5 20-OCT-2009 06:35:35 CLCAL Task CLCAL (release of 31DEC07) begins 1 4 20-OCT-2009 06:35:35 CLCAL Using interpolation mode SELF 1 6 20-OCT-2009 06:35:35 CLCAL Deleted 125 records from CL table no. 2 1 3 20-OCT-2009 06:35:35 CLCAL Processing SN table 1 1 6 20-OCT-2009 06:35:35 CLCAL WARNING: SN table 1 has already been applied 1 5 20-OCT-2009 06:35:35 CLCAL SNMRG: Merging SN table 1 5 20-OCT-2009 06:35:35 CLCAL SNMRG: Write 74 merged records from 74 input records 1 4 20-OCT-2009 06:35:35 CLCAL SN2CL: Applying SN tables to CL table 1, writing CL table 2 1 3 20-OCT-2009 06:35:35 CLCAL Appears to have ended successfully 1 5 20-OCT-2009 06:35:35 CLCAL vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:35 AIPS Resumes 1 5 20-OCT-2009 06:35:35 CALIB Task CALIB (release of 31DEC07) begins 1 3 20-OCT-2009 06:35:35 CALIB CALIB USING 19840426 . U BAND . 1 DISK= 1 USID=**** 1 3 20-OCT-2009 06:35:35 CALIB L1 Solution type 1 2 20-OCT-2009 06:35:35 CALIB Selecting, editing and calibrating the data 1 3 20-OCT-2009 06:35:35 CALIB Doing cal transfer mode with point model for each source 1 3 20-OCT-2009 06:35:35 CALIB This is not self-calibration 1 2 20-OCT-2009 06:35:35 CALIB Dividing data by source flux densities 1 2 20-OCT-2009 06:35:35 CALIB Determining solutions 1 3 20-OCT-2009 06:35:35 CALIB Writing SN table 2 1 5 20-OCT-2009 06:35:35 CALIB RPOL, IF= 1 The average gain over these antennas is 4.190E+00 1 5 20-OCT-2009 06:35:35 CALIB RPOL, IF= 2 The average gain over these antennas is 4.225E+00 1 5 20-OCT-2009 06:35:35 CALIB LPOL, IF= 1 The average gain over these antennas is 4.236E+00 1 5 20-OCT-2009 06:35:35 CALIB LPOL, IF= 2 The average gain over these antennas is 4.254E+00 1 5 20-OCT-2009 06:35:35 CALIB Found 100 good solutions 1 4 20-OCT-2009 06:35:35 CALIB Average closure rms = 0.0010 +- 0.0001 1 4 20-OCT-2009 06:35:35 CALIB Fraction of times having data > 2.5 rms from solution 1 4 20-OCT-2009 06:35:35 CALIB 0.50000 of the times had 2 - 4 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:35 CALIB 0.50000 of the times had 6 - 8 percent outside 2.5 times rms 1 2 20-OCT-2009 06:35:35 CALIB Adjusting solutions to a common reference antenna 1 3 20-OCT-2009 06:35:35 CALIB Appears to have ended successfully 1 5 20-OCT-2009 06:35:35 CALIB vlbacald-b 31DEC07 TST: Cpu= 0.1 Real= 0 1 2 20-OCT-2009 06:35:35 AIPS Resumes 1 5 20-OCT-2009 06:35:35 CALIB Task CALIB (release of 31DEC07) begins 1 3 20-OCT-2009 06:35:35 CALIB CALIB USING 19840426 . U BAND . 1 DISK= 1 USID=**** 1 3 20-OCT-2009 06:35:35 CALIB L1 Solution type 1 2 20-OCT-2009 06:35:35 CALIB Selecting, editing and calibrating the data 1 3 20-OCT-2009 06:35:35 CALIB Doing self-cal mode with CC model 1 4 20-OCT-2009 06:35:35 CALIB SETGDS: imaging done with reprojected tangent point(s) 1 3 20-OCT-2009 06:35:35 CALIB FACSET: source model will be scaled to 3.452 Jy 1 3 20-OCT-2009 06:35:35 CALIB FACSET: 3.484087 Jy found from 65 components 1 4 20-OCT-2009 06:35:35 CALIB FACSET: scaling factor set to 9.90679E-01 1 2 20-OCT-2009 06:35:35 CALIB QINIT: did a GET of 20480 Kwords, OFF -90576501 1 2 20-OCT-2009 06:35:35 CALIB VISDFT: Begin DFT component division 1 2 20-OCT-2009 06:35:35 CALIB VISDFT: Model components of type Point 1 3 20-OCT-2009 06:35:35 CALIB I Polarization model processed 1 2 20-OCT-2009 06:35:35 CALIB Model computation is 100 percent complete 1 3 20-OCT-2009 06:35:35 CALIB FACSET: source model will be scaled to 3.460 Jy 1 3 20-OCT-2009 06:35:35 CALIB FACSET: 3.484087 Jy found from 65 components 1 4 20-OCT-2009 06:35:35 CALIB FACSET: scaling factor set to 9.93177E-01 1 2 20-OCT-2009 06:35:35 CALIB VISDFT: Begin DFT component division 1 3 20-OCT-2009 06:35:35 CALIB I Polarization model processed 1 3 20-OCT-2009 06:35:35 CALIB Field 1 used 65 CCs 1 2 20-OCT-2009 06:35:35 CALIB Determining solutions 1 6 20-OCT-2009 06:35:35 CALIB Deleted 25 records from SN table no. 2 1 3 20-OCT-2009 06:35:35 CALIB Writing SN table 2 1 5 20-OCT-2009 06:35:35 CALIB RPOL, IF= 1 The average gain over these antennas is 4.179E+00 1 5 20-OCT-2009 06:35:35 CALIB RPOL, IF= 2 The average gain over these antennas is 4.214E+00 1 5 20-OCT-2009 06:35:35 CALIB LPOL, IF= 1 The average gain over these antennas is 4.225E+00 1 5 20-OCT-2009 06:35:35 CALIB LPOL, IF= 2 The average gain over these antennas is 4.243E+00 1 5 20-OCT-2009 06:35:35 CALIB Found 100 good solutions 1 4 20-OCT-2009 06:35:35 CALIB Average closure rms = 0.0009 +- 0.0001 1 4 20-OCT-2009 06:35:35 CALIB Fraction of times having data > 2.5 rms from solution 1 4 20-OCT-2009 06:35:35 CALIB 0.50000 of the times had 2 - 4 percent outside 2.5 times rms 1 4 20-OCT-2009 06:35:35 CALIB 0.50000 of the times had 6 - 8 percent outside 2.5 times rms 1 2 20-OCT-2009 06:35:35 CALIB Adjusting solutions to a common reference antenna 1 3 20-OCT-2009 06:35:35 CALIB Appears to have ended successfully 1 5 20-OCT-2009 06:35:35 CALIB vlbacald-b 31DEC07 TST: Cpu= 0.1 Real= 0 1 2 20-OCT-2009 06:35:35 AIPS Resumes 1 4 20-OCT-2009 06:35:35 AIPS Destroyed 1 extension files of type CC 1 4 20-OCT-2009 06:35:35 AIPS Destroyed 1 extension files of type HI 1 4 20-OCT-2009 06:35:35 AIPS Destroyed MA image file: catno= 2 disk= 1 1 5 20-OCT-2009 06:35:35 GETJY Task GETJY (release of 31DEC07) begins 1 6 20-OCT-2009 06:35:35 GETJY Source:Qual CALCODE IF Flux (Jy) 1 3 20-OCT-2009 06:35:35 GETJY Appears to have ended successfully 1 5 20-OCT-2009 06:35:35 GETJY vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:35 AIPS Resumes 1 5 20-OCT-2009 06:35:36 CLCAL Task CLCAL (release of 31DEC07) begins 1 4 20-OCT-2009 06:35:36 CLCAL Using interpolation mode 2PT 1 3 20-OCT-2009 06:35:36 CLCAL Processing SN table 2 1 5 20-OCT-2009 06:35:36 CLCAL SNMRG: Merging SN table 1 5 20-OCT-2009 06:35:36 CLCAL SNMRG: Write 25 merged records from 25 input records 1 4 20-OCT-2009 06:35:36 CLCAL SN2CL: Applying SN tables to CL table 2, writing CL table 3 1 3 20-OCT-2009 06:35:36 CLCAL Appears to have ended successfully 1 5 20-OCT-2009 06:35:36 CLCAL vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:36 AIPS Resumes 1 5 20-OCT-2009 06:35:36 CLCAL Task CLCAL (release of 31DEC07) begins 1 4 20-OCT-2009 06:35:36 CLCAL Using interpolation mode SELF 1 6 20-OCT-2009 06:35:36 CLCAL Deleted 125 records from CL table no. 3 1 3 20-OCT-2009 06:35:36 CLCAL Processing SN table 2 1 6 20-OCT-2009 06:35:36 CLCAL WARNING: SN table 2 has already been applied 1 5 20-OCT-2009 06:35:36 CLCAL SNMRG: Merging SN table 1 5 20-OCT-2009 06:35:36 CLCAL SNMRG: Write 25 merged records from 25 input records 1 4 20-OCT-2009 06:35:36 CLCAL SN2CL: Applying SN tables to CL table 2, writing CL table 3 1 3 20-OCT-2009 06:35:36 CLCAL Appears to have ended successfully 1 5 20-OCT-2009 06:35:36 CLCAL vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:36 AIPS Resumes 1 5 20-OCT-2009 06:35:36 TASAV Task TASAV (release of 31DEC07) begins 1 2 20-OCT-2009 06:35:36 TASAV Create 19840426 .TASAV . 1 (UV) on disk 1 cno 2 1 3 20-OCT-2009 06:35:36 TASAV Copied AN file from vol/cno/vers 1 1 1 to 1 2 1 1 3 20-OCT-2009 06:35:36 TASAV Copied NX file from vol/cno/vers 1 1 1 to 1 2 1 1 3 20-OCT-2009 06:35:36 TASAV Copied SU file from vol/cno/vers 1 1 1 to 1 2 1 1 3 20-OCT-2009 06:35:36 TASAV Copied FQ file from vol/cno/vers 1 1 1 to 1 2 1 1 3 20-OCT-2009 06:35:36 TASAV Copied CL file from vol/cno/vers 1 1 1 to 1 2 1 1 3 20-OCT-2009 06:35:36 TASAV Copied CL file from vol/cno/vers 1 1 2 to 1 2 2 1 3 20-OCT-2009 06:35:36 TASAV Copied CL file from vol/cno/vers 1 1 3 to 1 2 3 1 3 20-OCT-2009 06:35:36 TASAV Copied TY file from vol/cno/vers 1 1 1 to 1 2 1 1 3 20-OCT-2009 06:35:36 TASAV Copied WX file from vol/cno/vers 1 1 1 to 1 2 1 1 3 20-OCT-2009 06:35:36 TASAV Copied FG file from vol/cno/vers 1 1 1 to 1 2 1 1 3 20-OCT-2009 06:35:36 TASAV Copied FG file from vol/cno/vers 1 1 2 to 1 2 2 1 3 20-OCT-2009 06:35:36 TASAV Copied XX file from vol/cno/vers 1 1 1 to 1 2 1 1 3 20-OCT-2009 06:35:36 TASAV Copied SN file from vol/cno/vers 1 1 1 to 1 2 1 1 3 20-OCT-2009 06:35:36 TASAV Copied SN file from vol/cno/vers 1 1 2 to 1 2 2 1 3 20-OCT-2009 06:35:36 TASAV Appears to have ended successfully 1 5 20-OCT-2009 06:35:36 TASAV vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:36 AIPS Resumes 1 5 20-OCT-2009 06:35:36 SPLIT Task SPLIT (release of 31DEC07) begins 1 2 20-OCT-2009 06:35:36 SPLIT You are using a non-standard program 1 2 20-OCT-2009 06:35:36 SPLIT Doing subarray 1 1 2 20-OCT-2009 06:35:36 SPLIT Create 3C286 .U BAND. 1 (UV) on disk 1 cno 3 1 3 20-OCT-2009 06:35:36 SPLIT Applying CL Table version 3 1 6 20-OCT-2009 06:35:36 SPLIT Previously flagged flagged by gain kept 1 6 20-OCT-2009 06:35:36 SPLIT Partially 90 45 90 1 6 20-OCT-2009 06:35:36 SPLIT Fully 0 0 1362 1 3 20-OCT-2009 06:35:36 SPLIT Copied AN file from vol/cno/vers 1 1 1 to 1 3 1 1 3 20-OCT-2009 06:35:36 SPLIT Copied WX file from vol/cno/vers 1 1 1 to 1 3 1 1 3 20-OCT-2009 06:35:36 SPLIT Copied XX file from vol/cno/vers 1 1 1 to 1 3 1 1 3 20-OCT-2009 06:35:36 SPLIT Appears to have ended successfully 1 5 20-OCT-2009 06:35:36 SPLIT vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:36 AIPS Resumes 1 5 20-OCT-2009 06:35:36 AIPS ' ' 1 5 20-OCT-2009 06:35:36 AIPS 'ESTIMATED RMS:' '0.4225 MILLI JANSKY' 1 3 20-OCT-2009 06:35:36 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:36 AIPS rm -f /tmp/SETFC@3C286_U,BAND.0-1 >& /dev/null 1 2 20-OCT-2009 06:35:36 AIPS Waiting for returned adverbs 1 5 20-OCT-2009 06:35:36 SETFC Task SETFC (release of 31DEC07) begins 1 3 20-OCT-2009 06:35:36 SETFC Found 3C286 .U BAND.00001 Disk 1 slot 3 1 4 20-OCT-2009 06:35:36 SETFC SETCEL: max baseline, W = 1.6265E+05 4.7459E+04 wavelengths 1 4 20-OCT-2009 06:35:36 SETFC SETCEL: max field radius 5.4664E+02 arc seconds 1 4 20-OCT-2009 06:35:36 SETFC SETCEL: is > requested radius 9.0211E+01 arc seconds 1 4 20-OCT-2009 06:35:36 SETFC SETCEL: recommends IMSIZE 427 CELLSIZE 0.422728 1 4 20-OCT-2009 06:35:36 SETFC SETCEL: returns IMSIZE 512 CELLSIZE 0.394720 1 2 20-OCT-2009 06:35:36 SETFC ZTXOP2: using translated file name = 1 2 20-OCT-2009 06:35:36 SETFC ZTXOP2: /tmp/SETFC@3C286_U,BAND.0-1 1 4 20-OCT-2009 06:35:36 SETFC FLYEYE added 1 fields to BOXFILE to 0.000 deg 1 7 20-OCT-2009 06:35:36 SETFC WARNING: THIS MAY NOT COVER THE DESIRED AREA 1 4 20-OCT-2009 06:35:36 SETFC First field number written was 1 1 4 20-OCT-2009 06:35:36 SETFC Highest field number written was 1 1 2 20-OCT-2009 06:35:36 SETFC returns adverbs to AIPS 1 3 20-OCT-2009 06:35:36 SETFC Appears to have ended successfully 1 5 20-OCT-2009 06:35:36 SETFC vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:37 AIPS Resumes 1 3 20-OCT-2009 06:35:37 AIPS SETFC was not found to be running 1 5 20-OCT-2009 06:35:37 AIPS 'SEARCHING FOR NVSS SOURCES' 1 2 20-OCT-2009 06:35:37 AIPS Waiting for returned adverbs 1 5 20-OCT-2009 06:35:37 SETFC Task SETFC (release of 31DEC07) begins 1 3 20-OCT-2009 06:35:37 SETFC Found 3C286 .U BAND.00001 Disk 1 slot 3 1 2 20-OCT-2009 06:35:37 SETFC ZTXOP2: using translated file name = 1 2 20-OCT-2009 06:35:37 SETFC ZTXOP2: /tmp/SETFC@3C286_U,BAND.0-1 1 3 20-OCT-2009 06:35:37 SETFC Searching catalog between 0.00 and 0.08 degrees radius 1 2 20-OCT-2009 06:35:37 SETFC ZTXOP2: using translated file name = 1 2 20-OCT-2009 06:35:37 SETFC ZTXOP2: /home/auto/aips/TEXT/STARS/NV00.0030 1 3 20-OCT-2009 06:35:38 SETFC Field RA Dec Flux Beam Sep 1 3 20-OCT-2009 06:35:38 SETFC 2 13:31:08.31 30:30:32.4 14.903 1.000 0.000 1 4 20-OCT-2009 06:35:38 SETFC Add NVSS: wrote 1 fields to BOXFILE 1 3 20-OCT-2009 06:35:38 SETFC The Sun is 134.5 deg away - ignoring 1 4 20-OCT-2009 06:35:38 SETFC First field number written was 2 1 4 20-OCT-2009 06:35:38 SETFC Highest field number written was 2 1 2 20-OCT-2009 06:35:38 SETFC returns adverbs to AIPS 1 3 20-OCT-2009 06:35:38 SETFC Appears to have ended successfully 1 5 20-OCT-2009 06:35:38 SETFC vlbacald-b 31DEC07 TST: Cpu= 0.9 Real= 1 1 2 20-OCT-2009 06:35:38 AIPS Resumes 1 3 20-OCT-2009 06:35:38 AIPS SETFC was not found to be running 1 3 20-OCT-2009 06:35:38 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:38 AIPS echo "SETFC FILE FOR SOURCE 3C286 BELOW IS:" >> $ARUN/AB0271_198 1 3 20-OCT-2009 06:35:38 AIPS 4APR26_1.1.log 1 3 20-OCT-2009 06:35:38 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:38 AIPS cat /tmp/SETFC@3C286_U,BAND.0-1 >> $ARUN/AB0271_1984APR26_1.1.lo 1 3 20-OCT-2009 06:35:38 AIPS g 1 5 20-OCT-2009 06:35:38 AIPS ' NOW STARTING WITH SOURCE :1 =3C286' 1 5 20-OCT-2009 06:35:38 AIPS ' ' 1 5 20-OCT-2009 06:35:38 IMAGR Task IMAGR (release of 31DEC07) begins 1 2 20-OCT-2009 06:35:38 IMAGR ZTXOP2: using translated file name = 1 2 20-OCT-2009 06:35:38 IMAGR ZTXOP2: /tmp/SETFC@3C286_U,BAND.0-1 1 3 20-OCT-2009 06:35:38 IMAGR FIELDF: Final field parameters and # read are: 1 3 20-OCT-2009 06:35:38 IMAGR Field 1 500 500 3.6763E-02 4.3783E-02 0 1 3 20-OCT-2009 06:35:38 IMAGR Field 2 246 246 2.9523E-01 -5.5622E-01 0 1 2 20-OCT-2009 06:35:38 IMAGR ZTXOP2: using translated file name = 1 2 20-OCT-2009 06:35:38 IMAGR ZTXOP2: /tmp/SETFC@3C286_U,BAND.0-1 1 7 20-OCT-2009 06:35:38 IMAGR WINDF: Number of clean boxes/field read as follows: 1 3 20-OCT-2009 06:35:38 IMAGR Field 01: 1 Field 02: 1 1 2 20-OCT-2009 06:35:38 IMAGR Create 3C286 .IMAGR . 1 (UV) on disk 1 cno 4 1 4 20-OCT-2009 06:35:38 IMAGR Beginning channel 1 through 1 with 2 IFs 1 3 20-OCT-2009 06:35:38 IMAGR IMACPY: Copied 1452 visibilities to be imaged 1 2 20-OCT-2009 06:35:38 IMAGR QINIT: did a GET of 20480 Kwords, OFF -91348301 1 2 20-OCT-2009 06:35:38 IMAGR UVWAIT: begin finding uniform weights 1 2 20-OCT-2009 06:35:38 IMAGR UVWAIT: Average grid weight 7.333E+03 1 2 20-OCT-2009 06:35:38 IMAGR UVWAIT: Adding temperance S 1.467E+03 1 2 20-OCT-2009 06:35:38 IMAGR UVWAIT: begin applying uniform or other weights 1 4 20-OCT-2009 06:35:38 IMAGR UVWAIT: Sum of weights in 2.577E+06 and out 3.070E+06 1 4 20-OCT-2009 06:35:38 IMAGR UVWAIT: Noise is increased by a factor 1.138 due to weighting 1 4 20-OCT-2009 06:35:38 IMAGR UVWAIT: Average summed weight 7.333E+03 over 2858 vis 1 2 20-OCT-2009 06:35:38 IMAGR Create 3C286 .IBM001. 1 (MA) on disk 1 cno 5 1 2 20-OCT-2009 06:35:38 IMAGR Create 3C286 .IBM002. 1 (MA) on disk 1 cno 6 1 2 20-OCT-2009 06:35:38 IMAGR Create 3C286 .ICL001. 1 (MA) on disk 1 cno 7 1 2 20-OCT-2009 06:35:38 IMAGR Create 3C286 .ICL002. 1 (MA) on disk 1 cno 8 1 2 20-OCT-2009 06:35:38 IMAGR GRDFLT: X and Y convolution type = SPHEROIDAL 1 2 20-OCT-2009 06:35:38 IMAGR GRDFLT: X and Y parms = 3.0000 1.0000 1 2 20-OCT-2009 06:35:38 IMAGR GRDFLT: convolution function sampled every 1/100 of a cell 1 2 20-OCT-2009 06:35:38 IMAGR GRDMEM: Ave 2 Channels; 1.496490E+10 to 1.491490E+10 Hz 1 4 20-OCT-2009 06:35:38 IMAGR Field 1 Sum of gridding weights = 3.25882E+07 1 4 20-OCT-2009 06:35:38 IMAGR Field 1 Beam min = -236.5 MilliJy, max = 1.0 Jy 1 4 20-OCT-2009 06:35:38 IMAGR Field 1 fit FWHM = 1.555 x 1.308 arcsec, PA= -59.0 1 4 20-OCT-2009 06:35:38 IMAGR Field 2 Sum of gridding weights = 3.25874E+07 1 4 20-OCT-2009 06:35:38 IMAGR Field 2 Beam min = -108.4 MilliJy, max = 1.0 Jy 1 4 20-OCT-2009 06:35:38 IMAGR Field 2 fit FWHM = 1.555 x 1.308 arcsec, PA= -59.0 1 4 20-OCT-2009 06:35:38 IMAGR CLBHIS: minimum component 0.500 of current peak 1 4 20-OCT-2009 06:35:38 IMAGR Field 1 min = -378.1 MilliJy,max = 3.4 Jy 1 4 20-OCT-2009 06:35:38 IMAGR Field 2 min = -401.4 MilliJy,max = 3.2 Jy 1 2 20-OCT-2009 06:35:38 IMAGR BGC Clean: using 1019 cell beam + residuals > 444.43 MilliJy 1 2 20-OCT-2009 06:35:38 IMAGR 3026 Residual map points loaded 1 4 20-OCT-2009 06:35:38 IMAGR Field 1 min algorithm flux= 1.635 Jy iter= 8 1 3 20-OCT-2009 06:35:38 IMAGR Field 1 Clean flux density= 1.947 Jy 8 comps 1 3 20-OCT-2009 06:35:38 IMAGR Total Cleaned flux density = 1.947 Jy 8 comps 1 4 20-OCT-2009 06:35:38 IMAGR SETDO3: imaging done with multiple tangent planes 1 2 20-OCT-2009 06:35:38 IMAGR VISDFT: Begin DFT component subtraction 1 2 20-OCT-2009 06:35:38 IMAGR VISDFT: Model components of type Point 1 3 20-OCT-2009 06:35:38 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:38 IMAGR Field 2 min = -172.8 MilliJy,max = 1.5 Jy 1 3 20-OCT-2009 06:35:38 IMAGR TRY ANOTHER FIELD: this is 1.397E+00 < Second best 1.556E+00 1 4 20-OCT-2009 06:35:38 IMAGR Field 1 min = -170.7 MilliJy,max = 1.5 Jy 1 2 20-OCT-2009 06:35:38 IMAGR BGC Clean: using 1019 cell beam + residuals > 212.57 MilliJy 1 2 20-OCT-2009 06:35:38 IMAGR 2295 Residual map points loaded 1 4 20-OCT-2009 06:35:38 IMAGR Field 1 min allowed flux = 713.770 MilliJy iter= 16 1 3 20-OCT-2009 06:35:38 IMAGR Field 1 Clean flux density= 2.787 Jy 16 comps 1 3 20-OCT-2009 06:35:38 IMAGR Total Cleaned flux density = 2.787 Jy 16 comps 1 2 20-OCT-2009 06:35:38 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:38 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:38 IMAGR Field 2 min = -97.3 MilliJy,max = 703.2 MilliJy 1 2 20-OCT-2009 06:35:38 IMAGR BGC Clean: using 509 cell beam + residuals > 190.75 MilliJy 1 2 20-OCT-2009 06:35:38 IMAGR 69 Residual map points loaded 1 4 20-OCT-2009 06:35:38 IMAGR Field 2 min allowed flux = 336.330 MilliJy iter= 8 1 3 20-OCT-2009 06:35:38 IMAGR Field 2 Clean flux density= 400.485 MilliJy 8 comps 1 3 20-OCT-2009 06:35:38 IMAGR Total Cleaned flux density = 3.187 Jy 24 comps 1 2 20-OCT-2009 06:35:38 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:38 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:38 IMAGR Field 1 min = -44.9 MilliJy,max = 283.4 MilliJy 1 3 20-OCT-2009 06:35:38 IMAGR TRY ANOTHER FIELD: this is 2.697E-01 < Second best 3.201E-01 1 4 20-OCT-2009 06:35:38 IMAGR Field 2 min = -46.6 MilliJy,max = 302.7 MilliJy 1 2 20-OCT-2009 06:35:38 IMAGR BGC Clean: using 509 cell beam + residuals > 43.72 MilliJy 1 2 20-OCT-2009 06:35:38 IMAGR 569 Residual map points loaded 1 4 20-OCT-2009 06:35:38 IMAGR Field 2 min allowed flux = 144.775 MilliJy iter= 16 1 3 20-OCT-2009 06:35:38 IMAGR Field 2 Clean flux density= 572.876 MilliJy 16 comps 1 3 20-OCT-2009 06:35:38 IMAGR Total Cleaned flux density = 3.359 Jy 32 comps 1 2 20-OCT-2009 06:35:38 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:38 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:38 IMAGR Field 1 min = -28.3 MilliJy,max = 128.3 MilliJy 1 3 20-OCT-2009 06:35:38 IMAGR TRY ANOTHER FIELD: this is 1.221E-01 < Second best 1.378E-01 1 4 20-OCT-2009 06:35:38 IMAGR Field 2 min = -29.3 MilliJy,max = 130.3 MilliJy 1 2 20-OCT-2009 06:35:38 IMAGR BGC Clean: using 509 cell beam + residuals > 18.82 MilliJy 1 2 20-OCT-2009 06:35:38 IMAGR 925 Residual map points loaded 1 4 20-OCT-2009 06:35:38 IMAGR Field 2 min allowed flux = 62.319 MilliJy iter= 24 1 3 20-OCT-2009 06:35:38 IMAGR Field 2 Clean flux density= 647.083 MilliJy 24 comps 1 3 20-OCT-2009 06:35:38 IMAGR Total Cleaned flux density = 3.434 Jy 40 comps 1 2 20-OCT-2009 06:35:38 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:38 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:38 IMAGR Field 1 min = -29.3 MilliJy,max = 63.1 MilliJy 1 2 20-OCT-2009 06:35:38 IMAGR BGC Clean: using 1019 cell beam + residuals > 16.67 MilliJy 1 2 20-OCT-2009 06:35:38 IMAGR 1463 Residual map points loaded 1 4 20-OCT-2009 06:35:38 IMAGR Field 1 min allowed flux = -30.926 MilliJy iter= 26 1 3 20-OCT-2009 06:35:38 IMAGR Field 1 Clean flux density= 2.817 Jy 26 comps 1 3 20-OCT-2009 06:35:38 IMAGR Total Cleaned flux density = 3.464 Jy 50 comps 1 2 20-OCT-2009 06:35:38 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:38 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:39 IMAGR Field 2 min = -28.2 MilliJy,max = 28.6 MilliJy 1 3 20-OCT-2009 06:35:39 IMAGR TRY ANOTHER FIELD: this is 2.734E-02 < Second best 2.948E-02 1 4 20-OCT-2009 06:35:39 IMAGR Field 1 min = -29.3 MilliJy,max = 30.6 MilliJy 1 2 20-OCT-2009 06:35:39 IMAGR BGC Clean: using 901 cell beam + residuals > 8.47 MilliJy 1 2 20-OCT-2009 06:35:39 IMAGR 14672 Residual map points loaded 1 4 20-OCT-2009 06:35:39 IMAGR Field 1 min algorithm flux= 16.044 MilliJy iter= 85 1 3 20-OCT-2009 06:35:39 IMAGR Field 1 Clean flux density= 2.809 Jy 85 comps 1 3 20-OCT-2009 06:35:39 IMAGR Total Cleaned flux density = 3.456 Jy 109 comps 1 2 20-OCT-2009 06:35:39 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:39 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:39 IMAGR Field 2 min = -18.2 MilliJy,max = 18.3 MilliJy 1 2 20-OCT-2009 06:35:39 IMAGR BGC Clean: using 509 cell beam + residuals > 7.83 MilliJy 1 2 20-OCT-2009 06:35:39 IMAGR 1169 Residual map points loaded 1 4 20-OCT-2009 06:35:39 IMAGR Field 2 min algorithm flux= -10.789 MilliJy iter= 74 1 3 20-OCT-2009 06:35:39 IMAGR Field 2 Clean flux density= 662.761 MilliJy 74 comps 1 3 20-OCT-2009 06:35:39 IMAGR Total Cleaned flux density = 3.471 Jy 159 comps 1 2 20-OCT-2009 06:35:39 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:39 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:39 IMAGR Field 1 min = -23.6 MilliJy,max = 18.0 MilliJy 1 2 20-OCT-2009 06:35:39 IMAGR BGC Clean: using 807 cell beam + residuals > 5.81 MilliJy 1 2 20-OCT-2009 06:35:39 IMAGR 13034 Residual map points loaded 1 4 20-OCT-2009 06:35:39 IMAGR Field 1 min algorithm flux= 9.549 MilliJy iter= 220 1 3 20-OCT-2009 06:35:39 IMAGR Field 1 Clean flux density= 2.782 Jy 220 comps 1 3 20-OCT-2009 06:35:39 IMAGR Total Cleaned flux density = 3.445 Jy 294 comps 1 2 20-OCT-2009 06:35:39 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:39 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:39 IMAGR Field 2 min = -11.2 MilliJy,max = 11.8 MilliJy 1 3 20-OCT-2009 06:35:39 IMAGR TRY ANOTHER FIELD: this is 8.682E-03 < Second best 9.143E-03 1 4 20-OCT-2009 06:35:39 IMAGR Field 1 min = -19.3 MilliJy,max = 18.5 MilliJy 1 2 20-OCT-2009 06:35:39 IMAGR BGC Clean: using 651 cell beam + residuals > 4.91 MilliJy 1 2 20-OCT-2009 06:35:39 IMAGR 10884 Residual map points loaded 1 4 20-OCT-2009 06:35:39 IMAGR Field 1 min algorithm flux= -7.245 MilliJy iter= 390 1 3 20-OCT-2009 06:35:39 IMAGR Field 1 Clean flux density= 2.785 Jy 390 comps 1 3 20-OCT-2009 06:35:39 IMAGR Total Cleaned flux density = 3.448 Jy 464 comps 1 2 20-OCT-2009 06:35:39 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:39 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:39 IMAGR Field 2 min = -8.9 MilliJy,max = 10.4 MilliJy 1 2 20-OCT-2009 06:35:39 IMAGR BGC Clean: using 509 cell beam + residuals > 4.65 MilliJy 1 2 20-OCT-2009 06:35:39 IMAGR 396 Residual map points loaded 1 4 20-OCT-2009 06:35:39 IMAGR Field 2 min algorithm flux= -5.178 MilliJy iter= 128 1 3 20-OCT-2009 06:35:39 IMAGR Field 2 Clean flux density= 674.798 MilliJy 128 comps 1 3 20-OCT-2009 06:35:39 IMAGR Total Cleaned flux density = 3.460 Jy 518 comps 1 2 20-OCT-2009 06:35:39 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:39 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:39 IMAGR Field 1 min = -16.5 MilliJy,max = 17.6 MilliJy 1 2 20-OCT-2009 06:35:39 IMAGR BGC Clean: using 653 cell beam + residuals > 3.91 MilliJy 1 2 20-OCT-2009 06:35:39 IMAGR 9508 Residual map points loaded 1 4 20-OCT-2009 06:35:39 IMAGR Field 1 min algorithm flux= 5.553 MilliJy iter= 645 1 3 20-OCT-2009 06:35:39 IMAGR Field 1 Clean flux density= 2.788 Jy 645 comps 1 3 20-OCT-2009 06:35:39 IMAGR Total Cleaned flux density = 3.463 Jy 773 comps 1 2 20-OCT-2009 06:35:39 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:39 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:40 IMAGR Field 1 min = -14.4 MilliJy,max = 15.5 MilliJy 1 2 20-OCT-2009 06:35:40 IMAGR BGC Clean: using 653 cell beam + residuals > 3.29 MilliJy 1 2 20-OCT-2009 06:35:40 IMAGR 10767 Residual map points loaded 1 4 20-OCT-2009 06:35:40 IMAGR Field 1 min algorithm flux= 4.540 MilliJy iter= 980 1 3 20-OCT-2009 06:35:40 IMAGR Field 1 Clean flux density= 2.789 Jy 980 comps 1 3 20-OCT-2009 06:35:40 IMAGR Total Cleaned flux density = 3.464 Jy 1108 comps 1 2 20-OCT-2009 06:35:40 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:40 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:40 IMAGR Field 2 min = -5.7 MilliJy,max = 7.5 MilliJy 1 2 20-OCT-2009 06:35:40 IMAGR BGC Clean: using 509 cell beam + residuals > 3.26 MilliJy 1 2 20-OCT-2009 06:35:40 IMAGR 127 Residual map points loaded 1 4 20-OCT-2009 06:35:40 IMAGR Field 2 min algorithm flux= 3.383 MilliJy iter= 173 1 3 20-OCT-2009 06:35:40 IMAGR Field 2 Clean flux density= 676.584 MilliJy 173 comps 1 3 20-OCT-2009 06:35:40 IMAGR Total Cleaned flux density = 3.466 Jy 1153 comps 1 2 20-OCT-2009 06:35:40 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:40 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:40 IMAGR Field 1 min = -13.0 MilliJy,max = 14.1 MilliJy 1 2 20-OCT-2009 06:35:40 IMAGR BGC Clean: using 653 cell beam + residuals > 2.85 MilliJy 1 2 20-OCT-2009 06:35:40 IMAGR 9097 Residual map points loaded 1 4 20-OCT-2009 06:35:40 IMAGR Field 1 min algorithm flux= -3.924 MilliJy iter= 1468 1 3 20-OCT-2009 06:35:40 IMAGR Field 1 Clean flux density= 2.788 Jy 1468 comps 1 3 20-OCT-2009 06:35:40 IMAGR Total Cleaned flux density = 3.465 Jy 1641 comps 1 2 20-OCT-2009 06:35:40 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:40 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:40 IMAGR Field 1 min = -11.7 MilliJy,max = 12.6 MilliJy 1 2 20-OCT-2009 06:35:40 IMAGR BGC Clean: using 653 cell beam + residuals > 2.44 MilliJy 1 2 20-OCT-2009 06:35:40 IMAGR 11788 Residual map points loaded 1 4 20-OCT-2009 06:35:41 IMAGR Field 1 min algorithm flux= -3.211 MilliJy iter= 2021 1 3 20-OCT-2009 06:35:41 IMAGR Field 1 Clean flux density= 2.790 Jy 2021 comps 1 3 20-OCT-2009 06:35:41 IMAGR Total Cleaned flux density = 3.467 Jy 2194 comps 1 2 20-OCT-2009 06:35:41 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:41 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:41 IMAGR Field 2 min = -4.2 MilliJy,max = 5.6 MilliJy 1 2 20-OCT-2009 06:35:41 IMAGR BGC Clean: using 509 cell beam + residuals > 2.44 MilliJy 1 2 20-OCT-2009 06:35:41 IMAGR 91 Residual map points loaded 1 4 20-OCT-2009 06:35:41 IMAGR Field 2 min Clean flux = 2.527 MilliJy iter= 209 1 5 20-OCT-2009 06:35:41 IMAGR Field 2 Clean flux density= 677.691 MilliJy 209 comps 1 5 20-OCT-2009 06:35:41 IMAGR Total Cleaned flux density = 3.468 Jy 2230 comps 1 2 20-OCT-2009 06:35:41 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:41 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:41 IMAGR Field 1 min = -12.1 MilliJy,max = 11.4 MilliJy 1 2 20-OCT-2009 06:35:41 IMAGR BGC Clean: using 653 cell beam + residuals > 2.15 MilliJy 1 2 20-OCT-2009 06:35:41 IMAGR 10036 Residual map points loaded 1 4 20-OCT-2009 06:35:41 IMAGR Field 1 min algorithm flux= -2.812 MilliJy iter= 2749 1 3 20-OCT-2009 06:35:41 IMAGR Field 1 Clean flux density= 2.790 Jy 2749 comps 1 3 20-OCT-2009 06:35:41 IMAGR Total Cleaned flux density = 3.468 Jy 2958 comps 1 2 20-OCT-2009 06:35:41 IMAGR VISDFT: Begin DFT component subtraction 1 3 20-OCT-2009 06:35:41 IMAGR I Polarization model processed 1 4 20-OCT-2009 06:35:42 IMAGR Field 1 min = -10.4 MilliJy,max = 10.4 MilliJy 1 2 20-OCT-2009 06:35:42 IMAGR BGC Clean: using 885 cell beam + residuals > 1.68 MilliJy 1 2 20-OCT-2009 06:35:42 IMAGR 17003 Residual map points loaded 1 4 20-OCT-2009 06:35:43 IMAGR Field 1 min Clean flux = -2.532 MilliJy iter= 4400 1 5 20-OCT-2009 06:35:43 IMAGR Field 1 Clean flux density= 2.789 Jy 4400 comps 1 5 20-OCT-2009 06:35:43 IMAGR Total Cleaned flux density = 3.467 Jy 4609 comps 1 2 20-OCT-2009 06:35:43 IMAGR ALGSTB: All 320 Rows In AP (Max 523) 1 2 20-OCT-2009 06:35:43 IMAGR ALGSTB field 1 Ipol gridded model subtraction chns 1- 2 1 2 20-OCT-2009 06:35:43 IMAGR ALGSTB: Pass 1; 309- 0 Cells, with 1452 Pts 1 4 20-OCT-2009 06:35:43 IMAGR Peak residual in window 2.532 less than limit 2.535 MilliJy 1 3 20-OCT-2009 06:35:43 IMAGR Merging the Clean components files 1 3 20-OCT-2009 06:35:43 IMAGR Field 1 compressed from 4400 to 1125 components 1 3 20-OCT-2009 06:35:43 IMAGR Field 2 compressed from 209 to 104 components 1 4 20-OCT-2009 06:35:43 IMAGR Field 1 min = -8.7 MilliJy,max = 8.5 MilliJy 1 4 20-OCT-2009 06:35:43 IMAGR Field 2 min = -3.0 MilliJy,max = 3.4 MilliJy 1 3 20-OCT-2009 06:35:43 IMAGR Restoring Clean components 1 3 20-OCT-2009 06:35:44 IMAGR Restoring overlapped Clean components 1 3 20-OCT-2009 06:35:44 IMAGR Restore 2.833 Jy ( 127 CCs) from field 1 to field 2 1 3 20-OCT-2009 06:35:44 IMAGR Restore 677.691 MilliJy ( 104 CCs) from field 2 to field 1 1 3 20-OCT-2009 06:35:44 IMAGR Checking image max/min 1 3 20-OCT-2009 06:35:44 IMAGR Field 1 final Clean flux 3.467 Jy 1 3 20-OCT-2009 06:35:44 IMAGR Field 2 final Clean flux 3.511 Jy 1 6 20-OCT-2009 06:35:44 IMAGR Deleting UV work file: 1 4 20-OCT-2009 06:35:44 IMAGR Destroyed 1 extension files of type AN 1 4 20-OCT-2009 06:35:44 IMAGR Destroyed 1 extension files of type FQ 1 4 20-OCT-2009 06:35:44 IMAGR Destroyed UV image file: catno= 4 disk= 1 1 3 20-OCT-2009 06:35:44 IMAGR Appears to have ended successfully 1 5 20-OCT-2009 06:35:44 IMAGR vlbacald-b 31DEC07 TST: Cpu= 5.1 Real= 6 1 2 20-OCT-2009 06:35:44 AIPS Resumes 1 3 20-OCT-2009 06:35:44 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:44 AIPS rm -f /tmp/SETFC@3C286_U,BAND.0-1 >& /dev/null 1 5 20-OCT-2009 06:35:44 UVPLT Task UVPLT (release of 31DEC07) begins 1 2 20-OCT-2009 06:35:44 UVPLT GFINIS: number records used 273 1 2 20-OCT-2009 06:35:44 UVPLT PLTUV: 5716 Points plotted 1 2 20-OCT-2009 06:35:44 UVPLT PLTUV: Plot file version 1 created. 1 3 20-OCT-2009 06:35:44 UVPLT Appears to have ended successfully 1 5 20-OCT-2009 06:35:44 UVPLT vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:44 AIPS Resumes 1 5 20-OCT-2009 06:35:44 UVPLT Task UVPLT (release of 31DEC07) begins 1 2 20-OCT-2009 06:35:44 UVPLT GFINIS: number records used 138 1 2 20-OCT-2009 06:35:44 UVPLT PLTUV: 2858 Points plotted 1 2 20-OCT-2009 06:35:44 UVPLT PLTUV: Plot file version 2 created. 1 3 20-OCT-2009 06:35:44 UVPLT Appears to have ended successfully 1 5 20-OCT-2009 06:35:44 UVPLT vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:44 AIPS Resumes 1 5 20-OCT-2009 06:35:44 UVPLT Task UVPLT (release of 31DEC07) begins 1 2 20-OCT-2009 06:35:44 UVPLT GFINIS: number records used 139 1 2 20-OCT-2009 06:35:44 UVPLT PLTUV: 2858 Points plotted 1 2 20-OCT-2009 06:35:44 UVPLT PLTUV: Plot file version 3 created. 1 3 20-OCT-2009 06:35:44 UVPLT Appears to have ended successfully 1 5 20-OCT-2009 06:35:44 UVPLT vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:44 AIPS Resumes 1 4 20-OCT-2009 06:35:44 AIPS Destroyed 1 extension files of type HI 1 4 20-OCT-2009 06:35:44 AIPS Destroyed MA image file: catno= 5 disk= 1 1 4 20-OCT-2009 06:35:44 AIPS Destroyed 1 extension files of type HI 1 4 20-OCT-2009 06:35:44 AIPS Destroyed MA image file: catno= 6 disk= 1 1 2 20-OCT-2009 06:35:44 AIPS Disk 1 in-CNO 7 renumbered as CNO 4 1 2 20-OCT-2009 06:35:44 AIPS Disk 1 in-CNO 8 renumbered as CNO 5 1 5 20-OCT-2009 06:35:44 AIPS ' ' 1 5 20-OCT-2009 06:35:44 AIPS ' ' 1 2 20-OCT-2009 06:35:44 AIPS Found in Version=ABIN 1 5 20-OCT-2009 06:35:44 AIPS '* APPEARS TO HAVE ENDED SUCCESSFULLY *' 1 0 20-OCT-2009 06:35:44 AIPS 1 0 20-OCT-2009 06:35:44 AIPS type'EMPTY CATALOG ?' checkcat 1 2 20-OCT-2009 06:35:44 AIPS Disk 1 No files needed renumbering 1 5 20-OCT-2009 06:35:44 AIPS 'EMPTY CATALOG ?' 5 1 0 20-OCT-2009 06:35:44 AIPS flatfov;nvasimage 1 5 20-OCT-2009 06:35:44 AIPS 'WARNING: ONLY ONE UV-FILE - MAYBE CHECK?' 1 2 20-OCT-2009 06:35:44 AIPS Got(1) disk= 1 user=**** type=UV 19840426.U BAND.1 1 5 20-OCT-2009 06:35:44 AIPS '20 SECOND INTEGRATIONS (GUESS)' 1 2 20-OCT-2009 06:35:44 AIPS Got(1) disk= 1 user=**** type=UV 3C286.U BAND.1 1 5 20-OCT-2009 06:35:44 AIPS 'MINIMUM FOV :90.3621 ARCSEC RADIUS' 1 5 20-OCT-2009 06:35:44 FLATN Task FLATN (release of 31DEC07) begins 1 2 20-OCT-2009 06:35:44 FLATN Create 3C286 .FLATN . 1 (MA) on disk 1 cno 6 1 4 20-OCT-2009 06:35:44 FLATN Field 1 included blc,trc 1 1 458 458 1 2 20-OCT-2009 06:35:45 AIPS Resumes 1 4 20-OCT-2009 06:35:45 FLATN Field 2 included blc,trc 115 114 343 342 1 2 20-OCT-2009 06:35:45 FLATN Now output average image 1 3 20-OCT-2009 06:35:45 FLATN Appears to have ended successfully 1 5 20-OCT-2009 06:35:45 FLATN vlbacald-b 31DEC07 TST: Cpu= 0.5 Real= 1 1 3 20-OCT-2009 06:35:45 AIPS Task FLATN has finished 1 5 20-OCT-2009 06:35:45 BLANK Task BLANK (release of 31DEC07) begins 1 2 20-OCT-2009 06:35:45 BLANK Create 3C286 .BLANK . 1 (MA) on disk 1 cno 7 1 2 20-OCT-2009 06:35:45 AIPS Resumes 1 3 20-OCT-2009 06:35:45 BLANK Appears to have ended successfully 1 5 20-OCT-2009 06:35:45 BLANK vlbacald-b 31DEC07 TST: Cpu= 0.2 Real= 0 1 3 20-OCT-2009 06:35:46 AIPS Task BLANK has finished 1 4 20-OCT-2009 06:35:46 AIPS Destroyed 1 extension files of type HI 1 4 20-OCT-2009 06:35:46 AIPS Destroyed MA image file: catno= 6 disk= 1 1 2 20-OCT-2009 06:35:46 AIPS Disk 1 in-CNO 7 renumbered as CNO 6 1 2 20-OCT-2009 06:35:46 AIPS Disk 1 No files needed renumbering 1 2 20-OCT-2009 06:35:46 AIPS Got(1) disk= 1 user=**** type=UV 19840426.U BAND.1 1 2 20-OCT-2009 06:35:46 AIPS Got(1) disk= 1 user=**** type=UV 19840426.TASAV.1 1 2 20-OCT-2009 06:35:46 AIPS Got(1) disk= 1 user=**** type=UV 3C286.U BAND.1 1 2 20-OCT-2009 06:35:46 AIPS Got(1) disk= 1 user=**** type=MA 3C286.ICL001.1 1 2 20-OCT-2009 06:35:46 AIPS Got(1) disk= 1 user=**** type=MA 3C286.ICL002.1 1 2 20-OCT-2009 06:35:46 AIPS Got(1) disk= 1 user=**** type=MA 3C286.BLANK.1 1 2 20-OCT-2009 06:35:46 AIPS Got(1) disk= 1 user=**** type=MA 3C286.BLANK.1 1 5 20-OCT-2009 06:35:46 AIPS Mean=-1.6210E-06 rms= 9.9991E-04 JY/BEAM over 160981. pixels 1 5 20-OCT-2009 06:35:46 AIPS Maximum= 2.0737E-02 at 101 101 1 1 1 1 1 1 5 20-OCT-2009 06:35:46 AIPS Skypos: RA 13 31 12.19615 DEC 30 29 42.0337 1 5 20-OCT-2009 06:35:46 AIPS Skypos: IPOL 14939.900 MHZ 1 5 20-OCT-2009 06:35:46 AIPS Minimum=-2.0536E-02 at 30 123 1 1 1 1 1 1 5 20-OCT-2009 06:35:46 AIPS Skypos: RA 13 31 14.36457 DEC 30 29 50.7124 1 5 20-OCT-2009 06:35:46 AIPS Skypos: IPOL 14939.900 MHZ 1 5 20-OCT-2009 06:35:46 AIPS Flux density = -1.7646E-02 Jy. Beam area = 14.79 pixels 1 2 20-OCT-2009 06:35:46 AIPS Waiting for returned adverbs 1 5 20-OCT-2009 06:35:46 IMEAN Task IMEAN (release of 31DEC07) begins 1 5 20-OCT-2009 06:35:46 IMEAN Image= 3C286 .BLANK . 1 1 xywind= 1 1 458 458 1 5 20-OCT-2009 06:35:46 IMEAN Mean and rms found by fitting peak in histogram: 1 5 20-OCT-2009 06:35:46 IMEAN Mean=-6.2869E-06 Rms= 7.3584E-04 **** from histogram 1 5 20-OCT-2009 06:35:46 IMEAN Mean and rms found by including all data: 1 5 20-OCT-2009 06:35:46 IMEAN Mean= 3.1177E-04 Rms= 2.3036E-02 JY/BEAM over 164581 pixels 1 5 20-OCT-2009 06:35:46 IMEAN Flux density = 3.4698E+00 Jy. beam area = 14.79 pixels 1 5 20-OCT-2009 06:35:46 IMEAN Minimum=-2.0536E-02 at 30 123 1 1 1 5 20-OCT-2009 06:35:46 IMEAN Skypos: RA 13 31 14.36457 DEC 30 29 50.7124 1 5 20-OCT-2009 06:35:46 IMEAN Maximum= 3.3909E+00 at 229 230 1 1 1 5 20-OCT-2009 06:35:46 IMEAN Skypos: RA 13 31 08.28716 DEC 30 30 32.9562 1 5 20-OCT-2009 06:35:46 IMEAN Skypos: IPOL 14939.900 MHZ 1 2 20-OCT-2009 06:35:46 IMEAN returns adverbs to AIPS 1 3 20-OCT-2009 06:35:46 IMEAN Appears to have ended successfully 1 5 20-OCT-2009 06:35:46 IMEAN vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:46 AIPS Resumes 1 3 20-OCT-2009 06:35:46 AIPS IMEAN was not found to be running 1 2 20-OCT-2009 06:35:46 AIPS Got(1) disk= 1 user=**** type=MA 3C286.BLANK.1 1 2 20-OCT-2009 06:35:46 AIPS Got(O) disk= 1 user=**** type=MA 3C286.BLANK.1 1 5 20-OCT-2009 06:35:46 PBCOR Task PBCOR (release of 31DEC07) begins 1 2 20-OCT-2009 06:35:46 PBCOR Create 3C286 .RADCOR. 1 (MA) on disk 1 cno 7 1 2 20-OCT-2009 06:35:46 AIPS Resumes 1 3 20-OCT-2009 06:35:46 PBCOR Appears to have ended successfully 1 5 20-OCT-2009 06:35:46 PBCOR vlbacald-b 31DEC07 TST: Cpu= 0.2 Real= 0 1 3 20-OCT-2009 06:35:46 AIPS Task PBCOR has finished 1 4 20-OCT-2009 06:35:46 AIPS Destroyed 1 extension files of type HI 1 4 20-OCT-2009 06:35:46 AIPS Destroyed MA image file: catno= 6 disk= 1 1 2 20-OCT-2009 06:35:46 AIPS Disk 1 in-CNO 7 renumbered as CNO 6 1 2 20-OCT-2009 06:35:46 AIPS Disk 1 No files needed renumbering 1 2 20-OCT-2009 06:35:46 AIPS Got(1) disk= 1 user=**** type=MA 3C286.RADCOR.1 1 2 20-OCT-2009 06:35:46 AIPS Got(O) disk= 1 user=**** type=MA 3C286.RADCOR.1 1 5 20-OCT-2009 06:35:46 CPYRT Task CPYRT (release of 31DEC07) begins 1 2 20-OCT-2009 06:35:46 CPYRT Create 3C286 .NVAS08. 1 (MA) on disk 1 cno 7 1 2 20-OCT-2009 06:35:46 CPYRT ZTXOP2: using translated file name = 1 2 20-OCT-2009 06:35:46 CPYRT ZTXOP2: /home/vlbacald-b/vlbacald/Arch_Cprt 1 3 20-OCT-2009 06:35:46 CPYRT Appears to have ended successfully 1 5 20-OCT-2009 06:35:46 CPYRT vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:47 AIPS Resumes 1 3 20-OCT-2009 06:35:47 AIPS CPYRT was not found to be running 1 4 20-OCT-2009 06:35:47 AIPS Destroyed 1 extension files of type HI 1 4 20-OCT-2009 06:35:47 AIPS Destroyed MA image file: catno= 6 disk= 1 1 2 20-OCT-2009 06:35:47 AIPS Disk 1 in-CNO 7 renumbered as CNO 6 1 0 20-OCT-2009 06:35:47 AIPS nvasarch 1 2 20-OCT-2009 06:35:47 AIPS Disk 1 No files needed renumbering 1 5 20-OCT-2009 06:35:47 AIPS 'AB0271_1984APR26_1' 1 2 20-OCT-2009 06:35:47 AIPS Got(1) disk= 1 user=**** type=UV 19840426.U BAND.1 1 3 20-OCT-2009 06:35:47 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:47 AIPS umask 0;mkdir $ADAT/AB0271 >& /dev/null 1 5 20-OCT-2009 06:35:47 FITAB Task FITAB (release of 31DEC07) begins 1 4 20-OCT-2009 06:35:47 FITAB Writing to disk file: ADAT:AB0271_1984APR26_1_14.9F25CC.uvfits 1 3 20-OCT-2009 06:35:47 FITAB Writing UV data: User22291 Disk 1 Name 19840426.U BAND.1 1 3 20-OCT-2009 06:35:47 FITAB Writing visibilities 1 to 1500 1 3 20-OCT-2009 06:35:47 FITAB Writing HIstory to main FITS header 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type AN 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type NX 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type SU 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type FQ 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type CL 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type CL 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type CL 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type TY 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type WX 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type FG 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type FG 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type XX 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type SN 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type SN 1 2 20-OCT-2009 06:35:47 FITAB Writing binary table of type UV 1 2 20-OCT-2009 06:35:47 FITAB Writing end-of-file mark 1 3 20-OCT-2009 06:35:47 FITAB Appears to have ended successfully 1 5 20-OCT-2009 06:35:47 FITAB vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:47 AIPS Resumes 1 3 20-OCT-2009 06:35:47 AIPS FITAB was not found to be running 1 2 20-OCT-2009 06:35:47 AIPS Got(1) disk= 1 user=**** type=UV 19840426.TASAV.1 1 5 20-OCT-2009 06:35:47 FITAB Task FITAB (release of 31DEC07) begins 1 4 20-OCT-2009 06:35:47 FITAB Writing to disk file: ADAT:AB0271_1984APR26_1_14.9F25CC.clfits 1 3 20-OCT-2009 06:35:47 FITAB Writing UV data: User22291 Disk 1 Name 19840426.TASAV.1 1 3 20-OCT-2009 06:35:47 FITAB Writing visibilities 1 to 1 1 3 20-OCT-2009 06:35:47 FITAB Writing HIstory to main FITS header 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type AN 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type NX 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type SU 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type FQ 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type CL 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type CL 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type CL 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type TY 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type WX 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type FG 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type FG 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type XX 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type SN 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type SN 1 2 20-OCT-2009 06:35:47 FITAB Writing binary table of type UV 1 2 20-OCT-2009 06:35:47 FITAB Writing end-of-file mark 1 3 20-OCT-2009 06:35:47 FITAB Appears to have ended successfully 1 5 20-OCT-2009 06:35:47 FITAB vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:47 AIPS Resumes 1 3 20-OCT-2009 06:35:47 AIPS FITAB was not found to be running 1 3 20-OCT-2009 06:35:47 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:47 AIPS \mv -f $ADAT/AB0271_1984APR26_1_* $ADAT/AB0271 >& /dev/null 1 2 20-OCT-2009 06:35:47 AIPS Got(1) disk= 1 user=**** type=UV 3C286.U BAND.1 1 2 20-OCT-2009 06:35:47 AIPS Got(1) disk= 1 user=**** type=MA 3C286.ICL001.1 1 2 20-OCT-2009 06:35:47 AIPS Got(1) disk= 1 user=**** type=UV 3C286.U BAND.1 1 3 20-OCT-2009 06:35:47 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:47 AIPS umask 0;mkdir $aimg/J133108.2+303032 >& /dev/null 1 5 20-OCT-2009 06:35:47 FITAB Task FITAB (release of 31DEC07) begins 1 4 20-OCT-2009 06:35:47 FITAB Writing to disk file: AIMG:14.9F25CC_AB0271_1984APR26_1.uvfits 1 3 20-OCT-2009 06:35:47 FITAB Writing UV data: User22291 Disk 1 Name 3C286.U BAND.1 1 3 20-OCT-2009 06:35:47 FITAB Writing visibilities 1 to 1452 1 3 20-OCT-2009 06:35:47 FITAB Writing HIstory to main FITS header 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type FQ 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type AN 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type WX 1 3 20-OCT-2009 06:35:47 FITAB Writing binary table of type XX 1 2 20-OCT-2009 06:35:47 FITAB Writing binary table of type UV 1 2 20-OCT-2009 06:35:47 FITAB Writing end-of-file mark 1 3 20-OCT-2009 06:35:47 FITAB Appears to have ended successfully 1 5 20-OCT-2009 06:35:47 FITAB vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:47 AIPS Resumes 1 3 20-OCT-2009 06:35:47 AIPS FITAB was not found to be running 1 5 20-OCT-2009 06:35:47 LWPLA Task LWPLA (release of 31DEC07) begins 1 3 20-OCT-2009 06:35:47 LWPLA No clipping or scaling applied to grey scale pixels 1 6 20-OCT-2009 06:35:47 LWPLA ZLWIO: plotter file = /home/vlbacald-b/vlbacald/img/14.9F25CC_ 1 6 20-OCT-2009 06:35:47 LWPLA AB0271_1984APR26_1.vis.ps 1 2 20-OCT-2009 06:35:47 LWPLA Writing plot file version 3 to page 1 1 3 20-OCT-2009 06:35:47 LWPLA Appears to have ended successfully 1 5 20-OCT-2009 06:35:47 LWPLA vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:47 AIPS Resumes 1 3 20-OCT-2009 06:35:47 AIPS LWPLA was not found to be running 1 3 20-OCT-2009 06:35:47 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:47 AIPS convert $aimg/14.9F25CC_AB0271_1984APR26_1.vis.ps $aimg/14.9F25C 1 3 20-OCT-2009 06:35:47 AIPS C_AB0271_1984APR26_1.vis.gif >& /dev/null 1 5 20-OCT-2009 06:35:48 LWPLA Task LWPLA (release of 31DEC07) begins 1 3 20-OCT-2009 06:35:48 LWPLA No clipping or scaling applied to grey scale pixels 1 6 20-OCT-2009 06:35:48 LWPLA ZLWIO: plotter file = /home/vlbacald-b/vlbacald/img/14.9F25CC_ 1 6 20-OCT-2009 06:35:48 LWPLA AB0271_1984APR26_1.ri.ps 1 2 20-OCT-2009 06:35:48 LWPLA Writing plot file version 2 to page 1 1 3 20-OCT-2009 06:35:48 LWPLA Appears to have ended successfully 1 5 20-OCT-2009 06:35:48 LWPLA vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:48 AIPS Resumes 1 3 20-OCT-2009 06:35:48 AIPS LWPLA was not found to be running 1 3 20-OCT-2009 06:35:48 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:48 AIPS convert $aimg/14.9F25CC_AB0271_1984APR26_1.ri.ps $aimg/14.9F25CC 1 3 20-OCT-2009 06:35:48 AIPS _AB0271_1984APR26_1.ri.gif >& /dev/null 1 5 20-OCT-2009 06:35:48 LWPLA Task LWPLA (release of 31DEC07) begins 1 3 20-OCT-2009 06:35:48 LWPLA No clipping or scaling applied to grey scale pixels 1 6 20-OCT-2009 06:35:48 LWPLA ZLWIO: plotter file = /home/vlbacald-b/vlbacald/img/14.9F25CC_ 1 6 20-OCT-2009 06:35:48 LWPLA AB0271_1984APR26_1.uv.ps 1 2 20-OCT-2009 06:35:48 LWPLA Writing plot file version 1 to page 1 1 3 20-OCT-2009 06:35:48 LWPLA Appears to have ended successfully 1 5 20-OCT-2009 06:35:48 LWPLA vlbacald-b 31DEC07 TST: Cpu= 0.1 Real= 0 1 2 20-OCT-2009 06:35:48 AIPS Resumes 1 3 20-OCT-2009 06:35:48 AIPS LWPLA was not found to be running 1 3 20-OCT-2009 06:35:48 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:48 AIPS convert $aimg/14.9F25CC_AB0271_1984APR26_1.uv.ps $aimg/14.9F25CC 1 3 20-OCT-2009 06:35:48 AIPS _AB0271_1984APR26_1.uv.gif >& /dev/null 1 3 20-OCT-2009 06:35:48 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:48 AIPS chmod 666 $aimg/14.9F25CC_AB0271_1984APR26_1* >& /dev/null 1 3 20-OCT-2009 06:35:48 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:48 AIPS \mv -f $aimg/14.9F25CC_AB0271_1984APR26_1.* $aimg/J133108.2+3030 1 3 20-OCT-2009 06:35:48 AIPS 32 >& /dev/null 1 2 20-OCT-2009 06:35:48 AIPS Got(1) disk= 1 user=**** type=MA 3C286.ICL001.1 1 2 20-OCT-2009 06:35:48 AIPS Got(1) disk= 1 user=**** type=MA 3C286.ICL002.1 1 2 20-OCT-2009 06:35:48 AIPS Got(1) disk= 1 user=**** type=MA 3C286.NVAS08.1 1 3 20-OCT-2009 06:35:48 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:48 AIPS umask 0;mkdir $aimg/J133108.2+303032 >& /dev/null 1 5 20-OCT-2009 06:35:48 FITAB Task FITAB (release of 31DEC07) begins 1 4 20-OCT-2009 06:35:48 FITAB Writing to disk file: AIMG:14.9I1.43_AB0271_1984APR26_1_735.U1.43M 1 3 20-OCT-2009 06:35:48 FITAB Writing image: User22291 Disk 1 Name 3C286.NVAS08.1 1 3 20-OCT-2009 06:35:48 FITAB Writing HIstory to main FITS header 1 3 20-OCT-2009 06:35:48 FITAB Now writing the image 1 2 20-OCT-2009 06:35:48 FITAB Writing end-of-file marks 1 3 20-OCT-2009 06:35:48 FITAB Appears to have ended successfully 1 5 20-OCT-2009 06:35:48 FITAB vlbacald-b 31DEC07 TST: Cpu= 0.0 Real= 0 1 2 20-OCT-2009 06:35:49 AIPS Resumes 1 3 20-OCT-2009 06:35:49 AIPS FITAB was not found to be running 1 3 20-OCT-2009 06:35:49 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:49 AIPS umask 0;\mv -f $aimg/14.9I1.43_AB0271_1984APR26_1_735.U1.43M $a 1 3 20-OCT-2009 06:35:49 AIPS img/14.9I1.43_AB0271_1984APR26_1_735.U1.43M.imfits >& /dev/null 1 3 20-OCT-2009 06:35:49 AIPS SYSTEM command to be executed is: 1 3 20-OCT-2009 06:35:49 AIPS umask 0;fits2jpeg -nonLinear -fits $aimg/14.9I1.43_AB0271_1984AP 1 3 20-OCT-2009 06:35:49 AIPS R26_1_735.U1.43M.imfits -jpeg $aimg/14.9I1.43_AB0271_1984APR26_1 1 3 20-OCT-2009 06:35:49 AIPS _735.U1.43M.jpg ; convert -size 150x150 $aimg/14.9I1.43_AB0271_1 1 3 20-OCT-2009 06:35:49 AIPS 984APR26_1_735.U1.43M.jpg -resize 150x150 -gamma 1.5 -depth 32 $ 1 3 20-OCT-2009 06:35:49 AIPS aimg/14.9I1.43_AB0271_1984APR26_1_735.U1.43M.JPG ; \mv -f $aimg/ 1 3 20-OCT-2009 06:35:49 AIPS 14.9I1.43_AB0271_1984APR26_1_735.U1.43M* $aimg/J133108.2+303032 1 3 20-OCT-2009 06:35:49 AIPS >& /dev/null 1 5 20-OCT-2009 06:35:49 AIPS 'NVASARCH DONE - CLEANING UP' 1 2 20-OCT-2009 06:35:49 AIPS Disk 1 No files needed renumbering 1 2 20-OCT-2009 06:35:49 AIPS Got(1) disk= 1 user=**** type=UV 19840426.U BAND.1 1 5 20-OCT-2009 06:35:49 AIPS 'CLEANUP SSRC, ALL:' 1 6 1 2 20-OCT-2009 06:35:49 AIPS Got(1) disk= 1 user=**** type=MA 3C286.NVAS08.1 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type HI 1 4 20-OCT-2009 06:35:49 AIPS Destroyed MA image file: catno= 6 disk= 1 1 2 20-OCT-2009 06:35:49 AIPS Got(1) disk= 1 user=**** type=MA 3C286.ICL002.1 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type HI 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type CC 1 4 20-OCT-2009 06:35:49 AIPS Destroyed MA image file: catno= 5 disk= 1 1 2 20-OCT-2009 06:35:49 AIPS Got(1) disk= 1 user=**** type=MA 3C286.ICL001.1 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type HI 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type CC 1 4 20-OCT-2009 06:35:49 AIPS Destroyed MA image file: catno= 4 disk= 1 1 2 20-OCT-2009 06:35:49 AIPS Got(1) disk= 1 user=**** type=UV 3C286.U BAND.1 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 3 extension files of type PL 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type XX 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type WX 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type AN 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type HI 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type FQ 1 4 20-OCT-2009 06:35:49 AIPS Destroyed UV image file: catno= 3 disk= 1 1 2 20-OCT-2009 06:35:49 AIPS Got(1) disk= 1 user=**** type=UV 19840426.TASAV.1 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 2 extension files of type SN 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type XX 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 2 extension files of type FG 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type WX 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type TY 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 3 extension files of type CL 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type FQ 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type SU 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type NX 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type AN 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type HI 1 4 20-OCT-2009 06:35:49 AIPS Destroyed UV image file: catno= 2 disk= 1 1 2 20-OCT-2009 06:35:49 AIPS Got(1) disk= 1 user=**** type=UV 19840426.U BAND.1 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 2 extension files of type SN 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type XX 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 2 extension files of type FG 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type HI 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type WX 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type TY 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 3 extension files of type CL 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type FQ 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type SU 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type NX 1 4 20-OCT-2009 06:35:49 AIPS Destroyed 1 extension files of type AN 1 4 20-OCT-2009 06:35:49 AIPS Destroyed UV image file: catno= 1 disk= 1 1 0 20-OCT-2009 06:35:49 AIPS tget prtmsg;prtmsg;docrt 1 /home/vlbacald-b/vlbacald/run/AB0271_1984APR26_1.1.run finished on Tue Oct 20 06:35:49 MDT 2009