! Started logfile: /d2/scr/pima/bp171a3_uvs/J0017+8135_X_uvs.log on Mon Feb 24 08:41:13 2014 obs /d2/scr/pima/bp171a3_uvs/J0017+8135_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp171a3_uvs/J0017+8135_X_uva.fits ! AN table 1: 8 integrations on 28 of 28 possible baselines. ! Apparent sampling: 0.808036 visibilities/baseline/integration-bin. ! Found source: J0017+8135 ! ! 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 1448 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/bp171a3_uvs/J0017+8135_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 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.491884Jy sigma=40.800516 ! Fit after self-cal, rms=0.451224Jy sigma=9.822758 ! 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=0.7064 mas, bmaj=2.442 mas, bpa=26.13 degrees ! Estimated noise=1.17776 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.805363 Jy ! Component: 100 - total flux cleaned = 1.08406 Jy ! Total flux subtracted in 100 components = 1.08406 Jy ! Clean residual min=-0.058698 max=0.113962 Jy/beam ! Clean residual mean=0.000379 rms=0.018284 Jy/beam ! Combined flux in latest and established models = 1.08406 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 12 components and 1.08406 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.270036Jy sigma=7.523914 ! Fit after self-cal, rms=0.269912Jy sigma=7.522890 ! Inverting map ! Added new window around map position (2.6, 1.6). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.129814 Jy ! Component: 100 - total flux cleaned = 0.209906 Jy ! Total flux subtracted in 100 components = 0.209906 Jy ! Clean residual min=-0.041389 max=0.082765 Jy/beam ! Clean residual mean=0.000236 rms=0.012189 Jy/beam ! Combined flux in latest and established models = 1.29396 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 31 components and 1.29396 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.202064Jy sigma=5.176281 ! Fit after self-cal, rms=0.200893Jy sigma=5.120641 ! Inverting map ! Added new window around map position (-2.8, -1.4). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0736601 Jy ! Component: 100 - total flux cleaned = 0.121977 Jy ! Total flux subtracted in 100 components = 0.121977 Jy ! Clean residual min=-0.035490 max=0.047034 Jy/beam ! Clean residual mean=0.000163 rms=0.009379 Jy/beam ! Combined flux in latest and established models = 1.41594 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 49 components and 1.41594 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.167713Jy sigma=4.241809 ! Fit after self-cal, rms=0.167099Jy sigma=4.225253 ! 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=0.8825 mas, bmaj=2.859 mas, bpa=24.21 degrees ! Estimated noise=0.779639 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.0430338 Jy ! Component: 100 - total flux cleaned = 0.0752027 Jy ! Component: 150 - total flux cleaned = 0.100427 Jy ! Component: 200 - total flux cleaned = 0.11352 Jy ! Total flux subtracted in 200 components = 0.11352 Jy ! Clean residual min=-0.041220 max=0.038729 Jy/beam ! Clean residual mean=0.000129 rms=0.008959 Jy/beam ! Combined flux in latest and established models = 1.52946 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 79 components and 1.52946 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.149399Jy sigma=3.839033 ! Fit after self-cal, rms=0.149261Jy sigma=3.834459 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8825 x 2.859 at 24.21 degrees (North through East) ! Clean map min=-0.040167 max=0.97968 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. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 1.10 HN 0.90 KP 0.96 MK 1.07 ! NL 1.02 OV 0.94 PT 0.86 SC 1.04 ! ! ! Correcting IF 2. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 0.99 HN 0.89 KP 0.96 MK 1.07 ! NL 1.02 OV 0.90 PT 0.89 SC 1.01 ! ! ! Correcting IF 3. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 1.10 HN 0.95 KP 1.09 MK 1.07 ! NL 1.03 OV 0.94 PT 0.91 SC 1.06 ! ! ! Correcting IF 4. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 1.11 HN 1.00 KP 0.95 MK 1.12 ! NL 1.01 OV 0.94 PT 0.93 SC 1.09 ! ! ! Correcting IF 5. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 1.01 HN 0.97 KP 1.10 MK 0.99 ! NL 0.96 OV 0.92 PT 0.90 SC 1.03 ! ! ! Correcting IF 6. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 1.03 HN 1.06 KP 1.08 MK 1.01 ! NL 1.06 OV 0.98 PT 0.94 SC 1.09 ! ! ! Correcting IF 7. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 1.03 HN 1.00 KP 1.05 MK 1.05 ! NL 1.03 OV 1.00 PT 0.91 SC 1.06 ! ! ! Correcting IF 8. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 1.02 HN 1.01 KP 1.10 MK 1.02 ! NL 1.00 OV 1.00 PT 0.85 SC 1.18 ! ! ! Fit before self-cal, rms=0.149261Jy sigma=3.834459 ! Fit after self-cal, rms=0.099526Jy sigma=2.181134 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.8931 mas, bmaj=2.88 mas, bpa=23.96 degrees ! Estimated noise=0.784747 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.0140295 Jy ! Component: 100 - total flux cleaned = -0.0168217 Jy ! Component: 150 - total flux cleaned = -0.0168101 Jy ! Component: 200 - total flux cleaned = -0.0182133 Jy ! Total flux subtracted in 200 components = -0.0182133 Jy ! Clean residual min=-0.029294 max=0.026713 Jy/beam ! Clean residual mean=0.000029 rms=0.005355 Jy/beam ! Combined flux in latest and established models = 1.51125 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 94 components and 1.51125 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.093306Jy sigma=2.043962 ! Fit after self-cal, rms=0.093359Jy sigma=2.042952 ! 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.093359Jy sigma=2.042952 ! Fit after self-cal, rms=0.093532Jy sigma=2.035416 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8952 mas, bmaj=2.884 mas, bpa=23.93 degrees ! Estimated noise=0.783431 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00713064 Jy ! Component: 100 - total flux cleaned = -0.00974251 Jy ! Component: 150 - total flux cleaned = -0.0109391 Jy ! Component: 200 - total flux cleaned = -0.0120821 Jy ! Total flux subtracted in 200 components = -0.0120821 Jy ! Clean residual min=-0.027631 max=0.024997 Jy/beam ! Clean residual mean=0.000029 rms=0.005079 Jy/beam ! Combined flux in latest and established models = 1.49916 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 102 components and 1.49916 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.089686Jy sigma=1.950850 ! Fit after self-cal, rms=0.089625Jy sigma=1.950321 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.0011007 Jy ! Component: 100 - total flux cleaned = -0.00214506 Jy ! Component: 150 - total flux cleaned = -0.00344406 Jy ! Component: 200 - total flux cleaned = -0.00437415 Jy ! Total flux subtracted in 200 components = -0.00437415 Jy ! Clean residual min=-0.026051 max=0.024878 Jy/beam ! Clean residual mean=0.000035 rms=0.004907 Jy/beam ! Combined flux in latest and established models = 1.49479 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 107 components and 1.49479 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.087204Jy sigma=1.895331 ! Fit after self-cal, rms=0.087150Jy sigma=1.894825 ! 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.087150Jy sigma=1.894825 ! Fit after self-cal, rms=0.077492Jy sigma=1.608539 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8975 mas, bmaj=2.886 mas, bpa=23.71 degrees ! Estimated noise=0.787349 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00831359 Jy ! Component: 100 - total flux cleaned = -0.0125557 Jy ! Component: 150 - total flux cleaned = -0.0149095 Jy ! Component: 200 - total flux cleaned = -0.0166861 Jy ! Total flux subtracted in 200 components = -0.0166861 Jy ! Clean residual min=-0.018243 max=0.013470 Jy/beam ! Clean residual mean=0.000032 rms=0.003398 Jy/beam ! Combined flux in latest and established models = 1.4781 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 123 components and 1.4781 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.074640Jy sigma=1.529002 ! Fit after self-cal, rms=0.074585Jy sigma=1.526465 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.00118556 Jy ! Component: 100 - total flux cleaned = -0.00285143 Jy ! Component: 150 - total flux cleaned = -0.00398994 Jy ! Component: 200 - total flux cleaned = -0.00487816 Jy ! Total flux subtracted in 200 components = -0.00487816 Jy ! Clean residual min=-0.016873 max=0.012690 Jy/beam ! Clean residual mean=0.000036 rms=0.003295 Jy/beam ! Combined flux in latest and established models = 1.47322 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 133 components and 1.47322 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.073386Jy sigma=1.501043 ! Fit after self-cal, rms=0.073345Jy sigma=1.499759 ! 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.073345Jy sigma=1.499759 ! Fit after self-cal, rms=0.074106Jy sigma=1.478045 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.898 mas, bmaj=5.238 mas, bpa=14.39 degrees ! Estimated noise=0.921301 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0101818 Jy ! Component: 100 - total flux cleaned = -0.0127474 Jy ! Component: 150 - total flux cleaned = -0.0136085 Jy ! Component: 200 - total flux cleaned = -0.0143842 Jy ! Total flux subtracted in 200 components = -0.0143842 Jy ! Clean residual min=-0.018628 max=0.014591 Jy/beam ! Clean residual mean=0.000077 rms=0.004622 Jy/beam ! Combined flux in latest and established models = 1.45884 Jy selfcal ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 146 components and 1.45884 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.073284Jy sigma=1.442449 ! Fit after self-cal, rms=0.073296Jy sigma=1.441876 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.000558047 Jy ! Component: 100 - total flux cleaned = -0.00122421 Jy ! Component: 150 - total flux cleaned = -0.00168729 Jy ! Component: 200 - total flux cleaned = -0.00212621 Jy ! Total flux subtracted in 200 components = -0.00212621 Jy ! Clean residual min=-0.017618 max=0.013895 Jy/beam ! Clean residual mean=0.000083 rms=0.004552 Jy/beam ! Combined flux in latest and established models = 1.45671 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 153 components and 1.45671 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.072881Jy sigma=1.431767 ! Fit after self-cal, rms=0.072888Jy sigma=1.431695 ! 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=0.9003 mas, bmaj=2.896 mas, bpa=23.6 degrees ! Estimated noise=0.788857 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9003 x 2.896 at 23.6 degrees (North through East) ! Clean map min=-0.018103 max=0.97933 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 ! Performing amp+phase self-cal ! ! 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.072888Jy sigma=1.431695 ! Fit after self-cal, rms=0.070730Jy sigma=1.330835 ! Inverting map and beam ! Estimated beam: bmin=0.8997 mas, bmaj=2.904 mas, bpa=23.56 degrees ! Estimated noise=0.786509 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00245431 Jy ! Component: 100 - total flux cleaned = -0.00346258 Jy ! Component: 150 - total flux cleaned = -0.00432105 Jy ! Component: 200 - total flux cleaned = -0.00511975 Jy ! Total flux subtracted in 200 components = -0.00511975 Jy ! Clean residual min=-0.013035 max=0.011423 Jy/beam ! Clean residual mean=0.000029 rms=0.002804 Jy/beam ! Combined flux in latest and established models = 1.45159 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 164 components and 1.45159 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.069243Jy sigma=1.306204 ! Fit after self-cal, rms=0.069209Jy sigma=1.305194 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000447732 Jy ! Component: 100 - total flux cleaned = -0.00115076 Jy ! Component: 150 - total flux cleaned = -0.00179244 Jy ! Component: 200 - total flux cleaned = -0.00227608 Jy ! Total flux subtracted in 200 components = -0.00227608 Jy ! Clean residual min=-0.012372 max=0.011492 Jy/beam ! Clean residual mean=0.000031 rms=0.002763 Jy/beam ! Combined flux in latest and established models = 1.44932 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 166 components and 1.44932 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.068426Jy sigma=1.295181 ! Fit after self-cal, rms=0.068425Jy sigma=1.294684 ! Inverting map ! Performing amp+phase self-cal ! ! 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.068425Jy sigma=1.294684 ! Fit after self-cal, rms=0.068654Jy sigma=1.285897 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=0.7266 mas, bmaj=2.495 mas, bpa=25.52 degrees ! Estimated noise=1.19837 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.81132 Jy ! Component: 100 - total flux cleaned = 1.08279 Jy ! Component: 150 - total flux cleaned = 1.19559 Jy ! Component: 200 - total flux cleaned = 1.26393 Jy ! Total flux subtracted in 200 components = 1.26393 Jy ! Clean residual min=-0.023708 max=0.036838 Jy/beam ! Clean residual mean=0.000151 rms=0.006969 Jy/beam ! Combined flux in latest and established models = 1.26393 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 29 model components to the UV plane model. ! The established model now contains 29 components and 1.26393 Jy ! Inverting map and beam ! Estimated beam: bmin=0.9006 mas, bmaj=2.905 mas, bpa=23.55 degrees ! Estimated noise=0.786169 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.0615744 Jy ! Component: 100 - total flux cleaned = 0.100656 Jy ! Component: 150 - total flux cleaned = 0.127825 Jy ! Component: 200 - total flux cleaned = 0.147491 Jy ! Total flux subtracted in 200 components = 0.147491 Jy ! Clean residual min=-0.015790 max=0.020067 Jy/beam ! Clean residual mean=0.000069 rms=0.003725 Jy/beam ! Combined flux in latest and established models = 1.41142 Jy ! Adding 40 model components to the UV plane model. ! The established model now contains 59 components and 1.41142 Jy ! Inverting map ! Added new window around map position (-4.2, -6.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0145227 Jy ! Component: 100 - total flux cleaned = 0.0215053 Jy ! Component: 150 - total flux cleaned = 0.0254276 Jy ! Component: 200 - total flux cleaned = 0.027143 Jy ! Total flux subtracted in 200 components = 0.027143 Jy ! Clean residual min=-0.012179 max=0.011659 Jy/beam ! Clean residual mean=0.000038 rms=0.002912 Jy/beam ! Combined flux in latest and established models = 1.43856 Jy ! Adding 25 model components to the UV plane model. ! The established model now contains 79 components and 1.43856 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=1.899 mas, bmaj=5.241 mas, bpa=14.37 degrees ! Estimated noise=0.918248 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00104545 Jy ! Component: 100 - total flux cleaned = -0.00217888 Jy ! Component: 150 - total flux cleaned = -0.00339442 Jy ! Component: 200 - total flux cleaned = -0.00388699 Jy ! Total flux subtracted in 200 components = -0.00388699 Jy ! Clean residual min=-0.013544 max=0.011900 Jy/beam ! Clean residual mean=0.000069 rms=0.003541 Jy/beam ! Combined flux in latest and established models = 1.43468 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.000445423 Jy ! Component: 100 - total flux cleaned = -0.00100588 Jy ! Component: 150 - total flux cleaned = -0.00116918 Jy ! Component: 200 - total flux cleaned = -0.0013099 Jy ! Total flux subtracted in 200 components = -0.0013099 Jy ! Clean residual min=-0.012916 max=0.011791 Jy/beam ! Clean residual mean=0.000061 rms=0.003414 Jy/beam ! Combined flux in latest and established models = 1.43337 Jy ! Adding 50 model components to the UV plane model. ! The established model now contains 128 components and 1.43337 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.9006 mas, bmaj=2.905 mas, bpa=23.55 degrees ! Estimated noise=0.786169 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000373881 Jy ! Component: 100 - total flux cleaned = 0.000371699 Jy ! Component: 150 - total flux cleaned = 0.000627944 Jy ! Component: 200 - total flux cleaned = 0.00110951 Jy ! Total flux subtracted in 200 components = 0.00110951 Jy ! Clean residual min=-0.012190 max=0.011095 Jy/beam ! Clean residual mean=0.000028 rms=0.002557 Jy/beam ! Combined flux in latest and established models = 1.43448 Jy selfcal ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 152 components and 1.43448 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.069945Jy sigma=1.321897 ! Fit after self-cal, rms=0.069475Jy sigma=1.305514 wmodel /d2/scr/pima/bp171a3_uvs/J0017+8135_X_map.mod ! Writing 152 model components to file: /d2/scr/pima/bp171a3_uvs/J0017+8135_X_map.mod wobs /d2/scr/pima/bp171a3_uvs/J0017+8135_X_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp171a3_uvs/J0017+8135_X_uvs.fits wwins /d2/scr/pima/bp171a3_uvs/J0017+8135_X_map.win ! wwins: Wrote 4 windows to /d2/scr/pima/bp171a3_uvs/J0017+8135_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.00507114 Jy ! Component: 100 - total flux cleaned = -0.00954577 Jy ! Component: 150 - total flux cleaned = -0.0129055 Jy ! Component: 200 - total flux cleaned = -0.0148207 Jy ! Component: 250 - total flux cleaned = -0.0157334 Jy ! Component: 300 - total flux cleaned = -0.0166152 Jy ! Component: 350 - total flux cleaned = -0.0170409 Jy ! Component: 400 - total flux cleaned = -0.0174524 Jy ! Component: 450 - total flux cleaned = -0.0182459 Jy ! Component: 500 - total flux cleaned = -0.0187543 Jy ! Component: 550 - total flux cleaned = -0.0192452 Jy ! Component: 600 - total flux cleaned = -0.0196012 Jy ! Component: 650 - total flux cleaned = -0.01995 Jy ! Component: 700 - total flux cleaned = -0.0206316 Jy ! Component: 750 - total flux cleaned = -0.0208558 Jy ! Component: 800 - total flux cleaned = -0.0217197 Jy ! Component: 850 - total flux cleaned = -0.0222449 Jy ! Component: 900 - total flux cleaned = -0.0226554 Jy ! Component: 950 - total flux cleaned = -0.0233552 Jy ! Component: 1000 - total flux cleaned = -0.0239404 Jy ! Component: 1050 - total flux cleaned = -0.0246072 Jy ! Component: 1100 - total flux cleaned = -0.0249807 Jy ! Component: 1150 - total flux cleaned = -0.0257116 Jy ! Component: 1200 - total flux cleaned = -0.0263366 Jy ! Component: 1250 - total flux cleaned = -0.0265966 Jy ! Component: 1300 - total flux cleaned = -0.0271083 Jy ! Component: 1350 - total flux cleaned = -0.027443 Jy ! Component: 1400 - total flux cleaned = -0.0279386 Jy ! Component: 1450 - total flux cleaned = -0.028181 Jy ! Component: 1500 - total flux cleaned = -0.028497 Jy ! Component: 1550 - total flux cleaned = -0.0288859 Jy ! Component: 1600 - total flux cleaned = -0.0292669 Jy ! Component: 1650 - total flux cleaned = -0.0296412 Jy ! Component: 1700 - total flux cleaned = -0.0298633 Jy ! Component: 1750 - total flux cleaned = -0.0301528 Jy ! Component: 1800 - total flux cleaned = -0.0302954 Jy ! Component: 1850 - total flux cleaned = -0.0306467 Jy ! Component: 1900 - total flux cleaned = -0.030785 Jy ! Component: 1950 - total flux cleaned = -0.0309218 Jy ! Component: 2000 - total flux cleaned = -0.0313864 Jy ! Component: 2050 - total flux cleaned = -0.0317129 Jy ! Component: 2100 - total flux cleaned = -0.0319044 Jy ! Component: 2150 - total flux cleaned = -0.0322835 Jy ! Component: 2200 - total flux cleaned = -0.0325951 Jy ! Component: 2250 - total flux cleaned = -0.032657 Jy ! Component: 2300 - total flux cleaned = -0.0330795 Jy ! Component: 2350 - total flux cleaned = -0.0330777 Jy ! Component: 2400 - total flux cleaned = -0.0330778 Jy ! Component: 2450 - total flux cleaned = -0.0332527 Jy ! Component: 2500 - total flux cleaned = -0.0333106 Jy ! Component: 2550 - total flux cleaned = -0.033592 Jy ! Component: 2600 - total flux cleaned = -0.0337576 Jy ! Component: 2650 - total flux cleaned = -0.0337032 Jy ! Component: 2700 - total flux cleaned = -0.0338116 Jy ! Component: 2750 - total flux cleaned = -0.0340242 Jy ! Component: 2800 - total flux cleaned = -0.0340235 Jy ! Component: 2850 - total flux cleaned = -0.0339701 Jy ! Component: 2900 - total flux cleaned = -0.0339707 Jy ! Component: 2950 - total flux cleaned = -0.0341725 Jy ! Component: 3000 - total flux cleaned = -0.0342221 Jy ! Component: 3050 - total flux cleaned = -0.0342215 Jy ! Component: 3100 - total flux cleaned = -0.0343674 Jy ! Component: 3150 - total flux cleaned = -0.0342709 Jy ! Component: 3200 - total flux cleaned = -0.0344143 Jy ! Component: 3250 - total flux cleaned = -0.0343676 Jy ! Component: 3300 - total flux cleaned = -0.0344139 Jy ! Component: 3350 - total flux cleaned = -0.0342762 Jy ! Component: 3400 - total flux cleaned = -0.0343221 Jy ! Component: 3450 - total flux cleaned = -0.0345468 Jy ! Component: 3500 - total flux cleaned = -0.0345908 Jy ! Component: 3550 - total flux cleaned = -0.0347223 Jy ! Component: 3600 - total flux cleaned = -0.0345486 Jy ! Component: 3650 - total flux cleaned = -0.034721 Jy ! Component: 3700 - total flux cleaned = -0.0347637 Jy ! Component: 3750 - total flux cleaned = -0.0348068 Jy ! Component: 3800 - total flux cleaned = -0.034932 Jy ! Component: 3850 - total flux cleaned = -0.0350144 Jy ! Component: 3900 - total flux cleaned = -0.0350957 Jy ! Component: 3950 - total flux cleaned = -0.0350149 Jy ! Component: 4000 - total flux cleaned = -0.0350957 Jy ! Component: 4050 - total flux cleaned = -0.0351356 Jy ! Total flux subtracted in 4096 components = -0.035175 Jy ! Clean residual min=-0.002238 max=0.002288 Jy/beam ! Clean residual mean=0.000002 rms=0.000701 Jy/beam ! Combined flux in latest and established models = 1.3993 Jy keep ! Adding 332 model components to the UV plane model. ! The established model now contains 484 components and 1.3993 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp171a3_uvs/J0017+8135_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9006 x 2.905 at 23.55 degrees (North through East) ! Clean map min=-0.012562 max=1.0023 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp171a3_uvs/J0017+8135_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 1.00232 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000697275 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.208699 0.208699 0.417398 0.834797 1.66959 3.33919 6.67837 13.3567 26.7135 53.427 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.002 print "peak= ", int(1000*peak_flux)/1000 ! peak= 1.002 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 1437.47 quit ! Quitting program ! Log file /d2/scr/pima/bp171a3_uvs/J0017+8135_X_uvs.log closed on Mon Feb 24 08:41:18 2014