! Started logfile: /g0/scr/pima/s4195b_uvs/J1059+0225_X_uvs.log on Tue Dec 31 19:36:07 2013 obs /g0/scr/pima/s4195b_uvs/J1059+0225_X_uva.fits ! Reading UV FITS file: /g0/scr/pima/s4195b_uvs/J1059+0225_X_uva.fits ! AN table 1: 10 integrations on 28 of 28 possible baselines. ! AN table 2: 11 integrations on 21 of 21 possible baselines. ! Apparent sampling: 0.988258 visibilities/baseline/integration-bin. ! Found source: J1059+0225 ! ! 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 4040 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 /g0/scr/pima/s4195b_uvs/J1059+0225_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 1 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 1 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 1 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 1 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 5. ! A total of 1 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 6. ! A total of 1 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 7. ! A total of 1 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 8. ! A total of 1 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=1.002805Jy sigma=2.563168 ! Fit after self-cal, rms=0.937371Jy sigma=2.381682 ! 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.859 mas, bmaj=5.078 mas, bpa=-19.6 degrees ! Estimated noise=8.52768 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.0487169 Jy ! Component: 100 - total flux cleaned = 0.059946 Jy ! Total flux subtracted in 100 components = 0.059946 Jy ! Clean residual min=-0.002411 max=0.004336 Jy/beam ! Clean residual mean=-0.000001 rms=0.000645 Jy/beam ! Combined flux in latest and established models = 0.0599459 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 10 components and 0.0599459 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.017126Jy sigma=0.045184 ! Fit after self-cal, rms=0.017007Jy sigma=0.044948 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0046418 Jy ! Component: 100 - total flux cleaned = 0.00702462 Jy ! Total flux subtracted in 100 components = 0.00702462 Jy ! Clean residual min=-0.001935 max=0.001921 Jy/beam ! Clean residual mean=-0.000001 rms=0.000443 Jy/beam ! Combined flux in latest and established models = 0.0669706 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 18 components and 0.0669706 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.015844Jy sigma=0.039187 ! Fit after self-cal, rms=0.015846Jy sigma=0.039174 ! 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.082 mas, bmaj=5.097 mas, bpa=-18.72 degrees ! Estimated noise=4.53368 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.00244563 Jy ! Component: 100 - total flux cleaned = 0.00405363 Jy ! Component: 150 - total flux cleaned = 0.00525732 Jy ! Component: 200 - total flux cleaned = 0.00617801 Jy ! Total flux subtracted in 200 components = 0.00617801 Jy ! Clean residual min=-0.001629 max=0.001542 Jy/beam ! Clean residual mean=0.000002 rms=0.000408 Jy/beam ! Combined flux in latest and established models = 0.0731486 Jy ! Performing phase self-cal ! Adding 44 model components to the UV plane model. ! The established model now contains 56 components and 0.0731486 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.015622Jy sigma=0.037263 ! Fit after self-cal, rms=0.015620Jy sigma=0.037251 ! 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.082 x 5.097 at -18.72 degrees (North through East) ! Clean map min=-0.0015835 max=0.064214 Jy/beam if ( peak(flux,max)/imstat(rms) < lim_self ) selflim lim_val ! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2. ! Selfcal phase corrections will not be limited. gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 HN 0.93 KP 1.00 LA 0.99 ! MK 1.03 NL 1.00 OV 1.04 PT 0.87 ! ! Telescope amplitude corrections in sub-array 2: ! HN 0.94 KP 0.99 LA 1.00 MK 0.95 ! NL 1.06 OV 0.97 PT 0.84 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 HN 0.89 KP 1.01 LA 0.97 ! MK 1.03 NL 0.99 OV 0.96 PT 0.92 ! ! Telescope amplitude corrections in sub-array 2: ! HN 0.94 KP 1.00 LA 0.98 MK 0.99 ! NL 1.03 OV 0.95 PT 0.88 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.84 HN 0.95 KP 1.07 LA 0.93 ! MK 1.08 NL 1.02 OV 1.01 PT 0.95 ! ! Telescope amplitude corrections in sub-array 2: ! HN 0.98 KP 1.03 LA 0.96 MK 1.01 ! NL 1.01 OV 1.00 PT 0.93 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 HN 1.01 KP 0.98 LA 0.99 ! MK 1.06 NL 0.97 OV 1.01 PT 0.97 ! ! Telescope amplitude corrections in sub-array 2: ! HN 1.01 KP 0.96 LA 0.99 MK 1.04 ! NL 0.99 OV 1.02 PT 0.94 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.92 HN 1.01 KP 1.12 LA 1.01 ! MK 1.01 NL 0.97 OV 1.00 PT 0.92 ! ! Telescope amplitude corrections in sub-array 2: ! HN 1.02 KP 1.10 LA 0.98 MK 0.98 ! NL 0.98 OV 0.97 PT 0.92 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 HN 1.06 KP 1.08 LA 1.05 ! MK 1.06 NL 1.02 OV 1.08 PT 0.93 ! ! Telescope amplitude corrections in sub-array 2: ! HN 1.05 KP 1.07 LA 1.08 MK 0.95 ! NL 1.04 OV 1.05 PT 0.91 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 HN 0.97 KP 1.01 LA 0.92 ! MK 0.99 NL 1.06 OV 1.08 PT 0.90 ! ! Telescope amplitude corrections in sub-array 2: ! HN 1.09 KP 1.04 LA 0.98 MK 0.95 ! NL 1.00 OV 1.05 PT 0.88 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.16 HN 0.99 KP 1.07 LA 0.95 ! MK 1.03 NL 1.02 OV 1.08 PT 0.86 ! ! Telescope amplitude corrections in sub-array 2: ! HN 1.00* KP 1.00* LA 1.00* MK 1.00* ! NL 1.00* OV 1.00* PT 1.00* ! ! ! Fit before self-cal, rms=0.015620Jy sigma=0.037251 ! Fit after self-cal, rms=0.014623Jy sigma=0.034125 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.087 mas, bmaj=5.119 mas, bpa=-18.64 degrees ! Estimated noise=4.43752 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.000878194 Jy ! Component: 100 - total flux cleaned = -0.000911904 Jy ! Component: 150 - total flux cleaned = -0.000855558 Jy ! Component: 200 - total flux cleaned = -0.000798199 Jy ! Total flux subtracted in 200 components = -0.000798199 Jy ! Clean residual min=-0.000655 max=0.000675 Jy/beam ! Clean residual mean=0.000002 rms=0.000175 Jy/beam ! Combined flux in latest and established models = 0.0723504 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 76 components and 0.0723504 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.014458Jy sigma=0.034228 ! Fit after self-cal, rms=0.014473Jy sigma=0.034218 ! 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.014473Jy sigma=0.034218 ! Fit after self-cal, rms=0.014410Jy sigma=0.034117 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.086 mas, bmaj=5.123 mas, bpa=-18.63 degrees ! Estimated noise=4.37244 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000829761 Jy ! Component: 100 - total flux cleaned = -0.00096291 Jy ! Component: 150 - total flux cleaned = -0.000920109 Jy ! Component: 200 - total flux cleaned = -0.000882558 Jy ! Total flux subtracted in 200 components = -0.000882558 Jy ! Clean residual min=-0.000625 max=0.000640 Jy/beam ! Clean residual mean=0.000002 rms=0.000170 Jy/beam ! Combined flux in latest and established models = 0.0714678 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 80 components and 0.0714678 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.014263Jy sigma=0.034232 ! Fit after self-cal, rms=0.014264Jy sigma=0.034230 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 = -2.09625e-05 Jy ! Component: 100 - total flux cleaned = 1.80133e-05 Jy ! Component: 150 - total flux cleaned = 5.79771e-05 Jy ! Component: 200 - total flux cleaned = 8.32297e-05 Jy ! Total flux subtracted in 200 components = 8.32297e-05 Jy ! Clean residual min=-0.000608 max=0.000636 Jy/beam ! Clean residual mean=0.000002 rms=0.000168 Jy/beam ! Combined flux in latest and established models = 0.0715511 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 83 components and 0.071551 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.014251Jy sigma=0.034235 ! Fit after self-cal, rms=0.014252Jy sigma=0.034234 ! 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.014252Jy sigma=0.034234 ! Fit after self-cal, rms=0.014188Jy sigma=0.034126 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.085 mas, bmaj=5.125 mas, bpa=-18.62 degrees ! Estimated noise=4.30943 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000749755 Jy ! Component: 100 - total flux cleaned = -0.000920163 Jy ! Component: 150 - total flux cleaned = -0.000908513 Jy ! Component: 200 - total flux cleaned = -0.000888461 Jy ! Total flux subtracted in 200 components = -0.000888461 Jy ! Clean residual min=-0.000602 max=0.000614 Jy/beam ! Clean residual mean=0.000002 rms=0.000166 Jy/beam ! Combined flux in latest and established models = 0.0706626 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 87 components and 0.0706626 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.014057Jy sigma=0.034251 ! Fit after self-cal, rms=0.014058Jy sigma=0.034250 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 = -3.15944e-05 Jy ! Component: 100 - total flux cleaned = 1.3253e-06 Jy ! Component: 150 - total flux cleaned = 3.08881e-05 Jy ! Component: 200 - total flux cleaned = 5.37971e-05 Jy ! Total flux subtracted in 200 components = 5.37971e-05 Jy ! Clean residual min=-0.000597 max=0.000617 Jy/beam ! Clean residual mean=0.000002 rms=0.000164 Jy/beam ! Combined flux in latest and established models = 0.0707164 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 96 components and 0.0707164 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.014050Jy sigma=0.034254 ! Fit after self-cal, rms=0.014051Jy sigma=0.034253 ! 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.014051Jy sigma=0.034253 ! Fit after self-cal, rms=0.013990Jy sigma=0.034154 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.207 mas, bmaj=5.239 mas, bpa=-17.04 degrees ! Estimated noise=4.73694 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000691953 Jy ! Component: 100 - total flux cleaned = -0.000665451 Jy ! Component: 150 - total flux cleaned = -0.000658381 Jy ! Component: 200 - total flux cleaned = -0.000648104 Jy ! Total flux subtracted in 200 components = -0.000648104 Jy ! Clean residual min=-0.000718 max=0.000665 Jy/beam ! Clean residual mean=0.000004 rms=0.000202 Jy/beam ! Combined flux in latest and established models = 0.0700683 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 108 components and 0.0700683 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.013876Jy sigma=0.034274 ! Fit after self-cal, rms=0.013876Jy sigma=0.034274 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 = 1.96071e-05 Jy ! Component: 100 - total flux cleaned = 3.72125e-05 Jy ! Component: 150 - total flux cleaned = 4.93246e-05 Jy ! Component: 200 - total flux cleaned = 6.07172e-05 Jy ! Total flux subtracted in 200 components = 6.07172e-05 Jy ! Clean residual min=-0.000714 max=0.000671 Jy/beam ! Clean residual mean=0.000004 rms=0.000200 Jy/beam ! Combined flux in latest and established models = 0.070129 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 111 components and 0.070129 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.013874Jy sigma=0.034275 ! Fit after self-cal, rms=0.013874Jy sigma=0.034274 ! 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.085 mas, bmaj=5.125 mas, bpa=-18.61 degrees ! Estimated noise=4.24963 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.085 x 5.125 at -18.61 degrees (North through East) ! Clean map min=-0.00055485 max=0.060116 Jy/beam if(peak(flux) > thresh) selfcal true, true clean clean_niter,clean_gain selfcal flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) selfcal true, true end if print "************** CLEARING MODEL AND STARTING OVER **********" ! ************** CLEARING MODEL AND STARTING OVER ********** clrmod true ! clrmod: Cleared the established and tentative models. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8618 mas, bmaj=5.106 mas, bpa=-19.5 degrees ! Estimated noise=8.03106 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.045885 Jy ! Component: 100 - total flux cleaned = 0.0563255 Jy ! Component: 150 - total flux cleaned = 0.0604647 Jy ! Component: 200 - total flux cleaned = 0.062598 Jy ! Total flux subtracted in 200 components = 0.062598 Jy ! Clean residual min=-0.001111 max=0.001133 Jy/beam ! Clean residual mean=0.000000 rms=0.000266 Jy/beam ! Combined flux in latest and established models = 0.0625979 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 20 model components to the UV plane model. ! The established model now contains 20 components and 0.0625979 Jy ! Inverting map and beam ! Estimated beam: bmin=1.085 mas, bmaj=5.125 mas, bpa=-18.61 degrees ! Estimated noise=4.24963 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.00213372 Jy ! Component: 100 - total flux cleaned = 0.00345102 Jy ! Component: 150 - total flux cleaned = 0.00436748 Jy ! Component: 200 - total flux cleaned = 0.00502825 Jy ! Total flux subtracted in 200 components = 0.00502825 Jy ! Clean residual min=-0.000721 max=0.000680 Jy/beam ! Clean residual mean=0.000003 rms=0.000191 Jy/beam ! Combined flux in latest and established models = 0.0676262 Jy ! Adding 36 model components to the UV plane model. ! The established model now contains 50 components and 0.0676262 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.207 mas, bmaj=5.239 mas, bpa=-17.04 degrees ! Estimated noise=4.73694 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000759521 Jy ! Component: 100 - total flux cleaned = 0.00127351 Jy ! Component: 150 - total flux cleaned = 0.00164267 Jy ! Component: 200 - total flux cleaned = 0.00191022 Jy ! Total flux subtracted in 200 components = 0.00191022 Jy ! Clean residual min=-0.000758 max=0.000648 Jy/beam ! Clean residual mean=0.000004 rms=0.000209 Jy/beam ! Combined flux in latest and established models = 0.0695364 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.0001941 Jy ! Component: 100 - total flux cleaned = 0.00028925 Jy ! Component: 150 - total flux cleaned = 0.000344149 Jy ! Component: 200 - total flux cleaned = 0.000375254 Jy ! Total flux subtracted in 200 components = 0.000375254 Jy ! Clean residual min=-0.000739 max=0.000670 Jy/beam ! Clean residual mean=0.000004 rms=0.000203 Jy/beam ! Combined flux in latest and established models = 0.0699116 Jy ! Adding 22 model components to the UV plane model. ! The established model now contains 65 components and 0.0699116 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.085 mas, bmaj=5.125 mas, bpa=-18.61 degrees ! Estimated noise=4.24963 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000103084 Jy ! Component: 100 - total flux cleaned = -0.00011043 Jy ! Component: 150 - total flux cleaned = -0.000129567 Jy ! Component: 200 - total flux cleaned = -0.000135344 Jy ! Total flux subtracted in 200 components = -0.000135344 Jy ! Clean residual min=-0.000602 max=0.000590 Jy/beam ! Clean residual mean=0.000002 rms=0.000164 Jy/beam ! Combined flux in latest and established models = 0.0697763 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 82 components and 0.0697763 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.013872Jy sigma=0.034299 ! Fit after self-cal, rms=0.013872Jy sigma=0.034296 wmodel /g0/scr/pima/s4195b_uvs/J1059+0225_X_map.mod ! Writing 82 model components to file: /g0/scr/pima/s4195b_uvs/J1059+0225_X_map.mod wobs /g0/scr/pima/s4195b_uvs/J1059+0225_X_uvs.fits ! Writing UV FITS file: /g0/scr/pima/s4195b_uvs/J1059+0225_X_uvs.fits wwins /g0/scr/pima/s4195b_uvs/J1059+0225_X_map.win ! wwins: Wrote 1 windows to /g0/scr/pima/s4195b_uvs/J1059+0225_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 = -3.02452e-05 Jy ! Component: 100 - total flux cleaned = -9.19856e-05 Jy ! Component: 150 - total flux cleaned = -0.000150485 Jy ! Component: 200 - total flux cleaned = -0.000206454 Jy ! Component: 250 - total flux cleaned = -0.000242471 Jy ! Component: 300 - total flux cleaned = -0.000294441 Jy ! Component: 350 - total flux cleaned = -0.000336114 Jy ! Component: 400 - total flux cleaned = -0.000344149 Jy ! Component: 450 - total flux cleaned = -0.000344198 Jy ! Component: 500 - total flux cleaned = -0.000344187 Jy ! Component: 550 - total flux cleaned = -0.000321784 Jy ! Component: 600 - total flux cleaned = -0.000292778 Jy ! Component: 650 - total flux cleaned = -0.000285718 Jy ! Component: 700 - total flux cleaned = -0.00026497 Jy ! Component: 750 - total flux cleaned = -0.000237875 Jy ! Component: 800 - total flux cleaned = -0.000211662 Jy ! Component: 850 - total flux cleaned = -0.000211765 Jy ! Component: 900 - total flux cleaned = -0.000192744 Jy ! Component: 950 - total flux cleaned = -0.000180315 Jy ! Component: 1000 - total flux cleaned = -0.000174271 Jy ! Component: 1050 - total flux cleaned = -0.000180234 Jy ! Component: 1100 - total flux cleaned = -0.000162688 Jy ! Component: 1150 - total flux cleaned = -0.000162728 Jy ! Component: 1200 - total flux cleaned = -0.000157051 Jy ! Component: 1250 - total flux cleaned = -0.000145909 Jy ! Component: 1300 - total flux cleaned = -0.000140431 Jy ! Component: 1350 - total flux cleaned = -0.00017275 Jy ! Component: 1400 - total flux cleaned = -0.000161886 Jy ! Component: 1450 - total flux cleaned = -0.000156579 Jy ! Component: 1500 - total flux cleaned = -0.000141055 Jy ! Component: 1550 - total flux cleaned = -0.000156472 Jy ! Component: 1600 - total flux cleaned = -0.000156375 Jy ! Component: 1650 - total flux cleaned = -0.000156364 Jy ! Component: 1700 - total flux cleaned = -0.000161263 Jy ! Component: 1750 - total flux cleaned = -0.000166167 Jy ! Component: 1800 - total flux cleaned = -0.00017576 Jy ! Component: 1850 - total flux cleaned = -0.000185229 Jy ! Component: 1900 - total flux cleaned = -0.000213421 Jy ! Component: 1950 - total flux cleaned = -0.000227317 Jy ! Component: 2000 - total flux cleaned = -0.000241136 Jy ! Component: 2050 - total flux cleaned = -0.000259283 Jy ! Component: 2100 - total flux cleaned = -0.0002728 Jy ! Component: 2150 - total flux cleaned = -0.000303904 Jy ! Component: 2200 - total flux cleaned = -0.000299427 Jy ! Component: 2250 - total flux cleaned = -0.000308207 Jy ! Component: 2300 - total flux cleaned = -0.000334094 Jy ! Component: 2350 - total flux cleaned = -0.000342629 Jy ! Component: 2400 - total flux cleaned = -0.000363734 Jy ! Component: 2450 - total flux cleaned = -0.000372082 Jy ! Component: 2500 - total flux cleaned = -0.000396979 Jy ! Component: 2550 - total flux cleaned = -0.000405166 Jy ! Component: 2600 - total flux cleaned = -0.000429536 Jy ! Component: 2650 - total flux cleaned = -0.00044558 Jy ! Component: 2700 - total flux cleaned = -0.000457578 Jy ! Component: 2750 - total flux cleaned = -0.00046548 Jy ! Component: 2800 - total flux cleaned = -0.000496814 Jy ! Component: 2850 - total flux cleaned = -0.000508413 Jy ! Component: 2900 - total flux cleaned = -0.000531471 Jy ! Component: 2950 - total flux cleaned = -0.000561962 Jy ! Component: 3000 - total flux cleaned = -0.00057707 Jy ! Component: 3050 - total flux cleaned = -0.000595854 Jy ! Component: 3100 - total flux cleaned = -0.00062563 Jy ! Component: 3150 - total flux cleaned = -0.000655181 Jy ! Component: 3200 - total flux cleaned = -0.000677212 Jy ! Component: 3250 - total flux cleaned = -0.00069904 Jy ! Component: 3300 - total flux cleaned = -0.000727947 Jy ! Component: 3350 - total flux cleaned = -0.000753029 Jy ! Component: 3400 - total flux cleaned = -0.000781532 Jy ! Component: 3450 - total flux cleaned = -0.000813413 Jy ! Component: 3500 - total flux cleaned = -0.000845087 Jy ! Component: 3550 - total flux cleaned = -0.000866028 Jy ! Component: 3600 - total flux cleaned = -0.000893867 Jy ! Component: 3650 - total flux cleaned = -0.000921493 Jy ! Component: 3700 - total flux cleaned = -0.000948966 Jy ! Component: 3750 - total flux cleaned = -0.000972866 Jy ! Component: 3800 - total flux cleaned = -0.00100678 Jy ! Component: 3850 - total flux cleaned = -0.00102365 Jy ! Component: 3900 - total flux cleaned = -0.00106386 Jy ! Component: 3950 - total flux cleaned = -0.00107719 Jy ! Component: 4000 - total flux cleaned = -0.00111036 Jy ! Component: 4050 - total flux cleaned = -0.00113017 Jy ! Total flux subtracted in 4096 components = -0.00116295 Jy ! Clean residual min=-0.000242 max=0.000179 Jy/beam ! Clean residual mean=0.000000 rms=0.000060 Jy/beam ! Combined flux in latest and established models = 0.0686133 Jy keep ! Adding 269 model components to the UV plane model. ! The established model now contains 351 components and 0.0686134 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/g0/scr/pima/s4195b_uvs/J1059+0225_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.085 x 5.125 at -18.61 degrees (North through East) ! Clean map min=-0.00051523 max=0.060067 Jy/beam ! Writing clean map to FITS file: /g0/scr/pima/s4195b_uvs/J1059+0225_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.060067 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 5.94284e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.296811 0.296811 0.593621 1.18724 2.37449 4.74897 9.49794 18.9959 37.9918 75.9836 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0001 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.06 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 1010.74 quit ! Quitting program ! Log file /g0/scr/pima/s4195b_uvs/J1059+0225_X_uvs.log closed on Tue Dec 31 19:36:13 2013