! Started logfile: J1423+1159_S_1995_07_15_yyk_uvs.log on Sun Jan  7 18:33:46 2007
obs J1423+1159_S_1995_07_15_yyk_uva.fits
! Reading UV FITS file: J1423+1159_S_1995_07_15_yyk_uva.fits
! AN table 1: 120 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.871481 visibilities/baseline/integration-bin.
! Found source: J1423+1159
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  2.22049e+09        4e+06          1        4e+06
!  02        2  2.23236e+09        4e+06          1        4e+06
!  03        3  2.29236e+09        4e+06          1        4e+06
!  04        4  2.32236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 794 lines of history.
! 
! Reading 18824 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 J1423+1159_S_1995_07_15_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.48718 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.831 mas, bmaj=6.462 mas, bpa=-4.96 degrees
! Estimated noise=1420.19 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.13533 Jy
! Component: 100  -  total flux cleaned = 0.194032 Jy
! Total flux subtracted in 100 components = 0.194032 Jy
! Clean residual min=-0.028354 max=0.059501 Jy/beam
! Clean residual mean=0.000804 rms=0.008805 Jy/beam
! Combined flux in latest and established models = 0.194032 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 22 components and 0.194032 Jy
! 
! Correcting IF 1.
!  A total of 81 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 81 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 81 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 81 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.449255Jy  sigma=0.002115
! Fit after  self-cal, rms=0.445150Jy  sigma=0.002088
! Inverting map and beam 
! Estimated beam: bmin=2.831 mas, bmaj=6.462 mas, bpa=-4.96 degrees
! Estimated noise=1420.19 mJy/beam.
! Added new window around map position (-19, 11.5).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0682166 Jy
! Component: 100  -  total flux cleaned = 0.10818 Jy
! Total flux subtracted in 100 components = 0.10818 Jy
! Clean residual min=-0.024951 max=0.058478 Jy/beam
! Clean residual mean=0.000659 rms=0.007541 Jy/beam
! Combined flux in latest and established models = 0.302212 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 43 components and 0.302212 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.433193Jy  sigma=0.002021
! Fit after  self-cal, rms=0.432422Jy  sigma=0.002016
! Inverting map 
! Added new window around map position (-5.5, 3).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0635249 Jy
! Component: 100  -  total flux cleaned = 0.0995066 Jy
! Total flux subtracted in 100 components = 0.0995066 Jy
! Clean residual min=-0.017808 max=0.041096 Jy/beam
! Clean residual mean=0.000417 rms=0.005849 Jy/beam
! Combined flux in latest and established models = 0.401719 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 64 components and 0.401719 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.422414Jy  sigma=0.001962
! Fit after  self-cal, rms=0.421727Jy  sigma=0.001956
! Inverting map 
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.536 mas, bmaj=8.035 mas, bpa=-6.627 degrees
! Estimated noise=993.287 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.049117 Jy
! Component: 100  -  total flux cleaned = 0.0819567 Jy
! Component: 150  -  total flux cleaned = 0.106314 Jy
! Component: 200  -  total flux cleaned = 0.125236 Jy
! Total flux subtracted in 200 components = 0.125236 Jy
! Clean residual min=-0.015782 max=0.040717 Jy/beam
! Clean residual mean=0.000375 rms=0.006863 Jy/beam
! Combined flux in latest and established models = 0.526955 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 69 model components to the UV plane model.
! The established model now contains 118 components and 0.526955 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.415855Jy  sigma=0.001925
! Fit after  self-cal, rms=0.415663Jy  sigma=0.001924
! Inverting map 
! Added new window around map position (-31.5, 20.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0385615 Jy
! Component: 100  -  total flux cleaned = 0.0591134 Jy
! Component: 150  -  total flux cleaned = 0.0753134 Jy
! Component: 200  -  total flux cleaned = 0.0883902 Jy
! Total flux subtracted in 200 components = 0.0883902 Jy
! Clean residual min=-0.012291 max=0.024661 Jy/beam
! Clean residual mean=0.000189 rms=0.004627 Jy/beam
! Combined flux in latest and established models = 0.615345 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 56 model components to the UV plane model.
! The established model now contains 164 components and 0.615345 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.412531Jy  sigma=0.001906
! Fit after  self-cal, rms=0.412160Jy  sigma=0.001904
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.536 x 8.035 at -6.627 degrees (North through East)
! Clean map  min=-0.012003  max=0.14677 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.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  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 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  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.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  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.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.982641
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        1.04     HN        1.14     KP        0.96     
!   LA        0.91     MK        1.13     NL        1.11     OV        1.07     
!   PT        0.88     SC        1.04     
! 
! 
! Fit before self-cal, rms=0.412160Jy  sigma=0.001904
! Fit after  self-cal, rms=0.410945Jy  sigma=0.001901
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.410945Jy  sigma=0.001901
! Fit after  self-cal, rms=0.410944Jy  sigma=0.001901
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.622 mas, bmaj=8.053 mas, bpa=-5.952 degrees
! Estimated noise=987.069 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 (-12, 7).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0225405 Jy
! Component: 100  -  total flux cleaned = 0.0327859 Jy
! Component: 150  -  total flux cleaned = 0.03941 Jy
! Component: 200  -  total flux cleaned = 0.042 Jy
! Total flux subtracted in 200 components = 0.042 Jy
! Clean residual min=-0.009945 max=0.022223 Jy/beam
! Clean residual mean=0.000002 rms=0.003373 Jy/beam
! Combined flux in latest and established models = 0.657345 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 52 model components to the UV plane model.
! The established model now contains 208 components and 0.657345 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.409875Jy  sigma=0.001896
! Fit after  self-cal, rms=0.409772Jy  sigma=0.001895
! Inverting map 
! Added new window around map position (6, -2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0199657 Jy
! Component: 100  -  total flux cleaned = 0.0249061 Jy
! Component: 150  -  total flux cleaned = 0.0283958 Jy
! Component: 200  -  total flux cleaned = 0.0300351 Jy
! Total flux subtracted in 200 components = 0.0300351 Jy
! Clean residual min=-0.007928 max=0.008236 Jy/beam
! Clean residual mean=-0.000102 rms=0.002378 Jy/beam
! Combined flux in latest and established models = 0.68738 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 43 model components to the UV plane model.
! The established model now contains 248 components and 0.68738 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.408717Jy  sigma=0.001889
! Fit after  self-cal, rms=0.408574Jy  sigma=0.001888
! 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.408574Jy  sigma=0.001888
! Fit after  self-cal, rms=0.404648Jy  sigma=0.001867
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.0117191 Jy
! Component: 100  -  total flux cleaned = 0.013574 Jy
! Component: 150  -  total flux cleaned = 0.0144094 Jy
! Component: 200  -  total flux cleaned = 0.0149129 Jy
! Total flux subtracted in 200 components = 0.0149129 Jy
! Clean residual min=-0.007116 max=0.007308 Jy/beam
! Clean residual mean=-0.000097 rms=0.002132 Jy/beam
! Combined flux in latest and established models = 0.702293 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 40 model components to the UV plane model.
! The established model now contains 281 components and 0.702293 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.404224Jy  sigma=0.001864
! Fit after  self-cal, rms=0.403772Jy  sigma=0.001862
! 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.622 x 8.053 at -5.952 degrees (North through East)
! Clean map  min=-0.0074213  max=0.14638 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.403772Jy  sigma=0.001862
! Fit after  self-cal, rms=0.403772Jy  sigma=0.001862
! 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.403772Jy  sigma=0.001862
! Fit after  self-cal, rms=0.403648Jy  sigma=0.001862
! Inverting map and beam 
! Estimated beam: bmin=3.622 mas, bmaj=8.053 mas, bpa=-5.952 degrees
! Estimated noise=987.069 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00303301 Jy
! Component: 100  -  total flux cleaned = 0.00282515 Jy
! Component: 150  -  total flux cleaned = 0.00323894 Jy
! Component: 200  -  total flux cleaned = 0.00285609 Jy
! Total flux subtracted in 200 components = 0.00285609 Jy
! Clean residual min=-0.006721 max=0.007629 Jy/beam
! Clean residual mean=-0.000103 rms=0.002007 Jy/beam
! Combined flux in latest and established models = 0.705149 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 39 model components to the UV plane model.
! The established model now contains 304 components and 0.70515 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.403441Jy  sigma=0.001861
! Fit after  self-cal, rms=0.403350Jy  sigma=0.001860
! 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.403350Jy  sigma=0.001860
! Fit after  self-cal, rms=0.403350Jy  sigma=0.001860
! 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.403350Jy  sigma=0.001860
! Fit after  self-cal, rms=0.403299Jy  sigma=0.001860
! Inverting map and beam 
! Estimated beam: bmin=3.622 mas, bmaj=8.053 mas, bpa=-5.952 degrees
! Estimated noise=987.069 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000593672 Jy
! Component: 100  -  total flux cleaned = 0.000409788 Jy
! Component: 150  -  total flux cleaned = 0.00040852 Jy
! Component: 200  -  total flux cleaned = 8.07838e-05 Jy
! Total flux subtracted in 200 components = 8.07838e-05 Jy
! Clean residual min=-0.006459 max=0.007732 Jy/beam
! Clean residual mean=-0.000105 rms=0.001940 Jy/beam
! Combined flux in latest and established models = 0.70523 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 44 model components to the UV plane model.
! The established model now contains 323 components and 0.70523 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.403177Jy  sigma=0.001859
! Fit after  self-cal, rms=0.403134Jy  sigma=0.001859
! 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=8.445 mas, bmaj=11.49 mas, bpa=2.142 degrees
! Estimated noise=1199.7 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.00142665 Jy
! Component: 100  -  total flux cleaned = -0.00239458 Jy
! Component: 150  -  total flux cleaned = -0.00281659 Jy
! Component: 200  -  total flux cleaned = -0.00319353 Jy
! Total flux subtracted in 200 components = -0.00319353 Jy
! Clean residual min=-0.006689 max=0.006650 Jy/beam
! Clean residual mean=-0.000187 rms=0.002115 Jy/beam
! Combined flux in latest and established models = 0.702037 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 340 components and 0.702037 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.403097Jy  sigma=0.001859
! Fit after  self-cal, rms=0.403066Jy  sigma=0.001859
! 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.864 mas, bmaj=6.472 mas, bpa=-4.295 degrees
! Estimated noise=1424.38 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.155668 Jy
! Component: 100  -  total flux cleaned = 0.250827 Jy
! Component: 150  -  total flux cleaned = 0.31887 Jy
! Component: 200  -  total flux cleaned = 0.370999 Jy
! Total flux subtracted in 200 components = 0.370999 Jy
! Clean residual min=-0.018840 max=0.023140 Jy/beam
! Clean residual mean=0.000483 rms=0.005803 Jy/beam
! Combined flux in latest and established models = 0.370999 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 60 model components to the UV plane model.
! The established model now contains 60 components and 0.370999 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.622 mas, bmaj=8.053 mas, bpa=-5.952 degrees
! Estimated noise=987.069 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.0657876 Jy
! Component: 100  -  total flux cleaned = 0.114541 Jy
! Component: 150  -  total flux cleaned = 0.152537 Jy
! Component: 200  -  total flux cleaned = 0.182759 Jy
! Total flux subtracted in 200 components = 0.182759 Jy
! Clean residual min=-0.011356 max=0.013567 Jy/beam
! Clean residual mean=0.000344 rms=0.004652 Jy/beam
! Combined flux in latest and established models = 0.553758 Jy
! Adding 81 model components to the UV plane model.
! The established model now contains 127 components and 0.553758 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=8.445 mas, bmaj=11.49 mas, bpa=2.142 degrees
! Estimated noise=1199.7 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.0390472 Jy
! Component: 100  -  total flux cleaned = 0.0662681 Jy
! Component: 150  -  total flux cleaned = 0.0864001 Jy
! Component: 200  -  total flux cleaned = 0.1018 Jy
! Total flux subtracted in 200 components = 0.1018 Jy
! Clean residual min=-0.009615 max=0.007855 Jy/beam
! Clean residual mean=0.000082 rms=0.003180 Jy/beam
! Combined flux in latest and established models = 0.655558 Jy
! Adding 127 model components to the UV plane model.
! The established model now contains 233 components and 0.655558 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.622 mas, bmaj=8.053 mas, bpa=-5.952 degrees
! Estimated noise=987.069 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.005024 Jy
! Component: 100  -  total flux cleaned = 0.0118806 Jy
! Component: 150  -  total flux cleaned = 0.0175162 Jy
! Component: 200  -  total flux cleaned = 0.0222102 Jy
! Total flux subtracted in 200 components = 0.0222102 Jy
! Clean residual min=-0.006895 max=0.007543 Jy/beam
! Clean residual mean=-0.000024 rms=0.002031 Jy/beam
! Combined flux in latest and established models = 0.677768 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 41 model components to the UV plane model.
! The established model now contains 272 components and 0.677768 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.403308Jy  sigma=0.001860
! Fit after  self-cal, rms=0.403242Jy  sigma=0.001859
wmodel J1423+1159_S_1995_07_15_yyk\_map.mod
! Writing 272 model components to file: J1423+1159_S_1995_07_15_yyk_map.mod
wobs J1423+1159_S_1995_07_15_yyk\_uvs.fits
! Writing UV FITS file: J1423+1159_S_1995_07_15_yyk_uvs.fits
wwins J1423+1159_S_1995_07_15_yyk\_map.win
! wwins: Wrote 6 windows to J1423+1159_S_1995_07_15_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.00059324 Jy
! Component: 100  -  total flux cleaned = -0.00092553 Jy
! Component: 150  -  total flux cleaned = -0.00145337 Jy
! Component: 200  -  total flux cleaned = -0.00216546 Jy
! Component: 250  -  total flux cleaned = -0.00265684 Jy
! Component: 300  -  total flux cleaned = -0.00294647 Jy
! Component: 350  -  total flux cleaned = -0.00360469 Jy
! Component: 400  -  total flux cleaned = -0.00397046 Jy
! Component: 450  -  total flux cleaned = -0.00423838 Jy
! Component: 500  -  total flux cleaned = -0.0045882 Jy
! Component: 550  -  total flux cleaned = -0.00493072 Jy
! Component: 600  -  total flux cleaned = -0.00535204 Jy
! Component: 650  -  total flux cleaned = -0.00560057 Jy
! Component: 700  -  total flux cleaned = -0.00568134 Jy
! Component: 750  -  total flux cleaned = -0.00592253 Jy
! Component: 800  -  total flux cleaned = -0.00607941 Jy
! Component: 850  -  total flux cleaned = -0.0060773 Jy
! Component: 900  -  total flux cleaned = -0.00607573 Jy
! Component: 950  -  total flux cleaned = -0.00614972 Jy
! Component: 1000  -  total flux cleaned = -0.00599941 Jy
! Component: 1050  -  total flux cleaned = -0.00636719 Jy
! Component: 1100  -  total flux cleaned = -0.00622231 Jy
! Component: 1150  -  total flux cleaned = -0.00615276 Jy
! Component: 1200  -  total flux cleaned = -0.00643715 Jy
! Component: 1250  -  total flux cleaned = -0.00643844 Jy
! Component: 1300  -  total flux cleaned = -0.00671733 Jy
! Component: 1350  -  total flux cleaned = -0.00671761 Jy
! Component: 1400  -  total flux cleaned = -0.00698792 Jy
! Component: 1450  -  total flux cleaned = -0.00698734 Jy
! Component: 1500  -  total flux cleaned = -0.00712033 Jy
! Component: 1550  -  total flux cleaned = -0.00711986 Jy
! Component: 1600  -  total flux cleaned = -0.0075096 Jy
! Component: 1650  -  total flux cleaned = -0.00776539 Jy
! Component: 1700  -  total flux cleaned = -0.00789192 Jy
! Component: 1750  -  total flux cleaned = -0.00801736 Jy
! Component: 1800  -  total flux cleaned = -0.00826738 Jy
! Component: 1850  -  total flux cleaned = -0.00832942 Jy
! Component: 1900  -  total flux cleaned = -0.00857612 Jy
! Component: 1950  -  total flux cleaned = -0.00882016 Jy
! Component: 2000  -  total flux cleaned = -0.00900099 Jy
! Total flux subtracted in 2048 components = -0.00935883 Jy
! Clean residual min=-0.003568 max=0.004401 Jy/beam
! Clean residual mean=-0.000005 rms=0.001299 Jy/beam
! Combined flux in latest and established models = 0.668409 Jy
keep
! Adding 144 model components to the UV plane model.
! The established model now contains 416 components and 0.668409 Jy
![Exited script file: muppet]
wmap "J1423+1159_S_1995_07_15_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.622 x 8.053 at -5.952 degrees (North through East)
! Clean map  min=-0.0063191  max=0.1525 Jy/beam
! Writing clean map to FITS file: J1423+1159_S_1995_07_15_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.152501 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00129596 
device "J1423+1159_S_1995_07_15_yyk\_map.eps/VPS"
! Attempting to open device: 'J1423+1159_S_1995_07_15_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.54941 2.54941 5.09883 10.1977 20.3953 40.7906 81.5813
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0038 
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: 3.622 x 8.053 at -5.952 degrees (North through East)
! Clean map  min=-0.0063191  max=0.1525 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1423+1159_S_1995_07_15_yyk\_map.gif/gif"
! Attempting to open device: 'J1423+1159_S_1995_07_15_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1423+1159_S_1995_07_15_yyk_uvs.log closed on Sun Jan  7 18:33:56 2007