! Started logfile: /scr/pima/rdv96_uvs/J0407-3303_S_uvs.log on Sat Dec 21 00:22:20 2013 obs /scr/pima/rdv96_uvs/J0407-3303_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J0407-3303_S_uva.fits ! AN table 1: 22 integrations on 28 of 28 possible baselines. ! AN table 2: 22 integrations on 36 of 36 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0407-3303 ! ! 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 5632 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/J0407-3303_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: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: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 ! 2:BR 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:NL 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 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.134223Jy sigma=6.021208 ! Fit after self-cal, rms=0.548739Jy sigma=2.469040 ! 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=2.797 mas, bmaj=8.818 mas, bpa=2.902 degrees ! Estimated noise=4.08232 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.377206 Jy ! Component: 100 - total flux cleaned = 0.485964 Jy ! Total flux subtracted in 100 components = 0.485964 Jy ! Clean residual min=-0.018935 max=0.044311 Jy/beam ! Clean residual mean=-0.000182 rms=0.006121 Jy/beam ! Combined flux in latest and established models = 0.485965 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 16 components and 0.485965 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.117554Jy sigma=0.638942 ! Fit after self-cal, rms=0.117681Jy sigma=0.638836 ! Inverting map ! Added new window around map position (-2.4, -11.6). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.046408 Jy ! Component: 100 - total flux cleaned = 0.0700091 Jy ! Total flux subtracted in 100 components = 0.0700091 Jy ! Clean residual min=-0.011800 max=0.015908 Jy/beam ! Clean residual mean=-0.000014 rms=0.003416 Jy/beam ! Combined flux in latest and established models = 0.555974 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 25 components and 0.555974 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.098513Jy sigma=0.505954 ! Fit after self-cal, rms=0.098195Jy sigma=0.505035 ! 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.77 mas, bmaj=12 mas, bpa=4.683 degrees ! Estimated noise=1.93259 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.0168435 Jy ! Component: 100 - total flux cleaned = 0.0235775 Jy ! Component: 150 - total flux cleaned = 0.0246205 Jy ! Component: 200 - total flux cleaned = 0.0251863 Jy ! Total flux subtracted in 200 components = 0.0251863 Jy ! Clean residual min=-0.012171 max=0.010449 Jy/beam ! Clean residual mean=0.000121 rms=0.003034 Jy/beam ! Combined flux in latest and established models = 0.58116 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 44 components and 0.58116 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.095796Jy sigma=0.490172 ! Fit after self-cal, rms=0.095739Jy sigma=0.490026 ! 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 HN 1.15 KP 1.00 LA 1.18 ! NL 0.98 OV 1.00 PT 1.04 SC 0.95 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.03 FD 0.98 KP 1.02 LA 1.16 ! MK 0.97 NL 1.02 OV 0.98 PT 1.05 ! SC 0.95 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 1.06 HN 1.23 KP 1.01 LA 1.05 ! NL 1.00 OV 1.02 PT 1.04 SC 1.03 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.07 FD 1.05 KP 1.03 LA 1.05 ! MK 1.01 NL 1.07 OV 1.02 PT 1.02 ! SC 1.05 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 1.08 HN 1.18 KP 0.89 LA 0.98 ! NL 1.04 OV 1.02 PT 1.06 SC 0.94 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.10 FD 1.06 KP 0.89 LA 0.97 ! MK 0.99 NL 1.09 OV 1.02 PT 1.06 ! SC 0.95 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 1.08 HN 1.04 KP 0.82 LA 0.82 ! NL 1.00 OV 0.88 PT 0.92 SC 1.00 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.05 FD 1.07 KP 0.83 LA 0.82 ! MK 1.13 NL 1.04 OV 0.88 PT 0.93 ! SC 0.99 ! ! ! Fit before self-cal, rms=0.095739Jy sigma=0.490026 ! Fit after self-cal, rms=0.073065Jy sigma=0.331807 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.759 mas, bmaj=12.09 mas, bpa=5.042 degrees ! Estimated noise=1.93681 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.000702519 Jy ! Component: 100 - total flux cleaned = -0.000820577 Jy ! Component: 150 - total flux cleaned = -0.000819739 Jy ! Component: 200 - total flux cleaned = -0.000822868 Jy ! Total flux subtracted in 200 components = -0.000822868 Jy ! Clean residual min=-0.003333 max=0.002856 Jy/beam ! Clean residual mean=0.000006 rms=0.000769 Jy/beam ! Combined flux in latest and established models = 0.580337 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 53 components and 0.580337 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.072939Jy sigma=0.331461 ! Fit after self-cal, rms=0.072989Jy sigma=0.331355 ! 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.072989Jy sigma=0.331355 ! Fit after self-cal, rms=0.072993Jy sigma=0.331305 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.755 mas, bmaj=12.08 mas, bpa=5.031 degrees ! Estimated noise=1.93604 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000583481 Jy ! Component: 100 - total flux cleaned = -0.000682362 Jy ! Component: 150 - total flux cleaned = -0.000638238 Jy ! Component: 200 - total flux cleaned = -0.000639869 Jy ! Total flux subtracted in 200 components = -0.000639869 Jy ! Clean residual min=-0.003021 max=0.002800 Jy/beam ! Clean residual mean=0.000008 rms=0.000741 Jy/beam ! Combined flux in latest and established models = 0.579697 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 54 components and 0.579697 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.072904Jy sigma=0.331063 ! Fit after self-cal, rms=0.072902Jy sigma=0.331054 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 = -5.32839e-05 Jy ! Component: 100 - total flux cleaned = -1.64935e-05 Jy ! Component: 150 - total flux cleaned = -4.976e-05 Jy ! Component: 200 - total flux cleaned = -8.0851e-05 Jy ! Total flux subtracted in 200 components = -8.0851e-05 Jy ! Clean residual min=-0.002951 max=0.002740 Jy/beam ! Clean residual mean=0.000008 rms=0.000730 Jy/beam ! Combined flux in latest and established models = 0.579617 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 60 components and 0.579617 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.072850Jy sigma=0.330941 ! Fit after self-cal, rms=0.072848Jy sigma=0.330934 ! 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.072848Jy sigma=0.330934 ! Fit after self-cal, rms=0.072912Jy sigma=0.330875 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.753 mas, bmaj=12.07 mas, bpa=5.031 degrees ! Estimated noise=1.93602 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000456427 Jy ! Component: 100 - total flux cleaned = -0.000532719 Jy ! Component: 150 - total flux cleaned = -0.000567175 Jy ! Component: 200 - total flux cleaned = -0.000598617 Jy ! Total flux subtracted in 200 components = -0.000598617 Jy ! Clean residual min=-0.002879 max=0.002712 Jy/beam ! Clean residual mean=0.000011 rms=0.000709 Jy/beam ! Combined flux in latest and established models = 0.579018 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 65 components and 0.579018 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.072857Jy sigma=0.330720 ! Fit after self-cal, rms=0.072856Jy sigma=0.330713 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 = -3.54235e-05 Jy ! Component: 100 - total flux cleaned = -3.46682e-05 Jy ! Component: 150 - total flux cleaned = -6.3435e-05 Jy ! Component: 200 - total flux cleaned = -0.000115263 Jy ! Total flux subtracted in 200 components = -0.000115263 Jy ! Clean residual min=-0.002886 max=0.002680 Jy/beam ! Clean residual mean=0.000011 rms=0.000700 Jy/beam ! Combined flux in latest and established models = 0.578903 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 72 components and 0.578903 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.072821Jy sigma=0.330632 ! Fit after self-cal, rms=0.072820Jy sigma=0.330626 ! 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.072820Jy sigma=0.330626 ! Fit after self-cal, rms=0.072867Jy sigma=0.330589 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=9.036 mas, bmaj=27.68 mas, bpa=-1.493 degrees ! Estimated noise=2.04905 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000521195 Jy ! Component: 100 - total flux cleaned = -0.000553289 Jy ! Component: 150 - total flux cleaned = -0.000602911 Jy ! Component: 200 - total flux cleaned = -0.000624165 Jy ! Total flux subtracted in 200 components = -0.000624165 Jy ! Clean residual min=-0.002746 max=0.002464 Jy/beam ! Clean residual mean=0.000021 rms=0.000798 Jy/beam ! Combined flux in latest and established models = 0.578279 Jy selfcal ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 76 components and 0.578279 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.072854Jy sigma=0.330519 ! Fit after self-cal, rms=0.072835Jy sigma=0.330483 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 = -5.97767e-05 Jy ! Component: 100 - total flux cleaned = -9.55446e-06 Jy ! Component: 150 - total flux cleaned = 3.09508e-05 Jy ! Component: 200 - total flux cleaned = 1.30954e-05 Jy ! Total flux subtracted in 200 components = 1.30954e-05 Jy ! Clean residual min=-0.002651 max=0.002389 Jy/beam ! Clean residual mean=0.000022 rms=0.000791 Jy/beam ! Combined flux in latest and established models = 0.578292 Jy ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 78 components and 0.578292 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.072834Jy sigma=0.330462 ! Fit after self-cal, rms=0.072821Jy sigma=0.330445 ! 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 "/scr/pima/rdv96_uvs/J0407-3303_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=3.75 mas, bmaj=12.06 mas, bpa=5.031 degrees ! Estimated noise=1.93605 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.75 x 12.06 at 5.031 degrees (North through East) ! Clean map min=-0.0027853 max=0.48118 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J0407-3303_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.4811 rms= 0.00067 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J0407-3303_S_uvs.log closed on Sat Dec 21 00:22:23 2013