! Started logfile: /scr/pima/rdv96_uvs/J2339+6010_S_uvs.log on Sat Dec 21 00:26:21 2013 obs /scr/pima/rdv96_uvs/J2339+6010_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J2339+6010_S_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.984848 visibilities/baseline/integration-bin. ! Found source: J2339+6010 ! ! 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 7800 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/J2339+6010_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. ! 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.045756Jy sigma=4.459545 ! Fit after self-cal, rms=0.767120Jy sigma=2.742725 ! 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.913 mas, bmaj=5.898 mas, bpa=-68.24 degrees ! Estimated noise=5.43462 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.205225 Jy ! Component: 100 - total flux cleaned = 0.284798 Jy ! Total flux subtracted in 100 components = 0.284798 Jy ! Clean residual min=-0.013937 max=0.037503 Jy/beam ! Clean residual mean=-0.000295 rms=0.005517 Jy/beam ! Combined flux in latest and established models = 0.284798 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 29 components and 0.284798 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.097950Jy sigma=0.532130 ! Fit after self-cal, rms=0.098180Jy sigma=0.531603 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0438868 Jy ! Component: 100 - total flux cleaned = 0.069895 Jy ! Total flux subtracted in 100 components = 0.069895 Jy ! Clean residual min=-0.010144 max=0.025011 Jy/beam ! Clean residual mean=-0.000166 rms=0.003182 Jy/beam ! Combined flux in latest and established models = 0.354693 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 61 components and 0.354693 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.078271Jy sigma=0.380550 ! Fit after self-cal, rms=0.078268Jy sigma=0.380113 ! Inverting map ! Added new window around map position (-3.2, 6.8). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0235071 Jy ! Component: 100 - total flux cleaned = 0.0371399 Jy ! Total flux subtracted in 100 components = 0.0371399 Jy ! Clean residual min=-0.007203 max=0.008720 Jy/beam ! Clean residual mean=-0.000095 rms=0.002201 Jy/beam ! Combined flux in latest and established models = 0.391833 Jy ! Performing phase self-cal ! Adding 39 model components to the UV plane model. ! The established model now contains 95 components and 0.391833 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.071362Jy sigma=0.326487 ! Fit after self-cal, rms=0.070979Jy sigma=0.325483 ! 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=5.432 mas, bmaj=7.541 mas, bpa=-75.53 degrees ! Estimated noise=2.21064 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.0181762 Jy ! Component: 100 - total flux cleaned = 0.0294458 Jy ! Component: 150 - total flux cleaned = 0.0369476 Jy ! Component: 200 - total flux cleaned = 0.0420144 Jy ! Total flux subtracted in 200 components = 0.0420144 Jy ! Clean residual min=-0.006483 max=0.006810 Jy/beam ! Clean residual mean=-0.000068 rms=0.001772 Jy/beam ! Combined flux in latest and established models = 0.433847 Jy ! Performing phase self-cal ! Adding 79 model components to the UV plane model. ! The established model now contains 155 components and 0.433847 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.067925Jy sigma=0.297713 ! Fit after self-cal, rms=0.067812Jy sigma=0.297104 ! 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.02 FD 0.99 HN 1.02 KP 1.02 ! LA 1.17 MK 1.01 NL 1.01 OV 1.00 ! PT 1.06 SC 0.96 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 1.06 HN 1.07 KP 1.03 ! LA 1.04 MK 1.06 NL 1.03 OV 1.03 ! PT 1.04 SC 1.05 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.05 HN 1.00 KP 0.91 ! LA 0.98 MK 1.01 NL 1.07 OV 1.02 ! PT 1.05 SC 0.95 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 1.05 HN 0.89 KP 0.83 ! LA 0.81 MK 1.07 NL 1.01 OV 0.87 ! PT 0.93 SC 1.00 ! ! ! Fit before self-cal, rms=0.067812Jy sigma=0.297104 ! Fit after self-cal, rms=0.056224Jy sigma=0.198889 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=5.455 mas, bmaj=7.566 mas, bpa=-75.94 degrees ! Estimated noise=2.2062 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.00113557 Jy ! Component: 100 - total flux cleaned = 0.00127939 Jy ! Component: 150 - total flux cleaned = 0.00136167 Jy ! Component: 200 - total flux cleaned = 0.00139851 Jy ! Total flux subtracted in 200 components = 0.00139851 Jy ! Clean residual min=-0.002781 max=0.002835 Jy/beam ! Clean residual mean=-0.000018 rms=0.000747 Jy/beam ! Combined flux in latest and established models = 0.435245 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 165 components and 0.435245 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056124Jy sigma=0.198462 ! Fit after self-cal, rms=0.056137Jy sigma=0.198382 ! 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.056137Jy sigma=0.198382 ! Fit after self-cal, rms=0.056068Jy sigma=0.198356 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=5.454 mas, bmaj=7.565 mas, bpa=-75.97 degrees ! Estimated noise=2.20319 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000303325 Jy ! Component: 100 - total flux cleaned = 0.000419429 Jy ! Component: 150 - total flux cleaned = 0.000489332 Jy ! Component: 200 - total flux cleaned = 0.000522529 Jy ! Total flux subtracted in 200 components = 0.000522529 Jy ! Clean residual min=-0.002744 max=0.002841 Jy/beam ! Clean residual mean=-0.000017 rms=0.000727 Jy/beam ! Combined flux in latest and established models = 0.435768 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 169 components and 0.435768 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055999Jy sigma=0.198196 ! Fit after self-cal, rms=0.056000Jy sigma=0.198185 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.000104829 Jy ! Component: 100 - total flux cleaned = 0.000166413 Jy ! Component: 150 - total flux cleaned = 0.00019486 Jy ! Component: 200 - total flux cleaned = 0.000223324 Jy ! Total flux subtracted in 200 components = 0.000223324 Jy ! Clean residual min=-0.002682 max=0.002791 Jy/beam ! Clean residual mean=-0.000016 rms=0.000719 Jy/beam ! Combined flux in latest and established models = 0.435991 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 173 components and 0.435991 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055951Jy sigma=0.198096 ! Fit after self-cal, rms=0.055952Jy sigma=0.198091 ! 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.055952Jy sigma=0.198091 ! Fit after self-cal, rms=0.055770Jy sigma=0.197118 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=5.444 mas, bmaj=7.563 mas, bpa=-75.95 degrees ! Estimated noise=2.20193 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 1.57981e-05 Jy ! Component: 100 - total flux cleaned = -1.43528e-05 Jy ! Component: 150 - total flux cleaned = -1.48679e-05 Jy ! Component: 200 - total flux cleaned = 9.26818e-06 Jy ! Total flux subtracted in 200 components = 9.26818e-06 Jy ! Clean residual min=-0.002579 max=0.002496 Jy/beam ! Clean residual mean=-0.000003 rms=0.000645 Jy/beam ! Combined flux in latest and established models = 0.436001 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 185 components and 0.436001 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055719Jy sigma=0.197045 ! Fit after self-cal, rms=0.055721Jy sigma=0.197036 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.68311e-05 Jy ! Component: 100 - total flux cleaned = 0.000109864 Jy ! Component: 150 - total flux cleaned = 0.00013252 Jy ! Component: 200 - total flux cleaned = 0.00017435 Jy ! Total flux subtracted in 200 components = 0.00017435 Jy ! Clean residual min=-0.002501 max=0.002439 Jy/beam ! Clean residual mean=-0.000002 rms=0.000640 Jy/beam ! Combined flux in latest and established models = 0.436175 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 189 components and 0.436175 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055693Jy sigma=0.196986 ! Fit after self-cal, rms=0.055694Jy sigma=0.196983 ! 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.055694Jy sigma=0.196983 ! Fit after self-cal, rms=0.055648Jy sigma=0.196943 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=9.278 mas, bmaj=11.36 mas, bpa=-86.12 degrees ! Estimated noise=1.97754 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000827868 Jy ! Component: 100 - total flux cleaned = 0.00080496 Jy ! Component: 150 - total flux cleaned = 0.000805772 Jy ! Component: 200 - total flux cleaned = 0.000823091 Jy ! Total flux subtracted in 200 components = 0.000823091 Jy ! Clean residual min=-0.003017 max=0.002514 Jy/beam ! Clean residual mean=0.000003 rms=0.000818 Jy/beam ! Combined flux in latest and established models = 0.436998 Jy selfcal ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 192 components and 0.436998 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055675Jy sigma=0.196856 ! Fit after self-cal, rms=0.055668Jy sigma=0.196842 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.52121e-05 Jy ! Component: 100 - total flux cleaned = 8.43209e-05 Jy ! Component: 150 - total flux cleaned = 8.49048e-05 Jy ! Component: 200 - total flux cleaned = 9.81481e-05 Jy ! Total flux subtracted in 200 components = 9.81481e-05 Jy ! Clean residual min=-0.003007 max=0.002439 Jy/beam ! Clean residual mean=0.000004 rms=0.000811 Jy/beam ! Combined flux in latest and established models = 0.437096 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 195 components and 0.437096 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055682Jy sigma=0.196811 ! Fit after self-cal, rms=0.055679Jy sigma=0.196807 ! 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/J2339+6010_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=5.441 mas, bmaj=7.564 mas, bpa=-75.96 degrees ! Estimated noise=2.20127 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 5.441 x 7.564 at -75.96 degrees (North through East) ! Clean map min=-0.0024659 max=0.28257 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J2339+6010_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.2825 rms= 0.00062 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J2339+6010_S_uvs.log closed on Sat Dec 21 00:26:24 2013