! Started logfile: /scr/pima/bp171a8_uvs/J0019+7327_C_uvs.log on Fri Dec 27 16:23:14 2013 obs /scr/pima/bp171a8_uvs/J0019+7327_C_uva.fits ! Reading UV FITS file: /scr/pima/bp171a8_uvs/J0019+7327_C_uva.fits ! AN table 1: 50 integrations on 21 of 21 possible baselines. ! Apparent sampling: 0.755238 visibilities/baseline/integration-bin. ! Found source: J0019+7327 ! ! 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.14397e+09 3.2e+07 1 3.2e+07 ! 02 2 4.17597e+09 3.2e+07 1 3.2e+07 ! 03 3 4.20797e+09 3.2e+07 1 3.2e+07 ! 04 4 4.23997e+09 3.2e+07 1 3.2e+07 ! 05 5 4.43197e+09 3.2e+07 1 3.2e+07 ! 06 6 4.52797e+09 3.2e+07 1 3.2e+07 ! 07 7 4.55997e+09 3.2e+07 1 3.2e+07 ! 08 8 4.59197e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 6344 visibilities. select RR ! Selecting polarization: RR, channels: 1..8 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 ! Reading IF 5 channels: 5..5 ! Reading IF 6 channels: 6..6 ! Reading IF 7 channels: 7..7 ! Reading IF 8 channels: 8..8 print "field_size =",field_size ! field_size = 1024 print "field_cell =",field_cell ! field_cell = 0.3 print "taper_size =",taper_size ! taper_size = 40 ![@/home/lpetrov/bin/01_muppet /scr/pima/bp171a8_uvs/J0019+7327_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 47 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 47 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 47 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 47 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 47 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 47 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 47 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 47 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.277933Jy sigma=0.854983 ! Fit after self-cal, rms=0.253460Jy sigma=0.163749 ! 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.635 mas, bmaj=7.023 mas, bpa=30.21 degrees ! Estimated noise=21.9062 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.594355 Jy ! Component: 100 - total flux cleaned = 0.725423 Jy ! Total flux subtracted in 100 components = 0.725423 Jy ! Clean residual min=-0.019073 max=0.042688 Jy/beam ! Clean residual mean=0.000010 rms=0.006319 Jy/beam ! Combined flux in latest and established models = 0.725423 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 8 components and 0.725423 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.103214Jy sigma=0.070469 ! Fit after self-cal, rms=0.103211Jy sigma=0.070466 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0439189 Jy ! Component: 100 - total flux cleaned = 0.060897 Jy ! Total flux subtracted in 100 components = 0.060897 Jy ! Clean residual min=-0.017395 max=0.019335 Jy/beam ! Clean residual mean=-0.000015 rms=0.004939 Jy/beam ! Combined flux in latest and established models = 0.786321 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 19 components and 0.786321 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.087728Jy sigma=0.058808 ! Fit after self-cal, rms=0.087706Jy sigma=0.058794 ! 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=3.254 mas, bmaj=7.439 mas, bpa=30.18 degrees ! Estimated noise=13.3492 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.00233079 Jy ! Component: 100 - total flux cleaned = 0.0034645 Jy ! Component: 150 - total flux cleaned = 0.00515587 Jy ! Component: 200 - total flux cleaned = 0.00637625 Jy ! Total flux subtracted in 200 components = 0.00637625 Jy ! Clean residual min=-0.014167 max=0.015750 Jy/beam ! Clean residual mean=-0.000022 rms=0.004323 Jy/beam ! Combined flux in latest and established models = 0.792697 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 39 components and 0.792697 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.086279Jy sigma=0.057781 ! Fit after self-cal, rms=0.086257Jy sigma=0.057764 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.254 x 7.439 at 30.18 degrees (North through East) ! Clean map min=-0.013971 max=0.76829 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 9 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.09 HN 1.05 KP 0.89 ! LA 1.03 NL 1.04 OV 1.10 ! ! ! Correcting IF 2. ! A total of 9 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.11 HN 1.07 KP 0.92 ! LA 1.08 NL 1.07 OV 1.16 ! ! ! Correcting IF 3. ! A total of 9 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.14 FD 1.07 HN 1.06 KP 0.95 ! LA 1.01 NL 1.07 OV 1.12 ! ! ! Correcting IF 4. ! A total of 9 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 FD 1.05 HN 1.05 KP 0.95 ! LA 1.02 NL 0.97 OV 1.10 ! ! ! Correcting IF 5. ! A total of 9 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.97 HN 1.02 KP 0.94 ! LA 1.01 NL 0.95 OV 1.06 ! ! ! Correcting IF 6. ! A total of 9 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 0.95 HN 1.05 KP 0.94 ! LA 1.05 NL 0.92 OV 1.05 ! ! ! Correcting IF 7. ! A total of 9 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 FD 0.89 HN 1.00 KP 0.88 ! LA 0.98 NL 0.94 OV 1.06 ! ! ! Correcting IF 8. ! A total of 9 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.90 HN 1.00 KP 0.94 ! LA 0.99 NL 0.91 OV 1.07 ! ! ! Fit before self-cal, rms=0.086257Jy sigma=0.057764 ! Fit after self-cal, rms=0.033357Jy sigma=0.020876 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.27 mas, bmaj=7.403 mas, bpa=30.29 degrees ! Estimated noise=13.3922 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.000250877 Jy ! Component: 100 - total flux cleaned = -0.000331794 Jy ! Component: 150 - total flux cleaned = -0.000256753 Jy ! Component: 200 - total flux cleaned = -0.000187972 Jy ! Total flux subtracted in 200 components = -0.000187972 Jy ! Clean residual min=-0.002798 max=0.002469 Jy/beam ! Clean residual mean=0.000006 rms=0.000596 Jy/beam ! Combined flux in latest and established models = 0.792509 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 52 components and 0.792509 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.032895Jy sigma=0.020672 ! Fit after self-cal, rms=0.032917Jy sigma=0.020656 ! 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.032917Jy sigma=0.020656 ! Fit after self-cal, rms=0.032129Jy sigma=0.020182 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.272 mas, bmaj=7.404 mas, bpa=30.31 degrees ! Estimated noise=13.3941 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000923133 Jy ! Component: 100 - total flux cleaned = 0.00109095 Jy ! Component: 150 - total flux cleaned = 0.00119373 Jy ! Component: 200 - total flux cleaned = 0.00124178 Jy ! Total flux subtracted in 200 components = 0.00124178 Jy ! Clean residual min=-0.002242 max=0.002115 Jy/beam ! Clean residual mean=0.000007 rms=0.000473 Jy/beam ! Combined flux in latest and established models = 0.793751 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 66 components and 0.793751 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.031898Jy sigma=0.020093 ! Fit after self-cal, rms=0.031895Jy sigma=0.020089 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 = -4.58112e-05 Jy ! Component: 100 - total flux cleaned = -9.1077e-05 Jy ! Component: 150 - total flux cleaned = -9.14612e-05 Jy ! Component: 200 - total flux cleaned = -9.18781e-05 Jy ! Total flux subtracted in 200 components = -9.18781e-05 Jy ! Clean residual min=-0.002266 max=0.002126 Jy/beam ! Clean residual mean=0.000007 rms=0.000463 Jy/beam ! Combined flux in latest and established models = 0.793659 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 70 components and 0.793659 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.031747Jy sigma=0.020038 ! Fit after self-cal, rms=0.031747Jy sigma=0.020037 ! 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.031747Jy sigma=0.020037 ! Fit after self-cal, rms=0.031216Jy sigma=0.019789 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.271 mas, bmaj=7.403 mas, bpa=30.33 degrees ! Estimated noise=13.383 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000499908 Jy ! Component: 100 - total flux cleaned = 0.000686598 Jy ! Component: 150 - total flux cleaned = 0.000721372 Jy ! Component: 200 - total flux cleaned = 0.000721477 Jy ! Total flux subtracted in 200 components = 0.000721477 Jy ! Clean residual min=-0.001982 max=0.002143 Jy/beam ! Clean residual mean=0.000003 rms=0.000437 Jy/beam ! Combined flux in latest and established models = 0.79438 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 76 components and 0.79438 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.031118Jy sigma=0.019751 ! Fit after self-cal, rms=0.031118Jy sigma=0.019750 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 (-12.3, 2.7). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000520999 Jy ! Component: 100 - total flux cleaned = 0.000295126 Jy ! Component: 150 - total flux cleaned = 0.000341641 Jy ! Component: 200 - total flux cleaned = 0.000430566 Jy ! Total flux subtracted in 200 components = 0.000430566 Jy ! Clean residual min=-0.001768 max=0.001949 Jy/beam ! Clean residual mean=0.000003 rms=0.000413 Jy/beam ! Combined flux in latest and established models = 0.794811 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 93 components and 0.794811 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.030899Jy sigma=0.019640 ! Fit after self-cal, rms=0.030898Jy sigma=0.019637 ! Inverting map ! Added new window around map position (-37.8, -41.1). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000347752 Jy ! Component: 100 - total flux cleaned = -2.64716e-05 Jy ! Component: 150 - total flux cleaned = -0.000283784 Jy ! Component: 200 - total flux cleaned = -0.00044558 Jy ! Total flux subtracted in 200 components = -0.00044558 Jy ! Clean residual min=-0.001644 max=0.001619 Jy/beam ! Clean residual mean=0.000004 rms=0.000389 Jy/beam ! Combined flux in latest and established models = 0.794365 Jy ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 117 components and 0.794365 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.030727Jy sigma=0.019551 ! Fit after self-cal, rms=0.030718Jy sigma=0.019546 ! 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.030718Jy sigma=0.019546 ! Fit after self-cal, rms=0.030698Jy sigma=0.019535 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.463 mas, bmaj=7.835 mas, bpa=32.99 degrees ! Estimated noise=14.0415 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000212706 Jy ! Component: 100 - total flux cleaned = 9.25983e-05 Jy ! Component: 150 - total flux cleaned = 3.10932e-05 Jy ! Component: 200 - total flux cleaned = -5.59485e-06 Jy ! Total flux subtracted in 200 components = -5.59485e-06 Jy ! Clean residual min=-0.000988 max=0.001108 Jy/beam ! Clean residual mean=0.000005 rms=0.000298 Jy/beam ! Combined flux in latest and established models = 0.794359 Jy selfcal ! Performing phase self-cal ! Adding 37 model components to the UV plane model. ! The established model now contains 151 components and 0.794359 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.030657Jy sigma=0.019508 ! Fit after self-cal, rms=0.030655Jy sigma=0.019507 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 = 8.28529e-05 Jy ! Component: 100 - total flux cleaned = 9.90455e-05 Jy ! Component: 150 - total flux cleaned = 0.000130357 Jy ! Component: 200 - total flux cleaned = 0.000130466 Jy ! Total flux subtracted in 200 components = 0.000130466 Jy ! Clean residual min=-0.000956 max=0.001102 Jy/beam ! Clean residual mean=0.000005 rms=0.000292 Jy/beam ! Combined flux in latest and established models = 0.79449 Jy ! Performing phase self-cal ! Adding 43 model components to the UV plane model. ! The established model now contains 179 components and 0.79449 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.030627Jy sigma=0.019492 ! Fit after self-cal, rms=0.030627Jy sigma=0.019491 ! 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=3.27 mas, bmaj=7.402 mas, bpa=30.34 degrees ! Estimated noise=13.3805 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.27 x 7.402 at 30.34 degrees (North through East) ! Clean map min=-0.0014626 max=0.76503 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.030627Jy sigma=0.019491 ! Fit after self-cal, rms=0.027227Jy sigma=0.017103 ! Inverting map and beam ! Estimated beam: bmin=3.27 mas, bmaj=7.402 mas, bpa=30.34 degrees ! Estimated noise=13.3782 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000279922 Jy ! Component: 100 - total flux cleaned = 0.000318458 Jy ! Component: 150 - total flux cleaned = 0.00031802 Jy ! Component: 200 - total flux cleaned = 0.000351445 Jy ! Total flux subtracted in 200 components = 0.000351445 Jy ! Clean residual min=-0.001403 max=0.001536 Jy/beam ! Clean residual mean=0.000000 rms=0.000357 Jy/beam ! Combined flux in latest and established models = 0.794841 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 193 components and 0.794841 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.027119Jy sigma=0.017057 ! Fit after self-cal, rms=0.027116Jy sigma=0.017056 ! Inverting map ! Added new window around map position (12.3, -2.1). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000288567 Jy ! Component: 100 - total flux cleaned = -6.86081e-05 Jy ! Component: 150 - total flux cleaned = -0.000205238 Jy ! Component: 200 - total flux cleaned = -0.000165217 Jy ! Total flux subtracted in 200 components = -0.000165217 Jy ! Clean residual min=-0.001413 max=0.001460 Jy/beam ! Clean residual mean=0.000001 rms=0.000334 Jy/beam ! Combined flux in latest and established models = 0.794676 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 212 components and 0.794676 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.026926Jy sigma=0.016962 ! Fit after self-cal, rms=0.026923Jy sigma=0.016960 ! Inverting map ! Added new window around map position (23.4, 34.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.001453 Jy ! Component: 100 - total flux cleaned = 0.0017686 Jy ! Component: 150 - total flux cleaned = 0.00191291 Jy ! Component: 200 - total flux cleaned = 0.00187876 Jy ! Total flux subtracted in 200 components = 0.00187876 Jy ! Clean residual min=-0.001368 max=0.001365 Jy/beam ! Clean residual mean=0.000003 rms=0.000318 Jy/beam ! Combined flux in latest and established models = 0.796555 Jy ! Performing phase self-cal ! Adding 38 model components to the UV plane model. ! The established model now contains 237 components and 0.796555 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.026778Jy sigma=0.016893 ! Fit after self-cal, rms=0.026776Jy sigma=0.016891 ! 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.026776Jy sigma=0.016891 ! Fit after self-cal, rms=0.026754Jy sigma=0.016883 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.662 mas, bmaj=7.004 mas, bpa=30.21 degrees ! Estimated noise=21.8051 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.590782 Jy ! Component: 100 - total flux cleaned = 0.719836 Jy ! Component: 150 - total flux cleaned = 0.758622 Jy ! Component: 200 - total flux cleaned = 0.77624 Jy ! Total flux subtracted in 200 components = 0.77624 Jy ! Clean residual min=-0.005270 max=0.008119 Jy/beam ! Clean residual mean=0.000006 rms=0.001263 Jy/beam ! Combined flux in latest and established models = 0.77624 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 21 model components to the UV plane model. ! The established model now contains 21 components and 0.77624 Jy ! Inverting map and beam ! Estimated beam: bmin=3.269 mas, bmaj=7.402 mas, bpa=30.34 degrees ! Estimated noise=13.3775 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.00992614 Jy ! Component: 100 - total flux cleaned = 0.0137593 Jy ! Component: 150 - total flux cleaned = 0.0159648 Jy ! Component: 200 - total flux cleaned = 0.0177111 Jy ! Total flux subtracted in 200 components = 0.0177111 Jy ! Clean residual min=-0.002318 max=0.002442 Jy/beam ! Clean residual mean=-0.000000 rms=0.000524 Jy/beam ! Combined flux in latest and established models = 0.793951 Jy ! Adding 34 model components to the UV plane model. ! The established model now contains 50 components and 0.793951 Jy ! Inverting map ! Added new window around map position (37.5, 41.1). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00138385 Jy ! Component: 100 - total flux cleaned = 0.00206824 Jy ! Component: 150 - total flux cleaned = 0.00233296 Jy ! Component: 200 - total flux cleaned = 0.00258063 Jy ! Total flux subtracted in 200 components = 0.00258063 Jy ! Clean residual min=-0.001713 max=0.001754 Jy/beam ! Clean residual mean=0.000003 rms=0.000447 Jy/beam ! Combined flux in latest and established models = 0.796531 Jy ! Adding 35 model components to the UV plane model. ! The established model now contains 74 components and 0.796531 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=4.463 mas, bmaj=7.835 mas, bpa=32.99 degrees ! Estimated noise=14.0401 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000881088 Jy ! Component: 100 - total flux cleaned = -0.00116673 Jy ! Component: 150 - total flux cleaned = -0.00137231 Jy ! Component: 200 - total flux cleaned = -0.00155485 Jy ! Total flux subtracted in 200 components = -0.00155485 Jy ! Clean residual min=-0.001048 max=0.001202 Jy/beam ! Clean residual mean=0.000005 rms=0.000309 Jy/beam ! Combined flux in latest and established models = 0.794977 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.00020181 Jy ! Component: 100 - total flux cleaned = -0.000141471 Jy ! Component: 150 - total flux cleaned = -0.00020023 Jy ! Component: 200 - total flux cleaned = -0.000144315 Jy ! Total flux subtracted in 200 components = -0.000144315 Jy ! Clean residual min=-0.001007 max=0.001105 Jy/beam ! Clean residual mean=0.000006 rms=0.000293 Jy/beam ! Combined flux in latest and established models = 0.794832 Jy ! Adding 74 model components to the UV plane model. ! The established model now contains 143 components and 0.794832 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=3.269 mas, bmaj=7.402 mas, bpa=30.34 degrees ! Estimated noise=13.3775 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00073924 Jy ! Component: 100 - total flux cleaned = 0.000988258 Jy ! Component: 150 - total flux cleaned = 0.00110594 Jy ! Component: 200 - total flux cleaned = 0.00127524 Jy ! Total flux subtracted in 200 components = 0.00127524 Jy ! Clean residual min=-0.001497 max=0.001657 Jy/beam ! Clean residual mean=0.000005 rms=0.000378 Jy/beam ! Combined flux in latest and established models = 0.796107 Jy selfcal ! Performing phase self-cal ! Adding 36 model components to the UV plane model. ! The established model now contains 172 components and 0.796107 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.027488Jy sigma=0.017153 ! Fit after self-cal, rms=0.027478Jy sigma=0.017147 wmodel /scr/pima/bp171a8_uvs/J0019+7327_C_map.mod ! Writing 172 model components to file: /scr/pima/bp171a8_uvs/J0019+7327_C_map.mod wobs /scr/pima/bp171a8_uvs/J0019+7327_C_uvs.fits ! Writing UV FITS file: /scr/pima/bp171a8_uvs/J0019+7327_C_uvs.fits wwins /scr/pima/bp171a8_uvs/J0019+7327_C_map.win ! wwins: Wrote 6 windows to /scr/pima/bp171a8_uvs/J0019+7327_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.000274721 Jy ! Component: 100 - total flux cleaned = 0.00037894 Jy ! Component: 150 - total flux cleaned = 0.000379476 Jy ! Component: 200 - total flux cleaned = 0.000332867 Jy ! Component: 250 - total flux cleaned = 0.00040182 Jy ! Component: 300 - total flux cleaned = 0.00046893 Jy ! Component: 350 - total flux cleaned = 0.00051283 Jy ! Component: 400 - total flux cleaned = 0.000577222 Jy ! Component: 450 - total flux cleaned = 0.000577091 Jy ! Component: 500 - total flux cleaned = 0.000617847 Jy ! Component: 550 - total flux cleaned = 0.000597534 Jy ! Component: 600 - total flux cleaned = 0.000637697 Jy ! Component: 650 - total flux cleaned = 0.000794676 Jy ! Component: 700 - total flux cleaned = 0.000794735 Jy ! Component: 750 - total flux cleaned = 0.000890051 Jy ! Component: 800 - total flux cleaned = 0.000890044 Jy ! Component: 850 - total flux cleaned = 0.000927094 Jy ! Component: 900 - total flux cleaned = 0.000890257 Jy ! Component: 950 - total flux cleaned = 0.000890655 Jy ! Component: 1000 - total flux cleaned = 0.000890533 Jy ! Component: 1050 - total flux cleaned = 0.000925735 Jy ! Component: 1100 - total flux cleaned = 0.000925466 Jy ! Component: 1150 - total flux cleaned = 0.000942379 Jy ! Component: 1200 - total flux cleaned = 0.000857061 Jy ! Component: 1250 - total flux cleaned = 0.00087382 Jy ! Component: 1300 - total flux cleaned = 0.000857227 Jy ! Component: 1350 - total flux cleaned = 0.00087377 Jy ! Component: 1400 - total flux cleaned = 0.000906559 Jy ! Component: 1450 - total flux cleaned = 0.000922693 Jy ! Component: 1500 - total flux cleaned = 0.000970514 Jy ! Component: 1550 - total flux cleaned = 0.00100224 Jy ! Component: 1600 - total flux cleaned = 0.00100209 Jy ! Component: 1650 - total flux cleaned = 0.00104882 Jy ! Component: 1700 - total flux cleaned = 0.00100274 Jy ! Component: 1750 - total flux cleaned = 0.00103322 Jy ! Component: 1800 - total flux cleaned = 0.00104838 Jy ! Component: 1850 - total flux cleaned = 0.00103342 Jy ! Component: 1900 - total flux cleaned = 0.000988805 Jy ! Component: 1950 - total flux cleaned = 0.00100349 Jy ! Component: 2000 - total flux cleaned = 0.000988972 Jy ! Component: 2050 - total flux cleaned = 0.0009601 Jy ! Component: 2100 - total flux cleaned = 0.000931701 Jy ! Component: 2150 - total flux cleaned = 0.000974243 Jy ! Component: 2200 - total flux cleaned = 0.000960186 Jy ! Component: 2250 - total flux cleaned = 0.000974133 Jy ! Component: 2300 - total flux cleaned = 0.000918818 Jy ! Component: 2350 - total flux cleaned = 0.00093238 Jy ! Component: 2400 - total flux cleaned = 0.000891549 Jy ! Component: 2450 - total flux cleaned = 0.000891701 Jy ! Component: 2500 - total flux cleaned = 0.000838135 Jy ! Component: 2550 - total flux cleaned = 0.000838191 Jy ! Component: 2600 - total flux cleaned = 0.000838339 Jy ! Component: 2650 - total flux cleaned = 0.000812035 Jy ! Component: 2700 - total flux cleaned = 0.000812154 Jy ! Component: 2750 - total flux cleaned = 0.000799255 Jy ! Component: 2800 - total flux cleaned = 0.000760769 Jy ! Component: 2850 - total flux cleaned = 0.000747986 Jy ! Component: 2900 - total flux cleaned = 0.000697509 Jy ! Component: 2950 - total flux cleaned = 0.000634797 Jy ! Component: 3000 - total flux cleaned = 0.00061011 Jy ! Component: 3050 - total flux cleaned = 0.000572911 Jy ! Component: 3100 - total flux cleaned = 0.00056065 Jy ! Component: 3150 - total flux cleaned = 0.000511902 Jy ! Component: 3200 - total flux cleaned = 0.000487651 Jy ! Component: 3250 - total flux cleaned = 0.000499523 Jy ! Component: 3300 - total flux cleaned = 0.000416262 Jy ! Component: 3350 - total flux cleaned = 0.000451791 Jy ! Component: 3400 - total flux cleaned = 0.00043988 Jy ! Component: 3450 - total flux cleaned = 0.000404703 Jy ! Component: 3500 - total flux cleaned = 0.000358302 Jy ! Component: 3550 - total flux cleaned = 0.000323676 Jy ! Component: 3600 - total flux cleaned = 0.000300855 Jy ! Component: 3650 - total flux cleaned = 0.000244143 Jy ! Component: 3700 - total flux cleaned = 0.000300524 Jy ! Component: 3750 - total flux cleaned = 0.000244432 Jy ! Component: 3800 - total flux cleaned = 0.000233248 Jy ! Component: 3850 - total flux cleaned = 0.000211151 Jy ! Component: 3900 - total flux cleaned = 0.000123447 Jy ! Component: 3950 - total flux cleaned = 8.00087e-05 Jy ! Component: 4000 - total flux cleaned = 5.84329e-05 Jy ! Component: 4050 - total flux cleaned = 5.84327e-05 Jy ! Total flux subtracted in 4096 components = -5.70725e-06 Jy ! Clean residual min=-0.000553 max=0.000579 Jy/beam ! Clean residual mean=0.000005 rms=0.000207 Jy/beam ! Combined flux in latest and established models = 0.796102 Jy keep ! Adding 258 model components to the UV plane model. ! The established model now contains 427 components and 0.796102 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bp171a8_uvs/J0019+7327_C\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.269 x 7.402 at 30.34 degrees (North through East) ! Clean map min=-0.0014395 max=0.76382 Jy/beam ! Writing clean map to FITS file: /scr/pima/bp171a8_uvs/J0019+7327_C_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.76382 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000206433 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.0810791 0.0810791 0.162158 0.324317 0.648633 1.29727 2.59453 5.18906 10.3781 20.7563 41.5125 83.025 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0006 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.763 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 3700.09 quit ! Quitting program ! Log file /scr/pima/bp171a8_uvs/J0019+7327_C_uvs.log closed on Fri Dec 27 16:23:23 2013