! Started logfile: /scr/pima/bp171ac_uvs/J0520+4528_C_uvs.log on Mon Dec 9 01:50:13 2013 obs /scr/pima/bp171ac_uvs/J0520+4528_C_uva.fits ! Reading UV FITS file: /scr/pima/bp171ac_uvs/J0520+4528_C_uva.fits ! AN table 1: 3 integrations on 6 of 6 possible baselines. ! Apparent sampling: 0.666667 visibilities/baseline/integration-bin. ! Found source: J0520+4528 ! ! 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 96 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/bp171ac_uvs/J0520+4528_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.001099Jy sigma=2.087083 ! Fit after self-cal, rms=0.969486Jy sigma=1.953601 ! 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=15.96 mas, bmaj=18.78 mas, bpa=-38.01 degrees ! Estimated noise=62.8912 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.00796849 Jy ! Component: 100 - total flux cleaned = 0.00536473 Jy ! Total flux subtracted in 100 components = 0.00536473 Jy ! Clean residual min=-0.011182 max=0.011215 Jy/beam ! Clean residual mean=0.000796 rms=0.005403 Jy/beam ! Combined flux in latest and established models = 0.00536473 Jy ! Performing phase self-cal ! Adding 65 model components to the UV plane model. ! The established model now contains 65 components and 0.00536473 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.024786Jy sigma=0.053120 ! Fit after self-cal, rms=0.022230Jy sigma=0.050212 ! 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=15.48 mas, bmaj=19.79 mas, bpa=-50.66 degrees ! Estimated noise=40.7329 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.00497196 Jy ! Component: 100 - total flux cleaned = 0.010683 Jy ! Component: 150 - total flux cleaned = 0.0168655 Jy ! Component: 200 - total flux cleaned = 0.024124 Jy ! Total flux subtracted in 200 components = 0.024124 Jy ! Clean residual min=-0.003803 max=0.005303 Jy/beam ! Clean residual mean=0.000191 rms=0.001776 Jy/beam ! Combined flux in latest and established models = 0.0294887 Jy ! Performing phase self-cal ! Adding 106 model components to the UV plane model. ! The established model now contains 171 components and 0.0294887 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.019249Jy sigma=0.036426 ! Fit after self-cal, rms=0.017210Jy sigma=0.034838 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 15.48 x 19.79 at -50.66 degrees (North through East) ! Clean map min=-0.011363 max=0.021815 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.00* KP 1.00* LA 1.00* PT 1.00* ! ! ! 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 1.00* KP 1.00* LA 1.00* PT 1.00* ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! FD 1.00* KP 1.00* LA 1.00* PT 1.00* ! ! ! 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.017210Jy sigma=0.034838 ! Fit after self-cal, rms=0.017210Jy sigma=0.034838 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=15.48 mas, bmaj=19.79 mas, bpa=-50.66 degrees ! Estimated noise=40.7329 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.00444279 Jy ! Component: 100 - total flux cleaned = 0.00859482 Jy ! Component: 150 - total flux cleaned = 0.0133106 Jy ! Component: 200 - total flux cleaned = 0.0189412 Jy ! Total flux subtracted in 200 components = 0.0189412 Jy ! Clean residual min=-0.003165 max=0.004107 Jy/beam ! Clean residual mean=0.000120 rms=0.001370 Jy/beam ! Combined flux in latest and established models = 0.04843 Jy ! Performing phase self-cal ! Adding 54 model components to the UV plane model. ! The established model now contains 225 components and 0.04843 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.017692Jy sigma=0.029184 ! Fit after self-cal, rms=0.017023Jy sigma=0.028650 ! 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.017023Jy sigma=0.028650 ! Fit after self-cal, rms=0.016832Jy sigma=0.028233 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=15.44 mas, bmaj=19.69 mas, bpa=-49.73 degrees ! Estimated noise=41.1511 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00183559 Jy ! Component: 100 - total flux cleaned = 0.00458169 Jy ! Component: 150 - total flux cleaned = 0.00767182 Jy ! Component: 200 - total flux cleaned = 0.010876 Jy ! Total flux subtracted in 200 components = 0.010876 Jy ! Clean residual min=-0.002664 max=0.002693 Jy/beam ! Clean residual mean=0.000048 rms=0.000814 Jy/beam ! Combined flux in latest and established models = 0.059306 Jy selfcal ! Performing phase self-cal ! Adding 47 model components to the UV plane model. ! The established model now contains 270 components and 0.059306 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.015538Jy sigma=0.026442 ! Fit after self-cal, rms=0.015366Jy sigma=0.026151 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.00117985 Jy ! Component: 100 - total flux cleaned = -0.00105749 Jy ! Component: 150 - total flux cleaned = 5.17576e-05 Jy ! Component: 200 - total flux cleaned = 0.00168923 Jy ! Total flux subtracted in 200 components = 0.00168923 Jy ! Clean residual min=-0.001232 max=0.001272 Jy/beam ! Clean residual mean=0.000035 rms=0.000440 Jy/beam ! Combined flux in latest and established models = 0.0609953 Jy ! Performing phase self-cal ! Adding 83 model components to the UV plane model. ! The established model now contains 352 components and 0.0609952 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.014682Jy sigma=0.025561 ! Fit after self-cal, rms=0.014647Jy sigma=0.025526 ! 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.014647Jy sigma=0.025526 ! Fit after self-cal, rms=0.014569Jy sigma=0.025421 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=15.5 mas, bmaj=19.58 mas, bpa=-49.88 degrees ! Estimated noise=41.0297 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000206081 Jy ! Component: 100 - total flux cleaned = 0.000458523 Jy ! Component: 150 - total flux cleaned = 0.00118995 Jy ! Component: 200 - total flux cleaned = 0.00210915 Jy ! Total flux subtracted in 200 components = 0.00210915 Jy ! Clean residual min=-0.000724 max=0.000765 Jy/beam ! Clean residual mean=0.000022 rms=0.000268 Jy/beam ! Combined flux in latest and established models = 0.0631044 Jy selfcal ! Performing phase self-cal ! Adding 57 model components to the UV plane model. ! The established model now contains 398 components and 0.0631044 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.014400Jy sigma=0.025130 ! Fit after self-cal, rms=0.014390Jy sigma=0.025094 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.00067639 Jy ! Component: 100 - total flux cleaned = -0.000457351 Jy ! Component: 150 - total flux cleaned = 7.626e-05 Jy ! Component: 200 - total flux cleaned = 0.000790467 Jy ! Total flux subtracted in 200 components = 0.000790467 Jy ! Clean residual min=-0.000471 max=0.000514 Jy/beam ! Clean residual mean=0.000014 rms=0.000189 Jy/beam ! Combined flux in latest and established models = 0.0638949 Jy ! Performing phase self-cal ! Adding 66 model components to the UV plane model. ! The established model now contains 453 components and 0.0638949 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.014326Jy sigma=0.024924 ! Fit after self-cal, rms=0.014273Jy sigma=0.024912 ! 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.014273Jy sigma=0.024912 ! Fit after self-cal, rms=0.014268Jy sigma=0.024908 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=15.61 mas, bmaj=19.69 mas, bpa=-51.13 degrees ! Estimated noise=40.8111 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000316392 Jy ! Component: 100 - total flux cleaned = -0.000353103 Jy ! Component: 150 - total flux cleaned = -6.89254e-05 Jy ! Component: 200 - total flux cleaned = 0.000269557 Jy ! Total flux subtracted in 200 components = 0.000269557 Jy ! Clean residual min=-0.000369 max=0.000373 Jy/beam ! Clean residual mean=0.000009 rms=0.000155 Jy/beam ! Combined flux in latest and established models = 0.0641644 Jy selfcal ! Performing phase self-cal ! Adding 82 model components to the UV plane model. ! The established model now contains 521 components and 0.0641644 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.014243Jy sigma=0.024777 ! Fit after self-cal, rms=0.014223Jy sigma=0.024770 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.000404833 Jy ! Component: 100 - total flux cleaned = -0.000556932 Jy ! Component: 150 - total flux cleaned = -0.000695099 Jy ! Component: 200 - total flux cleaned = -0.000804532 Jy ! Total flux subtracted in 200 components = -0.000804532 Jy ! Clean residual min=-0.000269 max=0.000265 Jy/beam ! Clean residual mean=0.000006 rms=0.000115 Jy/beam ! Combined flux in latest and established models = 0.0633599 Jy ! Performing phase self-cal ! Adding 48 model components to the UV plane model. ! The established model now contains 566 components and 0.0633599 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.014174Jy sigma=0.024746 ! Fit after self-cal, rms=0.014157Jy sigma=0.024743 ! 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=15.5 mas, bmaj=19.57 mas, bpa=-49.86 degrees ! Estimated noise=41.059 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 15.5 x 19.57 at -49.86 degrees (North through East) ! Clean map min=-0.010367 max=0.019983 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=15.94 mas, bmaj=18.68 mas, bpa=-36.71 degrees ! Estimated noise=63.391 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0366847 Jy ! Component: 100 - total flux cleaned = 0.0315965 Jy ! Component: 150 - total flux cleaned = 0.0311232 Jy ! Component: 200 - total flux cleaned = 0.0331478 Jy ! Total flux subtracted in 200 components = 0.0331478 Jy ! Clean residual min=-0.006819 max=0.006851 Jy/beam ! Clean residual mean=0.000139 rms=0.002285 Jy/beam ! Combined flux in latest and established models = 0.0331478 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 100 model components to the UV plane model. ! The established model now contains 100 components and 0.0331478 Jy ! Inverting map and beam ! Estimated beam: bmin=15.5 mas, bmaj=19.57 mas, bpa=-49.86 degrees ! Estimated noise=41.059 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.00481307 Jy ! Component: 100 - total flux cleaned = 0.00956076 Jy ! Component: 150 - total flux cleaned = 0.015049 Jy ! Component: 200 - total flux cleaned = 0.0216666 Jy ! Total flux subtracted in 200 components = 0.0216666 Jy ! Clean residual min=-0.004305 max=0.004852 Jy/beam ! Clean residual mean=0.000159 rms=0.001497 Jy/beam ! Combined flux in latest and established models = 0.0548143 Jy ! Adding 58 model components to the UV plane model. ! The established model now contains 158 components and 0.0548143 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=15.61 mas, bmaj=19.69 mas, bpa=-51.13 degrees ! Estimated noise=40.8111 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000763944 Jy ! Component: 100 - total flux cleaned = -0.00183002 Jy ! Component: 150 - total flux cleaned = -0.000921866 Jy ! Component: 200 - total flux cleaned = 0.00146144 Jy ! Total flux subtracted in 200 components = 0.00146144 Jy ! Clean residual min=-0.001744 max=0.001824 Jy/beam ! Clean residual mean=0.000059 rms=0.000668 Jy/beam ! Combined flux in latest and established models = 0.0562758 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.00281773 Jy ! Component: 100 - total flux cleaned = 0.00622635 Jy ! Component: 150 - total flux cleaned = 0.0105666 Jy ! Component: 200 - total flux cleaned = 0.0158996 Jy ! Total flux subtracted in 200 components = 0.0158996 Jy ! Clean residual min=-0.003439 max=0.003911 Jy/beam ! Clean residual mean=0.000145 rms=0.001192 Jy/beam ! Combined flux in latest and established models = 0.0721754 Jy ! Adding 134 model components to the UV plane model. ! The established model now contains 287 components and 0.0721754 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=15.5 mas, bmaj=19.57 mas, bpa=-49.86 degrees ! Estimated noise=41.059 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00174936 Jy ! Component: 100 - total flux cleaned = 0.0030181 Jy ! Component: 150 - total flux cleaned = 0.00439473 Jy ! Component: 200 - total flux cleaned = 0.00589851 Jy ! Total flux subtracted in 200 components = 0.00589851 Jy ! Clean residual min=-0.001658 max=0.001680 Jy/beam ! Clean residual mean=-0.000006 rms=0.000582 Jy/beam ! Combined flux in latest and established models = 0.0780739 Jy selfcal ! Performing phase self-cal ! Adding 33 model components to the UV plane model. ! The established model now contains 320 components and 0.0780739 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.014335Jy sigma=0.025432 ! Fit after self-cal, rms=0.014302Jy sigma=0.025289 wmodel /scr/pima/bp171ac_uvs/J0520+4528_C_map.mod ! Writing 320 model components to file: /scr/pima/bp171ac_uvs/J0520+4528_C_map.mod wobs /scr/pima/bp171ac_uvs/J0520+4528_C_uvs.fits ! Writing UV FITS file: /scr/pima/bp171ac_uvs/J0520+4528_C_uvs.fits wwins /scr/pima/bp171ac_uvs/J0520+4528_C_map.win ! wwins: No CLEAN windows to write. ! Error occured in command: wwins ![Exited script file: /home/lpetrov/bin/01_muppet] ! wmap "/scr/pima/bp171ac_uvs/J0520+4528_C\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 15.5 x 19.57 at -49.86 degrees (North through East) ! Clean map min=-0.0068142 max=0.019029 Jy/beam ! Writing clean map to FITS file: /scr/pima/bp171ac_uvs/J0520+4528_C_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.019029 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000497867 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -7.84907 7.84907 15.6981 31.3963 62.7926 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0014 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.019 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 38.221 quit ! Quitting program ! Log file /scr/pima/bp171ac_uvs/J0520+4528_C_uvs.log closed on Mon Dec 9 01:50:17 2013