! Started logfile: /d2/scr/pima/bp171aa_uvs/J0834+0250_X_uvs.log on Thu Nov 28 23:32:20 2013 obs /d2/scr/pima/bp171aa_uvs/J0834+0250_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp171aa_uvs/J0834+0250_X_uva.fits ! AN table 1: 10 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.575556 visibilities/baseline/integration-bin. ! Found source: J0834+0250 ! ! 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.40797e+09 3.2e+07 1 3.2e+07 ! 02 2 7.43997e+09 3.2e+07 1 3.2e+07 ! 03 3 7.47197e+09 3.2e+07 1 3.2e+07 ! 04 4 7.56797e+09 3.2e+07 1 3.2e+07 ! 05 5 7.75997e+09 3.2e+07 1 3.2e+07 ! 06 6 7.79197e+09 3.2e+07 1 3.2e+07 ! 07 7 7.82397e+09 3.2e+07 1 3.2e+07 ! 08 8 7.85597e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 2072 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/bp171aa_uvs/J0834+0250_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 10 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 10 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 10 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 10 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 10 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 10 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 10 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 10 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=0.993870Jy sigma=0.702619 ! Fit after self-cal, rms=0.974962Jy sigma=0.689262 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.267 mas, bmaj=3.488 mas, bpa=-14.21 degrees ! Estimated noise=29.8987 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.018504 Jy ! Component: 100 - total flux cleaned = 0.0247959 Jy ! Total flux subtracted in 100 components = 0.0247959 Jy ! Clean residual min=-0.005885 max=0.008730 Jy/beam ! Clean residual mean=-0.000002 rms=0.001892 Jy/beam ! Combined flux in latest and established models = 0.0247959 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 17 components and 0.0247959 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.034940Jy sigma=0.024696 ! Fit after self-cal, rms=0.034150Jy sigma=0.024138 ! Inverting map print "************** FINISHED UNIFORM WEIGHTING CLEAN **************" ! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** ! uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.494 mas, bmaj=3.734 mas, bpa=-13.12 degrees ! Estimated noise=22.3653 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.00560203 Jy ! Component: 100 - total flux cleaned = 0.00872368 Jy ! Component: 150 - total flux cleaned = 0.0106192 Jy ! Component: 200 - total flux cleaned = 0.0118428 Jy ! Total flux subtracted in 200 components = 0.0118428 Jy ! Clean residual min=-0.005454 max=0.008643 Jy/beam ! Clean residual mean=-0.000002 rms=0.001749 Jy/beam ! Combined flux in latest and established models = 0.0366388 Jy ! Performing phase self-cal ! Adding 53 model components to the UV plane model. ! The established model now contains 65 components and 0.0366388 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.033212Jy sigma=0.023475 ! Fit after self-cal, rms=0.033059Jy sigma=0.023367 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.494 x 3.734 at -13.12 degrees (North through East) ! Clean map min=-0.0051287 max=0.025142 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.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* MK 1.00* NL 1.00* OV 1.00* ! PT 1.00* SC 1.00* ! ! ! Fit before self-cal, rms=0.033059Jy sigma=0.023367 ! Fit after self-cal, rms=0.033059Jy sigma=0.023367 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.494 mas, bmaj=3.734 mas, bpa=-13.12 degrees ! Estimated noise=22.3653 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.00176963 Jy ! Component: 100 - total flux cleaned = 0.00244439 Jy ! Component: 150 - total flux cleaned = 0.00275313 Jy ! Component: 200 - total flux cleaned = 0.00301643 Jy ! Total flux subtracted in 200 components = 0.00301643 Jy ! Clean residual min=-0.004973 max=0.008233 Jy/beam ! Clean residual mean=-0.000003 rms=0.001693 Jy/beam ! Combined flux in latest and established models = 0.0396552 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 84 components and 0.0396552 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.032953Jy sigma=0.023291 ! Fit after self-cal, rms=0.032926Jy sigma=0.023273 ! 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.032926Jy sigma=0.023273 ! Fit after self-cal, rms=0.032926Jy sigma=0.023273 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.494 mas, bmaj=3.734 mas, bpa=-13.12 degrees ! Estimated noise=22.3653 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000221402 Jy ! Component: 100 - total flux cleaned = 0.000276886 Jy ! Component: 150 - total flux cleaned = 0.00034457 Jy ! Component: 200 - total flux cleaned = 0.000403446 Jy ! Total flux subtracted in 200 components = 0.000403446 Jy ! Clean residual min=-0.004891 max=0.008110 Jy/beam ! Clean residual mean=-0.000003 rms=0.001691 Jy/beam ! Combined flux in latest and established models = 0.0400586 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 86 components and 0.0400586 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.032879Jy sigma=0.023240 ! Fit after self-cal, rms=0.032864Jy sigma=0.023229 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 (16.6, 3.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00687144 Jy ! Component: 100 - total flux cleaned = 0.0100839 Jy ! Component: 150 - total flux cleaned = 0.0113068 Jy ! Component: 200 - total flux cleaned = 0.0124687 Jy ! Total flux subtracted in 200 components = 0.0124687 Jy ! Clean residual min=-0.004069 max=0.004567 Jy/beam ! Clean residual mean=-0.000001 rms=0.001201 Jy/beam ! Combined flux in latest and established models = 0.0525273 Jy ! Performing phase self-cal ! Adding 47 model components to the UV plane model. ! The established model now contains 131 components and 0.0525273 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.031416Jy sigma=0.022205 ! Fit after self-cal, rms=0.030524Jy sigma=0.021574 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00545673 Jy ! Component: 100 - total flux cleaned = 0.00804483 Jy ! Component: 150 - total flux cleaned = 0.00955241 Jy ! Component: 200 - total flux cleaned = 0.0106212 Jy ! Total flux subtracted in 200 components = 0.0106212 Jy ! Clean residual min=-0.004200 max=0.004519 Jy/beam ! Clean residual mean=-0.000002 rms=0.001161 Jy/beam ! Combined flux in latest and established models = 0.0631485 Jy ! Performing phase self-cal ! Adding 60 model components to the UV plane model. ! The established model now contains 174 components and 0.0631485 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.029528Jy sigma=0.020870 ! Fit after self-cal, rms=0.028991Jy sigma=0.020490 ! Inverting map ! Added new window around map position (33.6, 31.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00519409 Jy ! Component: 100 - total flux cleaned = 0.00832847 Jy ! Component: 150 - total flux cleaned = 0.0101085 Jy ! Component: 200 - total flux cleaned = 0.011475 Jy ! Total flux subtracted in 200 components = 0.011475 Jy ! Clean residual min=-0.003115 max=0.002802 Jy/beam ! Clean residual mean=-0.000002 rms=0.000842 Jy/beam ! Combined flux in latest and established models = 0.0746236 Jy ! Performing phase self-cal ! Adding 48 model components to the UV plane model. ! The established model now contains 214 components and 0.0746236 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.027904Jy sigma=0.019721 ! Fit after self-cal, rms=0.027714Jy sigma=0.019587 ! 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.027714Jy sigma=0.019587 ! Fit after self-cal, rms=0.027714Jy sigma=0.019587 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.494 mas, bmaj=3.734 mas, bpa=-13.12 degrees ! Estimated noise=22.3653 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00257273 Jy ! Component: 100 - total flux cleaned = 0.00395673 Jy ! Component: 150 - total flux cleaned = 0.00491214 Jy ! Component: 200 - total flux cleaned = 0.00582698 Jy ! Total flux subtracted in 200 components = 0.00582698 Jy ! Clean residual min=-0.002401 max=0.002216 Jy/beam ! Clean residual mean=-0.000002 rms=0.000676 Jy/beam ! Combined flux in latest and established models = 0.0804505 Jy selfcal ! Performing phase self-cal ! Adding 46 model components to the UV plane model. ! The established model now contains 242 components and 0.0804506 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.027383Jy sigma=0.019353 ! Fit after self-cal, rms=0.027344Jy sigma=0.019325 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.00130396 Jy ! Component: 100 - total flux cleaned = 0.0020862 Jy ! Component: 150 - total flux cleaned = 0.00284005 Jy ! Component: 200 - total flux cleaned = 0.00358303 Jy ! Total flux subtracted in 200 components = 0.00358303 Jy ! Clean residual min=-0.002011 max=0.001961 Jy/beam ! Clean residual mean=-0.000002 rms=0.000596 Jy/beam ! Combined flux in latest and established models = 0.0840336 Jy ! Performing phase self-cal ! Adding 52 model components to the UV plane model. ! The established model now contains 274 components and 0.0840336 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.027217Jy sigma=0.019236 ! Fit after self-cal, rms=0.027207Jy sigma=0.019228 ! 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.027207Jy sigma=0.019228 ! Fit after self-cal, rms=0.027295Jy sigma=0.019157 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.556 mas, bmaj=3.919 mas, bpa=-1.415 degrees ! Estimated noise=24.3853 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00122442 Jy ! Component: 100 - total flux cleaned = 0.00205053 Jy ! Component: 150 - total flux cleaned = 0.00253538 Jy ! Component: 200 - total flux cleaned = 0.00287767 Jy ! Total flux subtracted in 200 components = 0.00287767 Jy ! Clean residual min=-0.002120 max=0.002047 Jy/beam ! Clean residual mean=-0.000002 rms=0.000619 Jy/beam ! Combined flux in latest and established models = 0.0869113 Jy selfcal ! Performing phase self-cal ! Adding 37 model components to the UV plane model. ! The established model now contains 299 components and 0.0869112 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.027225Jy sigma=0.019109 ! Fit after self-cal, rms=0.027233Jy sigma=0.019102 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.000387373 Jy ! Component: 100 - total flux cleaned = 0.000693211 Jy ! Component: 150 - total flux cleaned = 0.000944911 Jy ! Component: 200 - total flux cleaned = 0.00117695 Jy ! Total flux subtracted in 200 components = 0.00117695 Jy ! Clean residual min=-0.002002 max=0.002020 Jy/beam ! Clean residual mean=-0.000002 rms=0.000582 Jy/beam ! Combined flux in latest and established models = 0.0880882 Jy ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 315 components and 0.0880882 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.027196Jy sigma=0.019076 ! Fit after self-cal, rms=0.027193Jy sigma=0.019074 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "************** FINISHED AMPLITUDE SELF-CAL **************" ! ************** FINISHED AMPLITUDE SELF-CAL ************** restore ! Inverting map and beam ! Estimated beam: bmin=1.501 mas, bmaj=3.758 mas, bpa=-13.11 degrees ! Estimated noise=22.4522 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.501 x 3.758 at -13.11 degrees (North through East) ! Clean map min=-0.0016799 max=0.024108 Jy/beam if(peak(flux) > thresh) selfcal true, true clean clean_niter,clean_gain selfcal flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) selfcal true, true end if print "************** CLEARING MODEL AND STARTING OVER **********" ! ************** CLEARING MODEL AND STARTING OVER ********** clrmod true ! clrmod: Cleared the established and tentative models. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.271 mas, bmaj=3.53 mas, bpa=-14.23 degrees ! Estimated noise=30.0869 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0199899 Jy ! Component: 100 - total flux cleaned = 0.0307225 Jy ! Component: 150 - total flux cleaned = 0.0385961 Jy ! Component: 200 - total flux cleaned = 0.0448285 Jy ! Total flux subtracted in 200 components = 0.0448285 Jy ! Clean residual min=-0.005202 max=0.004944 Jy/beam ! Clean residual mean=-0.000005 rms=0.001459 Jy/beam ! Combined flux in latest and established models = 0.0448285 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 44 model components to the UV plane model. ! The established model now contains 44 components and 0.0448285 Jy ! Inverting map and beam ! Estimated beam: bmin=1.501 mas, bmaj=3.758 mas, bpa=-13.11 degrees ! Estimated noise=22.4522 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.00641178 Jy ! Component: 100 - total flux cleaned = 0.0113182 Jy ! Component: 150 - total flux cleaned = 0.0153457 Jy ! Component: 200 - total flux cleaned = 0.0187451 Jy ! Total flux subtracted in 200 components = 0.0187451 Jy ! Clean residual min=-0.003636 max=0.003352 Jy/beam ! Clean residual mean=-0.000003 rms=0.001047 Jy/beam ! Combined flux in latest and established models = 0.0635736 Jy ! Adding 65 model components to the UV plane model. ! The established model now contains 101 components and 0.0635736 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.556 mas, bmaj=3.919 mas, bpa=-1.415 degrees ! Estimated noise=24.3853 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00370386 Jy ! Component: 100 - total flux cleaned = 0.00667162 Jy ! Component: 150 - total flux cleaned = 0.00919046 Jy ! Component: 200 - total flux cleaned = 0.0113708 Jy ! Total flux subtracted in 200 components = 0.0113708 Jy ! Clean residual min=-0.003158 max=0.003013 Jy/beam ! Clean residual mean=-0.000003 rms=0.000902 Jy/beam ! Combined flux in latest and established models = 0.0749444 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.00189629 Jy ! Component: 100 - total flux cleaned = 0.00357102 Jy ! Component: 150 - total flux cleaned = 0.00506014 Jy ! Component: 200 - total flux cleaned = 0.00633823 Jy ! Total flux subtracted in 200 components = 0.00633823 Jy ! Clean residual min=-0.002660 max=0.002579 Jy/beam ! Clean residual mean=-0.000002 rms=0.000724 Jy/beam ! Combined flux in latest and established models = 0.0812826 Jy ! Adding 97 model components to the UV plane model. ! The established model now contains 188 components and 0.0812826 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.501 mas, bmaj=3.758 mas, bpa=-13.11 degrees ! Estimated noise=22.4522 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000987119 Jy ! Component: 100 - total flux cleaned = 0.00185909 Jy ! Component: 150 - total flux cleaned = 0.00263462 Jy ! Component: 200 - total flux cleaned = 0.00336873 Jy ! Total flux subtracted in 200 components = 0.00336873 Jy ! Clean residual min=-0.002110 max=0.002121 Jy/beam ! Clean residual mean=-0.000001 rms=0.000544 Jy/beam ! Combined flux in latest and established models = 0.0846513 Jy selfcal ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 213 components and 0.0846513 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.027273Jy sigma=0.019130 ! Fit after self-cal, rms=0.027247Jy sigma=0.019111 wmodel /d2/scr/pima/bp171aa_uvs/J0834+0250_X_map.mod ! Writing 213 model components to file: /d2/scr/pima/bp171aa_uvs/J0834+0250_X_map.mod wobs /d2/scr/pima/bp171aa_uvs/J0834+0250_X_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp171aa_uvs/J0834+0250_X_uvs.fits wwins /d2/scr/pima/bp171aa_uvs/J0834+0250_X_map.win ! wwins: Wrote 3 windows to /d2/scr/pima/bp171aa_uvs/J0834+0250_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.000244441 Jy ! Component: 100 - total flux cleaned = 0.000246042 Jy ! Component: 150 - total flux cleaned = 0.000246729 Jy ! Component: 200 - total flux cleaned = 0.000170399 Jy ! Component: 250 - total flux cleaned = 5.20054e-05 Jy ! Component: 300 - total flux cleaned = 9.77506e-05 Jy ! Component: 350 - total flux cleaned = 7.64112e-05 Jy ! Component: 400 - total flux cleaned = 7.61524e-05 Jy ! Component: 450 - total flux cleaned = 3.66675e-05 Jy ! Component: 500 - total flux cleaned = 1.84157e-05 Jy ! Component: 550 - total flux cleaned = 4.16814e-07 Jy ! Component: 600 - total flux cleaned = -3.40256e-05 Jy ! Component: 650 - total flux cleaned = -0.000115829 Jy ! Component: 700 - total flux cleaned = -0.000163117 Jy ! Component: 750 - total flux cleaned = -0.000223759 Jy ! Component: 800 - total flux cleaned = -0.000267811 Jy ! Component: 850 - total flux cleaned = -0.000296299 Jy ! Component: 900 - total flux cleaned = -0.000337724 Jy ! Component: 950 - total flux cleaned = -0.000271258 Jy ! Component: 1000 - total flux cleaned = -0.000219763 Jy ! Component: 1050 - total flux cleaned = -0.000144597 Jy ! Component: 1100 - total flux cleaned = -0.000120612 Jy ! Component: 1150 - total flux cleaned = -7.35729e-05 Jy ! Component: 1200 - total flux cleaned = -2.77918e-05 Jy ! Component: 1250 - total flux cleaned = -1.68142e-05 Jy ! Component: 1300 - total flux cleaned = -5.72606e-06 Jy ! Component: 1350 - total flux cleaned = 3.74158e-05 Jy ! Component: 1400 - total flux cleaned = 5.87228e-06 Jy ! Component: 1450 - total flux cleaned = 6.0399e-06 Jy ! Component: 1500 - total flux cleaned = 6.23009e-06 Jy ! Component: 1550 - total flux cleaned = 4.56179e-05 Jy ! Component: 1600 - total flux cleaned = 4.56674e-05 Jy ! Component: 1650 - total flux cleaned = 7.41538e-05 Jy ! Component: 1700 - total flux cleaned = 6.46593e-05 Jy ! Component: 1750 - total flux cleaned = 7.36434e-05 Jy ! Component: 1800 - total flux cleaned = 6.44533e-05 Jy ! Component: 1850 - total flux cleaned = 6.44406e-05 Jy ! Component: 1900 - total flux cleaned = 8.17316e-05 Jy ! Component: 1950 - total flux cleaned = 9.87898e-05 Jy ! Component: 2000 - total flux cleaned = 0.000132289 Jy ! Component: 2050 - total flux cleaned = 0.000148626 Jy ! Component: 2100 - total flux cleaned = 0.00019747 Jy ! Component: 2150 - total flux cleaned = 0.000205292 Jy ! Component: 2200 - total flux cleaned = 0.000221173 Jy ! Component: 2250 - total flux cleaned = 0.00024478 Jy ! Component: 2300 - total flux cleaned = 0.000252565 Jy ! Component: 2350 - total flux cleaned = 0.000260324 Jy ! Component: 2400 - total flux cleaned = 0.000275578 Jy ! Component: 2450 - total flux cleaned = 0.000275524 Jy ! Component: 2500 - total flux cleaned = 0.000267979 Jy ! Component: 2550 - total flux cleaned = 0.000268029 Jy ! Component: 2600 - total flux cleaned = 0.000304653 Jy ! Component: 2650 - total flux cleaned = 0.000290086 Jy ! Component: 2700 - total flux cleaned = 0.000311735 Jy ! Component: 2750 - total flux cleaned = 0.000318941 Jy ! Component: 2800 - total flux cleaned = 0.000340151 Jy ! Component: 2850 - total flux cleaned = 0.000354263 Jy ! Component: 2900 - total flux cleaned = 0.000368203 Jy ! Component: 2950 - total flux cleaned = 0.00038209 Jy ! Component: 3000 - total flux cleaned = 0.000416622 Jy ! Component: 3050 - total flux cleaned = 0.000430325 Jy ! Component: 3100 - total flux cleaned = 0.000450794 Jy ! Component: 3150 - total flux cleaned = 0.000477952 Jy ! Component: 3200 - total flux cleaned = 0.000484729 Jy ! Component: 3250 - total flux cleaned = 0.000498167 Jy ! Component: 3300 - total flux cleaned = 0.000511529 Jy ! Component: 3350 - total flux cleaned = 0.000511501 Jy ! Component: 3400 - total flux cleaned = 0.000498244 Jy ! Component: 3450 - total flux cleaned = 0.000518116 Jy ! Component: 3500 - total flux cleaned = 0.000511475 Jy ! Component: 3550 - total flux cleaned = 0.000518036 Jy ! Component: 3600 - total flux cleaned = 0.000504967 Jy ! Component: 3650 - total flux cleaned = 0.000518079 Jy ! Component: 3700 - total flux cleaned = 0.000518069 Jy ! Component: 3750 - total flux cleaned = 0.000531088 Jy ! Component: 3800 - total flux cleaned = 0.000518057 Jy ! Component: 3850 - total flux cleaned = 0.000511547 Jy ! Component: 3900 - total flux cleaned = 0.000524558 Jy ! Component: 3950 - total flux cleaned = 0.00051802 Jy ! Component: 4000 - total flux cleaned = 0.000498469 Jy ! Component: 4050 - total flux cleaned = 0.000485442 Jy ! Total flux subtracted in 4096 components = 0.000465923 Jy ! Clean residual min=-0.000426 max=0.000362 Jy/beam ! Clean residual mean=-0.000001 rms=0.000106 Jy/beam ! Combined flux in latest and established models = 0.0851172 Jy keep ! Adding 288 model components to the UV plane model. ! The established model now contains 501 components and 0.0851172 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp171aa_uvs/J0834+0250_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.501 x 3.758 at -13.11 degrees (North through East) ! Clean map min=-0.0010666 max=0.023251 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp171aa_uvs/J0834+0250_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.023251 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000101573 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.31056 1.31056 2.62112 5.24224 10.4845 20.969 41.9379 83.8759 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0003 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.023 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 228.909 quit ! Quitting program ! Log file /d2/scr/pima/bp171aa_uvs/J0834+0250_X_uvs.log closed on Thu Nov 28 23:32:26 2013