! Started logfile: /d2/scr/pima/bp177h_uvs/J1730+1724_X_uvs.log on Sat Mar 29 22:27:52 2014 obs /d2/scr/pima/bp177h_uvs/J1730+1724_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp177h_uvs/J1730+1724_X_uva.fits ! AN table 1: 3 integrations on 15 of 15 possible baselines. ! Apparent sampling: 0.733333 visibilities/baseline/integration-bin. ! Found source: J1730+1724 ! ! 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 264 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/bp177h_uvs/J1730+1724_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. ! ! 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.001057Jy sigma=42.521403 ! Fit after self-cal, rms=0.987165Jy sigma=41.949703 ! 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=2.5 mas, bmaj=8.316 mas, bpa=82.08 degrees ! Estimated noise=1.27464 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.00944972 Jy ! Component: 100 - total flux cleaned = 0.012229 Jy ! Total flux subtracted in 100 components = 0.012229 Jy ! Clean residual min=-0.001277 max=0.001274 Jy/beam ! Clean residual mean=-0.000004 rms=0.000421 Jy/beam ! Combined flux in latest and established models = 0.012229 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 13 components and 0.012229 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.013973Jy sigma=0.578079 ! Fit after self-cal, rms=0.012081Jy sigma=0.498675 ! Inverting map ! Added new window around map position (0.4, 0.2). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00253337 Jy ! Component: 100 - total flux cleaned = 0.00341465 Jy ! Total flux subtracted in 100 components = 0.00341465 Jy ! Clean residual min=-0.001314 max=0.001150 Jy/beam ! Clean residual mean=-0.000005 rms=0.000326 Jy/beam ! Combined flux in latest and established models = 0.0156437 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 41 components and 0.0156437 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.011367Jy sigma=0.471215 ! Fit after self-cal, rms=0.011368Jy sigma=0.470998 ! 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=2.706 mas, bmaj=7.738 mas, bpa=81.68 degrees ! Estimated noise=1.03317 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.000826281 Jy ! Component: 100 - total flux cleaned = 0.000943913 Jy ! Component: 150 - total flux cleaned = 0.000926304 Jy ! Component: 200 - total flux cleaned = 0.000972223 Jy ! Total flux subtracted in 200 components = 0.000972223 Jy ! Clean residual min=-0.000771 max=0.001079 Jy/beam ! Clean residual mean=-0.000003 rms=0.000264 Jy/beam ! Combined flux in latest and established models = 0.0166159 Jy ! Performing phase self-cal ! Adding 52 model components to the UV plane model. ! The established model now contains 90 components and 0.0166159 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.011248Jy sigma=0.467341 ! Fit after self-cal, rms=0.011239Jy sigma=0.467105 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.706 x 7.738 at 81.68 degrees (North through East) ! Clean map min=-0.00074722 max=0.01313 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* KP 1.00* LA 1.00* ! OV 1.00* PT 1.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* KP 1.00* LA 1.00* ! OV 1.00* PT 1.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* KP 1.00* LA 1.00* ! OV 1.00* PT 1.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* KP 1.00* LA 1.00* ! OV 1.00* PT 1.00* ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* KP 1.00* LA 1.00* ! OV 1.00* PT 1.00* ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.91 KP 1.19 LA 1.05 ! OV 0.96 PT 0.97 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* KP 1.00* LA 1.00* ! OV 1.00* PT 1.00* ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* KP 1.00* LA 1.00* ! OV 1.00* PT 1.00* ! ! ! Fit before self-cal, rms=0.011239Jy sigma=0.467105 ! Fit after self-cal, rms=0.011281Jy sigma=0.466298 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=2.698 mas, bmaj=7.763 mas, bpa=81.57 degrees ! Estimated noise=1.0362 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.000231196 Jy ! Component: 100 - total flux cleaned = -0.00019976 Jy ! Component: 150 - total flux cleaned = -0.000181355 Jy ! Component: 200 - total flux cleaned = -0.000140748 Jy ! Total flux subtracted in 200 components = -0.000140748 Jy ! Clean residual min=-0.000708 max=0.001091 Jy/beam ! Clean residual mean=-0.000003 rms=0.000255 Jy/beam ! Combined flux in latest and established models = 0.0164751 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 110 components and 0.0164751 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.011259Jy sigma=0.465684 ! Fit after self-cal, rms=0.011257Jy sigma=0.465487 ! 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.011257Jy sigma=0.465487 ! Fit after self-cal, rms=0.011278Jy sigma=0.465463 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.697 mas, bmaj=7.765 mas, bpa=81.56 degrees ! Estimated noise=1.03743 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.87562e-05 Jy ! Component: 100 - total flux cleaned = -5.03088e-06 Jy ! Component: 150 - total flux cleaned = 2.49159e-05 Jy ! Component: 200 - total flux cleaned = 4.5267e-05 Jy ! Total flux subtracted in 200 components = 4.5267e-05 Jy ! Clean residual min=-0.000696 max=0.001083 Jy/beam ! Clean residual mean=-0.000003 rms=0.000247 Jy/beam ! Combined flux in latest and established models = 0.0165204 Jy selfcal ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 122 components and 0.0165204 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.011266Jy sigma=0.465065 ! Fit after self-cal, rms=0.011261Jy sigma=0.464990 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 (28.4, -49). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00077859 Jy ! Component: 100 - total flux cleaned = 0.000795991 Jy ! Component: 150 - total flux cleaned = 0.000796361 Jy ! Component: 200 - total flux cleaned = 0.000771647 Jy ! Total flux subtracted in 200 components = 0.000771647 Jy ! Clean residual min=-0.000720 max=0.000887 Jy/beam ! Clean residual mean=-0.000002 rms=0.000186 Jy/beam ! Combined flux in latest and established models = 0.017292 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 152 components and 0.017292 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.011178Jy sigma=0.461365 ! Fit after self-cal, rms=0.011153Jy sigma=0.460779 ! 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.011153Jy sigma=0.460779 ! Fit after self-cal, rms=0.011183Jy sigma=0.460752 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.697 mas, bmaj=7.762 mas, bpa=81.56 degrees ! Estimated noise=1.03989 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000262149 Jy ! Component: 100 - total flux cleaned = 0.000334305 Jy ! Component: 150 - total flux cleaned = 0.000355821 Jy ! Component: 200 - total flux cleaned = 0.000355556 Jy ! Total flux subtracted in 200 components = 0.000355556 Jy ! Clean residual min=-0.000613 max=0.000776 Jy/beam ! Clean residual mean=-0.000002 rms=0.000169 Jy/beam ! Combined flux in latest and established models = 0.0176476 Jy selfcal ! Performing phase self-cal ! Adding 45 model components to the UV plane model. ! The established model now contains 192 components and 0.0176476 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.011157Jy sigma=0.459628 ! Fit after self-cal, rms=0.011151Jy sigma=0.459466 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 = 9.11449e-05 Jy ! Component: 100 - total flux cleaned = 0.000181736 Jy ! Component: 150 - total flux cleaned = 0.000206351 Jy ! Component: 200 - total flux cleaned = 0.000236842 Jy ! Total flux subtracted in 200 components = 0.000236842 Jy ! Clean residual min=-0.000554 max=0.000719 Jy/beam ! Clean residual mean=-0.000001 rms=0.000160 Jy/beam ! Combined flux in latest and established models = 0.0178844 Jy ! Performing phase self-cal ! Adding 49 model components to the UV plane model. ! The established model now contains 227 components and 0.0178844 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.011137Jy sigma=0.458891 ! Fit after self-cal, rms=0.011134Jy sigma=0.458823 ! Inverting map ! Added new window around map position (23, 42.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000199549 Jy ! Component: 100 - total flux cleaned = 9.70333e-05 Jy ! Component: 150 - total flux cleaned = 8.18328e-05 Jy ! Component: 200 - total flux cleaned = 8.14481e-05 Jy ! Total flux subtracted in 200 components = 8.14481e-05 Jy ! Clean residual min=-0.000407 max=0.000477 Jy/beam ! Clean residual mean=-0.000001 rms=0.000118 Jy/beam ! Combined flux in latest and established models = 0.0179659 Jy ! Performing phase self-cal ! Adding 51 model components to the UV plane model. ! The established model now contains 274 components and 0.0179659 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.011085Jy sigma=0.456643 ! Fit after self-cal, rms=0.011075Jy sigma=0.456425 ! Inverting map ! Added new window around map position (-35, 48.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000188258 Jy ! Component: 100 - total flux cleaned = 0.000203719 Jy ! Component: 150 - total flux cleaned = 0.000232164 Jy ! Component: 200 - total flux cleaned = 0.000231868 Jy ! Total flux subtracted in 200 components = 0.000231868 Jy ! Clean residual min=-0.000485 max=0.000398 Jy/beam ! Clean residual mean=-0.000001 rms=0.000112 Jy/beam ! Combined flux in latest and established models = 0.0181978 Jy ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 301 components and 0.0181978 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.011040Jy sigma=0.454839 ! Fit after self-cal, rms=0.011034Jy sigma=0.454662 ! 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.011034Jy sigma=0.454662 ! Fit after self-cal, rms=0.011038Jy sigma=0.454635 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.084 mas, bmaj=7.629 mas, bpa=82.31 degrees ! Estimated noise=1.06773 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -4.51243e-06 Jy ! Component: 100 - total flux cleaned = 3.93848e-05 Jy ! Component: 150 - total flux cleaned = 8.06991e-05 Jy ! Component: 200 - total flux cleaned = 0.000140686 Jy ! Total flux subtracted in 200 components = 0.000140686 Jy ! Clean residual min=-0.000309 max=0.000339 Jy/beam ! Clean residual mean=-0.000001 rms=0.000089 Jy/beam ! Combined flux in latest and established models = 0.0183384 Jy selfcal ! Performing phase self-cal ! Adding 50 model components to the UV plane model. ! The established model now contains 336 components and 0.0183384 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.011017Jy sigma=0.453785 ! Fit after self-cal, rms=0.011016Jy sigma=0.453725 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.78746e-05 Jy ! Component: 100 - total flux cleaned = 9.57818e-05 Jy ! Component: 150 - total flux cleaned = 0.00014891 Jy ! Component: 200 - total flux cleaned = 0.000200448 Jy ! Total flux subtracted in 200 components = 0.000200448 Jy ! Clean residual min=-0.000300 max=0.000292 Jy/beam ! Clean residual mean=-0.000001 rms=0.000082 Jy/beam ! Combined flux in latest and established models = 0.0185389 Jy ! Performing phase self-cal ! Adding 42 model components to the UV plane model. ! The established model now contains 355 components and 0.0185389 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.010999Jy sigma=0.453056 ! Fit after self-cal, rms=0.010997Jy sigma=0.453007 ! 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=2.697 mas, bmaj=7.758 mas, bpa=81.56 degrees ! Estimated noise=1.04025 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.697 x 7.758 at 81.56 degrees (North through East) ! Clean map min=-0.0012349 max=0.012829 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=2.493 mas, bmaj=8.329 mas, bpa=81.98 degrees ! Estimated noise=1.2813 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0110487 Jy ! Component: 100 - total flux cleaned = 0.0139847 Jy ! Component: 150 - total flux cleaned = 0.0155584 Jy ! Component: 200 - total flux cleaned = 0.0159667 Jy ! Total flux subtracted in 200 components = 0.0159667 Jy ! Clean residual min=-0.001066 max=0.001345 Jy/beam ! Clean residual mean=-0.000003 rms=0.000372 Jy/beam ! Combined flux in latest and established models = 0.0159667 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 48 model components to the UV plane model. ! The established model now contains 48 components and 0.0159667 Jy ! Inverting map and beam ! Estimated beam: bmin=2.697 mas, bmaj=7.758 mas, bpa=81.56 degrees ! Estimated noise=1.04025 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.000812076 Jy ! Component: 100 - total flux cleaned = 0.00139629 Jy ! Component: 150 - total flux cleaned = 0.0017916 Jy ! Component: 200 - total flux cleaned = 0.00207979 Jy ! Total flux subtracted in 200 components = 0.00207979 Jy ! Clean residual min=-0.000886 max=0.000941 Jy/beam ! Clean residual mean=-0.000001 rms=0.000277 Jy/beam ! Combined flux in latest and established models = 0.0180465 Jy ! Adding 48 model components to the UV plane model. ! The established model now contains 94 components and 0.0180465 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=3.084 mas, bmaj=7.629 mas, bpa=82.31 degrees ! Estimated noise=1.06773 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00023187 Jy ! Component: 100 - total flux cleaned = 0.000231939 Jy ! Component: 150 - total flux cleaned = 0.000336069 Jy ! Component: 200 - total flux cleaned = 0.000297584 Jy ! Total flux subtracted in 200 components = 0.000297584 Jy ! Clean residual min=-0.000678 max=0.000615 Jy/beam ! Clean residual mean=-0.000001 rms=0.000182 Jy/beam ! Combined flux in latest and established models = 0.018344 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 = 1.91183e-05 Jy ! Component: 100 - total flux cleaned = 3.65771e-05 Jy ! Component: 150 - total flux cleaned = 3.69698e-05 Jy ! Component: 200 - total flux cleaned = 3.76835e-05 Jy ! Total flux subtracted in 200 components = 3.76835e-05 Jy ! Clean residual min=-0.000616 max=0.000543 Jy/beam ! Clean residual mean=0.000000 rms=0.000162 Jy/beam ! Combined flux in latest and established models = 0.0183817 Jy ! Adding 82 model components to the UV plane model. ! The established model now contains 167 components and 0.0183817 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=2.697 mas, bmaj=7.758 mas, bpa=81.56 degrees ! Estimated noise=1.04025 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000255957 Jy ! Component: 100 - total flux cleaned = -0.000383982 Jy ! Component: 150 - total flux cleaned = -0.00044223 Jy ! Component: 200 - total flux cleaned = -0.000483935 Jy ! Total flux subtracted in 200 components = -0.000483935 Jy ! Clean residual min=-0.000533 max=0.000478 Jy/beam ! Clean residual mean=-0.000001 rms=0.000141 Jy/beam ! Combined flux in latest and established models = 0.0178978 Jy selfcal ! Performing phase self-cal ! Adding 42 model components to the UV plane model. ! The established model now contains 201 components and 0.0178978 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.011019Jy sigma=0.453753 ! Fit after self-cal, rms=0.011016Jy sigma=0.453485 wmodel /d2/scr/pima/bp177h_uvs/J1730+1724_X_map.mod ! Writing 201 model components to file: /d2/scr/pima/bp177h_uvs/J1730+1724_X_map.mod wobs /d2/scr/pima/bp177h_uvs/J1730+1724_X_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp177h_uvs/J1730+1724_X_uvs.fits wwins /d2/scr/pima/bp177h_uvs/J1730+1724_X_map.win ! wwins: Wrote 4 windows to /d2/scr/pima/bp177h_uvs/J1730+1724_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 = -9.22367e-05 Jy ! Component: 100 - total flux cleaned = -0.000111402 Jy ! Component: 150 - total flux cleaned = -0.000159071 Jy ! Component: 200 - total flux cleaned = -0.000224648 Jy ! Component: 250 - total flux cleaned = -0.000280866 Jy ! Component: 300 - total flux cleaned = -0.000310067 Jy ! Component: 350 - total flux cleaned = -0.000338465 Jy ! Component: 400 - total flux cleaned = -0.000371088 Jy ! Component: 450 - total flux cleaned = -0.000389431 Jy ! Component: 500 - total flux cleaned = -0.000403032 Jy ! Component: 550 - total flux cleaned = -0.000425258 Jy ! Component: 600 - total flux cleaned = -0.000438416 Jy ! Component: 650 - total flux cleaned = -0.000438401 Jy ! Component: 700 - total flux cleaned = -0.000442696 Jy ! Component: 750 - total flux cleaned = -0.000447032 Jy ! Component: 800 - total flux cleaned = -0.00045555 Jy ! Component: 850 - total flux cleaned = -0.000455566 Jy ! Component: 900 - total flux cleaned = -0.000459851 Jy ! Component: 950 - total flux cleaned = -0.00045128 Jy ! Component: 1000 - total flux cleaned = -0.000446948 Jy ! Component: 1050 - total flux cleaned = -0.000442569 Jy ! Component: 1100 - total flux cleaned = -0.000438134 Jy ! Component: 1150 - total flux cleaned = -0.000433705 Jy ! Component: 1200 - total flux cleaned = -0.000433722 Jy ! Component: 1250 - total flux cleaned = -0.000429085 Jy ! Component: 1300 - total flux cleaned = -0.000424418 Jy ! Component: 1350 - total flux cleaned = -0.000424351 Jy ! Component: 1400 - total flux cleaned = -0.000419538 Jy ! Component: 1450 - total flux cleaned = -0.000419513 Jy ! Component: 1500 - total flux cleaned = -0.000419535 Jy ! Component: 1550 - total flux cleaned = -0.000419476 Jy ! Component: 1600 - total flux cleaned = -0.000414102 Jy ! Component: 1650 - total flux cleaned = -0.000408625 Jy ! Component: 1700 - total flux cleaned = -0.00040851 Jy ! Component: 1750 - total flux cleaned = -0.00040857 Jy ! Component: 1800 - total flux cleaned = -0.000402792 Jy ! Component: 1850 - total flux cleaned = -0.000396911 Jy ! Component: 1900 - total flux cleaned = -0.000396892 Jy ! Component: 1950 - total flux cleaned = -0.000384309 Jy ! Component: 2000 - total flux cleaned = -0.00038427 Jy ! Component: 2050 - total flux cleaned = -0.000377624 Jy ! Component: 2100 - total flux cleaned = -0.000364183 Jy ! Component: 2150 - total flux cleaned = -0.000357187 Jy ! Component: 2200 - total flux cleaned = -0.000350194 Jy ! Component: 2250 - total flux cleaned = -0.000335618 Jy ! Component: 2300 - total flux cleaned = -0.000335556 Jy ! Component: 2350 - total flux cleaned = -0.000327935 Jy ! Component: 2400 - total flux cleaned = -0.000335961 Jy ! Component: 2450 - total flux cleaned = -0.000335964 Jy ! Component: 2500 - total flux cleaned = -0.000327833 Jy ! Component: 2550 - total flux cleaned = -0.000336408 Jy ! Component: 2600 - total flux cleaned = -0.00032767 Jy ! Component: 2650 - total flux cleaned = -0.000336645 Jy ! Component: 2700 - total flux cleaned = -0.000336462 Jy ! Component: 2750 - total flux cleaned = -0.000336423 Jy ! Component: 2800 - total flux cleaned = -0.000336277 Jy ! Component: 2850 - total flux cleaned = -0.000346209 Jy ! Component: 2900 - total flux cleaned = -0.000346073 Jy ! Component: 2950 - total flux cleaned = -0.000346088 Jy ! Component: 3000 - total flux cleaned = -0.000356896 Jy ! Component: 3050 - total flux cleaned = -0.000356972 Jy ! Component: 3100 - total flux cleaned = -0.000356891 Jy ! Component: 3150 - total flux cleaned = -0.000356774 Jy ! Component: 3200 - total flux cleaned = -0.000344569 Jy ! Component: 3250 - total flux cleaned = -0.000344734 Jy ! Component: 3300 - total flux cleaned = -0.000344604 Jy ! Component: 3350 - total flux cleaned = -0.000357794 Jy ! Component: 3400 - total flux cleaned = -0.00035794 Jy ! Component: 3450 - total flux cleaned = -0.000358042 Jy ! Component: 3500 - total flux cleaned = -0.00034353 Jy ! Component: 3550 - total flux cleaned = -0.000358236 Jy ! Component: 3600 - total flux cleaned = -0.000358441 Jy ! Component: 3650 - total flux cleaned = -0.000358604 Jy ! Component: 3700 - total flux cleaned = -0.000358564 Jy ! Component: 3750 - total flux cleaned = -0.000358531 Jy ! Component: 3800 - total flux cleaned = -0.000358719 Jy ! Component: 3850 - total flux cleaned = -0.000358833 Jy ! Component: 3900 - total flux cleaned = -0.000340527 Jy ! Component: 3950 - total flux cleaned = -0.000358989 Jy ! Component: 4000 - total flux cleaned = -0.000359182 Jy ! Component: 4050 - total flux cleaned = -0.000359213 Jy ! Total flux subtracted in 4096 components = -0.000359451 Jy ! Clean residual min=-0.001385 max=0.001256 Jy/beam ! Clean residual mean=-0.000002 rms=0.000327 Jy/beam ! Combined flux in latest and established models = 0.0175383 Jy keep ! Adding 155 model components to the UV plane model. ! The established model now contains 354 components and 0.0175383 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp177h_uvs/J1730+1724_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.697 x 7.758 at 81.56 degrees (North through East) ! Clean map min=-0.0030454 max=0.013483 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp177h_uvs/J1730+1724_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0134828 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000355651 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -7.91341 7.91341 15.8268 31.6536 63.3073 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.001 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.013 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 37.91 quit ! Quitting program ! Log file /d2/scr/pima/bp177h_uvs/J1730+1724_X_uvs.log closed on Sat Mar 29 22:27:58 2014