! Started logfile: J1925+2106_X_1996_01_02_yyk_uvs.log on Mon Jan  8 09:43:08 2007
obs J1925+2106_X_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J1925+2106_X_1996_01_02_yyk_uva.fits
! AN table 1: 120 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.571852 visibilities/baseline/integration-bin.
! Found source: J1925+2106
! 
! 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 627 lines of history.
! 
! Reading 12352 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 J1925+2106_X_1996_01_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.51039 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.6416 mas, bmaj=1.861 mas, bpa=-0.3708 degrees
! Estimated noise=1473.42 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.297372 Jy
! Component: 100  -  total flux cleaned = 0.357371 Jy
! Total flux subtracted in 100 components = 0.357371 Jy
! Clean residual min=-0.039665 max=0.115008 Jy/beam
! Clean residual mean=-0.000112 rms=0.010795 Jy/beam
! Combined flux in latest and established models = 0.357371 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.357371 Jy
! 
! Correcting IF 1.
!  A total of 297 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 297 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 297 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 297 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.360034Jy  sigma=0.002076
! Fit after  self-cal, rms=0.357990Jy  sigma=0.002065
! Inverting map and beam 
! Estimated beam: bmin=0.6416 mas, bmaj=1.861 mas, bpa=-0.3708 degrees
! Estimated noise=1474.62 mJy/beam.
! Added new window around map position (-1.4, -0.6).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.117201 Jy
! Component: 100  -  total flux cleaned = 0.166101 Jy
! Total flux subtracted in 100 components = 0.166101 Jy
! Clean residual min=-0.022782 max=0.025765 Jy/beam
! Clean residual mean=-0.000044 rms=0.006373 Jy/beam
! Combined flux in latest and established models = 0.523472 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 13 components and 0.523472 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.325670Jy  sigma=0.001825
! Fit after  self-cal, rms=0.324028Jy  sigma=0.001813
! 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.7877 mas, bmaj=2.277 mas, bpa=-3.627 degrees
! Estimated noise=1038.47 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.0540089 Jy
! Component: 100  -  total flux cleaned = 0.0820845 Jy
! Component: 150  -  total flux cleaned = 0.0952375 Jy
! Component: 200  -  total flux cleaned = 0.097716 Jy
! Total flux subtracted in 200 components = 0.097716 Jy
! Clean residual min=-0.024934 max=0.025978 Jy/beam
! Clean residual mean=0.000007 rms=0.007300 Jy/beam
! Combined flux in latest and established models = 0.621188 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 20 components and 0.621188 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322353Jy  sigma=0.001769
! Fit after  self-cal, rms=0.322251Jy  sigma=0.001768
! 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.7877 x 2.277 at -3.627 degrees (North through East)
! Clean map  min=-0.024422  max=0.38028 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.961318
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.13     HN        1.12     KP        0.86     
!   LA        1.20     MK        1.02     NL        0.95     OV        0.90     
!   PT        1.29     SC        0.93     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.972529
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.10     HN        1.11     KP        0.86     
!   LA        1.13     MK        0.98     NL        0.92     OV        0.93     
!   PT        1.30     SC        0.97     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.956816
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.10     HN        1.21     KP        0.85     
!   LA        1.18     MK        1.01     NL        0.94     OV        0.90     
!   PT        1.26     SC        1.01     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.950894
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.08     HN        1.17     KP        0.85     
!   LA        1.21     MK        0.97     NL        0.99     OV        0.89     
!   PT        1.37     SC        1.01     
! 
! 
! Fit before self-cal, rms=0.322251Jy  sigma=0.001768
! Fit after  self-cal, rms=0.339600Jy  sigma=0.001727
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.339600Jy  sigma=0.001727
! Fit after  self-cal, rms=0.339704Jy  sigma=0.001727
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.7932 mas, bmaj=2.276 mas, bpa=-2.933 degrees
! Estimated noise=929.805 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.029737 Jy
! Component: 100  -  total flux cleaned = -0.0396085 Jy
! Component: 150  -  total flux cleaned = -0.0449496 Jy
! Component: 200  -  total flux cleaned = -0.0462934 Jy
! Total flux subtracted in 200 components = -0.0462934 Jy
! Clean residual min=-0.011492 max=0.016859 Jy/beam
! Clean residual mean=0.000005 rms=0.003507 Jy/beam
! Combined flux in latest and established models = 0.574895 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 39 components and 0.574895 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.337108Jy  sigma=0.001710
! Fit after  self-cal, rms=0.337114Jy  sigma=0.001710
! 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.337114Jy  sigma=0.001710
! Fit after  self-cal, rms=0.335694Jy  sigma=0.001698
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 (-6, -1.8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0217171 Jy
! Component: 100  -  total flux cleaned = 0.0335346 Jy
! Component: 150  -  total flux cleaned = 0.0418768 Jy
! Component: 200  -  total flux cleaned = 0.0482199 Jy
! Total flux subtracted in 200 components = 0.0482199 Jy
! Clean residual min=-0.008953 max=0.010036 Jy/beam
! Clean residual mean=0.000003 rms=0.002391 Jy/beam
! Combined flux in latest and established models = 0.623115 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 69 components and 0.623115 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.334558Jy  sigma=0.001688
! Fit after  self-cal, rms=0.334253Jy  sigma=0.001685
! Inverting map 
! Added new window around map position (-2.4, -0.6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0120472 Jy
! Component: 100  -  total flux cleaned = 0.0186341 Jy
! Component: 150  -  total flux cleaned = 0.0218765 Jy
! Component: 200  -  total flux cleaned = 0.0241662 Jy
! Total flux subtracted in 200 components = 0.0241662 Jy
! Clean residual min=-0.007361 max=0.007217 Jy/beam
! Clean residual mean=0.000011 rms=0.001957 Jy/beam
! Combined flux in latest and established models = 0.647281 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 90 components and 0.647281 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.333871Jy  sigma=0.001682
! Fit after  self-cal, rms=0.333825Jy  sigma=0.001681
! 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.7932 x 2.276 at -2.933 degrees (North through East)
! Clean map  min=-0.006536  max=0.35055 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.333825Jy  sigma=0.001681
! Fit after  self-cal, rms=0.358776Jy  sigma=0.001672
! 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.358776Jy  sigma=0.001672
! Fit after  self-cal, rms=0.358786Jy  sigma=0.001672
! Inverting map and beam 
! Estimated beam: bmin=0.79 mas, bmaj=2.275 mas, bpa=-2.639 degrees
! Estimated noise=921.726 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0060624 Jy
! Component: 100  -  total flux cleaned = 0.00974935 Jy
! Component: 150  -  total flux cleaned = 0.00974995 Jy
! Component: 200  -  total flux cleaned = 0.00975112 Jy
! Total flux subtracted in 200 components = 0.00975112 Jy
! Clean residual min=-0.006184 max=0.005473 Jy/beam
! Clean residual mean=-0.000001 rms=0.001389 Jy/beam
! Combined flux in latest and established models = 0.657032 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 105 components and 0.657032 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.358674Jy  sigma=0.001671
! Fit after  self-cal, rms=0.358682Jy  sigma=0.001671
! 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.358682Jy  sigma=0.001671
! Fit after  self-cal, rms=0.360716Jy  sigma=0.001669
! 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.360716Jy  sigma=0.001669
! Fit after  self-cal, rms=0.360723Jy  sigma=0.001669
! Inverting map and beam 
! Estimated beam: bmin=0.7883 mas, bmaj=2.276 mas, bpa=-2.621 degrees
! Estimated noise=921.707 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00374641 Jy
! Component: 100  -  total flux cleaned = 0.00554417 Jy
! Component: 150  -  total flux cleaned = 0.00565518 Jy
! Component: 200  -  total flux cleaned = 0.005751 Jy
! Total flux subtracted in 200 components = 0.005751 Jy
! Clean residual min=-0.005917 max=0.005378 Jy/beam
! Clean residual mean=-0.000001 rms=0.001321 Jy/beam
! Combined flux in latest and established models = 0.662783 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 118 components and 0.662783 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.360659Jy  sigma=0.001669
! Fit after  self-cal, rms=0.360663Jy  sigma=0.001669
! 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=1.793 mas, bmaj=3.741 mas, bpa=-9.081 degrees
! Estimated noise=1258.21 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.0032242 Jy
! Component: 100  -  total flux cleaned = 0.00429765 Jy
! Component: 150  -  total flux cleaned = 0.00490882 Jy
! Component: 200  -  total flux cleaned = 0.00508194 Jy
! Total flux subtracted in 200 components = 0.00508194 Jy
! Clean residual min=-0.005819 max=0.005716 Jy/beam
! Clean residual mean=-0.000010 rms=0.001597 Jy/beam
! Combined flux in latest and established models = 0.667865 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 132 components and 0.667865 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.360639Jy  sigma=0.001669
! Fit after  self-cal, rms=0.360643Jy  sigma=0.001669
! 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.6368 mas, bmaj=1.861 mas, bpa=0.34 degrees
! Estimated noise=1362.08 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.29317 Jy
! Component: 100  -  total flux cleaned = 0.396685 Jy
! Component: 150  -  total flux cleaned = 0.459325 Jy
! Component: 200  -  total flux cleaned = 0.501633 Jy
! Total flux subtracted in 200 components = 0.501633 Jy
! Clean residual min=-0.013894 max=0.021480 Jy/beam
! Clean residual mean=-0.000032 rms=0.003878 Jy/beam
! Combined flux in latest and established models = 0.501633 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 15 model components to the UV plane model.
! The established model now contains 15 components and 0.501633 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.7883 mas, bmaj=2.276 mas, bpa=-2.621 degrees
! Estimated noise=921.707 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  keep
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (-0.8, -0.4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0425405 Jy
! Component: 100  -  total flux cleaned = 0.0700251 Jy
! Component: 150  -  total flux cleaned = 0.0901801 Jy
! Component: 200  -  total flux cleaned = 0.105664 Jy
! Total flux subtracted in 200 components = 0.105664 Jy
! Clean residual min=-0.007867 max=0.008558 Jy/beam
! Clean residual mean=-0.000015 rms=0.002259 Jy/beam
! Combined flux in latest and established models = 0.607297 Jy
! Adding 37 model components to the UV plane model.
! The established model now contains 45 components and 0.607297 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=1.793 mas, bmaj=3.741 mas, bpa=-9.081 degrees
! Estimated noise=1258.21 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.021294 Jy
! Component: 100  -  total flux cleaned = 0.0336249 Jy
! Component: 150  -  total flux cleaned = 0.0417011 Jy
! Component: 200  -  total flux cleaned = 0.0471282 Jy
! Total flux subtracted in 200 components = 0.0471282 Jy
! Clean residual min=-0.006401 max=0.006349 Jy/beam
! Clean residual mean=-0.000016 rms=0.001769 Jy/beam
! Combined flux in latest and established models = 0.654425 Jy
! Adding 68 model components to the UV plane model.
! The established model now contains 101 components and 0.654426 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.7883 mas, bmaj=2.276 mas, bpa=-2.621 degrees
! Estimated noise=921.707 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00659038 Jy
! Component: 100  -  total flux cleaned = 0.00875433 Jy
! Component: 150  -  total flux cleaned = 0.00957454 Jy
! Component: 200  -  total flux cleaned = 0.0106073 Jy
! Total flux subtracted in 200 components = 0.0106073 Jy
! Clean residual min=-0.006343 max=0.006194 Jy/beam
! Clean residual mean=0.000001 rms=0.001376 Jy/beam
! Combined flux in latest and established models = 0.665033 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 122 components and 0.665033 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.360894Jy  sigma=0.001670
! Fit after  self-cal, rms=0.360874Jy  sigma=0.001670
wmodel J1925+2106_X_1996_01_02_yyk\_map.mod
! Writing 122 model components to file: J1925+2106_X_1996_01_02_yyk_map.mod
wobs J1925+2106_X_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J1925+2106_X_1996_01_02_yyk_uvs.fits
wwins J1925+2106_X_1996_01_02_yyk\_map.win
! wwins: Wrote 5 windows to J1925+2106_X_1996_01_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.000551529 Jy
! Component: 100  -  total flux cleaned = -0.00129475 Jy
! Component: 150  -  total flux cleaned = -0.00239998 Jy
! Component: 200  -  total flux cleaned = -0.00328286 Jy
! Component: 250  -  total flux cleaned = -0.00427865 Jy
! Component: 300  -  total flux cleaned = -0.00530595 Jy
! Component: 350  -  total flux cleaned = -0.00615539 Jy
! Component: 400  -  total flux cleaned = -0.00725214 Jy
! Component: 450  -  total flux cleaned = -0.00811531 Jy
! Component: 500  -  total flux cleaned = -0.00869693 Jy
! Component: 550  -  total flux cleaned = -0.00945199 Jy
! Component: 600  -  total flux cleaned = -0.00988162 Jy
! Component: 650  -  total flux cleaned = -0.010299 Jy
! Component: 700  -  total flux cleaned = -0.010591 Jy
! Component: 750  -  total flux cleaned = -0.0107633 Jy
! Component: 800  -  total flux cleaned = -0.0109866 Jy
! Component: 850  -  total flux cleaned = -0.0111496 Jy
! Component: 900  -  total flux cleaned = -0.0112565 Jy
! Component: 950  -  total flux cleaned = -0.0115728 Jy
! Component: 1000  -  total flux cleaned = -0.0115719 Jy
! Component: 1050  -  total flux cleaned = -0.0116236 Jy
! Component: 1100  -  total flux cleaned = -0.0120246 Jy
! Component: 1150  -  total flux cleaned = -0.0120237 Jy
! Component: 1200  -  total flux cleaned = -0.0121704 Jy
! Component: 1250  -  total flux cleaned = -0.0121703 Jy
! Component: 1300  -  total flux cleaned = -0.0123114 Jy
! Component: 1350  -  total flux cleaned = -0.0124039 Jy
! Component: 1400  -  total flux cleaned = -0.0124498 Jy
! Component: 1450  -  total flux cleaned = -0.012405 Jy
! Component: 1500  -  total flux cleaned = -0.0126293 Jy
! Component: 1550  -  total flux cleaned = -0.0126735 Jy
! Component: 1600  -  total flux cleaned = -0.0126298 Jy
! Component: 1650  -  total flux cleaned = -0.0122853 Jy
! Component: 1700  -  total flux cleaned = -0.0124131 Jy
! Component: 1750  -  total flux cleaned = -0.0123294 Jy
! Component: 1800  -  total flux cleaned = -0.012329 Jy
! Component: 1850  -  total flux cleaned = -0.0121223 Jy
! Component: 1900  -  total flux cleaned = -0.0119602 Jy
! Component: 1950  -  total flux cleaned = -0.0118401 Jy
! Component: 2000  -  total flux cleaned = -0.0117209 Jy
! Total flux subtracted in 2048 components = -0.0116426 Jy
! Clean residual min=-0.002069 max=0.002372 Jy/beam
! Clean residual mean=-0.000002 rms=0.000751 Jy/beam
! Combined flux in latest and established models = 0.65339 Jy
keep
! Adding 147 model components to the UV plane model.
! The established model now contains 269 components and 0.65339 Jy
![Exited script file: muppet]
wmap "J1925+2106_X_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7883 x 2.276 at -2.621 degrees (North through East)
! Clean map  min=-0.0050005  max=0.34742 Jy/beam
! Writing clean map to FITS file: J1925+2106_X_1996_01_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.347425 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000749011 
device "J1925+2106_X_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1925+2106_X_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.646768 0.646768 1.29354 2.58707 5.17414 10.3483 20.6966 41.3931 82.7863
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0022 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.347 
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.7883 x 2.276 at -2.621 degrees (North through East)
! Clean map  min=-0.0050005  max=0.34742 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1925+2106_X_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1925+2106_X_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1925+2106_X_1996_01_02_yyk_uvs.log closed on Mon Jan  8 09:43:17 2007