! Started logfile: /d2/scr/pima/bp177i_uvs/J0509+1011_X_uvs.log on Tue Apr 15 00:07:55 2014 obs /d2/scr/pima/bp177i_uvs/J0509+1011_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp177i_uvs/J0509+1011_X_uva.fits ! AN table 1: 6 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.9 visibilities/baseline/integration-bin. ! Found source: J0509+1011 ! ! 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 1944 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 /d2/scr/pima/bp177i_uvs/J0509+1011_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 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 3 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.041106Jy sigma=35.368788 ! Fit after self-cal, rms=0.751766Jy sigma=24.911701 ! 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.8968 mas, bmaj=2.087 mas, bpa=-4.357 degrees ! Estimated noise=0.859478 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.186756 Jy ! Component: 100 - total flux cleaned = 0.236151 Jy ! Total flux subtracted in 100 components = 0.236151 Jy ! Clean residual min=-0.012605 max=0.021980 Jy/beam ! Clean residual mean=-0.000002 rms=0.003549 Jy/beam ! Combined flux in latest and established models = 0.236151 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 9 components and 0.236151 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.057507Jy sigma=1.886492 ! Fit after self-cal, rms=0.057504Jy sigma=1.886234 ! Inverting map ! Added new window around map position (22.6, -16.4). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0229076 Jy ! Component: 100 - total flux cleaned = 0.0371369 Jy ! Total flux subtracted in 100 components = 0.0371369 Jy ! Clean residual min=-0.009609 max=0.016156 Jy/beam ! Clean residual mean=-0.000004 rms=0.002396 Jy/beam ! Combined flux in latest and established models = 0.273288 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 25 components and 0.273288 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.044230Jy sigma=1.355215 ! Fit after self-cal, rms=0.043903Jy sigma=1.336572 ! Inverting map ! Added new window around map position (-8.8, 4.6). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0136739 Jy ! Component: 100 - total flux cleaned = 0.0219659 Jy ! Total flux subtracted in 100 components = 0.0219659 Jy ! Clean residual min=-0.007767 max=0.011875 Jy/beam ! Clean residual mean=-0.000003 rms=0.001869 Jy/beam ! Combined flux in latest and established models = 0.295254 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 48 components and 0.295254 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.037822Jy sigma=1.133998 ! Fit after self-cal, rms=0.037556Jy sigma=1.119818 ! 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.268 mas, bmaj=2.445 mas, bpa=2.245 degrees ! Estimated noise=0.501897 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.00921249 Jy ! Component: 100 - total flux cleaned = 0.0151249 Jy ! Component: 150 - total flux cleaned = 0.019391 Jy ! Component: 200 - total flux cleaned = 0.0225401 Jy ! Total flux subtracted in 200 components = 0.0225401 Jy ! Clean residual min=-0.007176 max=0.006888 Jy/beam ! Clean residual mean=-0.000011 rms=0.001719 Jy/beam ! Combined flux in latest and established models = 0.317794 Jy ! Performing phase self-cal ! Adding 38 model components to the UV plane model. ! The established model now contains 78 components and 0.317794 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.034503Jy sigma=1.032202 ! Fit after self-cal, rms=0.034453Jy sigma=1.027579 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.268 x 2.445 at 2.245 degrees (North through East) ! Clean map min=-0.0070405 max=0.23839 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.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.11 FD 0.96 HN 0.93 KP 0.95 ! LA 0.97 MK 1.04 NL 1.16 OV 0.93 ! PT 0.92 SC 0.96 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.88 FD 1.05 HN 1.02 KP 1.11 ! LA 0.93 MK 0.99 NL 1.14 OV 1.00 ! PT 0.93 SC 1.02 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.05 HN 1.03 KP 0.94 ! LA 0.99 MK 1.14 NL 1.05 OV 0.99 ! PT 0.95 SC 1.06 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.99 HN 1.01 KP 1.06 ! LA 1.00 MK 1.00 NL 1.01 OV 0.98 ! PT 0.90 SC 0.97 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 1.05 HN 1.11 KP 1.04 ! LA 1.06 MK 1.02 NL 1.12 OV 1.05 ! PT 0.96 SC 1.01 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 1.00 HN 0.99 KP 1.02 ! LA 0.95 MK 1.05 NL 1.07 OV 1.05 ! PT 0.92 SC 0.99 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.11 FD 1.01 HN 0.98 KP 1.07 ! LA 0.90 MK 1.02 NL 1.10 OV 1.05 ! PT 0.85 SC 1.07 ! ! ! Fit before self-cal, rms=0.034453Jy sigma=1.027579 ! Fit after self-cal, rms=0.027856Jy sigma=0.732532 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.276 mas, bmaj=2.464 mas, bpa=2.575 degrees ! Estimated noise=0.505494 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.00250058 Jy ! Component: 100 - total flux cleaned = -0.00274176 Jy ! Component: 150 - total flux cleaned = -0.00306452 Jy ! Component: 200 - total flux cleaned = -0.00327992 Jy ! Total flux subtracted in 200 components = -0.00327992 Jy ! Clean residual min=-0.004178 max=0.003580 Jy/beam ! Clean residual mean=-0.000002 rms=0.000940 Jy/beam ! Combined flux in latest and established models = 0.314514 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 89 components and 0.314514 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.027347Jy sigma=0.718770 ! Fit after self-cal, rms=0.027307Jy sigma=0.717701 ! 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.027307Jy sigma=0.717701 ! Fit after self-cal, rms=0.027299Jy sigma=0.715776 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.277 mas, bmaj=2.467 mas, bpa=2.639 degrees ! Estimated noise=0.505018 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00143785 Jy ! Component: 100 - total flux cleaned = -0.00164945 Jy ! Component: 150 - total flux cleaned = -0.00173805 Jy ! Component: 200 - total flux cleaned = -0.0018541 Jy ! Total flux subtracted in 200 components = -0.0018541 Jy ! Clean residual min=-0.003956 max=0.003418 Jy/beam ! Clean residual mean=-0.000002 rms=0.000891 Jy/beam ! Combined flux in latest and established models = 0.31266 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 93 components and 0.31266 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.027064Jy sigma=0.709404 ! Fit after self-cal, rms=0.027031Jy sigma=0.708747 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.53241e-05 Jy ! Component: 100 - total flux cleaned = 7.6645e-05 Jy ! Component: 150 - total flux cleaned = 4.47847e-05 Jy ! Component: 200 - total flux cleaned = -3.84402e-05 Jy ! Total flux subtracted in 200 components = -3.84402e-05 Jy ! Clean residual min=-0.003831 max=0.003480 Jy/beam ! Clean residual mean=-0.000002 rms=0.000879 Jy/beam ! Combined flux in latest and established models = 0.312622 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 98 components and 0.312622 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.026918Jy sigma=0.706561 ! Fit after self-cal, rms=0.026908Jy sigma=0.706143 ! 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.026908Jy sigma=0.706143 ! Fit after self-cal, rms=0.026930Jy sigma=0.704313 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.278 mas, bmaj=2.469 mas, bpa=2.759 degrees ! Estimated noise=0.504464 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00113927 Jy ! Component: 100 - total flux cleaned = -0.00117334 Jy ! Component: 150 - total flux cleaned = -0.00123262 Jy ! Component: 200 - total flux cleaned = -0.0013114 Jy ! Total flux subtracted in 200 components = -0.0013114 Jy ! Clean residual min=-0.003587 max=0.003284 Jy/beam ! Clean residual mean=-0.000002 rms=0.000852 Jy/beam ! Combined flux in latest and established models = 0.31131 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 101 components and 0.31131 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.026818Jy sigma=0.700967 ! Fit after self-cal, rms=0.026801Jy sigma=0.700640 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 = 4.12502e-06 Jy ! Component: 100 - total flux cleaned = -2.05835e-05 Jy ! Component: 150 - total flux cleaned = -8.90491e-05 Jy ! Component: 200 - total flux cleaned = -8.93785e-05 Jy ! Total flux subtracted in 200 components = -8.93785e-05 Jy ! Clean residual min=-0.003467 max=0.003352 Jy/beam ! Clean residual mean=-0.000002 rms=0.000846 Jy/beam ! Combined flux in latest and established models = 0.311221 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 104 components and 0.311221 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.026743Jy sigma=0.699413 ! Fit after self-cal, rms=0.026740Jy sigma=0.699235 ! 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.026740Jy sigma=0.699235 ! Fit after self-cal, rms=0.026766Jy sigma=0.698146 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.273 mas, bmaj=3.36 mas, bpa=12.26 degrees ! Estimated noise=0.552814 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000522107 Jy ! Component: 100 - total flux cleaned = -0.000519687 Jy ! Component: 150 - total flux cleaned = -0.00052234 Jy ! Component: 200 - total flux cleaned = -0.00052285 Jy ! Total flux subtracted in 200 components = -0.00052285 Jy ! Clean residual min=-0.003651 max=0.003387 Jy/beam ! Clean residual mean=-0.000004 rms=0.000905 Jy/beam ! Combined flux in latest and established models = 0.310698 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 118 components and 0.310698 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.026733Jy sigma=0.696996 ! Fit after self-cal, rms=0.026718Jy sigma=0.696658 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000118245 Jy ! Component: 100 - total flux cleaned = 0.000141423 Jy ! Component: 150 - total flux cleaned = 0.000141515 Jy ! Component: 200 - total flux cleaned = 0.000160942 Jy ! Total flux subtracted in 200 components = 0.000160942 Jy ! Clean residual min=-0.003613 max=0.003300 Jy/beam ! Clean residual mean=-0.000004 rms=0.000898 Jy/beam ! Combined flux in latest and established models = 0.310859 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 123 components and 0.310859 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.026715Jy sigma=0.696745 ! Fit after self-cal, rms=0.026714Jy sigma=0.696629 ! 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.278 mas, bmaj=2.47 mas, bpa=2.857 degrees ! Estimated noise=0.50393 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.278 x 2.47 at 2.857 degrees (North through East) ! Clean map min=-0.0033179 max=0.24019 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.9062 mas, bmaj=2.102 mas, bpa=-3.945 degrees ! Estimated noise=0.872492 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.189459 Jy ! Component: 100 - total flux cleaned = 0.237827 Jy ! Component: 150 - total flux cleaned = 0.259831 Jy ! Component: 200 - total flux cleaned = 0.273003 Jy ! Total flux subtracted in 200 components = 0.273003 Jy ! Clean residual min=-0.005792 max=0.008680 Jy/beam ! Clean residual mean=0.000000 rms=0.001683 Jy/beam ! Combined flux in latest and established models = 0.273003 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 31 model components to the UV plane model. ! The established model now contains 31 components and 0.273003 Jy ! Inverting map and beam ! Estimated beam: bmin=1.278 mas, bmaj=2.47 mas, bpa=2.857 degrees ! Estimated noise=0.50393 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) ! Added new window around map position (-22.8, 16.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0127858 Jy ! Component: 100 - total flux cleaned = 0.0205654 Jy ! Component: 150 - total flux cleaned = 0.0258562 Jy ! Component: 200 - total flux cleaned = 0.0296423 Jy ! Total flux subtracted in 200 components = 0.0296423 Jy ! Clean residual min=-0.003628 max=0.004026 Jy/beam ! Clean residual mean=-0.000003 rms=0.000953 Jy/beam ! Combined flux in latest and established models = 0.302645 Jy ! Adding 61 model components to the UV plane model. ! The established model now contains 83 components and 0.302645 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.273 mas, bmaj=3.36 mas, bpa=12.26 degrees ! Estimated noise=0.552814 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00383626 Jy ! Component: 100 - total flux cleaned = 0.00620567 Jy ! Component: 150 - total flux cleaned = 0.00745432 Jy ! Component: 200 - total flux cleaned = 0.00795954 Jy ! Total flux subtracted in 200 components = 0.00795954 Jy ! Clean residual min=-0.003368 max=0.003297 Jy/beam ! Clean residual mean=-0.000004 rms=0.000858 Jy/beam ! Combined flux in latest and established models = 0.310604 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 = 0.000380468 Jy ! Component: 100 - total flux cleaned = 0.000528771 Jy ! Component: 150 - total flux cleaned = 0.000528557 Jy ! Component: 200 - total flux cleaned = 0.000561749 Jy ! Total flux subtracted in 200 components = 0.000561749 Jy ! Clean residual min=-0.003334 max=0.003199 Jy/beam ! Clean residual mean=-0.000004 rms=0.000832 Jy/beam ! Combined flux in latest and established models = 0.311166 Jy ! Adding 48 model components to the UV plane model. ! The established model now contains 125 components and 0.311166 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.278 mas, bmaj=2.47 mas, bpa=2.857 degrees ! Estimated noise=0.50393 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000301309 Jy ! Component: 100 - total flux cleaned = -0.000298659 Jy ! Component: 150 - total flux cleaned = -0.000193019 Jy ! Component: 200 - total flux cleaned = -0.000146521 Jy ! Total flux subtracted in 200 components = -0.000146521 Jy ! Clean residual min=-0.003467 max=0.003263 Jy/beam ! Clean residual mean=-0.000002 rms=0.000782 Jy/beam ! Combined flux in latest and established models = 0.31102 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 136 components and 0.31102 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.026835Jy sigma=0.693223 ! Fit after self-cal, rms=0.026686Jy sigma=0.687919 wmodel /d2/scr/pima/bp177i_uvs/J0509+1011_X_map.mod ! Writing 136 model components to file: /d2/scr/pima/bp177i_uvs/J0509+1011_X_map.mod wobs /d2/scr/pima/bp177i_uvs/J0509+1011_X_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp177i_uvs/J0509+1011_X_uvs.fits wwins /d2/scr/pima/bp177i_uvs/J0509+1011_X_map.win ! wwins: Wrote 4 windows to /d2/scr/pima/bp177i_uvs/J0509+1011_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.000250299 Jy ! Component: 100 - total flux cleaned = -0.000764575 Jy ! Component: 150 - total flux cleaned = -0.00105027 Jy ! Component: 200 - total flux cleaned = -0.00141225 Jy ! Component: 250 - total flux cleaned = -0.00175787 Jy ! Component: 300 - total flux cleaned = -0.00200754 Jy ! Component: 350 - total flux cleaned = -0.00232935 Jy ! Component: 400 - total flux cleaned = -0.00260115 Jy ! Component: 450 - total flux cleaned = -0.0029773 Jy ! Component: 500 - total flux cleaned = -0.00330439 Jy ! Component: 550 - total flux cleaned = -0.00358605 Jy ! Component: 600 - total flux cleaned = -0.00382713 Jy ! Component: 650 - total flux cleaned = -0.00409588 Jy ! Component: 700 - total flux cleaned = -0.00439033 Jy ! Component: 750 - total flux cleaned = -0.00477331 Jy ! Component: 800 - total flux cleaned = -0.00514797 Jy ! Component: 850 - total flux cleaned = -0.00548236 Jy ! Component: 900 - total flux cleaned = -0.00574992 Jy ! Component: 950 - total flux cleaned = -0.0060998 Jy ! Component: 1000 - total flux cleaned = -0.00641349 Jy ! Component: 1050 - total flux cleaned = -0.0066647 Jy ! Component: 1100 - total flux cleaned = -0.00696504 Jy ! Component: 1150 - total flux cleaned = -0.00720599 Jy ! Component: 1200 - total flux cleaned = -0.00741628 Jy ! Component: 1250 - total flux cleaned = -0.00772583 Jy ! Component: 1300 - total flux cleaned = -0.00797877 Jy ! Component: 1350 - total flux cleaned = -0.00827616 Jy ! Component: 1400 - total flux cleaned = -0.00849554 Jy ! Component: 1450 - total flux cleaned = -0.0087349 Jy ! Component: 1500 - total flux cleaned = -0.00896977 Jy ! Component: 1550 - total flux cleaned = -0.0091548 Jy ! Component: 1600 - total flux cleaned = -0.00933631 Jy ! Component: 1650 - total flux cleaned = -0.0094701 Jy ! Component: 1700 - total flux cleaned = -0.00966793 Jy ! Component: 1750 - total flux cleaned = -0.00981999 Jy ! Component: 1800 - total flux cleaned = -0.00994807 Jy ! Component: 1850 - total flux cleaned = -0.0101162 Jy ! Component: 1900 - total flux cleaned = -0.0101786 Jy ! Component: 1950 - total flux cleaned = -0.0103424 Jy ! Component: 2000 - total flux cleaned = -0.010443 Jy ! Component: 2050 - total flux cleaned = -0.010582 Jy ! Component: 2100 - total flux cleaned = -0.0106802 Jy ! Component: 2150 - total flux cleaned = -0.0107385 Jy ! Component: 2200 - total flux cleaned = -0.0108342 Jy ! Component: 2250 - total flux cleaned = -0.0108913 Jy ! Component: 2300 - total flux cleaned = -0.0109473 Jy ! Component: 2350 - total flux cleaned = -0.0109473 Jy ! Component: 2400 - total flux cleaned = -0.0110378 Jy ! Component: 2450 - total flux cleaned = -0.0110555 Jy ! Component: 2500 - total flux cleaned = -0.0110381 Jy ! Component: 2550 - total flux cleaned = -0.011091 Jy ! Component: 2600 - total flux cleaned = -0.011178 Jy ! Component: 2650 - total flux cleaned = -0.0111608 Jy ! Component: 2700 - total flux cleaned = -0.0112117 Jy ! Component: 2750 - total flux cleaned = -0.0111948 Jy ! Component: 2800 - total flux cleaned = -0.0111781 Jy ! Component: 2850 - total flux cleaned = -0.0111453 Jy ! Component: 2900 - total flux cleaned = -0.0111943 Jy ! Component: 2950 - total flux cleaned = -0.011162 Jy ! Component: 3000 - total flux cleaned = -0.0111304 Jy ! Component: 3050 - total flux cleaned = -0.0111623 Jy ! Component: 3100 - total flux cleaned = -0.0111625 Jy ! Component: 3150 - total flux cleaned = -0.011116 Jy ! Component: 3200 - total flux cleaned = -0.0111313 Jy ! Component: 3250 - total flux cleaned = -0.0111009 Jy ! Component: 3300 - total flux cleaned = -0.0110707 Jy ! Component: 3350 - total flux cleaned = -0.0110557 Jy ! Component: 3400 - total flux cleaned = -0.011026 Jy ! Component: 3450 - total flux cleaned = -0.0110259 Jy ! Component: 3500 - total flux cleaned = -0.0110259 Jy ! Component: 3550 - total flux cleaned = -0.0109245 Jy ! Component: 3600 - total flux cleaned = -0.0109391 Jy ! Component: 3650 - total flux cleaned = -0.0109247 Jy ! Component: 3700 - total flux cleaned = -0.010854 Jy ! Component: 3750 - total flux cleaned = -0.0108539 Jy ! Component: 3800 - total flux cleaned = -0.0107423 Jy ! Component: 3850 - total flux cleaned = -0.0107009 Jy ! Component: 3900 - total flux cleaned = -0.0106461 Jy ! Component: 3950 - total flux cleaned = -0.010619 Jy ! Component: 4000 - total flux cleaned = -0.0105785 Jy ! Component: 4050 - total flux cleaned = -0.0105786 Jy ! Total flux subtracted in 4096 components = -0.0105252 Jy ! Clean residual min=-0.000747 max=0.000774 Jy/beam ! Clean residual mean=-0.000000 rms=0.000230 Jy/beam ! Combined flux in latest and established models = 0.300494 Jy keep ! Adding 252 model components to the UV plane model. ! The established model now contains 388 components and 0.300495 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp177i_uvs/J0509+1011_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.278 x 2.47 at 2.857 degrees (North through East) ! Clean map min=-0.0021974 max=0.24048 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp177i_uvs/J0509+1011_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.240484 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000227786 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.284159 0.284159 0.568319 1.13664 2.27327 4.54655 9.0931 18.1862 36.3724 72.7448 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0006 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.24 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 1055.74 quit ! Quitting program ! Log file /d2/scr/pima/bp177i_uvs/J0509+1011_X_uvs.log closed on Tue Apr 15 00:08:00 2014