! Started logfile: J1032-1400_S_2005_07_20_yyk_uvs.log on Fri Jan 20 10:18:45 2006
obs J1032-1400_S_2005_07_20_yyk_uve.fits
! Reading UV FITS file: J1032-1400_S_2005_07_20_yyk_uve.fits
! AN table 1: 9 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.930864 visibilities/baseline/integration-bin.
! Found source: J1032-1400
! 
! 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 1527 lines of history.
! 
! Reading 1508 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 J1032-1400_S_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.124647 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=3.355 mas, bmaj=13.06 mas, bpa=-16.56 degrees
! Estimated noise=2.36146 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.0709601 Jy
! Component: 100  -  total flux cleaned = 0.0907652 Jy
! Total flux subtracted in 100 components = 0.0907652 Jy
! Clean residual min=-0.011552 max=0.009942 Jy/beam
! Clean residual mean=-0.000058 rms=0.003044 Jy/beam
! Combined flux in latest and established models = 0.0907652 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 19 components and 0.0907652 Jy
! 
! Correcting IF 1.
!  A total of 21 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 13 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 24 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 29 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.089722Jy  sigma=1.208186
! Fit after  self-cal, rms=0.080074Jy  sigma=1.081549
! Inverting map and beam 
! Estimated beam: bmin=3.355 mas, bmaj=13.06 mas, bpa=-16.56 degrees
! Estimated noise=2.36146 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=5.213 mas, bmaj=15.91 mas, bpa=-14.07 degrees
! Estimated noise=1.44961 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.0209385 Jy
! Component: 100  -  total flux cleaned = 0.0229066 Jy
! Component: 150  -  total flux cleaned = 0.0227715 Jy
! Component: 200  -  total flux cleaned = 0.0225935 Jy
! Total flux subtracted in 200 components = 0.0225935 Jy
! Clean residual min=-0.004369 max=0.004299 Jy/beam
! Clean residual mean=-0.000149 rms=0.001415 Jy/beam
! Combined flux in latest and established models = 0.113359 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 40 components and 0.113359 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077629Jy  sigma=1.006888
! Fit after  self-cal, rms=0.077622Jy  sigma=1.006764
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.213 x 15.91 at -14.07 degrees (North through East)
! Clean map  min=-0.0042717  max=0.10006 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.077622Jy  sigma=1.006764
! Fit after  self-cal, rms=0.077622Jy  sigma=1.006764
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.077622Jy  sigma=1.006764
! Fit after  self-cal, rms=0.077622Jy  sigma=1.006765
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=5.213 mas, bmaj=15.91 mas, bpa=-14.07 degrees
! Estimated noise=1.44961 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.000359503 Jy
! Component: 100  -  total flux cleaned = -0.000472903 Jy
! Component: 150  -  total flux cleaned = -0.000625834 Jy
! Component: 200  -  total flux cleaned = -0.000722021 Jy
! Total flux subtracted in 200 components = -0.000722021 Jy
! Clean residual min=-0.004367 max=0.004072 Jy/beam
! Clean residual mean=-0.000147 rms=0.001397 Jy/beam
! Combined flux in latest and established models = 0.112637 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 51 components and 0.112637 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077601Jy  sigma=1.005589
! Fit after  self-cal, rms=0.077607Jy  sigma=1.005530
! 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.077607Jy  sigma=1.005530
! Fit after  self-cal, rms=0.071356Jy  sigma=0.941221
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.00202091 Jy
! Component: 100  -  total flux cleaned = 0.00178942 Jy
! Component: 150  -  total flux cleaned = 0.00168807 Jy
! Component: 200  -  total flux cleaned = 0.0016426 Jy
! Total flux subtracted in 200 components = 0.0016426 Jy
! Clean residual min=-0.003878 max=0.004116 Jy/beam
! Clean residual mean=-0.000130 rms=0.001364 Jy/beam
! Combined flux in latest and established models = 0.114279 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 61 components and 0.114279 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071330Jy  sigma=0.939291
! Fit after  self-cal, rms=0.070741Jy  sigma=0.933908
! 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: 5.213 x 15.91 at -14.07 degrees (North through East)
! Clean map  min=-0.003794  max=0.1031 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.070741Jy  sigma=0.933908
! Fit after  self-cal, rms=0.070158Jy  sigma=0.929121
! 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.070158Jy  sigma=0.929121
! Fit after  self-cal, rms=0.070115Jy  sigma=0.928322
! Inverting map and beam 
! Estimated beam: bmin=5.296 mas, bmaj=15.78 mas, bpa=-13.97 degrees
! Estimated noise=1.42648 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00201416 Jy
! Component: 100  -  total flux cleaned = -0.00206947 Jy
! Component: 150  -  total flux cleaned = -0.00203068 Jy
! Component: 200  -  total flux cleaned = -0.0019916 Jy
! Total flux subtracted in 200 components = -0.0019916 Jy
! Clean residual min=-0.003913 max=0.003841 Jy/beam
! Clean residual mean=-0.000115 rms=0.001325 Jy/beam
! Combined flux in latest and established models = 0.112288 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 71 components and 0.112288 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070045Jy  sigma=0.926844
! Fit after  self-cal, rms=0.070055Jy  sigma=0.926616
! 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.070055Jy  sigma=0.926616
! Fit after  self-cal, rms=0.070135Jy  sigma=0.929280
! 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.070135Jy  sigma=0.929280
! Fit after  self-cal, rms=0.070147Jy  sigma=0.929175
! Inverting map and beam 
! Estimated beam: bmin=5.312 mas, bmaj=15.74 mas, bpa=-13.92 degrees
! Estimated noise=1.42315 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000624876 Jy
! Component: 100  -  total flux cleaned = -0.000588043 Jy
! Component: 150  -  total flux cleaned = -0.000554048 Jy
! Component: 200  -  total flux cleaned = -0.000553318 Jy
! Total flux subtracted in 200 components = -0.000553318 Jy
! Clean residual min=-0.004090 max=0.003906 Jy/beam
! Clean residual mean=-0.000096 rms=0.001365 Jy/beam
! Combined flux in latest and established models = 0.111734 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 75 components and 0.111734 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070108Jy  sigma=0.928566
! Fit after  self-cal, rms=0.070116Jy  sigma=0.928502
! 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.406 mas, bmaj=18.36 mas, bpa=-2.631 degrees
! Estimated noise=1.53715 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.000426456 Jy
! Component: 100  -  total flux cleaned = -0.000405814 Jy
! Component: 150  -  total flux cleaned = -0.000373556 Jy
! Component: 200  -  total flux cleaned = -0.000359426 Jy
! Total flux subtracted in 200 components = -0.000359426 Jy
! Clean residual min=-0.003934 max=0.003720 Jy/beam
! Clean residual mean=-0.000130 rms=0.001379 Jy/beam
! Combined flux in latest and established models = 0.111375 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 85 components and 0.111375 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070129Jy  sigma=0.928446
! Fit after  self-cal, rms=0.070135Jy  sigma=0.928365
! 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=3.367 mas, bmaj=13.04 mas, bpa=-16.55 degrees
! Estimated noise=2.34776 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0817073 Jy
! Component: 100  -  total flux cleaned = 0.101325 Jy
! Component: 150  -  total flux cleaned = 0.110762 Jy
! Component: 200  -  total flux cleaned = 0.112449 Jy
! Total flux subtracted in 200 components = 0.112449 Jy
! Clean residual min=-0.008303 max=0.006985 Jy/beam
! Clean residual mean=-0.000117 rms=0.002237 Jy/beam
! Combined flux in latest and established models = 0.112449 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 33 model components to the UV plane model.
! The established model now contains 33 components and 0.112449 Jy
! Inverting map and beam 
! Estimated beam: bmin=5.312 mas, bmaj=15.74 mas, bpa=-13.92 degrees
! Estimated noise=1.42315 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.0015824 Jy
! Component: 100  -  total flux cleaned = 0.00131235 Jy
! Component: 150  -  total flux cleaned = 0.00104867 Jy
! Component: 200  -  total flux cleaned = 0.000870632 Jy
! Total flux subtracted in 200 components = 0.000870632 Jy
! Clean residual min=-0.004275 max=0.003932 Jy/beam
! Clean residual mean=-0.000102 rms=0.001387 Jy/beam
! Combined flux in latest and established models = 0.11332 Jy
! Adding 23 model components to the UV plane model.
! The established model now contains 52 components and 0.11332 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.406 mas, bmaj=18.36 mas, bpa=-2.631 degrees
! Estimated noise=1.53715 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.000556224 Jy
! Component: 100  -  total flux cleaned = -0.00071115 Jy
! Component: 150  -  total flux cleaned = -0.000870651 Jy
! Component: 200  -  total flux cleaned = -0.000989209 Jy
! Total flux subtracted in 200 components = -0.000989209 Jy
! Clean residual min=-0.003880 max=0.003730 Jy/beam
! Clean residual mean=-0.000136 rms=0.001386 Jy/beam
! Combined flux in latest and established models = 0.112331 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 70 components and 0.112331 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=5.312 mas, bmaj=15.74 mas, bpa=-13.92 degrees
! Estimated noise=1.42315 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 5.39839e-05 Jy
! Component: 100  -  total flux cleaned = 5.86731e-06 Jy
! Component: 150  -  total flux cleaned = 6.99124e-06 Jy
! Component: 200  -  total flux cleaned = -3.46965e-05 Jy
! Total flux subtracted in 200 components = -3.46965e-05 Jy
! Clean residual min=-0.004216 max=0.003905 Jy/beam
! Clean residual mean=-0.000098 rms=0.001370 Jy/beam
! Combined flux in latest and established models = 0.112296 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 76 components and 0.112296 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070093Jy  sigma=0.928828
! Fit after  self-cal, rms=0.070098Jy  sigma=0.928739
wmodel J1032-1400_S_2005_07_20_yyk\_map.mod
! Writing 76 model components to file: J1032-1400_S_2005_07_20_yyk_map.mod
wobs J1032-1400_S_2005_07_20_yyk\_uvs.fits
! Writing UV FITS file: J1032-1400_S_2005_07_20_yyk_uvs.fits
wwins J1032-1400_S_2005_07_20_yyk\_map.win
! wwins: Wrote 1 windows to J1032-1400_S_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.00120824 Jy
! Component: 100  -  total flux cleaned = -0.00155458 Jy
! Component: 150  -  total flux cleaned = -0.00193763 Jy
! Component: 200  -  total flux cleaned = -0.00242339 Jy
! Component: 250  -  total flux cleaned = -0.00283038 Jy
! Component: 300  -  total flux cleaned = -0.00327826 Jy
! Component: 350  -  total flux cleaned = -0.00344104 Jy
! Component: 400  -  total flux cleaned = -0.00349508 Jy
! Component: 450  -  total flux cleaned = -0.00339253 Jy
! Component: 500  -  total flux cleaned = -0.00334234 Jy
! Component: 550  -  total flux cleaned = -0.0031944 Jy
! Component: 600  -  total flux cleaned = -0.00314596 Jy
! Component: 650  -  total flux cleaned = -0.003051 Jy
! Component: 700  -  total flux cleaned = -0.00309666 Jy
! Component: 750  -  total flux cleaned = -0.00314104 Jy
! Component: 800  -  total flux cleaned = -0.00314051 Jy
! Component: 850  -  total flux cleaned = -0.00327237 Jy
! Component: 900  -  total flux cleaned = -0.0032292 Jy
! Component: 950  -  total flux cleaned = -0.00335756 Jy
! Component: 1000  -  total flux cleaned = -0.00335763 Jy
! Component: 1050  -  total flux cleaned = -0.00335832 Jy
! Component: 1100  -  total flux cleaned = -0.00339924 Jy
! Component: 1150  -  total flux cleaned = -0.00335925 Jy
! Component: 1200  -  total flux cleaned = -0.00339896 Jy
! Component: 1250  -  total flux cleaned = -0.00339841 Jy
! Component: 1300  -  total flux cleaned = -0.00328293 Jy
! Component: 1350  -  total flux cleaned = -0.00336015 Jy
! Component: 1400  -  total flux cleaned = -0.00354806 Jy
! Component: 1450  -  total flux cleaned = -0.00347343 Jy
! Component: 1500  -  total flux cleaned = -0.00358333 Jy
! Component: 1550  -  total flux cleaned = -0.00358296 Jy
! Component: 1600  -  total flux cleaned = -0.00365455 Jy
! Component: 1650  -  total flux cleaned = -0.00376074 Jy
! Component: 1700  -  total flux cleaned = -0.0038306 Jy
! Component: 1750  -  total flux cleaned = -0.00393393 Jy
! Component: 1800  -  total flux cleaned = -0.00396839 Jy
! Component: 1850  -  total flux cleaned = -0.00420524 Jy
! Component: 1900  -  total flux cleaned = -0.00430489 Jy
! Component: 1950  -  total flux cleaned = -0.00443752 Jy
! Component: 2000  -  total flux cleaned = -0.00453614 Jy
! Total flux subtracted in 2048 components = -0.00466602 Jy
! Clean residual min=-0.001903 max=0.001616 Jy/beam
! Clean residual mean=-0.000057 rms=0.000710 Jy/beam
! Combined flux in latest and established models = 0.10763 Jy
keep
! Adding 129 model components to the UV plane model.
! The established model now contains 205 components and 0.10763 Jy
![Exited script file: muppet]
wmap "J1032-1400_S_2005_07_20_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.312 x 15.74 at -13.92 degrees (North through East)
! Clean map  min=-0.0036478  max=0.10199 Jy/beam
! Writing clean map to FITS file: J1032-1400_S_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.101985 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000691508 
device "J1032-1400_S_2005_07_20_yyk\_map.eps/VPS"
! Attempting to open device: 'J1032-1400_S_2005_07_20_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.03414 2.03414 4.06828 8.13657 16.2731 32.5463 65.0925
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.002 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.101 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.312 x 15.74 at -13.92 degrees (North through East)
! Clean map  min=-0.0036478  max=0.10199 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1032-1400_S_2005_07_20_yyk\_map.gif/gif"
! Attempting to open device: 'J1032-1400_S_2005_07_20_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1032-1400_S_2005_07_20_yyk_uvs.log closed on Fri Jan 20 10:18:50 2006