! Started logfile: J2357-2451_S_2005_07_09_yyk_uvs.log on Fri Jan 20 11:13:51 2006
obs J2357-2451_S_2005_07_09_yyk_uve.fits
! Reading UV FITS file: J2357-2451_S_2005_07_09_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.981818 visibilities/baseline/integration-bin.
! Found source: J2357-2451
! 
! 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  2.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1602 lines of history.
! 
! Reading 1944 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 J2357-2451_S_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.142377 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=2.556 mas, bmaj=6.316 mas, bpa=3.782 degrees
! Estimated noise=1.72388 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.0916209 Jy
! Component: 100  -  total flux cleaned = 0.117056 Jy
! Total flux subtracted in 100 components = 0.117056 Jy
! Clean residual min=-0.008713 max=0.009890 Jy/beam
! Clean residual mean=-0.000032 rms=0.002344 Jy/beam
! Combined flux in latest and established models = 0.117056 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 27 components and 0.117056 Jy
! 
! Correcting IF 1.
!  A total of 21 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 22 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 30 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.079546Jy  sigma=1.159624
! Fit after  self-cal, rms=0.078744Jy  sigma=1.144528
! Inverting map and beam 
! Estimated beam: bmin=2.556 mas, bmaj=6.316 mas, bpa=3.782 degrees
! Estimated noise=1.72388 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=3.514 mas, bmaj=8.565 mas, bpa=5.194 degrees
! Estimated noise=1.14238 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.016197 Jy
! Component: 100  -  total flux cleaned = 0.0210594 Jy
! Component: 150  -  total flux cleaned = 0.0228046 Jy
! Component: 200  -  total flux cleaned = 0.0231915 Jy
! Total flux subtracted in 200 components = 0.0231915 Jy
! Clean residual min=-0.005513 max=0.003789 Jy/beam
! Clean residual mean=-0.000199 rms=0.001500 Jy/beam
! Combined flux in latest and established models = 0.140248 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 35 model components to the UV plane model.
! The established model now contains 56 components and 0.140248 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.076367Jy  sigma=1.102352
! Fit after  self-cal, rms=0.076317Jy  sigma=1.101778
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.514 x 8.565 at 5.194 degrees (North through East)
! Clean map  min=-0.0054055  max=0.1061 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
!  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 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: 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 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.076317Jy  sigma=1.101778
! Fit after  self-cal, rms=0.076317Jy  sigma=1.101778
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.076317Jy  sigma=1.101778
! Fit after  self-cal, rms=0.076276Jy  sigma=1.101272
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.514 mas, bmaj=8.565 mas, bpa=5.194 degrees
! Estimated noise=1.14238 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.000294193 Jy
! Component: 100  -  total flux cleaned = 0.00037955 Jy
! Component: 150  -  total flux cleaned = 0.000453285 Jy
! Component: 200  -  total flux cleaned = 0.000498116 Jy
! Total flux subtracted in 200 components = 0.000498116 Jy
! Clean residual min=-0.005485 max=0.003755 Jy/beam
! Clean residual mean=-0.000202 rms=0.001486 Jy/beam
! Combined flux in latest and established models = 0.140746 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 59 components and 0.140746 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.076270Jy  sigma=1.100981
! Fit after  self-cal, rms=0.076223Jy  sigma=1.100463
! 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.076223Jy  sigma=1.100463
! Fit after  self-cal, rms=0.071837Jy  sigma=1.036179
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.00151622 Jy
! Component: 100  -  total flux cleaned = 0.001562 Jy
! Component: 150  -  total flux cleaned = 0.00160389 Jy
! Component: 200  -  total flux cleaned = 0.00164298 Jy
! Total flux subtracted in 200 components = 0.00164298 Jy
! Clean residual min=-0.004884 max=0.003852 Jy/beam
! Clean residual mean=-0.000209 rms=0.001410 Jy/beam
! Combined flux in latest and established models = 0.142389 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 65 components and 0.142389 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071770Jy  sigma=1.034915
! Fit after  self-cal, rms=0.071580Jy  sigma=1.030872
! 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: 3.514 x 8.565 at 5.194 degrees (North through East)
! Clean map  min=-0.0049227  max=0.10722 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.071580Jy  sigma=1.030872
! Fit after  self-cal, rms=0.071580Jy  sigma=1.030872
! 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.071580Jy  sigma=1.030872
! Fit after  self-cal, rms=0.071597Jy  sigma=1.030408
! Inverting map and beam 
! Estimated beam: bmin=3.514 mas, bmaj=8.565 mas, bpa=5.194 degrees
! Estimated noise=1.14238 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 7.19581e-05 Jy
! Component: 100  -  total flux cleaned = 6.78891e-05 Jy
! Component: 150  -  total flux cleaned = 3.43069e-05 Jy
! Component: 200  -  total flux cleaned = 6.3734e-05 Jy
! Total flux subtracted in 200 components = 6.3734e-05 Jy
! Clean residual min=-0.005188 max=0.003809 Jy/beam
! Clean residual mean=-0.000208 rms=0.001404 Jy/beam
! Combined flux in latest and established models = 0.142453 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 71 components and 0.142453 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071596Jy  sigma=1.029960
! Fit after  self-cal, rms=0.071601Jy  sigma=1.029866
! 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.071601Jy  sigma=1.029866
! Fit after  self-cal, rms=0.071510Jy  sigma=1.029536
! 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.071510Jy  sigma=1.029536
! Fit after  self-cal, rms=0.071517Jy  sigma=1.029520
! Inverting map and beam 
! Estimated beam: bmin=3.517 mas, bmaj=8.57 mas, bpa=5.307 degrees
! Estimated noise=1.13829 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000604377 Jy
! Component: 100  -  total flux cleaned = -0.000631515 Jy
! Component: 150  -  total flux cleaned = -0.000606676 Jy
! Component: 200  -  total flux cleaned = -0.000606805 Jy
! Total flux subtracted in 200 components = -0.000606805 Jy
! Clean residual min=-0.005178 max=0.003699 Jy/beam
! Clean residual mean=-0.000200 rms=0.001390 Jy/beam
! Combined flux in latest and established models = 0.141846 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 73 components and 0.141846 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071516Jy  sigma=1.029180
! Fit after  self-cal, rms=0.071508Jy  sigma=1.029133
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=9.069 mas, bmaj=22.72 mas, bpa=12.14 degrees
! Estimated noise=1.37391 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.000931371 Jy
! Component: 100  -  total flux cleaned = 0.00107476 Jy
! Component: 150  -  total flux cleaned = 0.00120188 Jy
! Component: 200  -  total flux cleaned = 0.0013157 Jy
! Total flux subtracted in 200 components = 0.0013157 Jy
! Clean residual min=-0.005614 max=0.003688 Jy/beam
! Clean residual mean=-0.000357 rms=0.001756 Jy/beam
! Combined flux in latest and established models = 0.143162 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 73 components and 0.143162 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071530Jy  sigma=1.029385
! Fit after  self-cal, rms=0.071528Jy  sigma=1.029253
! 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=2.557 mas, bmaj=6.316 mas, bpa=3.848 degrees
! Estimated noise=1.71895 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0947411 Jy
! Component: 100  -  total flux cleaned = 0.119373 Jy
! Component: 150  -  total flux cleaned = 0.130065 Jy
! Component: 200  -  total flux cleaned = 0.135375 Jy
! Total flux subtracted in 200 components = 0.135375 Jy
! Clean residual min=-0.007617 max=0.007349 Jy/beam
! Clean residual mean=-0.000049 rms=0.002018 Jy/beam
! Combined flux in latest and established models = 0.135375 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 28 model components to the UV plane model.
! The established model now contains 28 components and 0.135375 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.517 mas, bmaj=8.57 mas, bpa=5.307 degrees
! Estimated noise=1.13829 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.00457525 Jy
! Component: 100  -  total flux cleaned = 0.00528091 Jy
! Component: 150  -  total flux cleaned = 0.00540387 Jy
! Component: 200  -  total flux cleaned = 0.00550464 Jy
! Total flux subtracted in 200 components = 0.00550464 Jy
! Clean residual min=-0.005127 max=0.003903 Jy/beam
! Clean residual mean=-0.000193 rms=0.001416 Jy/beam
! Combined flux in latest and established models = 0.14088 Jy
! Adding 8 model components to the UV plane model.
! The established model now contains 34 components and 0.14088 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=9.069 mas, bmaj=22.72 mas, bpa=12.14 degrees
! Estimated noise=1.37391 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.00131988 Jy
! Component: 100  -  total flux cleaned = 0.0014755 Jy
! Component: 150  -  total flux cleaned = 0.0016184 Jy
! Component: 200  -  total flux cleaned = 0.00174894 Jy
! Total flux subtracted in 200 components = 0.00174894 Jy
! Clean residual min=-0.005612 max=0.003621 Jy/beam
! Clean residual mean=-0.000350 rms=0.001765 Jy/beam
! Combined flux in latest and established models = 0.142629 Jy
! Adding 5 model components to the UV plane model.
! The established model now contains 36 components and 0.142629 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.517 mas, bmaj=8.57 mas, bpa=5.307 degrees
! Estimated noise=1.13829 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00112853 Jy
! Component: 100  -  total flux cleaned = -0.00115988 Jy
! Component: 150  -  total flux cleaned = -0.00121278 Jy
! Component: 200  -  total flux cleaned = -0.00123574 Jy
! Total flux subtracted in 200 components = -0.00123574 Jy
! Clean residual min=-0.005211 max=0.003570 Jy/beam
! Clean residual mean=-0.000196 rms=0.001398 Jy/beam
! Combined flux in latest and established models = 0.141393 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 47 components and 0.141393 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071517Jy  sigma=1.029246
! Fit after  self-cal, rms=0.071513Jy  sigma=1.029124
wmodel J2357-2451_S_2005_07_09_yyk\_map.mod
! Writing 47 model components to file: J2357-2451_S_2005_07_09_yyk_map.mod
wobs J2357-2451_S_2005_07_09_yyk\_uvs.fits
! Writing UV FITS file: J2357-2451_S_2005_07_09_yyk_uvs.fits
wwins J2357-2451_S_2005_07_09_yyk\_map.win
! wwins: Wrote 1 windows to J2357-2451_S_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.00222248 Jy
! Component: 100  -  total flux cleaned = -0.00409949 Jy
! Component: 150  -  total flux cleaned = -0.00527305 Jy
! Component: 200  -  total flux cleaned = -0.00598918 Jy
! Component: 250  -  total flux cleaned = -0.00654504 Jy
! Component: 300  -  total flux cleaned = -0.00672132 Jy
! Component: 350  -  total flux cleaned = -0.00683456 Jy
! Component: 400  -  total flux cleaned = -0.00705773 Jy
! Component: 450  -  total flux cleaned = -0.00727333 Jy
! Component: 500  -  total flux cleaned = -0.00753403 Jy
! Component: 550  -  total flux cleaned = -0.0076851 Jy
! Component: 600  -  total flux cleaned = -0.00768467 Jy
! Component: 650  -  total flux cleaned = -0.00787988 Jy
! Component: 700  -  total flux cleaned = -0.00797477 Jy
! Component: 750  -  total flux cleaned = -0.00816015 Jy
! Component: 800  -  total flux cleaned = -0.0082056 Jy
! Component: 850  -  total flux cleaned = -0.00820513 Jy
! Component: 900  -  total flux cleaned = -0.00824943 Jy
! Component: 950  -  total flux cleaned = -0.00820709 Jy
! Component: 1000  -  total flux cleaned = -0.00829171 Jy
! Component: 1050  -  total flux cleaned = -0.00816779 Jy
! Component: 1100  -  total flux cleaned = -0.00812757 Jy
! Component: 1150  -  total flux cleaned = -0.00816741 Jy
! Component: 1200  -  total flux cleaned = -0.00812842 Jy
! Component: 1250  -  total flux cleaned = -0.0081673 Jy
! Component: 1300  -  total flux cleaned = -0.00816833 Jy
! Component: 1350  -  total flux cleaned = -0.00809392 Jy
! Component: 1400  -  total flux cleaned = -0.00824151 Jy
! Component: 1450  -  total flux cleaned = -0.00809627 Jy
! Component: 1500  -  total flux cleaned = -0.00809684 Jy
! Component: 1550  -  total flux cleaned = -0.00823803 Jy
! Component: 1600  -  total flux cleaned = -0.00809862 Jy
! Component: 1650  -  total flux cleaned = -0.00809864 Jy
! Component: 1700  -  total flux cleaned = -0.00806529 Jy
! Component: 1750  -  total flux cleaned = -0.00813278 Jy
! Component: 1800  -  total flux cleaned = -0.00816602 Jy
! Component: 1850  -  total flux cleaned = -0.00819918 Jy
! Component: 1900  -  total flux cleaned = -0.00823185 Jy
! Component: 1950  -  total flux cleaned = -0.00835905 Jy
! Component: 2000  -  total flux cleaned = -0.00832758 Jy
! Total flux subtracted in 2048 components = -0.00845252 Jy
! Clean residual min=-0.001956 max=0.001657 Jy/beam
! Clean residual mean=-0.000070 rms=0.000640 Jy/beam
! Combined flux in latest and established models = 0.132941 Jy
keep
! Adding 127 model components to the UV plane model.
! The established model now contains 174 components and 0.132941 Jy
![Exited script file: muppet]
wmap "J2357-2451_S_2005_07_09_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.517 x 8.57 at 5.307 degrees (North through East)
! Clean map  min=-0.0036894  max=0.10734 Jy/beam
! Writing clean map to FITS file: J2357-2451_S_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.107343 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000626937 
device "J2357-2451_S_2005_07_09_yyk\_map.eps/VPS"
! Attempting to open device: 'J2357-2451_S_2005_07_09_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.75215 1.75215 3.50429 7.00858 14.0172 28.0343 56.0687
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0018 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.107 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.517 x 8.57 at 5.307 degrees (North through East)
! Clean map  min=-0.0036894  max=0.10734 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2357-2451_S_2005_07_09_yyk\_map.gif/gif"
! Attempting to open device: 'J2357-2451_S_2005_07_09_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2357-2451_S_2005_07_09_yyk_uvs.log closed on Fri Jan 20 11:13:56 2006