! Started logfile: /scr/pima/rdv96_uvs/J0606-0724_S_uvs.log on Sat Dec 21 00:22:40 2013 obs /scr/pima/rdv96_uvs/J0606-0724_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J0606-0724_S_uva.fits ! AN table 1: 36 integrations on 45 of 45 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0606-0724 ! ! 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 2.23299e+09 8e+06 1 8e+06 ! 02 2 2.26299e+09 8e+06 1 8e+06 ! 03 3 2.35299e+09 8e+06 1 8e+06 ! 04 4 2.37299e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 6480 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.4 print "taper_size =",taper_size ! taper_size = 20 ![@/home/lpetrov/bin/rdv_muppet /scr/pima/rdv96_uvs/J0606-0724_S] 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:BR self-cal status=correctable weight=1 ! 1:FD self-cal status=correctable weight=1 ! 1:HN self-cal status=correctable weight=1 ! 1:KP self-cal status=correctable weight=1 ! 1:LA self-cal status=correctable weight=1 ! 1:MK self-cal status=correctable weight=1 ! 1:NL 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 system "rm /tmp/ff.ff" mapsize field_size, field_cell ! Map grid = 1024x1024 pixels with 0.400x0.400 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=1.090394Jy sigma=6.269060 ! Fit after self-cal, rms=0.603434Jy sigma=3.275482 ! 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=3.069 mas, bmaj=6.984 mas, bpa=0.1569 degrees ! Estimated noise=2.69403 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 = 0.314113 Jy ! Component: 100 - total flux cleaned = 0.39061 Jy ! Total flux subtracted in 100 components = 0.39061 Jy ! Clean residual min=-0.012077 max=0.029604 Jy/beam ! Clean residual mean=0.000051 rms=0.003412 Jy/beam ! Combined flux in latest and established models = 0.39061 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 10 components and 0.39061 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.091174Jy sigma=0.523208 ! Fit after self-cal, rms=0.091188Jy sigma=0.523189 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0316074 Jy ! Component: 100 - total flux cleaned = 0.0474533 Jy ! Total flux subtracted in 100 components = 0.0474533 Jy ! Clean residual min=-0.008560 max=0.008617 Jy/beam ! Clean residual mean=0.000041 rms=0.002164 Jy/beam ! Combined flux in latest and established models = 0.438063 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 17 components and 0.438063 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.079067Jy sigma=0.439964 ! Fit after self-cal, rms=0.079090Jy sigma=0.439931 ! 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=3.84 mas, bmaj=8.417 mas, bpa=-0.2649 degrees ! Estimated noise=1.60908 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.00995884 Jy ! Component: 100 - total flux cleaned = 0.0149083 Jy ! Component: 150 - total flux cleaned = 0.0175979 Jy ! Component: 200 - total flux cleaned = 0.018307 Jy ! Total flux subtracted in 200 components = 0.018307 Jy ! Clean residual min=-0.006701 max=0.006903 Jy/beam ! Clean residual mean=0.000029 rms=0.001865 Jy/beam ! Combined flux in latest and established models = 0.45637 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 40 components and 0.45637 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.077955Jy sigma=0.432315 ! Fit after self-cal, rms=0.077963Jy sigma=0.432311 ! 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: ! BR 1.01 FD 0.99 HN 0.99 KP 1.02 ! LA 1.17 MK 0.96 NL 0.98 OV 1.00 ! PT 1.05 SC 0.97 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.04 HN 1.06 KP 1.04 ! LA 1.05 MK 1.02 NL 1.04 OV 1.03 ! PT 1.04 SC 1.05 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 1.07 HN 1.01 KP 0.89 ! LA 0.98 MK 1.00 NL 1.08 OV 1.03 ! PT 1.06 SC 0.93 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.07 HN 0.91 KP 0.83 ! LA 0.81 MK 1.12 NL 1.02 OV 0.88 ! PT 0.93 SC 1.00 ! ! ! Fit before self-cal, rms=0.077963Jy sigma=0.432311 ! Fit after self-cal, rms=0.060795Jy sigma=0.300733 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.842 mas, bmaj=8.448 mas, bpa=0.03361 degrees ! Estimated noise=1.61028 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.000157167 Jy ! Component: 100 - total flux cleaned = -0.000277849 Jy ! Component: 150 - total flux cleaned = -0.000388129 Jy ! Component: 200 - total flux cleaned = -0.000539955 Jy ! Total flux subtracted in 200 components = -0.000539955 Jy ! Clean residual min=-0.002373 max=0.002190 Jy/beam ! Clean residual mean=-0.000007 rms=0.000559 Jy/beam ! Combined flux in latest and established models = 0.45583 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 48 components and 0.45583 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060623Jy sigma=0.300318 ! Fit after self-cal, rms=0.060663Jy sigma=0.300248 ! 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.060663Jy sigma=0.300248 ! Fit after self-cal, rms=0.060616Jy sigma=0.300206 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.839 mas, bmaj=8.445 mas, bpa=0.01131 degrees ! Estimated noise=1.60996 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -5.78663e-05 Jy ! Component: 100 - total flux cleaned = -0.000153364 Jy ! Component: 150 - total flux cleaned = -0.00024285 Jy ! Component: 200 - total flux cleaned = -0.000325718 Jy ! Total flux subtracted in 200 components = -0.000325718 Jy ! Clean residual min=-0.002307 max=0.002079 Jy/beam ! Clean residual mean=-0.000007 rms=0.000545 Jy/beam ! Combined flux in latest and established models = 0.455504 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 49 components and 0.455504 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060494Jy sigma=0.299968 ! Fit after self-cal, rms=0.060495Jy sigma=0.299967 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.000159512 Jy ! Component: 100 - total flux cleaned = -0.000231974 Jy ! Component: 150 - total flux cleaned = -0.000268247 Jy ! Component: 200 - total flux cleaned = -0.000334545 Jy ! Total flux subtracted in 200 components = -0.000334545 Jy ! Clean residual min=-0.002284 max=0.002037 Jy/beam ! Clean residual mean=-0.000007 rms=0.000538 Jy/beam ! Combined flux in latest and established models = 0.45517 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 56 components and 0.45517 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060419Jy sigma=0.299836 ! Fit after self-cal, rms=0.060420Jy sigma=0.299836 ! 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.060420Jy sigma=0.299836 ! Fit after self-cal, rms=0.060415Jy sigma=0.298249 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.833 mas, bmaj=8.458 mas, bpa=0.02609 degrees ! Estimated noise=1.61 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000339299 Jy ! Component: 100 - total flux cleaned = 0.00029282 Jy ! Component: 150 - total flux cleaned = 0.000251325 Jy ! Component: 200 - total flux cleaned = 0.00021431 Jy ! Total flux subtracted in 200 components = 0.00021431 Jy ! Clean residual min=-0.001917 max=0.002024 Jy/beam ! Clean residual mean=-0.000007 rms=0.000466 Jy/beam ! Combined flux in latest and established models = 0.455384 Jy selfcal ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 59 components and 0.455384 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060300Jy sigma=0.298058 ! Fit after self-cal, rms=0.060304Jy sigma=0.298056 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 (22.4, 20.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00166703 Jy ! Component: 100 - total flux cleaned = 0.00204657 Jy ! Component: 150 - total flux cleaned = 0.00204688 Jy ! Component: 200 - total flux cleaned = 0.00204674 Jy ! Total flux subtracted in 200 components = 0.00204674 Jy ! Clean residual min=-0.001759 max=0.001817 Jy/beam ! Clean residual mean=-0.000005 rms=0.000434 Jy/beam ! Combined flux in latest and established models = 0.457431 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 73 components and 0.457431 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060216Jy sigma=0.297755 ! Fit after self-cal, rms=0.060215Jy sigma=0.297751 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 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.060215Jy sigma=0.297751 ! Fit after self-cal, rms=0.060246Jy sigma=0.297680 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=7.992 mas, bmaj=13.66 mas, bpa=0.8062 degrees ! Estimated noise=1.74561 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000167121 Jy ! Component: 100 - total flux cleaned = -0.000236871 Jy ! Component: 150 - total flux cleaned = -0.000206833 Jy ! Component: 200 - total flux cleaned = -0.000151825 Jy ! Total flux subtracted in 200 components = -0.000151825 Jy ! Clean residual min=-0.001567 max=0.001634 Jy/beam ! Clean residual mean=-0.000008 rms=0.000430 Jy/beam ! Combined flux in latest and established models = 0.457279 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 91 components and 0.457279 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060243Jy sigma=0.297618 ! Fit after self-cal, rms=0.060242Jy sigma=0.297609 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.000100229 Jy ! Component: 100 - total flux cleaned = -0.000100666 Jy ! Component: 150 - total flux cleaned = -0.000100198 Jy ! Component: 200 - total flux cleaned = -0.000120079 Jy ! Total flux subtracted in 200 components = -0.000120079 Jy ! Clean residual min=-0.001577 max=0.001637 Jy/beam ! Clean residual mean=-0.000008 rms=0.000426 Jy/beam ! Combined flux in latest and established models = 0.457159 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 95 components and 0.457159 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060237Jy sigma=0.297587 ! Fit after self-cal, rms=0.060238Jy sigma=0.297583 ! 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:BR ! Syntax error in line: ! 1:BR ! ^ ! 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 "/scr/pima/rdv96_uvs/J0606-0724_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=3.832 mas, bmaj=8.457 mas, bpa=0.04955 degrees ! Estimated noise=1.61047 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.832 x 8.457 at 0.04955 degrees (North through East) ! Clean map min=-0.0017339 max=0.41515 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J0606-0724_S_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= 0.4151 rms= 0.00042 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J0606-0724_S_uvs.log closed on Sat Dec 21 00:22:42 2013