! Started logfile: J0746-1555_X_2002_01_31_yyk_uvs.log on Wed Jun 27 10:51:44 2007
obs J0746-1555_X_2002_01_31_yyk_uva.fits
! Reading UV FITS file: J0746-1555_X_2002_01_31_yyk_uva.fits
! AN table 1: 80 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.745278 visibilities/baseline/integration-bin.
! Found source: J0746-1555
! 
! 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.40947e+09        8e+06          1        8e+06
!  02        2  8.47947e+09        8e+06          1        8e+06
!  03        3  8.79447e+09        8e+06          1        8e+06
!  04        4  8.89947e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1544 lines of history.
! 
! Reading 10732 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
flag NL
! Flagging baselines of antenna 1:NL in the currently selected channels.
![@muppet J0746-1555_X_2002_01_31_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.194024 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.7041 mas, bmaj=1.59 mas, bpa=4.431 degrees
! Estimated noise=1431.33 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.0859522 Jy
! Component: 100  -  total flux cleaned = 0.115513 Jy
! Total flux subtracted in 100 components = 0.115513 Jy
! Clean residual min=-0.007945 max=0.009943 Jy/beam
! Clean residual mean=0.000026 rms=0.002461 Jy/beam
! Combined flux in latest and established models = 0.115513 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.115513 Jy
! 
! Correcting IF 1.
!  A total of 187 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 187 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 187 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 187 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.162257Jy  sigma=0.001378
! Fit after  self-cal, rms=0.162053Jy  sigma=0.001376
! Inverting map and beam 
! Estimated beam: bmin=0.7041 mas, bmaj=1.59 mas, bpa=4.431 degrees
! Estimated noise=1431.33 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.9403 mas, bmaj=2.139 mas, bpa=3.632 degrees
! Estimated noise=825.51 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.0186786 Jy
! Component: 100  -  total flux cleaned = 0.0255195 Jy
! Component: 150  -  total flux cleaned = 0.0283633 Jy
! Component: 200  -  total flux cleaned = 0.0291574 Jy
! Total flux subtracted in 200 components = 0.0291574 Jy
! Clean residual min=-0.005925 max=0.005333 Jy/beam
! Clean residual mean=0.000008 rms=0.001462 Jy/beam
! Combined flux in latest and established models = 0.144671 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 35 model components to the UV plane model.
! The established model now contains 42 components and 0.144671 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160980Jy  sigma=0.001361
! Fit after  self-cal, rms=0.160972Jy  sigma=0.001361
! 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.9403 x 2.139 at 3.632 degrees (North through East)
! Clean map  min=-0.0053534  max=0.091763 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.01592
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.92     FD        0.89     HN        1.00*    KP        0.99     
!   LA        1.05     MK        0.98     NL        1.00*    OV        0.96     
!   PT        0.96     SC        1.08     
! 
! 
! Correcting IF 3.
!  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 4.
!  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*    
! 
! 
! Fit before self-cal, rms=0.160972Jy  sigma=0.001361
! Fit after  self-cal, rms=0.161127Jy  sigma=0.001360
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.161127Jy  sigma=0.001360
! Fit after  self-cal, rms=0.161126Jy  sigma=0.001360
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9531 mas, bmaj=2.156 mas, bpa=3.279 degrees
! Estimated noise=820.685 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.000647938 Jy
! Component: 100  -  total flux cleaned = -0.000556314 Jy
! Component: 150  -  total flux cleaned = -0.000473242 Jy
! Component: 200  -  total flux cleaned = -0.000395627 Jy
! Total flux subtracted in 200 components = -0.000395627 Jy
! Clean residual min=-0.005646 max=0.005321 Jy/beam
! Clean residual mean=0.000020 rms=0.001386 Jy/beam
! Combined flux in latest and established models = 0.144275 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 46 components and 0.144275 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161103Jy  sigma=0.001360
! Fit after  self-cal, rms=0.161102Jy  sigma=0.001360
! 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.161102Jy  sigma=0.001360
! Fit after  self-cal, rms=0.160139Jy  sigma=0.001351
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.000723395 Jy
! Component: 100  -  total flux cleaned = 0.000838523 Jy
! Component: 150  -  total flux cleaned = 0.000885196 Jy
! Component: 200  -  total flux cleaned = 0.000925968 Jy
! Total flux subtracted in 200 components = 0.000925968 Jy
! Clean residual min=-0.005065 max=0.004680 Jy/beam
! Clean residual mean=0.000017 rms=0.001353 Jy/beam
! Combined flux in latest and established models = 0.145201 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 49 components and 0.145201 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160102Jy  sigma=0.001351
! Fit after  self-cal, rms=0.159944Jy  sigma=0.001350
! 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.9531 x 2.156 at 3.279 degrees (North through East)
! Clean map  min=-0.0047822  max=0.092553 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 
! Estimated beam: bmin=2.843 mas, bmaj=5.828 mas, bpa=23.57 degrees
! Estimated noise=1019.33 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.00163501 Jy
! Component: 100  -  total flux cleaned = 0.00167329 Jy
! Component: 150  -  total flux cleaned = 0.00178935 Jy
! Component: 200  -  total flux cleaned = 0.00189277 Jy
! Total flux subtracted in 200 components = 0.00189277 Jy
! Clean residual min=-0.004967 max=0.004598 Jy/beam
! Clean residual mean=0.000018 rms=0.001614 Jy/beam
! Combined flux in latest and established models = 0.147094 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 53 components and 0.147094 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159964Jy  sigma=0.001350
! Fit after  self-cal, rms=0.159916Jy  sigma=0.001350
! 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.7072 mas, bmaj=1.592 mas, bpa=4.247 degrees
! Estimated noise=1429.74 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0874632 Jy
! Component: 100  -  total flux cleaned = 0.116248 Jy
! Component: 150  -  total flux cleaned = 0.128047 Jy
! Component: 200  -  total flux cleaned = 0.134142 Jy
! Total flux subtracted in 200 components = 0.134142 Jy
! Clean residual min=-0.006083 max=0.007243 Jy/beam
! Clean residual mean=0.000016 rms=0.001863 Jy/beam
! Combined flux in latest and established models = 0.134142 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 23 model components to the UV plane model.
! The established model now contains 23 components and 0.134142 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9531 mas, bmaj=2.156 mas, bpa=3.279 degrees
! Estimated noise=820.685 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  keep
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (-1.2, 0.8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00882599 Jy
! Component: 100  -  total flux cleaned = 0.0118622 Jy
! Component: 150  -  total flux cleaned = 0.0123298 Jy
! Component: 200  -  total flux cleaned = 0.0124131 Jy
! Total flux subtracted in 200 components = 0.0124131 Jy
! Clean residual min=-0.004737 max=0.005119 Jy/beam
! Clean residual mean=0.000011 rms=0.001273 Jy/beam
! Combined flux in latest and established models = 0.146555 Jy
! Adding 25 model components to the UV plane model.
! The established model now contains 46 components and 0.146555 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.843 mas, bmaj=5.828 mas, bpa=23.57 degrees
! Estimated noise=1019.33 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.000778226 Jy
! Component: 100  -  total flux cleaned = 0.000920277 Jy
! Component: 150  -  total flux cleaned = 0.00100201 Jy
! Component: 200  -  total flux cleaned = 0.00107675 Jy
! Total flux subtracted in 200 components = 0.00107675 Jy
! Clean residual min=-0.004907 max=0.004700 Jy/beam
! Clean residual mean=0.000014 rms=0.001584 Jy/beam
! Combined flux in latest and established models = 0.147632 Jy
! Adding 13 model components to the UV plane model.
! The established model now contains 58 components and 0.147632 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9531 mas, bmaj=2.156 mas, bpa=3.279 degrees
! Estimated noise=820.685 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000598354 Jy
! Component: 100  -  total flux cleaned = -0.000479554 Jy
! Component: 150  -  total flux cleaned = -0.000427786 Jy
! Component: 200  -  total flux cleaned = -0.000380244 Jy
! Total flux subtracted in 200 components = -0.000380244 Jy
! Clean residual min=-0.004638 max=0.005024 Jy/beam
! Clean residual mean=0.000009 rms=0.001254 Jy/beam
! Combined flux in latest and established models = 0.147252 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 63 components and 0.147252 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159667Jy  sigma=0.001348
! Fit after  self-cal, rms=0.159641Jy  sigma=0.001348
wmodel J0746-1555_X_2002_01_31_yyk\_map.mod
! Writing 63 model components to file: J0746-1555_X_2002_01_31_yyk_map.mod
wobs J0746-1555_X_2002_01_31_yyk\_uvs.fits
! Applying 80 buffered edits.
! Writing UV FITS file: J0746-1555_X_2002_01_31_yyk_uvs.fits
wwins J0746-1555_X_2002_01_31_yyk\_map.win
! wwins: Wrote 2 windows to J0746-1555_X_2002_01_31_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.00019644 Jy
! Component: 100  -  total flux cleaned = 0.000193982 Jy
! Component: 150  -  total flux cleaned = 5.22625e-05 Jy
! Component: 200  -  total flux cleaned = -8.52312e-05 Jy
! Component: 250  -  total flux cleaned = 4.37609e-05 Jy
! Component: 300  -  total flux cleaned = 0.000230605 Jy
! Component: 350  -  total flux cleaned = 0.000652838 Jy
! Component: 400  -  total flux cleaned = 0.00117572 Jy
! Component: 450  -  total flux cleaned = 0.0016823 Jy
! Component: 500  -  total flux cleaned = 0.00206461 Jy
! Component: 550  -  total flux cleaned = 0.00248876 Jy
! Component: 600  -  total flux cleaned = 0.00290173 Jy
! Component: 650  -  total flux cleaned = 0.00325244 Jy
! Component: 700  -  total flux cleaned = 0.00354391 Jy
! Component: 750  -  total flux cleaned = 0.00368529 Jy
! Component: 800  -  total flux cleaned = 0.00391669 Jy
! Component: 850  -  total flux cleaned = 0.00423351 Jy
! Component: 900  -  total flux cleaned = 0.00467414 Jy
! Component: 950  -  total flux cleaned = 0.00506038 Jy
! Component: 1000  -  total flux cleaned = 0.00548154 Jy
! Component: 1050  -  total flux cleaned = 0.00585265 Jy
! Component: 1100  -  total flux cleaned = 0.00617545 Jy
! Component: 1150  -  total flux cleaned = 0.00637357 Jy
! Component: 1200  -  total flux cleaned = 0.00664536 Jy
! Component: 1250  -  total flux cleaned = 0.00687415 Jy
! Component: 1300  -  total flux cleaned = 0.00709863 Jy
! Component: 1350  -  total flux cleaned = 0.00731866 Jy
! Component: 1400  -  total flux cleaned = 0.00746315 Jy
! Component: 1450  -  total flux cleaned = 0.00756955 Jy
! Component: 1500  -  total flux cleaned = 0.00771044 Jy
! Component: 1550  -  total flux cleaned = 0.00791742 Jy
! Component: 1600  -  total flux cleaned = 0.0079854 Jy
! Component: 1650  -  total flux cleaned = 0.00808572 Jy
! Component: 1700  -  total flux cleaned = 0.00821781 Jy
! Component: 1750  -  total flux cleaned = 0.00828227 Jy
! Component: 1800  -  total flux cleaned = 0.00834614 Jy
! Component: 1850  -  total flux cleaned = 0.00847265 Jy
! Component: 1900  -  total flux cleaned = 0.00856634 Jy
! Component: 1950  -  total flux cleaned = 0.0086895 Jy
! Component: 2000  -  total flux cleaned = 0.00875007 Jy
! Total flux subtracted in 2048 components = 0.00878018 Jy
! Clean residual min=-0.001842 max=0.002198 Jy/beam
! Clean residual mean=0.000014 rms=0.000574 Jy/beam
! Combined flux in latest and established models = 0.156032 Jy
keep
! Adding 129 model components to the UV plane model.
! The established model now contains 192 components and 0.156032 Jy
![Exited script file: muppet]
wmap "J0746-1555_X_2002_01_31_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9531 x 2.156 at 3.279 degrees (North through East)
! Clean map  min=-0.0032632  max=0.093297 Jy/beam
! Writing clean map to FITS file: J0746-1555_X_2002_01_31_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.093297 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000565264 
device "J0746-1555_X_2002_01_31_yyk\_map.eps/VPS"
! Attempting to open device: 'J0746-1555_X_2002_01_31_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.81763 1.81763 3.63526 7.27051 14.541 29.082 58.1641
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0016 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.093 
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.9531 x 2.156 at 3.279 degrees (North through East)
! Clean map  min=-0.0032632  max=0.093297 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0746-1555_X_2002_01_31_yyk\_map.gif/gif"
! Attempting to open device: 'J0746-1555_X_2002_01_31_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0746-1555_X_2002_01_31_yyk_uvs.log closed on Wed Jun 27 10:51:50 2007