! Started logfile: J0814-2521_X_1997_08_27_yyk_uvs.log on Mon Jan  8 04:01:33 2007
obs J0814-2521_X_1997_08_27_yyk_uva.fits
! Reading UV FITS file: J0814-2521_X_1997_08_27_yyk_uva.fits
! AN table 1: 145 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.929195 visibilities/baseline/integration-bin.
! Found source: J0814-2521
! 
! 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  8.15447e+09        8e+06          1        8e+06
!  02        2  8.23447e+09        8e+06          1        8e+06
!  03        3  8.41447e+09        8e+06          1        8e+06
!  04        4  8.55447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 702 lines of history.
! 
! Reading 24252 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 J0814-2521_X_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.277794 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=0.7099 mas, bmaj=1.698 mas, bpa=-9.828 degrees
! Estimated noise=1480.89 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.11118 Jy
! Component: 100  -  total flux cleaned = 0.149271 Jy
! Total flux subtracted in 100 components = 0.149271 Jy
! Clean residual min=-0.010324 max=0.013975 Jy/beam
! Clean residual mean=-0.000061 rms=0.002798 Jy/beam
! Combined flux in latest and established models = 0.149271 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.149271 Jy
! 
! Correcting IF 1.
!  A total of 55 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 55 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 55 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 55 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.236439Jy  sigma=0.001270
! Fit after  self-cal, rms=0.236283Jy  sigma=0.001269
! Inverting map and beam 
! Estimated beam: bmin=0.7099 mas, bmaj=1.698 mas, bpa=-9.828 degrees
! Estimated noise=1480.89 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=0.8956 mas, bmaj=2.206 mas, bpa=-6.263 degrees
! Estimated noise=793.173 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.0253664 Jy
! Component: 100  -  total flux cleaned = 0.0349973 Jy
! Component: 150  -  total flux cleaned = 0.0388915 Jy
! Component: 200  -  total flux cleaned = 0.0398918 Jy
! Total flux subtracted in 200 components = 0.0398918 Jy
! Clean residual min=-0.005635 max=0.008349 Jy/beam
! Clean residual mean=-0.000058 rms=0.001647 Jy/beam
! Combined flux in latest and established models = 0.189163 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 35 components and 0.189163 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.234887Jy  sigma=0.001259
! Fit after  self-cal, rms=0.234882Jy  sigma=0.001259
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8956 x 2.206 at -6.263 degrees (North through East)
! Clean map  min=-0.0053477  max=0.13113 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.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00665
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.00     HN        0.99     KP        1.01     
!   LA        1.00     MK        1.03     NL        1.05     OV        1.01     
!   PT        0.91     SC        0.96     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.995438
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.96     HN        1.01     KP        1.01     
!   LA        0.98     MK        1.03     NL        1.05     OV        1.10     
!   PT        0.91     SC        0.97     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.01989
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.01     HN        1.02     KP        1.02     
!   LA        1.00     MK        0.91     NL        1.00     OV        1.03     
!   PT        0.94     SC        0.92     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.977495
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        0.98     HN        1.13     KP        1.01     
!   LA        0.99     MK        0.98     NL        1.05     OV        1.09     
!   PT        0.94     SC        1.00     
! 
! 
! Fit before self-cal, rms=0.234882Jy  sigma=0.001259
! Fit after  self-cal, rms=0.235638Jy  sigma=0.001258
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.235638Jy  sigma=0.001258
! Fit after  self-cal, rms=0.235639Jy  sigma=0.001258
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8854 mas, bmaj=2.173 mas, bpa=-5.671 degrees
! Estimated noise=786.383 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 (4.6, -0.8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00960351 Jy
! Component: 100  -  total flux cleaned = 0.0133658 Jy
! Component: 150  -  total flux cleaned = 0.0136328 Jy
! Component: 200  -  total flux cleaned = 0.0137465 Jy
! Total flux subtracted in 200 components = 0.0137465 Jy
! Clean residual min=-0.004065 max=0.004801 Jy/beam
! Clean residual mean=-0.000015 rms=0.001132 Jy/beam
! Combined flux in latest and established models = 0.202909 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 57 components and 0.202909 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.235366Jy  sigma=0.001256
! Fit after  self-cal, rms=0.235352Jy  sigma=0.001256
! 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.235352Jy  sigma=0.001256
! Fit after  self-cal, rms=0.233230Jy  sigma=0.001247
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.00267026 Jy
! Component: 100  -  total flux cleaned = 0.00349606 Jy
! Component: 150  -  total flux cleaned = 0.00376239 Jy
! Component: 200  -  total flux cleaned = 0.00384335 Jy
! Total flux subtracted in 200 components = 0.00384335 Jy
! Clean residual min=-0.003767 max=0.004381 Jy/beam
! Clean residual mean=-0.000010 rms=0.001049 Jy/beam
! Combined flux in latest and established models = 0.206753 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 66 components and 0.206753 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.233174Jy  sigma=0.001246
! Fit after  self-cal, rms=0.232936Jy  sigma=0.001245
! 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: 0.8854 x 2.173 at -5.671 degrees (North through East)
! Clean map  min=-0.0033592  max=0.13219 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.232936Jy  sigma=0.001245
! Fit after  self-cal, rms=0.236010Jy  sigma=0.001245
! 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.236010Jy  sigma=0.001245
! Fit after  self-cal, rms=0.235963Jy  sigma=0.001244
! Inverting map and beam 
! Estimated beam: bmin=0.8714 mas, bmaj=2.154 mas, bpa=-5.707 degrees
! Estimated noise=781.031 mJy/beam.
! Added new window around map position (9, 4.2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00254601 Jy
! Component: 100  -  total flux cleaned = 0.00316762 Jy
! Component: 150  -  total flux cleaned = 0.00342702 Jy
! Component: 200  -  total flux cleaned = 0.00373188 Jy
! Total flux subtracted in 200 components = 0.00373188 Jy
! Clean residual min=-0.003581 max=0.003899 Jy/beam
! Clean residual mean=-0.000007 rms=0.000941 Jy/beam
! Combined flux in latest and established models = 0.210485 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 83 components and 0.210485 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.235884Jy  sigma=0.001244
! Fit after  self-cal, rms=0.235863Jy  sigma=0.001244
! 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.235863Jy  sigma=0.001244
! Fit after  self-cal, rms=0.236467Jy  sigma=0.001243
! 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.236467Jy  sigma=0.001243
! Fit after  self-cal, rms=0.236460Jy  sigma=0.001243
! Inverting map and beam 
! Estimated beam: bmin=0.8629 mas, bmaj=2.144 mas, bpa=-5.912 degrees
! Estimated noise=779.702 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00203468 Jy
! Component: 100  -  total flux cleaned = 0.00278869 Jy
! Component: 150  -  total flux cleaned = 0.003053 Jy
! Component: 200  -  total flux cleaned = 0.00305054 Jy
! Total flux subtracted in 200 components = 0.00305054 Jy
! Clean residual min=-0.003422 max=0.003779 Jy/beam
! Clean residual mean=-0.000009 rms=0.000918 Jy/beam
! Combined flux in latest and established models = 0.213535 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 92 components and 0.213535 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.236430Jy  sigma=0.001243
! Fit after  self-cal, rms=0.236426Jy  sigma=0.001243
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.323 mas, bmaj=4.956 mas, bpa=-1.815 degrees
! Estimated noise=1029.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.00155071 Jy
! Component: 100  -  total flux cleaned = 0.00160853 Jy
! Component: 150  -  total flux cleaned = 0.00156431 Jy
! Component: 200  -  total flux cleaned = 0.00156799 Jy
! Total flux subtracted in 200 components = 0.00156799 Jy
! Clean residual min=-0.003490 max=0.003979 Jy/beam
! Clean residual mean=-0.000006 rms=0.001127 Jy/beam
! Combined flux in latest and established models = 0.215103 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 102 components and 0.215103 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.236428Jy  sigma=0.001243
! Fit after  self-cal, rms=0.236422Jy  sigma=0.001243
! 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=0.6992 mas, bmaj=1.676 mas, bpa=-9.657 degrees
! Estimated noise=1455.54 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.11362 Jy
! Component: 100  -  total flux cleaned = 0.154006 Jy
! Component: 150  -  total flux cleaned = 0.174029 Jy
! Component: 200  -  total flux cleaned = 0.186712 Jy
! Total flux subtracted in 200 components = 0.186712 Jy
! Clean residual min=-0.009059 max=0.009426 Jy/beam
! Clean residual mean=-0.000012 rms=0.002198 Jy/beam
! Combined flux in latest and established models = 0.186712 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 30 model components to the UV plane model.
! The established model now contains 30 components and 0.186712 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8629 mas, bmaj=2.144 mas, bpa=-5.912 degrees
! Estimated noise=779.702 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.0118836 Jy
! Component: 100  -  total flux cleaned = 0.0190719 Jy
! Component: 150  -  total flux cleaned = 0.0239096 Jy
! Component: 200  -  total flux cleaned = 0.0261599 Jy
! Total flux subtracted in 200 components = 0.0261599 Jy
! Clean residual min=-0.004100 max=0.004565 Jy/beam
! Clean residual mean=-0.000016 rms=0.001034 Jy/beam
! Combined flux in latest and established models = 0.212871 Jy
! Adding 23 model components to the UV plane model.
! The established model now contains 49 components and 0.212871 Jy
! Inverting map 
! Added new window around map position (2.8, -1.4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00398655 Jy
! Component: 100  -  total flux cleaned = 0.00411468 Jy
! Component: 150  -  total flux cleaned = 0.00423644 Jy
! Component: 200  -  total flux cleaned = 0.00405355 Jy
! Total flux subtracted in 200 components = 0.00405355 Jy
! Clean residual min=-0.003715 max=0.003571 Jy/beam
! Clean residual mean=-0.000006 rms=0.000928 Jy/beam
! Combined flux in latest and established models = 0.216925 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 70 components and 0.216925 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.323 mas, bmaj=4.956 mas, bpa=-1.815 degrees
! Estimated noise=1029.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 = -7.24147e-05 Jy
! Component: 100  -  total flux cleaned = -1.6423e-05 Jy
! Component: 150  -  total flux cleaned = -6.79032e-05 Jy
! Component: 200  -  total flux cleaned = -6.43454e-05 Jy
! Total flux subtracted in 200 components = -6.43454e-05 Jy
! Clean residual min=-0.003472 max=0.003727 Jy/beam
! Clean residual mean=-0.000004 rms=0.001119 Jy/beam
! Combined flux in latest and established models = 0.216861 Jy
! Adding 19 model components to the UV plane model.
! The established model now contains 85 components and 0.216861 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8629 mas, bmaj=2.144 mas, bpa=-5.912 degrees
! Estimated noise=779.702 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000502059 Jy
! Component: 100  -  total flux cleaned = -0.000670016 Jy
! Component: 150  -  total flux cleaned = -0.000744332 Jy
! Component: 200  -  total flux cleaned = -0.000811881 Jy
! Total flux subtracted in 200 components = -0.000811881 Jy
! Clean residual min=-0.003510 max=0.003483 Jy/beam
! Clean residual mean=-0.000004 rms=0.000892 Jy/beam
! Combined flux in latest and established models = 0.216049 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 97 components and 0.216049 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.236406Jy  sigma=0.001243
! Fit after  self-cal, rms=0.236391Jy  sigma=0.001243
wmodel J0814-2521_X_1997_08_27_yyk\_map.mod
! Writing 97 model components to file: J0814-2521_X_1997_08_27_yyk_map.mod
wobs J0814-2521_X_1997_08_27_yyk\_uvs.fits
! Writing UV FITS file: J0814-2521_X_1997_08_27_yyk_uvs.fits
wwins J0814-2521_X_1997_08_27_yyk\_map.win
! wwins: Wrote 4 windows to J0814-2521_X_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 = 5.85508e-05 Jy
! Component: 100  -  total flux cleaned = 0.000237399 Jy
! Component: 150  -  total flux cleaned = 0.00034949 Jy
! Component: 200  -  total flux cleaned = 0.000404497 Jy
! Component: 250  -  total flux cleaned = 0.000352716 Jy
! Component: 300  -  total flux cleaned = 0.000251431 Jy
! Component: 350  -  total flux cleaned = 0.000153282 Jy
! Component: 400  -  total flux cleaned = 0.000201456 Jy
! Component: 450  -  total flux cleaned = 0.0002007 Jy
! Component: 500  -  total flux cleaned = 0.00015414 Jy
! Component: 550  -  total flux cleaned = 0.000154142 Jy
! Component: 600  -  total flux cleaned = -2.27663e-05 Jy
! Component: 650  -  total flux cleaned = -2.32443e-05 Jy
! Component: 700  -  total flux cleaned = -0.000193893 Jy
! Component: 750  -  total flux cleaned = -0.000193773 Jy
! Component: 800  -  total flux cleaned = -0.000152706 Jy
! Component: 850  -  total flux cleaned = -0.00015257 Jy
! Component: 900  -  total flux cleaned = -0.000192283 Jy
! Component: 950  -  total flux cleaned = -0.000112969 Jy
! Component: 1000  -  total flux cleaned = -0.00018968 Jy
! Component: 1050  -  total flux cleaned = -0.000189482 Jy
! Component: 1100  -  total flux cleaned = -0.000227231 Jy
! Component: 1150  -  total flux cleaned = -0.000375283 Jy
! Component: 1200  -  total flux cleaned = -0.000448487 Jy
! Component: 1250  -  total flux cleaned = -0.000592834 Jy
! Component: 1300  -  total flux cleaned = -0.000807155 Jy
! Component: 1350  -  total flux cleaned = -0.000807457 Jy
! Component: 1400  -  total flux cleaned = -0.00108665 Jy
! Component: 1450  -  total flux cleaned = -0.00105165 Jy
! Component: 1500  -  total flux cleaned = -0.00129048 Jy
! Component: 1550  -  total flux cleaned = -0.00122321 Jy
! Component: 1600  -  total flux cleaned = -0.00135744 Jy
! Component: 1650  -  total flux cleaned = -0.00148983 Jy
! Component: 1700  -  total flux cleaned = -0.00152282 Jy
! Component: 1750  -  total flux cleaned = -0.00162025 Jy
! Component: 1800  -  total flux cleaned = -0.00171628 Jy
! Component: 1850  -  total flux cleaned = -0.00168479 Jy
! Component: 1900  -  total flux cleaned = -0.0017477 Jy
! Component: 1950  -  total flux cleaned = -0.00174769 Jy
! Component: 2000  -  total flux cleaned = -0.00184029 Jy
! Total flux subtracted in 2048 components = -0.00177885 Jy
! Clean residual min=-0.001794 max=0.001682 Jy/beam
! Clean residual mean=-0.000001 rms=0.000564 Jy/beam
! Combined flux in latest and established models = 0.21427 Jy
keep
! Adding 129 model components to the UV plane model.
! The established model now contains 226 components and 0.21427 Jy
![Exited script file: muppet]
wmap "J0814-2521_X_1997_08_27_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8629 x 2.144 at -5.912 degrees (North through East)
! Clean map  min=-0.0025277  max=0.12997 Jy/beam
! Writing clean map to FITS file: J0814-2521_X_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.129969 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000562022 
device "J0814-2521_X_1997_08_27_yyk\_map.eps/VPS"
! Attempting to open device: 'J0814-2521_X_1997_08_27_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.29728 1.29728 2.59457 5.18914 10.3783 20.7565 41.5131 83.0262
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0016 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.129 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8629 x 2.144 at -5.912 degrees (North through East)
! Clean map  min=-0.0025277  max=0.12997 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0814-2521_X_1997_08_27_yyk\_map.gif/gif"
! Attempting to open device: 'J0814-2521_X_1997_08_27_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0814-2521_X_1997_08_27_yyk_uvs.log closed on Mon Jan  8 04:01:43 2007