! Started logfile: J0003+2129_X_1996_01_02_yyk_uvs.log on Mon Jan  8 01:33:23 2007
obs J0003+2129_X_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J0003+2129_X_1996_01_02_yyk_uva.fits
! AN table 1: 105 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.69672 visibilities/baseline/integration-bin.
! Found source: J0003+2129
! 
! 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 13168 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 J0003+2129_X_1996_01_02_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.312617 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.669 mas, bmaj=1.882 mas, bpa=-7.149 degrees
! Estimated noise=1385.27 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.111674 Jy
! Component: 100  -  total flux cleaned = 0.133763 Jy
! Total flux subtracted in 100 components = 0.133763 Jy
! Clean residual min=-0.023169 max=0.019972 Jy/beam
! Clean residual mean=0.000104 rms=0.005277 Jy/beam
! Combined flux in latest and established models = 0.133763 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 12 components and 0.133763 Jy
! 
! Correcting IF 1.
!  A total of 175 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 175 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 211 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 211 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.277472Jy  sigma=0.001818
! Fit after  self-cal, rms=0.274306Jy  sigma=0.001802
! Inverting map and beam 
! Estimated beam: bmin=0.669 mas, bmaj=1.882 mas, bpa=-7.15 degrees
! Estimated noise=1389.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.8494 mas, bmaj=2.382 mas, bpa=-10.72 degrees
! Estimated noise=888.804 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.0297924 Jy
! Component: 100  -  total flux cleaned = 0.0316252 Jy
! Component: 150  -  total flux cleaned = 0.0313097 Jy
! Component: 200  -  total flux cleaned = 0.0310638 Jy
! Total flux subtracted in 200 components = 0.0310638 Jy
! Clean residual min=-0.012112 max=0.012760 Jy/beam
! Clean residual mean=0.000057 rms=0.003339 Jy/beam
! Combined flux in latest and established models = 0.164827 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 20 components and 0.164827 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.272461Jy  sigma=0.001784
! Fit after  self-cal, rms=0.272450Jy  sigma=0.001784
! 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.8494 x 2.382 at -10.72 degrees (North through East)
! Clean map  min=-0.011252  max=0.15711 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.
!  Amplitude normalization factor in sub-array 1: 0.993182
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.99     HN        1.20     KP        0.90     
!   LA        1.14     MK        1.07     NL        0.95     OV        0.97     
!   PT        0.97     SC        0.89     
! 
! 
! 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.
!  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.
!  Amplitude normalization factor in sub-array 1: 0.993306
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.02     HN        1.16     KP        0.90     
!   LA        1.15     MK        0.99     NL        0.95     OV        0.95     
!   PT        0.97     SC        0.97     
! 
! 
! Fit before self-cal, rms=0.272450Jy  sigma=0.001784
! Fit after  self-cal, rms=0.273238Jy  sigma=0.001782
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.273238Jy  sigma=0.001782
! Fit after  self-cal, rms=0.273248Jy  sigma=0.001782
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.855 mas, bmaj=2.37 mas, bpa=-9.684 degrees
! Estimated noise=871.164 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.00254358 Jy
! Component: 100  -  total flux cleaned = -0.00310393 Jy
! Component: 150  -  total flux cleaned = -0.00377307 Jy
! Component: 200  -  total flux cleaned = -0.0043507 Jy
! Total flux subtracted in 200 components = -0.0043507 Jy
! Clean residual min=-0.011870 max=0.011910 Jy/beam
! Clean residual mean=0.000039 rms=0.002998 Jy/beam
! Combined flux in latest and established models = 0.160476 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 25 components and 0.160476 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.273119Jy  sigma=0.001780
! Fit after  self-cal, rms=0.273113Jy  sigma=0.001780
! 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.273113Jy  sigma=0.001780
! Fit after  self-cal, rms=0.272322Jy  sigma=0.001774
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.000547809 Jy
! Component: 100  -  total flux cleaned = 0.000298003 Jy
! Component: 150  -  total flux cleaned = -4.18674e-05 Jy
! Component: 200  -  total flux cleaned = -0.000248005 Jy
! Total flux subtracted in 200 components = -0.000248005 Jy
! Clean residual min=-0.011046 max=0.011471 Jy/beam
! Clean residual mean=0.000035 rms=0.002940 Jy/beam
! Combined flux in latest and established models = 0.160228 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 29 components and 0.160228 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.272297Jy  sigma=0.001774
! Fit after  self-cal, rms=0.272089Jy  sigma=0.001772
! 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.855 x 2.37 at -9.684 degrees (North through East)
! Clean map  min=-0.0099564  max=0.15785 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.272089Jy  sigma=0.001772
! Fit after  self-cal, rms=0.270221Jy  sigma=0.001770
! 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.270221Jy  sigma=0.001770
! Fit after  self-cal, rms=0.270189Jy  sigma=0.001770
! Inverting map and beam 
! Estimated beam: bmin=0.858 mas, bmaj=2.393 mas, bpa=-9.534 degrees
! Estimated noise=849.968 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00363805 Jy
! Component: 100  -  total flux cleaned = -0.00409275 Jy
! Component: 150  -  total flux cleaned = -0.0042495 Jy
! Component: 200  -  total flux cleaned = -0.00425417 Jy
! Total flux subtracted in 200 components = -0.00425417 Jy
! Clean residual min=-0.009853 max=0.009526 Jy/beam
! Clean residual mean=0.000028 rms=0.002573 Jy/beam
! Combined flux in latest and established models = 0.155974 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 35 components and 0.155974 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.270112Jy  sigma=0.001769
! Fit after  self-cal, rms=0.270091Jy  sigma=0.001769
! 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.270091Jy  sigma=0.001769
! Fit after  self-cal, rms=0.269746Jy  sigma=0.001769
! 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.269746Jy  sigma=0.001769
! Fit after  self-cal, rms=0.269714Jy  sigma=0.001768
! Inverting map and beam 
! Estimated beam: bmin=0.8665 mas, bmaj=2.403 mas, bpa=-9.591 degrees
! Estimated noise=848.026 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00124833 Jy
! Component: 100  -  total flux cleaned = -0.00132049 Jy
! Component: 150  -  total flux cleaned = -0.00138797 Jy
! Component: 200  -  total flux cleaned = -0.00144712 Jy
! Total flux subtracted in 200 components = -0.00144712 Jy
! Clean residual min=-0.009906 max=0.009684 Jy/beam
! Clean residual mean=0.000029 rms=0.002550 Jy/beam
! Combined flux in latest and established models = 0.154527 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 36 components and 0.154527 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.269688Jy  sigma=0.001768
! Fit after  self-cal, rms=0.269630Jy  sigma=0.001767
! 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=2.236 mas, bmaj=3.766 mas, bpa=-17.08 degrees
! Estimated noise=1091.47 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00235605 Jy
! Component: 100  -  total flux cleaned = 0.00205808 Jy
! Component: 150  -  total flux cleaned = 0.00180969 Jy
! Component: 200  -  total flux cleaned = 0.00153583 Jy
! Total flux subtracted in 200 components = 0.00153583 Jy
! Clean residual min=-0.010838 max=0.009357 Jy/beam
! Clean residual mean=0.000064 rms=0.003225 Jy/beam
! Combined flux in latest and established models = 0.156063 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 41 components and 0.156063 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.269684Jy  sigma=0.001768
! Fit after  self-cal, rms=0.269585Jy  sigma=0.001767
! 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.6741 mas, bmaj=1.904 mas, bpa=-6.424 degrees
! Estimated noise=1345.94 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.121623 Jy
! Component: 100  -  total flux cleaned = 0.14497 Jy
! Component: 150  -  total flux cleaned = 0.145475 Jy
! Component: 200  -  total flux cleaned = 0.145125 Jy
! Total flux subtracted in 200 components = 0.145125 Jy
! Clean residual min=-0.015411 max=0.015525 Jy/beam
! Clean residual mean=0.000058 rms=0.003744 Jy/beam
! Combined flux in latest and established models = 0.145125 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 14 model components to the UV plane model.
! The established model now contains 14 components and 0.145125 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8665 mas, bmaj=2.403 mas, bpa=-9.591 degrees
! Estimated noise=848.026 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.0105183 Jy
! Component: 100  -  total flux cleaned = 0.0110822 Jy
! Component: 150  -  total flux cleaned = 0.0108961 Jy
! Component: 200  -  total flux cleaned = 0.0104184 Jy
! Total flux subtracted in 200 components = 0.0104184 Jy
! Clean residual min=-0.010378 max=0.009470 Jy/beam
! Clean residual mean=0.000029 rms=0.002634 Jy/beam
! Combined flux in latest and established models = 0.155543 Jy
! Adding 13 model components to the UV plane model.
! The established model now contains 22 components and 0.155543 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=2.236 mas, bmaj=3.766 mas, bpa=-17.08 degrees
! Estimated noise=1091.47 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.0029764 Jy
! Component: 100  -  total flux cleaned = 0.0025231 Jy
! Component: 150  -  total flux cleaned = 0.0020244 Jy
! Component: 200  -  total flux cleaned = 0.00171375 Jy
! Total flux subtracted in 200 components = 0.00171375 Jy
! Clean residual min=-0.010821 max=0.009330 Jy/beam
! Clean residual mean=0.000066 rms=0.003242 Jy/beam
! Combined flux in latest and established models = 0.157257 Jy
! Adding 6 model components to the UV plane model.
! The established model now contains 27 components and 0.157257 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8665 mas, bmaj=2.403 mas, bpa=-9.591 degrees
! Estimated noise=848.026 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00230374 Jy
! Component: 100  -  total flux cleaned = -0.00246745 Jy
! Component: 150  -  total flux cleaned = -0.00272274 Jy
! Component: 200  -  total flux cleaned = -0.00295673 Jy
! Total flux subtracted in 200 components = -0.00295673 Jy
! Clean residual min=-0.010011 max=0.009859 Jy/beam
! Clean residual mean=0.000029 rms=0.002565 Jy/beam
! Combined flux in latest and established models = 0.1543 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 35 components and 0.1543 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.269651Jy  sigma=0.001768
! Fit after  self-cal, rms=0.269586Jy  sigma=0.001767
wmodel J0003+2129_X_1996_01_02_yyk\_map.mod
! Writing 35 model components to file: J0003+2129_X_1996_01_02_yyk_map.mod
wobs J0003+2129_X_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J0003+2129_X_1996_01_02_yyk_uvs.fits
wwins J0003+2129_X_1996_01_02_yyk\_map.win
! wwins: Wrote 1 windows to J0003+2129_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.000532158 Jy
! Component: 100  -  total flux cleaned = 0.00138638 Jy
! Component: 150  -  total flux cleaned = 0.00155088 Jy
! Component: 200  -  total flux cleaned = 0.00155487 Jy
! Component: 250  -  total flux cleaned = 0.00111457 Jy
! Component: 300  -  total flux cleaned = 0.000686755 Jy
! Component: 350  -  total flux cleaned = 2.28829e-07 Jy
! Component: 400  -  total flux cleaned = -0.000134018 Jy
! Component: 450  -  total flux cleaned = -0.00091286 Jy
! Component: 500  -  total flux cleaned = -0.00141622 Jy
! Component: 550  -  total flux cleaned = -0.00190882 Jy
! Component: 600  -  total flux cleaned = -0.0023883 Jy
! Component: 650  -  total flux cleaned = -0.00273873 Jy
! Component: 700  -  total flux cleaned = -0.00308305 Jy
! Component: 750  -  total flux cleaned = -0.00364295 Jy
! Component: 800  -  total flux cleaned = -0.0040829 Jy
! Component: 850  -  total flux cleaned = -0.00461788 Jy
! Component: 900  -  total flux cleaned = -0.00503672 Jy
! Component: 950  -  total flux cleaned = -0.00534598 Jy
! Component: 1000  -  total flux cleaned = -0.00565107 Jy
! Component: 1050  -  total flux cleaned = -0.00644454 Jy
! Component: 1100  -  total flux cleaned = -0.00683338 Jy
! Component: 1150  -  total flux cleaned = -0.00740918 Jy
! Component: 1200  -  total flux cleaned = -0.00825483 Jy
! Component: 1250  -  total flux cleaned = -0.00880839 Jy
! Component: 1300  -  total flux cleaned = -0.00935366 Jy
! Component: 1350  -  total flux cleaned = -0.00980029 Jy
! Component: 1400  -  total flux cleaned = -0.0104159 Jy
! Component: 1450  -  total flux cleaned = -0.0108487 Jy
! Component: 1500  -  total flux cleaned = -0.0112744 Jy
! Component: 1550  -  total flux cleaned = -0.011777 Jy
! Component: 1600  -  total flux cleaned = -0.0121896 Jy
! Component: 1650  -  total flux cleaned = -0.0128387 Jy
! Component: 1700  -  total flux cleaned = -0.0129963 Jy
! Component: 1750  -  total flux cleaned = -0.013153 Jy
! Component: 1800  -  total flux cleaned = -0.0140093 Jy
! Component: 1850  -  total flux cleaned = -0.0143157 Jy
! Component: 1900  -  total flux cleaned = -0.0147702 Jy
! Component: 1950  -  total flux cleaned = -0.0154421 Jy
! Component: 2000  -  total flux cleaned = -0.0157356 Jy
! Total flux subtracted in 2048 components = -0.0160266 Jy
! Clean residual min=-0.003617 max=0.003614 Jy/beam
! Clean residual mean=0.000007 rms=0.001383 Jy/beam
! Combined flux in latest and established models = 0.138274 Jy
keep
! Adding 131 model components to the UV plane model.
! The established model now contains 166 components and 0.138274 Jy
![Exited script file: muppet]
wmap "J0003+2129_X_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8665 x 2.403 at -9.591 degrees (North through East)
! Clean map  min=-0.0079833  max=0.15228 Jy/beam
! Writing clean map to FITS file: J0003+2129_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.152276 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00138334 
device "J0003+2129_X_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0003+2129_X_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.72533 2.72533 5.45065 10.9013 21.8026 43.6052 87.2104
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0041 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.152 
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.8665 x 2.403 at -9.591 degrees (North through East)
! Clean map  min=-0.0079833  max=0.15228 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0003+2129_X_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0003+2129_X_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0003+2129_X_1996_01_02_yyk_uvs.log closed on Mon Jan  8 01:33:30 2007