! Started logfile: J0846-2607_S_2005_05_12_yyk_uvs.log on Sat Oct  8 22:56:02 2005
obs J0846-2607_S_2005_05_12_yyk_uve.fits
! Reading UV FITS file: J0846-2607_S_2005_05_12_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.606061 visibilities/baseline/integration-bin.
! Found source: J0846-2607
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  2.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1443 lines of history.
! 
! Reading 1200 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 J0846-2607_S_2005_05_12_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 = 256x256 pixels with 1.50x1.50 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.152656 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=7.479 mas, bmaj=26.7 mas, bpa=14.72 degrees
! Estimated noise=2.27383 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.100753 Jy
! Component: 100  -  total flux cleaned = 0.126868 Jy
! Total flux subtracted in 100 components = 0.126868 Jy
! Clean residual min=-0.010055 max=0.010135 Jy/beam
! Clean residual mean=0.000202 rms=0.003440 Jy/beam
! Combined flux in latest and established models = 0.126868 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 19 components and 0.126868 Jy
! 
! Correcting IF 1.
!  A total of 41 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 41 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 45 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 41 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.096968Jy  sigma=1.520684
! Fit after  self-cal, rms=0.084612Jy  sigma=1.205560
! Inverting map and beam 
! Estimated beam: bmin=7.479 mas, bmaj=26.7 mas, bpa=14.72 degrees
! Estimated noise=2.27383 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=9.109 mas, bmaj=32.17 mas, bpa=18.59 degrees
! Estimated noise=1.58808 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.0219071 Jy
! Component: 100  -  total flux cleaned = 0.027652 Jy
! Component: 150  -  total flux cleaned = 0.0307449 Jy
! Component: 200  -  total flux cleaned = 0.0328666 Jy
! Total flux subtracted in 200 components = 0.0328666 Jy
! Clean residual min=-0.007668 max=0.008001 Jy/beam
! Clean residual mean=0.000085 rms=0.002538 Jy/beam
! Combined flux in latest and established models = 0.159735 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 44 components and 0.159735 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.080780Jy  sigma=1.129989
! Fit after  self-cal, rms=0.080756Jy  sigma=1.129034
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 9.109 x 32.17 at 18.59 degrees (North through East)
! Clean map  min=-0.0069187  max=0.12745 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.00202
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.84     FD        1.08     HN        1.00*    KP        0.94     
!   LA        0.96     MK        1.00*    NL        1.12     OV        1.00     
!   PT        1.03     SC        1.00*    
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.080756Jy  sigma=1.129034
! Fit after  self-cal, rms=0.080317Jy  sigma=1.123744
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.080317Jy  sigma=1.123744
! Fit after  self-cal, rms=0.080331Jy  sigma=1.123650
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=9.085 mas, bmaj=32.25 mas, bpa=19.22 degrees
! Estimated noise=1.58558 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.00142983 Jy
! Component: 100  -  total flux cleaned = 0.00233747 Jy
! Component: 150  -  total flux cleaned = 0.00265141 Jy
! Component: 200  -  total flux cleaned = 0.00275558 Jy
! Total flux subtracted in 200 components = 0.00275558 Jy
! Clean residual min=-0.006805 max=0.008067 Jy/beam
! Clean residual mean=0.000071 rms=0.002262 Jy/beam
! Combined flux in latest and established models = 0.16249 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 54 components and 0.16249 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.080191Jy  sigma=1.120727
! Fit after  self-cal, rms=0.080199Jy  sigma=1.120446
! 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.080199Jy  sigma=1.120446
! Fit after  self-cal, rms=0.073554Jy  sigma=1.005009
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.0021556 Jy
! Component: 100  -  total flux cleaned = 0.00230651 Jy
! Component: 150  -  total flux cleaned = 0.00208346 Jy
! Component: 200  -  total flux cleaned = 0.00207864 Jy
! Total flux subtracted in 200 components = 0.00207864 Jy
! Clean residual min=-0.006003 max=0.008106 Jy/beam
! Clean residual mean=0.000067 rms=0.002262 Jy/beam
! Combined flux in latest and established models = 0.164569 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 67 components and 0.164569 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.073070Jy  sigma=0.998121
! Fit after  self-cal, rms=0.072377Jy  sigma=0.991220
! 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: 9.085 x 32.25 at 19.22 degrees (North through East)
! Clean map  min=-0.0060122  max=0.13196 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.072377Jy  sigma=0.991220
! Fit after  self-cal, rms=0.072229Jy  sigma=0.983997
! 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.072229Jy  sigma=0.983997
! Fit after  self-cal, rms=0.072183Jy  sigma=0.983340
! Inverting map and beam 
! Estimated beam: bmin=8.935 mas, bmaj=31.72 mas, bpa=19.58 degrees
! Estimated noise=1.59599 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00463474 Jy
! Component: 100  -  total flux cleaned = 0.00494879 Jy
! Component: 150  -  total flux cleaned = 0.00486098 Jy
! Component: 200  -  total flux cleaned = 0.00486346 Jy
! Total flux subtracted in 200 components = 0.00486346 Jy
! Clean residual min=-0.005540 max=0.006914 Jy/beam
! Clean residual mean=0.000043 rms=0.002070 Jy/beam
! Combined flux in latest and established models = 0.169433 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 76 components and 0.169433 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071890Jy  sigma=0.978113
! Fit after  self-cal, rms=0.071828Jy  sigma=0.977788
! 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.071828Jy  sigma=0.977788
! Fit after  self-cal, rms=0.073115Jy  sigma=0.976690
! 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.073115Jy  sigma=0.976690
! Fit after  self-cal, rms=0.073131Jy  sigma=0.976554
! Inverting map and beam 
! Estimated beam: bmin=8.857 mas, bmaj=31.38 mas, bpa=19.71 degrees
! Estimated noise=1.62627 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00458887 Jy
! Component: 100  -  total flux cleaned = 0.00533641 Jy
! Component: 150  -  total flux cleaned = 0.00541312 Jy
! Component: 200  -  total flux cleaned = 0.0054139 Jy
! Total flux subtracted in 200 components = 0.0054139 Jy
! Clean residual min=-0.005788 max=0.006534 Jy/beam
! Clean residual mean=0.000041 rms=0.001993 Jy/beam
! Combined flux in latest and established models = 0.174847 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 83 components and 0.174847 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.072862Jy  sigma=0.972040
! Fit after  self-cal, rms=0.072820Jy  sigma=0.971842
! 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=9.931 mas, bmaj=33.1 mas, bpa=19.91 degrees
! Estimated noise=1.65576 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.000185853 Jy
! Component: 100  -  total flux cleaned = 0.000184618 Jy
! Component: 150  -  total flux cleaned = 0.000239498 Jy
! Component: 200  -  total flux cleaned = 0.000239165 Jy
! Total flux subtracted in 200 components = 0.000239165 Jy
! Clean residual min=-0.006053 max=0.007117 Jy/beam
! Clean residual mean=0.000052 rms=0.002145 Jy/beam
! Combined flux in latest and established models = 0.175086 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 87 components and 0.175086 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.072796Jy  sigma=0.970532
! Fit after  self-cal, rms=0.072768Jy  sigma=0.970438
! Inverting map 
uvtaper 0,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=7.389 mas, bmaj=26.35 mas, bpa=15.35 degrees
! Estimated noise=2.30075 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.113147 Jy
! Component: 100  -  total flux cleaned = 0.142845 Jy
! Component: 150  -  total flux cleaned = 0.153285 Jy
! Component: 200  -  total flux cleaned = 0.160043 Jy
! Total flux subtracted in 200 components = 0.160043 Jy
! Clean residual min=-0.007004 max=0.006743 Jy/beam
! Clean residual mean=0.000082 rms=0.002309 Jy/beam
! Combined flux in latest and established models = 0.160043 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 36 model components to the UV plane model.
! The established model now contains 36 components and 0.160043 Jy
! Inverting map and beam 
! Estimated beam: bmin=8.857 mas, bmaj=31.38 mas, bpa=19.71 degrees
! Estimated noise=1.62627 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.00687479 Jy
! Component: 100  -  total flux cleaned = 0.0102865 Jy
! Component: 150  -  total flux cleaned = 0.012082 Jy
! Component: 200  -  total flux cleaned = 0.0128938 Jy
! Total flux subtracted in 200 components = 0.0128938 Jy
! Clean residual min=-0.005874 max=0.006306 Jy/beam
! Clean residual mean=0.000052 rms=0.001979 Jy/beam
! Combined flux in latest and established models = 0.172937 Jy
! Adding 19 model components to the UV plane model.
! The established model now contains 49 components and 0.172937 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=9.931 mas, bmaj=33.1 mas, bpa=19.91 degrees
! Estimated noise=1.65576 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.00101434 Jy
! Component: 100  -  total flux cleaned = 0.00117673 Jy
! Component: 150  -  total flux cleaned = 0.00138654 Jy
! Component: 200  -  total flux cleaned = 0.00153206 Jy
! Total flux subtracted in 200 components = 0.00153206 Jy
! Clean residual min=-0.005511 max=0.006985 Jy/beam
! Clean residual mean=0.000058 rms=0.002123 Jy/beam
! Combined flux in latest and established models = 0.174469 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 57 components and 0.174469 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=8.857 mas, bmaj=31.38 mas, bpa=19.71 degrees
! Estimated noise=1.62627 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 4.13769e-05 Jy
! Component: 100  -  total flux cleaned = 0.000138399 Jy
! Component: 150  -  total flux cleaned = 0.000226802 Jy
! Component: 200  -  total flux cleaned = 0.00031189 Jy
! Total flux subtracted in 200 components = 0.00031189 Jy
! Clean residual min=-0.005611 max=0.006379 Jy/beam
! Clean residual mean=0.000045 rms=0.001939 Jy/beam
! Combined flux in latest and established models = 0.174781 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 64 components and 0.174781 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.072713Jy  sigma=0.966982
! Fit after  self-cal, rms=0.072613Jy  sigma=0.966525
wmodel J0846-2607_S_2005_05_12_yyk\_map.mod
! Writing 64 model components to file: J0846-2607_S_2005_05_12_yyk_map.mod
wobs J0846-2607_S_2005_05_12_yyk\_uvs.fits
! Writing UV FITS file: J0846-2607_S_2005_05_12_yyk_uvs.fits
wwins J0846-2607_S_2005_05_12_yyk\_map.win
! wwins: Wrote 1 windows to J0846-2607_S_2005_05_12_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=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00217076 Jy
! Component: 100  -  total flux cleaned = 0.00152872 Jy
! Component: 150  -  total flux cleaned = 0.000407105 Jy
! Component: 200  -  total flux cleaned = -0.000389999 Jy
! Component: 250  -  total flux cleaned = -0.00076025 Jy
! Component: 300  -  total flux cleaned = -0.000898811 Jy
! Component: 350  -  total flux cleaned = -0.00109697 Jy
! Component: 400  -  total flux cleaned = -0.00147327 Jy
! Component: 450  -  total flux cleaned = -0.00159105 Jy
! Component: 500  -  total flux cleaned = -0.00164789 Jy
! Component: 550  -  total flux cleaned = -0.00186226 Jy
! Component: 600  -  total flux cleaned = -0.00201899 Jy
! Component: 650  -  total flux cleaned = -0.00211844 Jy
! Component: 700  -  total flux cleaned = -0.00216594 Jy
! Component: 750  -  total flux cleaned = -0.00226078 Jy
! Component: 800  -  total flux cleaned = -0.0025369 Jy
! Component: 850  -  total flux cleaned = -0.00258161 Jy
! Component: 900  -  total flux cleaned = -0.00271244 Jy
! Component: 950  -  total flux cleaned = -0.00292527 Jy
! Component: 1000  -  total flux cleaned = -0.00292599 Jy
! Total flux subtracted in 1024 components = -0.00300836 Jy
! Clean residual min=-0.002414 max=0.002228 Jy/beam
! Clean residual mean=0.000016 rms=0.000957 Jy/beam
! Combined flux in latest and established models = 0.171772 Jy
keep
! Adding 67 model components to the UV plane model.
! The established model now contains 131 components and 0.171772 Jy
![Exited script file: muppet]
wmap "J0846-2607_S_2005_05_12_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 8.857 x 31.38 at 19.71 degrees (North through East)
! Clean map  min=-0.005717  max=0.13585 Jy/beam
! Writing clean map to FITS file: J0846-2607_S_2005_05_12_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.13585 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000947244 
device "J0846-2607_S_2005_05_12_yyk\_map.eps/VPS"
! Attempting to open device: 'J0846-2607_S_2005_05_12_yyk_map.eps/VPS'
loglevs 1*100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.09181 2.09181 4.18363 8.36726 16.7345 33.469 66.9381
print "clev=",int(1*3*image_rms*10000)/10000
! clev= 0.0028 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.135 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 8.857 x 31.38 at 19.71 degrees (North through East)
! Clean map  min=-0.005717  max=0.13585 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0846-2607_S_2005_05_12_yyk\_map.gif/gif"
! Attempting to open device: 'J0846-2607_S_2005_05_12_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0846-2607_S_2005_05_12_yyk_uvs.log closed on Sat Oct  8 22:56:03 2005