! Started logfile: ./J0227+0202_X_uvs.log on Mon Oct 28 15:37:14 2013 obs J0227+0202_X_uva.fits ! Reading UV FITS file: J0227+0202_X_uva.fits ! AN table 1: 9 integrations on 36 of 36 possible baselines. ! AN table 2: 11 integrations on 36 of 36 possible baselines. ! Apparent sampling: 0.844444 visibilities/baseline/integration-bin. ! Found source: J0227+0202 ! ! 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 4864 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 ./J0227+0202_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 13 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 13 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 13 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 13 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 5. ! A total of 13 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 6. ! A total of 13 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 7. ! A total of 13 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 8. ! A total of 13 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=1.000108Jy sigma=0.813343 ! Fit after self-cal, rms=0.991759Jy sigma=0.801828 ! 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.995 mas, bmaj=2.176 mas, bpa=0.02034 degrees ! Estimated noise=23.8628 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.00867317 Jy ! Component: 100 - total flux cleaned = 0.0109812 Jy ! Total flux subtracted in 100 components = 0.0109812 Jy ! Clean residual min=-0.001354 max=0.001397 Jy/beam ! Clean residual mean=-0.000001 rms=0.000330 Jy/beam ! Combined flux in latest and established models = 0.0109812 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 8 components and 0.0109812 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.017320Jy sigma=0.015553 ! Fit after self-cal, rms=0.015480Jy sigma=0.013986 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00324117 Jy ! Component: 100 - total flux cleaned = 0.00439772 Jy ! Total flux subtracted in 100 components = 0.00439772 Jy ! Clean residual min=-0.001164 max=0.001069 Jy/beam ! Clean residual mean=-0.000001 rms=0.000280 Jy/beam ! Combined flux in latest and established models = 0.0153789 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 12 components and 0.0153789 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.015702Jy sigma=0.012932 ! Fit after self-cal, rms=0.015684Jy sigma=0.012921 ! 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.24 mas, bmaj=2.56 mas, bpa=0.6625 degrees ! Estimated noise=14.1512 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.000681355 Jy ! Component: 100 - total flux cleaned = 0.000944027 Jy ! Component: 150 - total flux cleaned = 0.00101934 Jy ! Component: 200 - total flux cleaned = 0.00103396 Jy ! Total flux subtracted in 200 components = 0.00103396 Jy ! Clean residual min=-0.001002 max=0.001029 Jy/beam ! Clean residual mean=-0.000002 rms=0.000225 Jy/beam ! Combined flux in latest and established models = 0.0164128 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 21 components and 0.0164128 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.015805Jy sigma=0.012795 ! Fit after self-cal, rms=0.015800Jy sigma=0.012792 ! 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.01 FD 1.32 HN 0.75 KP 1.00 ! LA 1.02 NL 0.91 OV 1.13 PT 0.84 ! SC 0.87 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.84 FD 1.11 HN 0.65 KP 1.02 ! LA 0.88 MK 0.87 NL 1.08 PT 0.98 ! SC 1.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.29 FD 1.03 HN 0.75 KP 0.91 ! LA 0.97 NL 1.19 OV 0.80 PT 0.84 ! SC 1.01 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.95 FD 1.06 HN 0.54 KP 0.94 ! LA 0.74 MK 0.87 NL 0.91 PT 0.83 ! SC 1.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 1.15 HN 0.83 KP 1.35 ! LA 0.88 NL 1.07 OV 1.05 PT 0.87 ! SC 0.72 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.68 FD 1.06 HN 0.72 KP 1.09 ! LA 0.95 MK 1.01 NL 0.85 PT 1.13 ! SC 1.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.92 FD 1.10 HN 0.92 KP 0.90 ! LA 0.99 NL 1.14 OV 0.74 PT 1.02 ! SC 0.76 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.77 FD 1.16 HN 0.71 KP 0.82 ! LA 0.97 MK 0.88 NL 0.78 PT 0.88 ! SC 1.00* ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.89 FD 1.25 HN 1.05 KP 1.03 ! LA 1.01 NL 1.04 OV 0.94 PT 0.80 ! SC 0.77 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.81 FD 0.97 HN 0.63 KP 0.92 ! LA 0.81 MK 0.92 NL 0.91 PT 0.74 ! SC 1.00* ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.98 HN 0.82 KP 1.05 ! LA 0.85 NL 1.01 OV 0.89 PT 1.01 ! SC 0.75 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.90 FD 0.96 HN 0.59 KP 0.88 ! LA 0.98 MK 0.91 NL 1.09 PT 0.83 ! SC 1.00* ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 0.92 HN 1.16 KP 1.03 ! LA 0.81 NL 0.90 OV 1.06 PT 0.83 ! SC 0.93 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.83 FD 0.98 HN 0.86 KP 0.88 ! LA 0.84 MK 0.87 NL 1.09 PT 0.88 ! SC 1.00* ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.99 HN 0.99 KP 1.39 ! LA 0.71 NL 1.06 OV 0.93 PT 0.97 ! SC 0.88 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00 FD 0.80 HN 0.50 KP 1.04 ! LA 1.05 MK 1.11 NL 0.74 PT 0.96 ! SC 1.00* ! ! ! Fit before self-cal, rms=0.015800Jy sigma=0.012792 ! Fit after self-cal, rms=0.013860Jy sigma=0.012046 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.232 mas, bmaj=2.54 mas, bpa=1.235 degrees ! Estimated noise=11.7406 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.00193064 Jy ! Component: 100 - total flux cleaned = -0.00237239 Jy ! Component: 150 - total flux cleaned = -0.00253901 Jy ! Component: 200 - total flux cleaned = -0.00256426 Jy ! Total flux subtracted in 200 components = -0.00256426 Jy ! Clean residual min=-0.000477 max=0.000524 Jy/beam ! Clean residual mean=-0.000001 rms=0.000127 Jy/beam ! Combined flux in latest and established models = 0.0138486 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 31 components and 0.0138486 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.013130Jy sigma=0.012290 ! Fit after self-cal, rms=0.013204Jy sigma=0.012261 ! 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.013204Jy sigma=0.012261 ! Fit after self-cal, rms=0.011750Jy sigma=0.012003 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.226 mas, bmaj=2.525 mas, bpa=1.983 degrees ! Estimated noise=9.82227 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0016116 Jy ! Component: 100 - total flux cleaned = -0.00197692 Jy ! Component: 150 - total flux cleaned = -0.00212063 Jy ! Component: 200 - total flux cleaned = -0.00214216 Jy ! Total flux subtracted in 200 components = -0.00214216 Jy ! Clean residual min=-0.000411 max=0.000437 Jy/beam ! Clean residual mean=-0.000000 rms=0.000106 Jy/beam ! Combined flux in latest and established models = 0.0117064 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 35 components and 0.0117064 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.011145Jy sigma=0.012249 ! Fit after self-cal, rms=0.011156Jy sigma=0.012247 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.25922e-05 Jy ! Component: 100 - total flux cleaned = -2.59341e-05 Jy ! Component: 150 - total flux cleaned = -2.05954e-05 Jy ! Component: 200 - total flux cleaned = -1.58397e-05 Jy ! Total flux subtracted in 200 components = -1.58397e-05 Jy ! Clean residual min=-0.000404 max=0.000433 Jy/beam ! Clean residual mean=-0.000000 rms=0.000105 Jy/beam ! Combined flux in latest and established models = 0.0116906 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 39 components and 0.0116906 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.011150Jy sigma=0.012251 ! Fit after self-cal, rms=0.011151Jy sigma=0.012250 ! 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.011151Jy sigma=0.012250 ! Fit after self-cal, rms=0.009906Jy sigma=0.012003 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.218 mas, bmaj=2.513 mas, bpa=2.911 degrees ! Estimated noise=8.29181 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00125631 Jy ! Component: 100 - total flux cleaned = -0.00154346 Jy ! Component: 150 - total flux cleaned = -0.00165877 Jy ! Component: 200 - total flux cleaned = -0.00167672 Jy ! Total flux subtracted in 200 components = -0.00167672 Jy ! Clean residual min=-0.000328 max=0.000362 Jy/beam ! Clean residual mean=-0.000000 rms=0.000088 Jy/beam ! Combined flux in latest and established models = 0.0100139 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 44 components and 0.0100139 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.009442Jy sigma=0.012253 ! Fit after self-cal, rms=0.009441Jy sigma=0.012250 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.27553e-05 Jy ! Component: 100 - total flux cleaned = -2.60855e-05 Jy ! Component: 150 - total flux cleaned = -2.20291e-05 Jy ! Component: 200 - total flux cleaned = -2.00624e-05 Jy ! Total flux subtracted in 200 components = -2.00624e-05 Jy ! Clean residual min=-0.000331 max=0.000361 Jy/beam ! Clean residual mean=-0.000000 rms=0.000087 Jy/beam ! Combined flux in latest and established models = 0.00999381 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 48 components and 0.00999381 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.009436Jy sigma=0.012254 ! Fit after self-cal, rms=0.009437Jy sigma=0.012254 ! 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.009437Jy sigma=0.012254 ! Fit after self-cal, rms=0.008392Jy sigma=0.011996 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.412 mas, bmaj=3.624 mas, bpa=0.3692 degrees ! Estimated noise=8.29369 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00109784 Jy ! Component: 100 - total flux cleaned = -0.00135133 Jy ! Component: 150 - total flux cleaned = -0.00143741 Jy ! Component: 200 - total flux cleaned = -0.00144439 Jy ! Total flux subtracted in 200 components = -0.00144439 Jy ! Clean residual min=-0.000324 max=0.000315 Jy/beam ! Clean residual mean=-0.000001 rms=0.000087 Jy/beam ! Combined flux in latest and established models = 0.00854942 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 55 components and 0.00854942 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.007998Jy sigma=0.012250 ! Fit after self-cal, rms=0.008000Jy sigma=0.012246 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.46244e-05 Jy ! Component: 100 - total flux cleaned = -2.16354e-05 Jy ! Component: 150 - total flux cleaned = -2.16815e-05 Jy ! Component: 200 - total flux cleaned = -2.17842e-05 Jy ! Total flux subtracted in 200 components = -2.17842e-05 Jy ! Clean residual min=-0.000326 max=0.000324 Jy/beam ! Clean residual mean=-0.000001 rms=0.000087 Jy/beam ! Combined flux in latest and established models = 0.00852763 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 60 components and 0.00852764 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.007998Jy sigma=0.012251 ! Fit after self-cal, rms=0.008000Jy sigma=0.012250 ! 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.212 mas, bmaj=2.502 mas, bpa=3.68 degrees ! Estimated noise=6.99863 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.212 x 2.502 at 3.68 degrees (North through East) ! Clean map min=-0.00026826 max=0.0067398 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.9742 mas, bmaj=2.121 mas, bpa=3.445 degrees ! Estimated noise=11.7172 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00546881 Jy ! Component: 100 - total flux cleaned = 0.00725601 Jy ! Component: 150 - total flux cleaned = 0.00805764 Jy ! Component: 200 - total flux cleaned = 0.00844956 Jy ! Total flux subtracted in 200 components = 0.00844956 Jy ! Clean residual min=-0.000490 max=0.000482 Jy/beam ! Clean residual mean=-0.000000 rms=0.000126 Jy/beam ! Combined flux in latest and established models = 0.00844956 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 13 model components to the UV plane model. ! The established model now contains 13 components and 0.00844956 Jy ! Inverting map and beam ! Estimated beam: bmin=1.212 mas, bmaj=2.502 mas, bpa=3.68 degrees ! Estimated noise=6.99863 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 = 8.44658e-05 Jy ! Component: 100 - total flux cleaned = 5.69351e-05 Jy ! Component: 150 - total flux cleaned = 3.801e-05 Jy ! Component: 200 - total flux cleaned = 2.56719e-05 Jy ! Total flux subtracted in 200 components = 2.56719e-05 Jy ! Clean residual min=-0.000297 max=0.000305 Jy/beam ! Clean residual mean=-0.000000 rms=0.000076 Jy/beam ! Combined flux in latest and established models = 0.00847523 Jy ! Adding 9 model components to the UV plane model. ! The established model now contains 20 components and 0.00847523 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.412 mas, bmaj=3.624 mas, bpa=0.3692 degrees ! Estimated noise=8.29369 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 1.2311e-05 Jy ! Component: 100 - total flux cleaned = 1.02181e-05 Jy ! Component: 150 - total flux cleaned = 8.15417e-06 Jy ! Component: 200 - total flux cleaned = 9.59491e-06 Jy ! Total flux subtracted in 200 components = 9.59491e-06 Jy ! Clean residual min=-0.000333 max=0.000340 Jy/beam ! Clean residual mean=-0.000001 rms=0.000088 Jy/beam ! Combined flux in latest and established models = 0.00848483 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.01634e-06 Jy ! Component: 100 - total flux cleaned = 6.47685e-06 Jy ! Component: 150 - total flux cleaned = 7.64383e-06 Jy ! Component: 200 - total flux cleaned = 8.77952e-06 Jy ! Total flux subtracted in 200 components = 8.77952e-06 Jy ! Clean residual min=-0.000330 max=0.000335 Jy/beam ! Clean residual mean=-0.000001 rms=0.000087 Jy/beam ! Combined flux in latest and established models = 0.00849361 Jy ! Adding 11 model components to the UV plane model. ! The established model now contains 27 components and 0.00849361 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.212 mas, bmaj=2.502 mas, bpa=3.68 degrees ! Estimated noise=6.99863 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.67286e-06 Jy ! Component: 100 - total flux cleaned = -1.05175e-05 Jy ! Component: 150 - total flux cleaned = -1.05021e-05 Jy ! Component: 200 - total flux cleaned = -1.30048e-05 Jy ! Total flux subtracted in 200 components = -1.30048e-05 Jy ! Clean residual min=-0.000293 max=0.000300 Jy/beam ! Clean residual mean=-0.000000 rms=0.000075 Jy/beam ! Combined flux in latest and established models = 0.0084806 Jy selfcal ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 34 components and 0.0084806 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.007990Jy sigma=0.012272 ! Fit after self-cal, rms=0.007988Jy sigma=0.012269 wmodel ./J0227+0202_X_map.mod ! Writing 34 model components to file: ./J0227+0202_X_map.mod wobs ./J0227+0202_X_uvs.fits ! Writing UV FITS file: ./J0227+0202_X_uvs.fits wwins ./J0227+0202_X_map.win ! wwins: Wrote 1 windows to ./J0227+0202_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.25313e-06 Jy ! Component: 100 - total flux cleaned = -4.01767e-05 Jy ! Component: 150 - total flux cleaned = -6.96429e-05 Jy ! Component: 200 - total flux cleaned = -7.90483e-05 Jy ! Component: 250 - total flux cleaned = -7.4597e-05 Jy ! Component: 300 - total flux cleaned = -8.78193e-05 Jy ! Component: 350 - total flux cleaned = -8.78283e-05 Jy ! Component: 400 - total flux cleaned = -9.62255e-05 Jy ! Component: 450 - total flux cleaned = -8.79792e-05 Jy ! Component: 500 - total flux cleaned = -9.19947e-05 Jy ! Component: 550 - total flux cleaned = -9.19173e-05 Jy ! Component: 600 - total flux cleaned = -8.80584e-05 Jy ! Component: 650 - total flux cleaned = -9.18842e-05 Jy ! Component: 700 - total flux cleaned = -9.56089e-05 Jy ! Component: 750 - total flux cleaned = -9.92647e-05 Jy ! Component: 800 - total flux cleaned = -0.000109996 Jy ! Component: 850 - total flux cleaned = -0.000113496 Jy ! Component: 900 - total flux cleaned = -0.000113522 Jy ! Component: 950 - total flux cleaned = -0.000116914 Jy ! Component: 1000 - total flux cleaned = -0.000120248 Jy ! Component: 1050 - total flux cleaned = -0.000123602 Jy ! Component: 1100 - total flux cleaned = -0.000130061 Jy ! Component: 1150 - total flux cleaned = -0.000123544 Jy ! Component: 1200 - total flux cleaned = -0.000120373 Jy ! Component: 1250 - total flux cleaned = -0.000132877 Jy ! Component: 1300 - total flux cleaned = -0.000139052 Jy ! Component: 1350 - total flux cleaned = -0.000157239 Jy ! Component: 1400 - total flux cleaned = -0.000163234 Jy ! Component: 1450 - total flux cleaned = -0.000180989 Jy ! Component: 1500 - total flux cleaned = -0.000201492 Jy ! Component: 1550 - total flux cleaned = -0.00021596 Jy ! Component: 1600 - total flux cleaned = -0.000236003 Jy ! Component: 1650 - total flux cleaned = -0.000244504 Jy ! Component: 1700 - total flux cleaned = -0.000264081 Jy ! Component: 1750 - total flux cleaned = -0.000275229 Jy ! Component: 1800 - total flux cleaned = -0.000294398 Jy ! Component: 1850 - total flux cleaned = -0.000307944 Jy ! Component: 1900 - total flux cleaned = -0.000326703 Jy ! Component: 1950 - total flux cleaned = -0.000334686 Jy ! Component: 2000 - total flux cleaned = -0.000347826 Jy ! Component: 2050 - total flux cleaned = -0.000363427 Jy ! Component: 2100 - total flux cleaned = -0.000358292 Jy ! Component: 2150 - total flux cleaned = -0.000373631 Jy ! Component: 2200 - total flux cleaned = -0.000373612 Jy ! Component: 2250 - total flux cleaned = -0.000388655 Jy ! Component: 2300 - total flux cleaned = -0.000398622 Jy ! Component: 2350 - total flux cleaned = -0.00041341 Jy ! Component: 2400 - total flux cleaned = -0.000430532 Jy ! Component: 2450 - total flux cleaned = -0.000437809 Jy ! Component: 2500 - total flux cleaned = -0.000452245 Jy ! Component: 2550 - total flux cleaned = -0.000466569 Jy ! Component: 2600 - total flux cleaned = -0.000471273 Jy ! Component: 2650 - total flux cleaned = -0.00047595 Jy ! Component: 2700 - total flux cleaned = -0.00049222 Jy ! Component: 2750 - total flux cleaned = -0.000501423 Jy ! Component: 2800 - total flux cleaned = -0.000501431 Jy ! Component: 2850 - total flux cleaned = -0.000517336 Jy ! Component: 2900 - total flux cleaned = -0.000524069 Jy ! Component: 2950 - total flux cleaned = -0.000535238 Jy ! Component: 3000 - total flux cleaned = -0.000541876 Jy ! Component: 3050 - total flux cleaned = -0.000550693 Jy ! Component: 3100 - total flux cleaned = -0.000566018 Jy ! Component: 3150 - total flux cleaned = -0.000572522 Jy ! Component: 3200 - total flux cleaned = -0.000589745 Jy ! Component: 3250 - total flux cleaned = -0.000600436 Jy ! Component: 3300 - total flux cleaned = -0.00060469 Jy ! Component: 3350 - total flux cleaned = -0.000613156 Jy ! Component: 3400 - total flux cleaned = -0.00061946 Jy ! Component: 3450 - total flux cleaned = -0.000627812 Jy ! Component: 3500 - total flux cleaned = -0.000644368 Jy ! Component: 3550 - total flux cleaned = -0.000650526 Jy ! Component: 3600 - total flux cleaned = -0.000658699 Jy ! Component: 3650 - total flux cleaned = -0.000658708 Jy ! Component: 3700 - total flux cleaned = -0.000678878 Jy ! Component: 3750 - total flux cleaned = -0.000680885 Jy ! Component: 3800 - total flux cleaned = -0.00068885 Jy ! Component: 3850 - total flux cleaned = -0.000690827 Jy ! Component: 3900 - total flux cleaned = -0.000696712 Jy ! Component: 3950 - total flux cleaned = -0.000700628 Jy ! Component: 4000 - total flux cleaned = -0.000708391 Jy ! Component: 4050 - total flux cleaned = -0.000714167 Jy ! Total flux subtracted in 4096 components = -0.000714164 Jy ! Clean residual min=-0.000102 max=0.000120 Jy/beam ! Clean residual mean=-0.000000 rms=0.000034 Jy/beam ! Combined flux in latest and established models = 0.00776644 Jy keep ! Adding 257 model components to the UV plane model. ! The established model now contains 291 components and 0.00776644 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "./J0227+0202_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.212 x 2.502 at 3.68 degrees (North through East) ! Clean map min=-0.00024505 max=0.0067179 Jy/beam ! Writing clean map to FITS file: ./J0227+0202_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.00671788 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 3.31976e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.4825 1.4825 2.96501 5.93002 11.86 23.7201 47.4402 94.8803 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.006 quit ! Quitting program ! Log file ./J0227+0202_X_uvs.log closed on Mon Oct 28 15:37:27 2013