! Started logfile: /scr/pima/rdv96_uvs/J1352-4412_S_uvs.log on Sat Dec 21 00:24:20 2013 obs /scr/pima/rdv96_uvs/J1352-4412_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1352-4412_S_uva.fits ! AN table 1: 2 integrations on 10 of 10 possible baselines. ! AN table 2: 2 integrations on 15 of 15 possible baselines. ! AN table 3: 4 integrations on 21 of 21 possible baselines. ! AN table 4: 2 integrations on 10 of 10 possible baselines. ! Apparent sampling: 0.941558 visibilities/baseline/integration-bin. ! Found source: J1352-4412 ! ! 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 580 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/J1352-4412_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:KP self-cal status=correctable weight=1 ! 1:LA 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: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 ! 3:SC self-cal status=correctable weight=1 ! 4:FD self-cal status=correctable weight=1 ! 4:KP self-cal status=correctable weight=1 ! 4:LA self-cal status=correctable weight=1 ! 4:MK self-cal status=correctable weight=1 ! 4:OV 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. ! A total of 1 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 2. ! A total of 1 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 3. ! A total of 1 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 4. ! A total of 1 telescope corrections were flagged in sub-array 3. ! ! Fit before self-cal, rms=1.049297Jy sigma=2.861629 ! Fit after self-cal, rms=0.757600Jy sigma=2.009734 ! 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.547 mas, bmaj=7.631 mas, bpa=-0.7169 degrees ! Estimated noise=17.2778 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.179439 Jy ! Component: 100 - total flux cleaned = 0.223557 Jy ! Total flux subtracted in 100 components = 0.223557 Jy ! Clean residual min=-0.012677 max=0.018572 Jy/beam ! Clean residual mean=-0.000252 rms=0.003773 Jy/beam ! Combined flux in latest and established models = 0.223557 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 18 components and 0.223557 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.086490Jy sigma=0.240100 ! Fit after self-cal, rms=0.086494Jy sigma=0.240053 ! 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.589 mas, bmaj=10.79 mas, bpa=1.251 degrees ! Estimated noise=11.1176 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.0343031 Jy ! Component: 100 - total flux cleaned = 0.0471032 Jy ! Component: 150 - total flux cleaned = 0.0519933 Jy ! Component: 200 - total flux cleaned = 0.0538899 Jy ! Total flux subtracted in 200 components = 0.0538899 Jy ! Clean residual min=-0.010093 max=0.008204 Jy/beam ! Clean residual mean=-0.000266 rms=0.002763 Jy/beam ! Combined flux in latest and established models = 0.277447 Jy ! Performing phase self-cal ! Adding 41 model components to the UV plane model. ! The established model now contains 57 components and 0.277447 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.076726Jy sigma=0.201969 ! Fit after self-cal, rms=0.076807Jy sigma=0.201906 ! 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.86 KP 1.15 LA 1.30 PT 0.93 ! SC 1.09 ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.14 KP 1.03 LA 1.32 OV 1.07 ! PT 0.95 SC 0.85 ! ! Telescope amplitude corrections in sub-array 3: ! FD 0.94 KP 0.98 LA 1.06 MK 0.89 ! OV 1.07 PT 1.08 SC 0.95 ! ! Telescope amplitude corrections in sub-array 4: ! FD 1.15 KP 1.01 LA 1.09 MK 1.00 ! OV 1.00 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 1.05 KP 1.19 LA 0.99 PT 1.04 ! SC 1.06 ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.01 KP 1.08 LA 1.00 OV 1.05 ! PT 1.00 SC 1.10 ! ! Telescope amplitude corrections in sub-array 3: ! FD 1.03 KP 1.06 LA 1.14 MK 1.05 ! OV 1.08 PT 1.02 SC 1.02 ! ! Telescope amplitude corrections in sub-array 4: ! FD 1.09 KP 0.95 LA 1.11 MK 1.02 ! OV 1.10 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 1.04 KP 1.02 LA 0.99 PT 1.06 ! SC 0.92 ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.11 KP 0.97 LA 1.00 OV 0.99 ! PT 1.01 SC 1.09 ! ! Telescope amplitude corrections in sub-array 3: ! FD 1.10 KP 0.91 LA 0.90 MK 0.99 ! OV 1.08 PT 1.06 SC 0.96 ! ! Telescope amplitude corrections in sub-array 4: ! FD 1.19 KP 0.91 LA 0.94 MK 0.85 ! OV 1.03 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 1.03 KP 1.07 LA 0.80 PT 1.01 ! SC 0.83 ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.11 KP 0.85 LA 0.86 OV 0.90 ! PT 0.80 SC 1.08 ! ! Telescope amplitude corrections in sub-array 3: ! FD 1.02 KP 0.84 LA 0.82 MK 1.20 ! OV 0.94 PT 0.89 SC 1.03 ! ! Telescope amplitude corrections in sub-array 4: ! FD 1.15 KP 0.94 LA 0.73 MK 0.96 ! OV 0.95 ! ! ! Fit before self-cal, rms=0.076807Jy sigma=0.201906 ! Fit after self-cal, rms=0.065687Jy sigma=0.166501 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.588 mas, bmaj=10.81 mas, bpa=1.358 degrees ! Estimated noise=11.0505 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.000864808 Jy ! Component: 100 - total flux cleaned = -0.000828853 Jy ! Component: 150 - total flux cleaned = -0.000826373 Jy ! Component: 200 - total flux cleaned = -0.000794871 Jy ! Total flux subtracted in 200 components = -0.000794871 Jy ! Clean residual min=-0.007591 max=0.006802 Jy/beam ! Clean residual mean=-0.000119 rms=0.002097 Jy/beam ! Combined flux in latest and established models = 0.276652 Jy ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 62 components and 0.276652 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.065618Jy sigma=0.166452 ! Fit after self-cal, rms=0.065802Jy sigma=0.166324 ! 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.065802Jy sigma=0.166324 ! Fit after self-cal, rms=0.065617Jy sigma=0.166303 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.587 mas, bmaj=10.81 mas, bpa=1.333 degrees ! Estimated noise=11.0166 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000822223 Jy ! Component: 100 - total flux cleaned = -0.000786379 Jy ! Component: 150 - total flux cleaned = -0.000753496 Jy ! Component: 200 - total flux cleaned = -0.000755691 Jy ! Total flux subtracted in 200 components = -0.000755691 Jy ! Clean residual min=-0.007529 max=0.006665 Jy/beam ! Clean residual mean=-0.000118 rms=0.002081 Jy/beam ! Combined flux in latest and established models = 0.275896 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 66 components and 0.275896 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.065551Jy sigma=0.166265 ! Fit after self-cal, rms=0.065562Jy sigma=0.166258 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 = -4.62669e-05 Jy ! Component: 100 - total flux cleaned = -4.60735e-05 Jy ! Component: 150 - total flux cleaned = -1.75113e-05 Jy ! Component: 200 - total flux cleaned = -1.71169e-05 Jy ! Total flux subtracted in 200 components = -1.71169e-05 Jy ! Clean residual min=-0.007529 max=0.006631 Jy/beam ! Clean residual mean=-0.000118 rms=0.002080 Jy/beam ! Combined flux in latest and established models = 0.275879 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 73 components and 0.275879 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.065524Jy sigma=0.166227 ! Fit after self-cal, rms=0.065534Jy sigma=0.166221 ! 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.065534Jy sigma=0.166221 ! Fit after self-cal, rms=0.064852Jy sigma=0.164145 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.582 mas, bmaj=10.82 mas, bpa=1.194 degrees ! Estimated noise=10.9871 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000847664 Jy ! Component: 100 - total flux cleaned = -0.000849018 Jy ! Component: 150 - total flux cleaned = -0.000821878 Jy ! Component: 200 - total flux cleaned = -0.00079731 Jy ! Total flux subtracted in 200 components = -0.00079731 Jy ! Clean residual min=-0.007362 max=0.006287 Jy/beam ! Clean residual mean=-0.000130 rms=0.002033 Jy/beam ! Combined flux in latest and established models = 0.275082 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 76 components and 0.275082 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.064801Jy sigma=0.164131 ! Fit after self-cal, rms=0.064809Jy sigma=0.164119 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 = -4.85097e-05 Jy ! Component: 100 - total flux cleaned = -2.30857e-05 Jy ! Component: 150 - total flux cleaned = 2.17208e-06 Jy ! Component: 200 - total flux cleaned = 4.72887e-05 Jy ! Total flux subtracted in 200 components = 4.72887e-05 Jy ! Clean residual min=-0.007361 max=0.006297 Jy/beam ! Clean residual mean=-0.000130 rms=0.002032 Jy/beam ! Combined flux in latest and established models = 0.275129 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 77 components and 0.275129 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.064778Jy sigma=0.164099 ! Fit after self-cal, rms=0.064787Jy sigma=0.164094 ! 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.064787Jy sigma=0.164094 ! Fit after self-cal, rms=0.064659Jy sigma=0.164073 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=11.64 mas, bmaj=44.52 mas, bpa=0.7929 degrees ! Estimated noise=12.1832 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000357769 Jy ! Component: 100 - total flux cleaned = -0.000357614 Jy ! Component: 150 - total flux cleaned = -0.00035741 Jy ! Component: 200 - total flux cleaned = -0.000357168 Jy ! Total flux subtracted in 200 components = -0.000357168 Jy ! Clean residual min=-0.007228 max=0.006126 Jy/beam ! Clean residual mean=-0.000201 rms=0.002566 Jy/beam ! Combined flux in latest and established models = 0.274772 Jy selfcal ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 85 components and 0.274772 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.064665Jy sigma=0.164070 ! Fit after self-cal, rms=0.064654Jy sigma=0.164066 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 = 4.13921e-05 Jy ! Component: 100 - total flux cleaned = 4.16248e-05 Jy ! Component: 150 - total flux cleaned = 4.14319e-05 Jy ! Component: 200 - total flux cleaned = 4.11849e-05 Jy ! Total flux subtracted in 200 components = 4.11849e-05 Jy ! Clean residual min=-0.007225 max=0.006119 Jy/beam ! Clean residual mean=-0.000201 rms=0.002564 Jy/beam ! Combined flux in latest and established models = 0.274813 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 85 components and 0.274813 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.064669Jy sigma=0.164059 ! Fit after self-cal, rms=0.064658Jy sigma=0.164056 ! 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/J1352-4412_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=3.583 mas, bmaj=10.83 mas, bpa=1.179 degrees ! Estimated noise=10.9565 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.583 x 10.83 at 1.179 degrees (North through East) ! Clean map min=-0.0071366 max=0.24065 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1352-4412_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.2406 rms= 0.00202 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1352-4412_S_uvs.log closed on Sat Dec 21 00:24:22 2013