! Started logfile: J1611+1856_S_1996_03_13_yyk_uvs.log on Sun Jan  7 18:54:25 2007
obs J1611+1856_S_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J1611+1856_S_1996_03_13_yyk_uva.fits
! AN table 1: 128 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.953125 visibilities/baseline/integration-bin.
! Found source: J1611+1856
! 
! 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.22049e+09        4e+06          1        4e+06
!  02        2  2.23236e+09        4e+06          1        4e+06
!  03        3  2.29236e+09        4e+06          1        4e+06
!  04        4  2.32236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 655 lines of history.
! 
! Reading 21960 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 J1611+1856_S_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.595841 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.847 mas, bmaj=6.582 mas, bpa=-5.134 degrees
! Estimated noise=1345.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)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.380146 Jy
! Component: 100  -  total flux cleaned = 0.412145 Jy
! Total flux subtracted in 100 components = 0.412145 Jy
! Clean residual min=-0.027727 max=0.050314 Jy/beam
! Clean residual mean=0.000144 rms=0.010130 Jy/beam
! Combined flux in latest and established models = 0.412145 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 0.412145 Jy
! 
! Correcting IF 1.
!  A total of 47 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 47 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 47 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 47 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.396420Jy  sigma=0.001982
! Fit after  self-cal, rms=0.395164Jy  sigma=0.001976
! Inverting map and beam 
! Estimated beam: bmin=2.847 mas, bmaj=6.582 mas, bpa=-5.134 degrees
! Estimated noise=1345.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=3.488 mas, bmaj=7.906 mas, bpa=-8.119 degrees
! Estimated noise=866.284 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.00475687 Jy
! Component: 100  -  total flux cleaned = 0.00440864 Jy
! Component: 150  -  total flux cleaned = 0.00440893 Jy
! Component: 200  -  total flux cleaned = 0.00464073 Jy
! Total flux subtracted in 200 components = 0.00464073 Jy
! Clean residual min=-0.025531 max=0.051710 Jy/beam
! Clean residual mean=0.000384 rms=0.010935 Jy/beam
! Combined flux in latest and established models = 0.416785 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 16 components and 0.416785 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.394336Jy  sigma=0.001974
! Fit after  self-cal, rms=0.394325Jy  sigma=0.001974
! 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.488 x 7.906 at -8.119 degrees (North through East)
! Clean map  min=-0.025043  max=0.43092 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.884326
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        1.01     HN        0.98     KP        0.82     
!   LA        0.81     MK        0.98     NL        0.81     OV        3.31     
!   PT        0.89     SC        0.74     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.842928
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.10     HN        1.01     KP        0.85     
!   LA        0.92     MK        1.09     NL        0.88     OV        3.35     
!   PT        0.85     SC        0.81     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.911376
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.00     HN        0.94     KP        0.86     
!   LA        0.71     MK        0.93     NL        0.86     OV        2.75     
!   PT        1.03     SC        0.95     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.870191
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.04     HN        1.00     KP        0.91     
!   LA        0.80     MK        1.05     NL        0.95     OV        2.95     
!   PT        0.90     SC        0.90     
! 
! 
! Fit before self-cal, rms=0.394325Jy  sigma=0.001974
! Fit after  self-cal, rms=0.492400Jy  sigma=0.001965
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.492400Jy  sigma=0.001965
! Fit after  self-cal, rms=0.492454Jy  sigma=0.001965
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.488 mas, bmaj=7.65 mas, bpa=-6.409 degrees
! Estimated noise=626.305 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.0871623 Jy
! Component: 100  -  total flux cleaned = -0.0907936 Jy
! Component: 150  -  total flux cleaned = -0.0887667 Jy
! Component: 200  -  total flux cleaned = -0.0876175 Jy
! Total flux subtracted in 200 components = -0.0876175 Jy
! Clean residual min=-0.005465 max=0.007182 Jy/beam
! Clean residual mean=0.000033 rms=0.001612 Jy/beam
! Combined flux in latest and established models = 0.329168 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 21 components and 0.329168 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.484286Jy  sigma=0.001807
! Fit after  self-cal, rms=0.484280Jy  sigma=0.001807
! 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.484280Jy  sigma=0.001807
! Fit after  self-cal, rms=0.482694Jy  sigma=0.001803
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 (0, 9).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00301737 Jy
! Component: 100  -  total flux cleaned = 0.00370699 Jy
! Component: 150  -  total flux cleaned = 0.00398592 Jy
! Component: 200  -  total flux cleaned = 0.00409917 Jy
! Total flux subtracted in 200 components = 0.00409917 Jy
! Clean residual min=-0.005259 max=0.005156 Jy/beam
! Clean residual mean=0.000033 rms=0.001478 Jy/beam
! Combined flux in latest and established models = 0.333267 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 49 components and 0.333267 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.482468Jy  sigma=0.001801
! Fit after  self-cal, rms=0.482142Jy  sigma=0.001800
! 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.488 x 7.65 at -6.409 degrees (North through East)
! Clean map  min=-0.00502  max=0.33037 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.482142Jy  sigma=0.001800
! Fit after  self-cal, rms=1.825961Jy  sigma=0.001736
! 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=1.825961Jy  sigma=0.001736
! Fit after  self-cal, rms=1.825944Jy  sigma=0.001735
! Inverting map and beam 
! Estimated beam: bmin=3.5 mas, bmaj=7.666 mas, bpa=-6.56 degrees
! Estimated noise=617.143 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00305471 Jy
! Component: 100  -  total flux cleaned = 0.00363808 Jy
! Component: 150  -  total flux cleaned = 0.00410573 Jy
! Component: 200  -  total flux cleaned = 0.00427454 Jy
! Total flux subtracted in 200 components = 0.00427454 Jy
! Clean residual min=-0.003180 max=0.003549 Jy/beam
! Clean residual mean=0.000007 rms=0.000883 Jy/beam
! Combined flux in latest and established models = 0.337542 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 69 components and 0.337542 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.825939Jy  sigma=0.001735
! Fit after  self-cal, rms=1.825932Jy  sigma=0.001735
! 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=1.825932Jy  sigma=0.001735
! Fit after  self-cal, rms=2.106116Jy  sigma=0.001734
! 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=2.106116Jy  sigma=0.001734
! Fit after  self-cal, rms=2.106171Jy  sigma=0.001734
! Inverting map and beam 
! Estimated beam: bmin=3.495 mas, bmaj=7.628 mas, bpa=-6.438 degrees
! Estimated noise=618.302 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00209915 Jy
! Component: 100  -  total flux cleaned = 0.00253308 Jy
! Component: 150  -  total flux cleaned = 0.0027967 Jy
! Component: 200  -  total flux cleaned = 0.00293683 Jy
! Total flux subtracted in 200 components = 0.00293683 Jy
! Clean residual min=-0.003132 max=0.003273 Jy/beam
! Clean residual mean=0.000009 rms=0.000863 Jy/beam
! Combined flux in latest and established models = 0.340478 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 81 components and 0.340479 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.106164Jy  sigma=0.001733
! Fit after  self-cal, rms=2.106220Jy  sigma=0.001733
! 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=7.747 mas, bmaj=10.5 mas, bpa=-8.102 degrees
! Estimated noise=769.274 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.000747451 Jy
! Component: 100  -  total flux cleaned = 0.000830695 Jy
! Component: 150  -  total flux cleaned = 0.000932727 Jy
! Component: 200  -  total flux cleaned = 0.00102173 Jy
! Total flux subtracted in 200 components = 0.00102173 Jy
! Clean residual min=-0.003488 max=0.003026 Jy/beam
! Clean residual mean=0.000020 rms=0.001107 Jy/beam
! Combined flux in latest and established models = 0.3415 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 95 components and 0.3415 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.106208Jy  sigma=0.001733
! Fit after  self-cal, rms=2.106200Jy  sigma=0.001733
! 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.808 mas, bmaj=6.399 mas, bpa=-4.191 degrees
! Estimated noise=1009.95 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.287385 Jy
! Component: 100  -  total flux cleaned = 0.327231 Jy
! Component: 150  -  total flux cleaned = 0.334519 Jy
! Component: 200  -  total flux cleaned = 0.335289 Jy
! Total flux subtracted in 200 components = 0.335289 Jy
! Clean residual min=-0.006631 max=0.006366 Jy/beam
! Clean residual mean=0.000003 rms=0.001702 Jy/beam
! Combined flux in latest and established models = 0.335289 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.335289 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.495 mas, bmaj=7.628 mas, bpa=-6.438 degrees
! Estimated noise=618.302 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.0037798 Jy
! Component: 100  -  total flux cleaned = 0.00461215 Jy
! Component: 150  -  total flux cleaned = 0.00506083 Jy
! Component: 200  -  total flux cleaned = 0.00525758 Jy
! Total flux subtracted in 200 components = 0.00525758 Jy
! Clean residual min=-0.003051 max=0.003552 Jy/beam
! Clean residual mean=0.000007 rms=0.000887 Jy/beam
! Combined flux in latest and established models = 0.340547 Jy
! Adding 38 model components to the UV plane model.
! The established model now contains 53 components and 0.340547 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=7.747 mas, bmaj=10.5 mas, bpa=-8.102 degrees
! Estimated noise=769.274 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.000665291 Jy
! Component: 100  -  total flux cleaned = 0.000981712 Jy
! Component: 150  -  total flux cleaned = 0.00115052 Jy
! Component: 200  -  total flux cleaned = 0.00129606 Jy
! Total flux subtracted in 200 components = 0.00129606 Jy
! Clean residual min=-0.003300 max=0.003017 Jy/beam
! Clean residual mean=0.000018 rms=0.001099 Jy/beam
! Combined flux in latest and established models = 0.341843 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 74 components and 0.341843 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.495 mas, bmaj=7.628 mas, bpa=-6.438 degrees
! Estimated noise=618.302 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00043262 Jy
! Component: 100  -  total flux cleaned = -0.000433063 Jy
! Component: 150  -  total flux cleaned = -0.000435469 Jy
! Component: 200  -  total flux cleaned = -0.000434815 Jy
! Total flux subtracted in 200 components = -0.000434815 Jy
! Clean residual min=-0.003127 max=0.003319 Jy/beam
! Clean residual mean=0.000008 rms=0.000851 Jy/beam
! Combined flux in latest and established models = 0.341408 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 88 components and 0.341408 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.106189Jy  sigma=0.001733
! Fit after  self-cal, rms=2.106189Jy  sigma=0.001733
wmodel J1611+1856_S_1996_03_13_yyk\_map.mod
! Writing 88 model components to file: J1611+1856_S_1996_03_13_yyk_map.mod
wobs J1611+1856_S_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J1611+1856_S_1996_03_13_yyk_uvs.fits
wwins J1611+1856_S_1996_03_13_yyk\_map.win
! wwins: Wrote 2 windows to J1611+1856_S_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.000328683 Jy
! Component: 100  -  total flux cleaned = -0.000334643 Jy
! Component: 150  -  total flux cleaned = -0.000138612 Jy
! Component: 200  -  total flux cleaned = -0.000185909 Jy
! Component: 250  -  total flux cleaned = -0.000323597 Jy
! Component: 300  -  total flux cleaned = -0.000411497 Jy
! Component: 350  -  total flux cleaned = -0.000238505 Jy
! Component: 400  -  total flux cleaned = -0.000323017 Jy
! Component: 450  -  total flux cleaned = -0.00044608 Jy
! Component: 500  -  total flux cleaned = -0.000525493 Jy
! Component: 550  -  total flux cleaned = -0.000447233 Jy
! Component: 600  -  total flux cleaned = -0.000486892 Jy
! Component: 650  -  total flux cleaned = -0.000449476 Jy
! Component: 700  -  total flux cleaned = -0.000449476 Jy
! Component: 750  -  total flux cleaned = -0.000523524 Jy
! Component: 800  -  total flux cleaned = -0.000595571 Jy
! Component: 850  -  total flux cleaned = -0.000773193 Jy
! Component: 900  -  total flux cleaned = -0.000842875 Jy
! Component: 950  -  total flux cleaned = -0.000945992 Jy
! Component: 1000  -  total flux cleaned = -0.000945797 Jy
! Component: 1050  -  total flux cleaned = -0.000979328 Jy
! Component: 1100  -  total flux cleaned = -0.00091276 Jy
! Component: 1150  -  total flux cleaned = -0.000912191 Jy
! Component: 1200  -  total flux cleaned = -0.000847369 Jy
! Component: 1250  -  total flux cleaned = -0.000687303 Jy
! Component: 1300  -  total flux cleaned = -0.000624243 Jy
! Component: 1350  -  total flux cleaned = -0.000530686 Jy
! Component: 1400  -  total flux cleaned = -0.000468683 Jy
! Component: 1450  -  total flux cleaned = -0.000316326 Jy
! Component: 1500  -  total flux cleaned = -0.000316557 Jy
! Component: 1550  -  total flux cleaned = -0.000137211 Jy
! Component: 1600  -  total flux cleaned = -0.000137105 Jy
! Component: 1650  -  total flux cleaned = -2.05052e-05 Jy
! Component: 1700  -  total flux cleaned = 6.60606e-05 Jy
! Component: 1750  -  total flux cleaned = 6.6106e-05 Jy
! Component: 1800  -  total flux cleaned = 0.00017972 Jy
! Component: 1850  -  total flux cleaned = 0.00017914 Jy
! Component: 1900  -  total flux cleaned = 0.000178807 Jy
! Component: 1950  -  total flux cleaned = 0.000151393 Jy
! Component: 2000  -  total flux cleaned = 0.000260726 Jy
! Total flux subtracted in 2048 components = 0.000314902 Jy
! Clean residual min=-0.001764 max=0.001649 Jy/beam
! Clean residual mean=0.000006 rms=0.000554 Jy/beam
! Combined flux in latest and established models = 0.341723 Jy
keep
! Adding 142 model components to the UV plane model.
! The established model now contains 230 components and 0.341723 Jy
![Exited script file: muppet]
wmap "J1611+1856_S_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.495 x 7.628 at -6.438 degrees (North through East)
! Clean map  min=-0.0031702  max=0.33099 Jy/beam
! Writing clean map to FITS file: J1611+1856_S_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.330992 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000552213 
device "J1611+1856_S_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J1611+1856_S_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.500507 0.500507 1.00101 2.00203 4.00406 8.00812 16.0162 32.0325 64.065
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0016 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.33 
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.495 x 7.628 at -6.438 degrees (North through East)
! Clean map  min=-0.0031702  max=0.33099 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1611+1856_S_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J1611+1856_S_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1611+1856_S_1996_03_13_yyk_uvs.log closed on Sun Jan  7 18:54:32 2007