! Started logfile: J1232-1015_S_2005_07_09_yyk_uvs.log on Fri Jan 20 10:26:43 2006
obs J1232-1015_S_2005_07_09_yyk_uve.fits
! Reading UV FITS file: J1232-1015_S_2005_07_09_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.963636 visibilities/baseline/integration-bin.
! Found source: J1232-1015
! 
! 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 1602 lines of history.
! 
! Reading 1908 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 J1232-1015_S_2005_07_09_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.11697 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=2.844 mas, bmaj=12.84 mas, bpa=-17.25 degrees
! Estimated noise=1.6228 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.0774431 Jy
! Component: 100  -  total flux cleaned = 0.0911987 Jy
! Total flux subtracted in 100 components = 0.0911987 Jy
! Clean residual min=-0.007053 max=0.010321 Jy/beam
! Clean residual mean=0.000106 rms=0.002131 Jy/beam
! Combined flux in latest and established models = 0.0911987 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 0.0911987 Jy
! 
! Correcting IF 1.
!  A total of 13 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 13 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 50 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 13 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.075971Jy  sigma=1.212904
! Fit after  self-cal, rms=0.072053Jy  sigma=1.127813
! Inverting map and beam 
! Estimated beam: bmin=2.844 mas, bmaj=12.84 mas, bpa=-17.25 degrees
! Estimated noise=1.6228 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=4.008 mas, bmaj=14.03 mas, bpa=-15.43 degrees
! Estimated noise=1.03952 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.0101052 Jy
! Component: 100  -  total flux cleaned = 0.0145613 Jy
! Component: 150  -  total flux cleaned = 0.0162145 Jy
! Component: 200  -  total flux cleaned = 0.0165642 Jy
! Total flux subtracted in 200 components = 0.0165642 Jy
! Clean residual min=-0.005685 max=0.006964 Jy/beam
! Clean residual mean=-0.000032 rms=0.001476 Jy/beam
! Combined flux in latest and established models = 0.107763 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 42 model components to the UV plane model.
! The established model now contains 53 components and 0.107763 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071250Jy  sigma=1.106375
! Fit after  self-cal, rms=0.071247Jy  sigma=1.105886
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.008 x 14.03 at -15.43 degrees (North through East)
! Clean map  min=-0.0056823  max=0.090461 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.01305
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        0.92     HN        0.99     KP        0.93     
!   LA        0.99     MK        1.01     NL        0.94     OV        1.08     
!   PT        1.10     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.071247Jy  sigma=1.105886
! Fit after  self-cal, rms=0.070999Jy  sigma=1.102083
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.070999Jy  sigma=1.102083
! Fit after  self-cal, rms=0.070999Jy  sigma=1.102065
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=4.026 mas, bmaj=13.8 mas, bpa=-15.32 degrees
! Estimated noise=1.03611 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.000985796 Jy
! Component: 100  -  total flux cleaned = 0.00132195 Jy
! Component: 150  -  total flux cleaned = 0.00160946 Jy
! Component: 200  -  total flux cleaned = 0.00180801 Jy
! Total flux subtracted in 200 components = 0.00180801 Jy
! Clean residual min=-0.005398 max=0.006488 Jy/beam
! Clean residual mean=-0.000005 rms=0.001425 Jy/beam
! Combined flux in latest and established models = 0.109571 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 71 components and 0.109571 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070947Jy  sigma=1.100154
! Fit after  self-cal, rms=0.070934Jy  sigma=1.100024
! 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.070934Jy  sigma=1.100024
! Fit after  self-cal, rms=0.066376Jy  sigma=1.039910
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)
! Added new window around map position (8, -7).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00598901 Jy
! Component: 100  -  total flux cleaned = 0.00691877 Jy
! Component: 150  -  total flux cleaned = 0.00772537 Jy
! Component: 200  -  total flux cleaned = 0.00809181 Jy
! Total flux subtracted in 200 components = 0.00809181 Jy
! Clean residual min=-0.004476 max=0.004601 Jy/beam
! Clean residual mean=-0.000045 rms=0.001092 Jy/beam
! Combined flux in latest and established models = 0.117663 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 46 model components to the UV plane model.
! The established model now contains 117 components and 0.117663 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.065639Jy  sigma=1.026172
! Fit after  self-cal, rms=0.065236Jy  sigma=1.020912
! 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: 4.026 x 13.8 at -15.32 degrees (North through East)
! Clean map  min=-0.0044643  max=0.092467 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 = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.64 mas, bmaj=15.89 mas, bpa=-0.8688 degrees
! Estimated noise=1.19041 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.000439825 Jy
! Component: 100  -  total flux cleaned = -1.4879e-05 Jy
! Component: 150  -  total flux cleaned = -0.000511312 Jy
! Component: 200  -  total flux cleaned = -0.000830776 Jy
! Total flux subtracted in 200 components = -0.000830776 Jy
! Clean residual min=-0.004451 max=0.003615 Jy/beam
! Clean residual mean=-0.000067 rms=0.001188 Jy/beam
! Combined flux in latest and established models = 0.116832 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 148 components and 0.116832 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.065128Jy  sigma=1.019012
! Fit after  self-cal, rms=0.065094Jy  sigma=1.018177
! 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=2.854 mas, bmaj=12.77 mas, bpa=-17.2 degrees
! Estimated noise=1.61754 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0812883 Jy
! Component: 100  -  total flux cleaned = 0.0983977 Jy
! Component: 150  -  total flux cleaned = 0.10832 Jy
! Component: 200  -  total flux cleaned = 0.113539 Jy
! Total flux subtracted in 200 components = 0.113539 Jy
! Clean residual min=-0.005633 max=0.006630 Jy/beam
! Clean residual mean=0.000052 rms=0.001631 Jy/beam
! Combined flux in latest and established models = 0.113539 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 33 model components to the UV plane model.
! The established model now contains 33 components and 0.113539 Jy
! Inverting map and beam 
! Estimated beam: bmin=4.026 mas, bmaj=13.8 mas, bpa=-15.32 degrees
! Estimated noise=1.03611 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.00354976 Jy
! Component: 100  -  total flux cleaned = 0.00420119 Jy
! Component: 150  -  total flux cleaned = 0.00432106 Jy
! Component: 200  -  total flux cleaned = 0.00451174 Jy
! Total flux subtracted in 200 components = 0.00451174 Jy
! Clean residual min=-0.003927 max=0.004400 Jy/beam
! Clean residual mean=-0.000048 rms=0.001066 Jy/beam
! Combined flux in latest and established models = 0.118051 Jy
! Adding 34 model components to the UV plane model.
! The established model now contains 67 components and 0.118051 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=8.64 mas, bmaj=15.89 mas, bpa=-0.8688 degrees
! Estimated noise=1.19041 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.000864064 Jy
! Component: 100  -  total flux cleaned = -0.00125483 Jy
! Component: 150  -  total flux cleaned = -0.00151393 Jy
! Component: 200  -  total flux cleaned = -0.00172634 Jy
! Total flux subtracted in 200 components = -0.00172634 Jy
! Clean residual min=-0.004232 max=0.003659 Jy/beam
! Clean residual mean=-0.000066 rms=0.001175 Jy/beam
! Combined flux in latest and established models = 0.116324 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 89 components and 0.116324 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=4.026 mas, bmaj=13.8 mas, bpa=-15.32 degrees
! Estimated noise=1.03611 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000220518 Jy
! Component: 100  -  total flux cleaned = 0.000284977 Jy
! Component: 150  -  total flux cleaned = 0.000233426 Jy
! Component: 200  -  total flux cleaned = 0.000137466 Jy
! Total flux subtracted in 200 components = 0.000137466 Jy
! Clean residual min=-0.003839 max=0.004234 Jy/beam
! Clean residual mean=-0.000041 rms=0.001007 Jy/beam
! Combined flux in latest and established models = 0.116462 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 108 components and 0.116462 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.064923Jy  sigma=1.016161
! Fit after  self-cal, rms=0.064927Jy  sigma=1.015773
wmodel J1232-1015_S_2005_07_09_yyk\_map.mod
! Writing 108 model components to file: J1232-1015_S_2005_07_09_yyk_map.mod
wobs J1232-1015_S_2005_07_09_yyk\_uvs.fits
! Writing UV FITS file: J1232-1015_S_2005_07_09_yyk_uvs.fits
wwins J1232-1015_S_2005_07_09_yyk\_map.win
! wwins: Wrote 2 windows to J1232-1015_S_2005_07_09_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 = -4.63499e-05 Jy
! Component: 100  -  total flux cleaned = 7.10483e-05 Jy
! Component: 150  -  total flux cleaned = 0.000381716 Jy
! Component: 200  -  total flux cleaned = 0.000381456 Jy
! Component: 250  -  total flux cleaned = 0.000288164 Jy
! Component: 300  -  total flux cleaned = 0.000374455 Jy
! Component: 350  -  total flux cleaned = 0.000373839 Jy
! Component: 400  -  total flux cleaned = 0.000332062 Jy
! Component: 450  -  total flux cleaned = 0.000370216 Jy
! Component: 500  -  total flux cleaned = 0.00040846 Jy
! Component: 550  -  total flux cleaned = 0.000334594 Jy
! Component: 600  -  total flux cleaned = 0.000261477 Jy
! Component: 650  -  total flux cleaned = 0.00011855 Jy
! Component: 700  -  total flux cleaned = -9.11728e-05 Jy
! Component: 750  -  total flux cleaned = -0.00015995 Jy
! Component: 800  -  total flux cleaned = -0.000261058 Jy
! Component: 850  -  total flux cleaned = -0.000426451 Jy
! Component: 900  -  total flux cleaned = -0.00045917 Jy
! Component: 950  -  total flux cleaned = -0.000587076 Jy
! Component: 1000  -  total flux cleaned = -0.00061866 Jy
! Component: 1050  -  total flux cleaned = -0.000804216 Jy
! Component: 1100  -  total flux cleaned = -0.000925432 Jy
! Component: 1150  -  total flux cleaned = -0.00110482 Jy
! Component: 1200  -  total flux cleaned = -0.00131107 Jy
! Component: 1250  -  total flux cleaned = -0.00142768 Jy
! Component: 1300  -  total flux cleaned = -0.00162921 Jy
! Component: 1350  -  total flux cleaned = -0.00185546 Jy
! Component: 1400  -  total flux cleaned = -0.00196718 Jy
! Component: 1450  -  total flux cleaned = -0.00207798 Jy
! Component: 1500  -  total flux cleaned = -0.00218765 Jy
! Component: 1550  -  total flux cleaned = -0.00229568 Jy
! Component: 1600  -  total flux cleaned = -0.00237579 Jy
! Component: 1650  -  total flux cleaned = -0.00250763 Jy
! Component: 1700  -  total flux cleaned = -0.00261175 Jy
! Component: 1750  -  total flux cleaned = -0.00261202 Jy
! Component: 1800  -  total flux cleaned = -0.00279069 Jy
! Component: 1850  -  total flux cleaned = -0.00281597 Jy
! Component: 1900  -  total flux cleaned = -0.00296598 Jy
! Component: 1950  -  total flux cleaned = -0.00308992 Jy
! Component: 2000  -  total flux cleaned = -0.00311462 Jy
! Total flux subtracted in 2048 components = -0.00323639 Jy
! Clean residual min=-0.001612 max=0.001539 Jy/beam
! Clean residual mean=-0.000038 rms=0.000535 Jy/beam
! Combined flux in latest and established models = 0.113225 Jy
keep
! Adding 149 model components to the UV plane model.
! The established model now contains 257 components and 0.113225 Jy
![Exited script file: muppet]
wmap "J1232-1015_S_2005_07_09_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.026 x 13.8 at -15.32 degrees (North through East)
! Clean map  min=-0.0035296  max=0.093959 Jy/beam
! Writing clean map to FITS file: J1232-1015_S_2005_07_09_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0939586 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000537166 
device "J1232-1015_S_2005_07_09_yyk\_map.eps/VPS"
! Attempting to open device: 'J1232-1015_S_2005_07_09_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.71512 1.71512 3.43023 6.86047 13.7209 27.4419 54.8837
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: 4.026 x 13.8 at -15.32 degrees (North through East)
! Clean map  min=-0.0035296  max=0.093959 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1232-1015_S_2005_07_09_yyk\_map.gif/gif"
! Attempting to open device: 'J1232-1015_S_2005_07_09_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1232-1015_S_2005_07_09_yyk_uvs.log closed on Fri Jan 20 10:26:47 2006