! Started logfile: J1633-2557_X_2005_07_20_yyk_uvs.log on Fri Jan 20 10:44:10 2006
obs J1633-2557_X_2005_07_20_yyk_uve.fits
! Reading UV FITS file: J1633-2557_X_2005_07_20_yyk_uve.fits
! AN table 1: 14 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.909524 visibilities/baseline/integration-bin.
! Found source: J1633-2557
! 
! 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 1488 lines of history.
! 
! Reading 2292 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 J1633-2557_X_2005_07_20_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.131115 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.6894 mas, bmaj=1.824 mas, bpa=0.1511 degrees
! Estimated noise=1.71146 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.075906 Jy
! Component: 100  -  total flux cleaned = 0.102108 Jy
! Total flux subtracted in 100 components = 0.102108 Jy
! Clean residual min=-0.008724 max=0.015840 Jy/beam
! Clean residual mean=-0.000025 rms=0.002528 Jy/beam
! Combined flux in latest and established models = 0.102108 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 23 components and 0.102108 Jy
! 
! Correcting IF 1.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 8 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 13 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 12 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.086491Jy  sigma=1.170407
! Fit after  self-cal, rms=0.084497Jy  sigma=1.143681
! Inverting map and beam 
! Estimated beam: bmin=0.6893 mas, bmaj=1.824 mas, bpa=0.1611 degrees
! Estimated noise=1.7111 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.9764 mas, bmaj=2.471 mas, bpa=-0.6668 degrees
! Estimated noise=0.98087 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.0220596 Jy
! Component: 100  -  total flux cleaned = 0.027198 Jy
! Component: 150  -  total flux cleaned = 0.0274013 Jy
! Component: 200  -  total flux cleaned = 0.0274945 Jy
! Total flux subtracted in 200 components = 0.0274945 Jy
! Clean residual min=-0.005165 max=0.006268 Jy/beam
! Clean residual mean=0.000041 rms=0.001582 Jy/beam
! Combined flux in latest and established models = 0.129602 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 40 components and 0.129602 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082315Jy  sigma=1.065858
! Fit after  self-cal, rms=0.082301Jy  sigma=1.065833
! 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.9764 x 2.471 at -0.6668 degrees (North through East)
! Clean map  min=-0.0050032  max=0.10087 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.082301Jy  sigma=1.065833
! Fit after  self-cal, rms=0.082301Jy  sigma=1.065833
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.082301Jy  sigma=1.065833
! Fit after  self-cal, rms=0.082300Jy  sigma=1.065833
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9764 mas, bmaj=2.471 mas, bpa=-0.6668 degrees
! Estimated noise=0.98087 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 = -4.64721e-06 Jy
! Component: 100  -  total flux cleaned = 7.91393e-05 Jy
! Component: 150  -  total flux cleaned = 0.000154731 Jy
! Component: 200  -  total flux cleaned = 0.000231003 Jy
! Total flux subtracted in 200 components = 0.000231003 Jy
! Clean residual min=-0.005127 max=0.006074 Jy/beam
! Clean residual mean=0.000041 rms=0.001566 Jy/beam
! Combined flux in latest and established models = 0.129833 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 43 components and 0.129833 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082177Jy  sigma=1.063877
! Fit after  self-cal, rms=0.082166Jy  sigma=1.063868
! 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.082166Jy  sigma=1.063868
! Fit after  self-cal, rms=0.075771Jy  sigma=0.990675
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.00188094 Jy
! Component: 100  -  total flux cleaned = 0.00168005 Jy
! Component: 150  -  total flux cleaned = 0.00166934 Jy
! Component: 200  -  total flux cleaned = 0.00166231 Jy
! Total flux subtracted in 200 components = 0.00166231 Jy
! Clean residual min=-0.005068 max=0.005772 Jy/beam
! Clean residual mean=0.000041 rms=0.001542 Jy/beam
! Combined flux in latest and established models = 0.131496 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 44 components and 0.131496 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.075739Jy  sigma=0.986532
! Fit after  self-cal, rms=0.074427Jy  sigma=0.978553
! 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.9764 x 2.471 at -0.6668 degrees (North through East)
! Clean map  min=-0.0048592  max=0.10527 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.074427Jy  sigma=0.978553
! Fit after  self-cal, rms=0.073673Jy  sigma=0.974226
! 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.073673Jy  sigma=0.974226
! Fit after  self-cal, rms=0.073442Jy  sigma=0.972760
! Inverting map and beam 
! Estimated beam: bmin=0.975 mas, bmaj=2.475 mas, bpa=-0.7136 degrees
! Estimated noise=0.978975 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000160913 Jy
! Component: 100  -  total flux cleaned = 0.00022521 Jy
! Component: 150  -  total flux cleaned = 0.000283529 Jy
! Component: 200  -  total flux cleaned = 0.000335962 Jy
! Total flux subtracted in 200 components = 0.000335962 Jy
! Clean residual min=-0.004596 max=0.005418 Jy/beam
! Clean residual mean=0.000039 rms=0.001376 Jy/beam
! Combined flux in latest and established models = 0.131832 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 45 components and 0.131832 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.073360Jy  sigma=0.971480
! Fit after  self-cal, rms=0.073326Jy  sigma=0.971119
! 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.073326Jy  sigma=0.971119
! Fit after  self-cal, rms=0.073030Jy  sigma=0.966760
! 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.073030Jy  sigma=0.966760
! Fit after  self-cal, rms=0.073040Jy  sigma=0.966431
! Inverting map and beam 
! Estimated beam: bmin=0.9688 mas, bmaj=2.445 mas, bpa=-1.274 degrees
! Estimated noise=0.968008 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000470895 Jy
! Component: 100  -  total flux cleaned = -0.000472223 Jy
! Component: 150  -  total flux cleaned = -0.000514755 Jy
! Component: 200  -  total flux cleaned = -0.000515594 Jy
! Total flux subtracted in 200 components = -0.000515594 Jy
! Clean residual min=-0.004122 max=0.004838 Jy/beam
! Clean residual mean=0.000026 rms=0.001213 Jy/beam
! Combined flux in latest and established models = 0.131316 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 48 components and 0.131316 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.072981Jy  sigma=0.965768
! Fit after  self-cal, rms=0.072985Jy  sigma=0.965712
! 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.424 mas, bmaj=6.171 mas, bpa=5.413 degrees
! Estimated noise=1.16921 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.000157285 Jy
! Component: 100  -  total flux cleaned = 0.000158664 Jy
! Component: 150  -  total flux cleaned = 0.000155234 Jy
! Component: 200  -  total flux cleaned = 0.000151465 Jy
! Total flux subtracted in 200 components = 0.000151465 Jy
! Clean residual min=-0.004165 max=0.005617 Jy/beam
! Clean residual mean=0.000048 rms=0.001541 Jy/beam
! Combined flux in latest and established models = 0.131468 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 51 components and 0.131468 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.072974Jy  sigma=0.965556
! Fit after  self-cal, rms=0.072967Jy  sigma=0.965487
! 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.6876 mas, bmaj=1.818 mas, bpa=-0.04619 degrees
! Estimated noise=1.69122 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0854079 Jy
! Component: 100  -  total flux cleaned = 0.109223 Jy
! Component: 150  -  total flux cleaned = 0.119496 Jy
! Component: 200  -  total flux cleaned = 0.12478 Jy
! Total flux subtracted in 200 components = 0.12478 Jy
! Clean residual min=-0.007256 max=0.007490 Jy/beam
! Clean residual mean=-0.000000 rms=0.001750 Jy/beam
! Combined flux in latest and established models = 0.12478 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.12478 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9688 mas, bmaj=2.445 mas, bpa=-1.274 degrees
! Estimated noise=0.968008 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)
! Added new window around map position (21.2, 11.8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00714262 Jy
! Component: 100  -  total flux cleaned = 0.00917198 Jy
! Component: 150  -  total flux cleaned = 0.00969048 Jy
! Component: 200  -  total flux cleaned = 0.00983611 Jy
! Total flux subtracted in 200 components = 0.00983611 Jy
! Clean residual min=-0.004112 max=0.005145 Jy/beam
! Clean residual mean=0.000014 rms=0.001156 Jy/beam
! Combined flux in latest and established models = 0.134616 Jy
! Adding 23 model components to the UV plane model.
! The established model now contains 55 components and 0.134616 Jy
! Inverting map 
! Added new window around map position (13.2, 9.8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00555115 Jy
! Component: 100  -  total flux cleaned = 0.00713608 Jy
! Component: 150  -  total flux cleaned = 0.00812131 Jy
! Component: 200  -  total flux cleaned = 0.00876238 Jy
! Total flux subtracted in 200 components = 0.00876238 Jy
! Clean residual min=-0.004459 max=0.003791 Jy/beam
! Clean residual mean=0.000012 rms=0.001009 Jy/beam
! Combined flux in latest and established models = 0.143379 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 75 components and 0.143379 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.424 mas, bmaj=6.171 mas, bpa=5.413 degrees
! Estimated noise=1.16921 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.00152344 Jy
! Component: 100  -  total flux cleaned = 0.00187771 Jy
! Component: 150  -  total flux cleaned = 0.00213807 Jy
! Component: 200  -  total flux cleaned = 0.00236968 Jy
! Total flux subtracted in 200 components = 0.00236968 Jy
! Clean residual min=-0.003551 max=0.004128 Jy/beam
! Clean residual mean=0.000025 rms=0.001153 Jy/beam
! Combined flux in latest and established models = 0.145748 Jy
! Adding 11 model components to the UV plane model.
! The established model now contains 83 components and 0.145748 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9688 mas, bmaj=2.445 mas, bpa=-1.274 degrees
! Estimated noise=0.968008 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00087521 Jy
! Component: 100  -  total flux cleaned = -0.000880308 Jy
! Component: 150  -  total flux cleaned = -0.000993512 Jy
! Component: 200  -  total flux cleaned = -0.000943268 Jy
! Total flux subtracted in 200 components = -0.000943268 Jy
! Clean residual min=-0.004378 max=0.003777 Jy/beam
! Clean residual mean=0.000013 rms=0.000982 Jy/beam
! Combined flux in latest and established models = 0.144805 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 95 components and 0.144805 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.072536Jy  sigma=0.954326
! Fit after  self-cal, rms=0.072519Jy  sigma=0.952983
wmodel J1633-2557_X_2005_07_20_yyk\_map.mod
! Writing 95 model components to file: J1633-2557_X_2005_07_20_yyk_map.mod
wobs J1633-2557_X_2005_07_20_yyk\_uvs.fits
! Writing UV FITS file: J1633-2557_X_2005_07_20_yyk_uvs.fits
wwins J1633-2557_X_2005_07_20_yyk\_map.win
! wwins: Wrote 3 windows to J1633-2557_X_2005_07_20_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.000558448 Jy
! Component: 100  -  total flux cleaned = -0.000616421 Jy
! Component: 150  -  total flux cleaned = -0.000788639 Jy
! Component: 200  -  total flux cleaned = -0.000954089 Jy
! Component: 250  -  total flux cleaned = -0.000742526 Jy
! Component: 300  -  total flux cleaned = -0.0006411 Jy
! Component: 350  -  total flux cleaned = -0.000642399 Jy
! Component: 400  -  total flux cleaned = -0.000446978 Jy
! Component: 450  -  total flux cleaned = -0.000254881 Jy
! Component: 500  -  total flux cleaned = -0.00016063 Jy
! Component: 550  -  total flux cleaned = -6.95237e-05 Jy
! Component: 600  -  total flux cleaned = -0.000158855 Jy
! Component: 650  -  total flux cleaned = -0.000114323 Jy
! Component: 700  -  total flux cleaned = -2.80931e-05 Jy
! Component: 750  -  total flux cleaned = 1.45774e-05 Jy
! Component: 800  -  total flux cleaned = 9.76183e-05 Jy
! Component: 850  -  total flux cleaned = 9.72024e-05 Jy
! Component: 900  -  total flux cleaned = 9.70357e-05 Jy
! Component: 950  -  total flux cleaned = 1.7896e-05 Jy
! Component: 1000  -  total flux cleaned = 5.72737e-05 Jy
! Component: 1050  -  total flux cleaned = 0.000171863 Jy
! Component: 1100  -  total flux cleaned = 5.8255e-05 Jy
! Component: 1150  -  total flux cleaned = 2.09932e-05 Jy
! Component: 1200  -  total flux cleaned = -5.23724e-05 Jy
! Component: 1250  -  total flux cleaned = -1.62493e-05 Jy
! Component: 1300  -  total flux cleaned = -8.84665e-05 Jy
! Component: 1350  -  total flux cleaned = -1.74411e-05 Jy
! Component: 1400  -  total flux cleaned = -1.77692e-05 Jy
! Component: 1450  -  total flux cleaned = -5.22063e-05 Jy
! Component: 1500  -  total flux cleaned = 5.08388e-05 Jy
! Component: 1550  -  total flux cleaned = 5.01098e-05 Jy
! Component: 1600  -  total flux cleaned = 1.60753e-05 Jy
! Component: 1650  -  total flux cleaned = 4.93259e-05 Jy
! Component: 1700  -  total flux cleaned = 0.00021409 Jy
! Component: 1750  -  total flux cleaned = 0.000214234 Jy
! Component: 1800  -  total flux cleaned = 0.000311184 Jy
! Component: 1850  -  total flux cleaned = 0.000279165 Jy
! Component: 1900  -  total flux cleaned = 0.000342627 Jy
! Component: 1950  -  total flux cleaned = 0.000499829 Jy
! Component: 2000  -  total flux cleaned = 0.000592993 Jy
! Total flux subtracted in 2048 components = 0.000562085 Jy
! Clean residual min=-0.001656 max=0.001767 Jy/beam
! Clean residual mean=0.000001 rms=0.000582 Jy/beam
! Combined flux in latest and established models = 0.145367 Jy
keep
! Adding 110 model components to the UV plane model.
! The established model now contains 205 components and 0.145367 Jy
![Exited script file: muppet]
wmap "J1633-2557_X_2005_07_20_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9688 x 2.445 at -1.274 degrees (North through East)
! Clean map  min=-0.003526  max=0.10327 Jy/beam
! Writing clean map to FITS file: J1633-2557_X_2005_07_20_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.103265 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000578057 
device "J1633-2557_X_2005_07_20_yyk\_map.eps/VPS"
! Attempting to open device: 'J1633-2557_X_2005_07_20_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.67933 1.67933 3.35867 6.71734 13.4347 26.8694 53.7387
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0017 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.103 
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.9688 x 2.445 at -1.274 degrees (North through East)
! Clean map  min=-0.003526  max=0.10327 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1633-2557_X_2005_07_20_yyk\_map.gif/gif"
! Attempting to open device: 'J1633-2557_X_2005_07_20_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1633-2557_X_2005_07_20_yyk_uvs.log closed on Fri Jan 20 10:44:15 2006