[daip] permission problem ??

Dan Harris harris at head.cfa.harvard.edu
Mon Sep 26 14:59:36 EDT 2005


Hi

I am running 31dec04 aips on Fcore2.  It was installed (whilst visiting C'ville)
almost 2 years ago.  I never did automatic patching because my laptop was
seldom on line.

I am trying to calibrate a short vla observation, and first when exiting
TVFLG and 'actually applying the flags', and then again when trying to run
CLCAL, I get an error message about ZRENAME operation not permitted.

I see the files are owned by root, so i suppose i was root when I installed
aips.  I normally run aips as a user, not root.

anyway, i would be grateful for any hints.

thanks, Dan




This is what /data, DA01, and DA04 look like:

total 36
drwxrwxrwx  2 root root 4096 May 25 16:46 AH862uv
drwxrwxrwx  2 root root 4096 Sep 26 14:22 LOCALHOST_1
drwxrwxrwx  2 root root 8192 Sep 25 19:51 LOCALHOST_2
drwxrwxrwx  2 root root 8192 Sep 25 19:51 LOCALHOST_3
drwxrwxrwx  2 root root 4096 Sep 26 13:08 LOCALHOST_4
drwxrwxrwx  2 root root 4096 Sep 26 14:22 LOCALHOST_5
drwxrwxrwx  2 root root 4096 Sep 26 14:22 LOCALHOST_6
-rwxrwxrwx  1 root root    0 Sep 26 14:48 temp
total 5736
-rwxrwxrwx  1 root root    5120 Sep 26 14:02 CAD000000.0A1;
-rwxrwxrwx  1 root root    2048 Jan  7  2005 CBD001001.0A1;
-rwxrwxrwx  1 root root    2048 Sep 25 19:32 CBD002001.0A1;
-rwxrwxrwx  1 root root   71680 Jan  7  2005 FCD001001.0A1;
-rwxrwxrwx  1 root root   71680 Sep 25 19:32 FCD002001.0A1;
-rwxrwxrwx  1 root root 3207168 Jan  7  2005 MAD001001.0A1;
-rwxrwxrwx  1 root root  258048 Sep 25 19:32 MAD002001.0A1;
-rwxrwxrwx  1 root root    3072 Oct 24  2004 MSD01P000.01P;
-rwxrwxrwx  1 root root  301056 Sep 26 14:22 MSD0A1000.0A1;
-rwxrwxrwx  1 root root   23552 Jul  7 14:36 MSDS21000.S21;
-rwxrwxrwx  1 root root      11 Oct 24  2004 RLD000001.01P;
-rwxrwxrwx  1 root root    4314 Sep 26 14:22 RLD000001.0A1;
-rwxrwxrwx  1 root root     317 Jul  7 14:36 RLD000001.S21;
-rwxrwxrwx  1 root root   28672 Oct 24  2004 SGD01P000.01P;
-rwxrwxrwx  1 root root  562176 Oct 24  2004 SGD01P001.01P;
-rwxrwxrwx  1 root root   28672 Sep 26 14:22 SGD0A1000.0A1;
-rwxrwxrwx  1 root root  562176 Sep 26 14:22 SGD0A1001.0A1;
-rwxrwxrwx  1 root root   28672 Jul  7 14:36 SGDS21000.S21;
-rwxrwxrwx  1 root root  562176 Jul  7 14:36 SGDS21001.S21;
-rwxrwxrwx  1 root root       0 Oct 15  2004 space
-rwxrwxrwx  1 root root   81920 Sep 26 14:22 TGD0B4000.0A1;
-rwxrwxrwx  1 root root   32768 Jul  7 12:46 TGD0B4000.S21;
/data1/aips/data/LOCALHOST_1
/data1/aips/data/LOCALHOST_4
total 39424
-rwxrwxrwx  1 root root     5120 Sep 26 13:08 CAD000000.0A1;
-rwxrwxrwx  1 root root     2048 Apr 29 17:12 CBD001001.0A1;
-rwxrwxrwx  1 root root     2048 Apr 29 17:12 CBD002001.0A1;
-rwxrwxrwx  1 root root     2048 Apr 29 17:13 CBD003001.0A1;
-rwxrwxrwx  1 root root     2048 Apr 29 17:23 CBD004001.0A1;
-rwxrwxrwx  1 root root     2048 Apr 29 17:27 CBD005001.0A1;
-rwxrwxrwx  1 root root     2048 Sep 25 19:52 CBD006001.0A1;
-rwxrwxrwx  1 root root    71680 Sep 25 20:13 FCD006001.0A1;
-rwxrwxrwx  1 root root   218112 Apr 29 17:12 HID001001.0A1;
-rwxrwxrwx  1 root root   218112 Apr 29 17:12 HID002001.0A1;
-rwxrwxrwx  1 root root   218112 Apr 29 17:13 HID003001.0A1;
-rwxrwxrwx  1 root root   433152 Apr 29 17:23 HID004001.0A1;
-rwxrwxrwx  1 root root   433152 Apr 29 17:27 HID005001.0A1;
-rwxrwxrwx  1 root root 33840000 Oct 15  2004 m87_ep1_k_na_icl7.fits
-rwxrwxrwx  1 root root   923648 Apr 29 17:12 MAD001001.0A1;
-rwxrwxrwx  1 root root   923648 Apr 29 17:12 MAD002001.0A1;
-rwxrwxrwx  1 root root   923648 Apr 29 17:13 MAD003001.0A1;
-rwxrwxrwx  1 root root   923648 Apr 29 17:23 MAD004001.0A1;
-rwxrwxrwx  1 root root   923648 Apr 29 17:27 MAD005001.0A1;
-rwxrwxrwx  1 root root   258048 Sep 25 19:52 MAD006001.0A1;
-rwxrwxrwx  1 root root        0 Oct 15  2004 space
-rwxrwxrwx  1 root root       17 Oct 15  2004 testwrite


and here are my notes with the error message....

Reductions:  2005 Sep 25



 
 localhos  PRTAN(31DEC04)    361     25-SEP-2005  17:55:58    Page    5
File=20050904    .X BAND.   1     An.ver=   1     Vol= 5     User=  361
Array= VLA          Freq=  8435.100000 MHz     Ref.date= 04-SEP-2005
  
                      Location Of VLA Antennas
  
                               N18 ( 1)
                               N16 (26)
                               N14 (24)
                               N12 ( 5)
                               N8  ( 9)
                               N4  ( 7)
                               N2  (27)
                               N1  (25)
                           (20) W2   E2  ( 3)
                         ( 8) W4       E4  (15)
                       (23) W6           E6  (12)
                     ( 6) W8               E8  (10)
                   (  )                      E10 ( 2)
                 (21) W12                      E12 (17)
               ( 4) W14                              (  )
             (11) W16                              E16 (19)
           (22) W18                                  E18 (28)
                          VLA:OUT  (13)
                          VLA:OUT  (14)
                          VLA:OUT  (16)
                          VLA:OUT  (18)
                          VPT:OUT  (29)

let's take #15 at E4 for reference...................

Follow Teddy's notes....

localh> SETJY1: Task SETJY  (release of 31DEC04) begins
localh> SETJY1: You are using a non-standard program
localh> SETJY1: / Flux calculated using known spectrum
localh> SETJY1: BIF =  1 EIF =  2 /Range of IFs
localh> SETJY1: '1331+305        ' IF =  1 FLUX = 5.2158 (Jy calcd)
localh> SETJY1: '1331+305        ' IF =  2 FLUX = 5.1947 (Jy calcd)
localh> SETJY1: / Using (1999.2) VLA or Reynolds (1934-638) coefficients
localh> SETJY1: Appears to have ended successfully


BTW...this is C array:

1331+305   J2000  A 13h31m08.288073s  30d30'32.959822"  Aug98  3C286
3.7cm    X  S P P P       5.23                      400   visplot


1039-156   J2000  A 10h39m06.705086s -15d41'06.691840"  Aug01         
1036-154   B1950  A 10h36m39.473800s -15d25'28.151000"
-----------------------------------------------------
BAND        A B C D    FLUX(Jy)    UVMIN(kL)  UVMAX(kL)
=====================================================
 20cm    L  S S X X       0.50           20
  6cm    C  S S S S       0.40
3.7cm    X  P P P P       0.80
0.7cm    Q  W W W W       0.38


from uvplt, it appears that coverage is from about 1 to around 93 kilo
lambda.


ran vlacal on 3c286 and phase cal.   got a lot of output which was
disconcerting.  Decide to digress to tvplt to get rid of the outrageous
bits.
tvflg rather...

could not see any errant values for 3C286...
for 1039-156, there are some low values; nothing much very high...funny
i thought i had seen some a few weeks ago.....

anyway, if clip between 40 and 60 mJy, should be fine.

why does tvflg show only one scan?????? FIX that by
fiddling with inp parameters

target wants to be clipped above 6 mJy (LL)
in RR, there are really wild values.  clip at 8 mJy

?? 'CLIP' does not have a source specification....

26 Sep............

managed to clip target except for some values on RR, IF1
don't understand why not got these.  Should use clip after
split....

also did some flaggin of phase cal, but for whatever reason,
can't seem to delete 4 point above 60 mJy for IF1, RR
localh> TVFLG1: Begin actually flagging the data
localh> TVFLG1: ZRENAM: DA04:SCD007002.0A1;      DA04:FCD007001.0A1;      IERR=
localh>           7
localh> TVFLG1: ZERROR: ON FILE DA04:SCD007002.0A1;
localh> TVFLG1: ZERROR: IN ZRENA2 ERRNO = 1 (Operation not permitted)
localh> TVFLG1: OTBSRT: ERROR    7 ERROR RENAMING SCR TABLE TO OUTPUT
localh> TVFLG1: TABSRT: OTBSRT ERROR   7
localh> TVFLG1: TVFMRK: UNABLE TO TABSRT INPUT UV FILE, ERROR    7
localh> TVFLG1: Destroyed MA image file: catno=      7 disk= 4
localh> TVFLG1: Purports to die of UNNATURAL causes
localh> TVFLG1: localhost    31DEC04 TST: Cpu=       3.4  Real=      81

localh> GETJY1: Task GETJY  (release of 31DEC04) begins
localh> GETJY1:    Source:Qual      CALCODE IF  Flux (Jy)
localh> GETJY1: 1039-156        :  0   C     1    0.48792 +/-   0.00148
localh> GETJY1:                              2    0.48934 +/-   0.00135
localh> GETJY1: Appears to have ended successfully

Why is this so much smaller than Cal Manual ?????
Maybe it was flaring when last measured at Xband (which is higher than
the adjoining frequencies...)

task 'clcal'


[I had the same sort of error message here, but my laptop hung so I lost it;

as you can see, I don't do this calibration very often!   sorry.


APPENDIX


FWIW, here is vlacalib......
>list vlacalib
AIPS 1:  1 PROC VLACALIB
AIPS 1:  2    SCALAR OLDDOWAIT
AIPS 1:  3    OLDDOWAIT=DOWAIT
AIPS 1:  4    DOWAIT=1
AIPS 1:  5    TPUT vlacalib
AIPS 1:  6    TASK 'CALIB';DEFAULT;TGET vlacalib;TASK 'CALIB'
AIPS 1:  7    IF(FLAGVER=0)THEN; FLAGVER=1; END
AIPS 1:  8    BCHAN 1;ECHAN 0; APARM 4,0;SOLMODE 'A&P'
AIPS 1:  9    APARM(6)=2; CPARM 0, 0, MINAMPER/10, MINPHSER/10, 1, 0
AIPS 1: 10    IF (DOPRINT<=0) THEN; GO;END
AIPS 1: 11    IF (DOPRINT>0)THEN
AIPS 1: 12      DOCRT -1; PRNUM 0; PRTA 'AIPS';CLRM;INPUTS vlacalib
AIPS 1: 13      PRTA TASK; CLRM; GO; PRTA 'AIPS'; PRTM; PRTA TASK; PRTM
AIPS 1: 14      PRTA ''
AIPS 1: 15    END
AIPS 1: 16    IF (DOPRINT>0) THEN
AIPS 1: 17      TASK 'LISTR';DEFAULT;TGET vlacalib;TASK 'LISTR'
AIPS 1: 18      DOCRT=-1
AIPS 1: 19      OPTY 'GAIN'; INEXT 'SN'; BIF 1;EIF 2; STOKES 'HALF'
AIPS 1: 20      DPARM 5 1 0;GO
AIPS 1: 21    END
AIPS 1: 22    TGET vlacalib
AIPS 1: 23    IF (SNVER=0) THEN
AIPS 1: 24        PRINT '!! SNVER=0 => GENERATED A NEW SN TABLE'
AIPS 1: 25        END
AIPS 1: 26    DOWAIT=OLDDOWAIT
AIPS 1: 27    RETURN;FINISH




More information about the Daip mailing list