! Started logfile: J0256-2137_S_1997_08_27_yyk_uvs.log on Sun Jan  7 15:57:57 2007
obs J0256-2137_S_1997_08_27_yyk_uva.fits
! Reading UV FITS file: J0256-2137_S_1997_08_27_yyk_uva.fits
! AN table 1: 151 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.97557 visibilities/baseline/integration-bin.
! Found source: J0256-2137
! 
! 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 702 lines of history.
! 
! Reading 26516 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 J0256-2137_S_1997_08_27_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.417591 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.688 mas, bmaj=6.916 mas, bpa=-5.035 degrees
! Estimated noise=2669.21 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.172544 Jy
! Component: 100  -  total flux cleaned = 0.211003 Jy
! Total flux subtracted in 100 components = 0.211002 Jy
! Clean residual min=-0.011971 max=0.015998 Jy/beam
! Clean residual mean=0.000116 rms=0.003853 Jy/beam
! Combined flux in latest and established models = 0.211002 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 17 components and 0.211002 Jy
! 
! Correcting IF 1.
!  A total of 171 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.360206Jy  sigma=0.001230
! Fit after  self-cal, rms=0.360042Jy  sigma=0.001230
! Inverting map and beam 
! Estimated beam: bmin=2.688 mas, bmaj=6.916 mas, bpa=-5.035 degrees
! Estimated noise=2669.21 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.495 mas, bmaj=8.796 mas, bpa=-5.747 degrees
! Estimated noise=1172.9 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.0161749 Jy
! Component: 100  -  total flux cleaned = 0.0210512 Jy
! Component: 150  -  total flux cleaned = 0.021641 Jy
! Component: 200  -  total flux cleaned = 0.0217999 Jy
! Total flux subtracted in 200 components = 0.0217999 Jy
! Clean residual min=-0.006811 max=0.007759 Jy/beam
! Clean residual mean=0.000157 rms=0.002007 Jy/beam
! Combined flux in latest and established models = 0.232802 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 29 components and 0.232802 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.359395Jy  sigma=0.001228
! Fit after  self-cal, rms=0.359364Jy  sigma=0.001228
! 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.495 x 8.796 at -5.747 degrees (North through East)
! Clean map  min=-0.006556  max=0.20244 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.00817
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.06     HN        0.92     KP        0.91     
!   LA        0.98     MK        1.14     NL        1.00*    OV        1.12     
!   PT        0.98     SC        0.84     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.988523
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.16     HN        1.04     KP        0.98     
!   LA        1.06     MK        1.03     NL        0.92     OV        1.04     
!   PT        0.95     SC        0.91     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.05962
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.06     HN        0.92     KP        0.90     
!   LA        0.79     MK        0.85     NL        0.88     OV        0.93     
!   PT        1.11     SC        1.00     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.987683
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.11     HN        1.10     KP        0.93     
!   LA        0.88     MK        1.01     NL        1.11     OV        1.00     
!   PT        0.94     SC        1.03     
! 
! 
! Fit before self-cal, rms=0.359364Jy  sigma=0.001228
! Fit after  self-cal, rms=0.354682Jy  sigma=0.001225
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.354682Jy  sigma=0.001225
! Fit after  self-cal, rms=0.354678Jy  sigma=0.001225
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.463 mas, bmaj=8.65 mas, bpa=-4.88 degrees
! Estimated noise=1179.36 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.00440117 Jy
! Component: 100  -  total flux cleaned = 0.00463829 Jy
! Component: 150  -  total flux cleaned = 0.00457353 Jy
! Component: 200  -  total flux cleaned = 0.00457167 Jy
! Total flux subtracted in 200 components = 0.00457167 Jy
! Clean residual min=-0.005132 max=0.006527 Jy/beam
! Clean residual mean=0.000071 rms=0.001401 Jy/beam
! Combined flux in latest and established models = 0.237374 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 34 components and 0.237374 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.354632Jy  sigma=0.001224
! Fit after  self-cal, rms=0.354621Jy  sigma=0.001224
! 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.354621Jy  sigma=0.001224
! Fit after  self-cal, rms=0.353329Jy  sigma=0.001221
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.000745341 Jy
! Component: 100  -  total flux cleaned = 0.000996477 Jy
! Component: 150  -  total flux cleaned = 0.000929116 Jy
! Component: 200  -  total flux cleaned = 0.000930472 Jy
! Total flux subtracted in 200 components = 0.000930472 Jy
! Clean residual min=-0.004473 max=0.005604 Jy/beam
! Clean residual mean=0.000077 rms=0.001367 Jy/beam
! Combined flux in latest and established models = 0.238305 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 42 components and 0.238305 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.353289Jy  sigma=0.001220
! Fit after  self-cal, rms=0.353165Jy  sigma=0.001220
! 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.463 x 8.65 at -4.88 degrees (North through East)
! Clean map  min=-0.0042972  max=0.20607 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.353165Jy  sigma=0.001220
! Fit after  self-cal, rms=0.361393Jy  sigma=0.001218
! 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.361393Jy  sigma=0.001218
! Fit after  self-cal, rms=0.361388Jy  sigma=0.001218
! Inverting map and beam 
! Estimated beam: bmin=3.421 mas, bmaj=8.521 mas, bpa=-5.268 degrees
! Estimated noise=1172.51 mJy/beam.
! Added new window around map position (51, 57.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00619334 Jy
! Component: 100  -  total flux cleaned = 0.00734887 Jy
! Component: 150  -  total flux cleaned = 0.00763889 Jy
! Component: 200  -  total flux cleaned = 0.00771908 Jy
! Total flux subtracted in 200 components = 0.00771908 Jy
! Clean residual min=-0.003951 max=0.004524 Jy/beam
! Clean residual mean=0.000063 rms=0.001124 Jy/beam
! Combined flux in latest and established models = 0.246024 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 64 components and 0.246024 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.361287Jy  sigma=0.001218
! Fit after  self-cal, rms=0.361288Jy  sigma=0.001218
! 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.361288Jy  sigma=0.001218
! Fit after  self-cal, rms=0.363339Jy  sigma=0.001217
! 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.363339Jy  sigma=0.001217
! Fit after  self-cal, rms=0.363352Jy  sigma=0.001217
! Inverting map and beam 
! Estimated beam: bmin=3.405 mas, bmaj=8.486 mas, bpa=-5.401 degrees
! Estimated noise=1173.83 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00298708 Jy
! Component: 100  -  total flux cleaned = 0.00339172 Jy
! Component: 150  -  total flux cleaned = 0.00345838 Jy
! Component: 200  -  total flux cleaned = 0.00352177 Jy
! Total flux subtracted in 200 components = 0.00352177 Jy
! Clean residual min=-0.003815 max=0.004184 Jy/beam
! Clean residual mean=0.000078 rms=0.001086 Jy/beam
! Combined flux in latest and established models = 0.249545 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 70 components and 0.249545 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.363322Jy  sigma=0.001217
! Fit after  self-cal, rms=0.363326Jy  sigma=0.001217
! 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.121 mas, bmaj=17.08 mas, bpa=0.118 degrees
! Estimated noise=1475.12 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.000903608 Jy
! Component: 100  -  total flux cleaned = 0.000904224 Jy
! Component: 150  -  total flux cleaned = 0.000901587 Jy
! Component: 200  -  total flux cleaned = 0.00098205 Jy
! Total flux subtracted in 200 components = 0.00098205 Jy
! Clean residual min=-0.003210 max=0.003181 Jy/beam
! Clean residual mean=0.000149 rms=0.001144 Jy/beam
! Combined flux in latest and established models = 0.250527 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 92 components and 0.250527 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.363338Jy  sigma=0.001217
! Fit after  self-cal, rms=0.363334Jy  sigma=0.001217
! 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.656 mas, bmaj=6.823 mas, bpa=-4.849 degrees
! Estimated noise=2637.35 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.175173 Jy
! Component: 100  -  total flux cleaned = 0.214041 Jy
! Component: 150  -  total flux cleaned = 0.229956 Jy
! Component: 200  -  total flux cleaned = 0.239234 Jy
! Total flux subtracted in 200 components = 0.239234 Jy
! Clean residual min=-0.009678 max=0.008839 Jy/beam
! Clean residual mean=0.000045 rms=0.002220 Jy/beam
! Combined flux in latest and established models = 0.239234 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 28 model components to the UV plane model.
! The established model now contains 28 components and 0.239234 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.405 mas, bmaj=8.486 mas, bpa=-5.401 degrees
! Estimated noise=1173.83 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 (1.5, -13.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0082998 Jy
! Component: 100  -  total flux cleaned = 0.0122569 Jy
! Component: 150  -  total flux cleaned = 0.0131322 Jy
! Component: 200  -  total flux cleaned = 0.0135008 Jy
! Total flux subtracted in 200 components = 0.0135008 Jy
! Clean residual min=-0.003699 max=0.003634 Jy/beam
! Clean residual mean=0.000070 rms=0.001013 Jy/beam
! Combined flux in latest and established models = 0.252734 Jy
! Adding 37 model components to the UV plane model.
! The established model now contains 62 components and 0.252734 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.121 mas, bmaj=17.08 mas, bpa=0.118 degrees
! Estimated noise=1475.12 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.000457736 Jy
! Component: 100  -  total flux cleaned = 0.000514878 Jy
! Component: 150  -  total flux cleaned = 0.000615515 Jy
! Component: 200  -  total flux cleaned = 0.000697436 Jy
! Total flux subtracted in 200 components = 0.000697436 Jy
! Clean residual min=-0.003311 max=0.003392 Jy/beam
! Clean residual mean=0.000136 rms=0.001041 Jy/beam
! Combined flux in latest and established models = 0.253432 Jy
! Adding 31 model components to the UV plane model.
! The established model now contains 91 components and 0.253432 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.405 mas, bmaj=8.486 mas, bpa=-5.401 degrees
! Estimated noise=1173.83 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000105029 Jy
! Component: 100  -  total flux cleaned = -0.000186375 Jy
! Component: 150  -  total flux cleaned = -0.000184738 Jy
! Component: 200  -  total flux cleaned = -0.000261171 Jy
! Total flux subtracted in 200 components = -0.000261171 Jy
! Clean residual min=-0.003535 max=0.003535 Jy/beam
! Clean residual mean=0.000072 rms=0.000974 Jy/beam
! Combined flux in latest and established models = 0.253171 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 110 components and 0.253171 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.363299Jy  sigma=0.001217
! Fit after  self-cal, rms=0.363292Jy  sigma=0.001217
wmodel J0256-2137_S_1997_08_27_yyk\_map.mod
! Writing 110 model components to file: J0256-2137_S_1997_08_27_yyk_map.mod
wobs J0256-2137_S_1997_08_27_yyk\_uvs.fits
! Writing UV FITS file: J0256-2137_S_1997_08_27_yyk_uvs.fits
wwins J0256-2137_S_1997_08_27_yyk\_map.win
! wwins: Wrote 3 windows to J0256-2137_S_1997_08_27_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.000576527 Jy
! Component: 100  -  total flux cleaned = 0.000813798 Jy
! Component: 150  -  total flux cleaned = 0.000926509 Jy
! Component: 200  -  total flux cleaned = 0.000982313 Jy
! Component: 250  -  total flux cleaned = 0.00108886 Jy
! Component: 300  -  total flux cleaned = 0.00114092 Jy
! Component: 350  -  total flux cleaned = 0.00123861 Jy
! Component: 400  -  total flux cleaned = 0.00119059 Jy
! Component: 450  -  total flux cleaned = 0.00123752 Jy
! Component: 500  -  total flux cleaned = 0.00128317 Jy
! Component: 550  -  total flux cleaned = 0.00137337 Jy
! Component: 600  -  total flux cleaned = 0.00146034 Jy
! Component: 650  -  total flux cleaned = 0.00141752 Jy
! Component: 700  -  total flux cleaned = 0.00150151 Jy
! Component: 750  -  total flux cleaned = 0.00154298 Jy
! Component: 800  -  total flux cleaned = 0.00178753 Jy
! Component: 850  -  total flux cleaned = 0.00194663 Jy
! Component: 900  -  total flux cleaned = 0.00190639 Jy
! Component: 950  -  total flux cleaned = 0.00198397 Jy
! Component: 1000  -  total flux cleaned = 0.00198473 Jy
! Component: 1050  -  total flux cleaned = 0.0021738 Jy
! Component: 1100  -  total flux cleaned = 0.00228502 Jy
! Component: 1150  -  total flux cleaned = 0.00239486 Jy
! Component: 1200  -  total flux cleaned = 0.00239525 Jy
! Component: 1250  -  total flux cleaned = 0.00257425 Jy
! Component: 1300  -  total flux cleaned = 0.00257392 Jy
! Component: 1350  -  total flux cleaned = 0.00264372 Jy
! Component: 1400  -  total flux cleaned = 0.00278151 Jy
! Component: 1450  -  total flux cleaned = 0.00284883 Jy
! Component: 1500  -  total flux cleaned = 0.00301665 Jy
! Component: 1550  -  total flux cleaned = 0.00298401 Jy
! Component: 1600  -  total flux cleaned = 0.0031814 Jy
! Component: 1650  -  total flux cleaned = 0.00334368 Jy
! Component: 1700  -  total flux cleaned = 0.0033117 Jy
! Component: 1750  -  total flux cleaned = 0.00347037 Jy
! Component: 1800  -  total flux cleaned = 0.00350174 Jy
! Component: 1850  -  total flux cleaned = 0.00362624 Jy
! Component: 1900  -  total flux cleaned = 0.00368779 Jy
! Component: 1950  -  total flux cleaned = 0.00380921 Jy
! Component: 2000  -  total flux cleaned = 0.00383928 Jy
! Total flux subtracted in 2048 components = 0.00395811 Jy
! Clean residual min=-0.001950 max=0.001854 Jy/beam
! Clean residual mean=0.000061 rms=0.000598 Jy/beam
! Combined flux in latest and established models = 0.257129 Jy
keep
! Adding 122 model components to the UV plane model.
! The established model now contains 232 components and 0.257129 Jy
![Exited script file: muppet]
wmap "J0256-2137_S_1997_08_27_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.405 x 8.486 at -5.401 degrees (North through East)
! Clean map  min=-0.0030374  max=0.20443 Jy/beam
! Writing clean map to FITS file: J0256-2137_S_1997_08_27_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.204429 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000596691 
device "J0256-2137_S_1997_08_27_yyk\_map.eps/VPS"
! Attempting to open device: 'J0256-2137_S_1997_08_27_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.875644 0.875644 1.75129 3.50258 7.00516 14.0103 28.0206 56.0412
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0017 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.204 
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.405 x 8.486 at -5.401 degrees (North through East)
! Clean map  min=-0.0030374  max=0.20443 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0256-2137_S_1997_08_27_yyk\_map.gif/gif"
! Attempting to open device: 'J0256-2137_S_1997_08_27_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0256-2137_S_1997_08_27_yyk_uvs.log closed on Sun Jan  7 15:58:05 2007