! Started logfile: /scr/pima/rdv96_uvs/J1802-3940_S_uvs.log on Sat Dec 21 00:25:20 2013 obs /scr/pima/rdv96_uvs/J1802-3940_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1802-3940_S_uva.fits ! AN table 1: 6 integrations on 15 of 15 possible baselines. ! AN table 2: 2 integrations on 6 of 6 possible baselines. ! AN table 3: 2 integrations on 3 of 3 possible baselines. ! AN table 4: 2 integrations on 6 of 6 possible baselines. ! Apparent sampling: 0.958333 visibilities/baseline/integration-bin. ! Found source: J1802-3940 ! ! 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 460 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/J1802-3940_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:MK self-cal status=correctable weight=1 ! 1:OV self-cal status=correctable weight=1 ! 1:PT self-cal status=correctable weight=1 ! 2:KP 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 ! 3:FD self-cal status=correctable weight=1 ! 3:KP self-cal status=correctable weight=1 ! 3:MK 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:WF 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 1. ! ! Correcting IF 2. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.428864Jy sigma=15.725511 ! Fit after self-cal, rms=0.280578Jy sigma=2.672170 ! 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 \] flag 4:WF ! Flagging baselines of antenna 4:WF in the currently selected channels. ![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.088 mas, bmaj=17.95 mas, bpa=-4.605 degrees ! Estimated noise=6.01488 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.716211 Jy ! Component: 100 - total flux cleaned = 0.938027 Jy ! Total flux subtracted in 100 components = 0.938027 Jy ! Clean residual min=-0.037748 max=0.101108 Jy/beam ! Clean residual mean=0.000267 rms=0.017144 Jy/beam ! Combined flux in latest and established models = 0.938028 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 34 components and 0.938028 Jy ! ! Correcting IF 1. ! A total of 2 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 2. ! A total of 2 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 3. ! A total of 2 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 4. ! A total of 2 telescope corrections were flagged in sub-array 4. ! ! Fit before self-cal, rms=0.242207Jy sigma=2.955203 ! Fit after self-cal, rms=0.242204Jy sigma=2.955027 ! Inverting map and beam ! Estimated beam: bmin=3.088 mas, bmaj=17.95 mas, bpa=-4.605 degrees ! Estimated noise=6.01488 mJy/beam. 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=4.821 mas, bmaj=24.28 mas, bpa=-0.772 degrees ! Estimated noise=3.3185 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.153021 Jy ! Component: 100 - total flux cleaned = 0.206509 Jy ! Component: 150 - total flux cleaned = 0.231341 Jy ! Component: 200 - total flux cleaned = 0.244465 Jy ! Total flux subtracted in 200 components = 0.244465 Jy ! Clean residual min=-0.032202 max=0.021336 Jy/beam ! Clean residual mean=-0.001611 rms=0.010096 Jy/beam ! Combined flux in latest and established models = 1.18249 Jy ! Performing phase self-cal ! Adding 93 model components to the UV plane model. ! The established model now contains 117 components and 1.18249 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.163884Jy sigma=1.897424 ! Fit after self-cal, rms=0.163832Jy sigma=1.897019 ! 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 1.01 LA 1.18 MK 0.98 ! OV 0.99 PT 1.05 ! ! Telescope amplitude corrections in sub-array 2: ! KP 1.03 MK 0.99 OV 0.98 PT 1.05 ! ! A total of 6 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! FD 0.00* KP 0.00* MK 0.00* ! ! A total of 6 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! FD 0.00* KP 0.00* LA 0.00* WF 0.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 1.07 KP 1.03 LA 1.07 MK 1.00 ! OV 1.04 PT 1.03 ! ! Telescope amplitude corrections in sub-array 2: ! KP 1.00 MK 0.99 OV 1.08 PT 1.02 ! ! A total of 6 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! FD 0.00* KP 0.00* MK 0.00* ! ! A total of 6 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! FD 0.00* KP 0.00* LA 0.00* WF 0.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 1.08 KP 0.90 LA 0.99 MK 1.01 ! OV 1.04 PT 1.07 ! ! Telescope amplitude corrections in sub-array 2: ! KP 0.90 MK 0.99 OV 1.04 PT 1.05 ! ! A total of 6 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! FD 0.00* KP 0.00* MK 0.00* ! ! A total of 6 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! FD 0.00* KP 0.00* LA 0.00* WF 0.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 1.10 KP 0.82 LA 0.84 MK 1.12 ! OV 0.88 PT 0.94 ! ! Telescope amplitude corrections in sub-array 2: ! KP 0.85 MK 1.06 OV 0.85 PT 0.96 ! ! A total of 6 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! FD 0.00* KP 0.00* MK 0.00* ! ! A total of 6 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! FD 0.00* KP 0.00* LA 0.00* WF 0.00* ! ! ! Fit before self-cal, rms=0.163832Jy sigma=1.897019 ! Fit after self-cal, rms=0.063137Jy sigma=0.651783 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=4.866 mas, bmaj=24.86 mas, bpa=-1.673 degrees ! Estimated noise=3.40701 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.000146734 Jy ! Component: 100 - total flux cleaned = -0.000632705 Jy ! Component: 150 - total flux cleaned = -0.000931263 Jy ! Component: 200 - total flux cleaned = -0.00092746 Jy ! Total flux subtracted in 200 components = -0.00092746 Jy ! Clean residual min=-0.010409 max=0.007387 Jy/beam ! Clean residual mean=-0.000425 rms=0.002828 Jy/beam ! Combined flux in latest and established models = 1.18157 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 133 components and 1.18157 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.062637Jy sigma=0.647627 ! Fit after self-cal, rms=0.062638Jy sigma=0.646735 ! 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.062638Jy sigma=0.646735 ! Fit after self-cal, rms=0.062579Jy sigma=0.646420 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.868 mas, bmaj=24.86 mas, bpa=-1.668 degrees ! Estimated noise=3.40231 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00101574 Jy ! Component: 100 - total flux cleaned = -0.0013639 Jy ! Component: 150 - total flux cleaned = -0.00150475 Jy ! Component: 200 - total flux cleaned = -0.00150157 Jy ! Total flux subtracted in 200 components = -0.00150157 Jy ! Clean residual min=-0.009994 max=0.007394 Jy/beam ! Clean residual mean=-0.000419 rms=0.002741 Jy/beam ! Combined flux in latest and established models = 1.18006 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 139 components and 1.18006 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.062304Jy sigma=0.644400 ! Fit after self-cal, rms=0.062273Jy sigma=0.644140 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 = 8.30595e-06 Jy ! Component: 100 - total flux cleaned = 8.48521e-06 Jy ! Component: 150 - total flux cleaned = 6.72507e-05 Jy ! Component: 200 - total flux cleaned = 6.84338e-05 Jy ! Total flux subtracted in 200 components = 6.84338e-05 Jy ! Clean residual min=-0.009755 max=0.007448 Jy/beam ! Clean residual mean=-0.000419 rms=0.002702 Jy/beam ! Combined flux in latest and established models = 1.18013 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 143 components and 1.18013 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.062151Jy sigma=0.642994 ! Fit after self-cal, rms=0.062138Jy sigma=0.642888 ! 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.062138Jy sigma=0.642888 ! Fit after self-cal, rms=0.058393Jy sigma=0.585252 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.87 mas, bmaj=24.85 mas, bpa=-1.702 degrees ! Estimated noise=3.40068 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0018438 Jy ! Component: 100 - total flux cleaned = -0.00201577 Jy ! Component: 150 - total flux cleaned = -0.00201683 Jy ! Component: 200 - total flux cleaned = -0.00196821 Jy ! Total flux subtracted in 200 components = -0.00196821 Jy ! Clean residual min=-0.008126 max=0.006836 Jy/beam ! Clean residual mean=-0.000405 rms=0.002117 Jy/beam ! Combined flux in latest and established models = 1.17816 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 153 components and 1.17816 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058201Jy sigma=0.584465 ! Fit after self-cal, rms=0.058198Jy sigma=0.584402 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.77738e-05 Jy ! Component: 100 - total flux cleaned = 5.8738e-05 Jy ! Component: 150 - total flux cleaned = 0.000100959 Jy ! Component: 200 - total flux cleaned = 0.000140777 Jy ! Total flux subtracted in 200 components = 0.000140777 Jy ! Clean residual min=-0.008008 max=0.006778 Jy/beam ! Clean residual mean=-0.000407 rms=0.002095 Jy/beam ! Combined flux in latest and established models = 1.1783 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 161 components and 1.1783 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058117Jy sigma=0.583885 ! Fit after self-cal, rms=0.058114Jy sigma=0.583847 ! 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.058114Jy sigma=0.583847 ! Fit after self-cal, rms=0.058126Jy sigma=0.583626 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=11.5 mas, bmaj=42.95 mas, bpa=14.68 degrees ! Estimated noise=3.43082 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -6.03729e-05 Jy ! Component: 100 - total flux cleaned = -6.28005e-05 Jy ! Component: 150 - total flux cleaned = -9.59559e-05 Jy ! Component: 200 - total flux cleaned = -9.6412e-05 Jy ! Total flux subtracted in 200 components = -9.6412e-05 Jy ! Clean residual min=-0.006885 max=0.006647 Jy/beam ! Clean residual mean=-0.000568 rms=0.002273 Jy/beam ! Combined flux in latest and established models = 1.17821 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 169 components and 1.17821 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058097Jy sigma=0.583204 ! Fit after self-cal, rms=0.058091Jy sigma=0.583161 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.02378e-05 Jy ! Component: 100 - total flux cleaned = 2.94356e-05 Jy ! Component: 150 - total flux cleaned = 5.63653e-05 Jy ! Component: 200 - total flux cleaned = 5.73364e-05 Jy ! Total flux subtracted in 200 components = 5.73364e-05 Jy ! Clean residual min=-0.006792 max=0.006592 Jy/beam ! Clean residual mean=-0.000568 rms=0.002259 Jy/beam ! Combined flux in latest and established models = 1.17827 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 172 components and 1.17826 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058072Jy sigma=0.582897 ! Fit after self-cal, rms=0.058069Jy sigma=0.582880 ! 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/J1802-3940_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=4.805 mas, bmaj=22.52 mas, bpa=-2.048 degrees ! Estimated noise=3.31067 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.805 x 22.52 at -2.048 degrees (North through East) ! Clean map min=-0.013768 max=1.0114 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1802-3940_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= 1.0113 rms= 0.00338 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1802-3940_S_uvs.log closed on Sat Dec 21 00:25:22 2013