! Started logfile: J1059+2057_X_1996_03_13_yyk_uvs.log on Mon Jan  8 05:07:47 2007
obs J1059+2057_X_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J1059+2057_X_1996_03_13_yyk_uva.fits
! AN table 1: 133 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.904094 visibilities/baseline/integration-bin.
! Found source: J1059+2057
! 
! 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 655 lines of history.
! 
! Reading 21644 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 J1059+2057_X_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.41446 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.7458 mas, bmaj=1.791 mas, bpa=0.3468 degrees
! Estimated noise=1083.14 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.258929 Jy
! Component: 100  -  total flux cleaned = 0.30845 Jy
! Total flux subtracted in 100 components = 0.30845 Jy
! Clean residual min=-0.015887 max=0.022302 Jy/beam
! Clean residual mean=0.000039 rms=0.004623 Jy/beam
! Combined flux in latest and established models = 0.30845 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.30845 Jy
! 
! Correcting IF 1.
!  A total of 74 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 74 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 74 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 74 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.279399Jy  sigma=0.001806
! Fit after  self-cal, rms=0.278993Jy  sigma=0.001803
! Inverting map and beam 
! Estimated beam: bmin=0.7458 mas, bmaj=1.791 mas, bpa=0.3467 degrees
! Estimated noise=1083.25 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.9369 mas, bmaj=2.111 mas, bpa=0.8759 degrees
! Estimated noise=700.894 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.0255548 Jy
! Component: 100  -  total flux cleaned = 0.028996 Jy
! Component: 150  -  total flux cleaned = 0.0287524 Jy
! Component: 200  -  total flux cleaned = 0.0287703 Jy
! Total flux subtracted in 200 components = 0.0287703 Jy
! Clean residual min=-0.012346 max=0.020397 Jy/beam
! Clean residual mean=0.000086 rms=0.004607 Jy/beam
! Combined flux in latest and established models = 0.33722 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 14 components and 0.33722 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.277930Jy  sigma=0.001792
! Fit after  self-cal, rms=0.277924Jy  sigma=0.001791
! 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.9369 x 2.111 at 0.8759 degrees (North through East)
! Clean map  min=-0.011453  max=0.31363 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.998804
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.94     HN        0.96     KP        0.96     
!   LA        0.96     MK        1.03     NL        0.94     OV        1.30     
!   PT        0.98     SC        0.93     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.994425
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.94     HN        0.94     KP        0.97     
!   LA        0.93     MK        0.98     NL        0.95     OV        1.33     
!   PT        1.02     SC        1.00     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.98468
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.92     HN        0.94     KP        0.95     
!   LA        0.96     MK        1.14     NL        0.94     OV        1.32     
!   PT        0.94     SC        1.02     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.978904
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.09     FD        0.95     HN        0.95     KP        0.95     
!   LA        0.97     MK        1.04     NL        0.96     OV        1.29     
!   PT        0.99     SC        1.03     
! 
! 
! Fit before self-cal, rms=0.277924Jy  sigma=0.001791
! Fit after  self-cal, rms=0.288163Jy  sigma=0.001771
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.288163Jy  sigma=0.001771
! Fit after  self-cal, rms=0.288193Jy  sigma=0.001771
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9546 mas, bmaj=2.107 mas, bpa=0.4309 degrees
! Estimated noise=679.449 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.00655309 Jy
! Component: 100  -  total flux cleaned = -0.0066145 Jy
! Component: 150  -  total flux cleaned = -0.00630576 Jy
! Component: 200  -  total flux cleaned = -0.00593175 Jy
! Total flux subtracted in 200 components = -0.00593175 Jy
! Clean residual min=-0.012181 max=0.013364 Jy/beam
! Clean residual mean=0.000050 rms=0.003177 Jy/beam
! Combined flux in latest and established models = 0.331288 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 27 components and 0.331288 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.287958Jy  sigma=0.001770
! Fit after  self-cal, rms=0.287950Jy  sigma=0.001770
! 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.287950Jy  sigma=0.001770
! Fit after  self-cal, rms=0.286854Jy  sigma=0.001763
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.00108144 Jy
! Component: 100  -  total flux cleaned = 0.00140458 Jy
! Component: 150  -  total flux cleaned = 0.00152014 Jy
! Component: 200  -  total flux cleaned = 0.00152157 Jy
! Total flux subtracted in 200 components = 0.00152157 Jy
! Clean residual min=-0.011872 max=0.012653 Jy/beam
! Clean residual mean=0.000048 rms=0.003101 Jy/beam
! Combined flux in latest and established models = 0.33281 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 37 components and 0.33281 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.286831Jy  sigma=0.001763
! Fit after  self-cal, rms=0.286392Jy  sigma=0.001761
! 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.9546 x 2.107 at 0.4309 degrees (North through East)
! Clean map  min=-0.011418  max=0.30716 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.286392Jy  sigma=0.001761
! Fit after  self-cal, rms=1.438609Jy  sigma=0.001704
! 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.438609Jy  sigma=0.001704
! Fit after  self-cal, rms=1.438775Jy  sigma=0.001703
! Inverting map and beam 
! Estimated beam: bmin=0.9609 mas, bmaj=2.135 mas, bpa=0.8677 degrees
! Estimated noise=666.605 mJy/beam.
! Added new window around map position (-3.4, -21).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00472428 Jy
! Component: 100  -  total flux cleaned = 0.00635279 Jy
! Component: 150  -  total flux cleaned = 0.0072184 Jy
! Component: 200  -  total flux cleaned = 0.00807545 Jy
! Total flux subtracted in 200 components = 0.00807545 Jy
! Clean residual min=-0.003650 max=0.003472 Jy/beam
! Clean residual mean=0.000009 rms=0.000944 Jy/beam
! Combined flux in latest and established models = 0.340885 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 57 components and 0.340885 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.438826Jy  sigma=0.001702
! Fit after  self-cal, rms=1.438598Jy  sigma=0.001702
! 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.438598Jy  sigma=0.001702
! Fit after  self-cal, rms=1.716878Jy  sigma=0.001701
! 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.716878Jy  sigma=0.001701
! Fit after  self-cal, rms=1.716645Jy  sigma=0.001701
! Inverting map and beam 
! Estimated beam: bmin=0.963 mas, bmaj=2.141 mas, bpa=0.9147 degrees
! Estimated noise=666.853 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00100906 Jy
! Component: 100  -  total flux cleaned = 0.00170153 Jy
! Component: 150  -  total flux cleaned = 0.00203657 Jy
! Component: 200  -  total flux cleaned = 0.00233733 Jy
! Total flux subtracted in 200 components = 0.00233733 Jy
! Clean residual min=-0.003470 max=0.003444 Jy/beam
! Clean residual mean=0.000008 rms=0.000918 Jy/beam
! Combined flux in latest and established models = 0.343223 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 64 components and 0.343223 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.716660Jy  sigma=0.001700
! Fit after  self-cal, rms=1.716409Jy  sigma=0.001700
! 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.083 mas, bmaj=2.898 mas, bpa=-6.162 degrees
! Estimated noise=839.713 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.00151766 Jy
! Component: 100  -  total flux cleaned = 0.00208628 Jy
! Component: 150  -  total flux cleaned = 0.00234452 Jy
! Component: 200  -  total flux cleaned = 0.00251566 Jy
! Total flux subtracted in 200 components = 0.00251566 Jy
! Clean residual min=-0.003581 max=0.003724 Jy/beam
! Clean residual mean=0.000017 rms=0.001118 Jy/beam
! Combined flux in latest and established models = 0.345738 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 76 components and 0.345738 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.716403Jy  sigma=0.001700
! Fit after  self-cal, rms=1.716192Jy  sigma=0.001700
! 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.7526 mas, bmaj=1.797 mas, bpa=0.8465 degrees
! Estimated noise=1090.35 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.261874 Jy
! Component: 100  -  total flux cleaned = 0.310496 Jy
! Component: 150  -  total flux cleaned = 0.329094 Jy
! Component: 200  -  total flux cleaned = 0.336636 Jy
! Total flux subtracted in 200 components = 0.336636 Jy
! Clean residual min=-0.008316 max=0.007307 Jy/beam
! Clean residual mean=0.000007 rms=0.002021 Jy/beam
! Combined flux in latest and established models = 0.336636 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 16 model components to the UV plane model.
! The established model now contains 16 components and 0.336636 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.963 mas, bmaj=2.141 mas, bpa=0.9147 degrees
! Estimated noise=666.853 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.0042717 Jy
! Component: 100  -  total flux cleaned = 0.00546622 Jy
! Component: 150  -  total flux cleaned = 0.00625479 Jy
! Component: 200  -  total flux cleaned = 0.00676988 Jy
! Total flux subtracted in 200 components = 0.00676988 Jy
! Clean residual min=-0.003503 max=0.003381 Jy/beam
! Clean residual mean=0.000008 rms=0.000933 Jy/beam
! Combined flux in latest and established models = 0.343406 Jy
! Adding 32 model components to the UV plane model.
! The established model now contains 42 components and 0.343406 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.083 mas, bmaj=2.898 mas, bpa=-6.162 degrees
! Estimated noise=839.713 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.00209208 Jy
! Component: 100  -  total flux cleaned = 0.00281455 Jy
! Component: 150  -  total flux cleaned = 0.00297214 Jy
! Component: 200  -  total flux cleaned = 0.00297327 Jy
! Total flux subtracted in 200 components = 0.00297327 Jy
! Clean residual min=-0.003537 max=0.003725 Jy/beam
! Clean residual mean=0.000018 rms=0.001121 Jy/beam
! Combined flux in latest and established models = 0.346379 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 54 components and 0.346379 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.963 mas, bmaj=2.141 mas, bpa=0.9147 degrees
! Estimated noise=666.853 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000592572 Jy
! Component: 100  -  total flux cleaned = -0.000425081 Jy
! Component: 150  -  total flux cleaned = -0.000376053 Jy
! Component: 200  -  total flux cleaned = -0.000374534 Jy
! Total flux subtracted in 200 components = -0.000374534 Jy
! Clean residual min=-0.003444 max=0.003388 Jy/beam
! Clean residual mean=0.000007 rms=0.000910 Jy/beam
! Combined flux in latest and established models = 0.346005 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 64 components and 0.346005 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.716184Jy  sigma=0.001700
! Fit after  self-cal, rms=1.716025Jy  sigma=0.001700
wmodel J1059+2057_X_1996_03_13_yyk\_map.mod
! Writing 64 model components to file: J1059+2057_X_1996_03_13_yyk_map.mod
wobs J1059+2057_X_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J1059+2057_X_1996_03_13_yyk_uvs.fits
wwins J1059+2057_X_1996_03_13_yyk\_map.win
! wwins: Wrote 2 windows to J1059+2057_X_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.000634315 Jy
! Component: 100  -  total flux cleaned = 0.00104416 Jy
! Component: 150  -  total flux cleaned = 0.00132375 Jy
! Component: 200  -  total flux cleaned = 0.0015938 Jy
! Component: 250  -  total flux cleaned = 0.0018033 Jy
! Component: 300  -  total flux cleaned = 0.00190339 Jy
! Component: 350  -  total flux cleaned = 0.00180457 Jy
! Component: 400  -  total flux cleaned = 0.00175704 Jy
! Component: 450  -  total flux cleaned = 0.0018985 Jy
! Component: 500  -  total flux cleaned = 0.00185215 Jy
! Component: 550  -  total flux cleaned = 0.00189822 Jy
! Component: 600  -  total flux cleaned = 0.00189891 Jy
! Component: 650  -  total flux cleaned = 0.00194279 Jy
! Component: 700  -  total flux cleaned = 0.00198601 Jy
! Component: 750  -  total flux cleaned = 0.00207084 Jy
! Component: 800  -  total flux cleaned = 0.00211292 Jy
! Component: 850  -  total flux cleaned = 0.0021128 Jy
! Component: 900  -  total flux cleaned = 0.00211316 Jy
! Component: 950  -  total flux cleaned = 0.00207304 Jy
! Component: 1000  -  total flux cleaned = 0.00207389 Jy
! Component: 1050  -  total flux cleaned = 0.00211348 Jy
! Component: 1100  -  total flux cleaned = 0.00211352 Jy
! Component: 1150  -  total flux cleaned = 0.00207529 Jy
! Component: 1200  -  total flux cleaned = 0.00218809 Jy
! Component: 1250  -  total flux cleaned = 0.00222574 Jy
! Component: 1300  -  total flux cleaned = 0.00226319 Jy
! Component: 1350  -  total flux cleaned = 0.00229986 Jy
! Component: 1400  -  total flux cleaned = 0.00248124 Jy
! Component: 1450  -  total flux cleaned = 0.00262403 Jy
! Component: 1500  -  total flux cleaned = 0.00265963 Jy
! Component: 1550  -  total flux cleaned = 0.00273002 Jy
! Component: 1600  -  total flux cleaned = 0.00283416 Jy
! Component: 1650  -  total flux cleaned = 0.00293758 Jy
! Component: 1700  -  total flux cleaned = 0.00297201 Jy
! Component: 1750  -  total flux cleaned = 0.00307292 Jy
! Component: 1800  -  total flux cleaned = 0.00313979 Jy
! Component: 1850  -  total flux cleaned = 0.00307335 Jy
! Component: 1900  -  total flux cleaned = 0.00304051 Jy
! Component: 1950  -  total flux cleaned = 0.00323587 Jy
! Component: 2000  -  total flux cleaned = 0.00317135 Jy
! Total flux subtracted in 2048 components = 0.00320318 Jy
! Clean residual min=-0.002219 max=0.001832 Jy/beam
! Clean residual mean=0.000008 rms=0.000609 Jy/beam
! Combined flux in latest and established models = 0.349208 Jy
keep
! Adding 142 model components to the UV plane model.
! The established model now contains 206 components and 0.349208 Jy
![Exited script file: muppet]
wmap "J1059+2057_X_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.963 x 2.141 at 0.9147 degrees (North through East)
! Clean map  min=-0.0027357  max=0.30882 Jy/beam
! Writing clean map to FITS file: J1059+2057_X_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.30882 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000606832 
device "J1059+2057_X_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J1059+2057_X_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.5895 0.5895 1.179 2.358 4.716 9.432 18.864 37.728 75.456
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0018 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.308 
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.963 x 2.141 at 0.9147 degrees (North through East)
! Clean map  min=-0.0027357  max=0.30882 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1059+2057_X_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J1059+2057_X_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1059+2057_X_1996_03_13_yyk_uvs.log closed on Mon Jan  8 05:07:56 2007