! Started logfile: J0827+1052_X_2005_07_08_yyk_uvs.log on Fri Jan 20 11:22:56 2006
obs J0827+1052_X_2005_07_08_yyk_uve.fits
! Reading UV FITS file: J0827+1052_X_2005_07_08_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.525253 visibilities/baseline/integration-bin.
! Found source: J0827+1052
! 
! 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.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1407 lines of history.
! 
! Reading 1040 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 J0827+1052_X_2005_07_08_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 0.400x0.400 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.0970048 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 
! Your choice of large map pixels excluded 12.8% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
! Estimated beam: bmin=1.324 mas, bmaj=6.059 mas, bpa=-14.46 degrees
! Estimated noise=2.91219 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.0470393 Jy
! Component: 100  -  total flux cleaned = 0.0496748 Jy
! Total flux subtracted in 100 components = 0.0496748 Jy
! Clean residual min=-0.009609 max=0.013033 Jy/beam
! Clean residual mean=-0.000014 rms=0.003116 Jy/beam
! Combined flux in latest and established models = 0.0496748 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 10 components and 0.0496748 Jy
! 
! Correcting IF 1.
!  A total of 48 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 46 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 74 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 71 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.081022Jy  sigma=1.233656
! Fit after  self-cal, rms=0.077935Jy  sigma=1.164935
! Inverting map and beam 
! Your choice of large map pixels excluded 12.8% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
! Estimated beam: bmin=1.324 mas, bmaj=6.059 mas, bpa=-14.46 degrees
! Estimated noise=2.91219 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 
! Your choice of large map pixels excluded 12.8% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
! Estimated beam: bmin=1.711 mas, bmaj=6.074 mas, bpa=-15.32 degrees
! Estimated noise=2.02024 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.0151107 Jy
! Component: 100  -  total flux cleaned = 0.0218261 Jy
! Component: 150  -  total flux cleaned = 0.0253527 Jy
! Component: 200  -  total flux cleaned = 0.0266344 Jy
! Total flux subtracted in 200 components = 0.0266344 Jy
! Clean residual min=-0.005363 max=0.007535 Jy/beam
! Clean residual mean=-0.000036 rms=0.001946 Jy/beam
! Combined flux in latest and established models = 0.0763092 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 24 components and 0.0763092 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077337Jy  sigma=1.132995
! Fit after  self-cal, rms=0.076856Jy  sigma=1.127641
! Inverting map 
! Your choice of large map pixels excluded 12.8% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.711 x 6.074 at -15.32 degrees (North through East)
! Clean map  min=-0.0053212  max=0.066159 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
!  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 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  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.076856Jy  sigma=1.127641
! Fit after  self-cal, rms=0.077154Jy  sigma=1.130534
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.077154Jy  sigma=1.130534
! Fit after  self-cal, rms=0.077140Jy  sigma=1.129648
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
! Estimated beam: bmin=1.727 mas, bmaj=6.032 mas, bpa=-15.32 degrees
! Estimated noise=2.03582 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.00169222 Jy
! Component: 100  -  total flux cleaned = 0.00243136 Jy
! Component: 150  -  total flux cleaned = 0.00281817 Jy
! Component: 200  -  total flux cleaned = 0.00303855 Jy
! Total flux subtracted in 200 components = 0.00303855 Jy
! Clean residual min=-0.005033 max=0.006470 Jy/beam
! Clean residual mean=-0.000033 rms=0.001896 Jy/beam
! Combined flux in latest and established models = 0.0793477 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 30 components and 0.0793477 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077030Jy  sigma=1.128018
! Fit after  self-cal, rms=0.076877Jy  sigma=1.126224
! Inverting map 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
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.076877Jy  sigma=1.126224
! Fit after  self-cal, rms=0.066961Jy  sigma=0.964675
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
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.00709122 Jy
! Component: 100  -  total flux cleaned = 0.00817072 Jy
! Component: 150  -  total flux cleaned = 0.00808256 Jy
! Component: 200  -  total flux cleaned = 0.0080852 Jy
! Total flux subtracted in 200 components = 0.0080852 Jy
! Clean residual min=-0.004979 max=0.005930 Jy/beam
! Clean residual mean=-0.000024 rms=0.001697 Jy/beam
! Combined flux in latest and established models = 0.0874329 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 40 components and 0.0874329 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066723Jy  sigma=0.954023
! Fit after  self-cal, rms=0.065108Jy  sigma=0.937148
! Inverting map 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
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: 1.727 x 6.032 at -15.32 degrees (North through East)
! Clean map  min=-0.0047993  max=0.072988 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
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 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
! Estimated beam: bmin=2.896 mas, bmaj=6.07 mas, bpa=-13.9 degrees
! Estimated noise=2.17935 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.000455956 Jy
! Component: 100  -  total flux cleaned = -0.000304468 Jy
! Component: 150  -  total flux cleaned = -0.000305331 Jy
! Component: 200  -  total flux cleaned = -0.000354361 Jy
! Total flux subtracted in 200 components = -0.000354361 Jy
! Clean residual min=-0.005158 max=0.006145 Jy/beam
! Clean residual mean=-0.000023 rms=0.001841 Jy/beam
! Combined flux in latest and established models = 0.0870786 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 47 components and 0.0870785 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.065073Jy  sigma=0.936243
! Fit after  self-cal, rms=0.064864Jy  sigma=0.934230
! Inverting map 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
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 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
! Estimated beam: bmin=1.324 mas, bmaj=6.057 mas, bpa=-14.46 degrees
! Estimated noise=2.92733 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0644789 Jy
! Component: 100  -  total flux cleaned = 0.0747374 Jy
! Component: 150  -  total flux cleaned = 0.0775535 Jy
! Component: 200  -  total flux cleaned = 0.0780404 Jy
! Total flux subtracted in 200 components = 0.0780404 Jy
! Clean residual min=-0.010248 max=0.010232 Jy/beam
! Clean residual mean=-0.000022 rms=0.002777 Jy/beam
! Combined flux in latest and established models = 0.0780405 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 20 model components to the UV plane model.
! The established model now contains 20 components and 0.0780405 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
! Estimated beam: bmin=1.727 mas, bmaj=6.032 mas, bpa=-15.32 degrees
! Estimated noise=2.03582 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.00576403 Jy
! Component: 100  -  total flux cleaned = 0.00691076 Jy
! Component: 150  -  total flux cleaned = 0.00735414 Jy
! Component: 200  -  total flux cleaned = 0.00753918 Jy
! Total flux subtracted in 200 components = 0.00753918 Jy
! Clean residual min=-0.004961 max=0.007022 Jy/beam
! Clean residual mean=-0.000023 rms=0.001742 Jy/beam
! Combined flux in latest and established models = 0.0855796 Jy
! Adding 17 model components to the UV plane model.
! The established model now contains 30 components and 0.0855796 Jy
! Inverting map 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
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 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
! Estimated beam: bmin=2.896 mas, bmaj=6.07 mas, bpa=-13.9 degrees
! Estimated noise=2.17935 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 = -5.58459e-05 Jy
! Component: 100  -  total flux cleaned = -0.00012154 Jy
! Component: 150  -  total flux cleaned = -0.000179271 Jy
! Component: 200  -  total flux cleaned = -0.000232539 Jy
! Total flux subtracted in 200 components = -0.000232539 Jy
! Clean residual min=-0.005318 max=0.006424 Jy/beam
! Clean residual mean=-0.000024 rms=0.001856 Jy/beam
! Combined flux in latest and established models = 0.0853471 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 36 components and 0.0853471 Jy
! Inverting map 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
! Estimated beam: bmin=1.727 mas, bmaj=6.032 mas, bpa=-15.32 degrees
! Estimated noise=2.03582 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000413647 Jy
! Component: 100  -  total flux cleaned = 0.000560548 Jy
! Component: 150  -  total flux cleaned = 0.000687239 Jy
! Component: 200  -  total flux cleaned = 0.000802167 Jy
! Total flux subtracted in 200 components = 0.000802167 Jy
! Clean residual min=-0.004777 max=0.006286 Jy/beam
! Clean residual mean=-0.000019 rms=0.001645 Jy/beam
! Combined flux in latest and established models = 0.0861493 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 41 components and 0.0861493 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.065341Jy  sigma=0.941057
! Fit after  self-cal, rms=0.065174Jy  sigma=0.938985
wmodel J0827+1052_X_2005_07_08_yyk\_map.mod
! Writing 41 model components to file: J0827+1052_X_2005_07_08_yyk_map.mod
wobs J0827+1052_X_2005_07_08_yyk\_uvs.fits
! Writing UV FITS file: J0827+1052_X_2005_07_08_yyk_uvs.fits
wwins J0827+1052_X_2005_07_08_yyk\_map.win
! wwins: Wrote 1 windows to J0827+1052_X_2005_07_08_yyk_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00274578 Jy
! Component: 100  -  total flux cleaned = 0.00432546 Jy
! Component: 150  -  total flux cleaned = 0.00498947 Jy
! Component: 200  -  total flux cleaned = 0.00544056 Jy
! Component: 250  -  total flux cleaned = 0.00593453 Jy
! Component: 300  -  total flux cleaned = 0.00593636 Jy
! Component: 350  -  total flux cleaned = 0.00600076 Jy
! Component: 400  -  total flux cleaned = 0.00593936 Jy
! Component: 450  -  total flux cleaned = 0.00588149 Jy
! Component: 500  -  total flux cleaned = 0.00587953 Jy
! Component: 550  -  total flux cleaned = 0.00571944 Jy
! Component: 600  -  total flux cleaned = 0.00582285 Jy
! Component: 650  -  total flux cleaned = 0.00587293 Jy
! Component: 700  -  total flux cleaned = 0.00592034 Jy
! Component: 750  -  total flux cleaned = 0.00592155 Jy
! Component: 800  -  total flux cleaned = 0.00600996 Jy
! Component: 850  -  total flux cleaned = 0.00579644 Jy
! Component: 900  -  total flux cleaned = 0.00571415 Jy
! Component: 950  -  total flux cleaned = 0.00559138 Jy
! Component: 1000  -  total flux cleaned = 0.00543299 Jy
! Total flux subtracted in 1024 components = 0.00527704 Jy
! Clean residual min=-0.002125 max=0.002017 Jy/beam
! Clean residual mean=-0.000012 rms=0.000787 Jy/beam
! Combined flux in latest and established models = 0.0914263 Jy
keep
! Adding 56 model components to the UV plane model.
! The established model now contains 97 components and 0.0914263 Jy
![Exited script file: muppet]
wmap "J0827+1052_X_2005_07_08_yyk\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.727 x 6.032 at -15.32 degrees (North through East)
! Clean map  min=-0.0036824  max=0.073262 Jy/beam
! Writing clean map to FITS file: J0827+1052_X_2005_07_08_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0732619 
invert
! Inverting map 
! Your choice of large map pixels excluded 13% of the data.
!  The x-axis pixel size should ideally be below 0.3048 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00076007 
device "J0827+1052_X_2005_07_08_yyk\_map.eps/VPS"
! Attempting to open device: 'J0827+1052_X_2005_07_08_yyk_map.eps/VPS'
loglevs 1*100*3*image_rms/peak_flux
! The new contour levels are:
!  -3.11241 3.11241 6.22482 12.4496 24.8993 49.7985 99.5971
print "clev=",int(1*3*image_rms*10000)/10000
! clev= 0.0022 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.073 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.727 x 6.032 at -15.32 degrees (North through East)
! Clean map  min=-0.0036824  max=0.073262 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0827+1052_X_2005_07_08_yyk\_map.gif/gif"
! Attempting to open device: 'J0827+1052_X_2005_07_08_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0827+1052_X_2005_07_08_yyk_uvs.log closed on Fri Jan 20 11:22:56 2006