! Started logfile: /scr/pima/bp171af_uvs/J0028+0757_C_uvs.log on Thu Oct 10 13:39:42 2013 obs /scr/pima/bp171af_uvs/J0028+0757_C_uva.fits ! Reading UV FITS file: /scr/pima/bp171af_uvs/J0028+0757_C_uva.fits ! AN table 1: 3 integrations on 28 of 28 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J0028+0757 ! ! 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 4.128e+09 3.2e+07 1 3.2e+07 ! 02 2 4.16e+09 3.2e+07 1 3.2e+07 ! 03 3 4.192e+09 3.2e+07 1 3.2e+07 ! 04 4 4.224e+09 3.2e+07 1 3.2e+07 ! 05 5 4.416e+09 3.2e+07 1 3.2e+07 ! 06 6 4.512e+09 3.2e+07 1 3.2e+07 ! 07 7 4.544e+09 3.2e+07 1 3.2e+07 ! 08 8 4.576e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 672 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.3 print "taper_size =",taper_size ! taper_size = 40 ![@/home/lpetrov/bin/01_muppet /scr/pima/bp171af_uvs/J0028+0757_C] 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.300x0.300 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. ! ! 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=1.007195Jy sigma=4.657750 ! Fit after self-cal, rms=0.908108Jy sigma=3.986981 ! 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=1.332 mas, bmaj=3.382 mas, bpa=0.5174 degrees ! Estimated noise=9.28106 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.0751542 Jy ! Component: 100 - total flux cleaned = 0.10226 Jy ! Total flux subtracted in 100 components = 0.10226 Jy ! Clean residual min=-0.009537 max=0.029501 Jy/beam ! Clean residual mean=-0.000011 rms=0.003403 Jy/beam ! Combined flux in latest and established models = 0.10226 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 8 components and 0.10226 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.042046Jy sigma=0.242614 ! Fit after self-cal, rms=0.042164Jy sigma=0.241889 ! Inverting map ! Added new window around map position (-1.8, -0.3). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0252591 Jy ! Component: 100 - total flux cleaned = 0.0369513 Jy ! Total flux subtracted in 100 components = 0.0369513 Jy ! Clean residual min=-0.004730 max=0.008891 Jy/beam ! Clean residual mean=-0.000006 rms=0.001433 Jy/beam ! Combined flux in latest and established models = 0.139211 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 15 components and 0.139211 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.025290Jy sigma=0.135769 ! Fit after self-cal, rms=0.023384Jy sigma=0.132031 ! 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.63 mas, bmaj=3.725 mas, bpa=1.246 degrees ! Estimated noise=6.58914 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.0109031 Jy ! Component: 100 - total flux cleaned = 0.0160475 Jy ! Component: 150 - total flux cleaned = 0.0189146 Jy ! Component: 200 - total flux cleaned = 0.0207599 Jy ! Total flux subtracted in 200 components = 0.0207599 Jy ! Clean residual min=-0.005243 max=0.004422 Jy/beam ! Clean residual mean=-0.000011 rms=0.001219 Jy/beam ! Combined flux in latest and established models = 0.159971 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 39 components and 0.159971 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.020516Jy sigma=0.103991 ! Fit after self-cal, rms=0.020018Jy sigma=0.103084 ! 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.03 HN 1.05 KP 0.92 MK 0.94 ! NL 1.12 OV 0.98 PT 0.95 SC 0.89 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 HN 1.03 KP 0.95 MK 0.93 ! NL 1.12 OV 1.08 PT 0.95 SC 0.98 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 HN 0.95 KP 0.64 MK 0.96 ! NL 0.91 OV 0.98 PT 1.01 SC 0.95 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 HN 1.03 KP 1.00 MK 1.05 ! NL 1.04 OV 1.05 PT 1.02 SC 0.97 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 HN 1.05 KP 0.97 MK 1.02 ! NL 1.09 OV 0.98 PT 0.99 SC 0.94 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 HN 1.01 KP 1.02 MK 0.90 ! NL 1.02 OV 1.03 PT 1.06 SC 1.02 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 HN 1.02 KP 0.95 MK 1.03 ! NL 1.07 OV 1.01 PT 1.01 SC 0.95 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 HN 1.06 KP 1.05 MK 0.98 ! NL 1.03 OV 1.02 PT 0.93 SC 0.98 ! ! ! Fit before self-cal, rms=0.020018Jy sigma=0.103084 ! Fit after self-cal, rms=0.014635Jy sigma=0.057300 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.623 mas, bmaj=3.729 mas, bpa=1.456 degrees ! Estimated noise=6.49431 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.000193501 Jy ! Component: 100 - total flux cleaned = -0.00037552 Jy ! Component: 150 - total flux cleaned = -0.000610652 Jy ! Component: 200 - total flux cleaned = -0.000781799 Jy ! Total flux subtracted in 200 components = -0.000781799 Jy ! Clean residual min=-0.001472 max=0.001609 Jy/beam ! Clean residual mean=-0.000001 rms=0.000352 Jy/beam ! Combined flux in latest and established models = 0.15919 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 48 components and 0.15919 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.014302Jy sigma=0.056969 ! Fit after self-cal, rms=0.014228Jy sigma=0.056754 ! 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.014228Jy sigma=0.056754 ! Fit after self-cal, rms=0.014215Jy sigma=0.056677 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.619 mas, bmaj=3.729 mas, bpa=1.349 degrees ! Estimated noise=6.45879 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000320219 Jy ! Component: 100 - total flux cleaned = -0.000440586 Jy ! Component: 150 - total flux cleaned = -0.000589788 Jy ! Component: 200 - total flux cleaned = -0.00067281 Jy ! Total flux subtracted in 200 components = -0.00067281 Jy ! Clean residual min=-0.001323 max=0.001533 Jy/beam ! Clean residual mean=-0.000000 rms=0.000332 Jy/beam ! Combined flux in latest and established models = 0.158517 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 52 components and 0.158517 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.014043Jy sigma=0.056533 ! Fit after self-cal, rms=0.014005Jy sigma=0.056482 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (-20.1, 13.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00086992 Jy ! Component: 100 - total flux cleaned = 0.000893447 Jy ! Component: 150 - total flux cleaned = 0.000935779 Jy ! Component: 200 - total flux cleaned = 0.000971576 Jy ! Total flux subtracted in 200 components = 0.000971576 Jy ! Clean residual min=-0.001187 max=0.001374 Jy/beam ! Clean residual mean=-0.000000 rms=0.000295 Jy/beam ! Combined flux in latest and established models = 0.159488 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 67 components and 0.159488 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.013833Jy sigma=0.055932 ! Fit after self-cal, rms=0.013811Jy sigma=0.055887 ! Inverting map ! Added new window around map position (17.1, -22.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000364312 Jy ! Component: 100 - total flux cleaned = 0.000289191 Jy ! Component: 150 - total flux cleaned = 0.000261839 Jy ! Component: 200 - total flux cleaned = 0.000367094 Jy ! Total flux subtracted in 200 components = 0.000367094 Jy ! Clean residual min=-0.001114 max=0.001200 Jy/beam ! Clean residual mean=-0.000000 rms=0.000266 Jy/beam ! Combined flux in latest and established models = 0.159855 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 83 components and 0.159856 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.013589Jy sigma=0.055443 ! Fit after self-cal, rms=0.013582Jy sigma=0.055425 ! Inverting map ! Added new window around map position (36.3, -36.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000428607 Jy ! Component: 100 - total flux cleaned = 0.000277172 Jy ! Component: 150 - total flux cleaned = 0.000295854 Jy ! Component: 200 - total flux cleaned = 0.000354171 Jy ! Total flux subtracted in 200 components = 0.000354171 Jy ! Clean residual min=-0.001097 max=0.000926 Jy/beam ! Clean residual mean=-0.000000 rms=0.000244 Jy/beam ! Combined flux in latest and established models = 0.16021 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 98 components and 0.16021 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.013435Jy sigma=0.055036 ! Fit after self-cal, rms=0.013419Jy sigma=0.055011 ! 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.013419Jy sigma=0.055011 ! Fit after self-cal, rms=0.013401Jy sigma=0.054882 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.616 mas, bmaj=3.729 mas, bpa=1.254 degrees ! Estimated noise=6.41871 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000128081 Jy ! Component: 100 - total flux cleaned = -4.76028e-05 Jy ! Component: 150 - total flux cleaned = -8.16868e-05 Jy ! Component: 200 - total flux cleaned = -0.000113249 Jy ! Total flux subtracted in 200 components = -0.000113249 Jy ! Clean residual min=-0.001021 max=0.000866 Jy/beam ! Clean residual mean=-0.000000 rms=0.000233 Jy/beam ! Combined flux in latest and established models = 0.160096 Jy selfcal ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 109 components and 0.160097 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.013315Jy sigma=0.054790 ! Fit after self-cal, rms=0.013310Jy sigma=0.054780 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.66623e-05 Jy ! Component: 100 - total flux cleaned = 2.02726e-05 Jy ! Component: 150 - total flux cleaned = -1.98334e-05 Jy ! Component: 200 - total flux cleaned = -4.5348e-05 Jy ! Total flux subtracted in 200 components = -4.5348e-05 Jy ! Clean residual min=-0.001010 max=0.000851 Jy/beam ! Clean residual mean=-0.000000 rms=0.000227 Jy/beam ! Combined flux in latest and established models = 0.160051 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 122 components and 0.160051 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.013270Jy sigma=0.054707 ! Fit after self-cal, rms=0.013266Jy sigma=0.054701 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 40 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.013266Jy sigma=0.054701 ! Fit after self-cal, rms=0.013251Jy sigma=0.054639 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.886 mas, bmaj=5.14 mas, bpa=4.537 degrees ! Estimated noise=6.46679 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000613804 Jy ! Component: 100 - total flux cleaned = -0.000778865 Jy ! Component: 150 - total flux cleaned = -0.000841921 Jy ! Component: 200 - total flux cleaned = -0.000869951 Jy ! Total flux subtracted in 200 components = -0.000869951 Jy ! Clean residual min=-0.000802 max=0.000853 Jy/beam ! Clean residual mean=-0.000000 rms=0.000186 Jy/beam ! Combined flux in latest and established models = 0.159181 Jy selfcal ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 147 components and 0.159181 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.013202Jy sigma=0.054690 ! Fit after self-cal, rms=0.013201Jy sigma=0.054673 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (-28.8, 75). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000342174 Jy ! Component: 100 - total flux cleaned = 0.000321498 Jy ! Component: 150 - total flux cleaned = 0.000367916 Jy ! Component: 200 - total flux cleaned = 0.000438422 Jy ! Total flux subtracted in 200 components = 0.000438422 Jy ! Clean residual min=-0.000867 max=0.000747 Jy/beam ! Clean residual mean=-0.000001 rms=0.000169 Jy/beam ! Combined flux in latest and established models = 0.15962 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 175 components and 0.15962 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.013163Jy sigma=0.054384 ! Fit after self-cal, rms=0.013162Jy sigma=0.054367 ! 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.616 mas, bmaj=3.73 mas, bpa=1.217 degrees ! Estimated noise=6.39103 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.616 x 3.73 at 1.217 degrees (North through East) ! Clean map min=-0.00095769 max=0.099986 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=1.319 mas, bmaj=3.384 mas, bpa=0.6908 degrees ! Estimated noise=9.07563 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.075372 Jy ! Component: 100 - total flux cleaned = 0.107207 Jy ! Component: 150 - total flux cleaned = 0.125803 Jy ! Component: 200 - total flux cleaned = 0.136826 Jy ! Total flux subtracted in 200 components = 0.136826 Jy ! Clean residual min=-0.003313 max=0.005750 Jy/beam ! Clean residual mean=-0.000003 rms=0.001112 Jy/beam ! Combined flux in latest and established models = 0.136826 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 11 model components to the UV plane model. ! The established model now contains 11 components and 0.136826 Jy ! Inverting map and beam ! Estimated beam: bmin=1.616 mas, bmaj=3.73 mas, bpa=1.217 degrees ! Estimated noise=6.39103 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.00919094 Jy ! Component: 100 - total flux cleaned = 0.0136621 Jy ! Component: 150 - total flux cleaned = 0.0161018 Jy ! Component: 200 - total flux cleaned = 0.0169904 Jy ! Total flux subtracted in 200 components = 0.0169904 Jy ! Clean residual min=-0.001350 max=0.002256 Jy/beam ! Clean residual mean=-0.000002 rms=0.000421 Jy/beam ! Combined flux in latest and established models = 0.153817 Jy ! Adding 41 model components to the UV plane model. ! The established model now contains 42 components and 0.153817 Jy ! Inverting map ! Added new window around map position (-12.9, 16.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00199923 Jy ! Component: 100 - total flux cleaned = 0.00268273 Jy ! Component: 150 - total flux cleaned = 0.00297002 Jy ! Component: 200 - total flux cleaned = 0.00311635 Jy ! Total flux subtracted in 200 components = 0.00311635 Jy ! Clean residual min=-0.001047 max=0.001241 Jy/beam ! Clean residual mean=-0.000001 rms=0.000275 Jy/beam ! Combined flux in latest and established models = 0.156933 Jy ! Adding 34 model components to the UV plane model. ! The established model now contains 74 components and 0.156933 Jy ! Inverting map ! Added new window around map position (13.8, -14.7). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000631926 Jy ! Component: 100 - total flux cleaned = 0.000824616 Jy ! Component: 150 - total flux cleaned = 0.000881224 Jy ! Component: 200 - total flux cleaned = 0.00087869 Jy ! Total flux subtracted in 200 components = 0.00087869 Jy ! Clean residual min=-0.000913 max=0.000931 Jy/beam ! Clean residual mean=-0.000001 rms=0.000229 Jy/beam ! Combined flux in latest and established models = 0.157812 Jy ! Adding 27 model components to the UV plane model. ! The established model now contains 95 components and 0.157812 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 40 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.886 mas, bmaj=5.14 mas, bpa=4.537 degrees ! Estimated noise=6.46679 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000141936 Jy ! Component: 100 - total flux cleaned = 0.00010372 Jy ! Component: 150 - total flux cleaned = 5.2795e-07 Jy ! Component: 200 - total flux cleaned = -1.21734e-07 Jy ! Total flux subtracted in 200 components = -1.21734e-07 Jy ! Clean residual min=-0.000825 max=0.000738 Jy/beam ! Clean residual mean=-0.000001 rms=0.000191 Jy/beam ! Combined flux in latest and established models = 0.157812 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 = 1.31226e-05 Jy ! Component: 100 - total flux cleaned = 2.52182e-05 Jy ! Component: 150 - total flux cleaned = 4.93027e-05 Jy ! Component: 200 - total flux cleaned = 0.000106812 Jy ! Total flux subtracted in 200 components = 0.000106812 Jy ! Clean residual min=-0.000817 max=0.000726 Jy/beam ! Clean residual mean=-0.000001 rms=0.000179 Jy/beam ! Combined flux in latest and established models = 0.157919 Jy ! Adding 58 model components to the UV plane model. ! The established model now contains 151 components and 0.157919 Jy ! Inverting map ! Added new window around map position (-56.7, -76.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 3.628e-06 Jy ! Component: 100 - total flux cleaned = -9.20787e-05 Jy ! Component: 150 - total flux cleaned = -0.000143395 Jy ! Component: 200 - total flux cleaned = -0.000143154 Jy ! Total flux subtracted in 200 components = -0.000143154 Jy ! Clean residual min=-0.000688 max=0.000588 Jy/beam ! Clean residual mean=-0.000001 rms=0.000159 Jy/beam ! Combined flux in latest and established models = 0.157775 Jy ! Adding 22 model components to the UV plane model. ! The established model now contains 172 components and 0.157775 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.616 mas, bmaj=3.73 mas, bpa=1.217 degrees ! Estimated noise=6.39103 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 5.84272e-05 Jy ! Component: 100 - total flux cleaned = -7.48204e-06 Jy ! Component: 150 - total flux cleaned = 9.33146e-05 Jy ! Component: 200 - total flux cleaned = 9.3067e-05 Jy ! Total flux subtracted in 200 components = 9.3067e-05 Jy ! Clean residual min=-0.000857 max=0.000879 Jy/beam ! Clean residual mean=-0.000001 rms=0.000191 Jy/beam ! Combined flux in latest and established models = 0.157868 Jy selfcal ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 197 components and 0.157868 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.013030Jy sigma=0.053658 ! Fit after self-cal, rms=0.013019Jy sigma=0.053599 wmodel /scr/pima/bp171af_uvs/J0028+0757_C_map.mod ! Writing 197 model components to file: /scr/pima/bp171af_uvs/J0028+0757_C_map.mod wobs /scr/pima/bp171af_uvs/J0028+0757_C_uvs.fits ! Writing UV FITS file: /scr/pima/bp171af_uvs/J0028+0757_C_uvs.fits wwins /scr/pima/bp171af_uvs/J0028+0757_C_map.win ! wwins: Wrote 9 windows to /scr/pima/bp171af_uvs/J0028+0757_C_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.000194563 Jy ! Component: 100 - total flux cleaned = 0.00023719 Jy ! Component: 150 - total flux cleaned = 0.00028875 Jy ! Component: 200 - total flux cleaned = 0.00038792 Jy ! Component: 250 - total flux cleaned = 0.000494908 Jy ! Component: 300 - total flux cleaned = 0.000552509 Jy ! Component: 350 - total flux cleaned = 0.000619695 Jy ! Component: 400 - total flux cleaned = 0.000707187 Jy ! Component: 450 - total flux cleaned = 0.000771034 Jy ! Component: 500 - total flux cleaned = 0.000854435 Jy ! Component: 550 - total flux cleaned = 0.000936438 Jy ! Component: 600 - total flux cleaned = 0.00102692 Jy ! Component: 650 - total flux cleaned = 0.00111591 Jy ! Component: 700 - total flux cleaned = 0.00114515 Jy ! Component: 750 - total flux cleaned = 0.00114512 Jy ! Component: 800 - total flux cleaned = 0.00115468 Jy ! Component: 850 - total flux cleaned = 0.00114526 Jy ! Component: 900 - total flux cleaned = 0.00114521 Jy ! Component: 950 - total flux cleaned = 0.00113606 Jy ! Component: 1000 - total flux cleaned = 0.00115434 Jy ! Component: 1050 - total flux cleaned = 0.00116332 Jy ! Component: 1100 - total flux cleaned = 0.00115432 Jy ! Component: 1150 - total flux cleaned = 0.00116323 Jy ! Component: 1200 - total flux cleaned = 0.00117199 Jy ! Component: 1250 - total flux cleaned = 0.00114595 Jy ! Component: 1300 - total flux cleaned = 0.00114594 Jy ! Component: 1350 - total flux cleaned = 0.00115445 Jy ! Component: 1400 - total flux cleaned = 0.0011459 Jy ! Component: 1450 - total flux cleaned = 0.00114585 Jy ! Component: 1500 - total flux cleaned = 0.00112924 Jy ! Component: 1550 - total flux cleaned = 0.001121 Jy ! Component: 1600 - total flux cleaned = 0.00112919 Jy ! Component: 1650 - total flux cleaned = 0.00111305 Jy ! Component: 1700 - total flux cleaned = 0.00112909 Jy ! Component: 1750 - total flux cleaned = 0.00112114 Jy ! Component: 1800 - total flux cleaned = 0.00113691 Jy ! Component: 1850 - total flux cleaned = 0.00112114 Jy ! Component: 1900 - total flux cleaned = 0.00109775 Jy ! Component: 1950 - total flux cleaned = 0.00109781 Jy ! Component: 2000 - total flux cleaned = 0.00108238 Jy ! Component: 2050 - total flux cleaned = 0.00106703 Jy ! Component: 2100 - total flux cleaned = 0.00105171 Jy ! Component: 2150 - total flux cleaned = 0.00104411 Jy ! Component: 2200 - total flux cleaned = 0.00105159 Jy ! Component: 2250 - total flux cleaned = 0.00102161 Jy ! Component: 2300 - total flux cleaned = 0.00102903 Jy ! Component: 2350 - total flux cleaned = 0.000977039 Jy ! Component: 2400 - total flux cleaned = 0.000962299 Jy ! Component: 2450 - total flux cleaned = 0.000954857 Jy ! Component: 2500 - total flux cleaned = 0.000954844 Jy ! Component: 2550 - total flux cleaned = 0.000932935 Jy ! Component: 2600 - total flux cleaned = 0.000918403 Jy ! Component: 2650 - total flux cleaned = 0.000903941 Jy ! Component: 2700 - total flux cleaned = 0.000911132 Jy ! Component: 2750 - total flux cleaned = 0.000903914 Jy ! Component: 2800 - total flux cleaned = 0.00089677 Jy ! Component: 2850 - total flux cleaned = 0.000918201 Jy ! Component: 2900 - total flux cleaned = 0.00091105 Jy ! Component: 2950 - total flux cleaned = 0.000896817 Jy ! Component: 3000 - total flux cleaned = 0.000868479 Jy ! Component: 3050 - total flux cleaned = 0.000840285 Jy ! Component: 3100 - total flux cleaned = 0.000847337 Jy ! Component: 3150 - total flux cleaned = 0.00084032 Jy ! Component: 3200 - total flux cleaned = 0.000819283 Jy ! Component: 3250 - total flux cleaned = 0.000819302 Jy ! Component: 3300 - total flux cleaned = 0.000812359 Jy ! Component: 3350 - total flux cleaned = 0.000791444 Jy ! Component: 3400 - total flux cleaned = 0.000791464 Jy ! Component: 3450 - total flux cleaned = 0.000812283 Jy ! Component: 3500 - total flux cleaned = 0.000798403 Jy ! Component: 3550 - total flux cleaned = 0.000833117 Jy ! Component: 3600 - total flux cleaned = 0.00083311 Jy ! Component: 3650 - total flux cleaned = 0.000860862 Jy ! Component: 3700 - total flux cleaned = 0.000860852 Jy ! Component: 3750 - total flux cleaned = 0.00088171 Jy ! Component: 3800 - total flux cleaned = 0.000916407 Jy ! Component: 3850 - total flux cleaned = 0.00092337 Jy ! Component: 3900 - total flux cleaned = 0.000944214 Jy ! Component: 3950 - total flux cleaned = 0.000992852 Jy ! Component: 4000 - total flux cleaned = 0.00100674 Jy ! Component: 4050 - total flux cleaned = 0.00100674 Jy ! Total flux subtracted in 4096 components = 0.00104153 Jy ! Clean residual min=-0.000424 max=0.000395 Jy/beam ! Clean residual mean=-0.000000 rms=0.000115 Jy/beam ! Combined flux in latest and established models = 0.15891 Jy keep ! Adding 221 model components to the UV plane model. ! The established model now contains 418 components and 0.15891 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bp171af_uvs/J0028+0757_C\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.616 x 3.73 at 1.217 degrees (North through East) ! Clean map min=-0.0012807 max=0.099547 Jy/beam ! Writing clean map to FITS file: /scr/pima/bp171af_uvs/J0028+0757_C_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0995472 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000123048 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.370824 0.370824 0.741648 1.4833 2.96659 5.93319 11.8664 23.7327 47.4655 94.931 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0003 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.099 quit ! Quitting program ! Log file /scr/pima/bp171af_uvs/J0028+0757_C_uvs.log closed on Thu Oct 10 13:39:47 2013