! Started logfile: J0610-1847_X_2005_06_30_yyk_uvs.log on Sat Oct  8 17:01:44 2005
obs J0610-1847_X_2005_06_30_yyk_uve.fits
! Reading UV FITS file: J0610-1847_X_2005_06_30_yyk_uve.fits
! AN table 1: 10 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.511111 visibilities/baseline/integration-bin.
! Found source: J0610-1847
! 
! 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 1460 lines of history.
! 
! Reading 920 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 J0610-1847_X_2005_06_30_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.10674 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.8503 mas, bmaj=2.093 mas, bpa=-0.7859 degrees
! Estimated noise=2.66829 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.0517336 Jy
! Component: 100  -  total flux cleaned = 0.0614743 Jy
! Total flux subtracted in 100 components = 0.0614743 Jy
! Clean residual min=-0.012717 max=0.015082 Jy/beam
! Clean residual mean=-0.000006 rms=0.003466 Jy/beam
! Combined flux in latest and established models = 0.0614743 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 12 components and 0.0614743 Jy
! 
! Correcting IF 1.
!  A total of 41 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 34 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 100 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 65 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.089167Jy  sigma=1.266162
! Fit after  self-cal, rms=0.087917Jy  sigma=1.237779
! Inverting map and beam 
! Estimated beam: bmin=0.8503 mas, bmaj=2.093 mas, bpa=-0.7859 degrees
! Estimated noise=2.66829 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.9616 mas, bmaj=2.595 mas, bpa=-3.401 degrees
! Estimated noise=1.86298 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.0137308 Jy
! Component: 100  -  total flux cleaned = 0.0147869 Jy
! Component: 150  -  total flux cleaned = 0.0147841 Jy
! Component: 200  -  total flux cleaned = 0.0147752 Jy
! Total flux subtracted in 200 components = 0.0147752 Jy
! Clean residual min=-0.009940 max=0.010710 Jy/beam
! Clean residual mean=0.000034 rms=0.002681 Jy/beam
! Combined flux in latest and established models = 0.0762494 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 20 components and 0.0762495 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.088387Jy  sigma=1.206660
! Fit after  self-cal, rms=0.088356Jy  sigma=1.206602
! 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.9616 x 2.595 at -3.401 degrees (North through East)
! Clean map  min=-0.0091322  max=0.070871 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
!  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.
!  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        0.00*    FD        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.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.088356Jy  sigma=1.206602
! Fit after  self-cal, rms=0.088356Jy  sigma=1.206602
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.088356Jy  sigma=1.206602
! Fit after  self-cal, rms=0.088355Jy  sigma=1.206602
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9616 mas, bmaj=2.595 mas, bpa=-3.401 degrees
! Estimated noise=1.86298 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 = -1.76e-05 Jy
! Component: 100  -  total flux cleaned = -9.67638e-05 Jy
! Component: 150  -  total flux cleaned = -0.000238656 Jy
! Component: 200  -  total flux cleaned = -0.000302439 Jy
! Total flux subtracted in 200 components = -0.000302439 Jy
! Clean residual min=-0.009874 max=0.010413 Jy/beam
! Clean residual mean=0.000034 rms=0.002655 Jy/beam
! Combined flux in latest and established models = 0.075947 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 25 components and 0.075947 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.088315Jy  sigma=1.204921
! Fit after  self-cal, rms=0.088283Jy  sigma=1.204869
! 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.088283Jy  sigma=1.204869
! Fit after  self-cal, rms=0.083213Jy  sigma=1.122498
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.00298639 Jy
! Component: 100  -  total flux cleaned = 0.00337538 Jy
! Component: 150  -  total flux cleaned = 0.00360068 Jy
! Component: 200  -  total flux cleaned = 0.0036601 Jy
! Total flux subtracted in 200 components = 0.0036601 Jy
! Clean residual min=-0.010176 max=0.008770 Jy/beam
! Clean residual mean=0.000048 rms=0.002508 Jy/beam
! Combined flux in latest and established models = 0.0796071 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 31 components and 0.0796071 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.083421Jy  sigma=1.118325
! Fit after  self-cal, rms=0.081767Jy  sigma=1.109763
! 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.9616 x 2.595 at -3.401 degrees (North through East)
! Clean map  min=-0.0096841  max=0.075589 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.493 mas, bmaj=5.417 mas, bpa=4.821 degrees
! Estimated noise=2.25031 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.000107271 Jy
! Component: 100  -  total flux cleaned = 0.000257286 Jy
! Component: 150  -  total flux cleaned = 0.000331389 Jy
! Component: 200  -  total flux cleaned = 0.000417623 Jy
! Total flux subtracted in 200 components = 0.000417623 Jy
! Clean residual min=-0.010030 max=0.010138 Jy/beam
! Clean residual mean=0.000073 rms=0.003106 Jy/beam
! Combined flux in latest and established models = 0.0800247 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 39 components and 0.0800247 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.081822Jy  sigma=1.110564
! Fit after  self-cal, rms=0.080958Jy  sigma=1.107898
! 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=0.8503 mas, bmaj=2.093 mas, bpa=-0.7859 degrees
! Estimated noise=2.66829 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0591921 Jy
! Component: 100  -  total flux cleaned = 0.069984 Jy
! Component: 150  -  total flux cleaned = 0.071359 Jy
! Component: 200  -  total flux cleaned = 0.0722047 Jy
! Total flux subtracted in 200 components = 0.0722047 Jy
! Clean residual min=-0.011919 max=0.010905 Jy/beam
! Clean residual mean=0.000020 rms=0.002879 Jy/beam
! Combined flux in latest and established models = 0.0722047 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 18 model components to the UV plane model.
! The established model now contains 18 components and 0.0722047 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9616 mas, bmaj=2.595 mas, bpa=-3.401 degrees
! Estimated noise=1.86298 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.00846108 Jy
! Component: 100  -  total flux cleaned = 0.00847504 Jy
! Component: 150  -  total flux cleaned = 0.00846043 Jy
! Component: 200  -  total flux cleaned = 0.00846588 Jy
! Total flux subtracted in 200 components = 0.00846588 Jy
! Clean residual min=-0.010268 max=0.008526 Jy/beam
! Clean residual mean=0.000044 rms=0.002532 Jy/beam
! Combined flux in latest and established models = 0.0806706 Jy
! Adding 17 model components to the UV plane model.
! The established model now contains 28 components and 0.0806706 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.493 mas, bmaj=5.417 mas, bpa=4.821 degrees
! Estimated noise=2.25031 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.0001806 Jy
! Component: 100  -  total flux cleaned = -0.000148757 Jy
! Component: 150  -  total flux cleaned = -9.16504e-05 Jy
! Component: 200  -  total flux cleaned = -2.6792e-05 Jy
! Total flux subtracted in 200 components = -2.6792e-05 Jy
! Clean residual min=-0.009813 max=0.010005 Jy/beam
! Clean residual mean=0.000069 rms=0.003094 Jy/beam
! Combined flux in latest and established models = 0.0806438 Jy
! Adding 8 model components to the UV plane model.
! The established model now contains 36 components and 0.0806438 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9616 mas, bmaj=2.595 mas, bpa=-3.401 degrees
! Estimated noise=1.86298 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000325538 Jy
! Component: 100  -  total flux cleaned = -0.000411108 Jy
! Component: 150  -  total flux cleaned = -0.000407418 Jy
! Component: 200  -  total flux cleaned = -0.000410979 Jy
! Total flux subtracted in 200 components = -0.000410979 Jy
! Clean residual min=-0.010395 max=0.008187 Jy/beam
! Clean residual mean=0.000044 rms=0.002499 Jy/beam
! Combined flux in latest and established models = 0.0802328 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 42 components and 0.0802328 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.080944Jy  sigma=1.107411
! Fit after  self-cal, rms=0.080578Jy  sigma=1.106203
wmodel J0610-1847_X_2005_06_30_yyk\_map.mod
! Writing 42 model components to file: J0610-1847_X_2005_06_30_yyk_map.mod
wobs J0610-1847_X_2005_06_30_yyk\_uvs.fits
! Writing UV FITS file: J0610-1847_X_2005_06_30_yyk_uvs.fits
wwins J0610-1847_X_2005_06_30_yyk\_map.win
! wwins: Wrote 1 windows to J0610-1847_X_2005_06_30_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.00300338 Jy
! Component: 100  -  total flux cleaned = -0.00313436 Jy
! Component: 150  -  total flux cleaned = -0.0028621 Jy
! Component: 200  -  total flux cleaned = -0.00323349 Jy
! Component: 250  -  total flux cleaned = -0.00358205 Jy
! Component: 300  -  total flux cleaned = -0.00402877 Jy
! Component: 350  -  total flux cleaned = -0.0041374 Jy
! Component: 400  -  total flux cleaned = -0.00434332 Jy
! Component: 450  -  total flux cleaned = -0.00434595 Jy
! Component: 500  -  total flux cleaned = -0.00406323 Jy
! Component: 550  -  total flux cleaned = -0.0035122 Jy
! Component: 600  -  total flux cleaned = -0.00307085 Jy
! Component: 650  -  total flux cleaned = -0.00281505 Jy
! Component: 700  -  total flux cleaned = -0.00231424 Jy
! Component: 750  -  total flux cleaned = -0.00215207 Jy
! Component: 800  -  total flux cleaned = -0.00160373 Jy
! Component: 850  -  total flux cleaned = -0.00084286 Jy
! Component: 900  -  total flux cleaned = -0.000250026 Jy
! Component: 950  -  total flux cleaned = 0.000401919 Jy
! Component: 1000  -  total flux cleaned = 0.000968033 Jy
! Component: 1050  -  total flux cleaned = 0.0012457 Jy
! Component: 1100  -  total flux cleaned = 0.00145007 Jy
! Component: 1150  -  total flux cleaned = 0.00151659 Jy
! Component: 1200  -  total flux cleaned = 0.00158187 Jy
! Component: 1250  -  total flux cleaned = 0.00164518 Jy
! Component: 1300  -  total flux cleaned = 0.00170954 Jy
! Component: 1350  -  total flux cleaned = 0.00189837 Jy
! Component: 1400  -  total flux cleaned = 0.00214563 Jy
! Component: 1450  -  total flux cleaned = 0.00226649 Jy
! Component: 1500  -  total flux cleaned = 0.0025669 Jy
! Component: 1550  -  total flux cleaned = 0.00286289 Jy
! Component: 1600  -  total flux cleaned = 0.00309675 Jy
! Component: 1650  -  total flux cleaned = 0.00321336 Jy
! Component: 1700  -  total flux cleaned = 0.00344308 Jy
! Component: 1750  -  total flux cleaned = 0.00366959 Jy
! Component: 1800  -  total flux cleaned = 0.00372512 Jy
! Component: 1850  -  total flux cleaned = 0.00378083 Jy
! Component: 1900  -  total flux cleaned = 0.00394456 Jy
! Component: 1950  -  total flux cleaned = 0.00394435 Jy
! Component: 2000  -  total flux cleaned = 0.00421188 Jy
! Total flux subtracted in 2048 components = 0.00431722 Jy
! Clean residual min=-0.003941 max=0.002961 Jy/beam
! Clean residual mean=0.000052 rms=0.001004 Jy/beam
! Combined flux in latest and established models = 0.0845501 Jy
keep
! Adding 136 model components to the UV plane model.
! The established model now contains 178 components and 0.0845501 Jy
![Exited script file: muppet]
wmap "J0610-1847_X_2005_06_30_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9616 x 2.595 at -3.401 degrees (North through East)
! Clean map  min=-0.0054626  max=0.073837 Jy/beam
! Writing clean map to FITS file: J0610-1847_X_2005_06_30_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0738373 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000969342 
device "J0610-1847_X_2005_06_30_yyk\_map.eps/VPS"
! Attempting to open device: 'J0610-1847_X_2005_06_30_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -3.93842 3.93842 7.87684 15.7537 31.5074 63.0148
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0029 
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: 0.9616 x 2.595 at -3.401 degrees (North through East)
! Clean map  min=-0.0054626  max=0.073837 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0610-1847_X_2005_06_30_yyk\_map.gif/gif"
! Attempting to open device: 'J0610-1847_X_2005_06_30_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0610-1847_X_2005_06_30_yyk_uvs.log closed on Sat Oct  8 17:01:47 2005