! Started logfile: J1756+1553_X_1996_01_02_yyk_uvs.log on Mon Jan  8 07:35:04 2007
obs J1756+1553_X_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J1756+1553_X_1996_01_02_yyk_uva.fits
! AN table 1: 105 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.516402 visibilities/baseline/integration-bin.
! Found source: J1756+1553
! 
! 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 628 lines of history.
! 
! Reading 9760 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 J1756+1553_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)= 1.00238 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.6592 mas, bmaj=1.799 mas, bpa=-6.324 degrees
! Estimated noise=2053.56 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.2).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.130567 Jy
! Component: 100  -  total flux cleaned = 0.143753 Jy
! Total flux subtracted in 100 components = 0.143753 Jy
! Clean residual min=-0.045155 max=0.046590 Jy/beam
! Clean residual mean=-0.000008 rms=0.017394 Jy/beam
! Combined flux in latest and established models = 0.143753 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 11 components and 0.143753 Jy
! 
! Correcting IF 1.
!  A total of 291 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 329 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 291 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 291 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.993057Jy  sigma=0.006290
! Fit after  self-cal, rms=0.991248Jy  sigma=0.006279
! Inverting map and beam 
! Estimated beam: bmin=0.6592 mas, bmaj=1.799 mas, bpa=-6.325 degrees
! Estimated noise=2054.41 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.7582 mas, bmaj=2.204 mas, bpa=-9.382 degrees
! Estimated noise=1126.32 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.0144763 Jy
! Component: 100  -  total flux cleaned = 0.0150593 Jy
! Component: 150  -  total flux cleaned = 0.0154537 Jy
! Component: 200  -  total flux cleaned = 0.015138 Jy
! Total flux subtracted in 200 components = 0.015138 Jy
! Clean residual min=-0.021357 max=0.020183 Jy/beam
! Clean residual mean=-0.000002 rms=0.007125 Jy/beam
! Combined flux in latest and established models = 0.158891 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 30 components and 0.158891 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.990879Jy  sigma=0.006276
! Fit after  self-cal, rms=0.990874Jy  sigma=0.006276
! 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.7582 x 2.204 at -9.382 degrees (North through East)
! Clean map  min=-0.019737  max=0.15646 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
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: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.990874Jy  sigma=0.006276
! Fit after  self-cal, rms=0.991323Jy  sigma=0.006279
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.991323Jy  sigma=0.006279
! Fit after  self-cal, rms=0.991323Jy  sigma=0.006279
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.7591 mas, bmaj=2.205 mas, bpa=-9.396 degrees
! Estimated noise=1126.93 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.00201762 Jy
! Component: 100  -  total flux cleaned = -0.00228945 Jy
! Component: 150  -  total flux cleaned = -0.00253093 Jy
! Component: 200  -  total flux cleaned = -0.0029565 Jy
! Total flux subtracted in 200 components = -0.0029565 Jy
! Clean residual min=-0.021024 max=0.019924 Jy/beam
! Clean residual mean=-0.000004 rms=0.007095 Jy/beam
! Combined flux in latest and established models = 0.155934 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 37 components and 0.155934 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.991231Jy  sigma=0.006278
! Fit after  self-cal, rms=0.991232Jy  sigma=0.006278
! 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.991232Jy  sigma=0.006278
! Fit after  self-cal, rms=0.990493Jy  sigma=0.006273
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.000761822 Jy
! Component: 100  -  total flux cleaned = 0.00047981 Jy
! Component: 150  -  total flux cleaned = 0.000479562 Jy
! Component: 200  -  total flux cleaned = 0.000260147 Jy
! Total flux subtracted in 200 components = 0.000260147 Jy
! Clean residual min=-0.024348 max=0.023331 Jy/beam
! Clean residual mean=-0.000005 rms=0.008126 Jy/beam
! Combined flux in latest and established models = 0.156195 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 43 components and 0.156195 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.990421Jy  sigma=0.006272
! Fit after  self-cal, rms=0.989824Jy  sigma=0.006268
! 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.7591 x 2.205 at -9.396 degrees (North through East)
! Clean map  min=-0.024077  max=0.166 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.989824Jy  sigma=0.006268
! Fit after  self-cal, rms=0.989270Jy  sigma=0.006268
! 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.989270Jy  sigma=0.006268
! Fit after  self-cal, rms=0.988863Jy  sigma=0.006265
! Inverting map and beam 
! Estimated beam: bmin=0.7648 mas, bmaj=2.18 mas, bpa=-8.654 degrees
! Estimated noise=1105.68 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000604303 Jy
! Component: 100  -  total flux cleaned = -0.000941773 Jy
! Component: 150  -  total flux cleaned = -0.00120468 Jy
! Component: 200  -  total flux cleaned = -0.00142893 Jy
! Total flux subtracted in 200 components = -0.00142893 Jy
! Clean residual min=-0.027749 max=0.025777 Jy/beam
! Clean residual mean=-0.000005 rms=0.008997 Jy/beam
! Combined flux in latest and established models = 0.154766 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 46 components and 0.154766 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.988741Jy  sigma=0.006265
! Fit after  self-cal, rms=0.988469Jy  sigma=0.006263
! 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.988469Jy  sigma=0.006263
! Fit after  self-cal, rms=0.988728Jy  sigma=0.006263
! 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.988728Jy  sigma=0.006263
! Fit after  self-cal, rms=0.988575Jy  sigma=0.006263
! Inverting map and beam 
! Estimated beam: bmin=0.7686 mas, bmaj=2.17 mas, bpa=-8.399 degrees
! Estimated noise=1109.79 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000700448 Jy
! Component: 100  -  total flux cleaned = 0.000686487 Jy
! Component: 150  -  total flux cleaned = 0.000234931 Jy
! Component: 200  -  total flux cleaned = -0.000163562 Jy
! Total flux subtracted in 200 components = -0.000163562 Jy
! Clean residual min=-0.029430 max=0.026245 Jy/beam
! Clean residual mean=-0.000009 rms=0.009238 Jy/beam
! Combined flux in latest and established models = 0.154602 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 47 components and 0.154602 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.988511Jy  sigma=0.006262
! Fit after  self-cal, rms=0.988433Jy  sigma=0.006262
! 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.914 mas, bmaj=3.63 mas, bpa=-15.93 degrees
! Estimated noise=1546.6 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.00555385 Jy
! Component: 100  -  total flux cleaned = -0.00474345 Jy
! Component: 150  -  total flux cleaned = -0.00427567 Jy
! Component: 200  -  total flux cleaned = -0.00389915 Jy
! Total flux subtracted in 200 components = -0.00389915 Jy
! Clean residual min=-0.022236 max=0.018723 Jy/beam
! Clean residual mean=-0.000011 rms=0.006197 Jy/beam
! Combined flux in latest and established models = 0.150703 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 49 components and 0.150703 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.988378Jy  sigma=0.006262
! Fit after  self-cal, rms=0.988372Jy  sigma=0.006262
! 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.6613 mas, bmaj=1.796 mas, bpa=-5.982 degrees
! Estimated noise=2037.78 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.163555 Jy
! Component: 100  -  total flux cleaned = 0.172169 Jy
! Component: 150  -  total flux cleaned = 0.167 Jy
! Component: 200  -  total flux cleaned = 0.163293 Jy
! Total flux subtracted in 200 components = 0.163293 Jy
! Clean residual min=-0.052132 max=0.051726 Jy/beam
! Clean residual mean=0.000017 rms=0.018768 Jy/beam
! Combined flux in latest and established models = 0.163294 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 27 model components to the UV plane model.
! The established model now contains 27 components and 0.163294 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.7686 mas, bmaj=2.17 mas, bpa=-8.399 degrees
! Estimated noise=1109.79 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.0100464 Jy
! Component: 100  -  total flux cleaned = -0.00861776 Jy
! Component: 150  -  total flux cleaned = -0.00932652 Jy
! Component: 200  -  total flux cleaned = -0.0099223 Jy
! Total flux subtracted in 200 components = -0.0099223 Jy
! Clean residual min=-0.029072 max=0.025500 Jy/beam
! Clean residual mean=-0.000011 rms=0.009105 Jy/beam
! Combined flux in latest and established models = 0.153371 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 37 components and 0.153371 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.914 mas, bmaj=3.63 mas, bpa=-15.93 degrees
! Estimated noise=1546.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.00528397 Jy
! Component: 100  -  total flux cleaned = -0.00531745 Jy
! Component: 150  -  total flux cleaned = -0.00471918 Jy
! Component: 200  -  total flux cleaned = -0.00458283 Jy
! Total flux subtracted in 200 components = -0.00458283 Jy
! Clean residual min=-0.022378 max=0.018269 Jy/beam
! Clean residual mean=-0.000014 rms=0.006237 Jy/beam
! Combined flux in latest and established models = 0.148788 Jy
! Adding 7 model components to the UV plane model.
! The established model now contains 40 components and 0.148788 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.7686 mas, bmaj=2.17 mas, bpa=-8.399 degrees
! Estimated noise=1109.79 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00380733 Jy
! Component: 100  -  total flux cleaned = 0.00261066 Jy
! Component: 150  -  total flux cleaned = 0.00261906 Jy
! Component: 200  -  total flux cleaned = 0.00243281 Jy
! Total flux subtracted in 200 components = 0.00243281 Jy
! Clean residual min=-0.030205 max=0.025539 Jy/beam
! Clean residual mean=-0.000012 rms=0.009092 Jy/beam
! Combined flux in latest and established models = 0.151221 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 45 components and 0.151221 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.988373Jy  sigma=0.006262
! Fit after  self-cal, rms=0.988344Jy  sigma=0.006262
wmodel J1756+1553_X_1996_01_02_yyk\_map.mod
! Writing 45 model components to file: J1756+1553_X_1996_01_02_yyk_map.mod
wobs J1756+1553_X_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J1756+1553_X_1996_01_02_yyk_uvs.fits
wwins J1756+1553_X_1996_01_02_yyk\_map.win
! wwins: Wrote 1 windows to J1756+1553_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.0120801 Jy
! Component: 100  -  total flux cleaned = -0.0183669 Jy
! Component: 150  -  total flux cleaned = -0.0244065 Jy
! Component: 200  -  total flux cleaned = -0.0302637 Jy
! Component: 250  -  total flux cleaned = -0.0364135 Jy
! Component: 300  -  total flux cleaned = -0.042003 Jy
! Component: 350  -  total flux cleaned = -0.0474896 Jy
! Component: 400  -  total flux cleaned = -0.0532982 Jy
! Component: 450  -  total flux cleaned = -0.0581974 Jy
! Component: 500  -  total flux cleaned = -0.0626256 Jy
! Component: 550  -  total flux cleaned = -0.0677847 Jy
! Component: 600  -  total flux cleaned = -0.071699 Jy
! Component: 650  -  total flux cleaned = -0.0747959 Jy
! Component: 700  -  total flux cleaned = -0.0786256 Jy
! Component: 750  -  total flux cleaned = -0.0812786 Jy
! Component: 800  -  total flux cleaned = -0.0850272 Jy
! Component: 850  -  total flux cleaned = -0.0876248 Jy
! Component: 900  -  total flux cleaned = -0.0905677 Jy
! Component: 950  -  total flux cleaned = -0.0942069 Jy
! Component: 1000  -  total flux cleaned = -0.09673 Jy
! Component: 1050  -  total flux cleaned = -0.100303 Jy
! Component: 1100  -  total flux cleaned = -0.103135 Jy
! Component: 1150  -  total flux cleaned = -0.105944 Jy
! Component: 1200  -  total flux cleaned = -0.108729 Jy
! Component: 1250  -  total flux cleaned = -0.111146 Jy
! Component: 1300  -  total flux cleaned = -0.113546 Jy
! Component: 1350  -  total flux cleaned = -0.116262 Jy
! Component: 1400  -  total flux cleaned = -0.117273 Jy
! Component: 1450  -  total flux cleaned = -0.119618 Jy
! Component: 1500  -  total flux cleaned = -0.121945 Jy
! Component: 1550  -  total flux cleaned = -0.123264 Jy
! Component: 1600  -  total flux cleaned = -0.125231 Jy
! Component: 1650  -  total flux cleaned = -0.126856 Jy
! Component: 1700  -  total flux cleaned = -0.128148 Jy
! Component: 1750  -  total flux cleaned = -0.129111 Jy
! Component: 1800  -  total flux cleaned = -0.130389 Jy
! Component: 1850  -  total flux cleaned = -0.13134 Jy
! Component: 1900  -  total flux cleaned = -0.132916 Jy
! Component: 1950  -  total flux cleaned = -0.133543 Jy
! Component: 2000  -  total flux cleaned = -0.135101 Jy
! Total flux subtracted in 2048 components = -0.135719 Jy
! Clean residual min=-0.018848 max=0.016422 Jy/beam
! Clean residual mean=-0.000004 rms=0.006940 Jy/beam
! Combined flux in latest and established models = 0.0155027 Jy
keep
! Adding 180 model components to the UV plane model.
! The established model now contains 225 components and 0.0155027 Jy
![Exited script file: muppet]
wmap "J1756+1553_X_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7686 x 2.17 at -8.399 degrees (North through East)
! Clean map  min=-0.026814  max=0.17771 Jy/beam
! Writing clean map to FITS file: J1756+1553_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.177711 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00690567 
device "J1756+1553_X_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1756+1553_X_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -11.6577 11.6577 23.3154 46.6307 93.2614
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0207 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.177 
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.7686 x 2.17 at -8.399 degrees (North through East)
! Clean map  min=-0.026814  max=0.17771 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1756+1553_X_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1756+1553_X_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1756+1553_X_1996_01_02_yyk_uvs.log closed on Mon Jan  8 07:35:11 2007