! Started logfile: J0003-1941_S_2006_12_18_yyk_uvs.log on Wed Apr  9 20:07:00 2008
obs J0003-1941_S_2006_12_18_yyk_uve.fits
! Reading UV FITS file: J0003-1941_S_2006_12_18_yyk_uve.fits
! AN table 1: 16 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.838889 visibilities/baseline/integration-bin.
! Found source: J0003-1941
! 
! 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 2469 lines of history.
! 
! Reading 2416 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 J0003-1941_S_2006_12_18_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.186997 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.415 mas, bmaj=6.466 mas, bpa=-2.226 degrees
! Estimated noise=1.37101 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.139579 Jy
! Component: 100  -  total flux cleaned = 0.176051 Jy
! Total flux subtracted in 100 components = 0.176051 Jy
! Clean residual min=-0.007992 max=0.010483 Jy/beam
! Clean residual mean=0.000000 rms=0.002427 Jy/beam
! Combined flux in latest and established models = 0.176051 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 0.176051 Jy
! 
! Correcting IF 1.
!  A total of 18 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 18 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 18 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 34 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.085065Jy  sigma=1.128358
! Fit after  self-cal, rms=0.083651Jy  sigma=1.111166
! Inverting map and beam 
! Estimated beam: bmin=2.415 mas, bmaj=6.467 mas, bpa=-2.227 degrees
! Estimated noise=1.37085 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.231 mas, bmaj=8.503 mas, bpa=-6.146 degrees
! Estimated noise=0.969976 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.0157954 Jy
! Component: 100  -  total flux cleaned = 0.0211013 Jy
! Component: 150  -  total flux cleaned = 0.0229729 Jy
! Component: 200  -  total flux cleaned = 0.0231421 Jy
! Total flux subtracted in 200 components = 0.0231421 Jy
! Clean residual min=-0.004365 max=0.005037 Jy/beam
! Clean residual mean=-0.000090 rms=0.001292 Jy/beam
! Combined flux in latest and established models = 0.199193 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 29 components and 0.199193 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082119Jy  sigma=1.076235
! Fit after  self-cal, rms=0.080854Jy  sigma=1.057137
! 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.231 x 8.503 at -6.146 degrees (North through East)
! Clean map  min=-0.0037418  max=0.16247 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.02936
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        0.89     HN        0.93     KP        0.95     
!   LA        1.06     MK        0.99     NL        0.98     OV        0.97     
!   PT        1.01     SC        0.98     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.985151
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        0.98     HN        1.08     KP        0.99     
!   LA        0.98     MK        1.05     NL        1.15     OV        1.02     
!   PT        0.99     SC        0.86     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1.01852
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.96     HN        0.95     KP        0.99     
!   LA        1.01     MK        0.99     NL        1.05     OV        0.95     
!   PT        0.90     SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.080854Jy  sigma=1.057137
! Fit after  self-cal, rms=0.080487Jy  sigma=1.045268
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.080487Jy  sigma=1.045268
! Fit after  self-cal, rms=0.080448Jy  sigma=1.044768
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.213 mas, bmaj=8.321 mas, bpa=-4.632 degrees
! Estimated noise=0.968836 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.00104966 Jy
! Component: 100  -  total flux cleaned = 0.0011306 Jy
! Component: 150  -  total flux cleaned = 0.00119653 Jy
! Component: 200  -  total flux cleaned = 0.00119353 Jy
! Total flux subtracted in 200 components = 0.00119353 Jy
! Clean residual min=-0.003625 max=0.003499 Jy/beam
! Clean residual mean=-0.000053 rms=0.001021 Jy/beam
! Combined flux in latest and established models = 0.200387 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 44 components and 0.200387 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.080374Jy  sigma=1.042677
! Fit after  self-cal, rms=0.080313Jy  sigma=1.041979
! 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.080313Jy  sigma=1.041979
! Fit after  self-cal, rms=0.074462Jy  sigma=0.962964
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.00100278 Jy
! Component: 100  -  total flux cleaned = 0.000725164 Jy
! Component: 150  -  total flux cleaned = 0.0007234 Jy
! Component: 200  -  total flux cleaned = 0.000785871 Jy
! Total flux subtracted in 200 components = 0.000785871 Jy
! Clean residual min=-0.003354 max=0.003125 Jy/beam
! Clean residual mean=-0.000052 rms=0.000979 Jy/beam
! Combined flux in latest and established models = 0.201173 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 47 components and 0.201173 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.074312Jy  sigma=0.959889
! Fit after  self-cal, rms=0.073108Jy  sigma=0.953408
! 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.213 x 8.321 at -4.632 degrees (North through East)
! Clean map  min=-0.0032255  max=0.164 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.073108Jy  sigma=0.953408
! Fit after  self-cal, rms=0.072538Jy  sigma=0.945708
! 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.072538Jy  sigma=0.945708
! Fit after  self-cal, rms=0.071848Jy  sigma=0.943664
! Inverting map and beam 
! Estimated beam: bmin=3.201 mas, bmaj=8.209 mas, bpa=-4.357 degrees
! Estimated noise=0.970836 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00161374 Jy
! Component: 100  -  total flux cleaned = 0.00161047 Jy
! Component: 150  -  total flux cleaned = 0.00165539 Jy
! Component: 200  -  total flux cleaned = 0.00170002 Jy
! Total flux subtracted in 200 components = 0.00170002 Jy
! Clean residual min=-0.003217 max=0.002997 Jy/beam
! Clean residual mean=-0.000026 rms=0.000899 Jy/beam
! Combined flux in latest and established models = 0.202873 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 52 components and 0.202873 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071772Jy  sigma=0.942358
! Fit after  self-cal, rms=0.071273Jy  sigma=0.941231
! 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.071273Jy  sigma=0.941231
! Fit after  self-cal, rms=0.071100Jy  sigma=0.928981
! 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.071100Jy  sigma=0.928981
! Fit after  self-cal, rms=0.070790Jy  sigma=0.928406
! Inverting map and beam 
! Estimated beam: bmin=3.192 mas, bmaj=8.275 mas, bpa=-4.997 degrees
! Estimated noise=0.972242 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000535263 Jy
! Component: 100  -  total flux cleaned = 0.000586801 Jy
! Component: 150  -  total flux cleaned = 0.000680613 Jy
! Component: 200  -  total flux cleaned = 0.000680503 Jy
! Total flux subtracted in 200 components = 0.000680503 Jy
! Clean residual min=-0.003382 max=0.002931 Jy/beam
! Clean residual mean=-0.000051 rms=0.000876 Jy/beam
! Combined flux in latest and established models = 0.203553 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 55 components and 0.203553 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070723Jy  sigma=0.927438
! Fit after  self-cal, rms=0.070509Jy  sigma=0.927044
! 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=7.768 mas, bmaj=17.44 mas, bpa=1.47 degrees
! Estimated noise=1.23666 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.000813878 Jy
! Component: 100  -  total flux cleaned = 0.000840207 Jy
! Component: 150  -  total flux cleaned = 0.000862349 Jy
! Component: 200  -  total flux cleaned = 0.000879312 Jy
! Total flux subtracted in 200 components = 0.000879312 Jy
! Clean residual min=-0.002874 max=0.003403 Jy/beam
! Clean residual mean=-0.000094 rms=0.001013 Jy/beam
! Combined flux in latest and established models = 0.204433 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 61 components and 0.204433 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070499Jy  sigma=0.926903
! Fit after  self-cal, rms=0.070339Jy  sigma=0.926578
! 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.396 mas, bmaj=6.395 mas, bpa=-1.622 degrees
! Estimated noise=1.3542 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.142528 Jy
! Component: 100  -  total flux cleaned = 0.178923 Jy
! Component: 150  -  total flux cleaned = 0.19254 Jy
! Component: 200  -  total flux cleaned = 0.198985 Jy
! Total flux subtracted in 200 components = 0.198985 Jy
! Clean residual min=-0.004622 max=0.005552 Jy/beam
! Clean residual mean=-0.000017 rms=0.001331 Jy/beam
! Combined flux in latest and established models = 0.198985 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 20 model components to the UV plane model.
! The established model now contains 20 components and 0.198985 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.192 mas, bmaj=8.275 mas, bpa=-4.997 degrees
! Estimated noise=0.972242 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 (3, -3).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00479587 Jy
! Component: 100  -  total flux cleaned = 0.00561067 Jy
! Component: 150  -  total flux cleaned = 0.00584807 Jy
! Component: 200  -  total flux cleaned = 0.00591423 Jy
! Total flux subtracted in 200 components = 0.00591423 Jy
! Clean residual min=-0.003250 max=0.002933 Jy/beam
! Clean residual mean=-0.000054 rms=0.000841 Jy/beam
! Combined flux in latest and established models = 0.204899 Jy
! Adding 20 model components to the UV plane model.
! The established model now contains 40 components and 0.204899 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=7.768 mas, bmaj=17.44 mas, bpa=1.47 degrees
! Estimated noise=1.23666 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.000708183 Jy
! Component: 100  -  total flux cleaned = -0.000677057 Jy
! Component: 150  -  total flux cleaned = -0.00067702 Jy
! Component: 200  -  total flux cleaned = -0.000676539 Jy
! Total flux subtracted in 200 components = -0.000676539 Jy
! Clean residual min=-0.002837 max=0.003208 Jy/beam
! Clean residual mean=-0.000090 rms=0.000990 Jy/beam
! Combined flux in latest and established models = 0.204223 Jy
! Adding 13 model components to the UV plane model.
! The established model now contains 52 components and 0.204223 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.192 mas, bmaj=8.275 mas, bpa=-4.997 degrees
! Estimated noise=0.972242 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000379813 Jy
! Component: 100  -  total flux cleaned = 0.000479799 Jy
! Component: 150  -  total flux cleaned = 0.000524651 Jy
! Component: 200  -  total flux cleaned = 0.000605082 Jy
! Total flux subtracted in 200 components = 0.000605081 Jy
! Clean residual min=-0.003241 max=0.002866 Jy/beam
! Clean residual mean=-0.000053 rms=0.000824 Jy/beam
! Combined flux in latest and established models = 0.204828 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 68 components and 0.204828 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070119Jy  sigma=0.923327
! Fit after  self-cal, rms=0.069980Jy  sigma=0.922752
wmodel J0003-1941_S_2006_12_18_yyk\_map.mod
! Writing 68 model components to file: J0003-1941_S_2006_12_18_yyk_map.mod
wobs J0003-1941_S_2006_12_18_yyk\_uvs.fits
! Writing UV FITS file: J0003-1941_S_2006_12_18_yyk_uvs.fits
wwins J0003-1941_S_2006_12_18_yyk\_map.win
! wwins: Wrote 2 windows to J0003-1941_S_2006_12_18_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.000794446 Jy
! Component: 100  -  total flux cleaned = -0.00104148 Jy
! Component: 150  -  total flux cleaned = -0.00113479 Jy
! Component: 200  -  total flux cleaned = -0.00135698 Jy
! Component: 250  -  total flux cleaned = -0.00161151 Jy
! Component: 300  -  total flux cleaned = -0.0019407 Jy
! Component: 350  -  total flux cleaned = -0.00225967 Jy
! Component: 400  -  total flux cleaned = -0.00256881 Jy
! Component: 450  -  total flux cleaned = -0.00286951 Jy
! Component: 500  -  total flux cleaned = -0.00312647 Jy
! Component: 550  -  total flux cleaned = -0.00341354 Jy
! Component: 600  -  total flux cleaned = -0.00365957 Jy
! Component: 650  -  total flux cleaned = -0.00393447 Jy
! Component: 700  -  total flux cleaned = -0.00413663 Jy
! Component: 750  -  total flux cleaned = -0.00436785 Jy
! Component: 800  -  total flux cleaned = -0.0046593 Jy
! Component: 850  -  total flux cleaned = -0.00481836 Jy
! Component: 900  -  total flux cleaned = -0.00500569 Jy
! Component: 950  -  total flux cleaned = -0.00522039 Jy
! Component: 1000  -  total flux cleaned = -0.00537124 Jy
! Component: 1050  -  total flux cleaned = -0.00546052 Jy
! Component: 1100  -  total flux cleaned = -0.00560671 Jy
! Component: 1150  -  total flux cleaned = -0.00566497 Jy
! Component: 1200  -  total flux cleaned = -0.00580732 Jy
! Component: 1250  -  total flux cleaned = -0.00580741 Jy
! Component: 1300  -  total flux cleaned = -0.00597435 Jy
! Component: 1350  -  total flux cleaned = -0.00608405 Jy
! Component: 1400  -  total flux cleaned = -0.00616522 Jy
! Component: 1450  -  total flux cleaned = -0.00627187 Jy
! Component: 1500  -  total flux cleaned = -0.00637732 Jy
! Component: 1550  -  total flux cleaned = -0.00648167 Jy
! Component: 1600  -  total flux cleaned = -0.00655905 Jy
! Component: 1650  -  total flux cleaned = -0.00666104 Jy
! Component: 1700  -  total flux cleaned = -0.00681238 Jy
! Component: 1750  -  total flux cleaned = -0.00688721 Jy
! Component: 1800  -  total flux cleaned = -0.00708386 Jy
! Component: 1850  -  total flux cleaned = -0.00718117 Jy
! Component: 1900  -  total flux cleaned = -0.00735024 Jy
! Component: 1950  -  total flux cleaned = -0.00761303 Jy
! Component: 2000  -  total flux cleaned = -0.00777859 Jy
! Total flux subtracted in 2048 components = -0.00796597 Jy
! Clean residual min=-0.001279 max=0.001238 Jy/beam
! Clean residual mean=-0.000035 rms=0.000475 Jy/beam
! Combined flux in latest and established models = 0.196862 Jy
keep
! Adding 128 model components to the UV plane model.
! The established model now contains 196 components and 0.196862 Jy
![Exited script file: muppet]
wmap "J0003-1941_S_2006_12_18_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.192 x 8.275 at -4.997 degrees (North through East)
! Clean map  min=-0.0026548  max=0.1636 Jy/beam
! Writing clean map to FITS file: J0003-1941_S_2006_12_18_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.163604 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000475492 
device "J0003-1941_S_2006_12_18_yyk\_map.eps/VPS"
! Attempting to open device: 'J0003-1941_S_2006_12_18_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.871911 0.871911 1.74382 3.48764 6.97528 13.9506 27.9011 55.8023
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.163 
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.192 x 8.275 at -4.997 degrees (North through East)
! Clean map  min=-0.0026548  max=0.1636 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0003-1941_S_2006_12_18_yyk\_map.gif/gif"
! Attempting to open device: 'J0003-1941_S_2006_12_18_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0003-1941_S_2006_12_18_yyk_uvs.log closed on Wed Apr  9 20:07:03 2008