! Started logfile: ./J0105+3928_X_uvs.log on Mon Oct 28 15:36:59 2013 obs J0105+3928_X_uvm.fits ! Reading UV FITS file: J0105+3928_X_uvm.fits ! AN table 1: 31 integrations on 28 of 28 possible baselines. ! AN table 2: 19 integrations on 28 of 28 possible baselines. ! Apparent sampling: 0.942143 visibilities/baseline/integration-bin. ! Found source: J0105+3928 ! ! 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 10552 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 ./J0105+3928_X] 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 7 telescope corrections were flagged in sub-array 1. ! A total of 6 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 7 telescope corrections were flagged in sub-array 1. ! A total of 6 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 7 telescope corrections were flagged in sub-array 1. ! A total of 6 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 7 telescope corrections were flagged in sub-array 1. ! A total of 6 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 5. ! A total of 7 telescope corrections were flagged in sub-array 1. ! A total of 6 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 6. ! A total of 7 telescope corrections were flagged in sub-array 1. ! A total of 6 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 7. ! A total of 7 telescope corrections were flagged in sub-array 1. ! A total of 6 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 8. ! A total of 7 telescope corrections were flagged in sub-array 1. ! A total of 6 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=1.006640Jy sigma=5.171222 ! Fit after self-cal, rms=0.877294Jy sigma=4.478861 ! 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.8351 mas, bmaj=1.858 mas, bpa=-11.19 degrees ! Estimated noise=2.62256 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.0949084 Jy ! Component: 100 - total flux cleaned = 0.116349 Jy ! Total flux subtracted in 100 components = 0.116349 Jy ! Clean residual min=-0.002441 max=0.007485 Jy/beam ! Clean residual mean=-0.000012 rms=0.000709 Jy/beam ! Combined flux in latest and established models = 0.116349 Jy ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 5 components and 0.116349 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.022597Jy sigma=0.122365 ! Fit after self-cal, rms=0.022588Jy sigma=0.122328 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00741517 Jy ! Component: 100 - total flux cleaned = 0.0104597 Jy ! Total flux subtracted in 100 components = 0.0104597 Jy ! Clean residual min=-0.002257 max=0.003268 Jy/beam ! Clean residual mean=-0.000008 rms=0.000550 Jy/beam ! Combined flux in latest and established models = 0.126809 Jy ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 7 components and 0.126809 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.020373Jy sigma=0.103925 ! Fit after self-cal, rms=0.020374Jy sigma=0.103923 ! 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=2.31 mas, bpa=-11.69 degrees ! Estimated noise=1.37138 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.00272408 Jy ! Component: 100 - total flux cleaned = 0.00397045 Jy ! Component: 150 - total flux cleaned = 0.00452287 Jy ! Component: 200 - total flux cleaned = 0.00476264 Jy ! Total flux subtracted in 200 components = 0.00476264 Jy ! Clean residual min=-0.002208 max=0.002875 Jy/beam ! Clean residual mean=-0.000012 rms=0.000619 Jy/beam ! Combined flux in latest and established models = 0.131572 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 19 components and 0.131572 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.020303Jy sigma=0.100629 ! Fit after self-cal, rms=0.020302Jy sigma=0.100624 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 HN 0.92 KP 0.96 LA 1.00 ! MK 1.00 NL 1.03 OV 1.00 PT 0.85 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.16 HN 1.00 KP 1.05 LA 1.10 ! NL 1.12 OV 1.12 PT 0.94 SC 0.94 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 HN 0.90 KP 0.96 LA 0.95 ! MK 1.03 NL 1.04 OV 0.96 PT 0.89 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.18 HN 1.01 KP 1.06 LA 1.04 ! NL 1.11 OV 1.06 PT 0.99 SC 0.94 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.81 HN 0.95 KP 1.05 LA 0.93 ! MK 1.08 NL 1.01 OV 1.01 PT 0.90 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.91 HN 1.05 KP 1.15 LA 1.03 ! NL 1.12 OV 1.10 PT 1.00 SC 0.98 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 HN 0.99 KP 0.93 LA 0.96 ! MK 1.08 NL 0.99 OV 1.00 PT 0.94 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00 HN 1.09 KP 1.02 LA 1.06 ! NL 1.07 OV 1.10 PT 1.04 SC 1.03 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.92 HN 0.94 KP 1.05 LA 0.96 ! MK 0.98 NL 0.95 OV 0.99 PT 0.90 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.01 HN 1.08 KP 1.15 LA 1.04 ! NL 1.03 OV 1.06 PT 0.99 SC 0.96 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 HN 1.05 KP 1.02 LA 1.02 ! MK 1.01 NL 1.00 OV 1.04 PT 0.92 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.06 HN 1.19 KP 1.12 LA 1.12 ! NL 1.09 OV 1.12 PT 1.04 SC 1.00 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 HN 0.98 KP 0.99 LA 0.93 ! MK 0.98 NL 1.00 OV 1.03 PT 0.89 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.06 HN 1.08 KP 1.08 LA 0.99 ! NL 1.09 OV 1.10 PT 0.98 SC 0.95 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.10 HN 0.97 KP 1.04 LA 0.88 ! MK 0.96 NL 0.99 OV 1.04 PT 0.85 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.20 HN 1.06 KP 1.14 LA 0.97 ! NL 1.07 OV 1.12 PT 0.93 SC 1.07 ! ! ! Fit before self-cal, rms=0.020302Jy sigma=0.100624 ! Fit after self-cal, rms=0.014700Jy sigma=0.069290 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.083 mas, bmaj=2.322 mas, bpa=-12.05 degrees ! Estimated noise=1.35874 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.000974515 Jy ! Component: 100 - total flux cleaned = -0.00154324 Jy ! Component: 150 - total flux cleaned = -0.00185929 Jy ! Component: 200 - total flux cleaned = -0.00193178 Jy ! Total flux subtracted in 200 components = -0.00193178 Jy ! Clean residual min=-0.001205 max=0.001045 Jy/beam ! Clean residual mean=-0.000000 rms=0.000255 Jy/beam ! Combined flux in latest and established models = 0.12964 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 25 components and 0.12964 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.014570Jy sigma=0.069225 ! Fit after self-cal, rms=0.014580Jy sigma=0.069210 ! 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.014580Jy sigma=0.069210 ! Fit after self-cal, rms=0.013940Jy sigma=0.065095 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.085 mas, bmaj=2.32 mas, bpa=-12.13 degrees ! Estimated noise=1.35138 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000828762 Jy ! Component: 100 - total flux cleaned = -0.00115723 Jy ! Component: 150 - total flux cleaned = -0.00114715 Jy ! Component: 200 - total flux cleaned = -0.00113285 Jy ! Total flux subtracted in 200 components = -0.00113285 Jy ! Clean residual min=-0.000540 max=0.000518 Jy/beam ! Clean residual mean=-0.000001 rms=0.000118 Jy/beam ! Combined flux in latest and established models = 0.128507 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 34 components and 0.128507 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.013859Jy sigma=0.065019 ! Fit after self-cal, rms=0.013860Jy sigma=0.065017 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.20838e-05 Jy ! Component: 100 - total flux cleaned = -2.63775e-05 Jy ! Component: 150 - total flux cleaned = -3.06867e-05 Jy ! Component: 200 - total flux cleaned = -4.26441e-05 Jy ! Total flux subtracted in 200 components = -4.26441e-05 Jy ! Clean residual min=-0.000533 max=0.000511 Jy/beam ! Clean residual mean=-0.000001 rms=0.000118 Jy/beam ! Combined flux in latest and established models = 0.128464 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 37 components and 0.128464 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.013856Jy sigma=0.065005 ! Fit after self-cal, rms=0.013856Jy sigma=0.065005 ! 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.013856Jy sigma=0.065005 ! Fit after self-cal, rms=0.013772Jy sigma=0.064509 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.086 mas, bmaj=2.325 mas, bpa=-12.27 degrees ! Estimated noise=1.34448 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000714393 Jy ! Component: 100 - total flux cleaned = -0.00101 Jy ! Component: 150 - total flux cleaned = -0.00105085 Jy ! Component: 200 - total flux cleaned = -0.00104562 Jy ! Total flux subtracted in 200 components = -0.00104562 Jy ! Clean residual min=-0.000464 max=0.000492 Jy/beam ! Clean residual mean=-0.000001 rms=0.000105 Jy/beam ! Combined flux in latest and established models = 0.127419 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 37 components and 0.127419 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.013698Jy sigma=0.064522 ! Fit after self-cal, rms=0.013698Jy sigma=0.064521 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.4, 24.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000115813 Jy ! Component: 100 - total flux cleaned = 5.02843e-05 Jy ! Component: 150 - total flux cleaned = 1.10811e-06 Jy ! Component: 200 - total flux cleaned = -6.25127e-05 Jy ! Total flux subtracted in 200 components = -6.25127e-05 Jy ! Clean residual min=-0.000448 max=0.000427 Jy/beam ! Clean residual mean=-0.000001 rms=0.000101 Jy/beam ! Combined flux in latest and established models = 0.127356 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 61 components and 0.127356 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.013676Jy sigma=0.064394 ! Fit after self-cal, rms=0.013675Jy sigma=0.064388 ! 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.013675Jy sigma=0.064388 ! Fit after self-cal, rms=0.013657Jy sigma=0.064235 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.115 mas, bmaj=2.999 mas, bpa=-12.55 degrees ! Estimated noise=1.56202 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00065395 Jy ! Component: 100 - total flux cleaned = -0.000833519 Jy ! Component: 150 - total flux cleaned = -0.000863534 Jy ! Component: 200 - total flux cleaned = -0.000893162 Jy ! Total flux subtracted in 200 components = -0.000893162 Jy ! Clean residual min=-0.000353 max=0.000395 Jy/beam ! Clean residual mean=-0.000001 rms=0.000099 Jy/beam ! Combined flux in latest and established models = 0.126463 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 70 components and 0.126463 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.013591Jy sigma=0.064315 ! Fit after self-cal, rms=0.013589Jy sigma=0.064304 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 = -5.26387e-05 Jy ! Component: 100 - total flux cleaned = -6.46032e-05 Jy ! Component: 150 - total flux cleaned = -7.13849e-05 Jy ! Component: 200 - total flux cleaned = -7.44254e-05 Jy ! Total flux subtracted in 200 components = -7.44254e-05 Jy ! Clean residual min=-0.000359 max=0.000397 Jy/beam ! Clean residual mean=-0.000001 rms=0.000099 Jy/beam ! Combined flux in latest and established models = 0.126389 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 80 components and 0.126389 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.013588Jy sigma=0.064307 ! Fit after self-cal, rms=0.013587Jy sigma=0.064305 ! 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.086 mas, bmaj=2.329 mas, bpa=-12.36 degrees ! Estimated noise=1.33733 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.086 x 2.329 at -12.36 degrees (North through East) ! Clean map min=-0.00037407 max=0.12169 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.8344 mas, bmaj=1.874 mas, bpa=-12.04 degrees ! Estimated noise=2.60358 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0942203 Jy ! Component: 100 - total flux cleaned = 0.114971 Jy ! Component: 150 - total flux cleaned = 0.121298 Jy ! Component: 200 - total flux cleaned = 0.123831 Jy ! Total flux subtracted in 200 components = 0.123831 Jy ! Clean residual min=-0.000840 max=0.001058 Jy/beam ! Clean residual mean=-0.000001 rms=0.000186 Jy/beam ! Combined flux in latest and established models = 0.123831 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 9 model components to the UV plane model. ! The established model now contains 9 components and 0.123831 Jy ! Inverting map and beam ! Estimated beam: bmin=1.086 mas, bmaj=2.329 mas, bpa=-12.36 degrees ! Estimated noise=1.33733 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.00133629 Jy ! Component: 100 - total flux cleaned = 0.00182267 Jy ! Component: 150 - total flux cleaned = 0.00199004 Jy ! Component: 200 - total flux cleaned = 0.00210675 Jy ! Total flux subtracted in 200 components = 0.00210675 Jy ! Clean residual min=-0.000431 max=0.000475 Jy/beam ! Clean residual mean=-0.000001 rms=0.000104 Jy/beam ! Combined flux in latest and established models = 0.125938 Jy ! Adding 29 model components to the UV plane model. ! The established model now contains 32 components and 0.125938 Jy ! Inverting map ! Added new window around map position (-1.2, -2.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000259744 Jy ! Component: 100 - total flux cleaned = 0.000437847 Jy ! Component: 150 - total flux cleaned = 0.000546291 Jy ! Component: 200 - total flux cleaned = 0.000619298 Jy ! Total flux subtracted in 200 components = 0.000619298 Jy ! Clean residual min=-0.000377 max=0.000385 Jy/beam ! Clean residual mean=-0.000001 rms=0.000095 Jy/beam ! Combined flux in latest and established models = 0.126557 Jy ! Adding 33 model components to the UV plane model. ! The established model now contains 61 components and 0.126557 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.115 mas, bmaj=2.999 mas, bpa=-12.55 degrees ! Estimated noise=1.56202 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000269795 Jy ! Component: 100 - total flux cleaned = 0.0003297 Jy ! Component: 150 - total flux cleaned = 0.000347251 Jy ! Component: 200 - total flux cleaned = 0.000346991 Jy ! Total flux subtracted in 200 components = 0.000346991 Jy ! Clean residual min=-0.000352 max=0.000363 Jy/beam ! Clean residual mean=-0.000001 rms=0.000095 Jy/beam ! Combined flux in latest and established models = 0.126904 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 = 4.09039e-06 Jy ! Component: 100 - total flux cleaned = 3.87975e-06 Jy ! Component: 150 - total flux cleaned = 2.46166e-07 Jy ! Component: 200 - total flux cleaned = -2.96469e-06 Jy ! Total flux subtracted in 200 components = -2.96469e-06 Jy ! Clean residual min=-0.000349 max=0.000362 Jy/beam ! Clean residual mean=-0.000001 rms=0.000094 Jy/beam ! Combined flux in latest and established models = 0.126901 Jy ! Adding 35 model components to the UV plane model. ! The established model now contains 90 components and 0.126901 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.086 mas, bmaj=2.329 mas, bpa=-12.36 degrees ! Estimated noise=1.33733 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -1.44725e-05 Jy ! Component: 100 - total flux cleaned = -1.45705e-05 Jy ! Component: 150 - total flux cleaned = -1.58725e-06 Jy ! Component: 200 - total flux cleaned = -1.67525e-06 Jy ! Total flux subtracted in 200 components = -1.67525e-06 Jy ! Clean residual min=-0.000358 max=0.000396 Jy/beam ! Clean residual mean=-0.000000 rms=0.000092 Jy/beam ! Combined flux in latest and established models = 0.1269 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 106 components and 0.1269 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.013571Jy sigma=0.064151 ! Fit after self-cal, rms=0.013569Jy sigma=0.064139 wmodel ./J0105+3928_X_map.mod ! Writing 106 model components to file: ./J0105+3928_X_map.mod wobs ./J0105+3928_X_uvs.fits ! Writing UV FITS file: ./J0105+3928_X_uvs.fits wwins ./J0105+3928_X_map.win ! wwins: Wrote 3 windows to ./J0105+3928_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 = 4.96338e-05 Jy ! Component: 100 - total flux cleaned = 9.48328e-05 Jy ! Component: 150 - total flux cleaned = 0.000107496 Jy ! Component: 200 - total flux cleaned = 0.000107538 Jy ! Component: 250 - total flux cleaned = 0.00010152 Jy ! Component: 300 - total flux cleaned = 0.000107319 Jy ! Component: 350 - total flux cleaned = 0.000118808 Jy ! Component: 400 - total flux cleaned = 0.000135646 Jy ! Component: 450 - total flux cleaned = 0.000152177 Jy ! Component: 500 - total flux cleaned = 0.000146745 Jy ! Component: 550 - total flux cleaned = 0.000146864 Jy ! Component: 600 - total flux cleaned = 0.000157568 Jy ! Component: 650 - total flux cleaned = 0.000157561 Jy ! Component: 700 - total flux cleaned = 0.000142062 Jy ! Component: 750 - total flux cleaned = 0.000131773 Jy ! Component: 800 - total flux cleaned = 0.000111444 Jy ! Component: 850 - total flux cleaned = 0.000106481 Jy ! Component: 900 - total flux cleaned = 9.16435e-05 Jy ! Component: 950 - total flux cleaned = 7.68609e-05 Jy ! Component: 1000 - total flux cleaned = 6.71764e-05 Jy ! Component: 1050 - total flux cleaned = 4.8062e-05 Jy ! Component: 1100 - total flux cleaned = 3.86012e-05 Jy ! Component: 1150 - total flux cleaned = 3.86e-05 Jy ! Component: 1200 - total flux cleaned = 2.93026e-05 Jy ! Component: 1250 - total flux cleaned = 2.4716e-05 Jy ! Component: 1300 - total flux cleaned = 2.01146e-05 Jy ! Component: 1350 - total flux cleaned = 1.55763e-05 Jy ! Component: 1400 - total flux cleaned = 1.55733e-05 Jy ! Component: 1450 - total flux cleaned = 1.55145e-05 Jy ! Component: 1500 - total flux cleaned = 2.26422e-06 Jy ! Component: 1550 - total flux cleaned = 6.64207e-06 Jy ! Component: 1600 - total flux cleaned = -1.07399e-05 Jy ! Component: 1650 - total flux cleaned = -1.50668e-05 Jy ! Component: 1700 - total flux cleaned = -3.63754e-05 Jy ! Component: 1750 - total flux cleaned = -3.6381e-05 Jy ! Component: 1800 - total flux cleaned = -5.32208e-05 Jy ! Component: 1850 - total flux cleaned = -5.32025e-05 Jy ! Component: 1900 - total flux cleaned = -5.31454e-05 Jy ! Component: 1950 - total flux cleaned = -5.31901e-05 Jy ! Component: 2000 - total flux cleaned = -4.09117e-05 Jy ! Component: 2050 - total flux cleaned = -5.30727e-05 Jy ! Component: 2100 - total flux cleaned = -4.09632e-05 Jy ! Component: 2150 - total flux cleaned = -4.9034e-05 Jy ! Component: 2200 - total flux cleaned = -2.90905e-05 Jy ! Component: 2250 - total flux cleaned = -3.30612e-05 Jy ! Component: 2300 - total flux cleaned = -4.09292e-05 Jy ! Component: 2350 - total flux cleaned = -2.13343e-05 Jy ! Component: 2400 - total flux cleaned = -1.3569e-05 Jy ! Component: 2450 - total flux cleaned = -2.12729e-05 Jy ! Component: 2500 - total flux cleaned = -2.07139e-06 Jy ! Component: 2550 - total flux cleaned = -2.11643e-05 Jy ! Component: 2600 - total flux cleaned = -2.16756e-06 Jy ! Component: 2650 - total flux cleaned = 1.58448e-06 Jy ! Component: 2700 - total flux cleaned = 1.6616e-05 Jy ! Component: 2750 - total flux cleaned = 2.40891e-05 Jy ! Component: 2800 - total flux cleaned = 2.40403e-05 Jy ! Component: 2850 - total flux cleaned = 3.51339e-05 Jy ! Component: 2900 - total flux cleaned = 2.04526e-05 Jy ! Component: 2950 - total flux cleaned = 4.60511e-05 Jy ! Component: 3000 - total flux cleaned = 7.14717e-05 Jy ! Component: 3050 - total flux cleaned = 4.97815e-05 Jy ! Component: 3100 - total flux cleaned = 5.33874e-05 Jy ! Component: 3150 - total flux cleaned = 4.62268e-05 Jy ! Component: 3200 - total flux cleaned = 7.83161e-05 Jy ! Component: 3250 - total flux cleaned = 8.18705e-05 Jy ! Component: 3300 - total flux cleaned = 7.83538e-05 Jy ! Component: 3350 - total flux cleaned = 7.83377e-05 Jy ! Component: 3400 - total flux cleaned = 8.52815e-05 Jy ! Component: 3450 - total flux cleaned = 7.13899e-05 Jy ! Component: 3500 - total flux cleaned = 7.83207e-05 Jy ! Component: 3550 - total flux cleaned = 8.17733e-05 Jy ! Component: 3600 - total flux cleaned = 6.46128e-05 Jy ! Component: 3650 - total flux cleaned = 5.43936e-05 Jy ! Component: 3700 - total flux cleaned = 6.11677e-05 Jy ! Component: 3750 - total flux cleaned = 6.11668e-05 Jy ! Component: 3800 - total flux cleaned = 7.12624e-05 Jy ! Component: 3850 - total flux cleaned = 6.79206e-05 Jy ! Component: 3900 - total flux cleaned = 6.12584e-05 Jy ! Component: 3950 - total flux cleaned = 5.12726e-05 Jy ! Component: 4000 - total flux cleaned = 5.79001e-05 Jy ! Component: 4050 - total flux cleaned = 6.45046e-05 Jy ! Total flux subtracted in 4096 components = 6.12355e-05 Jy ! Clean residual min=-0.000240 max=0.000192 Jy/beam ! Clean residual mean=-0.000000 rms=0.000060 Jy/beam ! Combined flux in latest and established models = 0.126961 Jy keep ! Adding 344 model components to the UV plane model. ! The established model now contains 450 components and 0.126961 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "./J0105+3928_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.086 x 2.329 at -12.36 degrees (North through East) ! Clean map min=-0.00031776 max=0.12158 Jy/beam ! Writing clean map to FITS file: ./J0105+3928_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.121576 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 5.9457e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.146715 0.146715 0.293431 0.586861 1.17372 2.34745 4.69489 9.38978 18.7796 37.5591 75.1183 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0001 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.121 quit ! Quitting program ! Log file ./J0105+3928_X_uvs.log closed on Mon Oct 28 15:37:13 2013