! Started logfile: J0516-1537_S_2005_07_20_yyk_uvs.log on Fri Jan 20 09:57:05 2006
obs J0516-1537_S_2005_07_20_yyk_uve.fits
! Reading UV FITS file: J0516-1537_S_2005_07_20_yyk_uve.fits
! AN table 1: 9 integrations on 45 of 45 possible baselines.
! Apparent sampling: 1 visibilities/baseline/integration-bin.
! Found source: J0516-1537
! 
! 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 1526 lines of history.
! 
! Reading 1620 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 J0516-1537_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.210408 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.514 mas, bmaj=6.496 mas, bpa=-4.87 degrees
! Estimated noise=1.37475 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.165529 Jy
! Component: 100  -  total flux cleaned = 0.198287 Jy
! Total flux subtracted in 100 components = 0.198287 Jy
! Clean residual min=-0.006239 max=0.008861 Jy/beam
! Clean residual mean=0.000020 rms=0.001838 Jy/beam
! Combined flux in latest and established models = 0.198287 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 12 components and 0.198287 Jy
! 
! Correcting IF 1.
!  A total of 1 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 1 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 1 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070093Jy  sigma=1.082258
! Fit after  self-cal, rms=0.069929Jy  sigma=1.077840
! Inverting map and beam 
! Estimated beam: bmin=2.514 mas, bmaj=6.496 mas, bpa=-4.87 degrees
! Estimated noise=1.37475 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.066 mas, bmaj=7.892 mas, bpa=-5.16 degrees
! Estimated noise=1.05204 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.0108377 Jy
! Component: 100  -  total flux cleaned = 0.0145642 Jy
! Component: 150  -  total flux cleaned = 0.0146684 Jy
! Component: 200  -  total flux cleaned = 0.0146799 Jy
! Total flux subtracted in 200 components = 0.0146799 Jy
! Clean residual min=-0.004142 max=0.005251 Jy/beam
! Clean residual mean=-0.000044 rms=0.001207 Jy/beam
! Combined flux in latest and established models = 0.212967 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 28 components and 0.212967 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.068349Jy  sigma=1.057573
! Fit after  self-cal, rms=0.068343Jy  sigma=1.057502
! 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.066 x 7.892 at -5.16 degrees (North through East)
! Clean map  min=-0.0040268  max=0.19187 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.02014
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        1.02     HN        1.02     KP        0.97     
!   LA        1.06     MK        0.87     NL        0.95     OV        0.99     
!   PT        1.09     SC        0.93     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.993766
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.01     HN        1.01     KP        1.03     
!   LA        1.01     MK        0.95     NL        0.98     OV        1.03     
!   PT        1.00     SC        1.01     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.98175
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.97     HN        1.03     KP        0.98     
!   LA        0.95     MK        1.08     NL        1.02     OV        1.02     
!   PT        1.13     SC        1.01     
! 
! 
! 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.068343Jy  sigma=1.057502
! Fit after  self-cal, rms=0.066892Jy  sigma=1.040764
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.066892Jy  sigma=1.040764
! Fit after  self-cal, rms=0.066890Jy  sigma=1.040751
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.023 mas, bmaj=7.765 mas, bpa=-5.277 degrees
! Estimated noise=1.05518 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.00359298 Jy
! Component: 100  -  total flux cleaned = 0.00445046 Jy
! Component: 150  -  total flux cleaned = 0.00454445 Jy
! Component: 200  -  total flux cleaned = 0.00454584 Jy
! Total flux subtracted in 200 components = 0.00454584 Jy
! Clean residual min=-0.003704 max=0.004680 Jy/beam
! Clean residual mean=-0.000004 rms=0.001097 Jy/beam
! Combined flux in latest and established models = 0.217513 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 41 components and 0.217513 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066658Jy  sigma=1.038106
! Fit after  self-cal, rms=0.066655Jy  sigma=1.038064
! 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.066655Jy  sigma=1.038064
! Fit after  self-cal, rms=0.064290Jy  sigma=0.999910
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.000602998 Jy
! Component: 100  -  total flux cleaned = 0.000687211 Jy
! Component: 150  -  total flux cleaned = 0.000687402 Jy
! Component: 200  -  total flux cleaned = 0.000654764 Jy
! Total flux subtracted in 200 components = 0.000654764 Jy
! Clean residual min=-0.003686 max=0.004591 Jy/beam
! Clean residual mean=-0.000004 rms=0.001092 Jy/beam
! Combined flux in latest and established models = 0.218168 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 46 components and 0.218168 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.064221Jy  sigma=0.999288
! Fit after  self-cal, rms=0.064062Jy  sigma=0.996819
! 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.023 x 7.765 at -5.277 degrees (North through East)
! Clean map  min=-0.0035469  max=0.19313 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.064062Jy  sigma=0.996819
! Fit after  self-cal, rms=0.061900Jy  sigma=0.968298
! 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.061900Jy  sigma=0.968298
! Fit after  self-cal, rms=0.061874Jy  sigma=0.967947
! Inverting map and beam 
! Estimated beam: bmin=3.016 mas, bmaj=7.75 mas, bpa=-5.464 degrees
! Estimated noise=1.05645 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00159125 Jy
! Component: 100  -  total flux cleaned = 0.00182069 Jy
! Component: 150  -  total flux cleaned = 0.00190123 Jy
! Component: 200  -  total flux cleaned = 0.00192762 Jy
! Total flux subtracted in 200 components = 0.00192762 Jy
! Clean residual min=-0.003810 max=0.004278 Jy/beam
! Clean residual mean=-0.000013 rms=0.001056 Jy/beam
! Combined flux in latest and established models = 0.220096 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 49 components and 0.220096 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061814Jy  sigma=0.967331
! Fit after  self-cal, rms=0.061802Jy  sigma=0.967255
! 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.061802Jy  sigma=0.967255
! Fit after  self-cal, rms=0.060969Jy  sigma=0.951917
! 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.060969Jy  sigma=0.951917
! Fit after  self-cal, rms=0.060968Jy  sigma=0.951838
! Inverting map and beam 
! Estimated beam: bmin=3.037 mas, bmaj=7.802 mas, bpa=-5.011 degrees
! Estimated noise=1.06211 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000322366 Jy
! Component: 100  -  total flux cleaned = 0.000252744 Jy
! Component: 150  -  total flux cleaned = 0.000252866 Jy
! Component: 200  -  total flux cleaned = 0.000225689 Jy
! Total flux subtracted in 200 components = 0.000225689 Jy
! Clean residual min=-0.003797 max=0.003982 Jy/beam
! Clean residual mean=-0.000015 rms=0.001059 Jy/beam
! Combined flux in latest and established models = 0.220321 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 61 components and 0.220321 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060912Jy  sigma=0.951346
! Fit after  self-cal, rms=0.060909Jy  sigma=0.951331
! 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.774 mas, bmaj=15.27 mas, bpa=-0.1211 degrees
! Estimated noise=1.39003 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.000107515 Jy
! Component: 100  -  total flux cleaned = 0.00013258 Jy
! Component: 150  -  total flux cleaned = 0.000179826 Jy
! Component: 200  -  total flux cleaned = 0.000201293 Jy
! Total flux subtracted in 200 components = 0.000201293 Jy
! Clean residual min=-0.004662 max=0.003832 Jy/beam
! Clean residual mean=-0.000047 rms=0.001423 Jy/beam
! Combined flux in latest and established models = 0.220523 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 65 components and 0.220523 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060914Jy  sigma=0.951393
! Fit after  self-cal, rms=0.060909Jy  sigma=0.951313
! 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.508 mas, bmaj=6.477 mas, bpa=-4.83 degrees
! Estimated noise=1.36141 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.164746 Jy
! Component: 100  -  total flux cleaned = 0.197886 Jy
! Component: 150  -  total flux cleaned = 0.210928 Jy
! Component: 200  -  total flux cleaned = 0.217261 Jy
! Total flux subtracted in 200 components = 0.217261 Jy
! Clean residual min=-0.004946 max=0.005185 Jy/beam
! Clean residual mean=0.000007 rms=0.001243 Jy/beam
! Combined flux in latest and established models = 0.217261 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 25 model components to the UV plane model.
! The established model now contains 25 components and 0.217261 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.037 mas, bmaj=7.802 mas, bpa=-5.011 degrees
! Estimated noise=1.06211 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.00290461 Jy
! Component: 100  -  total flux cleaned = 0.00321102 Jy
! Component: 150  -  total flux cleaned = 0.00335706 Jy
! Component: 200  -  total flux cleaned = 0.00331851 Jy
! Total flux subtracted in 200 components = 0.00331851 Jy
! Clean residual min=-0.003709 max=0.004025 Jy/beam
! Clean residual mean=-0.000015 rms=0.001065 Jy/beam
! Combined flux in latest and established models = 0.220579 Jy
! Adding 15 model components to the UV plane model.
! The established model now contains 40 components and 0.220579 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.774 mas, bmaj=15.27 mas, bpa=-0.1211 degrees
! Estimated noise=1.39003 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.00030326 Jy
! Component: 100  -  total flux cleaned = 0.000270982 Jy
! Component: 150  -  total flux cleaned = 0.000243978 Jy
! Component: 200  -  total flux cleaned = 0.000284655 Jy
! Total flux subtracted in 200 components = 0.000284655 Jy
! Clean residual min=-0.004649 max=0.003802 Jy/beam
! Clean residual mean=-0.000046 rms=0.001417 Jy/beam
! Combined flux in latest and established models = 0.220864 Jy
! Adding 8 model components to the UV plane model.
! The established model now contains 47 components and 0.220864 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.037 mas, bmaj=7.802 mas, bpa=-5.011 degrees
! Estimated noise=1.06211 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 4.34319e-05 Jy
! Component: 100  -  total flux cleaned = 0.000125054 Jy
! Component: 150  -  total flux cleaned = 8.96491e-05 Jy
! Component: 200  -  total flux cleaned = 2.5679e-05 Jy
! Total flux subtracted in 200 components = 2.5679e-05 Jy
! Clean residual min=-0.003761 max=0.004031 Jy/beam
! Clean residual mean=-0.000015 rms=0.001062 Jy/beam
! Combined flux in latest and established models = 0.22089 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 55 components and 0.22089 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060932Jy  sigma=0.951621
! Fit after  self-cal, rms=0.060928Jy  sigma=0.951585
wmodel J0516-1537_S_2005_07_20_yyk\_map.mod
! Writing 55 model components to file: J0516-1537_S_2005_07_20_yyk_map.mod
wobs J0516-1537_S_2005_07_20_yyk\_uvs.fits
! Writing UV FITS file: J0516-1537_S_2005_07_20_yyk_uvs.fits
wwins J0516-1537_S_2005_07_20_yyk\_map.win
! wwins: Wrote 1 windows to J0516-1537_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.000721993 Jy
! Component: 100  -  total flux cleaned = 0.000722688 Jy
! Component: 150  -  total flux cleaned = 0.000422961 Jy
! Component: 200  -  total flux cleaned = 0.000138121 Jy
! Component: 250  -  total flux cleaned = -0.000136427 Jy
! Component: 300  -  total flux cleaned = -0.000296616 Jy
! Component: 350  -  total flux cleaned = -0.000554625 Jy
! Component: 400  -  total flux cleaned = -0.000704409 Jy
! Component: 450  -  total flux cleaned = -0.000995548 Jy
! Component: 500  -  total flux cleaned = -0.00104145 Jy
! Component: 550  -  total flux cleaned = -0.00113399 Jy
! Component: 600  -  total flux cleaned = -0.00131469 Jy
! Component: 650  -  total flux cleaned = -0.00140229 Jy
! Component: 700  -  total flux cleaned = -0.00148789 Jy
! Component: 750  -  total flux cleaned = -0.00161406 Jy
! Component: 800  -  total flux cleaned = -0.00165519 Jy
! Component: 850  -  total flux cleaned = -0.00181759 Jy
! Component: 900  -  total flux cleaned = -0.00205481 Jy
! Component: 950  -  total flux cleaned = -0.0022093 Jy
! Component: 1000  -  total flux cleaned = -0.00239965 Jy
! Component: 1050  -  total flux cleaned = -0.00251161 Jy
! Component: 1100  -  total flux cleaned = -0.00269524 Jy
! Component: 1150  -  total flux cleaned = -0.00280305 Jy
! Component: 1200  -  total flux cleaned = -0.00280297 Jy
! Component: 1250  -  total flux cleaned = -0.00297869 Jy
! Component: 1300  -  total flux cleaned = -0.00304767 Jy
! Component: 1350  -  total flux cleaned = -0.00321758 Jy
! Component: 1400  -  total flux cleaned = -0.00318421 Jy
! Component: 1450  -  total flux cleaned = -0.00341735 Jy
! Component: 1500  -  total flux cleaned = -0.00351573 Jy
! Component: 1550  -  total flux cleaned = -0.00354755 Jy
! Component: 1600  -  total flux cleaned = -0.00370731 Jy
! Component: 1650  -  total flux cleaned = -0.00380201 Jy
! Component: 1700  -  total flux cleaned = -0.00395812 Jy
! Component: 1750  -  total flux cleaned = -0.00408175 Jy
! Component: 1800  -  total flux cleaned = -0.00417338 Jy
! Component: 1850  -  total flux cleaned = -0.00423366 Jy
! Component: 1900  -  total flux cleaned = -0.00423401 Jy
! Component: 1950  -  total flux cleaned = -0.00432242 Jy
! Component: 2000  -  total flux cleaned = -0.00432242 Jy
! Total flux subtracted in 2048 components = -0.00435176 Jy
! Clean residual min=-0.001688 max=0.001687 Jy/beam
! Clean residual mean=-0.000014 rms=0.000622 Jy/beam
! Combined flux in latest and established models = 0.216538 Jy
keep
! Adding 141 model components to the UV plane model.
! The established model now contains 196 components and 0.216538 Jy
![Exited script file: muppet]
wmap "J0516-1537_S_2005_07_20_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.037 x 7.802 at -5.011 degrees (North through East)
! Clean map  min=-0.0028245  max=0.19422 Jy/beam
! Writing clean map to FITS file: J0516-1537_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.194216 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000622565 
device "J0516-1537_S_2005_07_20_yyk\_map.eps/VPS"
! Attempting to open device: 'J0516-1537_S_2005_07_20_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.961658 0.961658 1.92332 3.84663 7.69326 15.3865 30.773 61.5461
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0018 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.194 
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.037 x 7.802 at -5.011 degrees (North through East)
! Clean map  min=-0.0028245  max=0.19422 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0516-1537_S_2005_07_20_yyk\_map.gif/gif"
! Attempting to open device: 'J0516-1537_S_2005_07_20_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0516-1537_S_2005_07_20_yyk_uvs.log closed on Fri Jan 20 09:57:09 2006