! Started logfile: J1145-2250_S_1997_07_02_yyk_uvs.log on Sun Jan  7 17:50:28 2007
obs J1145-2250_S_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J1145-2250_S_1997_07_02_yyk_uva.fits
! AN table 1: 137 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.623195 visibilities/baseline/integration-bin.
! Found source: J1145-2250
! 
! 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 15368 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 J1145-2250_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.8665 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.772 mas, bmaj=7.796 mas, bpa=-9.243 degrees
! Estimated noise=2917.27 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.641719 Jy
! Component: 100  -  total flux cleaned = 0.793656 Jy
! Total flux subtracted in 100 components = 0.793656 Jy
! Clean residual min=-0.030335 max=0.041207 Jy/beam
! Clean residual mean=-0.000556 rms=0.008639 Jy/beam
! Combined flux in latest and established models = 0.793656 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.793656 Jy
! 
! Correcting IF 1.
!  A total of 421 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 284 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 284 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 284 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.392887Jy  sigma=0.001278
! Fit after  self-cal, rms=0.392697Jy  sigma=0.001277
! Inverting map and beam 
! Estimated beam: bmin=2.772 mas, bmaj=7.796 mas, bpa=-9.243 degrees
! Estimated noise=2917.27 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.453 mas, bmaj=9.167 mas, bpa=-10.06 degrees
! Estimated noise=1647.65 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.032971 Jy
! Component: 100  -  total flux cleaned = 0.0315626 Jy
! Component: 150  -  total flux cleaned = 0.0298773 Jy
! Component: 200  -  total flux cleaned = 0.0284253 Jy
! Total flux subtracted in 200 components = 0.0284253 Jy
! Clean residual min=-0.027778 max=0.023511 Jy/beam
! Clean residual mean=-0.000532 rms=0.006532 Jy/beam
! Combined flux in latest and established models = 0.822081 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 16 components and 0.822081 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.387891Jy  sigma=0.001267
! Fit after  self-cal, rms=0.387868Jy  sigma=0.001267
! 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.453 x 9.167 at -10.06 degrees (North through East)
! Clean map  min=-0.026972  max=0.74148 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.03104
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        1.10     HN        0.87     KP        0.91     
!   LA        1.00     MK        0.98     NL        1.00*    OV        1.10     
!   PT        0.96     SC        0.83     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.98587
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.15     HN        0.99     KP        0.95     
!   LA        1.12     MK        1.07     NL        0.96     OV        1.03     
!   PT        0.94     SC        0.89     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.04102
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.07     HN        0.92     KP        0.93     
!   LA        0.83     MK        0.87     NL        0.95     OV        0.96     
!   PT        1.10     SC        1.01     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.99063
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.11     HN        1.11     KP        0.96     
!   LA        0.92     MK        1.03     NL        1.04     OV        0.96     
!   PT        0.97     SC        1.00     
! 
! 
! Fit before self-cal, rms=0.387868Jy  sigma=0.001267
! Fit after  self-cal, rms=0.366386Jy  sigma=0.001233
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.366386Jy  sigma=0.001233
! Fit after  self-cal, rms=0.366385Jy  sigma=0.001233
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.387 mas, bmaj=8.934 mas, bpa=-9.034 degrees
! Estimated noise=1653.31 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.02163 Jy
! Component: 100  -  total flux cleaned = 0.0247223 Jy
! Component: 150  -  total flux cleaned = 0.024724 Jy
! Component: 200  -  total flux cleaned = 0.0244637 Jy
! Total flux subtracted in 200 components = 0.0244637 Jy
! Clean residual min=-0.012392 max=0.010190 Jy/beam
! Clean residual mean=-0.000223 rms=0.003034 Jy/beam
! Combined flux in latest and established models = 0.846545 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 31 components and 0.846545 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.365424Jy  sigma=0.001230
! Fit after  self-cal, rms=0.365410Jy  sigma=0.001230
! 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.365410Jy  sigma=0.001230
! Fit after  self-cal, rms=0.357528Jy  sigma=0.001204
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.00312373 Jy
! Component: 100  -  total flux cleaned = 0.00313671 Jy
! Component: 150  -  total flux cleaned = 0.00292509 Jy
! Component: 200  -  total flux cleaned = 0.00292302 Jy
! Total flux subtracted in 200 components = 0.00292302 Jy
! Clean residual min=-0.011940 max=0.009208 Jy/beam
! Clean residual mean=-0.000172 rms=0.002927 Jy/beam
! Combined flux in latest and established models = 0.849468 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 34 components and 0.849468 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.357292Jy  sigma=0.001203
! Fit after  self-cal, rms=0.356097Jy  sigma=0.001200
! 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.387 x 8.934 at -9.034 degrees (North through East)
! Clean map  min=-0.011568  max=0.75208 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.356097Jy  sigma=0.001200
! Fit after  self-cal, rms=0.353028Jy  sigma=0.001189
! 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.353028Jy  sigma=0.001189
! Fit after  self-cal, rms=0.352726Jy  sigma=0.001188
! Inverting map and beam 
! Estimated beam: bmin=3.371 mas, bmaj=8.938 mas, bpa=-9.04 degrees
! Estimated noise=1648.97 mJy/beam.
! Added new window around map position (-20.5, -43).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00792198 Jy
! Component: 100  -  total flux cleaned = 0.00841653 Jy
! Component: 150  -  total flux cleaned = 0.00861159 Jy
! Component: 200  -  total flux cleaned = 0.00899539 Jy
! Total flux subtracted in 200 components = 0.00899539 Jy
! Clean residual min=-0.006286 max=0.007354 Jy/beam
! Clean residual mean=-0.000095 rms=0.001765 Jy/beam
! Combined flux in latest and established models = 0.858463 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 55 components and 0.858463 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.352443Jy  sigma=0.001187
! Fit after  self-cal, rms=0.352314Jy  sigma=0.001186
! 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.352314Jy  sigma=0.001186
! Fit after  self-cal, rms=0.352496Jy  sigma=0.001184
! 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.352496Jy  sigma=0.001184
! Fit after  self-cal, rms=0.352434Jy  sigma=0.001184
! Inverting map and beam 
! Estimated beam: bmin=3.373 mas, bmaj=8.945 mas, bpa=-9.014 degrees
! Estimated noise=1650.57 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000864442 Jy
! Component: 100  -  total flux cleaned = 0.00103814 Jy
! Component: 150  -  total flux cleaned = 0.00135781 Jy
! Component: 200  -  total flux cleaned = 0.00165282 Jy
! Total flux subtracted in 200 components = 0.00165282 Jy
! Clean residual min=-0.005975 max=0.007150 Jy/beam
! Clean residual mean=-0.000089 rms=0.001648 Jy/beam
! Combined flux in latest and established models = 0.860116 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 67 components and 0.860116 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.352322Jy  sigma=0.001184
! Fit after  self-cal, rms=0.352277Jy  sigma=0.001184
! Inverting map 
! Added new window around map position (1, -51.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00547691 Jy
! Component: 100  -  total flux cleaned = 0.00622406 Jy
! Component: 150  -  total flux cleaned = 0.00621447 Jy
! Component: 200  -  total flux cleaned = 0.00622189 Jy
! Total flux subtracted in 200 components = 0.00622189 Jy
! Clean residual min=-0.005177 max=0.005077 Jy/beam
! Clean residual mean=-0.000100 rms=0.001413 Jy/beam
! Combined flux in latest and established models = 0.866338 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 39 model components to the UV plane model.
! The established model now contains 99 components and 0.866338 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.352102Jy  sigma=0.001183
! Fit after  self-cal, rms=0.352067Jy  sigma=0.001183
! 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.212 mas, bmaj=15.44 mas, bpa=-8.171 degrees
! Estimated noise=2085.62 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.000213149 Jy
! Component: 100  -  total flux cleaned = 6.34278e-05 Jy
! Component: 150  -  total flux cleaned = 6.34391e-05 Jy
! Component: 200  -  total flux cleaned = 0.000134253 Jy
! Total flux subtracted in 200 components = 0.000134253 Jy
! Clean residual min=-0.005275 max=0.005106 Jy/beam
! Clean residual mean=-0.000220 rms=0.001627 Jy/beam
! Combined flux in latest and established models = 0.866472 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 121 components and 0.866472 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.352044Jy  sigma=0.001183
! Fit after  self-cal, rms=0.352022Jy  sigma=0.001183
! 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=7.735 mas, bpa=-9.023 degrees
! Estimated noise=2881.62 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.638075 Jy
! Component: 100  -  total flux cleaned = 0.791736 Jy
! Component: 150  -  total flux cleaned = 0.846622 Jy
! Component: 200  -  total flux cleaned = 0.864732 Jy
! Total flux subtracted in 200 components = 0.864732 Jy
! Clean residual min=-0.013877 max=0.015153 Jy/beam
! Clean residual mean=-0.000128 rms=0.003640 Jy/beam
! Combined flux in latest and established models = 0.864731 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 19 model components to the UV plane model.
! The established model now contains 19 components and 0.864731 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.373 mas, bmaj=8.945 mas, bpa=-9.014 degrees
! Estimated noise=1650.57 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.0014432 Jy
! Component: 100  -  total flux cleaned = 0.00430921 Jy
! Component: 150  -  total flux cleaned = 0.00604021 Jy
! Component: 200  -  total flux cleaned = 0.00634202 Jy
! Total flux subtracted in 200 components = 0.00634202 Jy
! Clean residual min=-0.006565 max=0.006636 Jy/beam
! Clean residual mean=-0.000150 rms=0.001831 Jy/beam
! Combined flux in latest and established models = 0.871073 Jy
! Adding 25 model components to the UV plane model.
! The established model now contains 40 components and 0.871074 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.212 mas, bmaj=15.44 mas, bpa=-8.171 degrees
! Estimated noise=2085.62 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.00144098 Jy
! Component: 100  -  total flux cleaned = 0.0021132 Jy
! Component: 150  -  total flux cleaned = 0.00195663 Jy
! Component: 200  -  total flux cleaned = 0.00181782 Jy
! Total flux subtracted in 200 components = 0.00181782 Jy
! Clean residual min=-0.005774 max=0.005413 Jy/beam
! Clean residual mean=-0.000275 rms=0.001797 Jy/beam
! Combined flux in latest and established models = 0.872891 Jy
! Adding 22 model components to the UV plane model.
! The established model now contains 59 components and 0.872891 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.373 mas, bmaj=8.945 mas, bpa=-9.014 degrees
! Estimated noise=1650.57 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00142975 Jy
! Component: 100  -  total flux cleaned = -0.00142158 Jy
! Component: 150  -  total flux cleaned = -0.00106118 Jy
! Component: 200  -  total flux cleaned = -0.00090924 Jy
! Total flux subtracted in 200 components = -0.00090924 Jy
! Clean residual min=-0.005591 max=0.005682 Jy/beam
! Clean residual mean=-0.000135 rms=0.001512 Jy/beam
! Combined flux in latest and established models = 0.871982 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 74 components and 0.871982 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.352112Jy  sigma=0.001183
! Fit after  self-cal, rms=0.352091Jy  sigma=0.001183
wmodel J1145-2250_S_1997_07_02_yyk\_map.mod
! Writing 74 model components to file: J1145-2250_S_1997_07_02_yyk_map.mod
wobs J1145-2250_S_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J1145-2250_S_1997_07_02_yyk_uvs.fits
wwins J1145-2250_S_1997_07_02_yyk\_map.win
! wwins: Wrote 3 windows to J1145-2250_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.000721106 Jy
! Component: 100  -  total flux cleaned = -0.00129605 Jy
! Component: 150  -  total flux cleaned = -0.00209174 Jy
! Component: 200  -  total flux cleaned = -0.00266946 Jy
! Component: 250  -  total flux cleaned = -0.00329227 Jy
! Component: 300  -  total flux cleaned = -0.00417918 Jy
! Component: 350  -  total flux cleaned = -0.00496227 Jy
! Component: 400  -  total flux cleaned = -0.00571652 Jy
! Component: 450  -  total flux cleaned = -0.00624704 Jy
! Component: 500  -  total flux cleaned = -0.00675913 Jy
! Component: 550  -  total flux cleaned = -0.00700691 Jy
! Component: 600  -  total flux cleaned = -0.00743058 Jy
! Component: 650  -  total flux cleaned = -0.00790175 Jy
! Component: 700  -  total flux cleaned = -0.00830117 Jy
! Component: 750  -  total flux cleaned = -0.00857911 Jy
! Component: 800  -  total flux cleaned = -0.00890533 Jy
! Component: 850  -  total flux cleaned = -0.00932718 Jy
! Component: 900  -  total flux cleaned = -0.00963575 Jy
! Component: 950  -  total flux cleaned = -0.0100887 Jy
! Component: 1000  -  total flux cleaned = -0.0104809 Jy
! Component: 1050  -  total flux cleaned = -0.0107686 Jy
! Component: 1100  -  total flux cleaned = -0.0110495 Jy
! Component: 1150  -  total flux cleaned = -0.0111881 Jy
! Component: 1200  -  total flux cleaned = -0.0114598 Jy
! Component: 1250  -  total flux cleaned = -0.0117254 Jy
! Component: 1300  -  total flux cleaned = -0.0120288 Jy
! Component: 1350  -  total flux cleaned = -0.0122415 Jy
! Component: 1400  -  total flux cleaned = -0.012492 Jy
! Component: 1450  -  total flux cleaned = -0.0127794 Jy
! Component: 1500  -  total flux cleaned = -0.0129807 Jy
! Component: 1550  -  total flux cleaned = -0.0133762 Jy
! Component: 1600  -  total flux cleaned = -0.0137648 Jy
! Component: 1650  -  total flux cleaned = -0.0142244 Jy
! Component: 1700  -  total flux cleaned = -0.0146388 Jy
! Component: 1750  -  total flux cleaned = -0.0150465 Jy
! Component: 1800  -  total flux cleaned = -0.0153382 Jy
! Component: 1850  -  total flux cleaned = -0.0156621 Jy
! Component: 1900  -  total flux cleaned = -0.0161226 Jy
! Component: 1950  -  total flux cleaned = -0.0163671 Jy
! Component: 2000  -  total flux cleaned = -0.0167461 Jy
! Total flux subtracted in 2048 components = -0.0171193 Jy
! Clean residual min=-0.001828 max=0.002144 Jy/beam
! Clean residual mean=-0.000069 rms=0.000691 Jy/beam
! Combined flux in latest and established models = 0.854863 Jy
keep
! Adding 133 model components to the UV plane model.
! The established model now contains 207 components and 0.854863 Jy
![Exited script file: muppet]
wmap "J1145-2250_S_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.373 x 8.945 at -9.014 degrees (North through East)
! Clean map  min=-0.0050989  max=0.74627 Jy/beam
! Writing clean map to FITS file: J1145-2250_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.746275 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000693605 
device "J1145-2250_S_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1145-2250_S_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.278827 0.278827 0.557654 1.11531 2.23062 4.46123 8.92247 17.8449 35.6899 71.3797
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.002 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.746 
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.373 x 8.945 at -9.014 degrees (North through East)
! Clean map  min=-0.0050989  max=0.74627 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1145-2250_S_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1145-2250_S_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1145-2250_S_1997_07_02_yyk_uvs.log closed on Sun Jan  7 17:50:35 2007