! Started logfile: J1347+1835_X_1996_01_02_yyk_uvs.log on Mon Jan  8 06:12:38 2007
obs J1347+1835_X_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J1347+1835_X_1996_01_02_yyk_uva.fits
! AN table 1: 99 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.802694 visibilities/baseline/integration-bin.
! Found source: J1347+1835
! 
! 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 627 lines of history.
! 
! Reading 14304 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 J1347+1835_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.402169 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.7247 mas, bmaj=1.745 mas, bpa=3.692 degrees
! Estimated noise=1649.73 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.208918 Jy
! Component: 100  -  total flux cleaned = 0.243867 Jy
! Total flux subtracted in 100 components = 0.243867 Jy
! Clean residual min=-0.019201 max=0.029029 Jy/beam
! Clean residual mean=-0.000027 rms=0.005258 Jy/beam
! Combined flux in latest and established models = 0.243867 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 4 components and 0.243867 Jy
! 
! Correcting IF 1.
!  A total of 113 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 113 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 113 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 113 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.326275Jy  sigma=0.001831
! Fit after  self-cal, rms=0.325220Jy  sigma=0.001825
! Inverting map and beam 
! Estimated beam: bmin=0.7247 mas, bmaj=1.745 mas, bpa=3.696 degrees
! Estimated noise=1650.43 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.913 mas, bmaj=2.152 mas, bpa=3.69 degrees
! Estimated noise=904 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.4, 2.8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0325651 Jy
! Component: 100  -  total flux cleaned = 0.0373969 Jy
! Component: 150  -  total flux cleaned = 0.0403363 Jy
! Component: 200  -  total flux cleaned = 0.0405933 Jy
! Total flux subtracted in 200 components = 0.0405933 Jy
! Clean residual min=-0.013012 max=0.020456 Jy/beam
! Clean residual mean=-0.000001 rms=0.004028 Jy/beam
! Combined flux in latest and established models = 0.284461 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 17 components and 0.284461 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.323615Jy  sigma=0.001808
! Fit after  self-cal, rms=0.323552Jy  sigma=0.001807
! 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.913 x 2.152 at 3.69 degrees (North through East)
! Clean map  min=-0.013164  max=0.25176 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.964036
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.03     HN        1.58     KP        0.86     
!   LA        1.27     MK        0.91     NL        0.89     OV        0.87     
!   PT        1.08     SC        0.89     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00351
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.05     HN        1.18     KP        0.89     
!   LA        1.24     MK        0.93     NL        0.87     OV        0.95     
!   PT        0.99     SC        0.94     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.948634
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.04     HN        1.63     KP        0.84     
!   LA        1.28     MK        0.96     NL        0.84     OV        0.88     
!   PT        1.01     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.913543
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.16     HN        1.71     KP        0.86     
!   LA        1.35     MK        0.97     NL        0.89     OV        0.94     
!   PT        1.07     SC        1.04     
! 
! 
! Fit before self-cal, rms=0.323552Jy  sigma=0.001807
! Fit after  self-cal, rms=0.373193Jy  sigma=0.001787
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.373193Jy  sigma=0.001787
! Fit after  self-cal, rms=0.373278Jy  sigma=0.001787
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9066 mas, bmaj=2.137 mas, bpa=4.246 degrees
! Estimated noise=798.838 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.015549 Jy
! Component: 100  -  total flux cleaned = -0.0129612 Jy
! Component: 150  -  total flux cleaned = -0.0122283 Jy
! Component: 200  -  total flux cleaned = -0.0119526 Jy
! Total flux subtracted in 200 components = -0.0119526 Jy
! Clean residual min=-0.005748 max=0.006646 Jy/beam
! Clean residual mean=-0.000009 rms=0.001647 Jy/beam
! Combined flux in latest and established models = 0.272508 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 32 components and 0.272508 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.372201Jy  sigma=0.001778
! Fit after  self-cal, rms=0.372195Jy  sigma=0.001778
! 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.372195Jy  sigma=0.001778
! Fit after  self-cal, rms=0.371403Jy  sigma=0.001773
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.00211647 Jy
! Component: 100  -  total flux cleaned = 0.00222107 Jy
! Component: 150  -  total flux cleaned = 0.00230584 Jy
! Component: 200  -  total flux cleaned = 0.00238426 Jy
! Total flux subtracted in 200 components = 0.00238426 Jy
! Clean residual min=-0.005801 max=0.006446 Jy/beam
! Clean residual mean=-0.000007 rms=0.001618 Jy/beam
! Combined flux in latest and established models = 0.274892 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 43 components and 0.274892 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.371337Jy  sigma=0.001772
! Fit after  self-cal, rms=0.371037Jy  sigma=0.001770
! 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.9066 x 2.137 at 4.246 degrees (North through East)
! Clean map  min=-0.0059773  max=0.22817 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.371037Jy  sigma=0.001770
! Fit after  self-cal, rms=0.756920Jy  sigma=0.001755
! 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.756920Jy  sigma=0.001755
! Fit after  self-cal, rms=0.756839Jy  sigma=0.001754
! Inverting map and beam 
! Estimated beam: bmin=0.906 mas, bmaj=2.133 mas, bpa=3.921 degrees
! Estimated noise=792.408 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000477851 Jy
! Component: 100  -  total flux cleaned = 0.00141619 Jy
! Component: 150  -  total flux cleaned = 0.00167146 Jy
! Component: 200  -  total flux cleaned = 0.00178468 Jy
! Total flux subtracted in 200 components = 0.00178468 Jy
! Clean residual min=-0.005042 max=0.003946 Jy/beam
! Clean residual mean=-0.000010 rms=0.001137 Jy/beam
! Combined flux in latest and established models = 0.276677 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 56 components and 0.276677 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.756815Jy  sigma=0.001754
! Fit after  self-cal, rms=0.756751Jy  sigma=0.001753
! 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.756751Jy  sigma=0.001753
! Fit after  self-cal, rms=0.834872Jy  sigma=0.001751
! 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.834872Jy  sigma=0.001751
! Fit after  self-cal, rms=0.834831Jy  sigma=0.001750
! Inverting map and beam 
! Estimated beam: bmin=0.9054 mas, bmaj=2.134 mas, bpa=3.986 degrees
! Estimated noise=795.508 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000982652 Jy
! Component: 100  -  total flux cleaned = 0.00178804 Jy
! Component: 150  -  total flux cleaned = 0.00213684 Jy
! Component: 200  -  total flux cleaned = 0.0023984 Jy
! Total flux subtracted in 200 components = 0.0023984 Jy
! Clean residual min=-0.005048 max=0.003831 Jy/beam
! Clean residual mean=-0.000010 rms=0.001120 Jy/beam
! Combined flux in latest and established models = 0.279075 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 67 components and 0.279075 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.834816Jy  sigma=0.001750
! Fit after  self-cal, rms=0.834752Jy  sigma=0.001750
! 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.025 mas, bmaj=3.309 mas, bpa=-6.083 degrees
! Estimated noise=1014.91 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.000895902 Jy
! Component: 100  -  total flux cleaned = 0.00136341 Jy
! Component: 150  -  total flux cleaned = 0.00166715 Jy
! Component: 200  -  total flux cleaned = 0.00177602 Jy
! Total flux subtracted in 200 components = 0.00177602 Jy
! Clean residual min=-0.004200 max=0.005202 Jy/beam
! Clean residual mean=-0.000017 rms=0.001374 Jy/beam
! Combined flux in latest and established models = 0.280851 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 78 components and 0.280851 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.834758Jy  sigma=0.001750
! Fit after  self-cal, rms=0.834681Jy  sigma=0.001750
! 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.7189 mas, bmaj=1.738 mas, bpa=4.494 degrees
! Estimated noise=1562.42 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.196849 Jy
! Component: 100  -  total flux cleaned = 0.237793 Jy
! Component: 150  -  total flux cleaned = 0.257055 Jy
! Component: 200  -  total flux cleaned = 0.261879 Jy
! Total flux subtracted in 200 components = 0.261879 Jy
! Clean residual min=-0.011088 max=0.010068 Jy/beam
! Clean residual mean=-0.000009 rms=0.002942 Jy/beam
! Combined flux in latest and established models = 0.261879 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 21 model components to the UV plane model.
! The established model now contains 21 components and 0.261879 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9054 mas, bmaj=2.134 mas, bpa=3.986 degrees
! Estimated noise=795.508 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.00842848 Jy
! Component: 100  -  total flux cleaned = 0.012521 Jy
! Component: 150  -  total flux cleaned = 0.014052 Jy
! Component: 200  -  total flux cleaned = 0.0151568 Jy
! Total flux subtracted in 200 components = 0.0151568 Jy
! Clean residual min=-0.004865 max=0.004107 Jy/beam
! Clean residual mean=-0.000011 rms=0.001140 Jy/beam
! Combined flux in latest and established models = 0.277036 Jy
! Adding 22 model components to the UV plane model.
! The established model now contains 40 components and 0.277036 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.025 mas, bmaj=3.309 mas, bpa=-6.083 degrees
! Estimated noise=1014.91 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.00200347 Jy
! Component: 100  -  total flux cleaned = 0.00235134 Jy
! Component: 150  -  total flux cleaned = 0.00251756 Jy
! Component: 200  -  total flux cleaned = 0.00270344 Jy
! Total flux subtracted in 200 components = 0.00270344 Jy
! Clean residual min=-0.004172 max=0.005375 Jy/beam
! Clean residual mean=-0.000019 rms=0.001383 Jy/beam
! Combined flux in latest and established models = 0.279739 Jy
! Adding 22 model components to the UV plane model.
! The established model now contains 59 components and 0.279739 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9054 mas, bmaj=2.134 mas, bpa=3.986 degrees
! Estimated noise=795.508 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000206342 Jy
! Component: 100  -  total flux cleaned = -9.13169e-05 Jy
! Component: 150  -  total flux cleaned = 6.43608e-05 Jy
! Component: 200  -  total flux cleaned = 0.000111692 Jy
! Total flux subtracted in 200 components = 0.000111692 Jy
! Clean residual min=-0.005031 max=0.003967 Jy/beam
! Clean residual mean=-0.000010 rms=0.001123 Jy/beam
! Combined flux in latest and established models = 0.279851 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 68 components and 0.279851 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.834703Jy  sigma=0.001750
! Fit after  self-cal, rms=0.834629Jy  sigma=0.001750
wmodel J1347+1835_X_1996_01_02_yyk\_map.mod
! Writing 68 model components to file: J1347+1835_X_1996_01_02_yyk_map.mod
wobs J1347+1835_X_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J1347+1835_X_1996_01_02_yyk_uvs.fits
wwins J1347+1835_X_1996_01_02_yyk\_map.win
! wwins: Wrote 2 windows to J1347+1835_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.00189081 Jy
! Component: 100  -  total flux cleaned = -0.00196986 Jy
! Component: 150  -  total flux cleaned = -0.00176328 Jy
! Component: 200  -  total flux cleaned = -0.00169839 Jy
! Component: 250  -  total flux cleaned = -0.00169849 Jy
! Component: 300  -  total flux cleaned = -0.00163639 Jy
! Component: 350  -  total flux cleaned = -0.00175038 Jy
! Component: 400  -  total flux cleaned = -0.00197451 Jy
! Component: 450  -  total flux cleaned = -0.00235515 Jy
! Component: 500  -  total flux cleaned = -0.00256732 Jy
! Component: 550  -  total flux cleaned = -0.00272399 Jy
! Component: 600  -  total flux cleaned = -0.00303138 Jy
! Component: 650  -  total flux cleaned = -0.00333238 Jy
! Component: 700  -  total flux cleaned = -0.00367644 Jy
! Component: 750  -  total flux cleaned = -0.00386957 Jy
! Component: 800  -  total flux cleaned = -0.00410692 Jy
! Component: 850  -  total flux cleaned = -0.00438694 Jy
! Component: 900  -  total flux cleaned = -0.0046169 Jy
! Component: 950  -  total flux cleaned = -0.00484343 Jy
! Component: 1000  -  total flux cleaned = -0.00511173 Jy
! Component: 1050  -  total flux cleaned = -0.0055519 Jy
! Component: 1100  -  total flux cleaned = -0.00572584 Jy
! Component: 1150  -  total flux cleaned = -0.00606966 Jy
! Component: 1200  -  total flux cleaned = -0.0063242 Jy
! Component: 1250  -  total flux cleaned = -0.00665955 Jy
! Component: 1300  -  total flux cleaned = -0.00694979 Jy
! Component: 1350  -  total flux cleaned = -0.00739941 Jy
! Component: 1400  -  total flux cleaned = -0.00760094 Jy
! Component: 1450  -  total flux cleaned = -0.0076009 Jy
! Component: 1500  -  total flux cleaned = -0.00787799 Jy
! Component: 1550  -  total flux cleaned = -0.00795614 Jy
! Component: 1600  -  total flux cleaned = -0.00803455 Jy
! Component: 1650  -  total flux cleaned = -0.00815017 Jy
! Component: 1700  -  total flux cleaned = -0.00834029 Jy
! Component: 1750  -  total flux cleaned = -0.00834036 Jy
! Component: 1800  -  total flux cleaned = -0.00841574 Jy
! Component: 1850  -  total flux cleaned = -0.00852674 Jy
! Component: 1900  -  total flux cleaned = -0.00874707 Jy
! Component: 1950  -  total flux cleaned = -0.00863755 Jy
! Component: 2000  -  total flux cleaned = -0.00878294 Jy
! Total flux subtracted in 2048 components = -0.00899862 Jy
! Clean residual min=-0.002822 max=0.002407 Jy/beam
! Clean residual mean=-0.000004 rms=0.000684 Jy/beam
! Combined flux in latest and established models = 0.270852 Jy
keep
! Adding 147 model components to the UV plane model.
! The established model now contains 215 components and 0.270852 Jy
![Exited script file: muppet]
wmap "J1347+1835_X_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9054 x 2.134 at 3.986 degrees (North through East)
! Clean map  min=-0.0040716  max=0.22961 Jy/beam
! Writing clean map to FITS file: J1347+1835_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.22961 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000682913 
device "J1347+1835_X_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1347+1835_X_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.892268 0.892268 1.78454 3.56907 7.13814 14.2763 28.5526 57.1051
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.002 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.229 
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.9054 x 2.134 at 3.986 degrees (North through East)
! Clean map  min=-0.0040716  max=0.22961 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1347+1835_X_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1347+1835_X_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1347+1835_X_1996_01_02_yyk_uvs.log closed on Mon Jan  8 06:12:46 2007