! Started logfile: /scr/pima/bg219a_uvs/J1848+3219_X_uvs.log on Wed Apr 6 21:44:08 2016 obs /scr/pima/bg219a_uvs/J1848+3219_X_uva.fits ! Reading UV FITS file: /scr/pima/bg219a_uvs/J1848+3219_X_uva.fits ! AN table 1: 18 integrations on 15 of 15 possible baselines. ! Apparent sampling: 0.833333 visibilities/baseline/integration-bin. ! Found source: J1848+3219 ! ! There are 12 IFs, and a total of 12 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 8.428e+09 3.2e+07 1 3.2e+07 ! 02 2 8.46e+09 3.2e+07 1 3.2e+07 ! 03 3 8.492e+09 3.2e+07 1 3.2e+07 ! 04 4 8.524e+09 3.2e+07 1 3.2e+07 ! 05 5 8.588e+09 3.2e+07 1 3.2e+07 ! 06 6 8.62e+09 3.2e+07 1 3.2e+07 ! 07 7 8.684e+09 3.2e+07 1 3.2e+07 ! 08 8 8.716e+09 3.2e+07 1 3.2e+07 ! 09 9 8.78e+09 3.2e+07 1 3.2e+07 ! 10 10 8.812e+09 3.2e+07 1 3.2e+07 ! 11 11 8.844e+09 3.2e+07 1 3.2e+07 ! 12 12 8.876e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 121 lines of history. ! ! Reading 2700 visibilities. select rr, 1,2,3,4,6,7,8 ! Selecting polarization: RR, channels: 1..4 6..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: (none) ! Reading IF 6 channels: 6..6 ! Reading IF 7 channels: 7..7 ! Reading IF 8 channels: 8..8 ! Reading IF 9 channels: (none) ! Reading IF 10 channels: (none) ! Reading IF 11 channels: (none) ! Reading IF 12 channels: (none) 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 /scr/pima/bg219a_uvs/J1848+3219_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 20 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 20 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 20 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 20 telescope corrections were flagged in sub-array 1. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! A total of 20 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 20 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 20 telescope corrections were flagged in sub-array 1. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=1.530019Jy sigma=26.309142 ! Fit after self-cal, rms=0.346158Jy sigma=6.042160 ! 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.6331 mas, bmaj=2.483 mas, bpa=17.7 degrees ! Estimated noise=1.62777 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.833926 Jy ! Component: 100 - total flux cleaned = 1.07102 Jy ! Total flux subtracted in 100 components = 1.07102 Jy ! Clean residual min=-0.069390 max=0.102607 Jy/beam ! Clean residual mean=-0.000125 rms=0.017605 Jy/beam ! Combined flux in latest and established models = 1.07102 Jy ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 5 components and 1.07102 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.307050Jy sigma=5.369079 ! Fit after self-cal, rms=0.307005Jy sigma=5.368674 ! Inverting map print "************** FINISHED UNIFORM WEIGHTING CLEAN **************" ! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** ! uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.7936 mas, bmaj=2.607 mas, bpa=15.31 degrees ! Estimated noise=1.14521 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.130885 Jy ! Component: 100 - total flux cleaned = 0.184029 Jy ! Component: 150 - total flux cleaned = 0.209237 Jy ! Component: 200 - total flux cleaned = 0.223684 Jy ! Total flux subtracted in 200 components = 0.223684 Jy ! Clean residual min=-0.022597 max=0.021961 Jy/beam ! Clean residual mean=-0.000031 rms=0.005316 Jy/beam ! Combined flux in latest and established models = 1.29471 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 15 components and 1.29471 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.249769Jy sigma=4.454633 ! Fit after self-cal, rms=0.249753Jy sigma=4.454438 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.7936 x 2.607 at 15.31 degrees (North through East) ! Clean map min=-0.020147 max=1.1395 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: ! LA 0.97 MK 1.00 NL 0.99 OV 1.05 ! PT 0.96 SC 1.04 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! LA 0.97 MK 0.98 NL 0.99 OV 1.04 ! PT 0.96 SC 1.01 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! LA 0.98 MK 1.00 NL 0.98 OV 1.03 ! PT 0.97 SC 1.03 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! LA 0.97 MK 0.99 NL 1.00 OV 1.05 ! PT 0.97 SC 1.02 ! ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! LA 1.00 MK 1.00 NL 1.01 OV 1.03 ! PT 0.95 SC 1.02 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! LA 0.98 MK 1.01 NL 0.99 OV 1.04 ! PT 0.95 SC 1.05 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! LA 0.97 MK 1.01 NL 0.99 OV 1.03 ! PT 0.97 SC 1.02 ! ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.249753Jy sigma=4.454438 ! Fit after self-cal, rms=0.249678Jy sigma=4.389308 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.8 mas, bmaj=2.62 mas, bpa=15.15 degrees ! Estimated noise=1.14459 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.00615085 Jy ! Component: 100 - total flux cleaned = -0.00635424 Jy ! Component: 150 - total flux cleaned = -0.00648186 Jy ! Component: 200 - total flux cleaned = -0.0067365 Jy ! Total flux subtracted in 200 components = -0.0067365 Jy ! Clean residual min=-0.007877 max=0.008149 Jy/beam ! Clean residual mean=-0.000003 rms=0.001781 Jy/beam ! Combined flux in latest and established models = 1.28797 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 28 components and 1.28797 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.249344Jy sigma=4.383428 ! Fit after self-cal, rms=0.249338Jy sigma=4.383378 ! 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. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.249338Jy sigma=4.383378 ! Fit after self-cal, rms=0.249329Jy sigma=4.376208 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8009 mas, bmaj=2.623 mas, bpa=15.18 degrees ! Estimated noise=1.14478 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00436411 Jy ! Component: 100 - total flux cleaned = -0.0060344 Jy ! Component: 150 - total flux cleaned = -0.00610924 Jy ! Component: 200 - total flux cleaned = -0.00623583 Jy ! Total flux subtracted in 200 components = -0.00623583 Jy ! Clean residual min=-0.005093 max=0.005550 Jy/beam ! Clean residual mean=0.000001 rms=0.001289 Jy/beam ! Combined flux in latest and established models = 1.28173 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 36 components and 1.28173 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.249237Jy sigma=4.374992 ! Fit after self-cal, rms=0.249236Jy sigma=4.374964 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 (-47.6, 50.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00515866 Jy ! Component: 100 - total flux cleaned = 0.00774082 Jy ! Component: 150 - total flux cleaned = 0.00901124 Jy ! Component: 200 - total flux cleaned = 0.0098801 Jy ! Total flux subtracted in 200 components = 0.0098801 Jy ! Clean residual min=-0.004263 max=0.004115 Jy/beam ! Clean residual mean=0.000001 rms=0.001125 Jy/beam ! Combined flux in latest and established models = 1.29161 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 48 components and 1.29161 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.249137Jy sigma=4.372747 ! Fit after self-cal, rms=0.249122Jy sigma=4.372486 ! 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. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.249122Jy sigma=4.372486 ! Fit after self-cal, rms=0.248900Jy sigma=4.371902 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8018 mas, bmaj=2.624 mas, bpa=15.16 degrees ! Estimated noise=1.14502 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00139897 Jy ! Component: 100 - total flux cleaned = 0.00179278 Jy ! Component: 150 - total flux cleaned = 0.00215973 Jy ! Component: 200 - total flux cleaned = 0.0023692 Jy ! Total flux subtracted in 200 components = 0.0023692 Jy ! Clean residual min=-0.004036 max=0.003704 Jy/beam ! Clean residual mean=-0.000000 rms=0.001013 Jy/beam ! Combined flux in latest and established models = 1.29398 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 57 components and 1.29398 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.248862Jy sigma=4.371011 ! Fit after self-cal, rms=0.248858Jy sigma=4.370934 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.000920233 Jy ! Component: 100 - total flux cleaned = 0.0012436 Jy ! Component: 150 - total flux cleaned = 0.00140587 Jy ! Component: 200 - total flux cleaned = 0.00144409 Jy ! Total flux subtracted in 200 components = 0.00144409 Jy ! Clean residual min=-0.003995 max=0.003761 Jy/beam ! Clean residual mean=-0.000003 rms=0.000993 Jy/beam ! Combined flux in latest and established models = 1.29543 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 60 components and 1.29543 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.248843Jy sigma=4.370648 ! Fit after self-cal, rms=0.248842Jy sigma=4.370625 ! 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. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.248842Jy sigma=4.370625 ! Fit after self-cal, rms=0.248640Jy sigma=4.370425 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.838 mas, bmaj=3.687 mas, bpa=-3.501 degrees ! Estimated noise=1.57641 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00137527 Jy ! Component: 100 - total flux cleaned = 0.00156531 Jy ! Component: 150 - total flux cleaned = 0.00168338 Jy ! Component: 200 - total flux cleaned = 0.0016517 Jy ! Total flux subtracted in 200 components = 0.0016517 Jy ! Clean residual min=-0.004119 max=0.004291 Jy/beam ! Clean residual mean=-0.000002 rms=0.001314 Jy/beam ! Combined flux in latest and established models = 1.29708 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 69 components and 1.29708 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.248631Jy sigma=4.370205 ! Fit after self-cal, rms=0.248630Jy sigma=4.370175 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.000735083 Jy ! Component: 100 - total flux cleaned = 0.000797964 Jy ! Component: 150 - total flux cleaned = 0.000827142 Jy ! Component: 200 - total flux cleaned = 0.000799637 Jy ! Total flux subtracted in 200 components = 0.000799637 Jy ! Clean residual min=-0.004298 max=0.004512 Jy/beam ! Clean residual mean=-0.000005 rms=0.001295 Jy/beam ! Combined flux in latest and established models = 1.29788 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 77 components and 1.29788 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.248626Jy sigma=4.370118 ! Fit after self-cal, rms=0.248626Jy sigma=4.370111 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "************** FINISHED AMPLITUDE SELF-CAL **************" ! ************** FINISHED AMPLITUDE SELF-CAL ************** restore ! Inverting map and beam ! Estimated beam: bmin=0.8025 mas, bmaj=2.625 mas, bpa=15.15 degrees ! Estimated noise=1.14498 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8025 x 2.625 at 15.15 degrees (North through East) ! Clean map min=-0.0036794 max=1.1362 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 ! Performing amp+phase self-cal ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.248626Jy sigma=4.370111 ! Fit after self-cal, rms=0.231346Jy sigma=4.065942 ! Inverting map and beam ! Estimated beam: bmin=0.8059 mas, bmaj=2.624 mas, bpa=15.2 degrees ! Estimated noise=1.08123 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0507484 Jy ! Component: 100 - total flux cleaned = -0.0672787 Jy ! Component: 150 - total flux cleaned = -0.0724446 Jy ! Component: 200 - total flux cleaned = -0.0732063 Jy ! Total flux subtracted in 200 components = -0.0732063 Jy ! Clean residual min=-0.010867 max=0.019328 Jy/beam ! Clean residual mean=0.000001 rms=0.003801 Jy/beam ! Combined flux in latest and established models = 1.22467 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 92 components and 1.22467 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.220029Jy sigma=3.886768 ! Fit after self-cal, rms=0.220027Jy sigma=3.886628 ! Inverting map ! Added new window around map position (-4.6, -36.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0157915 Jy ! Component: 100 - total flux cleaned = 0.0181873 Jy ! Component: 150 - total flux cleaned = 0.0186028 Jy ! Component: 200 - total flux cleaned = 0.01897 Jy ! Total flux subtracted in 200 components = 0.01897 Jy ! Clean residual min=-0.009090 max=0.014224 Jy/beam ! Clean residual mean=-0.000020 rms=0.002811 Jy/beam ! Combined flux in latest and established models = 1.24364 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 117 components and 1.24364 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.218581Jy sigma=3.871879 ! Fit after self-cal, rms=0.218492Jy sigma=3.869503 ! Inverting map ! Performing amp+phase self-cal ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.218492Jy sigma=3.869503 ! Fit after self-cal, rms=0.209235Jy sigma=3.678151 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.6436 mas, bmaj=2.491 mas, bpa=17.67 degrees ! Estimated noise=1.48625 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.761385 Jy ! Component: 100 - total flux cleaned = 0.966022 Jy ! Component: 150 - total flux cleaned = 1.05768 Jy ! Component: 200 - total flux cleaned = 1.10451 Jy ! Total flux subtracted in 200 components = 1.10451 Jy ! Clean residual min=-0.032397 max=0.034408 Jy/beam ! Clean residual mean=-0.000015 rms=0.008099 Jy/beam ! Combined flux in latest and established models = 1.1045 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 9 model components to the UV plane model. ! The established model now contains 9 components and 1.1045 Jy ! Inverting map and beam ! Estimated beam: bmin=0.8089 mas, bmaj=2.625 mas, bpa=15.22 degrees ! Estimated noise=1.02919 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 (6, -2.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0321137 Jy ! Component: 100 - total flux cleaned = 0.0508247 Jy ! Component: 150 - total flux cleaned = 0.0622837 Jy ! Component: 200 - total flux cleaned = 0.0670173 Jy ! Total flux subtracted in 200 components = 0.0670173 Jy ! Clean residual min=-0.012477 max=0.020718 Jy/beam ! Clean residual mean=-0.000011 rms=0.003680 Jy/beam ! Combined flux in latest and established models = 1.17152 Jy ! Adding 27 model components to the UV plane model. ! The established model now contains 33 components and 1.17152 Jy ! Inverting map ! Added new window around map position (4.6, 36.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0184974 Jy ! Component: 100 - total flux cleaned = 0.0252431 Jy ! Component: 150 - total flux cleaned = 0.028072 Jy ! Component: 200 - total flux cleaned = 0.0300464 Jy ! Total flux subtracted in 200 components = 0.0300464 Jy ! Clean residual min=-0.008629 max=0.010208 Jy/beam ! Clean residual mean=-0.000026 rms=0.002149 Jy/beam ! Combined flux in latest and established models = 1.20157 Jy ! Adding 27 model components to the UV plane model. ! The established model now contains 56 components and 1.20157 Jy ! Inverting map ! Added new window around map position (3.8, -1.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00897093 Jy ! Component: 100 - total flux cleaned = 0.012315 Jy ! Component: 150 - total flux cleaned = 0.0130578 Jy ! Component: 200 - total flux cleaned = 0.0133768 Jy ! Total flux subtracted in 200 components = 0.0133768 Jy ! Clean residual min=-0.006127 max=0.005602 Jy/beam ! Clean residual mean=-0.000022 rms=0.001452 Jy/beam ! Combined flux in latest and established models = 1.21495 Jy ! Adding 23 model components to the UV plane model. ! The established model now contains 75 components and 1.21495 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=1.843 mas, bmaj=3.713 mas, bpa=-3.665 degrees ! Estimated noise=1.4026 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000172731 Jy ! Component: 100 - total flux cleaned = 0.00111215 Jy ! Component: 150 - total flux cleaned = 0.00170318 Jy ! Component: 200 - total flux cleaned = 0.00211318 Jy ! Total flux subtracted in 200 components = 0.00211318 Jy ! Clean residual min=-0.005323 max=0.005768 Jy/beam ! Clean residual mean=-0.000037 rms=0.001681 Jy/beam ! Combined flux in latest and established models = 1.21706 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.000375882 Jy ! Component: 100 - total flux cleaned = 0.000725653 Jy ! Component: 150 - total flux cleaned = 0.000969493 Jy ! Component: 200 - total flux cleaned = 0.00104743 Jy ! Total flux subtracted in 200 components = 0.00104743 Jy ! Clean residual min=-0.004706 max=0.005650 Jy/beam ! Clean residual mean=-0.000032 rms=0.001507 Jy/beam ! Combined flux in latest and established models = 1.21811 Jy ! Adding 61 model components to the UV plane model. ! The established model now contains 131 components and 1.21811 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.8089 mas, bmaj=2.625 mas, bpa=15.22 degrees ! Estimated noise=1.02919 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00166501 Jy ! Component: 100 - total flux cleaned = -0.00192556 Jy ! Component: 150 - total flux cleaned = -0.00181132 Jy ! Component: 200 - total flux cleaned = -0.00181009 Jy ! Total flux subtracted in 200 components = -0.00181009 Jy ! Clean residual min=-0.004993 max=0.005017 Jy/beam ! Clean residual mean=-0.000013 rms=0.001101 Jy/beam ! Combined flux in latest and established models = 1.2163 Jy selfcal ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 156 components and 1.2163 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Not correcting unselected IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Not correcting unselected IF 9. ! ! Not correcting unselected IF 10. ! ! Not correcting unselected IF 11. ! ! Not correcting unselected IF 12. ! ! Fit before self-cal, rms=0.196503Jy sigma=3.519380 ! Fit after self-cal, rms=0.196459Jy sigma=3.518431 wmodel /scr/pima/bg219a_uvs/J1848+3219_X_map.mod ! Writing 156 model components to file: /scr/pima/bg219a_uvs/J1848+3219_X_map.mod wobs /scr/pima/bg219a_uvs/J1848+3219_X_uvs.fits ! Writing UV FITS file: /scr/pima/bg219a_uvs/J1848+3219_X_uvs.fits wwins /scr/pima/bg219a_uvs/J1848+3219_X_map.win ! wwins: Wrote 6 windows to /scr/pima/bg219a_uvs/J1848+3219_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 = 5.83886e-05 Jy ! Component: 100 - total flux cleaned = 6.18867e-05 Jy ! Component: 150 - total flux cleaned = 0.000265423 Jy ! Component: 200 - total flux cleaned = 0.000328557 Jy ! Component: 250 - total flux cleaned = 0.00038966 Jy ! Component: 300 - total flux cleaned = 0.000390534 Jy ! Component: 350 - total flux cleaned = 0.000660683 Jy ! Component: 400 - total flux cleaned = 0.00102339 Jy ! Component: 450 - total flux cleaned = 0.00112339 Jy ! Component: 500 - total flux cleaned = 0.00146476 Jy ! Component: 550 - total flux cleaned = 0.00189191 Jy ! Component: 600 - total flux cleaned = 0.00212358 Jy ! Component: 650 - total flux cleaned = 0.00253062 Jy ! Component: 700 - total flux cleaned = 0.00279566 Jy ! Component: 750 - total flux cleaned = 0.00318563 Jy ! Component: 800 - total flux cleaned = 0.00344015 Jy ! Component: 850 - total flux cleaned = 0.00368885 Jy ! Component: 900 - total flux cleaned = 0.00397293 Jy ! Component: 950 - total flux cleaned = 0.00417164 Jy ! Component: 1000 - total flux cleaned = 0.00428898 Jy ! Component: 1050 - total flux cleaned = 0.00440436 Jy ! Component: 1100 - total flux cleaned = 0.00448002 Jy ! Component: 1150 - total flux cleaned = 0.00462842 Jy ! Component: 1200 - total flux cleaned = 0.00477494 Jy ! Component: 1250 - total flux cleaned = 0.00481123 Jy ! Component: 1300 - total flux cleaned = 0.00481093 Jy ! Component: 1350 - total flux cleaned = 0.00477528 Jy ! Component: 1400 - total flux cleaned = 0.00481045 Jy ! Component: 1450 - total flux cleaned = 0.00481061 Jy ! Component: 1500 - total flux cleaned = 0.00491532 Jy ! Component: 1550 - total flux cleaned = 0.00498436 Jy ! Component: 1600 - total flux cleaned = 0.00508763 Jy ! Component: 1650 - total flux cleaned = 0.00518999 Jy ! Component: 1700 - total flux cleaned = 0.00532587 Jy ! Component: 1750 - total flux cleaned = 0.00542738 Jy ! Component: 1800 - total flux cleaned = 0.0054947 Jy ! Component: 1850 - total flux cleaned = 0.00576332 Jy ! Component: 1900 - total flux cleaned = 0.00596404 Jy ! Component: 1950 - total flux cleaned = 0.00616426 Jy ! Component: 2000 - total flux cleaned = 0.0062975 Jy ! Component: 2050 - total flux cleaned = 0.00646368 Jy ! Component: 2100 - total flux cleaned = 0.00672927 Jy ! Component: 2150 - total flux cleaned = 0.00692797 Jy ! Component: 2200 - total flux cleaned = 0.00706041 Jy ! Component: 2250 - total flux cleaned = 0.00722578 Jy ! Component: 2300 - total flux cleaned = 0.00742448 Jy ! Component: 2350 - total flux cleaned = 0.00759026 Jy ! Component: 2400 - total flux cleaned = 0.00785562 Jy ! Component: 2450 - total flux cleaned = 0.00798829 Jy ! Component: 2500 - total flux cleaned = 0.00822062 Jy ! Component: 2550 - total flux cleaned = 0.00841987 Jy ! Component: 2600 - total flux cleaned = 0.00861958 Jy ! Component: 2650 - total flux cleaned = 0.00868608 Jy ! Component: 2700 - total flux cleaned = 0.00885333 Jy ! Component: 2750 - total flux cleaned = 0.00895382 Jy ! Component: 2800 - total flux cleaned = 0.00905488 Jy ! Component: 2850 - total flux cleaned = 0.00915595 Jy ! Component: 2900 - total flux cleaned = 0.00925767 Jy ! Component: 2950 - total flux cleaned = 0.00929175 Jy ! Component: 3000 - total flux cleaned = 0.00939447 Jy ! Component: 3050 - total flux cleaned = 0.00946317 Jy ! Component: 3100 - total flux cleaned = 0.00963584 Jy ! Component: 3150 - total flux cleaned = 0.00970513 Jy ! Component: 3200 - total flux cleaned = 0.00973995 Jy ! Component: 3250 - total flux cleaned = 0.00981009 Jy ! Component: 3300 - total flux cleaned = 0.00991594 Jy ! Component: 3350 - total flux cleaned = 0.00995153 Jy ! Component: 3400 - total flux cleaned = 0.0100231 Jy ! Component: 3450 - total flux cleaned = 0.0100951 Jy ! Component: 3500 - total flux cleaned = 0.0101316 Jy ! Component: 3550 - total flux cleaned = 0.0101682 Jy ! Component: 3600 - total flux cleaned = 0.010205 Jy ! Component: 3650 - total flux cleaned = 0.0102787 Jy ! Component: 3700 - total flux cleaned = 0.0103534 Jy ! Component: 3750 - total flux cleaned = 0.0104288 Jy ! Component: 3800 - total flux cleaned = 0.0104665 Jy ! Component: 3850 - total flux cleaned = 0.0105433 Jy ! Component: 3900 - total flux cleaned = 0.0105435 Jy ! Component: 3950 - total flux cleaned = 0.0105437 Jy ! Component: 4000 - total flux cleaned = 0.0106222 Jy ! Component: 4050 - total flux cleaned = 0.010583 Jy ! Total flux subtracted in 4096 components = 0.0106225 Jy ! Clean residual min=-0.002523 max=0.002623 Jy/beam ! Clean residual mean=0.000013 rms=0.000583 Jy/beam ! Combined flux in latest and established models = 1.22692 Jy keep ! Adding 183 model components to the UV plane model. ! The established model now contains 339 components and 1.22692 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bg219a_uvs/J1848+3219_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8089 x 2.625 at 15.22 degrees (North through East) ! Clean map min=-0.0060679 max=1.0167 Jy/beam ! Writing clean map to FITS file: /scr/pima/bg219a_uvs/J1848+3219_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 1.01667 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000619729 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.182871 0.182871 0.365742 0.731484 1.46297 2.92594 5.85187 11.7037 23.4075 46.815 93.63 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0018 print "peak= ", int(1000*peak_flux)/1000 ! peak= 1.016 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 1640.5 quit ! Quitting program ! Log file /scr/pima/bg219a_uvs/J1848+3219_X_uvs.log closed on Wed Apr 6 21:44:12 2016