! Started logfile: J0242-2132_X_1997_07_02_yyk_uvs.log on Mon Jan  8 02:31:47 2007
obs J0242-2132_X_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J0242-2132_X_1997_07_02_yyk_uva.fits
! AN table 1: 148 integrations on 45 of 45 possible baselines.
! Apparent sampling: 1.76997 visibilities/baseline/integration-bin.
! Found source: J0242-2132
! 
! 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.15447e+09        8e+06          1        8e+06
!  02        2  8.23447e+09        8e+06          1        8e+06
!  03        3  8.41447e+09        8e+06          1        8e+06
!  04        4  8.55447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 753 lines of history.
! 
! Reading 47152 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 J0242-2132_X_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.330065 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.7374 mas, bmaj=2.223 mas, bpa=3.82 degrees
! Estimated noise=815.165 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.192359 Jy
! Component: 100  -  total flux cleaned = 0.257461 Jy
! Total flux subtracted in 100 components = 0.257461 Jy
! Clean residual min=-0.012365 max=0.025219 Jy/beam
! Clean residual mean=0.000071 rms=0.004328 Jy/beam
! Combined flux in latest and established models = 0.257461 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 19 components and 0.257461 Jy
! 
! Correcting IF 1.
!  A total of 91 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 91 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 91 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 91 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.215199Jy  sigma=0.001889
! Fit after  self-cal, rms=0.215102Jy  sigma=0.001888
! Inverting map and beam 
! Estimated beam: bmin=0.7374 mas, bmaj=2.223 mas, bpa=3.82 degrees
! Estimated noise=815.244 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.9595 mas, bmaj=2.687 mas, bpa=0.5933 degrees
! Estimated noise=505.294 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.0540289 Jy
! Component: 100  -  total flux cleaned = 0.0760521 Jy
! Component: 150  -  total flux cleaned = 0.0857482 Jy
! Component: 200  -  total flux cleaned = 0.0901001 Jy
! Total flux subtracted in 200 components = 0.0901001 Jy
! Clean residual min=-0.013378 max=0.024501 Jy/beam
! Clean residual mean=0.000171 rms=0.005105 Jy/beam
! Combined flux in latest and established models = 0.347561 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 42 components and 0.347561 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.208606Jy  sigma=0.001805
! Fit after  self-cal, rms=0.208577Jy  sigma=0.001805
! 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.9595 x 2.687 at 0.5933 degrees (North through East)
! Clean map  min=-0.013162  max=0.22482 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.982806
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        0.90     HN        1.07     KP        1.05     
!   LA        0.96     MK        1.08     NL        1.21     OV        0.95     
!   PT        0.93     SC        0.99     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.00347
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.90     HN        1.05     KP        1.05     
!   LA        0.95     MK        0.95     NL        1.22     OV        1.00     
!   PT        0.88     SC        0.96     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.968614
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.95     HN        1.11     KP        1.07     
!   LA        0.98     MK        1.03     NL        1.25     OV        0.94     
!   PT        0.96     SC        1.02     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.965888
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        0.91     HN        1.14     KP        1.04     
!   LA        0.96     MK        0.99     NL        1.22     OV        0.97     
!   PT        1.00     SC        1.05     
! 
! 
! Fit before self-cal, rms=0.208577Jy  sigma=0.001805
! Fit after  self-cal, rms=0.211345Jy  sigma=0.001787
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.211345Jy  sigma=0.001787
! Fit after  self-cal, rms=0.211371Jy  sigma=0.001787
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9727 mas, bmaj=2.736 mas, bpa=1.268 degrees
! Estimated noise=490.437 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.0124317 Jy
! Component: 100  -  total flux cleaned = -0.0164559 Jy
! Component: 150  -  total flux cleaned = -0.0171154 Jy
! Component: 200  -  total flux cleaned = -0.0171806 Jy
! Total flux subtracted in 200 components = -0.0171806 Jy
! Clean residual min=-0.011772 max=0.016998 Jy/beam
! Clean residual mean=0.000122 rms=0.004403 Jy/beam
! Combined flux in latest and established models = 0.330381 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 51 components and 0.330381 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.210810Jy  sigma=0.001782
! Fit after  self-cal, rms=0.210810Jy  sigma=0.001782
! 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.210810Jy  sigma=0.001782
! Fit after  self-cal, rms=0.206577Jy  sigma=0.001750
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.00228866 Jy
! Component: 100  -  total flux cleaned = 0.00264356 Jy
! Component: 150  -  total flux cleaned = 0.00269538 Jy
! Component: 200  -  total flux cleaned = 0.00269063 Jy
! Total flux subtracted in 200 components = 0.00269063 Jy
! Clean residual min=-0.011701 max=0.017399 Jy/beam
! Clean residual mean=0.000120 rms=0.004418 Jy/beam
! Combined flux in latest and established models = 0.333071 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 52 components and 0.333071 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206541Jy  sigma=0.001749
! Fit after  self-cal, rms=0.206049Jy  sigma=0.001746
! 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.9727 x 2.736 at 1.268 degrees (North through East)
! Clean map  min=-0.011595  max=0.22662 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
! Performing amp+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.206049Jy  sigma=0.001746
! Fit after  self-cal, rms=0.215066Jy  sigma=0.001733
! 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.215066Jy  sigma=0.001733
! Fit after  self-cal, rms=0.214937Jy  sigma=0.001732
! Inverting map and beam 
! Estimated beam: bmin=0.9891 mas, bmaj=2.79 mas, bpa=1.334 degrees
! Estimated noise=488.305 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -4.71203e-06 Jy
! Component: 100  -  total flux cleaned = -6.54991e-05 Jy
! Component: 150  -  total flux cleaned = -6.44302e-05 Jy
! Component: 200  -  total flux cleaned = -6.37282e-05 Jy
! Total flux subtracted in 200 components = -6.37282e-05 Jy
! Clean residual min=-0.009881 max=0.015505 Jy/beam
! Clean residual mean=0.000112 rms=0.004069 Jy/beam
! Combined flux in latest and established models = 0.333008 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 57 components and 0.333008 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.214908Jy  sigma=0.001732
! Fit after  self-cal, rms=0.214855Jy  sigma=0.001731
! Inverting map 
! Performing amp+phase self-cal over 1 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.214855Jy  sigma=0.001731
! Fit after  self-cal, rms=0.215658Jy  sigma=0.001729
! 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.215658Jy  sigma=0.001729
! Fit after  self-cal, rms=0.215630Jy  sigma=0.001729
! Inverting map and beam 
! Estimated beam: bmin=0.994 mas, bmaj=2.808 mas, bpa=1.237 degrees
! Estimated noise=489.281 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000205279 Jy
! Component: 100  -  total flux cleaned = 0.000158939 Jy
! Component: 150  -  total flux cleaned = 0.000161339 Jy
! Component: 200  -  total flux cleaned = 0.000166293 Jy
! Total flux subtracted in 200 components = 0.000166293 Jy
! Clean residual min=-0.009910 max=0.015360 Jy/beam
! Clean residual mean=0.000112 rms=0.004076 Jy/beam
! Combined flux in latest and established models = 0.333174 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 59 components and 0.333174 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.215609Jy  sigma=0.001729
! Fit after  self-cal, rms=0.215593Jy  sigma=0.001729
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
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.53 mas, bmaj=5.508 mas, bpa=1.984 degrees
! Estimated noise=600.926 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.00197723 Jy
! Component: 100  -  total flux cleaned = 0.00199113 Jy
! Component: 150  -  total flux cleaned = 0.0019281 Jy
! Component: 200  -  total flux cleaned = 0.00187243 Jy
! Total flux subtracted in 200 components = 0.00187243 Jy
! Clean residual min=-0.015341 max=0.021704 Jy/beam
! Clean residual mean=0.000198 rms=0.006778 Jy/beam
! Combined flux in latest and established models = 0.335046 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 69 components and 0.335046 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.215612Jy  sigma=0.001730
! Fit after  self-cal, rms=0.215573Jy  sigma=0.001729
! 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.747 mas, bmaj=2.264 mas, bpa=4.045 degrees
! Estimated noise=816.436 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.194653 Jy
! Component: 100  -  total flux cleaned = 0.261224 Jy
! Component: 150  -  total flux cleaned = 0.291582 Jy
! Component: 200  -  total flux cleaned = 0.307589 Jy
! Total flux subtracted in 200 components = 0.307589 Jy
! Clean residual min=-0.008171 max=0.011602 Jy/beam
! Clean residual mean=0.000036 rms=0.002565 Jy/beam
! Combined flux in latest and established models = 0.307589 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 30 model components to the UV plane model.
! The established model now contains 30 components and 0.307589 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.994 mas, bmaj=2.808 mas, bpa=1.237 degrees
! Estimated noise=489.281 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.0156593 Jy
! Component: 100  -  total flux cleaned = 0.0217004 Jy
! Component: 150  -  total flux cleaned = 0.0240939 Jy
! Component: 200  -  total flux cleaned = 0.024382 Jy
! Total flux subtracted in 200 components = 0.024382 Jy
! Clean residual min=-0.010020 max=0.015949 Jy/beam
! Clean residual mean=0.000114 rms=0.004084 Jy/beam
! Combined flux in latest and established models = 0.331971 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 40 components and 0.331971 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.53 mas, bmaj=5.508 mas, bpa=1.984 degrees
! Estimated noise=600.926 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.00227003 Jy
! Component: 100  -  total flux cleaned = 0.00227744 Jy
! Component: 150  -  total flux cleaned = 0.00234409 Jy
! Component: 200  -  total flux cleaned = 0.00246048 Jy
! Total flux subtracted in 200 components = 0.00246048 Jy
! Clean residual min=-0.015338 max=0.021746 Jy/beam
! Clean residual mean=0.000200 rms=0.006792 Jy/beam
! Combined flux in latest and established models = 0.334431 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 45 components and 0.334431 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.994 mas, bmaj=2.808 mas, bpa=1.237 degrees
! Estimated noise=489.281 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00190043 Jy
! Component: 100  -  total flux cleaned = -0.00174782 Jy
! Component: 150  -  total flux cleaned = -0.00152698 Jy
! Component: 200  -  total flux cleaned = -0.00143755 Jy
! Total flux subtracted in 200 components = -0.00143755 Jy
! Clean residual min=-0.009985 max=0.015713 Jy/beam
! Clean residual mean=0.000112 rms=0.004078 Jy/beam
! Combined flux in latest and established models = 0.332994 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 50 components and 0.332994 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.215549Jy  sigma=0.001729
! Fit after  self-cal, rms=0.215538Jy  sigma=0.001729
wmodel J0242-2132_X_1997_07_02_yyk\_map.mod
! Writing 50 model components to file: J0242-2132_X_1997_07_02_yyk_map.mod
wobs J0242-2132_X_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J0242-2132_X_1997_07_02_yyk_uvs.fits
wwins J0242-2132_X_1997_07_02_yyk\_map.win
! wwins: Wrote 1 windows to J0242-2132_X_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.00684441 Jy
! Component: 100  -  total flux cleaned = 0.0124874 Jy
! Component: 150  -  total flux cleaned = 0.0174333 Jy
! Component: 200  -  total flux cleaned = 0.0213782 Jy
! Component: 250  -  total flux cleaned = 0.0245139 Jy
! Component: 300  -  total flux cleaned = 0.0269898 Jy
! Component: 350  -  total flux cleaned = 0.0291828 Jy
! Component: 400  -  total flux cleaned = 0.0307121 Jy
! Component: 450  -  total flux cleaned = 0.032436 Jy
! Component: 500  -  total flux cleaned = 0.0337064 Jy
! Component: 550  -  total flux cleaned = 0.0352949 Jy
! Component: 600  -  total flux cleaned = 0.0371681 Jy
! Component: 650  -  total flux cleaned = 0.0385238 Jy
! Component: 700  -  total flux cleaned = 0.0399463 Jy
! Component: 750  -  total flux cleaned = 0.0414289 Jy
! Component: 800  -  total flux cleaned = 0.0422514 Jy
! Component: 850  -  total flux cleaned = 0.0430528 Jy
! Component: 900  -  total flux cleaned = 0.0436377 Jy
! Component: 950  -  total flux cleaned = 0.0442983 Jy
! Component: 1000  -  total flux cleaned = 0.0447581 Jy
! Component: 1050  -  total flux cleaned = 0.0454719 Jy
! Component: 1100  -  total flux cleaned = 0.0459049 Jy
! Component: 1150  -  total flux cleaned = 0.0461584 Jy
! Component: 1200  -  total flux cleaned = 0.046407 Jy
! Component: 1250  -  total flux cleaned = 0.0468931 Jy
! Component: 1300  -  total flux cleaned = 0.0470513 Jy
! Component: 1350  -  total flux cleaned = 0.0474377 Jy
! Component: 1400  -  total flux cleaned = 0.0477373 Jy
! Component: 1450  -  total flux cleaned = 0.047809 Jy
! Component: 1500  -  total flux cleaned = 0.0478812 Jy
! Component: 1550  -  total flux cleaned = 0.0480936 Jy
! Component: 1600  -  total flux cleaned = 0.0483003 Jy
! Component: 1650  -  total flux cleaned = 0.0482311 Jy
! Component: 1700  -  total flux cleaned = 0.0483635 Jy
! Component: 1750  -  total flux cleaned = 0.0484925 Jy
! Component: 1800  -  total flux cleaned = 0.0488094 Jy
! Component: 1850  -  total flux cleaned = 0.0488084 Jy
! Component: 1900  -  total flux cleaned = 0.0488695 Jy
! Component: 1950  -  total flux cleaned = 0.0492323 Jy
! Component: 2000  -  total flux cleaned = 0.0492324 Jy
! Total flux subtracted in 2048 components = 0.0494079 Jy
! Clean residual min=-0.002883 max=0.003333 Jy/beam
! Clean residual mean=0.000050 rms=0.001366 Jy/beam
! Combined flux in latest and established models = 0.382402 Jy
keep
! Adding 236 model components to the UV plane model.
! The established model now contains 286 components and 0.382402 Jy
![Exited script file: muppet]
wmap "J0242-2132_X_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.994 x 2.808 at 1.237 degrees (North through East)
! Clean map  min=-0.0058291  max=0.22923 Jy/beam
! Writing clean map to FITS file: J0242-2132_X_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.229234 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00134031 
device "J0242-2132_X_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0242-2132_X_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.75408 1.75408 3.50816 7.01631 14.0326 28.0652 56.1305
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.004 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.229 
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.994 x 2.808 at 1.237 degrees (North through East)
! Clean map  min=-0.0058291  max=0.22923 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0242-2132_X_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0242-2132_X_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0242-2132_X_1997_07_02_yyk_uvs.log closed on Mon Jan  8 02:31:56 2007