! Started logfile: J2210+2013_X_2005_07_09_yyk_uvs.log on Fri Jan 20 11:05:58 2006
obs J2210+2013_X_2005_07_09_yyk_uve.fits
! Reading UV FITS file: J2210+2013_X_2005_07_09_yyk_uve.fits
! AN table 1: 12 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.8 visibilities/baseline/integration-bin.
! Found source: J2210+2013
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  8.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1480 lines of history.
! 
! Reading 1728 visibilities.
select I
! Polarization I is unavailable.
! Selecting polarization: RR,  channels: 1..4
! Reading IF 1 channels: 1..1
! Reading IF 2 channels: 2..2
! Reading IF 3 channels: 3..3
! Reading IF 4 channels: 4..4
![@muppet J2210+2013_X_2005_07_09_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.390811 Jy 
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.73 mas, bmaj=1.719 mas, bpa=-6.661 degrees
! Estimated noise=1.23055 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.331481 Jy
! Component: 100  -  total flux cleaned = 0.376654 Jy
! Total flux subtracted in 100 components = 0.376654 Jy
! Clean residual min=-0.008420 max=0.010104 Jy/beam
! Clean residual mean=0.000020 rms=0.002265 Jy/beam
! Combined flux in latest and established models = 0.376654 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 5 components and 0.376654 Jy
! 
! Correcting IF 1.
!  A total of 18 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 18 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 18 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 18 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.067779Jy  sigma=1.215434
! Fit after  self-cal, rms=0.067666Jy  sigma=1.210009
! Inverting map and beam 
! Estimated beam: bmin=0.73 mas, bmaj=1.719 mas, bpa=-6.661 degrees
! Estimated noise=1.23055 mJy/beam.
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9044 mas, bmaj=2.008 mas, bpa=-6.026 degrees
! Estimated noise=0.880525 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0139022 Jy
! Component: 100  -  total flux cleaned = 0.0184726 Jy
! Component: 150  -  total flux cleaned = 0.0197755 Jy
! Component: 200  -  total flux cleaned = 0.0199813 Jy
! Total flux subtracted in 200 components = 0.0199813 Jy
! Clean residual min=-0.006891 max=0.005805 Jy/beam
! Clean residual mean=0.000007 rms=0.001619 Jy/beam
! Combined flux in latest and established models = 0.396636 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 23 components and 0.396636 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.065626Jy  sigma=1.171200
! Fit after  self-cal, rms=0.065624Jy  sigma=1.171103
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9044 x 2.008 at -6.026 degrees (North through East)
! Clean map  min=-0.0063883  max=0.38347 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.00427
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.01     HN        1.03     KP        0.98     
!   LA        1.01     MK        0.97     NL        1.01     OV        1.00     
!   PT        0.98     SC        0.99     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.00786
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.00     HN        1.05     KP        0.94     
!   LA        0.98     MK        1.00     NL        0.99     OV        1.00     
!   PT        1.01     SC        0.97     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.01816
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.03     HN        0.94     KP        0.86     
!   LA        0.98     MK        1.02     NL        0.96     OV        1.01     
!   PT        1.05     SC        0.95     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.961037
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.02     HN        0.97     KP        0.98     
!   LA        1.05     MK        1.01     NL        0.99     OV        1.08     
!   PT        1.08     SC        1.21     
! 
! 
! Fit before self-cal, rms=0.065624Jy  sigma=1.171103
! Fit after  self-cal, rms=0.061800Jy  sigma=1.103727
selfcal false, false, phase_soltime
! Performing phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061800Jy  sigma=1.103727
! Fit after  self-cal, rms=0.061809Jy  sigma=1.103711
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.91 mas, bmaj=2.013 mas, bpa=-6.458 degrees
! Estimated noise=0.877031 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000483743 Jy
! Component: 100  -  total flux cleaned = -0.000752176 Jy
! Component: 150  -  total flux cleaned = -0.000839785 Jy
! Component: 200  -  total flux cleaned = -0.00093123 Jy
! Total flux subtracted in 200 components = -0.00093123 Jy
! Clean residual min=-0.004081 max=0.004679 Jy/beam
! Clean residual mean=0.000003 rms=0.001167 Jy/beam
! Combined flux in latest and established models = 0.395704 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 34 components and 0.395705 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061757Jy  sigma=1.101755
! Fit after  self-cal, rms=0.061757Jy  sigma=1.101693
! Inverting map 
print "************** FINISHED AMPLITUDE GSCALE SELF-CAL **************"
! ************** FINISHED AMPLITUDE GSCALE SELF-CAL ************** 
! 
phase_soltime=phase_soltime2
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061757Jy  sigma=1.101693
! Fit after  self-cal, rms=0.058995Jy  sigma=1.044539
dynam = dynam - 0.5
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 false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000446033 Jy
! Component: 100  -  total flux cleaned = 0.000447136 Jy
! Component: 150  -  total flux cleaned = 0.000384725 Jy
! Component: 200  -  total flux cleaned = 0.000344298 Jy
! Total flux subtracted in 200 components = 0.000344298 Jy
! Clean residual min=-0.003949 max=0.004104 Jy/beam
! Clean residual mean=0.000003 rms=0.001105 Jy/beam
! Combined flux in latest and established models = 0.396049 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 39 components and 0.396049 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059001Jy  sigma=1.044285
! Fit after  self-cal, rms=0.058906Jy  sigma=1.040814
! Inverting map 
print "*** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime ***"
! *** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime *** 
! 
dynam = dynam - 0.25
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.91 x 2.013 at -6.458 degrees (North through East)
! Clean map  min=-0.003577  max=0.38284 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true, amp_soltime1
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true, amp_soltime2
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  print "************** FINISHED AMPLITUDE SELF-CAL **************"
  end if
! Performing amp+phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058906Jy  sigma=1.040814
! Fit after  self-cal, rms=0.057098Jy  sigma=0.979927
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057098Jy  sigma=0.979927
! Fit after  self-cal, rms=0.057134Jy  sigma=0.979480
! Inverting map and beam 
! Estimated beam: bmin=0.9107 mas, bmaj=2.011 mas, bpa=-6.557 degrees
! Estimated noise=0.875788 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000471178 Jy
! Component: 100  -  total flux cleaned = -0.000523755 Jy
! Component: 150  -  total flux cleaned = -0.000542257 Jy
! Component: 200  -  total flux cleaned = -0.000593212 Jy
! Total flux subtracted in 200 components = -0.000593212 Jy
! Clean residual min=-0.003249 max=0.003188 Jy/beam
! Clean residual mean=-0.000002 rms=0.000880 Jy/beam
! Combined flux in latest and established models = 0.395456 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 49 components and 0.395456 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057143Jy  sigma=0.979098
! Fit after  self-cal, rms=0.057167Jy  sigma=0.978994
! Inverting map 
! Performing amp+phase self-cal over 1 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057167Jy  sigma=0.978994
! Fit after  self-cal, rms=0.055931Jy  sigma=0.937699
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.055931Jy  sigma=0.937699
! Fit after  self-cal, rms=0.055946Jy  sigma=0.937667
! Inverting map and beam 
! Estimated beam: bmin=0.9112 mas, bmaj=2.012 mas, bpa=-6.675 degrees
! Estimated noise=0.875603 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000182864 Jy
! Component: 100  -  total flux cleaned = 0.000227755 Jy
! Component: 150  -  total flux cleaned = 0.00020942 Jy
! Component: 200  -  total flux cleaned = 0.000193854 Jy
! Total flux subtracted in 200 components = 0.000193854 Jy
! Clean residual min=-0.003059 max=0.003293 Jy/beam
! Clean residual mean=0.000004 rms=0.000817 Jy/beam
! Combined flux in latest and established models = 0.395649 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 53 components and 0.395649 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.055943Jy  sigma=0.937408
! Fit after  self-cal, rms=0.055950Jy  sigma=0.937389
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.172 mas, bmaj=2.839 mas, bpa=-5.627 degrees
! Estimated noise=1.11311 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000360503 Jy
! Component: 100  -  total flux cleaned = 0.000305925 Jy
! Component: 150  -  total flux cleaned = 0.000214949 Jy
! Component: 200  -  total flux cleaned = 0.000163897 Jy
! Total flux subtracted in 200 components = 0.000163897 Jy
! Clean residual min=-0.002845 max=0.003518 Jy/beam
! Clean residual mean=0.000008 rms=0.000973 Jy/beam
! Combined flux in latest and established models = 0.395813 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 53 components and 0.395813 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.055986Jy  sigma=0.937794
! Fit after  self-cal, rms=0.055976Jy  sigma=0.937516
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
win_mult = win_mult / 1.4
print "************** FINISHED TAPERING SELF-CAL CLEAN **************"
! ************** FINISHED TAPERING SELF-CAL CLEAN ************** 
! 
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true,true,true
! clrmod: Cleared the established, tentative and continuum 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.733 mas, bmaj=1.721 mas, bpa=-6.963 degrees
! Estimated noise=1.2283 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.331416 Jy
! Component: 100  -  total flux cleaned = 0.375739 Jy
! Component: 150  -  total flux cleaned = 0.387655 Jy
! Component: 200  -  total flux cleaned = 0.392908 Jy
! Total flux subtracted in 200 components = 0.392908 Jy
! Clean residual min=-0.004299 max=0.003885 Jy/beam
! Clean residual mean=0.000006 rms=0.001135 Jy/beam
! Combined flux in latest and established models = 0.392908 Jy
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 17 model components to the UV plane model.
! The established model now contains 17 components and 0.392908 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9112 mas, bmaj=2.012 mas, bpa=-6.675 degrees
! Estimated noise=0.875603 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00256412 Jy
! Component: 100  -  total flux cleaned = 0.00306414 Jy
! Component: 150  -  total flux cleaned = 0.00299327 Jy
! Component: 200  -  total flux cleaned = 0.00293178 Jy
! Total flux subtracted in 200 components = 0.00293178 Jy
! Clean residual min=-0.003132 max=0.003322 Jy/beam
! Clean residual mean=0.000004 rms=0.000824 Jy/beam
! Combined flux in latest and established models = 0.39584 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 27 components and 0.39584 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.172 mas, bmaj=2.839 mas, bpa=-5.627 degrees
! Estimated noise=1.11311 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000257613 Jy
! Component: 100  -  total flux cleaned = 0.000124491 Jy
! Component: 150  -  total flux cleaned = 4.49393e-05 Jy
! Component: 200  -  total flux cleaned = -1.85804e-05 Jy
! Total flux subtracted in 200 components = -1.85804e-05 Jy
! Clean residual min=-0.002812 max=0.003567 Jy/beam
! Clean residual mean=0.000008 rms=0.000971 Jy/beam
! Combined flux in latest and established models = 0.395821 Jy
! Adding 11 model components to the UV plane model.
! The established model now contains 32 components and 0.395822 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9112 mas, bmaj=2.012 mas, bpa=-6.675 degrees
! Estimated noise=0.875603 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000415239 Jy
! Component: 100  -  total flux cleaned = -0.000139899 Jy
! Component: 150  -  total flux cleaned = -0.00016987 Jy
! Component: 200  -  total flux cleaned = -0.000167757 Jy
! Total flux subtracted in 200 components = -0.000167757 Jy
! Clean residual min=-0.003162 max=0.003287 Jy/beam
! Clean residual mean=0.000004 rms=0.000815 Jy/beam
! Combined flux in latest and established models = 0.395654 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 37 components and 0.395654 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.055930Jy  sigma=0.937525
! Fit after  self-cal, rms=0.055921Jy  sigma=0.937474
wmodel J2210+2013_X_2005_07_09_yyk\_map.mod
! Writing 37 model components to file: J2210+2013_X_2005_07_09_yyk_map.mod
wobs J2210+2013_X_2005_07_09_yyk\_uvs.fits
! Writing UV FITS file: J2210+2013_X_2005_07_09_yyk_uvs.fits
wwins J2210+2013_X_2005_07_09_yyk\_map.win
! wwins: Wrote 1 windows to J2210+2013_X_2005_07_09_yyk_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000301799 Jy
! Component: 100  -  total flux cleaned = 0.000512884 Jy
! Component: 150  -  total flux cleaned = 0.000962662 Jy
! Component: 200  -  total flux cleaned = 0.00134047 Jy
! Component: 250  -  total flux cleaned = 0.0015683 Jy
! Component: 300  -  total flux cleaned = 0.00161203 Jy
! Component: 350  -  total flux cleaned = 0.00169773 Jy
! Component: 400  -  total flux cleaned = 0.00178087 Jy
! Component: 450  -  total flux cleaned = 0.00170023 Jy
! Component: 500  -  total flux cleaned = 0.00178043 Jy
! Component: 550  -  total flux cleaned = 0.00193554 Jy
! Component: 600  -  total flux cleaned = 0.00197399 Jy
! Component: 650  -  total flux cleaned = 0.00216081 Jy
! Component: 700  -  total flux cleaned = 0.00237998 Jy
! Component: 750  -  total flux cleaned = 0.00255976 Jy
! Component: 800  -  total flux cleaned = 0.00284223 Jy
! Component: 850  -  total flux cleaned = 0.0030166 Jy
! Component: 900  -  total flux cleaned = 0.00329061 Jy
! Component: 950  -  total flux cleaned = 0.00342597 Jy
! Component: 1000  -  total flux cleaned = 0.00365908 Jy
! Component: 1050  -  total flux cleaned = 0.0038227 Jy
! Component: 1100  -  total flux cleaned = 0.00398411 Jy
! Component: 1150  -  total flux cleaned = 0.00417477 Jy
! Component: 1200  -  total flux cleaned = 0.0042687 Jy
! Component: 1250  -  total flux cleaned = 0.00445408 Jy
! Component: 1300  -  total flux cleaned = 0.00469757 Jy
! Component: 1350  -  total flux cleaned = 0.00481766 Jy
! Component: 1400  -  total flux cleaned = 0.0051137 Jy
! Component: 1450  -  total flux cleaned = 0.00523073 Jy
! Component: 1500  -  total flux cleaned = 0.00543287 Jy
! Component: 1550  -  total flux cleaned = 0.00560431 Jy
! Component: 1600  -  total flux cleaned = 0.00580203 Jy
! Component: 1650  -  total flux cleaned = 0.00596911 Jy
! Component: 1700  -  total flux cleaned = 0.00613482 Jy
! Component: 1750  -  total flux cleaned = 0.00627162 Jy
! Component: 1800  -  total flux cleaned = 0.00637967 Jy
! Component: 1850  -  total flux cleaned = 0.00648648 Jy
! Component: 1900  -  total flux cleaned = 0.00648656 Jy
! Component: 1950  -  total flux cleaned = 0.00648682 Jy
! Component: 2000  -  total flux cleaned = 0.00646089 Jy
! Total flux subtracted in 2048 components = 0.00646088 Jy
! Clean residual min=-0.001530 max=0.001519 Jy/beam
! Clean residual mean=0.000000 rms=0.000490 Jy/beam
! Combined flux in latest and established models = 0.402115 Jy
keep
! Adding 153 model components to the UV plane model.
! The established model now contains 190 components and 0.402115 Jy
![Exited script file: muppet]
wmap "J2210+2013_X_2005_07_09_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9112 x 2.012 at -6.675 degrees (North through East)
! Clean map  min=-0.0024185  max=0.38311 Jy/beam
! Writing clean map to FITS file: J2210+2013_X_2005_07_09_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.383107 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000486334 
device "J2210+2013_X_2005_07_09_yyk\_map.eps/VPS"
! Attempting to open device: 'J2210+2013_X_2005_07_09_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.380834 0.380834 0.761668 1.52334 3.04667 6.09334 12.1867 24.3734 48.7467 97.4935
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.383 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9112 x 2.012 at -6.675 degrees (North through East)
! Clean map  min=-0.0024185  max=0.38311 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2210+2013_X_2005_07_09_yyk\_map.gif/gif"
! Attempting to open device: 'J2210+2013_X_2005_07_09_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2210+2013_X_2005_07_09_yyk_uvs.log closed on Fri Jan 20 11:06:03 2006