AIPS version = /home/auto/aips/31DEC06/LINUX/SYSTEM/VLA_PIPE/aips Prep version = Oct 16 14:29 /home/hamal/vlbacald/bin/AVLAPREP.001 ------------- START_AIPS: Your initial AIPS printer is the GNU Ghostview X-windows previewer START_AIPS: - system name gv, AIPS type PREVIEW START_AIPS: User data area assignments: (Using private file /users/jcrossle/.dadevs for DADEVS.PL) Disk 1 (1) is /DATA/HAMAL_1 Tape assignments: Tape 1 is REMOTE Tape 2 is REMOTE START_AIPS: Starting TPMON daemons on HAMAL asynchronously... Starting up 31DEC06 AIPS with normal priority AIPS 1: You are NOT assigned a TV device or server AIPS 1: You are NOT assigned a graphics device or server AIPS 1: Enter user ID number ?AIPS 1: 31DEC06 AIPS: AIPS 1: Copyright (C) 1995-2006 Associated Universities, Inc. AIPS 1: AIPS comes with ABSOLUTELY NO WARRANTY; AIPS 1: for details, type HELP GNUGPL AIPS 1: This is free software, and you are welcome to redistribute it AIPS 1: under certain conditions; type EXPLAIN GNUGPL for details. AIPS 1: Previous session command-line history recovered. AIPS 1: TAB-key completions enabled, type HELP READLINE for details. AIPS 1: Recovered POPS environment from last exit >>>AIPS 1: Found in Version=ABIN AIPS 1: $ Lorant Sjouwerman, versions 1.. 2005, for NRAO AIPS 1: AIPS 1: $$ General naming utilities - default to data disk 1 (safest of all) AIPS 1: procedure pipedef1 AIPS 1: string*12 pnam AIPS 1: string*6 pcls AIPS 1: scalar pseq,pdsk AIPS 1: pdsk=1 AIPS 1: finish AIPS 1: pipedef1 AIPS 1: procedure namepipe AIPS 1: pnam=inname;pcls=inclass;pseq=inseq;indisk=pdsk AIPS 1: finish AIPS 1: procedure pipename AIPS 1: inname=pnam;inclass=pcls;inseq=pseq;indisk=pdsk AIPS 1: finish AIPS 1: AIPS 1: procedure checkcat AIPS 1: $LOS - count and make sure catalog starts at one (and not more t han 10 files) AIPS 1: scalar numcat AIPS 1: clrname;indisk=pdsk;chkname;numcat=1-error AIPS 1: $ for later: find out how to deal with CH0/LINE data in MOVE AIPS 1: if(numcat>0)then;recat;end;clrtemp AIPS 1: return numcat AIPS 1: finish AIPS 1: AIPS 1: procedure gx AIPS 1: $ inputs AIPS 1: go;wait AIPS 1: finish AIPS 1: AIPS 1: procedure pre_fillm AIPS 1: $LOS - sets VLA archive defaults for fillm AIPS 1: default fillm;outdisk=pdsk;doall=1;douvcomp=-1;cparm(8)=0.05;b parm(10)=0.75 AIPS 1: finish AIPS 1: AIPS 1: procedure fname AIPS 1: return inname!!'.'!!inclass!!'.'!!char(inseq) AIPS 1: finish AIPS 1: AIPS 1: procedure del AIPS 1: error=1;zap AIPS 1: finish AIPS 1: AIPS 1: procedure skipdata AIPS 1: $LOS - delete unwanted data sets - currently all but continuum X and C bands AIPS 1: $ if(inclass='LINE')then;del;inclass'CH 0';del;type'ZAP LINE :' fname;end AIPS 1: if((inclass='CH 0')!(inclass='LINE'))then;del;type'ZAP LINE :' fname;end AIPS 1: if(inclass='4 BAND')then;del;type'ZAP 4-BAND :'fname;end AIPS 1: if(inclass='P BAND')then;del;type'ZAP P-BAND :'fname;end AIPS 1: $ if(inclass='L BAND')then;del;type'ZAP L-BAND :'fname;end AIPS 1: $ if(inclass='U BAND')then;del;type'ZAP U-BAND :'fname;end AIPS 1: $ if(inclass='K BAND')then;del;type'ZAP K-BAND :'fname;end AIPS 1: $ if(inclass='Q BAND')then;del;type'ZAP Q-BAND :'fname;end;clrt emp AIPS 1: if(error<1)then $ file not zapped, check for single dish vlbi; #vis=0 AIPS 1: task'TABGET';userid 0;inext'NX';invers=0;keyvalue=0;keystrng '' AIPS 1: keyword'NUM ROW';getthead;pixxy=keyvalue(1),6,0;tabget;clrte mp AIPS 1: if(keyvalue(1)=0)then;del;type'ZAP S-DISH :'fname;end AIPS 1: end AIPS 1: $also zap if solar/planetary/pulsar mode - su table proper motio n?? AIPS 1: $ and what about PT-link? antenna VPT is not OUT, later also EV LA names AIPS 1: finish AIPS 1: AIPS 1: procedure checkids AIPS 1: $LOS - account for fast switching source names - check on pos, q ual, calco AIPS 1: scalar ra1a,ra1b,ra2a,ra2b,dc1a,dc1b,dc2a,dc2b,n,m,l,idx AIPS 1: scalar q1,q2 AIPS 1: string*1 co1,co2 AIPS 1: string*16 n1,n2 AIPS 1: array alist(100),blist(100) AIPS 1: inext'SU';invers 0;keyword'NUM ROW';keyvalue 0;keystrng'';gett head AIPS 1: n=keyvalue(1);idx=1;aparm 0;bparm 0;alist 0;blist 0 AIPS 1: if (n > 1) then AIPS 1: for m=1:(n-1);clrtemp AIPS 1: pixxy m,11;tabget;ra1a keyvalue(1);ra1b keyvalue(2) AIPS 1: for l=(m+1):n;clrtemp AIPS 1: pixxy l,11;tabget;ra2a keyvalue(1);ra2b keyvalue(2) AIPS 1: if (abs(ra1a-ra2a)=0) then AIPS 1: if ( abs((ra1b-ra2b)*3600*1000) < 3 ) then $ RA within 3 mas! AIPS 1: pixxy m,12;tabget;dc1a keyvalue(1);dc1b keyvalue(2) AIPS 1: pixxy l,12;tabget;dc2a keyvalue(1);dc2b keyvalue(2) AIPS 1: if (abs(dc1a-dc2a)=0) then AIPS 1: if ( abs((dc1b-dc2b)*3600*1000) < 3 ) then $ DC wi thin 3 mas! AIPS 1: pixxy m,3;tabget;q1 keyvalue(1);pixxy l,3;tabget ;q2 keyvalue(1) AIPS 1: if (q1=q2) then $ same qualifier; same calcode? AIPS 1: pixxy m,4;tabget;co1 keystrng;pixxy l,4;tabget ;co2 keystrng AIPS 1: if (co1=co2) then AIPS 1: pixxy m,1;tabget;q1 keyvalue(1) AIPS 1: pixxy l,1;tabget;q2 keyvalue(1) AIPS 1: pixxy m,2;tabget;n1 keystrng;pixxy l,2;tabge t;n2 keystrng AIPS 1: if (idx>100) then; AIPS 1: type 'TOO MANY SOURCES TO DO DSORC - DO BY HAND!' AIPS 1: type 'NEXT =.'!!char(idx)!!' DO:'!!char(l)! !'.&.'!!char(m) AIPS 1: else AIPS 1: if (length(n1)1) then;task'DSORC';n=0 AIPS 1: outname inname;outclass inclass;outseq inseq;outdisk indis k AIPS 1: while (n100)then;type'TOO MANY SOURCES FOR DSORC';error 1;end ;clrtemp AIPS 1: end AIPS 1: finish AIPS 1: AIPS 1: procedure checkcal AIPS 1: $LOS Currently (Sep 22, 2005) can/will do 3C286 and 3C48 at X and C AIPS 1: $LOS (and for now skip 3C286/3C48/3C138/3C147 Q,K,U and 3C48 L ) AIPS 1: scalar idx,jdx AIPS 1: string*16 sname AIPS 1: task'TABGET';userid 0;inext'SU';invers=0;keyvalue=0;keystrng'' ;error=1 AIPS 1: keyword'NUM ROW';getthead;idx=keyvalue(1);clrtemp AIPS 1: for jdx=1:idx AIPS 1: pixxy=jdx,2,0;tabget;sname=substr(keystrng,1,length(keystrng )) AIPS 1: if(sname='3C286')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='3C48')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='3C138')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='3C147')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='3C295')then;error=-1;jdx=idx+1;end AIPS 1: if(error>0)then $ try B1950 name AIPS 1: if(sname='1328+307')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='0134+329')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='0518+165')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='0538+498')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='1409+524')then;error=-1;jdx=idx+1;end AIPS 1: if(error>0)then $ try J2000 AIPS 1: if(sname='1331+305')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='0137+331')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='0521+166')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='0542+498')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='1411+522')then;error=-1;jdx=idx+1;end AIPS 1: if(error>0)then $ try J2000 name AIPS 1: if(sname='J1331+3030')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='J0137+3309')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='J0521+1638')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='J0542+4951')then;error=-1;jdx=idx+1;end AIPS 1: if(sname='J1411+5212')then;error=-1;jdx=idx+1;end AIPS 1: end;end;end;clrtemp AIPS 1: end AIPS 1: $ if error>0 check on coords (for different name than standard) AIPS 1: $ but keyval not reliable to do this.. ?? AIPS 1: $ end AIPS 1: if(error>0)then;del;type'ZAP - NO STD CAL SRC FOR :'fname;erro r=1 AIPS 1: else;checkids;error=-1;end;clrtemp AIPS 1: finish AIPS 1: AIPS 1: procedure j2000fix AIPS 1: $LOS - convert data to J2000 by default use of uvfix AIPS 1: task'UVFIX';outname=inname;outclass=inclass;outseq=inseq;outdi sk=indisk AIPS 1: shift=0;uvfixprm=0;tput uvfix;outclass'PREFIX';rename AIPS 1: tget uvfix;inclass'PREFIX';gx;zap;inclass=outclass;clrtemp AIPS 1: finish AIPS 1: AIPS 1: procedure datachks AIPS 1: $LOS - delete unwanted data sets, check for standard calibrators and make J2000 AIPS 1: if(error<1)then $ file exists AIPS 1: skipdata;if(error<1)then $ file was not zapped AIPS 1: checkcal;if(error<1)then $ file has standard calibrator i n it AIPS 1: j2000fix AIPS 1: $ addcalco AIPS 1: end;end;end;clrtemp AIPS 1: finish AIPS 1: AIPS 1: procedure freqchks AIPS 1: $LOS - split up in frequency IDs, run INDXR, and remove AIPS 1: scalar rows, nfrq AIPS 1: if(error<1)then $ file exists AIPS 1: inext'FQ';invers=1;keyword='NUM ROW';getthead;nfrq=keyvalue( 1) AIPS 1: if (nfrq > 1) then AIPS 1: if (nfrq > 9) then;type' WARNING! MORE THAN 9 FREQUENCY ID -S!';end AIPS 1: tput getthead;default'UVCOP';tget getthead;keyword='';task 'UVCOP';tput AIPS 1: for rows=1:nfrq AIPS 1: pixxy=rows,1,1;inver=1;inext='FQ';tabget;tget;freqid=key value(1) AIPS 1: outclass=substr(inclass,1,1)!!substr(inclass,3,6)!!char( freqid) AIPS 1: type'COPYING FREQUENCY ID #'!!char(freqid);gx AIPS 1: default'INDXR';tget uvcop;task'INDXR';inclass outclass;g x;task'DQUAL' AIPS 1: $out not in! ** outname=inname;outclass=inclass;outseq=inseq;out disk=indisk;gx AIPS 1: tget uvcop;freqid=1;clrtemp AIPS 1: end;end;end;if(nfrq>1)then;type fname!!' SPLIT IN :'!!char(nfr q);zap;end AIPS 1: finish AIPS 1: AIPS 1: procedure pre_move AIPS 1: $LOS - moves file to another AIPS user number AIPS 1: default move;indisk=pdsk;outseq=-1;opcode'MOVE';clrtemp AIPS 1: finish AIPS 1: AIPS 1: procedure expid AIPS 1: string*20 expnm AIPS 1: string*75 expmsg AIPS 1: return expnm AIPS 1: finish AIPS 1: type expid AIPS 1: ' ' >>>AIPS 1: Got(1) disk= 1 user=**** type=UV 20000305.K BAND.1 >>MOVE 1: Task MOVE (release of 31DEC06) begins MOVE 1: ZOPEN: FILE DA01:CAD000000.E2X; NOT FOUND MOVE 1: ZOPEN: FILE DA01:CAD000000.E2X; NOT FOUND MOVE 1: CATOPN: had to create and initialize catalog on disk 1 MOVE 1: Moved UV file version 1 MOVE 1: Moved CB file version 1 MOVE 1: Moved AN file version 1 MOVE 1: Moved NX file version 1 MOVE 1: Moved SU file version 1 MOVE 1: Moved FQ file version 1 MOVE 1: Moved CL file version 1 MOVE 1: Moved TY file version 1 MOVE 1: Moved WX file version 1 MOVE 1: Moved OF file version 1 MOVE 1: Moved HI file version 1 MOVE 1: MOVEed 20000305 .K BAND. 1 disk 1 user18248 MOVE 1: to 20000305 .K BAND. 1 disk 1 user18249 MOVE 1: Appears to have ended successfully MOVE 1: hamal 31DEC06 TST: Cpu= 0.0 Real= 0 IX';outname=inname;outclass=inclass;outseq=inseq;outdi sk=indisk AIPS 1: shift=0;uvfixprm=0;tput uvfix;outclass'PREFIX';rename AIPS 1: tget uvfix;inclass'PREFIX';gx;zap;inclass=outclass;clrtemp AIPS 1: finish AIPS 1: AIPS 1: procedure datachks AIPS 1: $LOS - delete unwanted data sets, check for standard calibrators and make J2000 AIPS 1: if(error<1)then $ file exists AIPS 1: skipdata;if(error<1)then $ file was not zapped AIPS 1: checkcal;if(error<1)then $ file has standard calibrator i n it AIPS 1: j2000fix AIPS 1: $ addcalco AIPS 1: end;end;end;clrtemp AIPS 1: finish AIPS 1: AIPS 1: procedure freqchks AIPS 1: $LOS - split up in frequency IDs, run INDXR, and remove AIPS 1: scalar rows, nfrq AIPS 1: if(error<1)then $ file exists AIPS 1: inext'FQ';invers=1;keyword='NUM ROW';getthead;nfrq=keyvalue( 1) AIPS 1: if (nfrq > 1) then AIPS 1: if (nfrq > 9) then;type' WARNING! MORE THAN 9 FREQUENCY ID -S!';end AIPS 1: tput getthead;default'UVCOP';tget getthead;keyword='';task 'UVCOP';tput AIPS 1: for rows=1:nfrq AIPS 1: pixxy=rows,1,1;inver=1;inext='FQ';tabget;tget;freqid=key value(1) AIPS 1: outclass=substr(inclass,1,1)!!substr(inclass,3,6)!!char( freqid) AIPS 1: type'COPYING FREQUENCY ID #'!!char(freqid);gx AIPS 1: default'INDXR';tget uvcop;task'INDXR';inclass outclass;g x;task'DQUAL' AIPS 1: $out not in! ** outname=inname;outclass=inclass;outseq=inseq;out disk=indisk;gx AIPS 1: tget uvcop;freqid=1;clrtemp AIPS 1: end;end;end;if(nfrq>1)then;type fname!!' SPLIT IN :'!!char(nfr q);zap;end AIPS 1: finish AIPS 1: AIPS 1: procedure pre_move AIPS 1: $LOS - moves file to another AIPS user number AIPS 1: default move;indisk=pdsk;outseq=-1;opcode'MOVE';clrtemp AIPS 1: finish AIPS 1: AIPS 1: procedure expid AIPS 1: string*20 expnm AIPS 1: string*75 expmsg AIPS 1: return expnm AIPS 1: finish AIPS 1: type expid AIPS 1: ' ' >>>AIPS 1: Got(1) disk= 1 user=**** type=UV 20000305.K BAND.1 >>AIPS 1: Resumes AIPS 1: MOVE was not found to be running >>AIPS 1: Disk 1 No files needed renumbering AIPS 1: 'EMPTY CATALOG ?' 1 >AIPS 1: Begin check for any 'standard' scratch files AIPS 1: Scratch files -- destroyed: 0 still active: 0 AIPS 1: User18248: 659 messages, oldest written 17-OCT-2006 13:37:59 AIPS 1: Deleted 0 messages AIPS 1: Saved POPS environment in area named 'LASTEXIT' AIPS 1: Session command-line history saved. AIPS 1: hamal 31DEC06 TST: Cpu= 0.2 Real= 1 STARTPMON: [HAMAL] Too many TPMON daemons possibly found???? STARTPMON: [HAMAL] Expected 1, found 3. STARTPMON: [HAMAL] Please inform the AIPS Manager.