! Started logfile: J0137-2430_S_1997_08_27_yyk_uvs.log on Sun Jan  7 15:41:35 2007
obs J0137-2430_S_1997_08_27_yyk_uva.fits
! Reading UV FITS file: J0137-2430_S_1997_08_27_yyk_uva.fits
! AN table 1: 144 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.847377 visibilities/baseline/integration-bin.
! Found source: J0137-2430
! 
! 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 702 lines of history.
! 
! Reading 21964 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 J0137-2430_S_1997_08_27_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.919599 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.636 mas, bmaj=6.223 mas, bpa=-3.978 degrees
! Estimated noise=2733.61 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.693457 Jy
! Component: 100  -  total flux cleaned = 0.828792 Jy
! Total flux subtracted in 100 components = 0.828792 Jy
! Clean residual min=-0.024533 max=0.037138 Jy/beam
! Clean residual mean=0.000536 rms=0.008098 Jy/beam
! Combined flux in latest and established models = 0.828792 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.828792 Jy
! 
! Correcting IF 1.
!  A total of 301 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 122 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 122 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 122 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.368444Jy  sigma=0.001275
! Fit after  self-cal, rms=0.367677Jy  sigma=0.001273
! Inverting map and beam 
! Estimated beam: bmin=2.636 mas, bmaj=6.223 mas, bpa=-3.977 degrees
! Estimated noise=2733.81 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=3.422 mas, bmaj=8.714 mas, bpa=-5.807 degrees
! Estimated noise=1298.22 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.0458142 Jy
! Component: 100  -  total flux cleaned = 0.0562788 Jy
! Component: 150  -  total flux cleaned = 0.0566609 Jy
! Component: 200  -  total flux cleaned = 0.0569727 Jy
! Total flux subtracted in 200 components = 0.0569727 Jy
! Clean residual min=-0.020216 max=0.030677 Jy/beam
! Clean residual mean=0.000735 rms=0.006699 Jy/beam
! Combined flux in latest and established models = 0.885765 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 22 components and 0.885765 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.361445Jy  sigma=0.001258
! Fit after  self-cal, rms=0.361296Jy  sigma=0.001257
! 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.422 x 8.714 at -5.807 degrees (North through East)
! Clean map  min=-0.020065  max=0.8093 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: 1.02416
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.09     HN        0.91     KP        0.93     
!   LA        1.00     MK        1.01     NL        1.00*    OV        1.08     
!   PT        0.99     SC        0.81     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.984262
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.17     HN        1.00     KP        0.96     
!   LA        1.07     MK        1.04     NL        1.02     OV        1.04     
!   PT        0.96     SC        0.91     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.04542
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.06     HN        0.94     KP        0.92     
!   LA        0.80     MK        0.87     NL        0.96     OV        0.94     
!   PT        1.11     SC        1.02     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.996939
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.12     HN        1.12     KP        0.95     
!   LA        0.87     MK        1.04     NL        1.10     OV        0.93     
!   PT        0.93     SC        0.99     
! 
! 
! Fit before self-cal, rms=0.361296Jy  sigma=0.001257
! Fit after  self-cal, rms=0.341731Jy  sigma=0.001213
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.341731Jy  sigma=0.001213
! Fit after  self-cal, rms=0.341727Jy  sigma=0.001213
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.379 mas, bmaj=8.51 mas, bpa=-4.907 degrees
! Estimated noise=1310.07 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 (6, 3).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0312488 Jy
! Component: 100  -  total flux cleaned = 0.0378191 Jy
! Component: 150  -  total flux cleaned = 0.0391178 Jy
! Component: 200  -  total flux cleaned = 0.0394742 Jy
! Total flux subtracted in 200 components = 0.0394742 Jy
! Clean residual min=-0.010010 max=0.018583 Jy/beam
! Clean residual mean=0.000204 rms=0.003399 Jy/beam
! Combined flux in latest and established models = 0.925239 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 48 components and 0.925239 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.339259Jy  sigma=0.001205
! Fit after  self-cal, rms=0.339000Jy  sigma=0.001204
! 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.339000Jy  sigma=0.001204
! Fit after  self-cal, rms=0.337075Jy  sigma=0.001197
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)
! Added new window around map position (19.5, 11.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0200415 Jy
! Component: 100  -  total flux cleaned = 0.0298127 Jy
! Component: 150  -  total flux cleaned = 0.0316151 Jy
! Component: 200  -  total flux cleaned = 0.0321329 Jy
! Total flux subtracted in 200 components = 0.0321329 Jy
! Clean residual min=-0.008078 max=0.009110 Jy/beam
! Clean residual mean=-0.000017 rms=0.002477 Jy/beam
! Combined flux in latest and established models = 0.957372 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 77 components and 0.957371 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.336088Jy  sigma=0.001193
! Fit after  self-cal, rms=0.335778Jy  sigma=0.001192
! 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: 3.379 x 8.51 at -4.907 degrees (North through East)
! Clean map  min=-0.011175  max=0.81527 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.335778Jy  sigma=0.001192
! Fit after  self-cal, rms=0.327194Jy  sigma=0.001181
! 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.327194Jy  sigma=0.001181
! Fit after  self-cal, rms=0.327140Jy  sigma=0.001181
! Inverting map and beam 
! Estimated beam: bmin=3.351 mas, bmaj=8.479 mas, bpa=-4.775 degrees
! Estimated noise=1302.46 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00602085 Jy
! Component: 100  -  total flux cleaned = 0.00603698 Jy
! Component: 150  -  total flux cleaned = 0.00622462 Jy
! Component: 200  -  total flux cleaned = 0.00604807 Jy
! Total flux subtracted in 200 components = 0.00604807 Jy
! Clean residual min=-0.006117 max=0.007974 Jy/beam
! Clean residual mean=-0.000005 rms=0.001995 Jy/beam
! Combined flux in latest and established models = 0.96342 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 97 components and 0.963419 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.326884Jy  sigma=0.001180
! Fit after  self-cal, rms=0.326859Jy  sigma=0.001180
! 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.326859Jy  sigma=0.001180
! Fit after  self-cal, rms=0.326229Jy  sigma=0.001178
! 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.326229Jy  sigma=0.001178
! Fit after  self-cal, rms=0.326233Jy  sigma=0.001178
! Inverting map and beam 
! Estimated beam: bmin=3.339 mas, bmaj=8.456 mas, bpa=-4.671 degrees
! Estimated noise=1302.41 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00371841 Jy
! Component: 100  -  total flux cleaned = 0.0038789 Jy
! Component: 150  -  total flux cleaned = 0.00373767 Jy
! Component: 200  -  total flux cleaned = 0.00373873 Jy
! Total flux subtracted in 200 components = 0.00373873 Jy
! Clean residual min=-0.005742 max=0.007378 Jy/beam
! Clean residual mean=0.000005 rms=0.001863 Jy/beam
! Combined flux in latest and established models = 0.967158 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 108 components and 0.967158 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.326106Jy  sigma=0.001178
! Fit after  self-cal, rms=0.326104Jy  sigma=0.001178
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
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=8.388 mas, bmaj=18.12 mas, bpa=3.623 degrees
! Estimated noise=1651.97 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.00268916 Jy
! Component: 100  -  total flux cleaned = 0.00280242 Jy
! Component: 150  -  total flux cleaned = 0.0026134 Jy
! Component: 200  -  total flux cleaned = 0.00253209 Jy
! Total flux subtracted in 200 components = 0.00253209 Jy
! Clean residual min=-0.006319 max=0.011205 Jy/beam
! Clean residual mean=-0.000013 rms=0.002752 Jy/beam
! Combined flux in latest and established models = 0.96969 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 129 components and 0.96969 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.326080Jy  sigma=0.001177
! Fit after  self-cal, rms=0.326081Jy  sigma=0.001177
! 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.617 mas, bmaj=6.156 mas, bpa=-3.225 degrees
! Estimated noise=2696.92 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.684861 Jy
! Component: 100  -  total flux cleaned = 0.820686 Jy
! Component: 150  -  total flux cleaned = 0.876183 Jy
! Component: 200  -  total flux cleaned = 0.907391 Jy
! Total flux subtracted in 200 components = 0.907391 Jy
! Clean residual min=-0.013315 max=0.015442 Jy/beam
! Clean residual mean=0.000092 rms=0.004199 Jy/beam
! Combined flux in latest and established models = 0.907391 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 23 model components to the UV plane model.
! The established model now contains 23 components and 0.907391 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.339 mas, bmaj=8.456 mas, bpa=-4.671 degrees
! Estimated noise=1302.41 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.0272951 Jy
! Component: 100  -  total flux cleaned = 0.041895 Jy
! Component: 150  -  total flux cleaned = 0.0480972 Jy
! Component: 200  -  total flux cleaned = 0.0532607 Jy
! Total flux subtracted in 200 components = 0.0532607 Jy
! Clean residual min=-0.006651 max=0.009072 Jy/beam
! Clean residual mean=0.000017 rms=0.002215 Jy/beam
! Combined flux in latest and established models = 0.960652 Jy
! Adding 40 model components to the UV plane model.
! The established model now contains 61 components and 0.960652 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=8.388 mas, bmaj=18.12 mas, bpa=3.623 degrees
! Estimated noise=1651.97 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.00708131 Jy
! Component: 100  -  total flux cleaned = 0.00859755 Jy
! Component: 150  -  total flux cleaned = 0.00937535 Jy
! Component: 200  -  total flux cleaned = 0.00954468 Jy
! Total flux subtracted in 200 components = 0.00954468 Jy
! Clean residual min=-0.006928 max=0.011815 Jy/beam
! Clean residual mean=-0.000038 rms=0.002855 Jy/beam
! Combined flux in latest and established models = 0.970197 Jy
! Adding 36 model components to the UV plane model.
! The established model now contains 92 components and 0.970197 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.339 mas, bmaj=8.456 mas, bpa=-4.671 degrees
! Estimated noise=1302.41 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -3.26722e-05 Jy
! Component: 100  -  total flux cleaned = -0.000232817 Jy
! Component: 150  -  total flux cleaned = -0.000581091 Jy
! Component: 200  -  total flux cleaned = -0.000582617 Jy
! Total flux subtracted in 200 components = -0.000582617 Jy
! Clean residual min=-0.005963 max=0.007875 Jy/beam
! Clean residual mean=-0.000019 rms=0.001889 Jy/beam
! Combined flux in latest and established models = 0.969614 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 113 components and 0.969614 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.326190Jy  sigma=0.001178
! Fit after  self-cal, rms=0.326180Jy  sigma=0.001178
wmodel J0137-2430_S_1997_08_27_yyk\_map.mod
! Writing 113 model components to file: J0137-2430_S_1997_08_27_yyk_map.mod
wobs J0137-2430_S_1997_08_27_yyk\_uvs.fits
! Writing UV FITS file: J0137-2430_S_1997_08_27_yyk_uvs.fits
wwins J0137-2430_S_1997_08_27_yyk\_map.win
! wwins: Wrote 3 windows to J0137-2430_S_1997_08_27_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.00325989 Jy
! Component: 100  -  total flux cleaned = 0.00390977 Jy
! Component: 150  -  total flux cleaned = 0.00468631 Jy
! Component: 200  -  total flux cleaned = 0.0052339 Jy
! Component: 250  -  total flux cleaned = 0.00523531 Jy
! Component: 300  -  total flux cleaned = 0.00515117 Jy
! Component: 350  -  total flux cleaned = 0.00506814 Jy
! Component: 400  -  total flux cleaned = 0.00467617 Jy
! Component: 450  -  total flux cleaned = 0.00437281 Jy
! Component: 500  -  total flux cleaned = 0.00400486 Jy
! Component: 550  -  total flux cleaned = 0.00400437 Jy
! Component: 600  -  total flux cleaned = 0.00372541 Jy
! Component: 650  -  total flux cleaned = 0.00359101 Jy
! Component: 700  -  total flux cleaned = 0.00352666 Jy
! Component: 750  -  total flux cleaned = 0.00359231 Jy
! Component: 800  -  total flux cleaned = 0.00359229 Jy
! Component: 850  -  total flux cleaned = 0.00353042 Jy
! Component: 900  -  total flux cleaned = 0.00352952 Jy
! Component: 950  -  total flux cleaned = 0.00329104 Jy
! Component: 1000  -  total flux cleaned = 0.00317588 Jy
! Component: 1050  -  total flux cleaned = 0.00306216 Jy
! Component: 1100  -  total flux cleaned = 0.00295087 Jy
! Component: 1150  -  total flux cleaned = 0.00284121 Jy
! Component: 1200  -  total flux cleaned = 0.00278763 Jy
! Component: 1250  -  total flux cleaned = 0.00257747 Jy
! Component: 1300  -  total flux cleaned = 0.00242461 Jy
! Component: 1350  -  total flux cleaned = 0.00232524 Jy
! Component: 1400  -  total flux cleaned = 0.00222598 Jy
! Component: 1450  -  total flux cleaned = 0.0019809 Jy
! Component: 1500  -  total flux cleaned = 0.00183556 Jy
! Component: 1550  -  total flux cleaned = 0.00150248 Jy
! Component: 1600  -  total flux cleaned = 0.001456 Jy
! Component: 1650  -  total flux cleaned = 0.00127106 Jy
! Component: 1700  -  total flux cleaned = 0.00113495 Jy
! Component: 1750  -  total flux cleaned = 0.00104558 Jy
! Component: 1800  -  total flux cleaned = 0.000912267 Jy
! Component: 1850  -  total flux cleaned = 0.000956182 Jy
! Component: 1900  -  total flux cleaned = 0.000956058 Jy
! Component: 1950  -  total flux cleaned = 0.000913225 Jy
! Component: 2000  -  total flux cleaned = 0.000829587 Jy
! Total flux subtracted in 2048 components = 0.000872019 Jy
! Clean residual min=-0.002275 max=0.002182 Jy/beam
! Clean residual mean=0.000008 rms=0.000912 Jy/beam
! Combined flux in latest and established models = 0.970486 Jy
keep
! Adding 161 model components to the UV plane model.
! The established model now contains 274 components and 0.970486 Jy
![Exited script file: muppet]
wmap "J0137-2430_S_1997_08_27_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.339 x 8.456 at -4.671 degrees (North through East)
! Clean map  min=-0.0096829  max=0.80798 Jy/beam
! Writing clean map to FITS file: J0137-2430_S_1997_08_27_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.807978 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000908697 
device "J0137-2430_S_1997_08_27_yyk\_map.eps/VPS"
! Attempting to open device: 'J0137-2430_S_1997_08_27_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.337397 0.337397 0.674793 1.34959 2.69917 5.39835 10.7967 21.5934 43.1868 86.3735
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0027 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.807 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.339 x 8.456 at -4.671 degrees (North through East)
! Clean map  min=-0.0096829  max=0.80798 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0137-2430_S_1997_08_27_yyk\_map.gif/gif"
! Attempting to open device: 'J0137-2430_S_1997_08_27_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0137-2430_S_1997_08_27_yyk_uvs.log closed on Sun Jan  7 15:41:42 2007