! Started logfile: J1644-1804_S_2004_05_27_yyk_uvs.log on Wed Dec  7 01:04:20 2005
obs J1644-1804_S_2004_05_27_yyk_uve.fits
! Reading UV FITS file: J1644-1804_S_2004_05_27_yyk_uve.fits
! AN table 1: 8 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.688889 visibilities/baseline/integration-bin.
! Found source: J1644-1804
! 
! 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 1383 lines of history.
! 
! Reading 992 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 J1644-1804_S_2004_05_27_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 = 256x256 pixels with 1.00x1.00 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.164381 Jy 
startmod ,phase_soltime
! Applying default point source starting model.
! Performing phase self-cal over 10 minute time intervals
! 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 15 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 16 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 15 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 23 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.883040Jy  sigma=13.491914
! Fit after  self-cal, rms=0.880876Jy  sigma=13.479554
! 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=5.007 mas, bmaj=14.5 mas, bpa=1.812 degrees
! Estimated noise=2.38611 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.108455 Jy
! Component: 100  -  total flux cleaned = 0.13473 Jy
! Total flux subtracted in 100 components = 0.13473 Jy
! Clean residual min=-0.009194 max=0.008348 Jy/beam
! Clean residual mean=0.000098 rms=0.002639 Jy/beam
! Combined flux in latest and established models = 0.13473 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 0.13473 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.103423Jy  sigma=1.096644
! Fit after  self-cal, rms=0.103441Jy  sigma=1.095976
! Inverting map 
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=6.27 mas, bmaj=19.48 mas, bpa=-2.256 degrees
! Estimated noise=1.57271 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.0091379 Jy
! Component: 100  -  total flux cleaned = 0.0118637 Jy
! Component: 150  -  total flux cleaned = 0.0125707 Jy
! Component: 200  -  total flux cleaned = 0.0131077 Jy
! Total flux subtracted in 200 components = 0.0131077 Jy
! Clean residual min=-0.005565 max=0.006830 Jy/beam
! Clean residual mean=0.000134 rms=0.001599 Jy/beam
! Combined flux in latest and established models = 0.147838 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 37 components and 0.147838 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.102867Jy  sigma=1.083235
! Fit after  self-cal, rms=0.102890Jy  sigma=1.083093
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
selflims ampcor_selflim
! 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.01738
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.89     FD        1.15     HN        0.90     KP        0.95     
!   LA        1.00     MK        1.00*    NL        1.04     OV        0.94     
!   PT        1.05     SC        0.91     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.981556
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.06     HN        1.11     KP        1.07     
!   LA        1.00     MK        1.00*    NL        1.06     OV        0.95     
!   PT        0.94     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.102890Jy  sigma=1.083093
! Fit after  self-cal, rms=0.102150Jy  sigma=1.075325
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.102150Jy  sigma=1.075325
! Fit after  self-cal, rms=0.102159Jy  sigma=1.075299
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=6.231 mas, bmaj=19.39 mas, bpa=-1.966 degrees
! Estimated noise=1.58269 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.00200655 Jy
! Component: 100  -  total flux cleaned = 0.00246131 Jy
! Component: 150  -  total flux cleaned = 0.00276343 Jy
! Component: 200  -  total flux cleaned = 0.00285098 Jy
! Total flux subtracted in 200 components = 0.00285098 Jy
! Clean residual min=-0.005201 max=0.007409 Jy/beam
! Clean residual mean=0.000084 rms=0.001627 Jy/beam
! Combined flux in latest and established models = 0.150689 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 48 components and 0.150689 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.102038Jy  sigma=1.073805
! Fit after  self-cal, rms=0.102060Jy  sigma=1.073737
! 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.102060Jy  sigma=1.073737
! Fit after  self-cal, rms=0.096778Jy  sigma=1.002212
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)
! Added new window around map position (11, -8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00400922 Jy
! Component: 100  -  total flux cleaned = 0.00469634 Jy
! Component: 150  -  total flux cleaned = 0.00472336 Jy
! Component: 200  -  total flux cleaned = 0.00451109 Jy
! Total flux subtracted in 200 components = 0.00451109 Jy
! Clean residual min=-0.004734 max=0.004973 Jy/beam
! Clean residual mean=0.000041 rms=0.001353 Jy/beam
! Combined flux in latest and established models = 0.1552 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 79 components and 0.1552 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.096143Jy  sigma=0.990123
! Fit after  self-cal, rms=0.095735Jy  sigma=0.982905
! 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: 6.231 x 19.39 at -1.966 degrees (North through East)
! Clean map  min=-0.0042786  max=0.13367 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.095735Jy  sigma=0.982905
! Fit after  self-cal, rms=0.094973Jy  sigma=0.979894
! 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.094973Jy  sigma=0.979894
! Fit after  self-cal, rms=0.094938Jy  sigma=0.979193
! Inverting map and beam 
! Estimated beam: bmin=6.156 mas, bmaj=19.34 mas, bpa=-1.781 degrees
! Estimated noise=1.57082 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000211359 Jy
! Component: 100  -  total flux cleaned = -0.000244905 Jy
! Component: 150  -  total flux cleaned = -0.00046857 Jy
! Component: 200  -  total flux cleaned = -0.000734422 Jy
! Total flux subtracted in 200 components = -0.000734422 Jy
! Clean residual min=-0.004300 max=0.004300 Jy/beam
! Clean residual mean=0.000053 rms=0.001286 Jy/beam
! Combined flux in latest and established models = 0.154466 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 93 components and 0.154466 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.094796Jy  sigma=0.976737
! Fit after  self-cal, rms=0.094819Jy  sigma=0.976483
! 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.094819Jy  sigma=0.976483
! Fit after  self-cal, rms=0.094513Jy  sigma=0.967313
! 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.094513Jy  sigma=0.967313
! Fit after  self-cal, rms=0.094542Jy  sigma=0.967169
! Inverting map and beam 
! Estimated beam: bmin=6.17 mas, bmaj=19.03 mas, bpa=-1.712 degrees
! Estimated noise=1.56887 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000416732 Jy
! Component: 100  -  total flux cleaned = 0.000744985 Jy
! Component: 150  -  total flux cleaned = 0.000983553 Jy
! Component: 200  -  total flux cleaned = 0.00125307 Jy
! Total flux subtracted in 200 components = 0.00125307 Jy
! Clean residual min=-0.003983 max=0.004005 Jy/beam
! Clean residual mean=0.000088 rms=0.001278 Jy/beam
! Combined flux in latest and established models = 0.155719 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 112 components and 0.155719 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.094495Jy  sigma=0.965785
! Fit after  self-cal, rms=0.094512Jy  sigma=0.965717
! 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=8.742 mas, bmaj=20 mas, bpa=0.1198 degrees
! Estimated noise=1.67154 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.000527658 Jy
! Component: 100  -  total flux cleaned = 0.000785759 Jy
! Component: 150  -  total flux cleaned = 0.00093729 Jy
! Component: 200  -  total flux cleaned = 0.00107984 Jy
! Total flux subtracted in 200 components = 0.00107984 Jy
! Clean residual min=-0.004172 max=0.004153 Jy/beam
! Clean residual mean=0.000111 rms=0.001365 Jy/beam
! Combined flux in latest and established models = 0.156799 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 126 components and 0.156799 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.094476Jy  sigma=0.965184
! Fit after  self-cal, rms=0.094469Jy  sigma=0.965138
! Inverting map 
uvtaper 0,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=4.992 mas, bmaj=14.51 mas, bpa=1.813 degrees
! Estimated noise=2.38342 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.111166 Jy
! Component: 100  -  total flux cleaned = 0.138265 Jy
! Component: 150  -  total flux cleaned = 0.148559 Jy
! Component: 200  -  total flux cleaned = 0.153329 Jy
! Total flux subtracted in 200 components = 0.153329 Jy
! Clean residual min=-0.007748 max=0.007463 Jy/beam
! Clean residual mean=0.000027 rms=0.002157 Jy/beam
! Combined flux in latest and established models = 0.153329 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.153329 Jy
! Inverting map and beam 
! Estimated beam: bmin=6.17 mas, bmaj=19.03 mas, bpa=-1.712 degrees
! Estimated noise=1.56887 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.00334133 Jy
! Component: 100  -  total flux cleaned = 0.00504227 Jy
! Component: 150  -  total flux cleaned = 0.00505752 Jy
! Component: 200  -  total flux cleaned = 0.00462221 Jy
! Total flux subtracted in 200 components = 0.00462221 Jy
! Clean residual min=-0.004341 max=0.004386 Jy/beam
! Clean residual mean=0.000077 rms=0.001355 Jy/beam
! Combined flux in latest and established models = 0.157951 Jy
! Adding 38 model components to the UV plane model.
! The established model now contains 64 components and 0.157951 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=8.742 mas, bmaj=20 mas, bpa=0.1198 degrees
! Estimated noise=1.67154 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 = -5.65916e-05 Jy
! Component: 100  -  total flux cleaned = -0.000503822 Jy
! Component: 150  -  total flux cleaned = -0.000564903 Jy
! Component: 200  -  total flux cleaned = -0.000619821 Jy
! Total flux subtracted in 200 components = -0.000619821 Jy
! Clean residual min=-0.004033 max=0.004601 Jy/beam
! Clean residual mean=0.000110 rms=0.001387 Jy/beam
! Combined flux in latest and established models = 0.157331 Jy
! Adding 33 model components to the UV plane model.
! The established model now contains 91 components and 0.157331 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=6.17 mas, bmaj=19.03 mas, bpa=-1.712 degrees
! Estimated noise=1.56887 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000223625 Jy
! Component: 100  -  total flux cleaned = 8.78926e-05 Jy
! Component: 150  -  total flux cleaned = 0.000149293 Jy
! Component: 200  -  total flux cleaned = 0.000151282 Jy
! Total flux subtracted in 200 components = 0.000151282 Jy
! Clean residual min=-0.004049 max=0.004104 Jy/beam
! Clean residual mean=0.000084 rms=0.001271 Jy/beam
! Combined flux in latest and established models = 0.157482 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 109 components and 0.157482 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.094409Jy  sigma=0.966322
! Fit after  self-cal, rms=0.094387Jy  sigma=0.966148
wmodel J1644-1804_S_2004_05_27_yyk\_map.mod
! Writing 109 model components to file: J1644-1804_S_2004_05_27_yyk_map.mod
wobs J1644-1804_S_2004_05_27_yyk\_uvs.fits
! Writing UV FITS file: J1644-1804_S_2004_05_27_yyk_uvs.fits
wwins J1644-1804_S_2004_05_27_yyk\_map.win
! wwins: Wrote 2 windows to J1644-1804_S_2004_05_27_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=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.000535477 Jy
! Component: 100  -  total flux cleaned = -0.000939364 Jy
! Component: 150  -  total flux cleaned = -0.000998627 Jy
! Component: 200  -  total flux cleaned = -0.00105424 Jy
! Component: 250  -  total flux cleaned = -0.00126386 Jy
! Component: 300  -  total flux cleaned = -0.00161443 Jy
! Component: 350  -  total flux cleaned = -0.00195114 Jy
! Component: 400  -  total flux cleaned = -0.00222794 Jy
! Component: 450  -  total flux cleaned = -0.00254154 Jy
! Component: 500  -  total flux cleaned = -0.00297327 Jy
! Component: 550  -  total flux cleaned = -0.00334815 Jy
! Component: 600  -  total flux cleaned = -0.00371432 Jy
! Component: 650  -  total flux cleaned = -0.00403177 Jy
! Component: 700  -  total flux cleaned = -0.00430243 Jy
! Component: 750  -  total flux cleaned = -0.00441568 Jy
! Component: 800  -  total flux cleaned = -0.00445264 Jy
! Component: 850  -  total flux cleaned = -0.00470659 Jy
! Component: 900  -  total flux cleaned = -0.00477836 Jy
! Component: 950  -  total flux cleaned = -0.00488377 Jy
! Component: 1000  -  total flux cleaned = -0.0050218 Jy
! Total flux subtracted in 1024 components = -0.00498763 Jy
! Clean residual min=-0.001941 max=0.002375 Jy/beam
! Clean residual mean=0.000049 rms=0.000798 Jy/beam
! Combined flux in latest and established models = 0.152495 Jy
keep
! Adding 63 model components to the UV plane model.
! The established model now contains 172 components and 0.152495 Jy
![Exited script file: muppet]
wmap "J1644-1804_S_2004_05_27_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 6.17 x 19.03 at -1.712 degrees (North through East)
! Clean map  min=-0.0046035  max=0.13251 Jy/beam
! Writing clean map to FITS file: J1644-1804_S_2004_05_27_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.132509 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000795159 
device "J1644-1804_S_2004_05_27_yyk\_map.eps/VPS"
! Attempting to open device: 'J1644-1804_S_2004_05_27_yyk_map.eps/VPS'
loglevs 1*100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.80025 1.80025 3.60049 7.20098 14.402 28.8039 57.6079
print "clev=",int(1*3*image_rms*10000)/10000
! clev= 0.0023 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.132 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 6.17 x 19.03 at -1.712 degrees (North through East)
! Clean map  min=-0.0046035  max=0.13251 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1644-1804_S_2004_05_27_yyk\_map.gif/gif"
! Attempting to open device: 'J1644-1804_S_2004_05_27_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1644-1804_S_2004_05_27_yyk_uvs.log closed on Wed Dec  7 01:04:21 2005