! Started logfile: /d2/scr/pima/bp171a4_uvs/J1401+3611_C_uvs.log on Wed Jan 29 04:25:45 2014 obs /d2/scr/pima/bp171a4_uvs/J1401+3611_C_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp171a4_uvs/J1401+3611_C_uva.fits ! AN table 1: 4 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.905556 visibilities/baseline/integration-bin. ! Found source: J1401+3611 ! ! 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 1304 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/bp171a4_uvs/J1401+3611_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. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.004757Jy sigma=45.718133 ! Fit after self-cal, rms=0.897714Jy sigma=40.767531 ! 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.421 mas, bmaj=4.113 mas, bpa=19.14 degrees ! Estimated noise=0.626901 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.0727901 Jy ! Component: 100 - total flux cleaned = 0.0925802 Jy ! Total flux subtracted in 100 components = 0.0925802 Jy ! Clean residual min=-0.004341 max=0.009187 Jy/beam ! Clean residual mean=0.000013 rms=0.001388 Jy/beam ! Combined flux in latest and established models = 0.0925802 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 8 components and 0.0925802 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.033281Jy sigma=1.295576 ! Fit after self-cal, rms=0.033236Jy sigma=1.294058 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0108219 Jy ! Component: 100 - total flux cleaned = 0.0172219 Jy ! Total flux subtracted in 100 components = 0.0172219 Jy ! Clean residual min=-0.003424 max=0.005927 Jy/beam ! Clean residual mean=0.000006 rms=0.000975 Jy/beam ! Combined flux in latest and established models = 0.109802 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 16 components and 0.109802 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.026697Jy sigma=0.950733 ! Fit after self-cal, rms=0.026574Jy sigma=0.946834 ! Inverting map ! Added new window around map position (2.4, -0.9). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00661655 Jy ! Component: 100 - total flux cleaned = 0.0107418 Jy ! Total flux subtracted in 100 components = 0.0107418 Jy ! Clean residual min=-0.002918 max=0.003103 Jy/beam ! Clean residual mean=0.000003 rms=0.000734 Jy/beam ! Combined flux in latest and established models = 0.120544 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 28 components and 0.120544 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.023791Jy sigma=0.794859 ! Fit after self-cal, rms=0.023574Jy sigma=0.785750 ! 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.847 mas, bmaj=4.515 mas, bpa=17.86 degrees ! Estimated noise=0.452332 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.0056352 Jy ! Component: 100 - total flux cleaned = 0.00902853 Jy ! Component: 150 - total flux cleaned = 0.011273 Jy ! Component: 200 - total flux cleaned = 0.0128398 Jy ! Total flux subtracted in 200 components = 0.0128398 Jy ! Clean residual min=-0.002911 max=0.002486 Jy/beam ! Clean residual mean=-0.000002 rms=0.000654 Jy/beam ! Combined flux in latest and established models = 0.133384 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 55 components and 0.133384 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.021720Jy sigma=0.707614 ! Fit after self-cal, rms=0.021605Jy sigma=0.701753 ! 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.847 x 4.515 at 17.86 degrees (North through East) ! Clean map min=-0.0027081 max=0.10017 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 0.98 FD 1.03 HN 0.97 KP 0.87 ! LA 1.00 MK 1.12 NL 1.05 OV 1.00 ! PT 0.89 SC 0.93 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.09 HN 1.03 KP 0.91 ! LA 1.09 MK 0.99 NL 1.10 OV 1.04 ! PT 1.01 SC 1.01 ! ! ! 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 0.97 FD 1.10 HN 0.98 KP 0.97 ! LA 1.06 MK 1.07 NL 1.01 OV 0.96 ! PT 1.01 SC 0.98 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.02 HN 0.96 KP 0.98 ! LA 1.06 MK 1.07 NL 1.01 OV 0.99 ! PT 0.91 SC 1.05 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.00 HN 1.02 KP 1.00 ! LA 1.14 MK 1.02 NL 1.01 OV 0.96 ! PT 1.02 SC 1.04 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 FD 0.94 HN 0.96 KP 0.95 ! LA 1.02 MK 1.02 NL 1.01 OV 0.97 ! PT 0.95 SC 0.95 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 0.95 HN 0.98 KP 1.04 ! LA 1.02 MK 1.05 NL 1.00 OV 0.99 ! PT 0.95 SC 0.97 ! ! ! Fit before self-cal, rms=0.021605Jy sigma=0.701753 ! Fit after self-cal, rms=0.020335Jy sigma=0.605571 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.852 mas, bmaj=4.506 mas, bpa=18 degrees ! Estimated noise=0.45581 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.00170756 Jy ! Component: 100 - total flux cleaned = 0.00271606 Jy ! Component: 150 - total flux cleaned = 0.00336005 Jy ! Component: 200 - total flux cleaned = 0.00357938 Jy ! Total flux subtracted in 200 components = 0.00357938 Jy ! Clean residual min=-0.001517 max=0.001605 Jy/beam ! Clean residual mean=0.000001 rms=0.000359 Jy/beam ! Combined flux in latest and established models = 0.136963 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 69 components and 0.136963 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.020079Jy sigma=0.599225 ! Fit after self-cal, rms=0.020067Jy sigma=0.598537 ! 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.020067Jy sigma=0.598537 ! Fit after self-cal, rms=0.020106Jy sigma=0.594673 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.85 mas, bmaj=4.496 mas, bpa=18.05 degrees ! Estimated noise=0.460614 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00125159 Jy ! Component: 100 - total flux cleaned = 0.00195808 Jy ! Component: 150 - total flux cleaned = 0.0023758 Jy ! Component: 200 - total flux cleaned = 0.00255138 Jy ! Total flux subtracted in 200 components = 0.00255138 Jy ! Clean residual min=-0.001571 max=0.001533 Jy/beam ! Clean residual mean=0.000000 rms=0.000354 Jy/beam ! Combined flux in latest and established models = 0.139514 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 76 components and 0.139514 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.019935Jy sigma=0.592574 ! Fit after self-cal, rms=0.019930Jy sigma=0.592329 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 (5.4, -3.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00135878 Jy ! Component: 100 - total flux cleaned = 0.001936 Jy ! Component: 150 - total flux cleaned = 0.0020849 Jy ! Component: 200 - total flux cleaned = 0.00219985 Jy ! Total flux subtracted in 200 components = 0.00219985 Jy ! Clean residual min=-0.001313 max=0.001476 Jy/beam ! Clean residual mean=0.000000 rms=0.000325 Jy/beam ! Combined flux in latest and established models = 0.141714 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 105 components and 0.141714 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.019787Jy sigma=0.587311 ! Fit after self-cal, rms=0.019785Jy sigma=0.587090 ! Inverting map ! Added new window around map position (-71.4, -24.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000853229 Jy ! Component: 100 - total flux cleaned = 0.00108922 Jy ! Component: 150 - total flux cleaned = 0.00126357 Jy ! Component: 200 - total flux cleaned = 0.0013318 Jy ! Total flux subtracted in 200 components = 0.0013318 Jy ! Clean residual min=-0.001220 max=0.001384 Jy/beam ! Clean residual mean=-0.000000 rms=0.000314 Jy/beam ! Combined flux in latest and established models = 0.143046 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 124 components and 0.143046 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.019640Jy sigma=0.584766 ! Fit after self-cal, rms=0.019632Jy sigma=0.584197 ! Inverting map ! Added new window around map position (65.4, 63.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0011452 Jy ! Component: 100 - total flux cleaned = 0.00166231 Jy ! Component: 150 - total flux cleaned = 0.00190151 Jy ! Component: 200 - total flux cleaned = 0.00217001 Jy ! Total flux subtracted in 200 components = 0.00217001 Jy ! Clean residual min=-0.001063 max=0.001138 Jy/beam ! Clean residual mean=0.000000 rms=0.000288 Jy/beam ! Combined flux in latest and established models = 0.145216 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 149 components and 0.145216 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.019495Jy sigma=0.580671 ! Fit after self-cal, rms=0.019489Jy sigma=0.580329 ! 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.019489Jy sigma=0.580329 ! Fit after self-cal, rms=0.019517Jy sigma=0.574819 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.847 mas, bmaj=4.492 mas, bpa=18.1 degrees ! Estimated noise=0.465746 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00111523 Jy ! Component: 100 - total flux cleaned = 0.00184049 Jy ! Component: 150 - total flux cleaned = 0.00242545 Jy ! Component: 200 - total flux cleaned = 0.00289839 Jy ! Total flux subtracted in 200 components = 0.00289839 Jy ! Clean residual min=-0.001132 max=0.001251 Jy/beam ! Clean residual mean=0.000001 rms=0.000306 Jy/beam ! Combined flux in latest and established models = 0.148114 Jy selfcal ! Performing phase self-cal ! Adding 40 model components to the UV plane model. ! The established model now contains 166 components and 0.148115 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.019338Jy sigma=0.572970 ! Fit after self-cal, rms=0.019336Jy sigma=0.572836 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.000468517 Jy ! Component: 100 - total flux cleaned = 0.000856815 Jy ! Component: 150 - total flux cleaned = 0.00113309 Jy ! Component: 200 - total flux cleaned = 0.00139349 Jy ! Total flux subtracted in 200 components = 0.00139349 Jy ! Clean residual min=-0.001116 max=0.001145 Jy/beam ! Clean residual mean=0.000000 rms=0.000298 Jy/beam ! Combined flux in latest and established models = 0.149508 Jy ! Performing phase self-cal ! Adding 44 model components to the UV plane model. ! The established model now contains 181 components and 0.149508 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.019278Jy sigma=0.572357 ! Fit after self-cal, rms=0.019277Jy sigma=0.572308 ! 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.019277Jy sigma=0.572308 ! Fit after self-cal, rms=0.019325Jy sigma=0.570040 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.672 mas, bmaj=5.291 mas, bpa=12.75 degrees ! Estimated noise=0.555108 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00122237 Jy ! Component: 100 - total flux cleaned = 0.00188209 Jy ! Component: 150 - total flux cleaned = 0.0022196 Jy ! Component: 200 - total flux cleaned = 0.00252769 Jy ! Total flux subtracted in 200 components = 0.00252769 Jy ! Clean residual min=-0.001622 max=0.001366 Jy/beam ! Clean residual mean=0.000000 rms=0.000427 Jy/beam ! Combined flux in latest and established models = 0.152036 Jy selfcal ! Performing phase self-cal ! Adding 47 model components to the UV plane model. ! The established model now contains 215 components and 0.152036 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.019199Jy sigma=0.569507 ! Fit after self-cal, rms=0.019196Jy sigma=0.569255 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.000252939 Jy ! Component: 100 - total flux cleaned = 0.000534436 Jy ! Component: 150 - total flux cleaned = 0.000802871 Jy ! Component: 200 - total flux cleaned = 0.00104838 Jy ! Total flux subtracted in 200 components = 0.00104838 Jy ! Clean residual min=-0.001574 max=0.001330 Jy/beam ! Clean residual mean=0.000000 rms=0.000413 Jy/beam ! Combined flux in latest and established models = 0.153084 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 240 components and 0.153084 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.019175Jy sigma=0.569143 ! Fit after self-cal, rms=0.019174Jy sigma=0.569054 ! 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.846 mas, bmaj=4.491 mas, bpa=18.09 degrees ! Estimated noise=0.469526 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.846 x 4.491 at 18.09 degrees (North through East) ! Clean map min=-0.0011321 max=0.10321 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.422 mas, bmaj=4.089 mas, bpa=19.37 degrees ! Estimated noise=0.650073 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0754906 Jy ! Component: 100 - total flux cleaned = 0.0966058 Jy ! Component: 150 - total flux cleaned = 0.10854 Jy ! Component: 200 - total flux cleaned = 0.11681 Jy ! Total flux subtracted in 200 components = 0.11681 Jy ! Clean residual min=-0.002702 max=0.004633 Jy/beam ! Clean residual mean=0.000008 rms=0.000821 Jy/beam ! Combined flux in latest and established models = 0.11681 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 18 model components to the UV plane model. ! The established model now contains 18 components and 0.11681 Jy ! Inverting map and beam ! Estimated beam: bmin=1.846 mas, bmaj=4.491 mas, bpa=18.09 degrees ! Estimated noise=0.469526 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.00966634 Jy ! Component: 100 - total flux cleaned = 0.0153018 Jy ! Component: 150 - total flux cleaned = 0.0189942 Jy ! Component: 200 - total flux cleaned = 0.0216707 Jy ! Total flux subtracted in 200 components = 0.0216707 Jy ! Clean residual min=-0.001681 max=0.001887 Jy/beam ! Clean residual mean=0.000003 rms=0.000495 Jy/beam ! Combined flux in latest and established models = 0.138481 Jy ! Adding 34 model components to the UV plane model. ! The established model now contains 42 components and 0.138481 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=3.672 mas, bmaj=5.291 mas, bpa=12.75 degrees ! Estimated noise=0.555108 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00312032 Jy ! Component: 100 - total flux cleaned = 0.00530091 Jy ! Component: 150 - total flux cleaned = 0.00697668 Jy ! Component: 200 - total flux cleaned = 0.00831059 Jy ! Total flux subtracted in 200 components = 0.00831059 Jy ! Clean residual min=-0.001834 max=0.001446 Jy/beam ! Clean residual mean=0.000002 rms=0.000507 Jy/beam ! Combined flux in latest and established models = 0.146791 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.00110077 Jy ! Component: 100 - total flux cleaned = 0.00202477 Jy ! Component: 150 - total flux cleaned = 0.00282111 Jy ! Component: 200 - total flux cleaned = 0.00351445 Jy ! Total flux subtracted in 200 components = 0.00351445 Jy ! Clean residual min=-0.001758 max=0.001325 Jy/beam ! Clean residual mean=0.000001 rms=0.000450 Jy/beam ! Combined flux in latest and established models = 0.150306 Jy ! Adding 115 model components to the UV plane model. ! The established model now contains 150 components and 0.150306 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.846 mas, bmaj=4.491 mas, bpa=18.09 degrees ! Estimated noise=0.469526 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000615071 Jy ! Component: 100 - total flux cleaned = 0.000920459 Jy ! Component: 150 - total flux cleaned = 0.00124434 Jy ! Component: 200 - total flux cleaned = 0.00156434 Jy ! Total flux subtracted in 200 components = 0.00156434 Jy ! Clean residual min=-0.001259 max=0.001148 Jy/beam ! Clean residual mean=0.000000 rms=0.000317 Jy/beam ! Combined flux in latest and established models = 0.15187 Jy selfcal ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 178 components and 0.15187 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.019235Jy sigma=0.572326 ! Fit after self-cal, rms=0.019228Jy sigma=0.571965 wmodel /d2/scr/pima/bp171a4_uvs/J1401+3611_C_map.mod ! Writing 178 model components to file: /d2/scr/pima/bp171a4_uvs/J1401+3611_C_map.mod wobs /d2/scr/pima/bp171a4_uvs/J1401+3611_C_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp171a4_uvs/J1401+3611_C_uvs.fits wwins /d2/scr/pima/bp171a4_uvs/J1401+3611_C_map.win ! wwins: Wrote 5 windows to /d2/scr/pima/bp171a4_uvs/J1401+3611_C_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.000461901 Jy ! Component: 100 - total flux cleaned = -0.000664274 Jy ! Component: 150 - total flux cleaned = -0.000818188 Jy ! Component: 200 - total flux cleaned = -0.000799135 Jy ! Component: 250 - total flux cleaned = -0.0008344 Jy ! Component: 300 - total flux cleaned = -0.000851388 Jy ! Component: 350 - total flux cleaned = -0.000885117 Jy ! Component: 400 - total flux cleaned = -0.000966277 Jy ! Component: 450 - total flux cleaned = -0.000981708 Jy ! Component: 500 - total flux cleaned = -0.00101232 Jy ! Component: 550 - total flux cleaned = -0.00105739 Jy ! Component: 600 - total flux cleaned = -0.00102813 Jy ! Component: 650 - total flux cleaned = -0.00104267 Jy ! Component: 700 - total flux cleaned = -0.00102852 Jy ! Component: 750 - total flux cleaned = -0.000986964 Jy ! Component: 800 - total flux cleaned = -0.000986777 Jy ! Component: 850 - total flux cleaned = -0.0010131 Jy ! Component: 900 - total flux cleaned = -0.00099995 Jy ! Component: 950 - total flux cleaned = -0.000999922 Jy ! Component: 1000 - total flux cleaned = -0.000962414 Jy ! Component: 1050 - total flux cleaned = -0.000987234 Jy ! Component: 1100 - total flux cleaned = -0.00103551 Jy ! Component: 1150 - total flux cleaned = -0.00105919 Jy ! Component: 1200 - total flux cleaned = -0.00104758 Jy ! Component: 1250 - total flux cleaned = -0.00107074 Jy ! Component: 1300 - total flux cleaned = -0.0010935 Jy ! Component: 1350 - total flux cleaned = -0.00108209 Jy ! Component: 1400 - total flux cleaned = -0.00107086 Jy ! Component: 1450 - total flux cleaned = -0.00100555 Jy ! Component: 1500 - total flux cleaned = -0.00100561 Jy ! Component: 1550 - total flux cleaned = -0.000973804 Jy ! Component: 1600 - total flux cleaned = -0.000921345 Jy ! Component: 1650 - total flux cleaned = -0.000879848 Jy ! Component: 1700 - total flux cleaned = -0.000828693 Jy ! Component: 1750 - total flux cleaned = -0.000808607 Jy ! Component: 1800 - total flux cleaned = -0.000768551 Jy ! Component: 1850 - total flux cleaned = -0.000719164 Jy ! Component: 1900 - total flux cleaned = -0.000699743 Jy ! Component: 1950 - total flux cleaned = -0.000661129 Jy ! Component: 2000 - total flux cleaned = -0.000585214 Jy ! Component: 2050 - total flux cleaned = -0.000556866 Jy ! Component: 2100 - total flux cleaned = -0.00052913 Jy ! Component: 2150 - total flux cleaned = -0.000492349 Jy ! Component: 2200 - total flux cleaned = -0.000437633 Jy ! Component: 2250 - total flux cleaned = -0.00041971 Jy ! Component: 2300 - total flux cleaned = -0.000366137 Jy ! Component: 2350 - total flux cleaned = -0.000348523 Jy ! Component: 2400 - total flux cleaned = -0.000278613 Jy ! Component: 2450 - total flux cleaned = -0.000252739 Jy ! Component: 2500 - total flux cleaned = -0.000218322 Jy ! Component: 2550 - total flux cleaned = -0.000150507 Jy ! Component: 2600 - total flux cleaned = -0.00014217 Jy ! Component: 2650 - total flux cleaned = -0.00011717 Jy ! Component: 2700 - total flux cleaned = -9.2449e-05 Jy ! Component: 2750 - total flux cleaned = -8.42768e-05 Jy ! Component: 2800 - total flux cleaned = -5.18042e-05 Jy ! Component: 2850 - total flux cleaned = -1.16042e-05 Jy ! Component: 2900 - total flux cleaned = 1.22763e-05 Jy ! Component: 2950 - total flux cleaned = 2.80728e-05 Jy ! Component: 3000 - total flux cleaned = 5.15068e-05 Jy ! Component: 3050 - total flux cleaned = 4.37506e-05 Jy ! Component: 3100 - total flux cleaned = 6.68674e-05 Jy ! Component: 3150 - total flux cleaned = 9.75523e-05 Jy ! Component: 3200 - total flux cleaned = 0.00010513 Jy ! Component: 3250 - total flux cleaned = 0.000112755 Jy ! Component: 3300 - total flux cleaned = 0.000150217 Jy ! Component: 3350 - total flux cleaned = 0.000164996 Jy ! Component: 3400 - total flux cleaned = 0.000157617 Jy ! Component: 3450 - total flux cleaned = 0.000179599 Jy ! Component: 3500 - total flux cleaned = 0.000165106 Jy ! Component: 3550 - total flux cleaned = 0.000215623 Jy ! Component: 3600 - total flux cleaned = 0.000244255 Jy ! Component: 3650 - total flux cleaned = 0.000279745 Jy ! Component: 3700 - total flux cleaned = 0.00026558 Jy ! Component: 3750 - total flux cleaned = 0.000286613 Jy ! Component: 3800 - total flux cleaned = 0.00030742 Jy ! Component: 3850 - total flux cleaned = 0.000314358 Jy ! Component: 3900 - total flux cleaned = 0.000321237 Jy ! Component: 3950 - total flux cleaned = 0.000334896 Jy ! Component: 4000 - total flux cleaned = 0.000321391 Jy ! Component: 4050 - total flux cleaned = 0.000334944 Jy ! Total flux subtracted in 4096 components = 0.000348359 Jy ! Clean residual min=-0.000363 max=0.000349 Jy/beam ! Clean residual mean=0.000001 rms=0.000122 Jy/beam ! Combined flux in latest and established models = 0.152219 Jy keep ! Adding 291 model components to the UV plane model. ! The established model now contains 469 components and 0.152219 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp171a4_uvs/J1401+3611_C\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.846 x 4.491 at 18.09 degrees (North through East) ! Clean map min=-0.00078936 max=0.10352 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp171a4_uvs/J1401+3611_C_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.103517 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000119626 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.346685 0.346685 0.69337 1.38674 2.77348 5.54696 11.0939 22.1878 44.3757 88.7513 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0003 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.103 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 865.339 quit ! Quitting program ! Log file /d2/scr/pima/bp171a4_uvs/J1401+3611_C_uvs.log closed on Wed Jan 29 04:25:57 2014