! Started logfile: J2154+1727_X_1996_03_13_yyk_uvs.log on Mon Jan  8 10:30:20 2007
obs J2154+1727_X_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J2154+1727_X_1996_03_13_yyk_uva.fits
! AN table 1: 119 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.779272 visibilities/baseline/integration-bin.
! Found source: J2154+1727
! 
! 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.15049e+09        4e+06          1        4e+06
!  02        2  8.23236e+09        4e+06          1        4e+06
!  03        3  8.41236e+09        4e+06          1        4e+06
!  04        4  8.55236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 655 lines of history.
! 
! Reading 16692 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 J2154+1727_X_1996_03_13_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.374294 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.7237 mas, bmaj=1.773 mas, bpa=-4.644 degrees
! Estimated noise=1295.44 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.230783 Jy
! Component: 100  -  total flux cleaned = 0.274336 Jy
! Total flux subtracted in 100 components = 0.274336 Jy
! Clean residual min=-0.011512 max=0.017956 Jy/beam
! Clean residual mean=-0.000011 rms=0.002992 Jy/beam
! Combined flux in latest and established models = 0.274336 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 4 components and 0.274336 Jy
! 
! Correcting IF 1.
!  A total of 155 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 155 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 155 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 155 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.255717Jy  sigma=0.001698
! Fit after  self-cal, rms=0.255379Jy  sigma=0.001696
! Inverting map and beam 
! Estimated beam: bmin=0.7237 mas, bmaj=1.773 mas, bpa=-4.644 degrees
! Estimated noise=1295.85 mJy/beam.
! Added new window around map position (0.8, 1).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0229458 Jy
! Component: 100  -  total flux cleaned = 0.0335807 Jy
! Total flux subtracted in 100 components = 0.0335807 Jy
! Clean residual min=-0.010794 max=0.015765 Jy/beam
! Clean residual mean=-0.000002 rms=0.002546 Jy/beam
! Combined flux in latest and established models = 0.307916 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 14 components and 0.307916 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.254008Jy  sigma=0.001684
! Fit after  self-cal, rms=0.253840Jy  sigma=0.001683
! 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=0.8801 mas, bmaj=2.018 mas, bpa=-5.348 degrees
! Estimated noise=793.126 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 (3, 4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0172656 Jy
! Component: 100  -  total flux cleaned = 0.0255302 Jy
! Component: 150  -  total flux cleaned = 0.0281353 Jy
! Component: 200  -  total flux cleaned = 0.0284597 Jy
! Total flux subtracted in 200 components = 0.0284597 Jy
! Clean residual min=-0.005942 max=0.007230 Jy/beam
! Clean residual mean=-0.000017 rms=0.001561 Jy/beam
! Combined flux in latest and established models = 0.336376 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 41 components and 0.336376 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.253011Jy  sigma=0.001677
! Fit after  self-cal, rms=0.252891Jy  sigma=0.001676
! 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.8801 x 2.018 at -5.348 degrees (North through East)
! Clean map  min=-0.0053871  max=0.26722 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.991774
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.07     FD        0.97     HN        1.00     KP        1.04     
!   LA        1.00     MK        1.00     NL        0.99     OV        1.06     
!   PT        1.03     SC        0.92     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.995825
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.93     HN        1.01     KP        1.03     
!   LA        0.96     MK        1.02     NL        1.01     OV        1.10     
!   PT        0.99     SC        0.99     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00614
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        0.95     HN        0.93     KP        1.01     
!   LA        0.98     MK        1.00     NL        0.98     OV        1.03     
!   PT        0.99     SC        1.02     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00872
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        0.93     HN        0.98     KP        1.00     
!   LA        0.98     MK        1.03     NL        0.99     OV        0.98     
!   PT        0.97     SC        1.00     
! 
! 
! Fit before self-cal, rms=0.252891Jy  sigma=0.001676
! Fit after  self-cal, rms=0.252523Jy  sigma=0.001673
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.252523Jy  sigma=0.001673
! Fit after  self-cal, rms=0.252526Jy  sigma=0.001673
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.885 mas, bmaj=2.032 mas, bpa=-5.182 degrees
! Estimated noise=787.833 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.00456166 Jy
! Component: 100  -  total flux cleaned = 0.00519472 Jy
! Component: 150  -  total flux cleaned = 0.00529983 Jy
! Component: 200  -  total flux cleaned = 0.00503188 Jy
! Total flux subtracted in 200 components = 0.00503188 Jy
! Clean residual min=-0.004633 max=0.004583 Jy/beam
! Clean residual mean=-0.000003 rms=0.001238 Jy/beam
! Combined flux in latest and established models = 0.341408 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 59 components and 0.341408 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.252424Jy  sigma=0.001672
! Fit after  self-cal, rms=0.252412Jy  sigma=0.001672
! 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.252412Jy  sigma=0.001672
! Fit after  self-cal, rms=0.251624Jy  sigma=0.001666
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.00186833 Jy
! Component: 100  -  total flux cleaned = 0.00162492 Jy
! Component: 150  -  total flux cleaned = 0.00148251 Jy
! Component: 200  -  total flux cleaned = 0.00134975 Jy
! Total flux subtracted in 200 components = 0.00134975 Jy
! Clean residual min=-0.004550 max=0.004405 Jy/beam
! Clean residual mean=-0.000003 rms=0.001203 Jy/beam
! Combined flux in latest and established models = 0.342758 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 66 components and 0.342758 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.251585Jy  sigma=0.001666
! Fit after  self-cal, rms=0.251381Jy  sigma=0.001664
! 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.885 x 2.032 at -5.182 degrees (North through East)
! Clean map  min=-0.0041125  max=0.26574 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.251381Jy  sigma=0.001664
! Fit after  self-cal, rms=0.252857Jy  sigma=0.001662
! 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.252857Jy  sigma=0.001662
! Fit after  self-cal, rms=0.252788Jy  sigma=0.001661
! Inverting map and beam 
! Estimated beam: bmin=0.8853 mas, bmaj=2.024 mas, bpa=-5.381 degrees
! Estimated noise=785.477 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000766625 Jy
! Component: 100  -  total flux cleaned = 0.000899886 Jy
! Component: 150  -  total flux cleaned = 0.000843762 Jy
! Component: 200  -  total flux cleaned = 0.00084429 Jy
! Total flux subtracted in 200 components = 0.00084429 Jy
! Clean residual min=-0.004709 max=0.004415 Jy/beam
! Clean residual mean=-0.000008 rms=0.001096 Jy/beam
! Combined flux in latest and established models = 0.343602 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 78 components and 0.343602 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.252766Jy  sigma=0.001661
! Fit after  self-cal, rms=0.252735Jy  sigma=0.001661
! 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.252735Jy  sigma=0.001661
! Fit after  self-cal, rms=0.253209Jy  sigma=0.001659
! 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.253209Jy  sigma=0.001659
! Fit after  self-cal, rms=0.253199Jy  sigma=0.001659
! Inverting map and beam 
! Estimated beam: bmin=0.8852 mas, bmaj=2.024 mas, bpa=-5.378 degrees
! Estimated noise=786.6 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00073864 Jy
! Component: 100  -  total flux cleaned = 0.000789741 Jy
! Component: 150  -  total flux cleaned = 0.000741425 Jy
! Component: 200  -  total flux cleaned = 0.000698387 Jy
! Total flux subtracted in 200 components = 0.000698387 Jy
! Clean residual min=-0.004583 max=0.004351 Jy/beam
! Clean residual mean=-0.000008 rms=0.001090 Jy/beam
! Combined flux in latest and established models = 0.3443 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 88 components and 0.3443 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.253185Jy  sigma=0.001659
! Fit after  self-cal, rms=0.253179Jy  sigma=0.001659
! 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.118 mas, bmaj=2.926 mas, bpa=-7.553 degrees
! Estimated noise=1024.46 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.000471307 Jy
! Component: 100  -  total flux cleaned = -0.000333939 Jy
! Component: 150  -  total flux cleaned = -0.00037207 Jy
! Component: 200  -  total flux cleaned = -0.000406229 Jy
! Total flux subtracted in 200 components = -0.000406229 Jy
! Clean residual min=-0.004909 max=0.004734 Jy/beam
! Clean residual mean=-0.000015 rms=0.001398 Jy/beam
! Combined flux in latest and established models = 0.343894 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 97 components and 0.343894 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.253191Jy  sigma=0.001659
! Fit after  self-cal, rms=0.253191Jy  sigma=0.001659
! 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.7263 mas, bmaj=1.776 mas, bpa=-4.684 degrees
! Estimated noise=1291.1 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.231146 Jy
! Component: 100  -  total flux cleaned = 0.281841 Jy
! Component: 150  -  total flux cleaned = 0.305746 Jy
! Component: 200  -  total flux cleaned = 0.320763 Jy
! Total flux subtracted in 200 components = 0.320763 Jy
! Clean residual min=-0.008984 max=0.008165 Jy/beam
! Clean residual mean=-0.000017 rms=0.001976 Jy/beam
! Combined flux in latest and established models = 0.320763 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 18 model components to the UV plane model.
! The established model now contains 18 components and 0.320763 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8852 mas, bmaj=2.024 mas, bpa=-5.378 degrees
! Estimated noise=786.6 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.0117304 Jy
! Component: 100  -  total flux cleaned = 0.0179586 Jy
! Component: 150  -  total flux cleaned = 0.0211521 Jy
! Component: 200  -  total flux cleaned = 0.0220478 Jy
! Total flux subtracted in 200 components = 0.0220478 Jy
! Clean residual min=-0.004556 max=0.004266 Jy/beam
! Clean residual mean=-0.000013 rms=0.001134 Jy/beam
! Combined flux in latest and established models = 0.342811 Jy
! Adding 29 model components to the UV plane model.
! The established model now contains 42 components and 0.342811 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.118 mas, bmaj=2.926 mas, bpa=-7.553 degrees
! Estimated noise=1024.46 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.00142416 Jy
! Component: 100  -  total flux cleaned = 0.00150658 Jy
! Component: 150  -  total flux cleaned = 0.00165167 Jy
! Component: 200  -  total flux cleaned = 0.00177511 Jy
! Total flux subtracted in 200 components = 0.00177511 Jy
! Clean residual min=-0.004894 max=0.004767 Jy/beam
! Clean residual mean=-0.000016 rms=0.001403 Jy/beam
! Combined flux in latest and established models = 0.344586 Jy
! Adding 25 model components to the UV plane model.
! The established model now contains 62 components and 0.344586 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8852 mas, bmaj=2.024 mas, bpa=-5.378 degrees
! Estimated noise=786.6 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -8.07102e-05 Jy
! Component: 100  -  total flux cleaned = -0.000157371 Jy
! Component: 150  -  total flux cleaned = -0.0002278 Jy
! Component: 200  -  total flux cleaned = -0.000227336 Jy
! Total flux subtracted in 200 components = -0.000227336 Jy
! Clean residual min=-0.004663 max=0.004202 Jy/beam
! Clean residual mean=-0.000008 rms=0.001092 Jy/beam
! Combined flux in latest and established models = 0.344358 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 78 components and 0.344358 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.253205Jy  sigma=0.001659
! Fit after  self-cal, rms=0.253203Jy  sigma=0.001659
wmodel J2154+1727_X_1996_03_13_yyk\_map.mod
! Writing 78 model components to file: J2154+1727_X_1996_03_13_yyk_map.mod
wobs J2154+1727_X_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J2154+1727_X_1996_03_13_yyk_uvs.fits
wwins J2154+1727_X_1996_03_13_yyk\_map.win
! wwins: Wrote 3 windows to J2154+1727_X_1996_03_13_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.000223259 Jy
! Component: 100  -  total flux cleaned = -0.000292551 Jy
! Component: 150  -  total flux cleaned = -0.000157007 Jy
! Component: 200  -  total flux cleaned = 0.00016449 Jy
! Component: 250  -  total flux cleaned = 0.000100818 Jy
! Component: 300  -  total flux cleaned = -1.94577e-05 Jy
! Component: 350  -  total flux cleaned = 0.000390916 Jy
! Component: 400  -  total flux cleaned = 0.000849554 Jy
! Component: 450  -  total flux cleaned = 0.00141127 Jy
! Component: 500  -  total flux cleaned = 0.0018512 Jy
! Component: 550  -  total flux cleaned = 0.00244374 Jy
! Component: 600  -  total flux cleaned = 0.00270817 Jy
! Component: 650  -  total flux cleaned = 0.00312394 Jy
! Component: 700  -  total flux cleaned = 0.00337949 Jy
! Component: 750  -  total flux cleaned = 0.00363109 Jy
! Component: 800  -  total flux cleaned = 0.00397709 Jy
! Component: 850  -  total flux cleaned = 0.00407354 Jy
! Component: 900  -  total flux cleaned = 0.004266 Jy
! Component: 950  -  total flux cleaned = 0.00431322 Jy
! Component: 1000  -  total flux cleaned = 0.0045 Jy
! Component: 1050  -  total flux cleaned = 0.00454636 Jy
! Component: 1100  -  total flux cleaned = 0.00468303 Jy
! Component: 1150  -  total flux cleaned = 0.00459344 Jy
! Component: 1200  -  total flux cleaned = 0.00468296 Jy
! Component: 1250  -  total flux cleaned = 0.004683 Jy
! Component: 1300  -  total flux cleaned = 0.00468303 Jy
! Component: 1350  -  total flux cleaned = 0.00455437 Jy
! Component: 1400  -  total flux cleaned = 0.00455433 Jy
! Component: 1450  -  total flux cleaned = 0.0043864 Jy
! Component: 1500  -  total flux cleaned = 0.00426263 Jy
! Component: 1550  -  total flux cleaned = 0.00426245 Jy
! Component: 1600  -  total flux cleaned = 0.00409971 Jy
! Component: 1650  -  total flux cleaned = 0.00409963 Jy
! Component: 1700  -  total flux cleaned = 0.00390084 Jy
! Component: 1750  -  total flux cleaned = 0.00386087 Jy
! Component: 1800  -  total flux cleaned = 0.0037826 Jy
! Component: 1850  -  total flux cleaned = 0.00370544 Jy
! Component: 1900  -  total flux cleaned = 0.00362889 Jy
! Component: 1950  -  total flux cleaned = 0.00366686 Jy
! Component: 2000  -  total flux cleaned = 0.00344072 Jy
! Total flux subtracted in 2048 components = 0.00325393 Jy
! Clean residual min=-0.002163 max=0.002294 Jy/beam
! Clean residual mean=-0.000004 rms=0.000728 Jy/beam
! Combined flux in latest and established models = 0.347612 Jy
keep
! Adding 148 model components to the UV plane model.
! The established model now contains 226 components and 0.347612 Jy
![Exited script file: muppet]
wmap "J2154+1727_X_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8852 x 2.024 at -5.378 degrees (North through East)
! Clean map  min=-0.0035701  max=0.26532 Jy/beam
! Writing clean map to FITS file: J2154+1727_X_1996_03_13_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.265317 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000727526 
device "J2154+1727_X_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J2154+1727_X_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.82263 0.82263 1.64526 3.29052 6.58104 13.1621 26.3242 52.6483
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0021 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.265 
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.8852 x 2.024 at -5.378 degrees (North through East)
! Clean map  min=-0.0035701  max=0.26532 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2154+1727_X_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J2154+1727_X_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2154+1727_X_1996_03_13_yyk_uvs.log closed on Mon Jan  8 10:30:28 2007