! Started logfile: /d2/scr/pima/bp177e_uvs/J0217+7349_X_uvs.log on Sat Mar 22 21:00:12 2014 obs /d2/scr/pima/bp177e_uvs/J0217+7349_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp177e_uvs/J0217+7349_X_uva.fits ! AN table 1: 9 integrations on 36 of 36 possible baselines. ! Apparent sampling: 0.780864 visibilities/baseline/integration-bin. ! Found source: J0217+7349 ! ! 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 2024 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/bp177e_uvs/J0217+7349_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 12 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 12 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 12 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 12 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 12 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 12 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 12 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 12 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=2.384101Jy sigma=71.548023 ! Fit after self-cal, rms=1.324894Jy sigma=39.727732 ! 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.9618 mas, bmaj=4.184 mas, bpa=-30.62 degrees ! Estimated noise=0.81777 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 = 1.46521 Jy ! Component: 100 - total flux cleaned = 2.01534 Jy ! Total flux subtracted in 100 components = 2.01534 Jy ! Clean residual min=-0.094467 max=0.258159 Jy/beam ! Clean residual mean=0.000814 rms=0.032959 Jy/beam ! Combined flux in latest and established models = 2.01534 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 2.01534 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.635343Jy sigma=18.455112 ! Fit after self-cal, rms=0.625002Jy sigma=18.219726 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.309682 Jy ! Component: 100 - total flux cleaned = 0.483157 Jy ! Total flux subtracted in 100 components = 0.483157 Jy ! Clean residual min=-0.066047 max=0.090802 Jy/beam ! Clean residual mean=0.000495 rms=0.018057 Jy/beam ! Combined flux in latest and established models = 2.49849 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 28 components and 2.49849 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.382043Jy sigma=10.820109 ! Fit after self-cal, rms=0.376426Jy sigma=10.667096 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.123534 Jy ! Component: 100 - total flux cleaned = 0.205401 Jy ! Total flux subtracted in 100 components = 0.205401 Jy ! Clean residual min=-0.052149 max=0.050312 Jy/beam ! Clean residual mean=0.000351 rms=0.013669 Jy/beam ! Combined flux in latest and established models = 2.70389 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 54 components and 2.70389 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.311680Jy sigma=8.760001 ! Fit after self-cal, rms=0.310741Jy sigma=8.729650 ! 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.186 mas, bmaj=4.506 mas, bpa=-29.55 degrees ! Estimated noise=0.550624 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.092143 Jy ! Component: 100 - total flux cleaned = 0.153067 Jy ! Component: 150 - total flux cleaned = 0.197186 Jy ! Component: 200 - total flux cleaned = 0.230673 Jy ! Total flux subtracted in 200 components = 0.230673 Jy ! Clean residual min=-0.056136 max=0.058313 Jy/beam ! Clean residual mean=0.000081 rms=0.015688 Jy/beam ! Combined flux in latest and established models = 2.93457 Jy ! Performing phase self-cal ! Adding 63 model components to the UV plane model. ! The established model now contains 109 components and 2.93457 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.273266Jy sigma=7.742998 ! Fit after self-cal, rms=0.272768Jy sigma=7.727314 ! 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.186 x 4.506 at -29.55 degrees (North through East) ! Clean map min=-0.054933 max=2.0101 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: ! BR 1.11 FD 1.13 HN 0.97 KP 0.94 ! LA 1.02 NL 1.01 OV 0.99 PT 0.85 ! SC 1.01 ! ! ! Correcting IF 2. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 1.00 HN 0.96 KP 0.94 ! LA 0.95 NL 1.00 OV 0.94 PT 0.87 ! SC 0.99 ! ! ! Correcting IF 3. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.85 FD 1.10 HN 1.02 KP 1.08 ! LA 0.92 NL 1.00 OV 1.00 PT 0.90 ! SC 1.03 ! ! ! Correcting IF 4. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 FD 1.09 HN 1.07 KP 0.93 ! LA 0.97 NL 0.98 OV 0.98 PT 0.92 ! SC 1.06 ! ! ! Correcting IF 5. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 FD 1.01 HN 1.05 KP 1.06 ! LA 0.98 NL 0.92 OV 0.97 PT 0.88 ! SC 1.01 ! ! ! Correcting IF 6. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 FD 1.09 HN 1.15 KP 1.04 ! LA 1.05 NL 1.00 OV 1.05 PT 0.93 ! SC 1.06 ! ! ! Correcting IF 7. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 1.03 HN 1.06 KP 1.03 ! LA 0.96 NL 1.00 OV 1.06 PT 0.89 ! SC 1.04 ! ! ! Correcting IF 8. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 1.00* ! LA 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Fit before self-cal, rms=0.272768Jy sigma=7.727314 ! Fit after self-cal, rms=0.174982Jy sigma=4.666153 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.196 mas, bmaj=4.532 mas, bpa=-29.61 degrees ! Estimated noise=0.552127 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 (14.6, -0.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0357025 Jy ! Component: 100 - total flux cleaned = 0.0474842 Jy ! Component: 150 - total flux cleaned = 0.0576767 Jy ! Component: 200 - total flux cleaned = 0.0671661 Jy ! Total flux subtracted in 200 components = 0.0671661 Jy ! Clean residual min=-0.022070 max=0.028317 Jy/beam ! Clean residual mean=0.000008 rms=0.006571 Jy/beam ! Combined flux in latest and established models = 3.00173 Jy ! Performing phase self-cal ! Adding 41 model components to the UV plane model. ! The established model now contains 150 components and 3.00173 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.166171Jy sigma=4.381387 ! Fit after self-cal, rms=0.165867Jy sigma=4.370246 ! 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.165867Jy sigma=4.370246 ! Fit after self-cal, rms=0.164076Jy sigma=4.309117 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.197 mas, bmaj=4.532 mas, bpa=-29.63 degrees ! Estimated noise=0.551759 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00317205 Jy ! Component: 100 - total flux cleaned = 0.00966995 Jy ! Component: 150 - total flux cleaned = 0.0136553 Jy ! Component: 200 - total flux cleaned = 0.0166362 Jy ! Total flux subtracted in 200 components = 0.0166362 Jy ! Clean residual min=-0.021205 max=0.025735 Jy/beam ! Clean residual mean=0.000014 rms=0.005974 Jy/beam ! Combined flux in latest and established models = 3.01837 Jy selfcal ! Performing phase self-cal ! Adding 38 model components to the UV plane model. ! The established model now contains 175 components and 3.01837 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.162281Jy sigma=4.256267 ! Fit after self-cal, rms=0.162194Jy sigma=4.254115 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 (4.6, -1.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0262171 Jy ! Component: 100 - total flux cleaned = 0.0433929 Jy ! Component: 150 - total flux cleaned = 0.0537795 Jy ! Component: 200 - total flux cleaned = 0.0618751 Jy ! Total flux subtracted in 200 components = 0.0618751 Jy ! Clean residual min=-0.019105 max=0.022049 Jy/beam ! Clean residual mean=-0.000023 rms=0.004901 Jy/beam ! Combined flux in latest and established models = 3.08024 Jy ! Performing phase self-cal ! Adding 41 model components to the UV plane model. ! The established model now contains 213 components and 3.08024 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.156550Jy sigma=4.078753 ! Fit after self-cal, rms=0.155813Jy sigma=4.064974 ! 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.155813Jy sigma=4.064974 ! Fit after self-cal, rms=0.154766Jy sigma=4.032122 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.198 mas, bmaj=4.528 mas, bpa=-29.66 degrees ! Estimated noise=0.551964 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0123967 Jy ! Component: 100 - total flux cleaned = 0.019803 Jy ! Component: 150 - total flux cleaned = 0.0256898 Jy ! Component: 200 - total flux cleaned = 0.0310631 Jy ! Total flux subtracted in 200 components = 0.0310631 Jy ! Clean residual min=-0.019344 max=0.018143 Jy/beam ! Clean residual mean=-0.000011 rms=0.004529 Jy/beam ! Combined flux in latest and established models = 3.1113 Jy selfcal ! Performing phase self-cal ! Adding 41 model components to the UV plane model. ! The established model now contains 243 components and 3.11131 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.152407Jy sigma=3.969528 ! Fit after self-cal, rms=0.152253Jy sigma=3.966683 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.00580746 Jy ! Component: 100 - total flux cleaned = 0.00933678 Jy ! Component: 150 - total flux cleaned = 0.0123552 Jy ! Component: 200 - total flux cleaned = 0.0157831 Jy ! Total flux subtracted in 200 components = 0.0157831 Jy ! Clean residual min=-0.018829 max=0.016567 Jy/beam ! Clean residual mean=-0.000013 rms=0.004299 Jy/beam ! Combined flux in latest and established models = 3.12709 Jy ! Performing phase self-cal ! Adding 56 model components to the UV plane model. ! The established model now contains 270 components and 3.12709 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.150926Jy sigma=3.933794 ! Fit after self-cal, rms=0.150897Jy sigma=3.933035 ! 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.150897Jy sigma=3.933035 ! Fit after self-cal, rms=0.129725Jy sigma=3.328230 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.167 mas, bmaj=5.176 mas, bpa=-26.06 degrees ! Estimated noise=0.622964 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.010155 Jy ! Component: 100 - total flux cleaned = 0.0160834 Jy ! Component: 150 - total flux cleaned = 0.0194867 Jy ! Component: 200 - total flux cleaned = 0.0228737 Jy ! Total flux subtracted in 200 components = 0.0228737 Jy ! Clean residual min=-0.017836 max=0.018743 Jy/beam ! Clean residual mean=0.000039 rms=0.004670 Jy/beam ! Combined flux in latest and established models = 3.14996 Jy selfcal ! Performing phase self-cal ! Adding 61 model components to the UV plane model. ! The established model now contains 326 components and 3.14996 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.128295Jy sigma=3.288103 ! Fit after self-cal, rms=0.128263Jy sigma=3.286512 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.00466691 Jy ! Component: 100 - total flux cleaned = 0.00759929 Jy ! Component: 150 - total flux cleaned = 0.0102991 Jy ! Component: 200 - total flux cleaned = 0.0123542 Jy ! Total flux subtracted in 200 components = 0.0123542 Jy ! Clean residual min=-0.016513 max=0.017894 Jy/beam ! Clean residual mean=0.000042 rms=0.004442 Jy/beam ! Combined flux in latest and established models = 3.16232 Jy ! Performing phase self-cal ! Adding 56 model components to the UV plane model. ! The established model now contains 351 components and 3.16232 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.127729Jy sigma=3.269136 ! Fit after self-cal, rms=0.127718Jy sigma=3.268705 ! 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.201 mas, bmaj=4.545 mas, bpa=-29.75 degrees ! Estimated noise=0.553372 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.201 x 4.545 at -29.75 degrees (North through East) ! Clean map min=-0.013298 max=2.0089 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.127718Jy sigma=3.268705 ! Fit after self-cal, rms=0.120971Jy sigma=2.925541 ! Inverting map and beam ! Estimated beam: bmin=1.201 mas, bmaj=4.544 mas, bpa=-29.74 degrees ! Estimated noise=0.553507 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00430124 Jy ! Component: 100 - total flux cleaned = 0.00609651 Jy ! Component: 150 - total flux cleaned = 0.00769228 Jy ! Component: 200 - total flux cleaned = 0.00899105 Jy ! Total flux subtracted in 200 components = 0.00899105 Jy ! Clean residual min=-0.013590 max=0.013593 Jy/beam ! Clean residual mean=0.000057 rms=0.003180 Jy/beam ! Combined flux in latest and established models = 3.17131 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 377 components and 3.17131 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.120123Jy sigma=2.903695 ! Fit after self-cal, rms=0.120145Jy sigma=2.902844 ! Inverting map ! Added new window around map position (-11.2, 19.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0112409 Jy ! Component: 100 - total flux cleaned = 0.00998735 Jy ! Component: 150 - total flux cleaned = 0.00996618 Jy ! Component: 200 - total flux cleaned = 0.01067 Jy ! Total flux subtracted in 200 components = 0.01067 Jy ! Clean residual min=-0.011434 max=0.010921 Jy/beam ! Clean residual mean=0.000056 rms=0.002867 Jy/beam ! Combined flux in latest and established models = 3.18198 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 409 components and 3.18198 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.118092Jy sigma=2.839855 ! Fit after self-cal, rms=0.118183Jy sigma=2.837652 ! 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.118183Jy sigma=2.837652 ! Fit after self-cal, rms=0.117975Jy sigma=2.830584 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.9709 mas, bmaj=4.229 mas, bpa=-30.76 degrees ! Estimated noise=0.82684 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 1.47595 Jy ! Component: 100 - total flux cleaned = 2.04528 Jy ! Component: 150 - total flux cleaned = 2.34006 Jy ! Component: 200 - total flux cleaned = 2.5071 Jy ! Total flux subtracted in 200 components = 2.5071 Jy ! Clean residual min=-0.042683 max=0.086790 Jy/beam ! Clean residual mean=0.000419 rms=0.013308 Jy/beam ! Combined flux in latest and established models = 2.5071 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 26 model components to the UV plane model. ! The established model now contains 26 components and 2.5071 Jy ! Inverting map and beam ! Estimated beam: bmin=1.201 mas, bmaj=4.545 mas, bpa=-29.74 degrees ! Estimated noise=0.553163 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.13958 Jy ! Component: 100 - total flux cleaned = 0.218958 Jy ! Component: 150 - total flux cleaned = 0.272043 Jy ! Component: 200 - total flux cleaned = 0.313426 Jy ! Total flux subtracted in 200 components = 0.313426 Jy ! Clean residual min=-0.022075 max=0.029408 Jy/beam ! Clean residual mean=0.000217 rms=0.008238 Jy/beam ! Combined flux in latest and established models = 2.82053 Jy ! Adding 70 model components to the UV plane model. ! The established model now contains 84 components and 2.82053 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.168 mas, bmaj=5.176 mas, bpa=-26 degrees ! Estimated noise=0.62247 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0490938 Jy ! Component: 100 - total flux cleaned = 0.0874323 Jy ! Component: 150 - total flux cleaned = 0.119504 Jy ! Component: 200 - total flux cleaned = 0.14714 Jy ! Total flux subtracted in 200 components = 0.14714 Jy ! Clean residual min=-0.022817 max=0.030836 Jy/beam ! Clean residual mean=0.000234 rms=0.008381 Jy/beam ! Combined flux in latest and established models = 2.96767 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.024166 Jy ! Component: 100 - total flux cleaned = 0.045523 Jy ! Component: 150 - total flux cleaned = 0.0646435 Jy ! Component: 200 - total flux cleaned = 0.0818879 Jy ! Total flux subtracted in 200 components = 0.0818879 Jy ! Clean residual min=-0.018368 max=0.024908 Jy/beam ! Clean residual mean=0.000190 rms=0.006315 Jy/beam ! Combined flux in latest and established models = 3.04956 Jy ! Adding 130 model components to the UV plane model. ! The established model now contains 200 components and 3.04956 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.201 mas, bmaj=4.545 mas, bpa=-29.74 degrees ! Estimated noise=0.553163 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0143665 Jy ! Component: 100 - total flux cleaned = 0.0248254 Jy ! Component: 150 - total flux cleaned = 0.0321952 Jy ! Component: 200 - total flux cleaned = 0.0394261 Jy ! Total flux subtracted in 200 components = 0.0394261 Jy ! Clean residual min=-0.013244 max=0.017688 Jy/beam ! Clean residual mean=0.000093 rms=0.003835 Jy/beam ! Combined flux in latest and established models = 3.08899 Jy selfcal ! Performing phase self-cal ! Adding 44 model components to the UV plane model. ! The established model now contains 241 components and 3.08899 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.122767Jy sigma=2.967398 ! Fit after self-cal, rms=0.122858Jy sigma=2.960366 wmodel /d2/scr/pima/bp177e_uvs/J0217+7349_X_map.mod ! Writing 241 model components to file: /d2/scr/pima/bp177e_uvs/J0217+7349_X_map.mod wobs /d2/scr/pima/bp177e_uvs/J0217+7349_X_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp177e_uvs/J0217+7349_X_uvs.fits wwins /d2/scr/pima/bp177e_uvs/J0217+7349_X_map.win ! wwins: Wrote 4 windows to /d2/scr/pima/bp177e_uvs/J0217+7349_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.00566706 Jy ! Component: 100 - total flux cleaned = 0.00567699 Jy ! Component: 150 - total flux cleaned = 0.00590157 Jy ! Component: 200 - total flux cleaned = 0.00567611 Jy ! Component: 250 - total flux cleaned = 0.00547006 Jy ! Component: 300 - total flux cleaned = 0.00487496 Jy ! Component: 350 - total flux cleaned = 0.00429871 Jy ! Component: 400 - total flux cleaned = 0.00336544 Jy ! Component: 450 - total flux cleaned = 0.00281935 Jy ! Component: 500 - total flux cleaned = 0.00246449 Jy ! Component: 550 - total flux cleaned = 0.00160527 Jy ! Component: 600 - total flux cleaned = 0.00110428 Jy ! Component: 650 - total flux cleaned = 0.000296331 Jy ! Component: 700 - total flux cleaned = -0.000174669 Jy ! Component: 750 - total flux cleaned = -0.000943711 Jy ! Component: 800 - total flux cleaned = -0.00124833 Jy ! Component: 850 - total flux cleaned = -0.00213589 Jy ! Component: 900 - total flux cleaned = -0.00271283 Jy ! Component: 950 - total flux cleaned = -0.00285668 Jy ! Component: 1000 - total flux cleaned = -0.00313308 Jy ! Component: 1050 - total flux cleaned = -0.00340031 Jy ! Component: 1100 - total flux cleaned = -0.00353272 Jy ! Component: 1150 - total flux cleaned = -0.00379192 Jy ! Component: 1200 - total flux cleaned = -0.00328476 Jy ! Component: 1250 - total flux cleaned = -0.0039112 Jy ! Component: 1300 - total flux cleaned = -0.00378589 Jy ! Component: 1350 - total flux cleaned = -0.00342237 Jy ! Component: 1400 - total flux cleaned = -0.00342527 Jy ! Component: 1450 - total flux cleaned = -0.00331162 Jy ! Component: 1500 - total flux cleaned = -0.00342859 Jy ! Component: 1550 - total flux cleaned = -0.00365316 Jy ! Component: 1600 - total flux cleaned = -0.00365025 Jy ! Component: 1650 - total flux cleaned = -0.0032122 Jy ! Component: 1700 - total flux cleaned = -0.00342785 Jy ! Component: 1750 - total flux cleaned = -0.00353407 Jy ! Component: 1800 - total flux cleaned = -0.00353621 Jy ! Component: 1850 - total flux cleaned = -0.00405064 Jy ! Component: 1900 - total flux cleaned = -0.00374806 Jy ! Component: 1950 - total flux cleaned = -0.00414778 Jy ! Component: 2000 - total flux cleaned = -0.00444534 Jy ! Component: 2050 - total flux cleaned = -0.00463908 Jy ! Component: 2100 - total flux cleaned = -0.00483204 Jy ! Component: 2150 - total flux cleaned = -0.00511597 Jy ! Component: 2200 - total flux cleaned = -0.00530434 Jy ! Component: 2250 - total flux cleaned = -0.00576563 Jy ! Component: 2300 - total flux cleaned = -0.00603801 Jy ! Component: 2350 - total flux cleaned = -0.00621724 Jy ! Component: 2400 - total flux cleaned = -0.00621731 Jy ! Component: 2450 - total flux cleaned = -0.00674377 Jy ! Component: 2500 - total flux cleaned = -0.00665651 Jy ! Component: 2550 - total flux cleaned = -0.00700134 Jy ! Component: 2600 - total flux cleaned = -0.00734176 Jy ! Component: 2650 - total flux cleaned = -0.00759228 Jy ! Component: 2700 - total flux cleaned = -0.00792495 Jy ! Component: 2750 - total flux cleaned = -0.00817079 Jy ! Component: 2800 - total flux cleaned = -0.00857602 Jy ! Component: 2850 - total flux cleaned = -0.00857452 Jy ! Component: 2900 - total flux cleaned = -0.00881163 Jy ! Component: 2950 - total flux cleaned = -0.00889027 Jy ! Component: 3000 - total flux cleaned = -0.00896946 Jy ! Component: 3050 - total flux cleaned = -0.00981336 Jy ! Component: 3100 - total flux cleaned = -0.0098879 Jy ! Component: 3150 - total flux cleaned = -0.00996213 Jy ! Component: 3200 - total flux cleaned = -0.0103341 Jy ! Component: 3250 - total flux cleaned = -0.0104817 Jy ! Component: 3300 - total flux cleaned = -0.0110639 Jy ! Component: 3350 - total flux cleaned = -0.0114946 Jy ! Component: 3400 - total flux cleaned = -0.0115651 Jy ! Component: 3450 - total flux cleaned = -0.0118475 Jy ! Component: 3500 - total flux cleaned = -0.012127 Jy ! Component: 3550 - total flux cleaned = -0.0124726 Jy ! Component: 3600 - total flux cleaned = -0.0129527 Jy ! Component: 3650 - total flux cleaned = -0.0132921 Jy ! Component: 3700 - total flux cleaned = -0.0134946 Jy ! Component: 3750 - total flux cleaned = -0.0139615 Jy ! Component: 3800 - total flux cleaned = -0.0144245 Jy ! Component: 3850 - total flux cleaned = -0.0145552 Jy ! Component: 3900 - total flux cleaned = -0.0150753 Jy ! Component: 3950 - total flux cleaned = -0.0153326 Jy ! Component: 4000 - total flux cleaned = -0.015524 Jy ! Component: 4050 - total flux cleaned = -0.0157772 Jy ! Total flux subtracted in 4096 components = -0.0160904 Jy ! Clean residual min=-0.003461 max=0.003189 Jy/beam ! Clean residual mean=0.000013 rms=0.001270 Jy/beam ! Combined flux in latest and established models = 3.0729 Jy keep ! Adding 336 model components to the UV plane model. ! The established model now contains 577 components and 3.0729 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp177e_uvs/J0217+7349_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.201 x 4.545 at -29.74 degrees (North through East) ! Clean map min=-0.0091181 max=2.0124 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp177e_uvs/J0217+7349_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 2.01244 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.00125321 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.186819 0.186819 0.373638 0.747276 1.49455 2.98911 5.97821 11.9564 23.9128 47.8257 95.6514 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0037 print "peak= ", int(1000*peak_flux)/1000 ! peak= 2.012 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 1605.83 quit ! Quitting program ! Log file /d2/scr/pima/bp177e_uvs/J0217+7349_X_uvs.log closed on Sat Mar 22 21:00:18 2014