! Started logfile: /d2/scr/pima/bp177j_uvs/J0441+0408_X_uvs.log on Thu Jun 19 03:27:22 2014 obs /d2/scr/pima/bp177j_uvs/J0441+0408_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp177j_uvs/J0441+0408_X_uva.fits ! AN table 1: 4 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.95 visibilities/baseline/integration-bin. ! Found source: J0441+0408 ! ! 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 1368 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/bp177j_uvs/J0441+0408_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 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.008007Jy sigma=37.212090 ! Fit after self-cal, rms=0.878430Jy sigma=32.485489 ! 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.7378 mas, bmaj=1.985 mas, bpa=-1.603 degrees ! Estimated noise=0.736871 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.0894261 Jy ! Component: 100 - total flux cleaned = 0.111257 Jy ! Total flux subtracted in 100 components = 0.111257 Jy ! Clean residual min=-0.004084 max=0.008767 Jy/beam ! Clean residual mean=-0.000001 rms=0.001187 Jy/beam ! Combined flux in latest and established models = 0.111257 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.111257 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.027803Jy sigma=0.919016 ! Fit after self-cal, rms=0.027785Jy sigma=0.918404 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00926393 Jy ! Component: 100 - total flux cleaned = 0.0139579 Jy ! Total flux subtracted in 100 components = 0.0139579 Jy ! Clean residual min=-0.003573 max=0.003996 Jy/beam ! Clean residual mean=-0.000001 rms=0.000795 Jy/beam ! Combined flux in latest and established models = 0.125215 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 14 components and 0.125215 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.022829Jy sigma=0.738427 ! Fit after self-cal, rms=0.022812Jy sigma=0.737916 ! 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.9199 mas, bmaj=2.261 mas, bpa=0.3163 degrees ! Estimated noise=0.534079 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.00501947 Jy ! Component: 100 - total flux cleaned = 0.00790929 Jy ! Component: 150 - total flux cleaned = 0.00976737 Jy ! Component: 200 - total flux cleaned = 0.0109797 Jy ! Total flux subtracted in 200 components = 0.0109797 Jy ! Clean residual min=-0.003499 max=0.003597 Jy/beam ! Clean residual mean=-0.000005 rms=0.000826 Jy/beam ! Combined flux in latest and established models = 0.136195 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 33 components and 0.136195 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.021409Jy sigma=0.698322 ! Fit after self-cal, rms=0.021403Jy sigma=0.698175 ! 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.9199 x 2.261 at 0.3163 degrees (North through East) ! Clean map min=-0.0034543 max=0.11843 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.16 FD 1.18 HN 0.91 KP 0.94 ! LA 1.04 MK 0.98 NL 1.07 OV 0.99 ! PT 0.86 SC 0.97 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 1.04 HN 0.91 KP 0.96 ! LA 0.94 MK 1.00 NL 1.07 OV 0.97 ! PT 0.91 SC 0.94 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.85 FD 1.11 HN 0.96 KP 1.10 ! LA 0.93 MK 1.03 NL 1.07 OV 1.00 ! PT 0.93 SC 0.98 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 FD 1.08 HN 1.02 KP 0.91 ! LA 0.96 MK 1.09 NL 1.00 OV 1.03 ! PT 0.94 SC 1.01 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.04 HN 0.99 KP 1.04 ! LA 1.00 MK 0.92 NL 0.96 OV 0.93 ! PT 0.88 SC 0.96 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.06 HN 1.10 KP 1.01 ! LA 1.03 MK 0.97 NL 1.05 OV 1.01 ! PT 0.92 SC 1.02 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.03 HN 1.00 KP 1.04 ! LA 0.93 MK 1.00 NL 1.04 OV 1.02 ! PT 0.90 SC 1.01 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.17 FD 1.02 HN 1.04 KP 1.05 ! LA 0.89 MK 0.97 NL 1.04 OV 1.03 ! PT 0.84 SC 1.07 ! ! ! Fit before self-cal, rms=0.021403Jy sigma=0.698175 ! Fit after self-cal, rms=0.017635Jy sigma=0.545193 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.9192 mas, bmaj=2.273 mas, bpa=0.2356 degrees ! Estimated noise=0.532741 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 (-1, -0.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00158163 Jy ! Component: 100 - total flux cleaned = 0.00163156 Jy ! Component: 150 - total flux cleaned = 0.00156593 Jy ! Component: 200 - total flux cleaned = 0.00148017 Jy ! Total flux subtracted in 200 components = 0.00148017 Jy ! Clean residual min=-0.001331 max=0.001541 Jy/beam ! Clean residual mean=-0.000001 rms=0.000318 Jy/beam ! Combined flux in latest and established models = 0.137675 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 48 components and 0.137675 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.017409Jy sigma=0.535429 ! Fit after self-cal, rms=0.017382Jy sigma=0.534979 ! 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.017382Jy sigma=0.534979 ! Fit after self-cal, rms=0.017345Jy sigma=0.534158 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9164 mas, bmaj=2.269 mas, bpa=0.2178 degrees ! Estimated noise=0.53206 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000469363 Jy ! Component: 100 - total flux cleaned = 0.000474412 Jy ! Component: 150 - total flux cleaned = 0.000420394 Jy ! Component: 200 - total flux cleaned = 0.000403536 Jy ! Total flux subtracted in 200 components = 0.000403536 Jy ! Clean residual min=-0.001299 max=0.001411 Jy/beam ! Clean residual mean=-0.000001 rms=0.000297 Jy/beam ! Combined flux in latest and established models = 0.138078 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 56 components and 0.138078 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.017293Jy sigma=0.531977 ! Fit after self-cal, rms=0.017288Jy sigma=0.531907 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 (-1.2, -48.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000808 Jy ! Component: 100 - total flux cleaned = 0.000871019 Jy ! Component: 150 - total flux cleaned = 0.000727981 Jy ! Component: 200 - total flux cleaned = 0.000727403 Jy ! Total flux subtracted in 200 components = 0.000727403 Jy ! Clean residual min=-0.001271 max=0.001322 Jy/beam ! Clean residual mean=-0.000001 rms=0.000272 Jy/beam ! Combined flux in latest and established models = 0.138806 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 74 components and 0.138806 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.017188Jy sigma=0.527725 ! Fit after self-cal, rms=0.017180Jy sigma=0.527608 ! Inverting map ! Added new window around map position (-36.4, 34.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000639878 Jy ! Component: 100 - total flux cleaned = 0.000436993 Jy ! Component: 150 - total flux cleaned = 0.000352605 Jy ! Component: 200 - total flux cleaned = 0.000335866 Jy ! Total flux subtracted in 200 components = 0.000335866 Jy ! Clean residual min=-0.001254 max=0.001156 Jy/beam ! Clean residual mean=-0.000001 rms=0.000254 Jy/beam ! Combined flux in latest and established models = 0.139142 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 86 components and 0.139142 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.017092Jy sigma=0.524158 ! Fit after self-cal, rms=0.017090Jy sigma=0.524035 ! 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.017090Jy sigma=0.524035 ! Fit after self-cal, rms=0.017062Jy sigma=0.523654 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9154 mas, bmaj=2.268 mas, bpa=0.1961 degrees ! Estimated noise=0.531187 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000122771 Jy ! Component: 100 - total flux cleaned = 8.76847e-05 Jy ! Component: 150 - total flux cleaned = 7.17613e-05 Jy ! Component: 200 - total flux cleaned = 8.64433e-05 Jy ! Total flux subtracted in 200 components = 8.64433e-05 Jy ! Clean residual min=-0.001205 max=0.001155 Jy/beam ! Clean residual mean=-0.000001 rms=0.000247 Jy/beam ! Combined flux in latest and established models = 0.139228 Jy selfcal ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 94 components and 0.139228 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.017030Jy sigma=0.522530 ! Fit after self-cal, rms=0.017027Jy sigma=0.522510 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 = 6.63217e-08 Jy ! Component: 100 - total flux cleaned = 1.3521e-05 Jy ! Component: 150 - total flux cleaned = 3.8669e-05 Jy ! Component: 200 - total flux cleaned = 5.0315e-05 Jy ! Total flux subtracted in 200 components = 5.0315e-05 Jy ! Clean residual min=-0.001172 max=0.001137 Jy/beam ! Clean residual mean=-0.000001 rms=0.000244 Jy/beam ! Combined flux in latest and established models = 0.139278 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 99 components and 0.139278 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.017009Jy sigma=0.521834 ! Fit after self-cal, rms=0.017007Jy sigma=0.521824 ! 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.017007Jy sigma=0.521824 ! Fit after self-cal, rms=0.017006Jy sigma=0.521728 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.106 mas, bmaj=3.414 mas, bpa=1.945 degrees ! Estimated noise=0.675206 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000294315 Jy ! Component: 100 - total flux cleaned = 0.000373407 Jy ! Component: 150 - total flux cleaned = 0.000411847 Jy ! Component: 200 - total flux cleaned = 0.00042632 Jy ! Total flux subtracted in 200 components = 0.00042632 Jy ! Clean residual min=-0.001172 max=0.001365 Jy/beam ! Clean residual mean=-0.000001 rms=0.000304 Jy/beam ! Combined flux in latest and established models = 0.139705 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 113 components and 0.139705 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.017000Jy sigma=0.521590 ! Fit after self-cal, rms=0.016998Jy sigma=0.521573 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 (-23, -33.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0011109 Jy ! Component: 100 - total flux cleaned = 0.00156354 Jy ! Component: 150 - total flux cleaned = 0.00172693 Jy ! Component: 200 - total flux cleaned = 0.00190611 Jy ! Total flux subtracted in 200 components = 0.00190611 Jy ! Clean residual min=-0.001055 max=0.000979 Jy/beam ! Clean residual mean=-0.000001 rms=0.000235 Jy/beam ! Combined flux in latest and established models = 0.141611 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 147 components and 0.141611 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.016935Jy sigma=0.519654 ! Fit after self-cal, rms=0.016932Jy sigma=0.519568 ! 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.915 mas, bmaj=2.268 mas, bpa=0.1919 degrees ! Estimated noise=0.53101 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.915 x 2.268 at 0.1919 degrees (North through East) ! Clean map min=-0.00097853 max=0.11811 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.7331 mas, bmaj=1.99 mas, bpa=-1.563 degrees ! Estimated noise=0.732013 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0888041 Jy ! Component: 100 - total flux cleaned = 0.111046 Jy ! Component: 150 - total flux cleaned = 0.120691 Jy ! Component: 200 - total flux cleaned = 0.125807 Jy ! Total flux subtracted in 200 components = 0.125807 Jy ! Clean residual min=-0.002266 max=0.002612 Jy/beam ! Clean residual mean=-0.000000 rms=0.000546 Jy/beam ! Combined flux in latest and established models = 0.125807 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 17 model components to the UV plane model. ! The established model now contains 17 components and 0.125807 Jy ! Inverting map and beam ! Estimated beam: bmin=0.915 mas, bmaj=2.268 mas, bpa=0.1919 degrees ! Estimated noise=0.53101 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.00483978 Jy ! Component: 100 - total flux cleaned = 0.00749862 Jy ! Component: 150 - total flux cleaned = 0.00934657 Jy ! Component: 200 - total flux cleaned = 0.0108024 Jy ! Total flux subtracted in 200 components = 0.0108024 Jy ! Clean residual min=-0.001453 max=0.001251 Jy/beam ! Clean residual mean=-0.000001 rms=0.000323 Jy/beam ! Combined flux in latest and established models = 0.13661 Jy ! Adding 25 model components to the UV plane model. ! The established model now contains 37 components and 0.13661 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.106 mas, bmaj=3.414 mas, bpa=1.945 degrees ! Estimated noise=0.675206 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00157729 Jy ! Component: 100 - total flux cleaned = 0.00248129 Jy ! Component: 150 - total flux cleaned = 0.00289927 Jy ! Component: 200 - total flux cleaned = 0.00330662 Jy ! Total flux subtracted in 200 components = 0.00330662 Jy ! Clean residual min=-0.001039 max=0.001119 Jy/beam ! Clean residual mean=-0.000001 rms=0.000278 Jy/beam ! Combined flux in latest and established models = 0.139916 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.000383342 Jy ! Component: 100 - total flux cleaned = 0.000686188 Jy ! Component: 150 - total flux cleaned = 0.000906999 Jy ! Component: 200 - total flux cleaned = 0.00107717 Jy ! Total flux subtracted in 200 components = 0.00107717 Jy ! Clean residual min=-0.000980 max=0.001033 Jy/beam ! Clean residual mean=-0.000001 rms=0.000250 Jy/beam ! Combined flux in latest and established models = 0.140993 Jy ! Adding 68 model components to the UV plane model. ! The established model now contains 95 components and 0.140993 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.915 mas, bmaj=2.268 mas, bpa=0.1919 degrees ! Estimated noise=0.53101 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000112805 Jy ! Component: 100 - total flux cleaned = -2.04481e-05 Jy ! Component: 150 - total flux cleaned = -7.69695e-05 Jy ! Component: 200 - total flux cleaned = -2.1982e-06 Jy ! Total flux subtracted in 200 components = -2.1982e-06 Jy ! Clean residual min=-0.001181 max=0.000990 Jy/beam ! Clean residual mean=-0.000000 rms=0.000237 Jy/beam ! Combined flux in latest and established models = 0.140991 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 117 components and 0.140991 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.017024Jy sigma=0.523432 ! Fit after self-cal, rms=0.017024Jy sigma=0.523120 wmodel /d2/scr/pima/bp177j_uvs/J0441+0408_X_map.mod ! Writing 117 model components to file: /d2/scr/pima/bp177j_uvs/J0441+0408_X_map.mod wobs /d2/scr/pima/bp177j_uvs/J0441+0408_X_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp177j_uvs/J0441+0408_X_uvs.fits wwins /d2/scr/pima/bp177j_uvs/J0441+0408_X_map.win ! wwins: Wrote 5 windows to /d2/scr/pima/bp177j_uvs/J0441+0408_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.000367761 Jy ! Component: 100 - total flux cleaned = -0.00041864 Jy ! Component: 150 - total flux cleaned = -0.000516803 Jy ! Component: 200 - total flux cleaned = -0.00054745 Jy ! Component: 250 - total flux cleaned = -0.000532738 Jy ! Component: 300 - total flux cleaned = -0.000604054 Jy ! Component: 350 - total flux cleaned = -0.000617372 Jy ! Component: 400 - total flux cleaned = -0.000630592 Jy ! Component: 450 - total flux cleaned = -0.000643493 Jy ! Component: 500 - total flux cleaned = -0.000668892 Jy ! Component: 550 - total flux cleaned = -0.000681366 Jy ! Component: 600 - total flux cleaned = -0.000729594 Jy ! Component: 650 - total flux cleaned = -0.000776674 Jy ! Component: 700 - total flux cleaned = -0.000845674 Jy ! Component: 750 - total flux cleaned = -0.000901754 Jy ! Component: 800 - total flux cleaned = -0.000923872 Jy ! Component: 850 - total flux cleaned = -0.00096721 Jy ! Component: 900 - total flux cleaned = -0.00102024 Jy ! Component: 950 - total flux cleaned = -0.00104084 Jy ! Component: 1000 - total flux cleaned = -0.0010512 Jy ! Component: 1050 - total flux cleaned = -0.00109171 Jy ! Component: 1100 - total flux cleaned = -0.00113133 Jy ! Component: 1150 - total flux cleaned = -0.00114092 Jy ! Component: 1200 - total flux cleaned = -0.00118883 Jy ! Component: 1250 - total flux cleaned = -0.00122655 Jy ! Component: 1300 - total flux cleaned = -0.00131015 Jy ! Component: 1350 - total flux cleaned = -0.00134682 Jy ! Component: 1400 - total flux cleaned = -0.00140122 Jy ! Component: 1450 - total flux cleaned = -0.00146372 Jy ! Component: 1500 - total flux cleaned = -0.00150779 Jy ! Component: 1550 - total flux cleaned = -0.00154257 Jy ! Component: 1600 - total flux cleaned = -0.0015683 Jy ! Component: 1650 - total flux cleaned = -0.0016276 Jy ! Component: 1700 - total flux cleaned = -0.00161069 Jy ! Component: 1750 - total flux cleaned = -0.00167697 Jy ! Component: 1800 - total flux cleaned = -0.0016932 Jy ! Component: 1850 - total flux cleaned = -0.0016933 Jy ! Component: 1900 - total flux cleaned = -0.0017333 Jy ! Component: 1950 - total flux cleaned = -0.00174118 Jy ! Component: 2000 - total flux cleaned = -0.00178794 Jy ! Component: 2050 - total flux cleaned = -0.00180317 Jy ! Component: 2100 - total flux cleaned = -0.0018108 Jy ! Component: 2150 - total flux cleaned = -0.00184104 Jy ! Component: 2200 - total flux cleaned = -0.00185602 Jy ! Component: 2250 - total flux cleaned = -0.00188552 Jy ! Component: 2300 - total flux cleaned = -0.00189293 Jy ! Component: 2350 - total flux cleaned = -0.00192916 Jy ! Component: 2400 - total flux cleaned = -0.00195777 Jy ! Component: 2450 - total flux cleaned = -0.00197896 Jy ! Component: 2500 - total flux cleaned = -0.00199296 Jy ! Component: 2550 - total flux cleaned = -0.00200683 Jy ! Component: 2600 - total flux cleaned = -0.00203427 Jy ! Component: 2650 - total flux cleaned = -0.00206157 Jy ! Component: 2700 - total flux cleaned = -0.00207508 Jy ! Component: 2750 - total flux cleaned = -0.00208846 Jy ! Component: 2800 - total flux cleaned = -0.00208844 Jy ! Component: 2850 - total flux cleaned = -0.00214097 Jy ! Component: 2900 - total flux cleaned = -0.0021344 Jy ! Component: 2950 - total flux cleaned = -0.00215374 Jy ! Component: 3000 - total flux cleaned = -0.00216018 Jy ! Component: 3050 - total flux cleaned = -0.00217935 Jy ! Component: 3100 - total flux cleaned = -0.002192 Jy ! Component: 3150 - total flux cleaned = -0.00219829 Jy ! Component: 3200 - total flux cleaned = -0.00220452 Jy ! Component: 3250 - total flux cleaned = -0.00220456 Jy ! Component: 3300 - total flux cleaned = -0.00223519 Jy ! Component: 3350 - total flux cleaned = -0.00223519 Jy ! Component: 3400 - total flux cleaned = -0.00224119 Jy ! Component: 3450 - total flux cleaned = -0.00225917 Jy ! Component: 3500 - total flux cleaned = -0.00229493 Jy ! Component: 3550 - total flux cleaned = -0.00230084 Jy ! Component: 3600 - total flux cleaned = -0.00230085 Jy ! Component: 3650 - total flux cleaned = -0.0023184 Jy ! Component: 3700 - total flux cleaned = -0.00233005 Jy ! Component: 3750 - total flux cleaned = -0.00234157 Jy ! Component: 3800 - total flux cleaned = -0.00236441 Jy ! Component: 3850 - total flux cleaned = -0.00234164 Jy ! Component: 3900 - total flux cleaned = -0.00238126 Jy ! Component: 3950 - total flux cleaned = -0.00239815 Jy ! Component: 4000 - total flux cleaned = -0.0024093 Jy ! Component: 4050 - total flux cleaned = -0.002426 Jy ! Total flux subtracted in 4096 components = -0.00244259 Jy ! Clean residual min=-0.000371 max=0.000327 Jy/beam ! Clean residual mean=-0.000000 rms=0.000092 Jy/beam ! Combined flux in latest and established models = 0.138549 Jy keep ! Adding 246 model components to the UV plane model. ! The established model now contains 363 components and 0.138549 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp177j_uvs/J0441+0408_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.915 x 2.268 at 0.1919 degrees (North through East) ! Clean map min=-0.00066851 max=0.11852 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp177j_uvs/J0441+0408_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.118516 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 9.16132e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.231901 0.231901 0.463801 0.927602 1.8552 3.71041 7.42082 14.8416 29.6833 59.3666 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0002 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.118 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 1293.66 quit ! Quitting program ! Log file /d2/scr/pima/bp177j_uvs/J0441+0408_X_uvs.log closed on Thu Jun 19 03:27:27 2014