! Started logfile: J2343+1543_X_2005_07_20_yyk_uvs.log on Fri Jan 20 11:12:18 2006
obs J2343+1543_X_2005_07_20_yyk_uve.fits
! Reading UV FITS file: J2343+1543_X_2005_07_20_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.888889 visibilities/baseline/integration-bin.
! Found source: J2343+1543
! 
! 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 1488 lines of history.
! 
! Reading 1760 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 J2343+1543_X_2005_07_20_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.107763 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.7445 mas, bmaj=1.752 mas, bpa=-4.652 degrees
! Estimated noise=1.47935 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.0617055 Jy
! Component: 100  -  total flux cleaned = 0.0747436 Jy
! Total flux subtracted in 100 components = 0.0747436 Jy
! Clean residual min=-0.008235 max=0.008912 Jy/beam
! Clean residual mean=-0.000006 rms=0.002153 Jy/beam
! Combined flux in latest and established models = 0.0747436 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.0747436 Jy
! 
! Correcting IF 1.
!  A total of 9 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 16 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 42 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.074409Jy  sigma=1.198789
! Fit after  self-cal, rms=0.070340Jy  sigma=1.123688
! Inverting map and beam 
! Estimated beam: bmin=0.7446 mas, bmaj=1.751 mas, bpa=-4.648 degrees
! Estimated noise=1.47916 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.9438 mas, bmaj=2.147 mas, bpa=-6.434 degrees
! Estimated noise=0.992992 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.0150729 Jy
! Component: 100  -  total flux cleaned = 0.0188538 Jy
! Component: 150  -  total flux cleaned = 0.0201054 Jy
! Component: 200  -  total flux cleaned = 0.0201383 Jy
! Total flux subtracted in 200 components = 0.0201383 Jy
! Clean residual min=-0.004797 max=0.004752 Jy/beam
! Clean residual mean=-0.000008 rms=0.001247 Jy/beam
! Combined flux in latest and established models = 0.0948819 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 21 components and 0.0948819 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.068814Jy  sigma=1.075365
! Fit after  self-cal, rms=0.068818Jy  sigma=1.075255
! 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.9438 x 2.147 at -6.434 degrees (North through East)
! Clean map  min=-0.0044822  max=0.083504 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.00905
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        0.98     HN        0.90     KP        0.89     
!   LA        1.03     MK        1.04     NL        1.09     OV        0.99     
!   PT        1.10     SC        0.92     
! 
! 
! 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.00142
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.08     HN        0.96     KP        0.84     
!   LA        0.94     MK        0.98     NL        0.94     OV        1.06     
!   PT        1.18     SC        0.95     
! 
! 
! 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.068818Jy  sigma=1.075255
! Fit after  self-cal, rms=0.067726Jy  sigma=1.066957
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.067726Jy  sigma=1.066957
! Fit after  self-cal, rms=0.067730Jy  sigma=1.066894
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9346 mas, bmaj=2.116 mas, bpa=-5.985 degrees
! Estimated noise=0.990473 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.00111481 Jy
! Component: 100  -  total flux cleaned = 0.00125207 Jy
! Component: 150  -  total flux cleaned = 0.00131123 Jy
! Component: 200  -  total flux cleaned = 0.00136651 Jy
! Total flux subtracted in 200 components = 0.00136651 Jy
! Clean residual min=-0.004381 max=0.004050 Jy/beam
! Clean residual mean=-0.000010 rms=0.001099 Jy/beam
! Combined flux in latest and established models = 0.0962484 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 28 components and 0.0962484 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.067695Jy  sigma=1.066283
! Fit after  self-cal, rms=0.067696Jy  sigma=1.066247
! 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.067696Jy  sigma=1.066247
! Fit after  self-cal, rms=0.059536Jy  sigma=0.967697
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.00305803 Jy
! Component: 100  -  total flux cleaned = 0.00317328 Jy
! Component: 150  -  total flux cleaned = 0.00313475 Jy
! Component: 200  -  total flux cleaned = 0.00310262 Jy
! Total flux subtracted in 200 components = 0.00310262 Jy
! Clean residual min=-0.004496 max=0.004038 Jy/beam
! Clean residual mean=-0.000007 rms=0.001048 Jy/beam
! Combined flux in latest and established models = 0.099351 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 29 components and 0.099351 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059404Jy  sigma=0.964854
! Fit after  self-cal, rms=0.058995Jy  sigma=0.958515
! 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.9346 x 2.116 at -5.985 degrees (North through East)
! Clean map  min=-0.0043514  max=0.086982 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.209 mas, bmaj=3.005 mas, bpa=-7.02 degrees
! Estimated noise=1.25263 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.000810386 Jy
! Component: 100  -  total flux cleaned = -0.000895033 Jy
! Component: 150  -  total flux cleaned = -0.000956388 Jy
! Component: 200  -  total flux cleaned = -0.00102244 Jy
! Total flux subtracted in 200 components = -0.00102244 Jy
! Clean residual min=-0.004007 max=0.004456 Jy/beam
! Clean residual mean=-0.000014 rms=0.001263 Jy/beam
! Combined flux in latest and established models = 0.0983286 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 33 components and 0.0983286 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059019Jy  sigma=0.958586
! Fit after  self-cal, rms=0.058980Jy  sigma=0.957611
! 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.7408 mas, bmaj=1.742 mas, bpa=-4.497 degrees
! Estimated noise=1.4686 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0725584 Jy
! Component: 100  -  total flux cleaned = 0.0874213 Jy
! Component: 150  -  total flux cleaned = 0.0928535 Jy
! Component: 200  -  total flux cleaned = 0.0943998 Jy
! Total flux subtracted in 200 components = 0.0943998 Jy
! Clean residual min=-0.004728 max=0.005855 Jy/beam
! Clean residual mean=-0.000007 rms=0.001437 Jy/beam
! Combined flux in latest and established models = 0.0943999 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 17 model components to the UV plane model.
! The established model now contains 17 components and 0.0943999 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9346 mas, bmaj=2.116 mas, bpa=-5.985 degrees
! Estimated noise=0.990473 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.00373672 Jy
! Component: 100  -  total flux cleaned = 0.00474008 Jy
! Component: 150  -  total flux cleaned = 0.00470719 Jy
! Component: 200  -  total flux cleaned = 0.00468188 Jy
! Total flux subtracted in 200 components = 0.00468188 Jy
! Clean residual min=-0.004445 max=0.004136 Jy/beam
! Clean residual mean=-0.000007 rms=0.001040 Jy/beam
! Combined flux in latest and established models = 0.0990817 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 26 components and 0.0990817 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.209 mas, bmaj=3.005 mas, bpa=-7.02 degrees
! Estimated noise=1.25263 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.000650633 Jy
! Component: 100  -  total flux cleaned = -0.000706388 Jy
! Component: 150  -  total flux cleaned = -0.0007964 Jy
! Component: 200  -  total flux cleaned = -0.000873917 Jy
! Total flux subtracted in 200 components = -0.000873917 Jy
! Clean residual min=-0.003966 max=0.004449 Jy/beam
! Clean residual mean=-0.000014 rms=0.001263 Jy/beam
! Combined flux in latest and established models = 0.0982078 Jy
! Adding 7 model components to the UV plane model.
! The established model now contains 31 components and 0.0982078 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9346 mas, bmaj=2.116 mas, bpa=-5.985 degrees
! Estimated noise=0.990473 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000375225 Jy
! Component: 100  -  total flux cleaned = 0.000476285 Jy
! Component: 150  -  total flux cleaned = 0.000519349 Jy
! Component: 200  -  total flux cleaned = 0.000557953 Jy
! Total flux subtracted in 200 components = 0.000557953 Jy
! Clean residual min=-0.004427 max=0.004117 Jy/beam
! Clean residual mean=-0.000007 rms=0.001036 Jy/beam
! Combined flux in latest and established models = 0.0987657 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 35 components and 0.0987658 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058928Jy  sigma=0.957197
! Fit after  self-cal, rms=0.058925Jy  sigma=0.957033
wmodel J2343+1543_X_2005_07_20_yyk\_map.mod
! Writing 35 model components to file: J2343+1543_X_2005_07_20_yyk_map.mod
wobs J2343+1543_X_2005_07_20_yyk\_uvs.fits
! Writing UV FITS file: J2343+1543_X_2005_07_20_yyk_uvs.fits
wwins J2343+1543_X_2005_07_20_yyk\_map.win
! wwins: Wrote 1 windows to J2343+1543_X_2005_07_20_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 = 9.24977e-05 Jy
! Component: 100  -  total flux cleaned = 0.000892175 Jy
! Component: 150  -  total flux cleaned = 0.00139191 Jy
! Component: 200  -  total flux cleaned = 0.00174601 Jy
! Component: 250  -  total flux cleaned = 0.00225905 Jy
! Component: 300  -  total flux cleaned = 0.0025341 Jy
! Component: 350  -  total flux cleaned = 0.00285521 Jy
! Component: 400  -  total flux cleaned = 0.00306231 Jy
! Component: 450  -  total flux cleaned = 0.00321283 Jy
! Component: 500  -  total flux cleaned = 0.00336114 Jy
! Component: 550  -  total flux cleaned = 0.00364989 Jy
! Component: 600  -  total flux cleaned = 0.00383793 Jy
! Component: 650  -  total flux cleaned = 0.00402176 Jy
! Component: 700  -  total flux cleaned = 0.00420074 Jy
! Component: 750  -  total flux cleaned = 0.00437675 Jy
! Component: 800  -  total flux cleaned = 0.00446245 Jy
! Component: 850  -  total flux cleaned = 0.00454715 Jy
! Component: 900  -  total flux cleaned = 0.00458828 Jy
! Component: 950  -  total flux cleaned = 0.00466945 Jy
! Component: 1000  -  total flux cleaned = 0.00450733 Jy
! Component: 1050  -  total flux cleaned = 0.00450783 Jy
! Component: 1100  -  total flux cleaned = 0.00450689 Jy
! Component: 1150  -  total flux cleaned = 0.00446784 Jy
! Component: 1200  -  total flux cleaned = 0.0043539 Jy
! Component: 1250  -  total flux cleaned = 0.00439128 Jy
! Component: 1300  -  total flux cleaned = 0.00428089 Jy
! Component: 1350  -  total flux cleaned = 0.00424488 Jy
! Component: 1400  -  total flux cleaned = 0.00424462 Jy
! Component: 1450  -  total flux cleaned = 0.00413888 Jy
! Component: 1500  -  total flux cleaned = 0.00410402 Jy
! Component: 1550  -  total flux cleaned = 0.00393193 Jy
! Component: 1600  -  total flux cleaned = 0.0036607 Jy
! Component: 1650  -  total flux cleaned = 0.00366029 Jy
! Component: 1700  -  total flux cleaned = 0.00356119 Jy
! Component: 1750  -  total flux cleaned = 0.0034628 Jy
! Component: 1800  -  total flux cleaned = 0.00349486 Jy
! Component: 1850  -  total flux cleaned = 0.0033988 Jy
! Component: 1900  -  total flux cleaned = 0.00317758 Jy
! Component: 1950  -  total flux cleaned = 0.00314662 Jy
! Component: 2000  -  total flux cleaned = 0.00296158 Jy
! Total flux subtracted in 2048 components = 0.002931 Jy
! Clean residual min=-0.001772 max=0.001625 Jy/beam
! Clean residual mean=-0.000004 rms=0.000583 Jy/beam
! Combined flux in latest and established models = 0.101697 Jy
keep
! Adding 141 model components to the UV plane model.
! The established model now contains 176 components and 0.101697 Jy
![Exited script file: muppet]
wmap "J2343+1543_X_2005_07_20_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9346 x 2.116 at -5.985 degrees (North through East)
! Clean map  min=-0.0038684  max=0.087448 Jy/beam
! Writing clean map to FITS file: J2343+1543_X_2005_07_20_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0874485 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000579256 
device "J2343+1543_X_2005_07_20_yyk\_map.eps/VPS"
! Attempting to open device: 'J2343+1543_X_2005_07_20_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.98719 1.98719 3.97438 7.94876 15.8975 31.795 63.5901
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0017 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.087 
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.9346 x 2.116 at -5.985 degrees (North through East)
! Clean map  min=-0.0038684  max=0.087448 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2343+1543_X_2005_07_20_yyk\_map.gif/gif"
! Attempting to open device: 'J2343+1543_X_2005_07_20_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2343+1543_X_2005_07_20_yyk_uvs.log closed on Fri Jan 20 11:12:21 2006