! Started logfile: /scr/pima/bs241c_uvs/J2339+0244_X_uvs.log on Thu Jul 2 09:13:09 2015 obs /scr/pima/bs241c_uvs/J2339+0244_X_uva.fits ! Reading UV FITS file: /scr/pima/bs241c_uvs/J2339+0244_X_uva.fits ! AN table 1: 27 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.958848 visibilities/baseline/integration-bin. ! Found source: J2339+0244 ! ! There are 8 IFs, and a total of 8 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 7.392e+09 3.2e+07 1 3.2e+07 ! 02 2 7.424e+09 3.2e+07 1 3.2e+07 ! 03 3 7.456e+09 3.2e+07 1 3.2e+07 ! 04 4 7.552e+09 3.2e+07 1 3.2e+07 ! 05 5 7.744e+09 3.2e+07 1 3.2e+07 ! 06 6 7.776e+09 3.2e+07 1 3.2e+07 ! 07 7 7.808e+09 3.2e+07 1 3.2e+07 ! 08 8 7.84e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): I ! ! Read 0 lines of history. ! ! Reading 9320 visibilities. select RR ! Polarization RR is unavailable. ! Selecting polarization: I, channels: 1..8 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 ! Reading IF 5 channels: 5..5 ! Reading IF 6 channels: 6..6 ! Reading IF 7 channels: 7..7 ! Reading IF 8 channels: 8..8 print "field_size =", field_size ! field_size = 1024 print "field_cell =", field_cell ! field_cell = 0.2 print "taper_size =", taper_size ! taper_size = 70 ![@/home/lpetrov/bin/01_muppet /scr/pima/bs241c_uvs/J2339+0244_X] float lim_self lim_self = 120.0 float lim_val lim_va = 1.2 integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 120 float soltime2 soltime2 = 20 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float time_av time_av = 16 float old_peak float new_peak float flux_cutoff mapsize field_size, field_cell ! Map grid = 1024x1024 pixels with 0.200x0.200 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 6 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 6 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 6 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 6 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 6 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 6 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 6 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 6 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.007396Jy sigma=31.396728 ! Fit after self-cal, rms=0.876188Jy sigma=27.344288 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. 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=0.7775 mas, bmaj=1.981 mas, bpa=-4.009 degrees ! Estimated noise=0.36408 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.093657 Jy ! Component: 100 - total flux cleaned = 0.115072 Jy ! Total flux subtracted in 100 components = 0.115072 Jy ! Clean residual min=-0.003816 max=0.008579 Jy/beam ! Clean residual mean=0.000001 rms=0.000940 Jy/beam ! Combined flux in latest and established models = 0.115073 Jy ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 6 components and 0.115073 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.033164Jy sigma=0.950226 ! Fit after self-cal, rms=0.033128Jy sigma=0.949246 ! Inverting map ! Added new window around map position (-1.4, 2). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00988405 Jy ! Component: 100 - total flux cleaned = 0.0162065 Jy ! Total flux subtracted in 100 components = 0.0162065 Jy ! Clean residual min=-0.003343 max=0.004186 Jy/beam ! Clean residual mean=0.000002 rms=0.000637 Jy/beam ! Combined flux in latest and established models = 0.131279 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 17 components and 0.131279 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.028829Jy sigma=0.813264 ! Fit after self-cal, rms=0.028760Jy sigma=0.811578 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00438412 Jy ! Component: 100 - total flux cleaned = 0.00723541 Jy ! Total flux subtracted in 100 components = 0.00723541 Jy ! Clean residual min=-0.002947 max=0.002985 Jy/beam ! Clean residual mean=0.000002 rms=0.000558 Jy/beam ! Combined flux in latest and established models = 0.138514 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 25 components and 0.138514 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.027729Jy sigma=0.782400 ! Fit after self-cal, rms=0.027707Jy sigma=0.781892 ! 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=0.9758 mas, bmaj=2.306 mas, bpa=-3.22 degrees ! Estimated noise=0.240135 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.00297711 Jy ! Component: 100 - total flux cleaned = 0.0046265 Jy ! Component: 150 - total flux cleaned = 0.00577233 Jy ! Component: 200 - total flux cleaned = 0.00658832 Jy ! Total flux subtracted in 200 components = 0.00658832 Jy ! Clean residual min=-0.002750 max=0.002861 Jy/beam ! Clean residual mean=0.000003 rms=0.000666 Jy/beam ! Combined flux in latest and established models = 0.145103 Jy ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 52 components and 0.145103 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.027311Jy sigma=0.772738 ! Fit after self-cal, rms=0.027285Jy sigma=0.771956 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9758 x 2.306 at -3.22 degrees (North through East) ! Clean map min=-0.0026264 max=0.12017 Jy/beam if ( peak(flux,max)/imstat(rms) < lim_self ) selflim lim_val ! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2. ! Selfcal phase corrections will not be limited. gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.06 HN 0.95 KP 1.00 ! LA 1.02 MK 1.00 NL 0.94 OV 0.92 ! PT 0.91 SC 0.95 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 FD 1.01 HN 0.98 KP 1.04 ! LA 0.96 MK 0.99 NL 1.02 OV 0.94 ! PT 0.96 SC 0.96 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.88 FD 1.05 HN 0.93 KP 1.07 ! LA 0.93 MK 1.02 NL 1.00 OV 0.96 ! PT 0.95 SC 1.01 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.89 FD 1.10 HN 1.01 KP 0.94 ! LA 1.00 MK 1.02 NL 0.95 OV 0.99 ! PT 0.94 SC 1.01 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 FD 1.10 HN 1.02 KP 1.13 ! LA 0.97 MK 1.00 NL 1.08 OV 0.91 ! PT 0.95 SC 1.01 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.15 HN 1.08 KP 1.16 ! LA 1.01 MK 1.02 NL 1.02 OV 0.99 ! PT 0.96 SC 1.02 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.10 HN 1.02 KP 1.17 ! LA 0.96 MK 1.01 NL 0.87 OV 1.03 ! PT 0.88 SC 1.01 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 1.05 HN 1.00 KP 1.11 ! LA 0.94 MK 1.01 NL 0.89 OV 0.93 ! PT 0.89 SC 1.02 ! ! ! Fit before self-cal, rms=0.027285Jy sigma=0.771956 ! Fit after self-cal, rms=0.024421Jy sigma=0.678242 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.9783 mas, bmaj=2.308 mas, bpa=-3.15 degrees ! Estimated noise=0.239599 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 (-2.6, 3). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00084862 Jy ! Component: 100 - total flux cleaned = 0.00118972 Jy ! Component: 150 - total flux cleaned = 0.00126358 Jy ! Component: 200 - total flux cleaned = 0.00132499 Jy ! Total flux subtracted in 200 components = 0.00132499 Jy ! Clean residual min=-0.000871 max=0.000805 Jy/beam ! Clean residual mean=0.000000 rms=0.000208 Jy/beam ! Combined flux in latest and established models = 0.146428 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 66 components and 0.146428 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.024346Jy sigma=0.675926 ! Fit after self-cal, rms=0.024334Jy sigma=0.675564 ! Inverting map selfcal true, true, soltime1 ! Performing amp+phase self-cal over 120 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.024334Jy sigma=0.675564 ! Fit after self-cal, rms=0.024249Jy sigma=0.670888 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9776 mas, bmaj=2.307 mas, bpa=-3.188 degrees ! Estimated noise=0.23948 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000121745 Jy ! Component: 100 - total flux cleaned = 0.000216587 Jy ! Component: 150 - total flux cleaned = 0.000231423 Jy ! Component: 200 - total flux cleaned = 0.000230039 Jy ! Total flux subtracted in 200 components = 0.000230039 Jy ! Clean residual min=-0.000678 max=0.000805 Jy/beam ! Clean residual mean=0.000001 rms=0.000172 Jy/beam ! Combined flux in latest and established models = 0.146658 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 76 components and 0.146658 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.024220Jy sigma=0.669940 ! Fit after self-cal, rms=0.024217Jy sigma=0.669822 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 (-13.8, -46.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000619625 Jy ! Component: 100 - total flux cleaned = 0.000740656 Jy ! Component: 150 - total flux cleaned = 0.000755082 Jy ! Component: 200 - total flux cleaned = 0.000794675 Jy ! Total flux subtracted in 200 components = 0.000794675 Jy ! Clean residual min=-0.000693 max=0.000659 Jy/beam ! Clean residual mean=0.000001 rms=0.000162 Jy/beam ! Combined flux in latest and established models = 0.147452 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 93 components and 0.147452 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.024190Jy sigma=0.669036 ! Fit after self-cal, rms=0.024187Jy sigma=0.668978 ! Inverting map selfcal true, true, soltime2 ! Performing amp+phase self-cal over 20 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.024187Jy sigma=0.668978 ! Fit after self-cal, rms=0.024163Jy sigma=0.668890 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9777 mas, bmaj=2.308 mas, bpa=-3.215 degrees ! Estimated noise=0.239219 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 1.20429e-05 Jy ! Component: 100 - total flux cleaned = 0.000128164 Jy ! Component: 150 - total flux cleaned = 0.000173422 Jy ! Component: 200 - total flux cleaned = 0.000173073 Jy ! Total flux subtracted in 200 components = 0.000173073 Jy ! Clean residual min=-0.000679 max=0.000654 Jy/beam ! Clean residual mean=0.000001 rms=0.000158 Jy/beam ! Combined flux in latest and established models = 0.147625 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 99 components and 0.147626 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.024150Jy sigma=0.668520 ! Fit after self-cal, rms=0.024149Jy sigma=0.668487 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 = 1.27079e-05 Jy ! Component: 100 - total flux cleaned = 5.29329e-05 Jy ! Component: 150 - total flux cleaned = 4.37437e-05 Jy ! Component: 200 - total flux cleaned = 4.35616e-05 Jy ! Total flux subtracted in 200 components = 4.35616e-05 Jy ! Clean residual min=-0.000684 max=0.000611 Jy/beam ! Clean residual mean=0.000000 rms=0.000155 Jy/beam ! Combined flux in latest and established models = 0.147669 Jy ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 106 components and 0.147669 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.024141Jy sigma=0.668274 ! Fit after self-cal, rms=0.024140Jy sigma=0.668255 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths. win_mult = win_mult * 1.2 selfcal true, true, soltime2 ! Performing amp+phase self-cal over 20 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.024140Jy sigma=0.668255 ! Fit after self-cal, rms=0.024125Jy sigma=0.668231 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.198 mas, bmaj=3.476 mas, bpa=1.872 degrees ! Estimated noise=0.292005 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.06952e-05 Jy ! Component: 100 - total flux cleaned = 1.66851e-05 Jy ! Component: 150 - total flux cleaned = 9.42986e-06 Jy ! Component: 200 - total flux cleaned = 3.48691e-06 Jy ! Total flux subtracted in 200 components = 3.48691e-06 Jy ! Clean residual min=-0.000756 max=0.000749 Jy/beam ! Clean residual mean=0.000001 rms=0.000186 Jy/beam ! Combined flux in latest and established models = 0.147673 Jy selfcal ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 130 components and 0.147673 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.024121Jy sigma=0.668104 ! Fit after self-cal, rms=0.024120Jy sigma=0.668071 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 = 2.08345e-05 Jy ! Component: 100 - total flux cleaned = 4.19699e-05 Jy ! Component: 150 - total flux cleaned = 3.04551e-05 Jy ! Component: 200 - total flux cleaned = 1.43063e-05 Jy ! Total flux subtracted in 200 components = 1.43063e-05 Jy ! Clean residual min=-0.000743 max=0.000726 Jy/beam ! Clean residual mean=0.000001 rms=0.000185 Jy/beam ! Combined flux in latest and established models = 0.147687 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 140 components and 0.147687 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.024118Jy sigma=0.668028 ! Fit after self-cal, rms=0.024117Jy sigma=0.668011 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "************** FINISHED AMPLITUDE SELF-CAL **************" ! ************** FINISHED AMPLITUDE SELF-CAL ************** restore ! Inverting map and beam ! Estimated beam: bmin=0.9779 mas, bmaj=2.309 mas, bpa=-3.231 degrees ! Estimated noise=0.23906 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9779 x 2.309 at -3.231 degrees (North through East) ! Clean map min=-0.00062038 max=0.1199 Jy/beam if(peak(flux) > thresh) selfcal true, true clean clean_niter,clean_gain selfcal flux_cutoff = imstat(rms) * dynam 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) selfcal true, true end if print "************** CLEARING MODEL AND STARTING OVER **********" ! ************** CLEARING MODEL AND STARTING OVER ********** clrmod true ! clrmod: Cleared the established and tentative models. 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. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.7789 mas, bmaj=1.982 mas, bpa=-4.133 degrees ! Estimated noise=0.362297 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0931265 Jy ! Component: 100 - total flux cleaned = 0.11487 Jy ! Component: 150 - total flux cleaned = 0.125034 Jy ! Component: 200 - total flux cleaned = 0.13111 Jy ! Total flux subtracted in 200 components = 0.13111 Jy ! Clean residual min=-0.001559 max=0.003153 Jy/beam ! Clean residual mean=0.000000 rms=0.000425 Jy/beam ! Combined flux in latest and established models = 0.13111 Jy 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. flux_cutoff = imstat(rms) * dynam ! Adding 16 model components to the UV plane model. ! The established model now contains 16 components and 0.13111 Jy ! Inverting map and beam ! Estimated beam: bmin=0.9779 mas, bmaj=2.309 mas, bpa=-3.231 degrees ! Estimated noise=0.23906 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam keep new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00542916 Jy ! Component: 100 - total flux cleaned = 0.00851235 Jy ! Component: 150 - total flux cleaned = 0.0104824 Jy ! Component: 200 - total flux cleaned = 0.0118331 Jy ! Total flux subtracted in 200 components = 0.0118331 Jy ! Clean residual min=-0.000847 max=0.000879 Jy/beam ! Clean residual mean=0.000001 rms=0.000199 Jy/beam ! Combined flux in latest and established models = 0.142943 Jy ! Adding 52 model components to the UV plane model. ! The established model now contains 62 components and 0.142943 Jy ! Inverting map ! Added new window around map position (8, -9.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0010602 Jy ! Component: 100 - total flux cleaned = 0.00190854 Jy ! Component: 150 - total flux cleaned = 0.00260681 Jy ! Component: 200 - total flux cleaned = 0.00318451 Jy ! Total flux subtracted in 200 components = 0.00318451 Jy ! Clean residual min=-0.000727 max=0.000634 Jy/beam ! Clean residual mean=0.000001 rms=0.000164 Jy/beam ! Combined flux in latest and established models = 0.146127 Jy ! Adding 30 model components to the UV plane model. ! The established model now contains 82 components and 0.146127 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.198 mas, bmaj=3.476 mas, bpa=1.872 degrees ! Estimated noise=0.292005 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000608612 Jy ! Component: 100 - total flux cleaned = 0.00101964 Jy ! Component: 150 - total flux cleaned = 0.00114739 Jy ! Component: 200 - total flux cleaned = 0.00121092 Jy ! Total flux subtracted in 200 components = 0.00121092 Jy ! Clean residual min=-0.000759 max=0.000775 Jy/beam ! Clean residual mean=0.000001 rms=0.000190 Jy/beam ! Combined flux in latest and established models = 0.147338 Jy flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam keep new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 4.56707e-05 Jy ! Component: 100 - total flux cleaned = 8.60496e-05 Jy ! Component: 150 - total flux cleaned = 0.000100514 Jy ! Component: 200 - total flux cleaned = 0.000100238 Jy ! Total flux subtracted in 200 components = 0.000100238 Jy ! Clean residual min=-0.000741 max=0.000748 Jy/beam ! Clean residual mean=0.000001 rms=0.000188 Jy/beam ! Combined flux in latest and established models = 0.147439 Jy ! Adding 50 model components to the UV plane model. ! The established model now contains 126 components and 0.147439 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.9779 mas, bmaj=2.309 mas, bpa=-3.231 degrees ! Estimated noise=0.23906 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -5.29544e-05 Jy ! Component: 100 - total flux cleaned = -5.31484e-05 Jy ! Component: 150 - total flux cleaned = -5.30213e-05 Jy ! Component: 200 - total flux cleaned = -4.17329e-05 Jy ! Total flux subtracted in 200 components = -4.17329e-05 Jy ! Clean residual min=-0.000669 max=0.000607 Jy/beam ! Clean residual mean=0.000000 rms=0.000155 Jy/beam ! Combined flux in latest and established models = 0.147397 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 149 components and 0.147397 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.024132Jy sigma=0.668324 ! Fit after self-cal, rms=0.024127Jy sigma=0.668197 wmodel /scr/pima/bs241c_uvs/J2339+0244_X_map.mod ! Writing 149 model components to file: /scr/pima/bs241c_uvs/J2339+0244_X_map.mod wobs /scr/pima/bs241c_uvs/J2339+0244_X_uvs.fits ! Writing UV FITS file: /scr/pima/bs241c_uvs/J2339+0244_X_uvs.fits wwins /scr/pima/bs241c_uvs/J2339+0244_X_map.win ! wwins: Wrote 5 windows to /scr/pima/bs241c_uvs/J2339+0244_X_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=4096 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -0.000275222 Jy ! Component: 100 - total flux cleaned = -0.000494799 Jy ! Component: 150 - total flux cleaned = -0.000578409 Jy ! Component: 200 - total flux cleaned = -0.000679435 Jy ! Component: 250 - total flux cleaned = -0.000796534 Jy ! Component: 300 - total flux cleaned = -0.0009008 Jy ! Component: 350 - total flux cleaned = -0.000965713 Jy ! Component: 400 - total flux cleaned = -0.00104744 Jy ! Component: 450 - total flux cleaned = -0.00110956 Jy ! Component: 500 - total flux cleaned = -0.00118805 Jy ! Component: 550 - total flux cleaned = -0.00123929 Jy ! Component: 600 - total flux cleaned = -0.00128155 Jy ! Component: 650 - total flux cleaned = -0.00134778 Jy ! Component: 700 - total flux cleaned = -0.00138039 Jy ! Component: 750 - total flux cleaned = -0.00142067 Jy ! Component: 800 - total flux cleaned = -0.00146036 Jy ! Component: 850 - total flux cleaned = -0.00149961 Jy ! Component: 900 - total flux cleaned = -0.00153838 Jy ! Component: 950 - total flux cleaned = -0.0015688 Jy ! Component: 1000 - total flux cleaned = -0.00153879 Jy ! Component: 1050 - total flux cleaned = -0.00155386 Jy ! Component: 1100 - total flux cleaned = -0.00155408 Jy ! Component: 1150 - total flux cleaned = -0.00153965 Jy ! Component: 1200 - total flux cleaned = -0.00154681 Jy ! Component: 1250 - total flux cleaned = -0.00153267 Jy ! Component: 1300 - total flux cleaned = -0.00153978 Jy ! Component: 1350 - total flux cleaned = -0.0015399 Jy ! Component: 1400 - total flux cleaned = -0.00155356 Jy ! Component: 1450 - total flux cleaned = -0.00154663 Jy ! Component: 1500 - total flux cleaned = -0.00152648 Jy ! Component: 1550 - total flux cleaned = -0.00152653 Jy ! Component: 1600 - total flux cleaned = -0.00151335 Jy ! Component: 1650 - total flux cleaned = -0.00153293 Jy ! Component: 1700 - total flux cleaned = -0.00151986 Jy ! Component: 1750 - total flux cleaned = -0.00154557 Jy ! Component: 1800 - total flux cleaned = -0.00151997 Jy ! Component: 1850 - total flux cleaned = -0.00151998 Jy ! Component: 1900 - total flux cleaned = -0.00153871 Jy ! Component: 1950 - total flux cleaned = -0.00153255 Jy ! Component: 2000 - total flux cleaned = -0.00153255 Jy ! Component: 2050 - total flux cleaned = -0.00156307 Jy ! Component: 2100 - total flux cleaned = -0.00159949 Jy ! Component: 2150 - total flux cleaned = -0.00162356 Jy ! Component: 2200 - total flux cleaned = -0.0016176 Jy ! Component: 2250 - total flux cleaned = -0.00165316 Jy ! Component: 2300 - total flux cleaned = -0.00164737 Jy ! Component: 2350 - total flux cleaned = -0.00166492 Jy ! Component: 2400 - total flux cleaned = -0.00167072 Jy ! Component: 2450 - total flux cleaned = -0.00169371 Jy ! Component: 2500 - total flux cleaned = -0.00169373 Jy ! Component: 2550 - total flux cleaned = -0.00169381 Jy ! Component: 2600 - total flux cleaned = -0.00171639 Jy ! Component: 2650 - total flux cleaned = -0.00172762 Jy ! Component: 2700 - total flux cleaned = -0.00173322 Jy ! Component: 2750 - total flux cleaned = -0.0017553 Jy ! Component: 2800 - total flux cleaned = -0.00176631 Jy ! Component: 2850 - total flux cleaned = -0.00177724 Jy ! Component: 2900 - total flux cleaned = -0.0018152 Jy ! Component: 2950 - total flux cleaned = -0.00180983 Jy ! Component: 3000 - total flux cleaned = -0.00182588 Jy ! Component: 3050 - total flux cleaned = -0.00183656 Jy ! Component: 3100 - total flux cleaned = -0.00187362 Jy ! Component: 3150 - total flux cleaned = -0.00188944 Jy ! Component: 3200 - total flux cleaned = -0.00190512 Jy ! Component: 3250 - total flux cleaned = -0.00192598 Jy ! Component: 3300 - total flux cleaned = -0.00194145 Jy ! Component: 3350 - total flux cleaned = -0.00195174 Jy ! Component: 3400 - total flux cleaned = -0.0019722 Jy ! Component: 3450 - total flux cleaned = -0.00198742 Jy ! Component: 3500 - total flux cleaned = -0.00200256 Jy ! Component: 3550 - total flux cleaned = -0.00204274 Jy ! Component: 3600 - total flux cleaned = -0.00205772 Jy ! Component: 3650 - total flux cleaned = -0.00206268 Jy ! Component: 3700 - total flux cleaned = -0.00207255 Jy ! Component: 3750 - total flux cleaned = -0.00210205 Jy ! Component: 3800 - total flux cleaned = -0.00210207 Jy ! Component: 3850 - total flux cleaned = -0.00211672 Jy ! Component: 3900 - total flux cleaned = -0.00214583 Jy ! Component: 3950 - total flux cleaned = -0.00214103 Jy ! Component: 4000 - total flux cleaned = -0.00216504 Jy ! Component: 4050 - total flux cleaned = -0.00217935 Jy ! Total flux subtracted in 4096 components = -0.00216507 Jy ! Clean residual min=-0.000257 max=0.000287 Jy/beam ! Clean residual mean=0.000000 rms=0.000084 Jy/beam ! Combined flux in latest and established models = 0.145232 Jy keep ! Adding 323 model components to the UV plane model. ! The established model now contains 472 components and 0.145232 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bs241c_uvs/J2339+0244_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9779 x 2.309 at -3.231 degrees (North through East) ! Clean map min=-0.00046071 max=0.12007 Jy/beam ! Writing clean map to FITS file: /scr/pima/bs241c_uvs/J2339+0244_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.120069 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 8.40854e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.210092 0.210092 0.420184 0.840367 1.68073 3.36147 6.72294 13.4459 26.8918 53.7835 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0002 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.12 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 1427.95 quit ! Quitting program ! Log file /scr/pima/bs241c_uvs/J2339+0244_X_uvs.log closed on Thu Jul 2 09:13:14 2015