! Started logfile: /d2/scr/pima/rdv96_uvs/J0538-4405_X_uvs.log on Fri Dec 20 23:44:16 2013 obs /d2/scr/pima/rdv96_uvs/J0538-4405_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J0538-4405_X_uva.fits ! AN table 1: 2 integrations on 15 of 15 possible baselines. ! AN table 2: 2 integrations on 21 of 21 possible baselines. ! AN table 3: 4 integrations on 15 of 15 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0538-4405 ! ! There are 4 IFs, and a total of 4 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 8.40599e+09 8e+06 1 8e+06 ! 02 2 8.47599e+09 8e+06 1 8e+06 ! 03 3 8.79099e+09 8e+06 1 8e+06 ! 04 4 8.89599e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 528 visibilities. select RR ! Selecting polarization: RR, channels: 1..4 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 print "field_size =",field_size ! field_size = 1024 print "field_cell =",field_cell ! field_cell = 0.2 print "taper_size =",taper_size ! taper_size = 70 ![@/home/lpetrov/bin/rdv_muppet /d2/scr/pima/rdv96_uvs/J0538-4405_X] integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 800000 float soltime2 soltime2 = 15 float soltime3 soltime3 = 1 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float old_peak float new_peak float flux_cutoff selfant "",false ! 1:FD self-cal status=correctable weight=1 ! 1:KP self-cal status=correctable weight=1 ! 1:LA self-cal status=correctable weight=1 ! 1:OV self-cal status=correctable weight=1 ! 1:PT self-cal status=correctable weight=1 ! 1:SC self-cal status=correctable weight=1 ! 2:FD self-cal status=correctable weight=1 ! 2:KP self-cal status=correctable weight=1 ! 2:LA self-cal status=correctable weight=1 ! 2:MK self-cal status=correctable weight=1 ! 2:OV self-cal status=correctable weight=1 ! 2:PT self-cal status=correctable weight=1 ! 2:SC self-cal status=correctable weight=1 ! 3:FD self-cal status=correctable weight=1 ! 3:KP self-cal status=correctable weight=1 ! 3:LA self-cal status=correctable weight=1 ! 3:MK self-cal status=correctable weight=1 ! 3:OV self-cal status=correctable weight=1 ! 3:PT self-cal status=correctable weight=1 system "rm /tmp/ff.ff" mapsize field_size, field_cell ! Map grid = 1024x1024 pixels with 0.200x0.200 milli-arcsec cellsize. startmod ! Applying default point source starting model. ! Performing phase self-cal ! Adding 1 model components to the UV plane model. ! The established model now contains 1 components and 1 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=4.090534Jy sigma=227.645137 ! Fit after self-cal, rms=3.116709Jy sigma=179.174125 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. print "=== Flag out IVS stations" ! === Flag out IVS stations integer lun string cfg_file lun = outfile ( "/tmp/ff.ff" ) do i=1,nsub do j=1,ntel(i) fprintf lun, "%s\n", telname(j,i) end do end do close ( lun ) system "/home/lpetrov/bin/dimap_flag_process.csh /tmp/ff.ff" ![@/tmp/ff.ff \] ![Exited script file: /tmp/ff.ff] uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.8572 mas, bmaj=2.97 mas, bpa=-1.777 degrees ! Estimated noise=1.0371 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (0, 0). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 3.03913 Jy ! Component: 100 - total flux cleaned = 4.12651 Jy ! Total flux subtracted in 100 components = 4.12651 Jy ! Clean residual min=-0.196940 max=0.451887 Jy/beam ! Clean residual mean=0.000752 rms=0.062210 Jy/beam ! Combined flux in latest and established models = 4.12651 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 28 components and 4.12651 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.734182Jy sigma=43.107917 ! Fit after self-cal, rms=0.730947Jy sigma=43.041044 ! Inverting map ! Added new window around map position (0.8, 0.2). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.470231 Jy ! Component: 100 - total flux cleaned = 0.687899 Jy ! Total flux subtracted in 100 components = 0.687899 Jy ! Clean residual min=-0.135912 max=0.119346 Jy/beam ! Clean residual mean=0.000574 rms=0.026038 Jy/beam ! Combined flux in latest and established models = 4.81441 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 54 components and 4.81441 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.372921Jy sigma=21.308212 ! Fit after self-cal, rms=0.370655Jy sigma=21.276073 ! Inverting map print "=== Finished uniform weighting clean ===" ! === Finished uniform weighting clean === uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.176 mas, bmaj=4.02 mas, bpa=-0.6675 degrees ! Estimated noise=0.695715 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.148837 Jy ! Component: 100 - total flux cleaned = 0.209683 Jy ! Component: 150 - total flux cleaned = 0.235521 Jy ! Component: 200 - total flux cleaned = 0.238002 Jy ! Total flux subtracted in 200 components = 0.238002 Jy ! Clean residual min=-0.148231 max=0.070119 Jy/beam ! Clean residual mean=0.000999 rms=0.030920 Jy/beam ! Combined flux in latest and established models = 5.05241 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 70 components and 5.05241 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.333356Jy sigma=18.588452 ! Fit after self-cal, rms=0.330847Jy sigma=18.543076 ! Inverting map print "=== Finished natural weighting clean for VLBI sites ===" ! === Finished natural weighting clean for VLBI sites === gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! FD 0.99 KP 0.99 LA 1.03 OV 1.01 ! PT 1.03 SC 1.03 ! ! Telescope amplitude corrections in sub-array 2: ! FD 0.99 KP 1.00 LA 1.07 MK 0.96 ! OV 1.03 PT 0.99 SC 0.97 ! ! Telescope amplitude corrections in sub-array 3: ! FD 0.99 KP 1.01 LA 1.04 MK 1.00 ! OV 1.02 PT 1.01 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 0.99 KP 0.93 LA 0.99 OV 1.00 ! PT 1.03 SC 1.06 ! ! Telescope amplitude corrections in sub-array 2: ! FD 0.99 KP 0.95 LA 1.03 MK 0.96 ! OV 1.02 PT 1.00 SC 0.98 ! ! Telescope amplitude corrections in sub-array 3: ! FD 0.99 KP 0.95 LA 1.00 MK 1.02 ! OV 1.00 PT 1.02 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 0.99 KP 0.83 LA 1.07 OV 1.07 ! PT 1.03 SC 1.02 ! ! Telescope amplitude corrections in sub-array 2: ! FD 0.99 KP 0.84 LA 1.09 MK 0.96 ! OV 1.10 PT 0.99 SC 0.95 ! ! Telescope amplitude corrections in sub-array 3: ! FD 0.99 KP 0.84 LA 1.08 MK 1.00 ! OV 1.07 PT 1.01 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 1.04 KP 0.88 LA 1.05 OV 1.03 ! PT 1.08 SC 1.02 ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.04 KP 0.88 LA 1.10 MK 1.00 ! OV 1.06 PT 1.03 SC 0.96 ! ! Telescope amplitude corrections in sub-array 3: ! FD 1.03 KP 0.88 LA 1.06 MK 1.04 ! OV 1.04 PT 1.05 ! ! ! Fit before self-cal, rms=0.330847Jy sigma=18.543076 ! Fit after self-cal, rms=0.099582Jy sigma=4.282126 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.173 mas, bmaj=3.999 mas, bpa=-0.6685 degrees ! Estimated noise=0.695775 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0029539 Jy ! Component: 100 - total flux cleaned = 0.00264985 Jy ! Component: 150 - total flux cleaned = 0.00214481 Jy ! Component: 200 - total flux cleaned = 0.00193079 Jy ! Total flux subtracted in 200 components = 0.00193079 Jy ! Clean residual min=-0.017880 max=0.023142 Jy/beam ! Clean residual mean=0.000766 rms=0.005321 Jy/beam ! Combined flux in latest and established models = 5.05434 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 75 components and 5.05434 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.097354Jy sigma=4.234533 ! Fit after self-cal, rms=0.097031Jy sigma=4.228880 ! Inverting map selfcal true, true, soltime1 ! Performing amp+phase self-cal over 800000 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.097031Jy sigma=4.228880 ! Fit after self-cal, rms=0.096686Jy sigma=4.224703 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.171 mas, bmaj=3.991 mas, bpa=-0.6516 degrees ! Estimated noise=0.695203 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00186308 Jy ! Component: 100 - total flux cleaned = 0.00185451 Jy ! Component: 150 - total flux cleaned = 0.00141903 Jy ! Component: 200 - total flux cleaned = 0.00121163 Jy ! Total flux subtracted in 200 components = 0.00121163 Jy ! Clean residual min=-0.017692 max=0.021963 Jy/beam ! Clean residual mean=0.000764 rms=0.005247 Jy/beam ! Combined flux in latest and established models = 5.05556 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 78 components and 5.05556 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.094911Jy sigma=4.191415 ! Fit after self-cal, rms=0.094589Jy sigma=4.187404 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00103327 Jy ! Component: 100 - total flux cleaned = 0.000825748 Jy ! Component: 150 - total flux cleaned = 0.000627956 Jy ! Component: 200 - total flux cleaned = 0.00062981 Jy ! Total flux subtracted in 200 components = 0.00062981 Jy ! Clean residual min=-0.017578 max=0.020875 Jy/beam ! Clean residual mean=0.000766 rms=0.005202 Jy/beam ! Combined flux in latest and established models = 5.05619 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 84 components and 5.05619 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.093515Jy sigma=4.163398 ! Fit after self-cal, rms=0.093210Jy sigma=4.160074 ! Inverting map selfcal true, true, soltime2 ! Performing amp+phase self-cal over 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.093210Jy sigma=4.160074 ! Fit after self-cal, rms=0.082944Jy sigma=3.386214 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.169 mas, bmaj=3.983 mas, bpa=-0.6356 degrees ! Estimated noise=0.694637 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.002598 Jy ! Component: 100 - total flux cleaned = 0.00237348 Jy ! Component: 150 - total flux cleaned = 0.00200416 Jy ! Component: 200 - total flux cleaned = 0.00200264 Jy ! Total flux subtracted in 200 components = 0.00200264 Jy ! Clean residual min=-0.010500 max=0.020902 Jy/beam ! Clean residual mean=-0.000065 rms=0.003214 Jy/beam ! Combined flux in latest and established models = 5.05819 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 85 components and 5.05819 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.081422Jy sigma=3.350442 ! Fit after self-cal, rms=0.081126Jy sigma=3.345921 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (4.2, 0.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.013423 Jy ! Component: 100 - total flux cleaned = 0.0138941 Jy ! Component: 150 - total flux cleaned = 0.0133862 Jy ! Component: 200 - total flux cleaned = 0.0131299 Jy ! Total flux subtracted in 200 components = 0.0131299 Jy ! Clean residual min=-0.009301 max=0.011343 Jy/beam ! Clean residual mean=-0.000036 rms=0.002485 Jy/beam ! Combined flux in latest and established models = 5.07132 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 98 components and 5.07132 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.075260Jy sigma=3.124029 ! Fit after self-cal, rms=0.074910Jy sigma=3.108214 ! Inverting map ! Added new window around map position (-15.2, -11.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00998864 Jy ! Component: 100 - total flux cleaned = 0.0118607 Jy ! Component: 150 - total flux cleaned = 0.0118506 Jy ! Component: 200 - total flux cleaned = 0.0116795 Jy ! Total flux subtracted in 200 components = 0.0116795 Jy ! Clean residual min=-0.008495 max=0.008121 Jy/beam ! Clean residual mean=-0.000024 rms=0.002241 Jy/beam ! Combined flux in latest and established models = 5.083 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 112 components and 5.083 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.072865Jy sigma=3.042694 ! Fit after self-cal, rms=0.072753Jy sigma=3.037884 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths. win_mult = win_mult * 1.2 selfcal true, true, soltime2 ! Performing amp+phase self-cal over 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.072753Jy sigma=3.037884 ! Fit after self-cal, rms=0.071963Jy sigma=2.992673 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.546 mas, bmaj=14.98 mas, bpa=4.129 degrees ! Estimated noise=0.677064 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00495143 Jy ! Component: 100 - total flux cleaned = 0.00506361 Jy ! Component: 150 - total flux cleaned = 0.00465116 Jy ! Component: 200 - total flux cleaned = 0.00437472 Jy ! Total flux subtracted in 200 components = 0.00437472 Jy ! Clean residual min=-0.005717 max=0.006852 Jy/beam ! Clean residual mean=-0.000004 rms=0.002107 Jy/beam ! Combined flux in latest and established models = 5.08737 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 123 components and 5.08737 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.071510Jy sigma=2.966243 ! Fit after self-cal, rms=0.071414Jy sigma=2.961781 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00139746 Jy ! Component: 100 - total flux cleaned = 0.00107247 Jy ! Component: 150 - total flux cleaned = 0.000778452 Jy ! Component: 200 - total flux cleaned = 0.000506558 Jy ! Total flux subtracted in 200 components = 0.000506558 Jy ! Clean residual min=-0.005813 max=0.006771 Jy/beam ! Clean residual mean=-0.000000 rms=0.002059 Jy/beam ! Combined flux in latest and established models = 5.08788 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 136 components and 5.08788 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.071384Jy sigma=2.955390 ! Fit after self-cal, rms=0.071352Jy sigma=2.954512 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "=== Finished amplitude self-cal for VLBA stations ===" ! === Finished amplitude self-cal for VLBA stations === unflag * ! Unflagging all baselines in the currently selected channels. uncalib false, false, true ! uncal: All telescope correction flags have been un-done. integer lun lun = outfile ( "/tmp/ff.ff" ) do i=1,nsub do j=1,ntel(i) fprintf lun, "%s\n", telname(j,i) end do end do close ( lun ) system "/home/lpetrov/bin/dimap_selfant_process.csh /tmp/ff.ff" ![@/tmp/ff.ff] 1:FD ! Syntax error in line: ! 1:FD ! ^ ! Found constant: 1.000 ! Where a command or assignment expression was expected. ![Exited script file: /tmp/ff.ff] ![Exited script file: /home/lpetrov/bin/rdv_muppet] ! wmap "/d2/scr/pima/rdv96_uvs/J0538-4405_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.167 mas, bmaj=3.974 mas, bpa=-0.5945 degrees ! Estimated noise=0.693822 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.167 x 3.974 at -0.5945 degrees (North through East) ! Clean map min=-0.015581 max=3.7654 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J0538-4405_X_map.fits float peak_flux peak_flux = peak(flux,max) invert ! Inverting map float image_peak image_peak = int(10000*peak_flux)/10000 float image_rms image_rms = int(100000*imstat(rms))/100000 print "=========================================" ! ========================================= print "The image peak= ", image_peak, " rms= ", image_rms, " Jy" ! The image peak= 3.7653 rms= 0.00197 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J0538-4405_X_uvs.log closed on Fri Dec 20 23:44:18 2013