! Started logfile: /d2/scr/pima/bp171a2_uvs/J0943+0243_C_uvs.log on Tue Feb 18 20:31:12 2014 obs /d2/scr/pima/bp171a2_uvs/J0943+0243_C_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp171a2_uvs/J0943+0243_C_uva.fits ! AN table 1: 3 integrations on 6 of 6 possible baselines. ! Apparent sampling: 0.833333 visibilities/baseline/integration-bin. ! Found source: J0943+0243 ! ! 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 3.928e+09 3.2e+07 1 3.2e+07 ! 02 2 3.96e+09 3.2e+07 1 3.2e+07 ! 03 3 3.992e+09 3.2e+07 1 3.2e+07 ! 04 4 4.024e+09 3.2e+07 1 3.2e+07 ! 05 5 4.216e+09 3.2e+07 1 3.2e+07 ! 06 6 4.312e+09 3.2e+07 1 3.2e+07 ! 07 7 4.344e+09 3.2e+07 1 3.2e+07 ! 08 8 4.376e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 120 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 /d2/scr/pima/bp171a2_uvs/J0943+0243_C] 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.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.000572Jy sigma=33.586636 ! Fit after self-cal, rms=0.956699Jy sigma=32.138772 ! 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=11.47 mas, bmaj=20.43 mas, bpa=15.96 degrees ! Estimated noise=2.78444 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=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0303418 Jy ! Component: 100 - total flux cleaned = 0.0363422 Jy ! Total flux subtracted in 100 components = 0.0363422 Jy ! Clean residual min=-0.005707 max=0.005717 Jy/beam ! Clean residual mean=-0.000019 rms=0.002703 Jy/beam ! Combined flux in latest and established models = 0.0363422 Jy ! Performing phase self-cal ! Adding 39 model components to the UV plane model. ! The established model now contains 39 components and 0.0363422 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.023536Jy sigma=0.626412 ! Fit after self-cal, rms=0.023183Jy sigma=0.612173 ! 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=13.92 mas, bmaj=18.51 mas, bpa=37.44 degrees ! Estimated noise=2.08139 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.00183531 Jy ! Component: 100 - total flux cleaned = -0.003184 Jy ! Component: 150 - total flux cleaned = -0.00432238 Jy ! Component: 200 - total flux cleaned = -0.00724664 Jy ! Total flux subtracted in 200 components = -0.00724664 Jy ! Clean residual min=-0.002297 max=0.002210 Jy/beam ! Clean residual mean=0.000012 rms=0.001057 Jy/beam ! Combined flux in latest and established models = 0.0290956 Jy ! Performing phase self-cal ! Adding 114 model components to the UV plane model. ! The established model now contains 153 components and 0.0290956 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.018562Jy sigma=0.478099 ! Fit after self-cal, rms=0.018484Jy sigma=0.475305 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 13.92 x 18.51 at 37.44 degrees (North through East) ! Clean map min=-0.0064605 max=0.030326 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: ! FD 1.00* KP 1.00* LA 1.00* PT 1.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 1.00* KP 1.00* LA 1.00* PT 1.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 1.00* KP 1.00* LA 1.00* PT 1.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 1.18 KP 0.88 LA 1.16 PT 0.88 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! FD 1.00* KP 1.00* LA 1.00* PT 1.00* ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! FD 0.85 KP 0.87 LA 0.93 PT 1.18 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! FD 1.09 KP 0.85 LA 0.94 PT 1.02 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! FD 1.00* KP 1.00* LA 1.00* PT 1.00* ! ! ! Fit before self-cal, rms=0.018484Jy sigma=0.475305 ! Fit after self-cal, rms=0.018175Jy sigma=0.463698 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=13.83 mas, bmaj=18.38 mas, bpa=35.48 degrees ! Estimated noise=2.0524 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.00128465 Jy ! Component: 100 - total flux cleaned = -0.00228886 Jy ! Component: 150 - total flux cleaned = -0.00344549 Jy ! Component: 200 - total flux cleaned = -0.00431362 Jy ! Total flux subtracted in 200 components = -0.00431362 Jy ! Clean residual min=-0.001068 max=0.001050 Jy/beam ! Clean residual mean=0.000013 rms=0.000418 Jy/beam ! Combined flux in latest and established models = 0.024782 Jy ! Performing phase self-cal ! Adding 109 model components to the UV plane model. ! The established model now contains 262 components and 0.024782 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.017494Jy sigma=0.451142 ! Fit after self-cal, rms=0.017519Jy sigma=0.450235 ! 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.017519Jy sigma=0.450235 ! Fit after self-cal, rms=0.017469Jy sigma=0.440582 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=13.67 mas, bmaj=18.36 mas, bpa=35.34 degrees ! Estimated noise=2.03107 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000742636 Jy ! Component: 100 - total flux cleaned = 0.000942783 Jy ! Component: 150 - total flux cleaned = 0.00145203 Jy ! Component: 200 - total flux cleaned = 0.00165351 Jy ! Total flux subtracted in 200 components = 0.00165351 Jy ! Clean residual min=-0.000705 max=0.000702 Jy/beam ! Clean residual mean=0.000013 rms=0.000282 Jy/beam ! Combined flux in latest and established models = 0.0264355 Jy selfcal ! Performing phase self-cal ! Adding 84 model components to the UV plane model. ! The established model now contains 336 components and 0.0264355 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.017170Jy sigma=0.434848 ! Fit after self-cal, rms=0.017179Jy sigma=0.434669 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.000313535 Jy ! Component: 100 - total flux cleaned = 0.000528333 Jy ! Component: 150 - total flux cleaned = 0.000638558 Jy ! Component: 200 - total flux cleaned = 0.000730881 Jy ! Total flux subtracted in 200 components = 0.000730881 Jy ! Clean residual min=-0.000529 max=0.000538 Jy/beam ! Clean residual mean=0.000012 rms=0.000207 Jy/beam ! Combined flux in latest and established models = 0.0271664 Jy ! Performing phase self-cal ! Adding 86 model components to the UV plane model. ! The established model now contains 405 components and 0.0271664 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.017077Jy sigma=0.433035 ! Fit after self-cal, rms=0.017082Jy sigma=0.433010 ! 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.017082Jy sigma=0.433010 ! Fit after self-cal, rms=0.017018Jy sigma=0.431259 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=13.56 mas, bmaj=18.39 mas, bpa=35.32 degrees ! Estimated noise=2.00767 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000323081 Jy ! Component: 100 - total flux cleaned = 0.000610735 Jy ! Component: 150 - total flux cleaned = 0.000794694 Jy ! Component: 200 - total flux cleaned = 0.000792719 Jy ! Total flux subtracted in 200 components = 0.000792719 Jy ! Clean residual min=-0.000399 max=0.000403 Jy/beam ! Clean residual mean=0.000007 rms=0.000146 Jy/beam ! Combined flux in latest and established models = 0.0279591 Jy selfcal ! Performing phase self-cal ! Adding 93 model components to the UV plane model. ! The established model now contains 483 components and 0.0279591 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.016904Jy sigma=0.428835 ! Fit after self-cal, rms=0.016899Jy sigma=0.428810 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.000414089 Jy ! Component: 100 - total flux cleaned = 0.000500043 Jy ! Component: 150 - total flux cleaned = 0.000539101 Jy ! Component: 200 - total flux cleaned = 0.000601564 Jy ! Total flux subtracted in 200 components = 0.000601564 Jy ! Clean residual min=-0.000372 max=0.000381 Jy/beam ! Clean residual mean=0.000009 rms=0.000143 Jy/beam ! Combined flux in latest and established models = 0.0285606 Jy ! Performing phase self-cal ! Adding 77 model components to the UV plane model. ! The established model now contains 537 components and 0.0285606 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.016854Jy sigma=0.428258 ! Fit after self-cal, rms=0.016859Jy sigma=0.428243 ! 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.016859Jy sigma=0.428243 ! Fit after self-cal, rms=0.016816Jy sigma=0.427326 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=13.57 mas, bmaj=18.43 mas, bpa=35.79 degrees ! Estimated noise=1.98472 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000109969 Jy ! Component: 100 - total flux cleaned = -9.67605e-05 Jy ! Component: 150 - total flux cleaned = -5.89898e-05 Jy ! Component: 200 - total flux cleaned = 0.000118285 Jy ! Total flux subtracted in 200 components = 0.000118285 Jy ! Clean residual min=-0.000347 max=0.000347 Jy/beam ! Clean residual mean=0.000005 rms=0.000121 Jy/beam ! Combined flux in latest and established models = 0.0286789 Jy selfcal ! Performing phase self-cal ! Adding 101 model components to the UV plane model. ! The established model now contains 630 components and 0.0286789 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.016765Jy sigma=0.426026 ! Fit after self-cal, rms=0.016757Jy sigma=0.426010 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.000234303 Jy ! Component: 100 - total flux cleaned = 0.000204999 Jy ! Component: 150 - total flux cleaned = 0.00014594 Jy ! Component: 200 - total flux cleaned = 4.02533e-05 Jy ! Total flux subtracted in 200 components = 4.02533e-05 Jy ! Clean residual min=-0.000257 max=0.000255 Jy/beam ! Clean residual mean=0.000007 rms=0.000103 Jy/beam ! Combined flux in latest and established models = 0.0287192 Jy ! Performing phase self-cal ! Adding 99 model components to the UV plane model. ! The established model now contains 721 components and 0.0287192 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.016732Jy sigma=0.425457 ! Fit after self-cal, rms=0.016736Jy sigma=0.425440 ! 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=13.48 mas, bmaj=18.42 mas, bpa=35.28 degrees ! Estimated noise=1.98192 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 13.48 x 18.42 at 35.28 degrees (North through East) ! Clean map min=-0.0054776 max=0.028409 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=11.15 mas, bmaj=20.61 mas, bpa=16.07 degrees ! Estimated noise=2.60725 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0289982 Jy ! Component: 100 - total flux cleaned = 0.0360186 Jy ! Component: 150 - total flux cleaned = 0.0378459 Jy ! Component: 200 - total flux cleaned = 0.0438374 Jy ! Total flux subtracted in 200 components = 0.0438374 Jy ! Clean residual min=-0.006442 max=0.006612 Jy/beam ! Clean residual mean=-0.000019 rms=0.002060 Jy/beam ! Combined flux in latest and established models = 0.0438374 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 64 model components to the UV plane model. ! The established model now contains 64 components and 0.0438374 Jy ! Inverting map and beam ! Estimated beam: bmin=13.48 mas, bmaj=18.42 mas, bpa=35.28 degrees ! Estimated noise=1.98192 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.000640948 Jy ! Component: 100 - total flux cleaned = -0.00340242 Jy ! Component: 150 - total flux cleaned = -0.0060616 Jy ! Component: 200 - total flux cleaned = -0.00950506 Jy ! Total flux subtracted in 200 components = -0.00950506 Jy ! Clean residual min=-0.002384 max=0.002290 Jy/beam ! Clean residual mean=0.000006 rms=0.000801 Jy/beam ! Combined flux in latest and established models = 0.0343323 Jy ! Adding 94 model components to the UV plane model. ! The established model now contains 158 components and 0.0343323 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=13.57 mas, bmaj=18.43 mas, bpa=35.79 degrees ! Estimated noise=1.98472 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00103191 Jy ! Component: 100 - total flux cleaned = 0.00156061 Jy ! Component: 150 - total flux cleaned = 0.00125932 Jy ! Component: 200 - total flux cleaned = 0.00114199 Jy ! Total flux subtracted in 200 components = 0.00114199 Jy ! Clean residual min=-0.001005 max=0.000973 Jy/beam ! Clean residual mean=0.000013 rms=0.000396 Jy/beam ! Combined flux in latest and established models = 0.0354743 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.000184232 Jy ! Component: 100 - total flux cleaned = -0.000323399 Jy ! Component: 150 - total flux cleaned = -0.000324102 Jy ! Component: 200 - total flux cleaned = -0.000331659 Jy ! Total flux subtracted in 200 components = -0.000331659 Jy ! Clean residual min=-0.001469 max=0.001474 Jy/beam ! Clean residual mean=0.000025 rms=0.000591 Jy/beam ! Combined flux in latest and established models = 0.0351426 Jy ! Adding 70 model components to the UV plane model. ! The established model now contains 228 components and 0.0351426 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=13.48 mas, bmaj=18.42 mas, bpa=35.28 degrees ! Estimated noise=1.98192 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00021688 Jy ! Component: 100 - total flux cleaned = 0.000551864 Jy ! Component: 150 - total flux cleaned = 0.000441499 Jy ! Component: 200 - total flux cleaned = 0.000257808 Jy ! Total flux subtracted in 200 components = 0.000257808 Jy ! Clean residual min=-0.000431 max=0.000432 Jy/beam ! Clean residual mean=0.000006 rms=0.000154 Jy/beam ! Combined flux in latest and established models = 0.0354004 Jy selfcal ! Performing phase self-cal ! Adding 73 model components to the UV plane model. ! The established model now contains 291 components and 0.0354004 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.016851Jy sigma=0.432665 ! Fit after self-cal, rms=0.016821Jy sigma=0.432317 wmodel /d2/scr/pima/bp171a2_uvs/J0943+0243_C_map.mod ! Writing 291 model components to file: /d2/scr/pima/bp171a2_uvs/J0943+0243_C_map.mod wobs /d2/scr/pima/bp171a2_uvs/J0943+0243_C_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp171a2_uvs/J0943+0243_C_uvs.fits wwins /d2/scr/pima/bp171a2_uvs/J0943+0243_C_map.win ! wwins: No CLEAN windows to write. ! Error occured in command: wwins ![Exited script file: /home/lpetrov/bin/01_muppet] ! wmap "/d2/scr/pima/bp171a2_uvs/J0943+0243_C\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 13.48 x 18.42 at 35.28 degrees (North through East) ! Clean map min=-0.0048173 max=0.018722 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp171a2_uvs/J0943+0243_C_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0187224 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000127709 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -2.04635 2.04635 4.09271 8.18542 16.3708 32.7417 65.4833 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0003 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.018 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 146.602 quit ! Quitting program ! Log file /d2/scr/pima/bp171a2_uvs/J0943+0243_C_uvs.log closed on Tue Feb 18 20:31:16 2014