! Started logfile: J1237+2034_X_2005_07_08_yyk_uvs.log on Fri Jan 20 10:26:56 2006
obs J1237+2034_X_2005_07_08_yyk_uve.fits
! Reading UV FITS file: J1237+2034_X_2005_07_08_yyk_uve.fits
! AN table 1: 10 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.957778 visibilities/baseline/integration-bin.
! Found source: J1237+2034
! 
! 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 1407 lines of history.
! 
! Reading 1724 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 J1237+2034_X_2005_07_08_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.152713 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.8196 mas, bmaj=2.097 mas, bpa=16.34 degrees
! Estimated noise=1.41903 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.101274 Jy
! Component: 100  -  total flux cleaned = 0.138415 Jy
! Total flux subtracted in 100 components = 0.138415 Jy
! Clean residual min=-0.011355 max=0.014955 Jy/beam
! Clean residual mean=-0.000038 rms=0.003428 Jy/beam
! Combined flux in latest and established models = 0.138415 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 20 components and 0.138415 Jy
! 
! Correcting IF 1.
!  A total of 21 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 11 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 21 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 21 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.074120Jy  sigma=1.680395
! Fit after  self-cal, rms=0.075379Jy  sigma=1.530810
! Inverting map and beam 
! Estimated beam: bmin=0.8196 mas, bmaj=2.097 mas, bpa=16.34 degrees
! Estimated noise=1.41903 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.8594 mas, bmaj=2.686 mas, bpa=15.9 degrees
! Estimated noise=0.942557 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.02781 Jy
! Component: 100  -  total flux cleaned = 0.0402793 Jy
! Component: 150  -  total flux cleaned = 0.0431683 Jy
! Component: 200  -  total flux cleaned = 0.0439537 Jy
! Total flux subtracted in 200 components = 0.0439537 Jy
! Clean residual min=-0.008303 max=0.008967 Jy/beam
! Clean residual mean=-0.000009 rms=0.002453 Jy/beam
! Combined flux in latest and established models = 0.182369 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 32 components and 0.182369 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.069962Jy  sigma=1.343892
! Fit after  self-cal, rms=0.069686Jy  sigma=1.338779
! 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.8594 x 2.686 at 15.9 degrees (North through East)
! Clean map  min=-0.0077343  max=0.11518 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.03689
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.86     FD        0.95     HN        1.00*    KP        0.91     
!   LA        1.04     MK        1.00*    NL        1.08     OV        1.02     
!   PT        0.92     SC        0.87     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.998892
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.03     HN        1.00*    KP        0.86     
!   LA        1.11     MK        1.00*    NL        1.07     OV        0.90     
!   PT        1.04     SC        0.95     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.069686Jy  sigma=1.338779
! Fit after  self-cal, rms=0.068842Jy  sigma=1.315572
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.068842Jy  sigma=1.315572
! Fit after  self-cal, rms=0.068914Jy  sigma=1.315335
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8134 mas, bmaj=2.758 mas, bpa=15.84 degrees
! Estimated noise=0.909824 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.00263544 Jy
! Component: 100  -  total flux cleaned = 0.00253755 Jy
! Component: 150  -  total flux cleaned = 0.00246382 Jy
! Component: 200  -  total flux cleaned = 0.00247017 Jy
! Total flux subtracted in 200 components = 0.00247017 Jy
! Clean residual min=-0.006962 max=0.006082 Jy/beam
! Clean residual mean=-0.000003 rms=0.001769 Jy/beam
! Combined flux in latest and established models = 0.184839 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 40 components and 0.184839 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.068785Jy  sigma=1.308098
! Fit after  self-cal, rms=0.068652Jy  sigma=1.306080
! 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.068652Jy  sigma=1.306080
! Fit after  self-cal, rms=0.062916Jy  sigma=1.135043
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.00263906 Jy
! Component: 100  -  total flux cleaned = 0.00308952 Jy
! Component: 150  -  total flux cleaned = 0.00325064 Jy
! Component: 200  -  total flux cleaned = 0.00329051 Jy
! Total flux subtracted in 200 components = 0.00329051 Jy
! Clean residual min=-0.005791 max=0.005705 Jy/beam
! Clean residual mean=-0.000000 rms=0.001529 Jy/beam
! Combined flux in latest and established models = 0.18813 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 46 components and 0.18813 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062914Jy  sigma=1.130336
! Fit after  self-cal, rms=0.062369Jy  sigma=1.115910
! 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.8134 x 2.758 at 15.84 degrees (North through East)
! Clean map  min=-0.0050703  max=0.11487 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.062369Jy  sigma=1.115910
! Fit after  self-cal, rms=0.060718Jy  sigma=1.101347
! 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.060718Jy  sigma=1.101347
! Fit after  self-cal, rms=0.060524Jy  sigma=1.098172
! Inverting map and beam 
! Estimated beam: bmin=0.8163 mas, bmaj=2.734 mas, bpa=16.07 degrees
! Estimated noise=0.888119 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00281929 Jy
! Component: 100  -  total flux cleaned = -0.003573 Jy
! Component: 150  -  total flux cleaned = -0.00370049 Jy
! Component: 200  -  total flux cleaned = -0.00381268 Jy
! Total flux subtracted in 200 components = -0.00381268 Jy
! Clean residual min=-0.005503 max=0.005077 Jy/beam
! Clean residual mean=-0.000002 rms=0.001400 Jy/beam
! Combined flux in latest and established models = 0.184317 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 51 components and 0.184317 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060299Jy  sigma=1.094851
! Fit after  self-cal, rms=0.060239Jy  sigma=1.093429
! 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.060239Jy  sigma=1.093429
! Fit after  self-cal, rms=0.060273Jy  sigma=1.096361
! 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.060273Jy  sigma=1.096361
! Fit after  self-cal, rms=0.060237Jy  sigma=1.095658
! Inverting map and beam 
! Estimated beam: bmin=0.8294 mas, bmaj=2.62 mas, bpa=15.66 degrees
! Estimated noise=0.892436 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00119115 Jy
! Component: 100  -  total flux cleaned = -0.00122153 Jy
! Component: 150  -  total flux cleaned = -0.00131206 Jy
! Component: 200  -  total flux cleaned = -0.00133901 Jy
! Total flux subtracted in 200 components = -0.00133901 Jy
! Clean residual min=-0.005576 max=0.005324 Jy/beam
! Clean residual mean=-0.000001 rms=0.001499 Jy/beam
! Combined flux in latest and established models = 0.182978 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 56 components and 0.182978 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060209Jy  sigma=1.094240
! Fit after  self-cal, rms=0.060216Jy  sigma=1.093700
! 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.421 mas, bmaj=3.232 mas, bpa=17.19 degrees
! Estimated noise=1.19016 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.0016185 Jy
! Component: 100  -  total flux cleaned = 0.00175704 Jy
! Component: 150  -  total flux cleaned = 0.00187304 Jy
! Component: 200  -  total flux cleaned = 0.00197264 Jy
! Total flux subtracted in 200 components = 0.00197264 Jy
! Clean residual min=-0.004000 max=0.003989 Jy/beam
! Clean residual mean=-0.000000 rms=0.001149 Jy/beam
! Combined flux in latest and established models = 0.18495 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 61 components and 0.18495 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060191Jy  sigma=1.094934
! Fit after  self-cal, rms=0.060183Jy  sigma=1.094668
! 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.8059 mas, bmaj=2.049 mas, bpa=15.74 degrees
! Estimated noise=1.34839 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.101261 Jy
! Component: 100  -  total flux cleaned = 0.138208 Jy
! Component: 150  -  total flux cleaned = 0.157577 Jy
! Component: 200  -  total flux cleaned = 0.169111 Jy
! Total flux subtracted in 200 components = 0.169111 Jy
! Clean residual min=-0.007338 max=0.009643 Jy/beam
! Clean residual mean=-0.000006 rms=0.002143 Jy/beam
! Combined flux in latest and established models = 0.169111 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 34 model components to the UV plane model.
! The established model now contains 34 components and 0.169111 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8294 mas, bmaj=2.62 mas, bpa=15.66 degrees
! Estimated noise=0.892436 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.0102491 Jy
! Component: 100  -  total flux cleaned = 0.0112458 Jy
! Component: 150  -  total flux cleaned = 0.0119086 Jy
! Component: 200  -  total flux cleaned = 0.0123872 Jy
! Total flux subtracted in 200 components = 0.0123872 Jy
! Clean residual min=-0.006645 max=0.006148 Jy/beam
! Clean residual mean=-0.000001 rms=0.001948 Jy/beam
! Combined flux in latest and established models = 0.181498 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 40 components and 0.181498 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.421 mas, bmaj=3.232 mas, bpa=17.19 degrees
! Estimated noise=1.19016 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.00275491 Jy
! Component: 100  -  total flux cleaned = 0.00288463 Jy
! Component: 150  -  total flux cleaned = 0.00302648 Jy
! Component: 200  -  total flux cleaned = 0.00310336 Jy
! Total flux subtracted in 200 components = 0.00310336 Jy
! Clean residual min=-0.004049 max=0.004166 Jy/beam
! Clean residual mean=-0.000000 rms=0.001161 Jy/beam
! Combined flux in latest and established models = 0.184601 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 49 components and 0.184601 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8294 mas, bmaj=2.62 mas, bpa=15.66 degrees
! Estimated noise=0.892436 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00158696 Jy
! Component: 100  -  total flux cleaned = -0.00179274 Jy
! Component: 150  -  total flux cleaned = -0.00186028 Jy
! Component: 200  -  total flux cleaned = -0.0018073 Jy
! Total flux subtracted in 200 components = -0.0018073 Jy
! Clean residual min=-0.006211 max=0.005821 Jy/beam
! Clean residual mean=-0.000000 rms=0.001750 Jy/beam
! Combined flux in latest and established models = 0.182794 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 54 components and 0.182794 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060161Jy  sigma=1.096437
! Fit after  self-cal, rms=0.060174Jy  sigma=1.095414
wmodel J1237+2034_X_2005_07_08_yyk\_map.mod
! Writing 54 model components to file: J1237+2034_X_2005_07_08_yyk_map.mod
wobs J1237+2034_X_2005_07_08_yyk\_uvs.fits
! Writing UV FITS file: J1237+2034_X_2005_07_08_yyk_uvs.fits
wwins J1237+2034_X_2005_07_08_yyk\_map.win
! wwins: Wrote 1 windows to J1237+2034_X_2005_07_08_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.00214627 Jy
! Component: 100  -  total flux cleaned = -0.00280787 Jy
! Component: 150  -  total flux cleaned = -0.00321829 Jy
! Component: 200  -  total flux cleaned = -0.00321709 Jy
! Component: 250  -  total flux cleaned = -0.00342714 Jy
! Component: 300  -  total flux cleaned = -0.0034268 Jy
! Component: 350  -  total flux cleaned = -0.00381415 Jy
! Component: 400  -  total flux cleaned = -0.00418841 Jy
! Component: 450  -  total flux cleaned = -0.00479561 Jy
! Component: 500  -  total flux cleaned = -0.00509127 Jy
! Component: 550  -  total flux cleaned = -0.00549662 Jy
! Component: 600  -  total flux cleaned = -0.00583623 Jy
! Component: 650  -  total flux cleaned = -0.00622418 Jy
! Component: 700  -  total flux cleaned = -0.00644127 Jy
! Component: 750  -  total flux cleaned = -0.00676063 Jy
! Component: 800  -  total flux cleaned = -0.00722834 Jy
! Component: 850  -  total flux cleaned = -0.00758354 Jy
! Component: 900  -  total flux cleaned = -0.00788282 Jy
! Component: 950  -  total flux cleaned = -0.00812882 Jy
! Component: 1000  -  total flux cleaned = -0.00851553 Jy
! Component: 1050  -  total flux cleaned = -0.00875277 Jy
! Component: 1100  -  total flux cleaned = -0.00894026 Jy
! Component: 1150  -  total flux cleaned = -0.00930822 Jy
! Component: 1200  -  total flux cleaned = -0.00948942 Jy
! Component: 1250  -  total flux cleaned = -0.00966918 Jy
! Component: 1300  -  total flux cleaned = -0.0100222 Jy
! Component: 1350  -  total flux cleaned = -0.0101525 Jy
! Component: 1400  -  total flux cleaned = -0.0104524 Jy
! Component: 1450  -  total flux cleaned = -0.010537 Jy
! Component: 1500  -  total flux cleaned = -0.0105789 Jy
! Component: 1550  -  total flux cleaned = -0.0107442 Jy
! Component: 1600  -  total flux cleaned = -0.0109069 Jy
! Component: 1650  -  total flux cleaned = -0.0110277 Jy
! Component: 1700  -  total flux cleaned = -0.0111073 Jy
! Component: 1750  -  total flux cleaned = -0.0112656 Jy
! Component: 1800  -  total flux cleaned = -0.0113831 Jy
! Component: 1850  -  total flux cleaned = -0.0115384 Jy
! Component: 1900  -  total flux cleaned = -0.0117676 Jy
! Component: 1950  -  total flux cleaned = -0.0118058 Jy
! Component: 2000  -  total flux cleaned = -0.0118437 Jy
! Total flux subtracted in 2048 components = -0.0119925 Jy
! Clean residual min=-0.002159 max=0.002174 Jy/beam
! Clean residual mean=0.000001 rms=0.000679 Jy/beam
! Combined flux in latest and established models = 0.170801 Jy
keep
! Adding 135 model components to the UV plane model.
! The established model now contains 189 components and 0.170801 Jy
![Exited script file: muppet]
wmap "J1237+2034_X_2005_07_08_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8294 x 2.62 at 15.66 degrees (North through East)
! Clean map  min=-0.0042688  max=0.11063 Jy/beam
! Writing clean map to FITS file: J1237+2034_X_2005_07_08_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.110628 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00067904 
device "J1237+2034_X_2005_07_08_yyk\_map.eps/VPS"
! Attempting to open device: 'J1237+2034_X_2005_07_08_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.84141 1.84141 3.68282 7.36565 14.7313 29.4626 58.9252
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.002 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.11 
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.8294 x 2.62 at 15.66 degrees (North through East)
! Clean map  min=-0.0042688  max=0.11063 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1237+2034_X_2005_07_08_yyk\_map.gif/gif"
! Attempting to open device: 'J1237+2034_X_2005_07_08_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1237+2034_X_2005_07_08_yyk_uvs.log closed on Fri Jan 20 10:27:00 2006