! Started logfile: J0812-1810_S_1997_07_02_yyk_uvs.log on Sun Jan  7 16:56:47 2007
obs J0812-1810_S_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J0812-1810_S_1997_07_02_yyk_uva.fits
! AN table 1: 137 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.94777 visibilities/baseline/integration-bin.
! Found source: J0812-1810
! 
! 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.22447e+09        8e+06          1        8e+06
!  02        2  2.23447e+09        8e+06          1        8e+06
!  03        3  2.29447e+09        8e+06          1        8e+06
!  04        4  2.32447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 754 lines of history.
! 
! Reading 23372 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 J0812-1810_S_1997_07_02_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.53913 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.77 mas, bmaj=6.852 mas, bpa=-4.337 degrees
! Estimated noise=1989.13 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.349308 Jy
! Component: 100  -  total flux cleaned = 0.442833 Jy
! Total flux subtracted in 100 components = 0.442833 Jy
! Clean residual min=-0.014155 max=0.024230 Jy/beam
! Clean residual mean=0.000244 rms=0.004176 Jy/beam
! Combined flux in latest and established models = 0.442833 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 0.442833 Jy
! 
! Correcting IF 1.
!  A total of 184 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 50 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 50 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 47 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.340478Jy  sigma=0.001213
! Fit after  self-cal, rms=0.340338Jy  sigma=0.001212
! Inverting map and beam 
! Estimated beam: bmin=2.77 mas, bmaj=6.852 mas, bpa=-4.337 degrees
! Estimated noise=1991.97 mJy/beam.
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0327899 Jy
! Component: 100  -  total flux cleaned = 0.0476931 Jy
! Total flux subtracted in 100 components = 0.0476931 Jy
! Clean residual min=-0.012949 max=0.012356 Jy/beam
! Clean residual mean=0.000209 rms=0.003147 Jy/beam
! Combined flux in latest and established models = 0.490526 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 36 components and 0.490526 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.337517Jy  sigma=0.001202
! Fit after  self-cal, rms=0.337498Jy  sigma=0.001202
! Inverting map 
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.504 mas, bmaj=8.703 mas, bpa=-5.791 degrees
! Estimated noise=1216.48 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.00414513 Jy
! Component: 100  -  total flux cleaned = 0.00459841 Jy
! Component: 150  -  total flux cleaned = 0.0046006 Jy
! Component: 200  -  total flux cleaned = 0.00449965 Jy
! Total flux subtracted in 200 components = 0.00449965 Jy
! Clean residual min=-0.008147 max=0.012003 Jy/beam
! Clean residual mean=0.000342 rms=0.003078 Jy/beam
! Combined flux in latest and established models = 0.495025 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 49 components and 0.495025 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.337271Jy  sigma=0.001202
! Fit after  self-cal, rms=0.337269Jy  sigma=0.001202
! 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.504 x 8.703 at -5.791 degrees (North through East)
! Clean map  min=-0.007981  max=0.38836 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.01813
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.10     HN        0.92     KP        0.92     
!   LA        1.00     MK        1.01     NL        1.00*    OV        1.07     
!   PT        0.95     SC        0.87     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.98072
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.13     HN        1.01     KP        0.97     
!   LA        1.07     MK        1.06     NL        0.97     OV        1.05     
!   PT        0.93     SC        0.95     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.03255
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.06     HN        0.91     KP        0.92     
!   LA        0.83     MK        0.91     NL        0.95     OV        0.93     
!   PT        1.08     SC        1.09     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.992883
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.09     HN        1.16     KP        0.96     
!   LA        0.90     MK        1.00     NL        1.05     OV        0.94     
!   PT        0.93     SC        1.02     
! 
! 
! Fit before self-cal, rms=0.337269Jy  sigma=0.001202
! Fit after  self-cal, rms=0.330113Jy  sigma=0.001191
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.330113Jy  sigma=0.001191
! Fit after  self-cal, rms=0.330111Jy  sigma=0.001191
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.494 mas, bmaj=8.685 mas, bpa=-5.557 degrees
! Estimated noise=1218.82 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.00161675 Jy
! Component: 100  -  total flux cleaned = 0.00160964 Jy
! Component: 150  -  total flux cleaned = 0.00159691 Jy
! Component: 200  -  total flux cleaned = 0.00158753 Jy
! Total flux subtracted in 200 components = 0.00158753 Jy
! Clean residual min=-0.006302 max=0.008399 Jy/beam
! Clean residual mean=0.000135 rms=0.001926 Jy/beam
! Combined flux in latest and established models = 0.496613 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 55 components and 0.496613 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.329922Jy  sigma=0.001191
! Fit after  self-cal, rms=0.329921Jy  sigma=0.001191
! 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.329921Jy  sigma=0.001191
! Fit after  self-cal, rms=0.328557Jy  sigma=0.001185
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.000911667 Jy
! Component: 100  -  total flux cleaned = 0.000683854 Jy
! Component: 150  -  total flux cleaned = 0.000580106 Jy
! Component: 200  -  total flux cleaned = 0.000394855 Jy
! Total flux subtracted in 200 components = 0.000394855 Jy
! Clean residual min=-0.006128 max=0.008105 Jy/beam
! Clean residual mean=0.000136 rms=0.001892 Jy/beam
! Combined flux in latest and established models = 0.497008 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 59 components and 0.497008 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.328480Jy  sigma=0.001185
! Fit after  self-cal, rms=0.328276Jy  sigma=0.001184
! 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.494 x 8.685 at -5.557 degrees (North through East)
! Clean map  min=-0.0058741  max=0.39543 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.328276Jy  sigma=0.001184
! Fit after  self-cal, rms=0.325946Jy  sigma=0.001182
! 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.325946Jy  sigma=0.001182
! Fit after  self-cal, rms=0.325893Jy  sigma=0.001181
! Inverting map and beam 
! Estimated beam: bmin=3.464 mas, bmaj=8.751 mas, bpa=-5.618 degrees
! Estimated noise=1214.09 mJy/beam.
! Added new window around map position (15.5, 23).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00920598 Jy
! Component: 100  -  total flux cleaned = 0.0137113 Jy
! Component: 150  -  total flux cleaned = 0.0148771 Jy
! Component: 200  -  total flux cleaned = 0.0153128 Jy
! Total flux subtracted in 200 components = 0.0153128 Jy
! Clean residual min=-0.005205 max=0.005117 Jy/beam
! Clean residual mean=0.000057 rms=0.001406 Jy/beam
! Combined flux in latest and established models = 0.512321 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 88 components and 0.512321 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.325698Jy  sigma=0.001181
! Fit after  self-cal, rms=0.325656Jy  sigma=0.001180
! 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.325656Jy  sigma=0.001180
! Fit after  self-cal, rms=0.325837Jy  sigma=0.001179
! 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.325837Jy  sigma=0.001179
! Fit after  self-cal, rms=0.325834Jy  sigma=0.001179
! Inverting map and beam 
! Estimated beam: bmin=3.455 mas, bmaj=8.732 mas, bpa=-5.727 degrees
! Estimated noise=1213.31 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00350907 Jy
! Component: 100  -  total flux cleaned = 0.00404942 Jy
! Component: 150  -  total flux cleaned = 0.00424472 Jy
! Component: 200  -  total flux cleaned = 0.0045129 Jy
! Total flux subtracted in 200 components = 0.0045129 Jy
! Clean residual min=-0.004940 max=0.005257 Jy/beam
! Clean residual mean=0.000072 rms=0.001334 Jy/beam
! Combined flux in latest and established models = 0.516833 Jy
! 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.516834 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.325771Jy  sigma=0.001179
! Fit after  self-cal, rms=0.325766Jy  sigma=0.001179
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.126 mas, bmaj=16.7 mas, bpa=-1.278 degrees
! Estimated noise=1514.15 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.00244623 Jy
! Component: 100  -  total flux cleaned = 0.00252669 Jy
! Component: 150  -  total flux cleaned = 0.00239626 Jy
! Component: 200  -  total flux cleaned = 0.00228094 Jy
! Total flux subtracted in 200 components = 0.00228094 Jy
! Clean residual min=-0.005388 max=0.005138 Jy/beam
! Clean residual mean=0.000114 rms=0.001567 Jy/beam
! Combined flux in latest and established models = 0.519114 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 103 components and 0.519115 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.325753Jy  sigma=0.001179
! Fit after  self-cal, rms=0.325748Jy  sigma=0.001179
! 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.753 mas, bmaj=6.873 mas, bpa=-4.12 degrees
! Estimated noise=1985.79 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.349833 Jy
! Component: 100  -  total flux cleaned = 0.444699 Jy
! Component: 150  -  total flux cleaned = 0.478589 Jy
! Component: 200  -  total flux cleaned = 0.494861 Jy
! Total flux subtracted in 200 components = 0.494861 Jy
! Clean residual min=-0.008127 max=0.010003 Jy/beam
! Clean residual mean=0.000071 rms=0.002245 Jy/beam
! Combined flux in latest and established models = 0.494861 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.494861 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.455 mas, bmaj=8.732 mas, bpa=-5.727 degrees
! Estimated noise=1213.31 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 (10, 15).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0139933 Jy
! Component: 100  -  total flux cleaned = 0.0179189 Jy
! Component: 150  -  total flux cleaned = 0.0209676 Jy
! Component: 200  -  total flux cleaned = 0.0232607 Jy
! Total flux subtracted in 200 components = 0.0232607 Jy
! Clean residual min=-0.005031 max=0.005614 Jy/beam
! Clean residual mean=0.000055 rms=0.001397 Jy/beam
! Combined flux in latest and established models = 0.518122 Jy
! Adding 36 model components to the UV plane model.
! The established model now contains 62 components and 0.518122 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.126 mas, bmaj=16.7 mas, bpa=-1.278 degrees
! Estimated noise=1514.15 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.00333774 Jy
! Component: 100  -  total flux cleaned = 0.00417585 Jy
! Component: 150  -  total flux cleaned = 0.00449184 Jy
! Component: 200  -  total flux cleaned = 0.00457829 Jy
! Total flux subtracted in 200 components = 0.00457829 Jy
! Clean residual min=-0.005211 max=0.004644 Jy/beam
! Clean residual mean=0.000072 rms=0.001613 Jy/beam
! Combined flux in latest and established models = 0.522701 Jy
! Adding 23 model components to the UV plane model.
! The established model now contains 77 components and 0.5227 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.455 mas, bmaj=8.732 mas, bpa=-5.727 degrees
! Estimated noise=1213.31 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000139449 Jy
! Component: 100  -  total flux cleaned = 0.000269569 Jy
! Component: 150  -  total flux cleaned = 0.000149797 Jy
! Component: 200  -  total flux cleaned = 0.000263072 Jy
! Total flux subtracted in 200 components = 0.000263072 Jy
! Clean residual min=-0.005401 max=0.005086 Jy/beam
! Clean residual mean=0.000042 rms=0.001291 Jy/beam
! Combined flux in latest and established models = 0.522964 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 88 components and 0.522964 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.325759Jy  sigma=0.001179
! Fit after  self-cal, rms=0.325750Jy  sigma=0.001179
wmodel J0812-1810_S_1997_07_02_yyk\_map.mod
! Writing 88 model components to file: J0812-1810_S_1997_07_02_yyk_map.mod
wobs J0812-1810_S_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J0812-1810_S_1997_07_02_yyk_uvs.fits
wwins J0812-1810_S_1997_07_02_yyk\_map.win
! wwins: Wrote 3 windows to J0812-1810_S_1997_07_02_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.000376763 Jy
! Component: 100  -  total flux cleaned = 0.000216001 Jy
! Component: 150  -  total flux cleaned = -0.000168028 Jy
! Component: 200  -  total flux cleaned = -0.0006039 Jy
! Component: 250  -  total flux cleaned = -0.000604302 Jy
! Component: 300  -  total flux cleaned = -0.000279426 Jy
! Component: 350  -  total flux cleaned = -0.000217019 Jy
! Component: 400  -  total flux cleaned = -0.00021489 Jy
! Component: 450  -  total flux cleaned = -0.000330887 Jy
! Component: 500  -  total flux cleaned = -0.000104787 Jy
! Component: 550  -  total flux cleaned = 3.82393e-06 Jy
! Component: 600  -  total flux cleaned = 5.75234e-05 Jy
! Component: 650  -  total flux cleaned = 0.000163177 Jy
! Component: 700  -  total flux cleaned = 0.000469239 Jy
! Component: 750  -  total flux cleaned = 0.000517924 Jy
! Component: 800  -  total flux cleaned = 0.000713212 Jy
! Component: 850  -  total flux cleaned = 0.000568172 Jy
! Component: 900  -  total flux cleaned = 0.000473407 Jy
! Component: 950  -  total flux cleaned = 0.000333931 Jy
! Component: 1000  -  total flux cleaned = 0.000243664 Jy
! Component: 1050  -  total flux cleaned = 0.000153557 Jy
! Component: 1100  -  total flux cleaned = 2.09837e-05 Jy
! Component: 1150  -  total flux cleaned = 2.10927e-05 Jy
! Component: 1200  -  total flux cleaned = -6.50591e-05 Jy
! Component: 1250  -  total flux cleaned = -6.58883e-05 Jy
! Component: 1300  -  total flux cleaned = -0.000190374 Jy
! Component: 1350  -  total flux cleaned = -0.000231497 Jy
! Component: 1400  -  total flux cleaned = -0.000271816 Jy
! Component: 1450  -  total flux cleaned = -0.000311612 Jy
! Component: 1500  -  total flux cleaned = -0.000232698 Jy
! Component: 1550  -  total flux cleaned = -0.000194236 Jy
! Component: 1600  -  total flux cleaned = -7.92653e-05 Jy
! Component: 1650  -  total flux cleaned = -0.000117331 Jy
! Component: 1700  -  total flux cleaned = 7.00933e-05 Jy
! Component: 1750  -  total flux cleaned = 0.000144521 Jy
! Component: 1800  -  total flux cleaned = 0.000364586 Jy
! Component: 1850  -  total flux cleaned = 0.000400258 Jy
! Component: 1900  -  total flux cleaned = 0.000507882 Jy
! Component: 1950  -  total flux cleaned = 0.000649579 Jy
! Component: 2000  -  total flux cleaned = 0.000684105 Jy
! Total flux subtracted in 2048 components = 0.000753414 Jy
! Clean residual min=-0.002037 max=0.002152 Jy/beam
! Clean residual mean=0.000009 rms=0.000697 Jy/beam
! Combined flux in latest and established models = 0.523717 Jy
keep
! Adding 123 model components to the UV plane model.
! The established model now contains 211 components and 0.523717 Jy
![Exited script file: muppet]
wmap "J0812-1810_S_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.455 x 8.732 at -5.727 degrees (North through East)
! Clean map  min=-0.0039698  max=0.39232 Jy/beam
! Writing clean map to FITS file: J0812-1810_S_1997_07_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.392315 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00068934 
device "J0812-1810_S_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0812-1810_S_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.527132 0.527132 1.05426 2.10853 4.21706 8.43411 16.8682 33.7365 67.4729
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.002 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.392 
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.455 x 8.732 at -5.727 degrees (North through East)
! Clean map  min=-0.0039698  max=0.39232 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0812-1810_S_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0812-1810_S_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0812-1810_S_1997_07_02_yyk_uvs.log closed on Sun Jan  7 16:56:54 2007