! Started logfile: J0858+1405_X_2005_06_01_yyk_uvs.log on Sat Oct  8 17:11:27 2005
obs J0858+1405_X_2005_06_01_yyk_uve.fits
! Reading UV FITS file: J0858+1405_X_2005_06_01_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.820202 visibilities/baseline/integration-bin.
! Found source: J0858+1405
! 
! 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 1618 lines of history.
! 
! Reading 1624 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 J0858+1405_X_2005_06_01_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.0899409 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.8211 mas, bmaj=2.07 mas, bpa=-10.61 degrees
! Estimated noise=1.40444 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.0632059 Jy
! Component: 100  -  total flux cleaned = 0.0737681 Jy
! Total flux subtracted in 100 components = 0.0737681 Jy
! Clean residual min=-0.005628 max=0.005344 Jy/beam
! Clean residual mean=-0.000011 rms=0.001552 Jy/beam
! Combined flux in latest and established models = 0.0737681 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 0.0737681 Jy
! 
! Correcting IF 1.
!  A total of 21 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 21 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 30 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 39 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.052261Jy  sigma=1.012588
! Fit after  self-cal, rms=0.052197Jy  sigma=1.010336
! Inverting map and beam 
! Estimated beam: bmin=0.8211 mas, bmaj=2.07 mas, bpa=-10.61 degrees
! Estimated noise=1.40444 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.9762 mas, bmaj=2.28 mas, bpa=-12.56 degrees
! Estimated noise=0.932163 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.00541687 Jy
! Component: 100  -  total flux cleaned = 0.00737302 Jy
! Component: 150  -  total flux cleaned = 0.0078225 Jy
! Component: 200  -  total flux cleaned = 0.00807254 Jy
! Total flux subtracted in 200 components = 0.00807254 Jy
! Clean residual min=-0.004424 max=0.004869 Jy/beam
! Clean residual mean=0.000002 rms=0.001224 Jy/beam
! Combined flux in latest and established models = 0.0818407 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 22 components and 0.0818407 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.051821Jy  sigma=1.001639
! Fit after  self-cal, rms=0.051810Jy  sigma=1.001338
! 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.9762 x 2.28 at -12.56 degrees (North through East)
! Clean map  min=-0.0042418  max=0.072452 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.0022
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.03     HN        1.05     KP        0.97     
!   LA        1.03     MK        0.94     NL        1.16     OV        0.96     
!   PT        0.93     SC        0.95     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.00521
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.01     HN        0.98     KP        0.95     
!   LA        1.02     MK        0.95     NL        1.00     OV        0.97     
!   PT        0.99     SC        1.07     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.02537
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.03     HN        0.87     KP        0.92     
!   LA        0.93     MK        1.15     NL        0.88     OV        1.00     
!   PT        0.99     SC        0.98     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.966908
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.98     HN        1.04     KP        1.05     
!   LA        1.03     MK        1.00*    NL        1.13     OV        0.99     
!   PT        1.10     SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.051810Jy  sigma=1.001338
! Fit after  self-cal, rms=0.051432Jy  sigma=0.993486
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.051432Jy  sigma=0.993486
! Fit after  self-cal, rms=0.051432Jy  sigma=0.993470
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9782 mas, bmaj=2.274 mas, bpa=-12.7 degrees
! Estimated noise=0.926166 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.000389633 Jy
! Component: 100  -  total flux cleaned = -0.000347008 Jy
! Component: 150  -  total flux cleaned = -0.000309241 Jy
! Component: 200  -  total flux cleaned = -0.000278085 Jy
! Total flux subtracted in 200 components = -0.000278085 Jy
! Clean residual min=-0.004222 max=0.004899 Jy/beam
! Clean residual mean=0.000002 rms=0.001161 Jy/beam
! Combined flux in latest and established models = 0.0815626 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 24 components and 0.0815626 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.051359Jy  sigma=0.992340
! Fit after  self-cal, rms=0.051353Jy  sigma=0.992201
! 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.051353Jy  sigma=0.992201
! Fit after  self-cal, rms=0.049787Jy  sigma=0.956093
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.000921067 Jy
! Component: 100  -  total flux cleaned = 0.000927257 Jy
! Component: 150  -  total flux cleaned = 0.000960566 Jy
! Component: 200  -  total flux cleaned = 0.000958396 Jy
! Total flux subtracted in 200 components = 0.000958396 Jy
! Clean residual min=-0.004183 max=0.004987 Jy/beam
! Clean residual mean=0.000005 rms=0.001163 Jy/beam
! Combined flux in latest and established models = 0.082521 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 32 components and 0.082521 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.049732Jy  sigma=0.955118
! Fit after  self-cal, rms=0.049670Jy  sigma=0.953163
! 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.9782 x 2.274 at -12.7 degrees (North through East)
! Clean map  min=-0.0040582  max=0.074033 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.251 mas, bmaj=3.068 mas, bpa=-8.154 degrees
! Estimated noise=1.12963 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 = 7.94728e-05 Jy
! Component: 100  -  total flux cleaned = -9.79911e-06 Jy
! Component: 150  -  total flux cleaned = -9.4543e-06 Jy
! Component: 200  -  total flux cleaned = -1.06194e-05 Jy
! Total flux subtracted in 200 components = -1.06194e-05 Jy
! Clean residual min=-0.004788 max=0.007222 Jy/beam
! Clean residual mean=0.000010 rms=0.001724 Jy/beam
! Combined flux in latest and established models = 0.0825104 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 39 components and 0.0825104 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.049655Jy  sigma=0.953056
! Fit after  self-cal, rms=0.049642Jy  sigma=0.952759
! 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.8248 mas, bmaj=2.057 mas, bpa=-10.34 degrees
! Estimated noise=1.40382 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0640029 Jy
! Component: 100  -  total flux cleaned = 0.0760652 Jy
! Component: 150  -  total flux cleaned = 0.0787358 Jy
! Component: 200  -  total flux cleaned = 0.0799468 Jy
! Total flux subtracted in 200 components = 0.0799467 Jy
! Clean residual min=-0.005239 max=0.005501 Jy/beam
! Clean residual mean=-0.000000 rms=0.001431 Jy/beam
! Combined flux in latest and established models = 0.0799468 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 22 model components to the UV plane model.
! The established model now contains 22 components and 0.0799468 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9782 mas, bmaj=2.274 mas, bpa=-12.7 degrees
! Estimated noise=0.926166 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 (2, 9.8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00611924 Jy
! Component: 100  -  total flux cleaned = 0.00971371 Jy
! Component: 150  -  total flux cleaned = 0.0123129 Jy
! Component: 200  -  total flux cleaned = 0.0139207 Jy
! Total flux subtracted in 200 components = 0.0139207 Jy
! Clean residual min=-0.003601 max=0.003179 Jy/beam
! Clean residual mean=0.000002 rms=0.000888 Jy/beam
! Combined flux in latest and established models = 0.0938675 Jy
! Adding 22 model components to the UV plane model.
! The established model now contains 43 components and 0.0938675 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.251 mas, bmaj=3.068 mas, bpa=-8.154 degrees
! Estimated noise=1.12963 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.00259795 Jy
! Component: 100  -  total flux cleaned = 0.00355909 Jy
! Component: 150  -  total flux cleaned = 0.00380301 Jy
! Component: 200  -  total flux cleaned = 0.00407101 Jy
! Total flux subtracted in 200 components = 0.00407101 Jy
! Clean residual min=-0.003174 max=0.002968 Jy/beam
! Clean residual mean=0.000005 rms=0.001000 Jy/beam
! Combined flux in latest and established models = 0.0979385 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 61 components and 0.0979385 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9782 mas, bmaj=2.274 mas, bpa=-12.7 degrees
! Estimated noise=0.926166 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000919905 Jy
! Component: 100  -  total flux cleaned = -0.00120152 Jy
! Component: 150  -  total flux cleaned = -0.00114878 Jy
! Component: 200  -  total flux cleaned = -0.00101228 Jy
! Total flux subtracted in 200 components = -0.00101228 Jy
! Clean residual min=-0.003377 max=0.002764 Jy/beam
! Clean residual mean=0.000003 rms=0.000811 Jy/beam
! Combined flux in latest and established models = 0.0969263 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 76 components and 0.0969262 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.049237Jy  sigma=0.940755
! Fit after  self-cal, rms=0.049218Jy  sigma=0.940033
wmodel J0858+1405_X_2005_06_01_yyk\_map.mod
! Writing 76 model components to file: J0858+1405_X_2005_06_01_yyk_map.mod
wobs J0858+1405_X_2005_06_01_yyk\_uvs.fits
! Writing UV FITS file: J0858+1405_X_2005_06_01_yyk_uvs.fits
wwins J0858+1405_X_2005_06_01_yyk\_map.win
! wwins: Wrote 2 windows to J0858+1405_X_2005_06_01_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.00149725 Jy
! Component: 100  -  total flux cleaned = -0.00217045 Jy
! Component: 150  -  total flux cleaned = -0.00264019 Jy
! Component: 200  -  total flux cleaned = -0.00286195 Jy
! Component: 250  -  total flux cleaned = -0.00269901 Jy
! Component: 300  -  total flux cleaned = -0.00261992 Jy
! Component: 350  -  total flux cleaned = -0.00254484 Jy
! Component: 400  -  total flux cleaned = -0.00239926 Jy
! Component: 450  -  total flux cleaned = -0.00215428 Jy
! Component: 500  -  total flux cleaned = -0.00191801 Jy
! Component: 550  -  total flux cleaned = -0.00172081 Jy
! Component: 600  -  total flux cleaned = -0.00156244 Jy
! Component: 650  -  total flux cleaned = -0.00143919 Jy
! Component: 700  -  total flux cleaned = -0.00128928 Jy
! Component: 750  -  total flux cleaned = -0.00123095 Jy
! Component: 800  -  total flux cleaned = -0.00108944 Jy
! Component: 850  -  total flux cleaned = -0.000979437 Jy
! Component: 900  -  total flux cleaned = -0.000925586 Jy
! Component: 950  -  total flux cleaned = -0.0008465 Jy
! Component: 1000  -  total flux cleaned = -0.000716947 Jy
! Component: 1050  -  total flux cleaned = -0.000665834 Jy
! Component: 1100  -  total flux cleaned = -0.000541652 Jy
! Component: 1150  -  total flux cleaned = -0.000444469 Jy
! Component: 1200  -  total flux cleaned = -0.000348515 Jy
! Component: 1250  -  total flux cleaned = -0.000230509 Jy
! Component: 1300  -  total flux cleaned = -9.12048e-05 Jy
! Component: 1350  -  total flux cleaned = 4.58254e-05 Jy
! Component: 1400  -  total flux cleaned = 0.000158362 Jy
! Component: 1450  -  total flux cleaned = 0.000380272 Jy
! Component: 1500  -  total flux cleaned = 0.000533161 Jy
! Component: 1550  -  total flux cleaned = 0.000683698 Jy
! Component: 1600  -  total flux cleaned = 0.000725939 Jy
! Component: 1650  -  total flux cleaned = 0.000831079 Jy
! Component: 1700  -  total flux cleaned = 0.000955567 Jy
! Component: 1750  -  total flux cleaned = 0.00103768 Jy
! Component: 1800  -  total flux cleaned = 0.00109871 Jy
! Component: 1850  -  total flux cleaned = 0.0011591 Jy
! Component: 1900  -  total flux cleaned = 0.00123839 Jy
! Component: 1950  -  total flux cleaned = 0.00127784 Jy
! Component: 2000  -  total flux cleaned = 0.00135511 Jy
! Total flux subtracted in 2048 components = 0.00137429 Jy
! Clean residual min=-0.001354 max=0.001219 Jy/beam
! Clean residual mean=0.000002 rms=0.000350 Jy/beam
! Combined flux in latest and established models = 0.0983005 Jy
keep
! Adding 128 model components to the UV plane model.
! The established model now contains 204 components and 0.0983005 Jy
![Exited script file: muppet]
wmap "J0858+1405_X_2005_06_01_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9782 x 2.274 at -12.7 degrees (North through East)
! Clean map  min=-0.0024604  max=0.0735 Jy/beam
! Writing clean map to FITS file: J0858+1405_X_2005_06_01_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0735004 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00034118 
device "J0858+1405_X_2005_06_01_yyk\_map.eps/VPS"
! Attempting to open device: 'J0858+1405_X_2005_06_01_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.39256 1.39256 2.78513 5.57026 11.1405 22.281 44.5621 89.1241
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.001 
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.9782 x 2.274 at -12.7 degrees (North through East)
! Clean map  min=-0.0024604  max=0.0735 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0858+1405_X_2005_06_01_yyk\_map.gif/gif"
! Attempting to open device: 'J0858+1405_X_2005_06_01_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0858+1405_X_2005_06_01_yyk_uvs.log closed on Sat Oct  8 17:11:31 2005