! Started logfile: J0401+2110_S_1996_01_02_yyk_uvs.log on Sun Jan  7 16:10:46 2007
obs J0401+2110_S_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J0401+2110_S_1996_01_02_yyk_uva.fits
! AN table 1: 128 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.952604 visibilities/baseline/integration-bin.
! Found source: J0401+2110
! 
! 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 624 lines of history.
! 
! Reading 21948 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 J0401+2110_S_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.891952 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.842 mas, bmaj=6.8 mas, bpa=-7.002 degrees
! Estimated noise=1420.94 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.259138 Jy
! Component: 100  -  total flux cleaned = 0.284794 Jy
! Total flux subtracted in 100 components = 0.284794 Jy
! Clean residual min=-0.044029 max=0.060109 Jy/beam
! Clean residual mean=-0.000087 rms=0.012547 Jy/beam
! Combined flux in latest and established models = 0.284794 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.284794 Jy
! 
! Correcting IF 1.
!  A total of 204 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 204 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 34 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 226 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.836785Jy  sigma=0.004245
! Fit after  self-cal, rms=0.834230Jy  sigma=0.004232
! Inverting map and beam 
! Estimated beam: bmin=2.842 mas, bmaj=6.8 mas, bpa=-7.002 degrees
! Estimated noise=1420.94 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.386 mas, bmaj=8.184 mas, bpa=-6.86 degrees
! Estimated noise=919.504 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.0222018 Jy
! Component: 100  -  total flux cleaned = 0.0204751 Jy
! Component: 150  -  total flux cleaned = 0.0177431 Jy
! Component: 200  -  total flux cleaned = 0.015374 Jy
! Total flux subtracted in 200 components = 0.015374 Jy
! Clean residual min=-0.031688 max=0.044883 Jy/beam
! Clean residual mean=-0.000365 rms=0.011104 Jy/beam
! Combined flux in latest and established models = 0.300168 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 15 components and 0.300168 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.832788Jy  sigma=0.004223
! Fit after  self-cal, rms=0.832720Jy  sigma=0.004223
! 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.386 x 8.184 at -6.86 degrees (North through East)
! Clean map  min=-0.031235  max=0.31485 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.965203
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.06     HN        1.72     KP        0.79     
!   LA        0.91     MK        0.84     NL        0.71     OV        0.95     
!   PT        1.56     SC        0.82     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.920166
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.14     HN        1.90     KP        0.81     
!   LA        1.05     MK        0.86     NL        0.74     OV        0.93     
!   PT        1.53     SC        0.90     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.972577
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        0.76     HN        1.22     KP        0.97     
!   LA        0.86     MK        0.68     NL        0.91     OV        0.91     
!   PT        1.86     SC        1.07     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.955129
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.07     HN        1.88     KP        0.89     
!   LA        0.83     MK        0.91     NL        0.86     OV        0.88     
!   PT        1.20     SC        0.97     
! 
! 
! Fit before self-cal, rms=0.832720Jy  sigma=0.004223
! Fit after  self-cal, rms=0.943430Jy  sigma=0.004177
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.943430Jy  sigma=0.004177
! Fit after  self-cal, rms=0.943663Jy  sigma=0.004176
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.202 mas, bmaj=8.127 mas, bpa=-6.963 degrees
! Estimated noise=778.472 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.0285299 Jy
! Component: 100  -  total flux cleaned = -0.0333662 Jy
! Component: 150  -  total flux cleaned = -0.034128 Jy
! Component: 200  -  total flux cleaned = -0.0344213 Jy
! Total flux subtracted in 200 components = -0.0344213 Jy
! Clean residual min=-0.027996 max=0.026887 Jy/beam
! Clean residual mean=-0.000133 rms=0.007614 Jy/beam
! Combined flux in latest and established models = 0.265746 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 25 components and 0.265746 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.942680Jy  sigma=0.004170
! Fit after  self-cal, rms=0.942660Jy  sigma=0.004170
! 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.942660Jy  sigma=0.004170
! Fit after  self-cal, rms=0.940199Jy  sigma=0.004157
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.00591645 Jy
! Component: 100  -  total flux cleaned = 0.00716598 Jy
! Component: 150  -  total flux cleaned = 0.00734688 Jy
! Component: 200  -  total flux cleaned = 0.00767918 Jy
! Total flux subtracted in 200 components = 0.00767918 Jy
! Clean residual min=-0.027614 max=0.026802 Jy/beam
! Clean residual mean=-0.000066 rms=0.007529 Jy/beam
! Combined flux in latest and established models = 0.273426 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 35 components and 0.273426 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.940104Jy  sigma=0.004157
! Fit after  self-cal, rms=0.939191Jy  sigma=0.004153
! 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.202 x 8.127 at -6.963 degrees (North through East)
! Clean map  min=-0.026901  max=0.28317 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.939191Jy  sigma=0.004153
! Fit after  self-cal, rms=47.049736Jy  sigma=0.004021
! 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=47.049736Jy  sigma=0.004021
! Fit after  self-cal, rms=47.052334Jy  sigma=0.004018
! Inverting map and beam 
! Estimated beam: bmin=3.399 mas, bmaj=8.009 mas, bpa=-6.355 degrees
! Estimated noise=676.939 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00434409 Jy
! Component: 100  -  total flux cleaned = 0.00516953 Jy
! Component: 150  -  total flux cleaned = 0.00586869 Jy
! Component: 200  -  total flux cleaned = 0.00632741 Jy
! Total flux subtracted in 200 components = 0.00632741 Jy
! Clean residual min=-0.005958 max=0.005233 Jy/beam
! Clean residual mean=-0.000019 rms=0.001411 Jy/beam
! Combined flux in latest and established models = 0.279753 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 42 components and 0.279753 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=47.052319Jy  sigma=0.004017
! Fit after  self-cal, rms=47.053749Jy  sigma=0.004017
! 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=47.053749Jy  sigma=0.004017
! Fit after  self-cal, rms=168.683472Jy  sigma=0.004014
! 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=168.683472Jy  sigma=0.004014
! Fit after  self-cal, rms=168.683945Jy  sigma=0.004014
! Inverting map and beam 
! Estimated beam: bmin=3.388 mas, bmaj=8.004 mas, bpa=-5.742 degrees
! Estimated noise=680.406 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00394339 Jy
! Component: 100  -  total flux cleaned = 0.00447723 Jy
! Component: 150  -  total flux cleaned = 0.00510103 Jy
! Component: 200  -  total flux cleaned = 0.00537381 Jy
! Total flux subtracted in 200 components = 0.00537381 Jy
! Clean residual min=-0.005326 max=0.004793 Jy/beam
! Clean residual mean=-0.000018 rms=0.001353 Jy/beam
! Combined flux in latest and established models = 0.285127 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 48 components and 0.285127 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=168.683960Jy  sigma=0.004013
! Fit after  self-cal, rms=168.684830Jy  sigma=0.004013
! 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.432 mas, bmaj=10.24 mas, bpa=-15.37 degrees
! Estimated noise=849.691 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.000876606 Jy
! Component: 100  -  total flux cleaned = 0.00109245 Jy
! Component: 150  -  total flux cleaned = 0.00121265 Jy
! Component: 200  -  total flux cleaned = 0.00123938 Jy
! Total flux subtracted in 200 components = 0.00123938 Jy
! Clean residual min=-0.004164 max=0.004385 Jy/beam
! Clean residual mean=-0.000032 rms=0.001307 Jy/beam
! Combined flux in latest and established models = 0.286366 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 52 components and 0.286366 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=168.684830Jy  sigma=0.004013
! Fit after  self-cal, rms=168.685287Jy  sigma=0.004013
! 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.803 mas, bmaj=7.04 mas, bpa=-1.426 degrees
! Estimated noise=1381.31 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.256857 Jy
! Component: 100  -  total flux cleaned = 0.283111 Jy
! Component: 150  -  total flux cleaned = 0.280647 Jy
! Component: 200  -  total flux cleaned = 0.278996 Jy
! Total flux subtracted in 200 components = 0.278996 Jy
! Clean residual min=-0.014899 max=0.014239 Jy/beam
! Clean residual mean=-0.000251 rms=0.003781 Jy/beam
! Combined flux in latest and established models = 0.278996 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.278996 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.388 mas, bmaj=8.004 mas, bpa=-5.742 degrees
! Estimated noise=680.406 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.00542448 Jy
! Component: 100  -  total flux cleaned = 0.00658933 Jy
! Component: 150  -  total flux cleaned = 0.00756053 Jy
! Component: 200  -  total flux cleaned = 0.00837428 Jy
! Total flux subtracted in 200 components = 0.00837428 Jy
! Clean residual min=-0.005629 max=0.006026 Jy/beam
! Clean residual mean=-0.000015 rms=0.001674 Jy/beam
! Combined flux in latest and established models = 0.28737 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 31 components and 0.28737 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.432 mas, bmaj=10.24 mas, bpa=-15.37 degrees
! Estimated noise=849.691 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.000190249 Jy
! Component: 100  -  total flux cleaned = 0.000508966 Jy
! Component: 150  -  total flux cleaned = 0.000513969 Jy
! Component: 200  -  total flux cleaned = 0.000576276 Jy
! Total flux subtracted in 200 components = 0.000576276 Jy
! Clean residual min=-0.005023 max=0.005179 Jy/beam
! Clean residual mean=-0.000029 rms=0.001510 Jy/beam
! Combined flux in latest and established models = 0.287946 Jy
! Adding 9 model components to the UV plane model.
! The established model now contains 35 components and 0.287946 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.388 mas, bmaj=8.004 mas, bpa=-5.742 degrees
! Estimated noise=680.406 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000332914 Jy
! Component: 100  -  total flux cleaned = 0.000355453 Jy
! Component: 150  -  total flux cleaned = 0.000140996 Jy
! Component: 200  -  total flux cleaned = 0.000334117 Jy
! Total flux subtracted in 200 components = 0.000334117 Jy
! Clean residual min=-0.005009 max=0.005280 Jy/beam
! Clean residual mean=-0.000015 rms=0.001381 Jy/beam
! Combined flux in latest and established models = 0.28828 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 45 components and 0.28828 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=168.685272Jy  sigma=0.004013
! Fit after  self-cal, rms=168.685318Jy  sigma=0.004013
wmodel J0401+2110_S_1996_01_02_yyk\_map.mod
! Writing 45 model components to file: J0401+2110_S_1996_01_02_yyk_map.mod
wobs J0401+2110_S_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J0401+2110_S_1996_01_02_yyk_uvs.fits
wwins J0401+2110_S_1996_01_02_yyk\_map.win
! wwins: Wrote 1 windows to J0401+2110_S_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.000830234 Jy
! Component: 100  -  total flux cleaned = 0.00165487 Jy
! Component: 150  -  total flux cleaned = 0.00241707 Jy
! Component: 200  -  total flux cleaned = 0.00248968 Jy
! Component: 250  -  total flux cleaned = 0.00255667 Jy
! Component: 300  -  total flux cleaned = 0.00268561 Jy
! Component: 350  -  total flux cleaned = 0.00281042 Jy
! Component: 400  -  total flux cleaned = 0.00310986 Jy
! Component: 450  -  total flux cleaned = 0.00339717 Jy
! Component: 500  -  total flux cleaned = 0.00361799 Jy
! Component: 550  -  total flux cleaned = 0.00383167 Jy
! Component: 600  -  total flux cleaned = 0.00393549 Jy
! Component: 650  -  total flux cleaned = 0.00418956 Jy
! Component: 700  -  total flux cleaned = 0.00433854 Jy
! Component: 750  -  total flux cleaned = 0.00453207 Jy
! Component: 800  -  total flux cleaned = 0.00472256 Jy
! Component: 850  -  total flux cleaned = 0.00477017 Jy
! Component: 900  -  total flux cleaned = 0.00490642 Jy
! Component: 950  -  total flux cleaned = 0.00504084 Jy
! Component: 1000  -  total flux cleaned = 0.00508459 Jy
! Component: 1050  -  total flux cleaned = 0.00525627 Jy
! Component: 1100  -  total flux cleaned = 0.00538276 Jy
! Component: 1150  -  total flux cleaned = 0.00546582 Jy
! Component: 1200  -  total flux cleaned = 0.00563034 Jy
! Component: 1250  -  total flux cleaned = 0.00575089 Jy
! Component: 1300  -  total flux cleaned = 0.00594778 Jy
! Component: 1350  -  total flux cleaned = 0.00606385 Jy
! Component: 1400  -  total flux cleaned = 0.00602503 Jy
! Component: 1450  -  total flux cleaned = 0.00617656 Jy
! Component: 1500  -  total flux cleaned = 0.00628836 Jy
! Component: 1550  -  total flux cleaned = 0.00643539 Jy
! Component: 1600  -  total flux cleaned = 0.00639933 Jy
! Component: 1650  -  total flux cleaned = 0.00654343 Jy
! Component: 1700  -  total flux cleaned = 0.0065436 Jy
! Component: 1750  -  total flux cleaned = 0.00678799 Jy
! Component: 1800  -  total flux cleaned = 0.00685682 Jy
! Component: 1850  -  total flux cleaned = 0.00695852 Jy
! Component: 1900  -  total flux cleaned = 0.00685701 Jy
! Component: 1950  -  total flux cleaned = 0.00692439 Jy
! Component: 2000  -  total flux cleaned = 0.00689158 Jy
! Total flux subtracted in 2048 components = 0.00689138 Jy
! Clean residual min=-0.001942 max=0.002638 Jy/beam
! Clean residual mean=-0.000015 rms=0.000656 Jy/beam
! Combined flux in latest and established models = 0.295172 Jy
keep
! Adding 135 model components to the UV plane model.
! The established model now contains 180 components and 0.295172 Jy
![Exited script file: muppet]
wmap "J0401+2110_S_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.388 x 8.004 at -5.742 degrees (North through East)
! Clean map  min=-0.0037049  max=0.28995 Jy/beam
! Writing clean map to FITS file: J0401+2110_S_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.289952 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000653856 
device "J0401+2110_S_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0401+2110_S_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.676515 0.676515 1.35303 2.70606 5.41212 10.8242 21.6485 43.2969 86.5939
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0019 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.289 
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.388 x 8.004 at -5.742 degrees (North through East)
! Clean map  min=-0.0037049  max=0.28995 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0401+2110_S_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0401+2110_S_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0401+2110_S_1996_01_02_yyk_uvs.log closed on Sun Jan  7 16:10:53 2007