! Started logfile: J0015-1812_S_1997_07_02_yyk_uvs.log on Sun Jan  7 15:18:01 2007
obs J0015-1812_S_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J0015-1812_S_1997_07_02_yyk_uva.fits
! AN table 1: 139 integrations on 45 of 45 possible baselines.
! Apparent sampling: 1.83373 visibilities/baseline/integration-bin.
! Found source: J0015-1812
! 
! 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.22447e+09        8e+06          1        8e+06
!  02        2  2.23447e+09        8e+06          1        8e+06
!  03        3  2.29447e+09        8e+06          1        8e+06
!  04        4  2.32447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 754 lines of history.
! 
! Reading 45880 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 J0015-1812_S_1997_07_02_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.4524 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.723 mas, bmaj=6.955 mas, bpa=0.9038 degrees
! Estimated noise=1658.91 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.261217 Jy
! Component: 100  -  total flux cleaned = 0.339364 Jy
! Total flux subtracted in 100 components = 0.339364 Jy
! Clean residual min=-0.019196 max=0.041164 Jy/beam
! Clean residual mean=0.000181 rms=0.005747 Jy/beam
! Combined flux in latest and established models = 0.339364 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 16 components and 0.339364 Jy
! 
! Correcting IF 1.
!  A total of 278 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 46 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 89 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 40 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.321404Jy  sigma=0.001701
! Fit after  self-cal, rms=0.321122Jy  sigma=0.001699
! Inverting map and beam 
! Estimated beam: bmin=2.723 mas, bmaj=6.955 mas, bpa=0.9035 degrees
! Estimated noise=1659.25 mJy/beam.
! Added new window around map position (-3.5, -2).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0457114 Jy
! Component: 100  -  total flux cleaned = 0.0561348 Jy
! Total flux subtracted in 100 components = 0.0561348 Jy
! Clean residual min=-0.015018 max=0.024045 Jy/beam
! Clean residual mean=0.000086 rms=0.004365 Jy/beam
! Combined flux in latest and established models = 0.395499 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 24 components and 0.395499 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.316451Jy  sigma=0.001671
! Fit after  self-cal, rms=0.316048Jy  sigma=0.001668
! Inverting map 
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=3.652 mas, bmaj=9.482 mas, bpa=-0.5441 degrees
! Estimated noise=813.737 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.0117523 Jy
! Component: 100  -  total flux cleaned = 0.0122217 Jy
! Component: 150  -  total flux cleaned = 0.0124297 Jy
! Component: 200  -  total flux cleaned = 0.0126118 Jy
! Total flux subtracted in 200 components = 0.0126118 Jy
! Clean residual min=-0.010123 max=0.011777 Jy/beam
! Clean residual mean=0.000157 rms=0.003224 Jy/beam
! Combined flux in latest and established models = 0.40811 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 34 components and 0.40811 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.315472Jy  sigma=0.001665
! Fit after  self-cal, rms=0.315439Jy  sigma=0.001665
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.652 x 9.482 at -0.5441 degrees (North through East)
! Clean map  min=-0.0097288  max=0.28221 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 0.37085
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.11     HN        0.86     KP        0.93     
!   LA        0.99     MK       18.28     NL        1.00*    OV        1.11     
!   PT        0.94     SC        0.80     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.00554
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.16     HN        1.03     KP        0.95     
!   LA        1.09     MK        0.84     NL        0.95     OV        1.04     
!   PT        0.97     SC        0.88     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.05926
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        1.08     HN        0.95     KP        0.94     
!   LA        0.80     MK        0.69     NL        0.93     OV        0.98     
!   PT        1.08     SC        1.04     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.01967
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.12     HN        1.12     KP        0.93     
!   LA        0.90     MK        0.83     NL        1.04     OV        0.94     
!   PT        0.93     SC        0.99     
! 
! 
! Fit before self-cal, rms=0.315439Jy  sigma=0.001665
! Fit after  self-cal, rms=0.355132Jy  sigma=0.006025
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.355132Jy  sigma=0.006025
! Fit after  self-cal, rms=0.355136Jy  sigma=0.006025
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=4.568 mas, bmaj=14.06 mas, bpa=13.74 degrees
! Estimated noise=250.397 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.258061 Jy
! Component: 100  -  total flux cleaned = -0.312509 Jy
! Component: 150  -  total flux cleaned = -0.326931 Jy
! Component: 200  -  total flux cleaned = -0.331293 Jy
! Total flux subtracted in 200 components = -0.331293 Jy
! Clean residual min=-0.006643 max=0.004151 Jy/beam
! Clean residual mean=-0.000078 rms=0.001267 Jy/beam
! Combined flux in latest and established models = 0.0768171 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 50 model components to the UV plane model.
! The established model now contains 71 components and 0.0768172 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.411874Jy  sigma=0.002205
! Fit after  self-cal, rms=0.411812Jy  sigma=0.002204
! 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.411812Jy  sigma=0.002204
! Fit after  self-cal, rms=0.411331Jy  sigma=0.002202
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.00144018 Jy
! Component: 100  -  total flux cleaned = -0.00150972 Jy
! Component: 150  -  total flux cleaned = -0.00151697 Jy
! Component: 200  -  total flux cleaned = -0.00157135 Jy
! Total flux subtracted in 200 components = -0.00157135 Jy
! Clean residual min=-0.005809 max=0.003855 Jy/beam
! Clean residual mean=-0.000062 rms=0.001167 Jy/beam
! Combined flux in latest and established models = 0.0752459 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 76 components and 0.0752458 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.411256Jy  sigma=0.002201
! Fit after  self-cal, rms=0.411190Jy  sigma=0.002201
! 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.568 x 14.06 at 13.74 degrees (North through East)
! Clean map  min=-0.0073179  max=0.068774 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=9.584 mas, bmaj=22.17 mas, bpa=17.36 degrees
! Estimated noise=282.092 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.00108957 Jy
! Component: 100  -  total flux cleaned = -0.0011924 Jy
! Component: 150  -  total flux cleaned = -0.00119209 Jy
! Component: 200  -  total flux cleaned = -0.00119767 Jy
! Total flux subtracted in 200 components = -0.00119767 Jy
! Clean residual min=-0.005623 max=0.003249 Jy/beam
! Clean residual mean=-0.000071 rms=0.001161 Jy/beam
! Combined flux in latest and established models = 0.0740482 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 87 components and 0.0740482 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.411024Jy  sigma=0.002201
! Fit after  self-cal, rms=0.411007Jy  sigma=0.002201
! 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.954 mas, bmaj=7.407 mas, bpa=8.234 degrees
! Estimated noise=918.553 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.137725 Jy
! Component: 100  -  total flux cleaned = 0.172728 Jy
! Component: 150  -  total flux cleaned = 0.179762 Jy
! Component: 200  -  total flux cleaned = 0.183421 Jy
! Total flux subtracted in 200 components = 0.183421 Jy
! Clean residual min=-0.024526 max=0.018615 Jy/beam
! Clean residual mean=-0.000241 rms=0.005211 Jy/beam
! Combined flux in latest and established models = 0.183421 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 28 model components to the UV plane model.
! The established model now contains 28 components and 0.183421 Jy
! Inverting map and beam 
! Estimated beam: bmin=4.568 mas, bmaj=14.06 mas, bpa=13.74 degrees
! Estimated noise=250.397 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.0850008 Jy
! Component: 100  -  total flux cleaned = -0.102498 Jy
! Component: 150  -  total flux cleaned = -0.107798 Jy
! Component: 200  -  total flux cleaned = -0.108841 Jy
! Total flux subtracted in 200 components = -0.108841 Jy
! Clean residual min=-0.005408 max=0.004111 Jy/beam
! Clean residual mean=-0.000055 rms=0.001160 Jy/beam
! Combined flux in latest and established models = 0.0745798 Jy
! Adding 39 model components to the UV plane model.
! The established model now contains 62 components and 0.0745798 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=9.584 mas, bmaj=22.17 mas, bpa=17.36 degrees
! Estimated noise=282.092 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.00107208 Jy
! Component: 100  -  total flux cleaned = -0.00106634 Jy
! Component: 150  -  total flux cleaned = -0.00101768 Jy
! Component: 200  -  total flux cleaned = -0.00101745 Jy
! Total flux subtracted in 200 components = -0.00101745 Jy
! Clean residual min=-0.005451 max=0.003366 Jy/beam
! Clean residual mean=-0.000064 rms=0.001153 Jy/beam
! Combined flux in latest and established models = 0.0735624 Jy
! Adding 11 model components to the UV plane model.
! The established model now contains 68 components and 0.0735624 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=4.568 mas, bmaj=14.06 mas, bpa=13.74 degrees
! Estimated noise=250.397 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000740954 Jy
! Component: 100  -  total flux cleaned = 0.000798902 Jy
! Component: 150  -  total flux cleaned = 0.000749872 Jy
! Component: 200  -  total flux cleaned = 0.000749392 Jy
! Total flux subtracted in 200 components = 0.000749392 Jy
! Clean residual min=-0.005568 max=0.004237 Jy/beam
! Clean residual mean=-0.000052 rms=0.001197 Jy/beam
! Combined flux in latest and established models = 0.0743118 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 72 components and 0.0743118 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.410463Jy  sigma=0.002200
! Fit after  self-cal, rms=0.410297Jy  sigma=0.002198
wmodel J0015-1812_S_1997_07_02_yyk\_map.mod
! Writing 72 model components to file: J0015-1812_S_1997_07_02_yyk_map.mod
wobs J0015-1812_S_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J0015-1812_S_1997_07_02_yyk_uvs.fits
wwins J0015-1812_S_1997_07_02_yyk\_map.win
! wwins: Wrote 2 windows to J0015-1812_S_1997_07_02_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.00237405 Jy
! Component: 100  -  total flux cleaned = -0.00324521 Jy
! Component: 150  -  total flux cleaned = -0.00345187 Jy
! Component: 200  -  total flux cleaned = -0.00345357 Jy
! Component: 250  -  total flux cleaned = -0.00339482 Jy
! Component: 300  -  total flux cleaned = -0.00327888 Jy
! Component: 350  -  total flux cleaned = -0.0032791 Jy
! Component: 400  -  total flux cleaned = -0.00327914 Jy
! Component: 450  -  total flux cleaned = -0.00327933 Jy
! Component: 500  -  total flux cleaned = -0.00327937 Jy
! Component: 550  -  total flux cleaned = -0.00327937 Jy
! Component: 600  -  total flux cleaned = -0.00327901 Jy
! Component: 650  -  total flux cleaned = -0.00327896 Jy
! Component: 700  -  total flux cleaned = -0.00322685 Jy
! Component: 750  -  total flux cleaned = -0.00327875 Jy
! Component: 800  -  total flux cleaned = -0.00317574 Jy
! Component: 850  -  total flux cleaned = -0.00317561 Jy
! Component: 900  -  total flux cleaned = -0.0031761 Jy
! Component: 950  -  total flux cleaned = -0.00322609 Jy
! Component: 1000  -  total flux cleaned = -0.00327597 Jy
! Component: 1050  -  total flux cleaned = -0.00337499 Jy
! Component: 1100  -  total flux cleaned = -0.00342421 Jy
! Component: 1150  -  total flux cleaned = -0.00352241 Jy
! Component: 1200  -  total flux cleaned = -0.00357103 Jy
! Component: 1250  -  total flux cleaned = -0.00376472 Jy
! Component: 1300  -  total flux cleaned = -0.00381296 Jy
! Component: 1350  -  total flux cleaned = -0.00395635 Jy
! Component: 1400  -  total flux cleaned = -0.00405121 Jy
! Component: 1450  -  total flux cleaned = -0.00419306 Jy
! Component: 1500  -  total flux cleaned = -0.0042866 Jy
! Component: 1550  -  total flux cleaned = -0.00438017 Jy
! Component: 1600  -  total flux cleaned = -0.00461178 Jy
! Component: 1650  -  total flux cleaned = -0.00461186 Jy
! Component: 1700  -  total flux cleaned = -0.00474886 Jy
! Component: 1750  -  total flux cleaned = -0.00493093 Jy
! Component: 1800  -  total flux cleaned = -0.00506644 Jy
! Component: 1850  -  total flux cleaned = -0.00520088 Jy
! Component: 1900  -  total flux cleaned = -0.00546958 Jy
! Component: 1950  -  total flux cleaned = -0.00560323 Jy
! Component: 2000  -  total flux cleaned = -0.00586882 Jy
! Total flux subtracted in 2048 components = -0.00608908 Jy
! Clean residual min=-0.002199 max=0.002217 Jy/beam
! Clean residual mean=-0.000004 rms=0.000872 Jy/beam
! Combined flux in latest and established models = 0.0682227 Jy
keep
! Adding 88 model components to the UV plane model.
! The established model now contains 159 components and 0.0682227 Jy
![Exited script file: muppet]
wmap "J0015-1812_S_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.568 x 14.06 at 13.74 degrees (North through East)
! Clean map  min=-0.0097001  max=0.079089 Jy/beam
! Writing clean map to FITS file: J0015-1812_S_1997_07_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0790894 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000868778 
device "J0015-1812_S_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0015-1812_S_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -3.29543 3.29543 6.59086 13.1817 26.3634 52.7268
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0026 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.079 
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.568 x 14.06 at 13.74 degrees (North through East)
! Clean map  min=-0.0097001  max=0.079089 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0015-1812_S_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0015-1812_S_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0015-1812_S_1997_07_02_yyk_uvs.log closed on Sun Jan  7 15:18:08 2007