! Started logfile: J1855-1209_X_2005_05_12_yyk_uvs.log on Sat Oct  8 17:37:45 2005
obs J1855-1209_X_2005_05_12_yyk_uve.fits
! Reading UV FITS file: J1855-1209_X_2005_05_12_yyk_uve.fits
! AN table 1: 20 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.951111 visibilities/baseline/integration-bin.
! Found source: J1855-1209
! 
! 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 1439 lines of history.
! 
! Reading 3424 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 J1855-1209_X_2005_05_12_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.0872038 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.6919 mas, bmaj=1.832 mas, bpa=-0.9061 degrees
! Estimated noise=1.26136 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.0498101 Jy
! Component: 100  -  total flux cleaned = 0.0620689 Jy
! Total flux subtracted in 100 components = 0.0620689 Jy
! Clean residual min=-0.005578 max=0.007381 Jy/beam
! Clean residual mean=-0.000006 rms=0.001537 Jy/beam
! Combined flux in latest and established models = 0.0620689 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 11 components and 0.0620689 Jy
! 
! Correcting IF 1.
!  A total of 5 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 29 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 13 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 51 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.063956Jy  sigma=1.048027
! Fit after  self-cal, rms=0.062358Jy  sigma=1.022503
! Inverting map and beam 
! Estimated beam: bmin=0.6919 mas, bmaj=1.832 mas, bpa=-0.9061 degrees
! Estimated noise=1.26136 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.9504 mas, bmaj=2.394 mas, bpa=0.5708 degrees
! Estimated noise=0.700694 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.00788168 Jy
! Component: 100  -  total flux cleaned = 0.00993523 Jy
! Component: 150  -  total flux cleaned = 0.0105333 Jy
! Component: 200  -  total flux cleaned = 0.0106376 Jy
! Total flux subtracted in 200 components = 0.0106376 Jy
! Clean residual min=-0.003184 max=0.002806 Jy/beam
! Clean residual mean=0.000012 rms=0.000769 Jy/beam
! Combined flux in latest and established models = 0.0727064 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 30 components and 0.0727064 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062070Jy  sigma=1.007697
! Fit after  self-cal, rms=0.062043Jy  sigma=1.007281
! 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.9504 x 2.394 at 0.5708 degrees (North through East)
! Clean map  min=-0.002932  max=0.063397 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.02111
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.06     HN        1.11     KP        0.88     
!   LA        1.00     MK        0.87     NL        1.00*    OV        0.98     
!   PT        1.00     SC        0.93     
! 
! 
! 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.062043Jy  sigma=1.007281
! Fit after  self-cal, rms=0.061891Jy  sigma=1.005169
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.061891Jy  sigma=1.005169
! Fit after  self-cal, rms=0.061868Jy  sigma=1.004819
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9331 mas, bmaj=2.357 mas, bpa=0.2681 degrees
! Estimated noise=0.69772 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.000256015 Jy
! Component: 100  -  total flux cleaned = 0.000307495 Jy
! Component: 150  -  total flux cleaned = 0.000287286 Jy
! Component: 200  -  total flux cleaned = 0.000285984 Jy
! Total flux subtracted in 200 components = 0.000285984 Jy
! Clean residual min=-0.003062 max=0.002651 Jy/beam
! Clean residual mean=0.000013 rms=0.000734 Jy/beam
! Combined flux in latest and established models = 0.0729924 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 33 components and 0.0729924 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061824Jy  sigma=1.004535
! Fit after  self-cal, rms=0.061805Jy  sigma=1.004194
! 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.061805Jy  sigma=1.004194
! Fit after  self-cal, rms=0.058021Jy  sigma=0.940680
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.00205117 Jy
! Component: 100  -  total flux cleaned = 0.00209377 Jy
! Component: 150  -  total flux cleaned = 0.00205051 Jy
! Component: 200  -  total flux cleaned = 0.0020311 Jy
! Total flux subtracted in 200 components = 0.0020311 Jy
! Clean residual min=-0.002833 max=0.002563 Jy/beam
! Clean residual mean=0.000013 rms=0.000717 Jy/beam
! Combined flux in latest and established models = 0.0750235 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 37 components and 0.0750235 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058042Jy  sigma=0.939144
! Fit after  self-cal, rms=0.057669Jy  sigma=0.935367
! 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.9331 x 2.357 at 0.2681 degrees (North through East)
! Clean map  min=-0.0025726  max=0.066141 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.445 mas, bmaj=4.549 mas, bpa=10.17 degrees
! Estimated noise=0.872287 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.000117158 Jy
! Component: 100  -  total flux cleaned = -0.000116697 Jy
! Component: 150  -  total flux cleaned = -0.000129911 Jy
! Component: 200  -  total flux cleaned = -0.000153018 Jy
! Total flux subtracted in 200 components = -0.000153018 Jy
! Clean residual min=-0.002878 max=0.002874 Jy/beam
! Clean residual mean=0.000023 rms=0.000887 Jy/beam
! Combined flux in latest and established models = 0.0748705 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.0748705 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057654Jy  sigma=0.935496
! Fit after  self-cal, rms=0.057556Jy  sigma=0.934959
! 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.6869 mas, bmaj=1.828 mas, bpa=-0.987 degrees
! Estimated noise=1.25268 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0544655 Jy
! Component: 100  -  total flux cleaned = 0.0673373 Jy
! Component: 150  -  total flux cleaned = 0.0729071 Jy
! Component: 200  -  total flux cleaned = 0.0739318 Jy
! Total flux subtracted in 200 components = 0.0739318 Jy
! Clean residual min=-0.004744 max=0.005027 Jy/beam
! Clean residual mean=-0.000002 rms=0.001229 Jy/beam
! Combined flux in latest and established models = 0.0739319 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.0739319 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9331 mas, bmaj=2.357 mas, bpa=0.2681 degrees
! Estimated noise=0.69772 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.00160684 Jy
! Component: 100  -  total flux cleaned = 0.00164872 Jy
! Component: 150  -  total flux cleaned = 0.00158987 Jy
! Component: 200  -  total flux cleaned = 0.00151195 Jy
! Total flux subtracted in 200 components = 0.00151195 Jy
! Clean residual min=-0.002695 max=0.002630 Jy/beam
! Clean residual mean=0.000013 rms=0.000725 Jy/beam
! Combined flux in latest and established models = 0.0754438 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 30 components and 0.0754438 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.445 mas, bmaj=4.549 mas, bpa=10.17 degrees
! Estimated noise=0.872287 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.000293525 Jy
! Component: 100  -  total flux cleaned = -0.0003861 Jy
! Component: 150  -  total flux cleaned = -0.000442487 Jy
! Component: 200  -  total flux cleaned = -0.000474061 Jy
! Total flux subtracted in 200 components = -0.000474061 Jy
! Clean residual min=-0.002901 max=0.002919 Jy/beam
! Clean residual mean=0.000022 rms=0.000888 Jy/beam
! Combined flux in latest and established models = 0.0749698 Jy
! Adding 6 model components to the UV plane model.
! The established model now contains 34 components and 0.0749698 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9331 mas, bmaj=2.357 mas, bpa=0.2681 degrees
! Estimated noise=0.69772 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 8.26207e-05 Jy
! Component: 100  -  total flux cleaned = 8.60954e-05 Jy
! Component: 150  -  total flux cleaned = 8.70972e-05 Jy
! Component: 200  -  total flux cleaned = 4.95891e-05 Jy
! Total flux subtracted in 200 components = 4.95891e-05 Jy
! Clean residual min=-0.002721 max=0.002639 Jy/beam
! Clean residual mean=0.000012 rms=0.000714 Jy/beam
! Combined flux in latest and established models = 0.0750194 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 48 components and 0.0750193 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057558Jy  sigma=0.934680
! Fit after  self-cal, rms=0.057501Jy  sigma=0.934454
wmodel J1855-1209_X_2005_05_12_yyk\_map.mod
! Writing 48 model components to file: J1855-1209_X_2005_05_12_yyk_map.mod
wobs J1855-1209_X_2005_05_12_yyk\_uvs.fits
! Writing UV FITS file: J1855-1209_X_2005_05_12_yyk_uvs.fits
wwins J1855-1209_X_2005_05_12_yyk\_map.win
! wwins: Wrote 1 windows to J1855-1209_X_2005_05_12_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.000299894 Jy
! Component: 100  -  total flux cleaned = -0.000388502 Jy
! Component: 150  -  total flux cleaned = -0.00042967 Jy
! Component: 200  -  total flux cleaned = -0.000586607 Jy
! Component: 250  -  total flux cleaned = -0.000698185 Jy
! Component: 300  -  total flux cleaned = -0.000913502 Jy
! Component: 350  -  total flux cleaned = -0.000982546 Jy
! Component: 400  -  total flux cleaned = -0.0010495 Jy
! Component: 450  -  total flux cleaned = -0.00104971 Jy
! Component: 500  -  total flux cleaned = -0.00120814 Jy
! Component: 550  -  total flux cleaned = -0.00136161 Jy
! Component: 600  -  total flux cleaned = -0.00133171 Jy
! Component: 650  -  total flux cleaned = -0.00150931 Jy
! Component: 700  -  total flux cleaned = -0.00165419 Jy
! Component: 750  -  total flux cleaned = -0.00173948 Jy
! Component: 800  -  total flux cleaned = -0.00190667 Jy
! Component: 850  -  total flux cleaned = -0.0018522 Jy
! Component: 900  -  total flux cleaned = -0.00190681 Jy
! Component: 950  -  total flux cleaned = -0.00201301 Jy
! Component: 1000  -  total flux cleaned = -0.00209086 Jy
! Component: 1050  -  total flux cleaned = -0.00209102 Jy
! Component: 1100  -  total flux cleaned = -0.00211632 Jy
! Component: 1150  -  total flux cleaned = -0.00216568 Jy
! Component: 1200  -  total flux cleaned = -0.00211675 Jy
! Component: 1250  -  total flux cleaned = -0.00216495 Jy
! Component: 1300  -  total flux cleaned = -0.00211729 Jy
! Component: 1350  -  total flux cleaned = -0.00209374 Jy
! Component: 1400  -  total flux cleaned = -0.00209342 Jy
! Component: 1450  -  total flux cleaned = -0.00202422 Jy
! Component: 1500  -  total flux cleaned = -0.00202415 Jy
! Component: 1550  -  total flux cleaned = -0.00200134 Jy
! Component: 1600  -  total flux cleaned = -0.00193474 Jy
! Component: 1650  -  total flux cleaned = -0.00193482 Jy
! Component: 1700  -  total flux cleaned = -0.00191307 Jy
! Component: 1750  -  total flux cleaned = -0.00191288 Jy
! Component: 1800  -  total flux cleaned = -0.00191267 Jy
! Component: 1850  -  total flux cleaned = -0.00189164 Jy
! Component: 1900  -  total flux cleaned = -0.00189149 Jy
! Component: 1950  -  total flux cleaned = -0.00193291 Jy
! Component: 2000  -  total flux cleaned = -0.00195345 Jy
! Total flux subtracted in 2048 components = -0.00195339 Jy
! Clean residual min=-0.001324 max=0.001273 Jy/beam
! Clean residual mean=0.000006 rms=0.000387 Jy/beam
! Combined flux in latest and established models = 0.073066 Jy
keep
! Adding 141 model components to the UV plane model.
! The established model now contains 189 components and 0.073066 Jy
![Exited script file: muppet]
wmap "J1855-1209_X_2005_05_12_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9331 x 2.357 at 0.2681 degrees (North through East)
! Clean map  min=-0.002166  max=0.066003 Jy/beam
! Writing clean map to FITS file: J1855-1209_X_2005_05_12_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0660031 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000381557 
device "J1855-1209_X_2005_05_12_yyk\_map.eps/VPS"
! Attempting to open device: 'J1855-1209_X_2005_05_12_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.73427 1.73427 3.46854 6.93708 13.8742 27.7483 55.4966
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.066 
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.9331 x 2.357 at 0.2681 degrees (North through East)
! Clean map  min=-0.002166  max=0.066003 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1855-1209_X_2005_05_12_yyk\_map.gif/gif"
! Attempting to open device: 'J1855-1209_X_2005_05_12_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1855-1209_X_2005_05_12_yyk_uvs.log closed on Sat Oct  8 17:37:48 2005