! Started logfile: J2115+2933_S_2002_01_31_yyk_uvs.log on Tue Jun 26 23:16:11 2007
obs J2115+2933_S_2002_01_31_yyk_uva.fits
! Reading UV FITS file: J2115+2933_S_2002_01_31_yyk_uva.fits
! AN table 1: 116 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.717241 visibilities/baseline/integration-bin.
! Found source: J2115+2933
! 
! 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.22947e+09        8e+06          1        8e+06
!  02        2  2.25947e+09        8e+06          1        8e+06
!  03        3  2.34947e+09        8e+06          1        8e+06
!  04        4  2.36947e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1224 lines of history.
! 
! Reading 14976 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 J2115+2933_S_2002_01_31_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.509164 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.409 mas, bmaj=7.156 mas, bpa=7.928 degrees
! Estimated noise=1199.03 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.41055 Jy
! Component: 100  -  total flux cleaned = 0.475827 Jy
! Total flux subtracted in 100 components = 0.475827 Jy
! Clean residual min=-0.031077 max=0.029559 Jy/beam
! Clean residual mean=-0.000039 rms=0.007091 Jy/beam
! Combined flux in latest and established models = 0.475827 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 10 components and 0.475827 Jy
! 
! Correcting IF 1.
!  A total of 212 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 305 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 212 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 212 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.190156Jy  sigma=0.001595
! Fit after  self-cal, rms=0.189955Jy  sigma=0.001593
! Inverting map and beam 
! Estimated beam: bmin=2.409 mas, bmaj=7.156 mas, bpa=7.928 degrees
! Estimated noise=1199.18 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=2.991 mas, bmaj=7.659 mas, bpa=7.578 degrees
! Estimated noise=674.673 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.0429329 Jy
! Component: 100  -  total flux cleaned = 0.0504865 Jy
! Component: 150  -  total flux cleaned = 0.0526868 Jy
! Component: 200  -  total flux cleaned = 0.0544428 Jy
! Total flux subtracted in 200 components = 0.0544428 Jy
! Clean residual min=-0.028560 max=0.029812 Jy/beam
! Clean residual mean=-0.000145 rms=0.007869 Jy/beam
! Combined flux in latest and established models = 0.53027 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 31 components and 0.53027 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.189471Jy  sigma=0.001526
! Fit after  self-cal, rms=0.189363Jy  sigma=0.001525
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.991 x 7.659 at 7.578 degrees (North through East)
! Clean map  min=-0.026683  max=0.50003 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 18 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.975798
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.84     FD        1.03     HN        1.07     KP        1.10     
!   LA        1.32     MK        0.86     NL        1.15     OV        0.86     
!   PT        0.93     SC        1.08     
! 
! 
! Correcting IF 2.
!  A total of 15 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.973192
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.89     FD        0.91     HN        1.16     KP        1.00*    
!   LA        1.26     MK        0.95     NL        1.26     OV        0.89     
!   PT        0.89     SC        1.06     
! 
! 
! Correcting IF 3.
!  A total of 18 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.913657
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.88     HN        1.25     KP        1.20     
!   LA        1.35     MK        0.93     NL        1.36     OV        0.92     
!   PT        1.04     SC        1.01     
! 
! 
! Correcting IF 4.
!  A total of 18 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.952192
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        0.81     HN        1.22     KP        1.28     
!   LA        1.13     MK        0.91     NL        1.45     OV        0.84     
!   PT        0.91     SC        0.98     
! 
! 
! Fit before self-cal, rms=0.189363Jy  sigma=0.001525
! Fit after  self-cal, rms=0.176743Jy  sigma=0.001355
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.176743Jy  sigma=0.001355
! Fit after  self-cal, rms=0.176766Jy  sigma=0.001355
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.002 mas, bmaj=7.692 mas, bpa=8.377 degrees
! Estimated noise=601.314 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.0345118 Jy
! Component: 100  -  total flux cleaned = -0.0336196 Jy
! Component: 150  -  total flux cleaned = -0.0339562 Jy
! Component: 200  -  total flux cleaned = -0.0343956 Jy
! Total flux subtracted in 200 components = -0.0343956 Jy
! Clean residual min=-0.005288 max=0.008195 Jy/beam
! Clean residual mean=0.000017 rms=0.001823 Jy/beam
! Combined flux in latest and established models = 0.495874 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 40 components and 0.495874 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170127Jy  sigma=0.001272
! Fit after  self-cal, rms=0.170093Jy  sigma=0.001272
! 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.170093Jy  sigma=0.001272
! Fit after  self-cal, rms=0.168038Jy  sigma=0.001247
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.00109808 Jy
! Component: 100  -  total flux cleaned = 0.000758616 Jy
! Component: 150  -  total flux cleaned = 0.000759725 Jy
! Component: 200  -  total flux cleaned = 0.000906931 Jy
! Total flux subtracted in 200 components = 0.000906931 Jy
! Clean residual min=-0.004882 max=0.007550 Jy/beam
! Clean residual mean=0.000017 rms=0.001663 Jy/beam
! Combined flux in latest and established models = 0.496781 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 49 components and 0.496781 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.167960Jy  sigma=0.001245
! Fit after  self-cal, rms=0.167642Jy  sigma=0.001241
! 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.002 x 7.692 at 8.377 degrees (North through East)
! Clean map  min=-0.004808  max=0.45096 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.167642Jy  sigma=0.001241
! Fit after  self-cal, rms=0.168370Jy  sigma=0.001214
! 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.168370Jy  sigma=0.001214
! Fit after  self-cal, rms=0.168271Jy  sigma=0.001213
! Inverting map and beam 
! Estimated beam: bmin=2.997 mas, bmaj=7.668 mas, bpa=8.601 degrees
! Estimated noise=600.073 mJy/beam.
! Added new window around map position (4, -6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00674962 Jy
! Component: 100  -  total flux cleaned = 0.00748289 Jy
! Component: 150  -  total flux cleaned = 0.00787161 Jy
! Component: 200  -  total flux cleaned = 0.00837029 Jy
! Total flux subtracted in 200 components = 0.00837029 Jy
! Clean residual min=-0.003122 max=0.003997 Jy/beam
! Clean residual mean=0.000006 rms=0.000966 Jy/beam
! Combined flux in latest and established models = 0.505151 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 77 components and 0.505151 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.168143Jy  sigma=0.001210
! Fit after  self-cal, rms=0.168095Jy  sigma=0.001209
! 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.168095Jy  sigma=0.001209
! Fit after  self-cal, rms=0.168477Jy  sigma=0.001206
! 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.168477Jy  sigma=0.001206
! Fit after  self-cal, rms=0.168460Jy  sigma=0.001205
! Inverting map and beam 
! Estimated beam: bmin=2.995 mas, bmaj=7.646 mas, bpa=8.662 degrees
! Estimated noise=600.019 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00272448 Jy
! Component: 100  -  total flux cleaned = 0.00368764 Jy
! Component: 150  -  total flux cleaned = 0.00397582 Jy
! Component: 200  -  total flux cleaned = 0.00408101 Jy
! Total flux subtracted in 200 components = 0.00408101 Jy
! Clean residual min=-0.002972 max=0.003629 Jy/beam
! Clean residual mean=0.000006 rms=0.000859 Jy/beam
! Combined flux in latest and established models = 0.509232 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 100 components and 0.509232 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.168434Jy  sigma=0.001205
! Fit after  self-cal, rms=0.168424Jy  sigma=0.001205
! 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.33 mas, bmaj=9.538 mas, bpa=21.18 degrees
! Estimated noise=803.36 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.00141228 Jy
! Component: 100  -  total flux cleaned = 0.00196533 Jy
! Component: 150  -  total flux cleaned = 0.00223179 Jy
! Component: 200  -  total flux cleaned = 0.00235081 Jy
! Total flux subtracted in 200 components = 0.00235081 Jy
! Clean residual min=-0.003292 max=0.003666 Jy/beam
! Clean residual mean=0.000014 rms=0.001136 Jy/beam
! Combined flux in latest and established models = 0.511583 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 116 components and 0.511583 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.168438Jy  sigma=0.001205
! Fit after  self-cal, rms=0.168435Jy  sigma=0.001205
! 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.387 mas, bmaj=7.141 mas, bpa=8.796 degrees
! Estimated noise=1115.15 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.382158 Jy
! Component: 100  -  total flux cleaned = 0.441937 Jy
! Component: 150  -  total flux cleaned = 0.46736 Jy
! Component: 200  -  total flux cleaned = 0.481556 Jy
! Total flux subtracted in 200 components = 0.481556 Jy
! Clean residual min=-0.005907 max=0.006352 Jy/beam
! Clean residual mean=0.000013 rms=0.001659 Jy/beam
! Combined flux in latest and established models = 0.481556 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 25 model components to the UV plane model.
! The established model now contains 25 components and 0.481556 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.995 mas, bmaj=7.646 mas, bpa=8.662 degrees
! Estimated noise=600.019 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.0129684 Jy
! Component: 100  -  total flux cleaned = 0.0205388 Jy
! Component: 150  -  total flux cleaned = 0.0252502 Jy
! Component: 200  -  total flux cleaned = 0.0270709 Jy
! Total flux subtracted in 200 components = 0.0270709 Jy
! Clean residual min=-0.003177 max=0.003449 Jy/beam
! Clean residual mean=0.000005 rms=0.000966 Jy/beam
! Combined flux in latest and established models = 0.508627 Jy
! Adding 39 model components to the UV plane model.
! The established model now contains 57 components and 0.508627 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.33 mas, bmaj=9.538 mas, bpa=21.18 degrees
! Estimated noise=803.36 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.0038653 Jy
! Component: 100  -  total flux cleaned = 0.00424913 Jy
! Component: 150  -  total flux cleaned = 0.00443387 Jy
! Component: 200  -  total flux cleaned = 0.00458314 Jy
! Total flux subtracted in 200 components = 0.00458314 Jy
! Clean residual min=-0.003223 max=0.003331 Jy/beam
! Clean residual mean=0.000012 rms=0.001166 Jy/beam
! Combined flux in latest and established models = 0.51321 Jy
! Adding 36 model components to the UV plane model.
! The established model now contains 83 components and 0.51321 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.995 mas, bmaj=7.646 mas, bpa=8.662 degrees
! Estimated noise=600.019 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000122593 Jy
! Component: 100  -  total flux cleaned = -0.000395283 Jy
! Component: 150  -  total flux cleaned = -0.000563909 Jy
! Component: 200  -  total flux cleaned = -0.000705446 Jy
! Total flux subtracted in 200 components = -0.000705446 Jy
! Clean residual min=-0.002955 max=0.003208 Jy/beam
! Clean residual mean=0.000005 rms=0.000819 Jy/beam
! Combined flux in latest and established models = 0.512505 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 102 components and 0.512505 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.168428Jy  sigma=0.001205
! Fit after  self-cal, rms=0.168425Jy  sigma=0.001204
wmodel J2115+2933_S_2002_01_31_yyk\_map.mod
! Writing 102 model components to file: J2115+2933_S_2002_01_31_yyk_map.mod
wobs J2115+2933_S_2002_01_31_yyk\_uvs.fits
! Writing UV FITS file: J2115+2933_S_2002_01_31_yyk_uvs.fits
wwins J2115+2933_S_2002_01_31_yyk\_map.win
! wwins: Wrote 2 windows to J2115+2933_S_2002_01_31_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.000727408 Jy
! Component: 100  -  total flux cleaned = 0.00102681 Jy
! Component: 150  -  total flux cleaned = 0.00112164 Jy
! Component: 200  -  total flux cleaned = 0.00107807 Jy
! Component: 250  -  total flux cleaned = 0.0012002 Jy
! Component: 300  -  total flux cleaned = 0.00127764 Jy
! Component: 350  -  total flux cleaned = 0.00124094 Jy
! Component: 400  -  total flux cleaned = 0.00109598 Jy
! Component: 450  -  total flux cleaned = 0.00106084 Jy
! Component: 500  -  total flux cleaned = 0.00102631 Jy
! Component: 550  -  total flux cleaned = 0.000993034 Jy
! Component: 600  -  total flux cleaned = 0.00105905 Jy
! Component: 650  -  total flux cleaned = 0.00118734 Jy
! Component: 700  -  total flux cleaned = 0.00121816 Jy
! Component: 750  -  total flux cleaned = 0.00124867 Jy
! Component: 800  -  total flux cleaned = 0.00124823 Jy
! Component: 850  -  total flux cleaned = 0.00124726 Jy
! Component: 900  -  total flux cleaned = 0.00121751 Jy
! Component: 950  -  total flux cleaned = 0.0011327 Jy
! Component: 1000  -  total flux cleaned = 0.00110511 Jy
! Component: 1050  -  total flux cleaned = 0.00113264 Jy
! Component: 1100  -  total flux cleaned = 0.00110611 Jy
! Component: 1150  -  total flux cleaned = 0.00105356 Jy
! Component: 1200  -  total flux cleaned = 0.00110526 Jy
! Component: 1250  -  total flux cleaned = 0.00113047 Jy
! Component: 1300  -  total flux cleaned = 0.00108009 Jy
! Component: 1350  -  total flux cleaned = 0.00105543 Jy
! Component: 1400  -  total flux cleaned = 0.00110404 Jy
! Component: 1450  -  total flux cleaned = 0.00112852 Jy
! Component: 1500  -  total flux cleaned = 0.00117576 Jy
! Component: 1550  -  total flux cleaned = 0.00126902 Jy
! Component: 1600  -  total flux cleaned = 0.00136096 Jy
! Component: 1650  -  total flux cleaned = 0.00142902 Jy
! Component: 1700  -  total flux cleaned = 0.00156274 Jy
! Component: 1750  -  total flux cleaned = 0.00156273 Jy
! Component: 1800  -  total flux cleaned = 0.00167168 Jy
! Component: 1850  -  total flux cleaned = 0.00179988 Jy
! Component: 1900  -  total flux cleaned = 0.00192668 Jy
! Component: 1950  -  total flux cleaned = 0.00203124 Jy
! Component: 2000  -  total flux cleaned = 0.00219664 Jy
! Total flux subtracted in 2048 components = 0.00227832 Jy
! Clean residual min=-0.001307 max=0.001183 Jy/beam
! Clean residual mean=0.000003 rms=0.000419 Jy/beam
! Combined flux in latest and established models = 0.514783 Jy
keep
! Adding 152 model components to the UV plane model.
! The established model now contains 254 components and 0.514783 Jy
![Exited script file: muppet]
wmap "J2115+2933_S_2002_01_31_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.995 x 7.646 at 8.662 degrees (North through East)
! Clean map  min=-0.0021716  max=0.45092 Jy/beam
! Writing clean map to FITS file: J2115+2933_S_2002_01_31_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.450922 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000417147 
device "J2115+2933_S_2002_01_31_yyk\_map.eps/VPS"
! Attempting to open device: 'J2115+2933_S_2002_01_31_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.27753 0.27753 0.555059 1.11012 2.22024 4.44047 8.88095 17.7619 35.5238 71.0476
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0012 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.45 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.995 x 7.646 at 8.662 degrees (North through East)
! Clean map  min=-0.0021716  max=0.45092 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2115+2933_S_2002_01_31_yyk\_map.gif/gif"
! Attempting to open device: 'J2115+2933_S_2002_01_31_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2115+2933_S_2002_01_31_yyk_uvs.log closed on Tue Jun 26 23:16:19 2007