! Started logfile: ./J0540+5823_X_uvs.log on Mon Oct 28 15:37:30 2013 obs J0540+5823_X_uva.fits ! Reading UV FITS file: J0540+5823_X_uva.fits ! AN table 1: 12 integrations on 45 of 45 possible baselines. ! AN table 2: 10 integrations on 28 of 28 possible baselines. ! Apparent sampling: 0.935366 visibilities/baseline/integration-bin. ! Found source: J0540+5823 ! ! 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 6136 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 ./J0540+5823_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 7 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 7 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 7 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 7 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 7 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 7 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 7 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 7 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.000052Jy sigma=0.892572 ! Fit after self-cal, rms=0.989701Jy sigma=0.877512 ! 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.7559 mas, bmaj=1.371 mas, bpa=9.504 degrees ! Estimated noise=20.8819 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.0104125 Jy ! Component: 100 - total flux cleaned = 0.0128467 Jy ! Total flux subtracted in 100 components = 0.0128467 Jy ! Clean residual min=-0.001560 max=0.001465 Jy/beam ! Clean residual mean=0.000005 rms=0.000370 Jy/beam ! Combined flux in latest and established models = 0.0128467 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.0128467 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.017651Jy sigma=0.017173 ! Fit after self-cal, rms=0.015133Jy sigma=0.015069 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0034937 Jy ! Component: 100 - total flux cleaned = 0.00489595 Jy ! Total flux subtracted in 100 components = 0.00489595 Jy ! Clean residual min=-0.001642 max=0.001404 Jy/beam ! Clean residual mean=0.000004 rms=0.000331 Jy/beam ! Combined flux in latest and established models = 0.0177426 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 10 components and 0.0177426 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.015219Jy sigma=0.013677 ! Fit after self-cal, rms=0.015185Jy sigma=0.013657 ! 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.9899 mas, bmaj=1.71 mas, bpa=8.164 degrees ! Estimated noise=11.3386 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.8, -0.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0011786 Jy ! Component: 100 - total flux cleaned = 0.00184285 Jy ! Component: 150 - total flux cleaned = 0.00231797 Jy ! Component: 200 - total flux cleaned = 0.00266725 Jy ! Total flux subtracted in 200 components = 0.00266725 Jy ! Clean residual min=-0.000772 max=0.000686 Jy/beam ! Clean residual mean=0.000007 rms=0.000174 Jy/beam ! Combined flux in latest and established models = 0.0204099 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 33 components and 0.0204099 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.015242Jy sigma=0.013430 ! Fit after self-cal, rms=0.015224Jy sigma=0.013418 ! 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 1.00 FD 1.02 HN 0.94 KP 0.95 ! LA 0.93 MK 0.97 NL 0.95 OV 0.97 ! PT 0.83 SC 0.86 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.16 HN 0.92 KP 0.90 LA 1.02 ! MK 0.87 NL 0.90 OV 0.91 SC 0.83 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.94 HN 0.89 KP 0.86 ! LA 0.74 MK 1.05 NL 0.91 OV 0.92 ! PT 0.81 SC 0.93 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.99 HN 0.85 KP 0.96 LA 0.87 ! MK 0.87 NL 0.97 OV 0.96 SC 1.15 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.73 FD 1.05 HN 0.78 KP 1.04 ! LA 0.94 MK 0.89 NL 0.96 OV 0.91 ! PT 0.87 SC 1.13 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.79 HN 0.78 KP 1.07 LA 0.94 ! MK 0.83 NL 1.00 OV 0.90 SC 0.87 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.90 FD 1.03 HN 0.98 KP 0.85 ! LA 0.89 MK 0.81 NL 0.96 OV 1.01 ! PT 0.99 SC 0.94 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.91 HN 0.90 KP 0.91 LA 0.85 ! MK 1.11 NL 0.98 OV 1.01 SC 0.88 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.93 FD 0.93 HN 0.83 KP 0.95 ! LA 1.08 MK 0.84 NL 0.93 OV 0.94 ! PT 0.81 SC 0.95 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.76 HN 0.83 KP 1.06 LA 0.90 ! MK 0.81 NL 0.95 OV 0.97 SC 0.95 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 0.83 FD 1.04 HN 0.98 KP 0.95 ! LA 1.02 MK 1.14 NL 0.99 OV 1.00 ! PT 0.88 SC 0.90 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00 HN 0.94 KP 0.95 LA 0.83 ! MK 0.92 NL 0.94 OV 1.19 SC 1.16 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.29 HN 0.96 KP 0.99 ! LA 0.84 MK 0.89 NL 0.83 OV 0.92 ! PT 0.77 SC 0.82 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.09 HN 0.89 KP 1.03 LA 0.81 ! MK 0.72 NL 1.03 OV 0.98 SC 0.85 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.11 FD 1.02 HN 0.70 KP 0.97 ! LA 0.82 MK 0.85 NL 1.04 OV 1.08 ! PT 0.83 SC 0.87 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.04 HN 0.95 KP 0.89 LA 0.90 ! MK 0.92 NL 1.07 OV 0.93 SC 1.12 ! ! ! Fit before self-cal, rms=0.015224Jy sigma=0.013418 ! Fit after self-cal, rms=0.013843Jy sigma=0.012867 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.9807 mas, bmaj=1.698 mas, bpa=7.758 degrees ! Estimated noise=9.69082 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.00184805 Jy ! Component: 100 - total flux cleaned = -0.00211925 Jy ! Component: 150 - total flux cleaned = -0.00211646 Jy ! Component: 200 - total flux cleaned = -0.00216334 Jy ! Total flux subtracted in 200 components = -0.00216334 Jy ! Clean residual min=-0.000518 max=0.000498 Jy/beam ! Clean residual mean=0.000001 rms=0.000124 Jy/beam ! Combined flux in latest and established models = 0.0182465 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 40 components and 0.0182465 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.013166Jy sigma=0.013080 ! Fit after self-cal, rms=0.013192Jy sigma=0.013066 ! 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.013192Jy sigma=0.013066 ! Fit after self-cal, rms=0.012024Jy sigma=0.012843 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9711 mas, bmaj=1.688 mas, bpa=8.233 degrees ! Estimated noise=8.41433 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00159075 Jy ! Component: 100 - total flux cleaned = -0.00194497 Jy ! Component: 150 - total flux cleaned = -0.0020064 Jy ! Component: 200 - total flux cleaned = -0.00201713 Jy ! Total flux subtracted in 200 components = -0.00201713 Jy ! Clean residual min=-0.000450 max=0.000431 Jy/beam ! Clean residual mean=0.000001 rms=0.000108 Jy/beam ! Combined flux in latest and established models = 0.0162294 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 49 components and 0.0162294 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.011445Jy sigma=0.013060 ! Fit after self-cal, rms=0.011442Jy sigma=0.013058 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.85765e-06 Jy ! Component: 100 - total flux cleaned = 6.73314e-06 Jy ! Component: 150 - total flux cleaned = 2.50241e-06 Jy ! Component: 200 - total flux cleaned = 2.71197e-06 Jy ! Total flux subtracted in 200 components = 2.71197e-06 Jy ! Clean residual min=-0.000442 max=0.000429 Jy/beam ! Clean residual mean=0.000001 rms=0.000107 Jy/beam ! Combined flux in latest and established models = 0.0162321 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 59 components and 0.0162321 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.011434Jy sigma=0.013058 ! Fit after self-cal, rms=0.011433Jy sigma=0.013057 ! 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.011433Jy sigma=0.013057 ! Fit after self-cal, rms=0.010394Jy sigma=0.012832 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9621 mas, bmaj=1.678 mas, bpa=8.569 degrees ! Estimated noise=7.29274 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00136499 Jy ! Component: 100 - total flux cleaned = -0.00169353 Jy ! Component: 150 - total flux cleaned = -0.00181389 Jy ! Component: 200 - total flux cleaned = -0.00184755 Jy ! Total flux subtracted in 200 components = -0.00184755 Jy ! Clean residual min=-0.000387 max=0.000372 Jy/beam ! Clean residual mean=0.000000 rms=0.000093 Jy/beam ! Combined flux in latest and established models = 0.0143846 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 64 components and 0.0143846 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.009895Jy sigma=0.013052 ! Fit after self-cal, rms=0.009895Jy sigma=0.013051 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 = -9.62258e-06 Jy ! Component: 100 - total flux cleaned = -1.27719e-05 Jy ! Component: 150 - total flux cleaned = -1.90384e-05 Jy ! Component: 200 - total flux cleaned = -2.19806e-05 Jy ! Total flux subtracted in 200 components = -2.19806e-05 Jy ! Clean residual min=-0.000380 max=0.000370 Jy/beam ! Clean residual mean=0.000000 rms=0.000093 Jy/beam ! Combined flux in latest and established models = 0.0143626 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 66 components and 0.0143626 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.009889Jy sigma=0.013053 ! Fit after self-cal, rms=0.009889Jy sigma=0.013052 ! 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.009889Jy sigma=0.013052 ! Fit after self-cal, rms=0.009000Jy sigma=0.012827 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.025 mas, bmaj=2.664 mas, bpa=10.28 degrees ! Estimated noise=8.03851 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00121273 Jy ! Component: 100 - total flux cleaned = -0.00149841 Jy ! Component: 150 - total flux cleaned = -0.00162349 Jy ! Component: 200 - total flux cleaned = -0.00163367 Jy ! Total flux subtracted in 200 components = -0.00163367 Jy ! Clean residual min=-0.000418 max=0.000325 Jy/beam ! Clean residual mean=0.000001 rms=0.000098 Jy/beam ! Combined flux in latest and established models = 0.0127289 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 77 components and 0.0127289 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.008583Jy sigma=0.013039 ! Fit after self-cal, rms=0.008581Jy sigma=0.013033 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.83618e-05 Jy ! Component: 100 - total flux cleaned = -2.08922e-05 Jy ! Component: 150 - total flux cleaned = -2.54932e-05 Jy ! Component: 200 - total flux cleaned = -3.13774e-05 Jy ! Total flux subtracted in 200 components = -3.13774e-05 Jy ! Clean residual min=-0.000412 max=0.000318 Jy/beam ! Clean residual mean=0.000001 rms=0.000096 Jy/beam ! Combined flux in latest and established models = 0.0126975 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 83 components and 0.0126975 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.008578Jy sigma=0.013038 ! Fit after self-cal, rms=0.008578Jy sigma=0.013038 ! 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.9544 mas, bmaj=1.669 mas, bpa=8.863 degrees ! Estimated noise=6.32144 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9544 x 1.669 at 8.863 degrees (North through East) ! Clean map min=-0.00030919 max=0.0092752 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.7311 mas, bmaj=1.343 mas, bpa=10.51 degrees ! Estimated noise=11.2633 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00693199 Jy ! Component: 100 - total flux cleaned = 0.00905859 Jy ! Component: 150 - total flux cleaned = 0.0102442 Jy ! Component: 200 - total flux cleaned = 0.0109733 Jy ! Total flux subtracted in 200 components = 0.0109733 Jy ! Clean residual min=-0.000787 max=0.000732 Jy/beam ! Clean residual mean=0.000001 rms=0.000174 Jy/beam ! Combined flux in latest and established models = 0.0109733 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 14 model components to the UV plane model. ! The established model now contains 14 components and 0.0109733 Jy ! Inverting map and beam ! Estimated beam: bmin=0.9544 mas, bmaj=1.669 mas, bpa=8.863 degrees ! Estimated noise=6.32144 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.000630195 Jy ! Component: 100 - total flux cleaned = 0.000998039 Jy ! Component: 150 - total flux cleaned = 0.00126312 Jy ! Component: 200 - total flux cleaned = 0.00138485 Jy ! Total flux subtracted in 200 components = 0.00138485 Jy ! Clean residual min=-0.000336 max=0.000349 Jy/beam ! Clean residual mean=0.000001 rms=0.000084 Jy/beam ! Combined flux in latest and established models = 0.0123582 Jy ! Adding 24 model components to the UV plane model. ! The established model now contains 36 components and 0.0123582 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.025 mas, bmaj=2.664 mas, bpa=10.28 degrees ! Estimated noise=8.03851 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000217693 Jy ! Component: 100 - total flux cleaned = 0.0002495 Jy ! Component: 150 - total flux cleaned = 0.000258114 Jy ! Component: 200 - total flux cleaned = 0.000262033 Jy ! Total flux subtracted in 200 components = 0.000262033 Jy ! Clean residual min=-0.000428 max=0.000332 Jy/beam ! Clean residual mean=0.000001 rms=0.000099 Jy/beam ! Combined flux in latest and established models = 0.0126202 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 = 6.69412e-06 Jy ! Component: 100 - total flux cleaned = 9.75516e-06 Jy ! Component: 150 - total flux cleaned = 1.53431e-05 Jy ! Component: 200 - total flux cleaned = 1.80005e-05 Jy ! Total flux subtracted in 200 components = 1.80005e-05 Jy ! Clean residual min=-0.000425 max=0.000327 Jy/beam ! Clean residual mean=0.000001 rms=0.000098 Jy/beam ! Combined flux in latest and established models = 0.0126382 Jy ! Adding 24 model components to the UV plane model. ! The established model now contains 51 components and 0.0126382 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.9544 mas, bmaj=1.669 mas, bpa=8.863 degrees ! Estimated noise=6.32144 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -2.3256e-05 Jy ! Component: 100 - total flux cleaned = -2.80051e-05 Jy ! Component: 150 - total flux cleaned = -2.78803e-05 Jy ! Component: 200 - total flux cleaned = -2.80447e-05 Jy ! Total flux subtracted in 200 components = -2.80447e-05 Jy ! Clean residual min=-0.000346 max=0.000330 Jy/beam ! Clean residual mean=0.000000 rms=0.000081 Jy/beam ! Combined flux in latest and established models = 0.0126102 Jy selfcal ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 66 components and 0.0126102 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.008560Jy sigma=0.013074 ! Fit after self-cal, rms=0.008559Jy sigma=0.013071 wmodel ./J0540+5823_X_map.mod ! Writing 66 model components to file: ./J0540+5823_X_map.mod wobs ./J0540+5823_X_uvs.fits ! Writing UV FITS file: ./J0540+5823_X_uvs.fits wwins ./J0540+5823_X_map.win ! wwins: Wrote 2 windows to ./J0540+5823_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 = -6.39484e-05 Jy ! Component: 100 - total flux cleaned = -6.96017e-05 Jy ! Component: 150 - total flux cleaned = -9.22394e-05 Jy ! Component: 200 - total flux cleaned = -0.000136046 Jy ! Component: 250 - total flux cleaned = -0.000167921 Jy ! Component: 300 - total flux cleaned = -0.000183464 Jy ! Component: 350 - total flux cleaned = -0.000203851 Jy ! Component: 400 - total flux cleaned = -0.000218818 Jy ! Component: 450 - total flux cleaned = -0.000248126 Jy ! Component: 500 - total flux cleaned = -0.000281581 Jy ! Component: 550 - total flux cleaned = -0.000314463 Jy ! Component: 600 - total flux cleaned = -0.000337651 Jy ! Component: 650 - total flux cleaned = -0.000374123 Jy ! Component: 700 - total flux cleaned = -0.000414557 Jy ! Component: 750 - total flux cleaned = -0.00044566 Jy ! Component: 800 - total flux cleaned = -0.00048937 Jy ! Component: 850 - total flux cleaned = -0.000523833 Jy ! Component: 900 - total flux cleaned = -0.000570587 Jy ! Component: 950 - total flux cleaned = -0.000608404 Jy ! Component: 1000 - total flux cleaned = -0.000645724 Jy ! Component: 1050 - total flux cleaned = -0.000694859 Jy ! Component: 1100 - total flux cleaned = -0.000719127 Jy ! Component: 1150 - total flux cleaned = -0.000751149 Jy ! Component: 1200 - total flux cleaned = -0.000774938 Jy ! Component: 1250 - total flux cleaned = -0.000810144 Jy ! Component: 1300 - total flux cleaned = -0.000821766 Jy ! Component: 1350 - total flux cleaned = -0.000844815 Jy ! Component: 1400 - total flux cleaned = -0.000871437 Jy ! Component: 1450 - total flux cleaned = -0.000894032 Jy ! Component: 1500 - total flux cleaned = -0.000920108 Jy ! Component: 1550 - total flux cleaned = -0.000938572 Jy ! Component: 1600 - total flux cleaned = -0.000945899 Jy ! Component: 1650 - total flux cleaned = -0.000960428 Jy ! Component: 1700 - total flux cleaned = -0.000992778 Jy ! Component: 1750 - total flux cleaned = -0.000999953 Jy ! Component: 1800 - total flux cleaned = -0.00102465 Jy ! Component: 1850 - total flux cleaned = -0.00103865 Jy ! Component: 1900 - total flux cleaned = -0.00104908 Jy ! Component: 1950 - total flux cleaned = -0.00106631 Jy ! Component: 2000 - total flux cleaned = -0.00107995 Jy ! Component: 2050 - total flux cleaned = -0.00110367 Jy ! Component: 2100 - total flux cleaned = -0.00109695 Jy ! Component: 2150 - total flux cleaned = -0.00114032 Jy ! Component: 2200 - total flux cleaned = -0.00113698 Jy ! Component: 2250 - total flux cleaned = -0.00117316 Jy ! Component: 2300 - total flux cleaned = -0.00117313 Jy ! Component: 2350 - total flux cleaned = -0.00118611 Jy ! Component: 2400 - total flux cleaned = -0.00120223 Jy ! Component: 2450 - total flux cleaned = -0.00121825 Jy ! Component: 2500 - total flux cleaned = -0.00123735 Jy ! Component: 2550 - total flux cleaned = -0.00125315 Jy ! Component: 2600 - total flux cleaned = -0.00126572 Jy ! Component: 2650 - total flux cleaned = -0.00127818 Jy ! Component: 2700 - total flux cleaned = -0.0012782 Jy ! Component: 2750 - total flux cleaned = -0.00129362 Jy ! Component: 2800 - total flux cleaned = -0.00132426 Jy ! Component: 2850 - total flux cleaned = -0.00133339 Jy ! Component: 2900 - total flux cleaned = -0.00135453 Jy ! Component: 2950 - total flux cleaned = -0.00136955 Jy ! Component: 3000 - total flux cleaned = -0.00136061 Jy ! Component: 3050 - total flux cleaned = -0.00138141 Jy ! Component: 3100 - total flux cleaned = -0.00138435 Jy ! Component: 3150 - total flux cleaned = -0.0013873 Jy ! Component: 3200 - total flux cleaned = -0.00141357 Jy ! Component: 3250 - total flux cleaned = -0.00141648 Jy ! Component: 3300 - total flux cleaned = -0.00142803 Jy ! Component: 3350 - total flux cleaned = -0.00143667 Jy ! Component: 3400 - total flux cleaned = -0.00144809 Jy ! Component: 3450 - total flux cleaned = -0.00145093 Jy ! Component: 3500 - total flux cleaned = -0.00146506 Jy ! Component: 3550 - total flux cleaned = -0.00148196 Jy ! Component: 3600 - total flux cleaned = -0.00148476 Jy ! Component: 3650 - total flux cleaned = -0.00148196 Jy ! Component: 3700 - total flux cleaned = -0.00148751 Jy ! Component: 3750 - total flux cleaned = -0.00150131 Jy ! Component: 3800 - total flux cleaned = -0.00152327 Jy ! Component: 3850 - total flux cleaned = -0.00153149 Jy ! Component: 3900 - total flux cleaned = -0.00153422 Jy ! Component: 3950 - total flux cleaned = -0.00154775 Jy ! Component: 4000 - total flux cleaned = -0.00155853 Jy ! Component: 4050 - total flux cleaned = -0.00156657 Jy ! Total flux subtracted in 4096 components = -0.0015719 Jy ! Clean residual min=-0.000149 max=0.000146 Jy/beam ! Clean residual mean=-0.000000 rms=0.000045 Jy/beam ! Combined flux in latest and established models = 0.0110383 Jy keep ! Adding 308 model components to the UV plane model. ! The established model now contains 374 components and 0.0110383 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "./J0540+5823_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9544 x 1.669 at 8.863 degrees (North through East) ! Clean map min=-0.00026484 max=0.0092351 Jy/beam ! Writing clean map to FITS file: ./J0540+5823_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.00923513 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 4.45997e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.4488 1.4488 2.89761 5.79522 11.5904 23.1809 46.3617 92.7235 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0001 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.009 quit ! Quitting program ! Log file ./J0540+5823_X_uvs.log closed on Mon Oct 28 15:37:44 2013