! Started logfile: ./J0505+6113_X_uvs.log on Mon Oct 28 15:37:29 2013 obs J0505+6113_X_uva.fits ! Reading UV FITS file: J0505+6113_X_uva.fits ! AN table 1: 9 integrations on 45 of 45 possible baselines. ! AN table 2: 11 integrations on 28 of 28 possible baselines. ! Apparent sampling: 0.956522 visibilities/baseline/integration-bin. ! Found source: J0505+6113 ! ! 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): RR ! ! Read 0 lines of history. ! ! Reading 5456 visibilities. select RR ! Selecting polarization: RR, 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 ./J0505+6113_X] 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 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 5. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 6. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 7. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 8. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=1.000147Jy sigma=0.915121 ! Fit after self-cal, rms=0.989122Jy sigma=0.899847 ! 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.7989 mas, bmaj=1.404 mas, bpa=-29.57 degrees ! Estimated noise=22.3934 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.0110831 Jy ! Component: 100 - total flux cleaned = 0.0135599 Jy ! Total flux subtracted in 100 components = 0.0135599 Jy ! Clean residual min=-0.001383 max=0.001584 Jy/beam ! Clean residual mean=0.000000 rms=0.000343 Jy/beam ! Combined flux in latest and established models = 0.0135599 Jy ! Performing phase self-cal ! Adding 4 model components to the UV plane model. ! The established model now contains 4 components and 0.0135599 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.016255Jy sigma=0.015959 ! Fit after self-cal, rms=0.013439Jy sigma=0.013494 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00287248 Jy ! Component: 100 - total flux cleaned = 0.00374369 Jy ! Total flux subtracted in 100 components = 0.00374369 Jy ! Clean residual min=-0.001381 max=0.001264 Jy/beam ! Clean residual mean=0.000000 rms=0.000304 Jy/beam ! Combined flux in latest and established models = 0.0173035 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.0173035 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.013670Jy sigma=0.012402 ! Fit after self-cal, rms=0.013667Jy sigma=0.012400 ! 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=1.112 mas, bmaj=1.719 mas, bpa=-28.13 degrees ! Estimated noise=11.6573 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.000520792 Jy ! Component: 100 - total flux cleaned = 0.000774617 Jy ! Component: 150 - total flux cleaned = 0.000925944 Jy ! Component: 200 - total flux cleaned = 0.00101825 Jy ! Total flux subtracted in 200 components = 0.00101825 Jy ! Clean residual min=-0.000770 max=0.000682 Jy/beam ! Clean residual mean=0.000000 rms=0.000174 Jy/beam ! Combined flux in latest and established models = 0.0183218 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 18 components and 0.0183218 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.013771Jy sigma=0.012287 ! Fit after self-cal, rms=0.013771Jy sigma=0.012286 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.92 FD 0.98 HN 0.73 KP 0.88 ! LA 0.95 MK 0.96 NL 1.17 OV 0.93 ! PT 0.92 SC 0.80 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.07 FD 1.14 HN 0.83 KP 0.91 ! LA 0.92 NL 1.09 OV 0.92 SC 1.00 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 0.81 HN 0.92 KP 0.88 ! LA 0.91 MK 1.04 NL 0.90 OV 0.99 ! PT 0.93 SC 0.82 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.03 FD 0.88 HN 0.68 KP 1.05 ! LA 0.92 NL 1.08 OV 1.07 SC 0.87 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.82 FD 1.05 HN 0.95 KP 0.97 ! LA 0.92 MK 0.94 NL 1.01 OV 0.93 ! PT 0.94 SC 1.03 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.70 FD 1.18 HN 0.86 KP 0.89 ! LA 0.90 NL 1.01 OV 0.98 SC 0.86 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.82 FD 0.95 HN 0.86 KP 0.97 ! LA 1.10 MK 0.92 NL 1.06 OV 0.84 ! PT 0.83 SC 1.27 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.11 FD 1.08 HN 0.97 KP 0.87 ! LA 0.84 NL 1.08 OV 0.92 SC 0.77 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.86 FD 0.81 HN 0.95 KP 1.14 ! LA 0.91 MK 0.99 NL 1.03 OV 0.94 ! PT 0.72 SC 0.83 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.94 FD 1.01 HN 0.93 KP 1.09 ! LA 0.92 NL 1.06 OV 0.82 SC 1.10 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 0.83 FD 1.07 HN 0.99 KP 1.05 ! LA 0.94 MK 0.95 NL 1.00 OV 1.04 ! PT 0.80 SC 1.05 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.93 FD 1.14 HN 1.00 KP 0.86 ! LA 1.15 NL 0.85 OV 0.91 SC 0.96 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 0.89 HN 0.88 KP 1.11 ! LA 1.02 MK 0.79 NL 1.03 OV 0.88 ! PT 0.81 SC 0.78 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.77 FD 1.14 HN 0.92 KP 0.99 ! LA 0.83 NL 1.06 OV 0.91 SC 0.93 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 0.98 HN 0.91 KP 0.97 ! LA 0.91 MK 0.86 NL 0.87 OV 0.92 ! PT 0.85 SC 1.19 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.06 FD 1.19 HN 0.89 KP 0.94 ! LA 0.95 NL 0.92 OV 0.97 SC 0.85 ! ! ! Fit before self-cal, rms=0.013771Jy sigma=0.012286 ! Fit after self-cal, rms=0.012794Jy sigma=0.011698 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.103 mas, bmaj=1.702 mas, bpa=-28.22 degrees ! Estimated noise=10.1897 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.00168351 Jy ! Component: 100 - total flux cleaned = -0.00204424 Jy ! Component: 150 - total flux cleaned = -0.00202406 Jy ! Component: 200 - total flux cleaned = -0.00199514 Jy ! Total flux subtracted in 200 components = -0.00199514 Jy ! Clean residual min=-0.000484 max=0.000465 Jy/beam ! Clean residual mean=-0.000000 rms=0.000120 Jy/beam ! Combined flux in latest and established models = 0.0163267 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 20 components and 0.0163267 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.012155Jy sigma=0.011908 ! Fit after self-cal, rms=0.012181Jy sigma=0.011896 ! 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.012181Jy sigma=0.011896 ! Fit after self-cal, rms=0.011292Jy sigma=0.011681 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.1 mas, bmaj=1.695 mas, bpa=-28.16 degrees ! Estimated noise=8.9655 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00147347 Jy ! Component: 100 - total flux cleaned = -0.00179485 Jy ! Component: 150 - total flux cleaned = -0.0018107 Jy ! Component: 200 - total flux cleaned = -0.00179616 Jy ! Total flux subtracted in 200 components = -0.00179616 Jy ! Clean residual min=-0.000433 max=0.000421 Jy/beam ! Clean residual mean=-0.000000 rms=0.000105 Jy/beam ! Combined flux in latest and established models = 0.0145305 Jy selfcal ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 22 components and 0.0145305 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.010735Jy sigma=0.011894 ! Fit after self-cal, rms=0.010737Jy sigma=0.011894 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.51024e-05 Jy ! Component: 100 - total flux cleaned = 2.73422e-05 Jy ! Component: 150 - total flux cleaned = 3.60618e-05 Jy ! Component: 200 - total flux cleaned = 3.76837e-05 Jy ! Total flux subtracted in 200 components = 3.76837e-05 Jy ! Clean residual min=-0.000433 max=0.000418 Jy/beam ! Clean residual mean=-0.000000 rms=0.000105 Jy/beam ! Combined flux in latest and established models = 0.0145682 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 25 components and 0.0145682 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.010730Jy sigma=0.011899 ! Fit after self-cal, rms=0.010730Jy sigma=0.011899 ! 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.010730Jy sigma=0.011899 ! Fit after self-cal, rms=0.009927Jy sigma=0.011684 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.093 mas, bmaj=1.69 mas, bpa=-28.32 degrees ! Estimated noise=7.91163 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00123472 Jy ! Component: 100 - total flux cleaned = -0.00150737 Jy ! Component: 150 - total flux cleaned = -0.00155553 Jy ! Component: 200 - total flux cleaned = -0.00156161 Jy ! Total flux subtracted in 200 components = -0.00156161 Jy ! Clean residual min=-0.000382 max=0.000377 Jy/beam ! Clean residual mean=-0.000000 rms=0.000093 Jy/beam ! Combined flux in latest and established models = 0.0130066 Jy selfcal ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 25 components and 0.0130066 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.009465Jy sigma=0.011897 ! Fit after self-cal, rms=0.009465Jy sigma=0.011897 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 = -7.47272e-06 Jy ! Component: 100 - total flux cleaned = -5.89083e-06 Jy ! Component: 150 - total flux cleaned = -1.55095e-06 Jy ! Component: 200 - total flux cleaned = 1.13334e-06 Jy ! Total flux subtracted in 200 components = 1.13334e-06 Jy ! Clean residual min=-0.000384 max=0.000376 Jy/beam ! Clean residual mean=-0.000000 rms=0.000092 Jy/beam ! Combined flux in latest and established models = 0.0130077 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 27 components and 0.0130077 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.009460Jy sigma=0.011902 ! Fit after self-cal, rms=0.009461Jy sigma=0.011902 ! 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.009461Jy sigma=0.011902 ! Fit after self-cal, rms=0.008756Jy sigma=0.011684 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.277 mas, bmaj=2.606 mas, bpa=-28.13 degrees ! Estimated noise=8.60348 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00108692 Jy ! Component: 100 - total flux cleaned = -0.0013282 Jy ! Component: 150 - total flux cleaned = -0.00134929 Jy ! Component: 200 - total flux cleaned = -0.00135343 Jy ! Total flux subtracted in 200 components = -0.00135343 Jy ! Clean residual min=-0.000422 max=0.000419 Jy/beam ! Clean residual mean=-0.000000 rms=0.000107 Jy/beam ! Combined flux in latest and established models = 0.0116543 Jy selfcal ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 28 components and 0.0116543 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.008352Jy sigma=0.011896 ! Fit after self-cal, rms=0.008351Jy sigma=0.011894 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.75677e-07 Jy ! Component: 100 - total flux cleaned = 1.75716e-06 Jy ! Component: 150 - total flux cleaned = 4.63385e-06 Jy ! Component: 200 - total flux cleaned = 6.962e-06 Jy ! Total flux subtracted in 200 components = 6.962e-06 Jy ! Clean residual min=-0.000420 max=0.000416 Jy/beam ! Clean residual mean=-0.000000 rms=0.000107 Jy/beam ! Combined flux in latest and established models = 0.0116612 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 34 components and 0.0116612 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.008349Jy sigma=0.011898 ! Fit after self-cal, rms=0.008349Jy sigma=0.011898 ! 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=1.088 mas, bmaj=1.685 mas, bpa=-28.39 degrees ! Estimated noise=6.97974 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.088 x 1.685 at -28.39 degrees (North through East) ! Clean map min=-0.00032015 max=0.010089 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.7892 mas, bmaj=1.375 mas, bpa=-29.63 degrees ! Estimated noise=13.0379 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0077298 Jy ! Component: 100 - total flux cleaned = 0.00948656 Jy ! Component: 150 - total flux cleaned = 0.010205 Jy ! Component: 200 - total flux cleaned = 0.0106121 Jy ! Total flux subtracted in 200 components = 0.0106121 Jy ! Clean residual min=-0.000670 max=0.000683 Jy/beam ! Clean residual mean=-0.000000 rms=0.000163 Jy/beam ! Combined flux in latest and established models = 0.0106121 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 15 model components to the UV plane model. ! The established model now contains 15 components and 0.0106121 Jy ! Inverting map and beam ! Estimated beam: bmin=1.088 mas, bmaj=1.685 mas, bpa=-28.39 degrees ! Estimated noise=6.97974 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.000442072 Jy ! Component: 100 - total flux cleaned = 0.000651192 Jy ! Component: 150 - total flux cleaned = 0.000776281 Jy ! Component: 200 - total flux cleaned = 0.000853639 Jy ! Total flux subtracted in 200 components = 0.000853639 Jy ! Clean residual min=-0.000333 max=0.000328 Jy/beam ! Clean residual mean=-0.000000 rms=0.000082 Jy/beam ! Combined flux in latest and established models = 0.0114658 Jy ! Adding 25 model components to the UV plane model. ! The established model now contains 40 components and 0.0114658 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.277 mas, bmaj=2.606 mas, bpa=-28.13 degrees ! Estimated noise=8.60348 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000121203 Jy ! Component: 100 - total flux cleaned = 0.000151545 Jy ! Component: 150 - total flux cleaned = 0.000155896 Jy ! Component: 200 - total flux cleaned = 0.000159577 Jy ! Total flux subtracted in 200 components = 0.000159577 Jy ! Clean residual min=-0.000422 max=0.000416 Jy/beam ! Clean residual mean=-0.000000 rms=0.000107 Jy/beam ! Combined flux in latest and established models = 0.0116254 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 = 3.19726e-06 Jy ! Component: 100 - total flux cleaned = 6.03392e-06 Jy ! Component: 150 - total flux cleaned = 1.02941e-05 Jy ! Component: 200 - total flux cleaned = 1.26787e-05 Jy ! Total flux subtracted in 200 components = 1.26787e-05 Jy ! Clean residual min=-0.000420 max=0.000416 Jy/beam ! Clean residual mean=-0.000000 rms=0.000107 Jy/beam ! Combined flux in latest and established models = 0.011638 Jy ! Adding 10 model components to the UV plane model. ! The established model now contains 45 components and 0.011638 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.088 mas, bmaj=1.685 mas, bpa=-28.39 degrees ! Estimated noise=6.97974 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -5.00695e-05 Jy ! Component: 100 - total flux cleaned = -5.67661e-05 Jy ! Component: 150 - total flux cleaned = -5.50588e-05 Jy ! Component: 200 - total flux cleaned = -5.65145e-05 Jy ! Total flux subtracted in 200 components = -5.65145e-05 Jy ! Clean residual min=-0.000335 max=0.000321 Jy/beam ! Clean residual mean=-0.000000 rms=0.000082 Jy/beam ! Combined flux in latest and established models = 0.0115815 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 52 components and 0.0115815 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.008343Jy sigma=0.011907 ! Fit after self-cal, rms=0.008343Jy sigma=0.011906 wmodel ./J0505+6113_X_map.mod ! Writing 52 model components to file: ./J0505+6113_X_map.mod wobs ./J0505+6113_X_uvs.fits ! Writing UV FITS file: ./J0505+6113_X_uvs.fits wwins ./J0505+6113_X_map.win ! wwins: Wrote 1 windows to ./J0505+6113_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 = -4.52008e-05 Jy ! Component: 100 - total flux cleaned = -5.09096e-05 Jy ! Component: 150 - total flux cleaned = -7.30945e-05 Jy ! Component: 200 - total flux cleaned = -7.83492e-05 Jy ! Component: 250 - total flux cleaned = -9.35589e-05 Jy ! Component: 300 - total flux cleaned = -8.86342e-05 Jy ! Component: 350 - total flux cleaned = -8.39832e-05 Jy ! Component: 400 - total flux cleaned = -9.3415e-05 Jy ! Component: 450 - total flux cleaned = -9.3328e-05 Jy ! Component: 500 - total flux cleaned = -0.000102294 Jy ! Component: 550 - total flux cleaned = -0.000102327 Jy ! Component: 600 - total flux cleaned = -0.000111137 Jy ! Component: 650 - total flux cleaned = -0.000119731 Jy ! Component: 700 - total flux cleaned = -0.000145017 Jy ! Component: 750 - total flux cleaned = -0.000153264 Jy ! Component: 800 - total flux cleaned = -0.000169571 Jy ! Component: 850 - total flux cleaned = -0.000169519 Jy ! Component: 900 - total flux cleaned = -0.000193352 Jy ! Component: 950 - total flux cleaned = -0.000189477 Jy ! Component: 1000 - total flux cleaned = -0.000220421 Jy ! Component: 1050 - total flux cleaned = -0.00023186 Jy ! Component: 1100 - total flux cleaned = -0.000254517 Jy ! Component: 1150 - total flux cleaned = -0.000280539 Jy ! Component: 1200 - total flux cleaned = -0.000287864 Jy ! Component: 1250 - total flux cleaned = -0.000309702 Jy ! Component: 1300 - total flux cleaned = -0.000320489 Jy ! Component: 1350 - total flux cleaned = -0.000345446 Jy ! Component: 1400 - total flux cleaned = -0.000359598 Jy ! Component: 1450 - total flux cleaned = -0.000391087 Jy ! Component: 1500 - total flux cleaned = -0.000404927 Jy ! Component: 1550 - total flux cleaned = -0.000425494 Jy ! Component: 1600 - total flux cleaned = -0.000435706 Jy ! Component: 1650 - total flux cleaned = -0.000449158 Jy ! Component: 1700 - total flux cleaned = -0.000462537 Jy ! Component: 1750 - total flux cleaned = -0.00047577 Jy ! Component: 1800 - total flux cleaned = -0.000482358 Jy ! Component: 1850 - total flux cleaned = -0.000495406 Jy ! Component: 1900 - total flux cleaned = -0.000508374 Jy ! Component: 1950 - total flux cleaned = -0.000524383 Jy ! Component: 2000 - total flux cleaned = -0.000540315 Jy ! Component: 2050 - total flux cleaned = -0.000549768 Jy ! Component: 2100 - total flux cleaned = -0.000565392 Jy ! Component: 2150 - total flux cleaned = -0.000574712 Jy ! Component: 2200 - total flux cleaned = -0.000590161 Jy ! Component: 2250 - total flux cleaned = -0.000590163 Jy ! Component: 2300 - total flux cleaned = -0.000605349 Jy ! Component: 2350 - total flux cleaned = -0.000626419 Jy ! Component: 2400 - total flux cleaned = -0.000641375 Jy ! Component: 2450 - total flux cleaned = -0.000641422 Jy ! Component: 2500 - total flux cleaned = -0.000662059 Jy ! Component: 2550 - total flux cleaned = -0.000676658 Jy ! Component: 2600 - total flux cleaned = -0.000691214 Jy ! Component: 2650 - total flux cleaned = -0.000702757 Jy ! Component: 2700 - total flux cleaned = -0.000719948 Jy ! Component: 2750 - total flux cleaned = -0.000731322 Jy ! Component: 2800 - total flux cleaned = -0.000745445 Jy ! Component: 2850 - total flux cleaned = -0.000753879 Jy ! Component: 2900 - total flux cleaned = -0.000767811 Jy ! Component: 2950 - total flux cleaned = -0.000789929 Jy ! Component: 3000 - total flux cleaned = -0.000795399 Jy ! Component: 3050 - total flux cleaned = -0.000814502 Jy ! Component: 3100 - total flux cleaned = -0.000814495 Jy ! Component: 3150 - total flux cleaned = -0.000819908 Jy ! Component: 3200 - total flux cleaned = -0.000833313 Jy ! Component: 3250 - total flux cleaned = -0.000841318 Jy ! Component: 3300 - total flux cleaned = -0.000862525 Jy ! Component: 3350 - total flux cleaned = -0.000878334 Jy ! Component: 3400 - total flux cleaned = -0.000888807 Jy ! Component: 3450 - total flux cleaned = -0.00090704 Jy ! Component: 3500 - total flux cleaned = -0.000912191 Jy ! Component: 3550 - total flux cleaned = -0.000925064 Jy ! Component: 3600 - total flux cleaned = -0.000940446 Jy ! Component: 3650 - total flux cleaned = -0.000953194 Jy ! Component: 3700 - total flux cleaned = -0.000968389 Jy ! Component: 3750 - total flux cleaned = -0.000986014 Jy ! Component: 3800 - total flux cleaned = -0.000978494 Jy ! Component: 3850 - total flux cleaned = -0.000993448 Jy ! Component: 3900 - total flux cleaned = -0.00101079 Jy ! Component: 3950 - total flux cleaned = -0.00102065 Jy ! Component: 4000 - total flux cleaned = -0.00103538 Jy ! Component: 4050 - total flux cleaned = -0.00105002 Jy ! Total flux subtracted in 4096 components = -0.00105246 Jy ! Clean residual min=-0.000154 max=0.000146 Jy/beam ! Clean residual mean=-0.000000 rms=0.000042 Jy/beam ! Combined flux in latest and established models = 0.0105291 Jy keep ! Adding 309 model components to the UV plane model. ! The established model now contains 361 components and 0.0105291 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "./J0505+6113_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.088 x 1.685 at -28.39 degrees (North through East) ! Clean map min=-0.00022345 max=0.010079 Jy/beam ! Writing clean map to FITS file: ./J0505+6113_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0100785 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 4.11214e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.22403 1.22403 2.44806 4.89612 9.79224 19.5845 39.169 78.338 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0001 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.01 quit ! Quitting program ! Log file ./J0505+6113_X_uvs.log closed on Mon Oct 28 15:37:42 2013