! Started logfile: J0448+1127_S_1995_07_15_yyk_uvs.log on Sun Jan  7 16:19:54 2007
obs J0448+1127_S_1995_07_15_yyk_uva.fits
! Reading UV FITS file: J0448+1127_S_1995_07_15_yyk_uva.fits
! AN table 1: 125 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.959644 visibilities/baseline/integration-bin.
! Found source: J0448+1127
! 
! 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 793 lines of history.
! 
! Reading 21592 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 J0448+1127_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.451949 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.838 mas, bmaj=6.839 mas, bpa=-6.419 degrees
! Estimated noise=1357.84 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.145052 Jy
! Component: 100  -  total flux cleaned = 0.191718 Jy
! Total flux subtracted in 100 components = 0.191718 Jy
! Clean residual min=-0.013812 max=0.018023 Jy/beam
! Clean residual mean=0.000170 rms=0.004170 Jy/beam
! Combined flux in latest and established models = 0.191718 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 30 components and 0.191718 Jy
! 
! Correcting IF 1.
!  A total of 36 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 36 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 36 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 36 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.415457Jy  sigma=0.001918
! Fit after  self-cal, rms=0.414569Jy  sigma=0.001915
! Inverting map and beam 
! Estimated beam: bmin=2.838 mas, bmaj=6.839 mas, bpa=-6.419 degrees
! Estimated noise=1358.12 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=3.381 mas, bmaj=8.253 mas, bpa=-8.515 degrees
! Estimated noise=948.528 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 (3.5, -2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0350853 Jy
! Component: 100  -  total flux cleaned = 0.0519458 Jy
! Component: 150  -  total flux cleaned = 0.0582178 Jy
! Component: 200  -  total flux cleaned = 0.0620406 Jy
! Total flux subtracted in 200 components = 0.0620406 Jy
! Clean residual min=-0.009185 max=0.013529 Jy/beam
! Clean residual mean=0.000063 rms=0.003289 Jy/beam
! Combined flux in latest and established models = 0.253759 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 61 model components to the UV plane model.
! The established model now contains 88 components and 0.253759 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.412584Jy  sigma=0.001903
! Fit after  self-cal, rms=0.412519Jy  sigma=0.001903
! 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.381 x 8.253 at -8.515 degrees (North through East)
! Clean map  min=-0.0090667  max=0.16974 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: 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*    
! 
! 
! Fit before self-cal, rms=0.412519Jy  sigma=0.001903
! Fit after  self-cal, rms=0.412520Jy  sigma=0.001903
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.412520Jy  sigma=0.001903
! Fit after  self-cal, rms=0.412520Jy  sigma=0.001903
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.382 mas, bmaj=8.255 mas, bpa=-8.54 degrees
! Estimated noise=948.754 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.00347791 Jy
! Component: 100  -  total flux cleaned = 0.00496709 Jy
! Component: 150  -  total flux cleaned = 0.00620996 Jy
! Component: 200  -  total flux cleaned = 0.00763049 Jy
! Total flux subtracted in 200 components = 0.00763049 Jy
! Clean residual min=-0.009316 max=0.013393 Jy/beam
! Clean residual mean=0.000036 rms=0.003170 Jy/beam
! Combined flux in latest and established models = 0.261389 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 36 model components to the UV plane model.
! The established model now contains 117 components and 0.261389 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.412347Jy  sigma=0.001902
! Fit after  self-cal, rms=0.412329Jy  sigma=0.001902
! 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.412329Jy  sigma=0.001902
! Fit after  self-cal, rms=0.410372Jy  sigma=0.001892
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.00488036 Jy
! Component: 100  -  total flux cleaned = 0.00609597 Jy
! Component: 150  -  total flux cleaned = 0.00681909 Jy
! Component: 200  -  total flux cleaned = 0.00745708 Jy
! Total flux subtracted in 200 components = 0.00745708 Jy
! Clean residual min=-0.008705 max=0.013391 Jy/beam
! Clean residual mean=0.000018 rms=0.003043 Jy/beam
! Combined flux in latest and established models = 0.268846 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 133 components and 0.268846 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.410269Jy  sigma=0.001891
! Fit after  self-cal, rms=0.409872Jy  sigma=0.001889
! 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.382 x 8.255 at -8.54 degrees (North through East)
! Clean map  min=-0.0085255  max=0.17282 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.409872Jy  sigma=0.001889
! Fit after  self-cal, rms=0.409872Jy  sigma=0.001889
! 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.409872Jy  sigma=0.001889
! Fit after  self-cal, rms=0.409821Jy  sigma=0.001889
! Inverting map and beam 
! Estimated beam: bmin=3.382 mas, bmaj=8.255 mas, bpa=-8.54 degrees
! Estimated noise=948.754 mJy/beam.
! Added new window around map position (26.5, -8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0174224 Jy
! Component: 100  -  total flux cleaned = 0.026212 Jy
! Component: 150  -  total flux cleaned = 0.0312994 Jy
! Component: 200  -  total flux cleaned = 0.0335646 Jy
! Total flux subtracted in 200 components = 0.0335646 Jy
! Clean residual min=-0.008232 max=0.008066 Jy/beam
! Clean residual mean=-0.000072 rms=0.002283 Jy/beam
! Combined flux in latest and established models = 0.302411 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 50 model components to the UV plane model.
! The established model now contains 180 components and 0.302411 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.409342Jy  sigma=0.001886
! Fit after  self-cal, rms=0.409257Jy  sigma=0.001886
! 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.409257Jy  sigma=0.001886
! Fit after  self-cal, rms=0.409257Jy  sigma=0.001886
! 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.409257Jy  sigma=0.001886
! Fit after  self-cal, rms=0.409202Jy  sigma=0.001886
! Inverting map and beam 
! Estimated beam: bmin=3.382 mas, bmaj=8.255 mas, bpa=-8.54 degrees
! Estimated noise=948.754 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00393575 Jy
! Component: 100  -  total flux cleaned = 0.00527043 Jy
! Component: 150  -  total flux cleaned = 0.00646427 Jy
! Component: 200  -  total flux cleaned = 0.00741786 Jy
! Total flux subtracted in 200 components = 0.00741786 Jy
! Clean residual min=-0.008561 max=0.007760 Jy/beam
! Clean residual mean=-0.000096 rms=0.002212 Jy/beam
! Combined flux in latest and established models = 0.309829 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 209 components and 0.309829 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.409099Jy  sigma=0.001885
! Fit after  self-cal, rms=0.409072Jy  sigma=0.001885
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.798 mas, bmaj=11.45 mas, bpa=-2.69 degrees
! Estimated noise=1186.96 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.00263752 Jy
! Component: 100  -  total flux cleaned = 0.00280184 Jy
! Component: 150  -  total flux cleaned = 0.00305015 Jy
! Component: 200  -  total flux cleaned = 0.00316071 Jy
! Total flux subtracted in 200 components = 0.00316071 Jy
! Clean residual min=-0.008544 max=0.008783 Jy/beam
! Clean residual mean=-0.000211 rms=0.002591 Jy/beam
! Combined flux in latest and established models = 0.312989 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 230 components and 0.312989 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.409059Jy  sigma=0.001885
! Fit after  self-cal, rms=0.409053Jy  sigma=0.001885
! 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.838 mas, bmaj=6.839 mas, bpa=-6.419 degrees
! Estimated noise=1358.49 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.151192 Jy
! Component: 100  -  total flux cleaned = 0.197707 Jy
! Component: 150  -  total flux cleaned = 0.223144 Jy
! Component: 200  -  total flux cleaned = 0.241461 Jy
! Total flux subtracted in 200 components = 0.241461 Jy
! Clean residual min=-0.013967 max=0.013555 Jy/beam
! Clean residual mean=0.000084 rms=0.003564 Jy/beam
! Combined flux in latest and established models = 0.241461 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 52 model components to the UV plane model.
! The established model now contains 52 components and 0.241461 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.382 mas, bmaj=8.255 mas, bpa=-8.54 degrees
! Estimated noise=948.754 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.0212174 Jy
! Component: 100  -  total flux cleaned = 0.0357373 Jy
! Component: 150  -  total flux cleaned = 0.0442242 Jy
! Component: 200  -  total flux cleaned = 0.0490158 Jy
! Total flux subtracted in 200 components = 0.0490158 Jy
! Clean residual min=-0.008660 max=0.008267 Jy/beam
! Clean residual mean=-0.000034 rms=0.002512 Jy/beam
! Combined flux in latest and established models = 0.290477 Jy
! Adding 66 model components to the UV plane model.
! The established model now contains 109 components and 0.290477 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.798 mas, bmaj=11.45 mas, bpa=-2.69 degrees
! Estimated noise=1186.96 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.0109927 Jy
! Component: 100  -  total flux cleaned = 0.0143994 Jy
! Component: 150  -  total flux cleaned = 0.0168771 Jy
! Component: 200  -  total flux cleaned = 0.0187251 Jy
! Total flux subtracted in 200 components = 0.0187251 Jy
! Clean residual min=-0.008925 max=0.009315 Jy/beam
! Clean residual mean=-0.000181 rms=0.002713 Jy/beam
! Combined flux in latest and established models = 0.309202 Jy
! Adding 62 model components to the UV plane model.
! The established model now contains 167 components and 0.309202 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.382 mas, bmaj=8.255 mas, bpa=-8.54 degrees
! Estimated noise=948.754 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000373342 Jy
! Component: 100  -  total flux cleaned = 0.0016624 Jy
! Component: 150  -  total flux cleaned = 0.00204356 Jy
! Component: 200  -  total flux cleaned = 0.00272993 Jy
! Total flux subtracted in 200 components = 0.00272993 Jy
! Clean residual min=-0.008912 max=0.007749 Jy/beam
! Clean residual mean=-0.000099 rms=0.002253 Jy/beam
! Combined flux in latest and established models = 0.311932 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 193 components and 0.311932 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.409153Jy  sigma=0.001885
! Fit after  self-cal, rms=0.409132Jy  sigma=0.001885
wmodel J0448+1127_S_1995_07_15_yyk\_map.mod
! Writing 193 model components to file: J0448+1127_S_1995_07_15_yyk_map.mod
wobs J0448+1127_S_1995_07_15_yyk\_uvs.fits
! Writing UV FITS file: J0448+1127_S_1995_07_15_yyk_uvs.fits
wwins J0448+1127_S_1995_07_15_yyk\_map.win
! wwins: Wrote 3 windows to J0448+1127_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.0015069 Jy
! Component: 100  -  total flux cleaned = -0.00231342 Jy
! Component: 150  -  total flux cleaned = -0.00295902 Jy
! Component: 200  -  total flux cleaned = -0.00369979 Jy
! Component: 250  -  total flux cleaned = -0.00465562 Jy
! Component: 300  -  total flux cleaned = -0.00558477 Jy
! Component: 350  -  total flux cleaned = -0.00626469 Jy
! Component: 400  -  total flux cleaned = -0.00693177 Jy
! Component: 450  -  total flux cleaned = -0.00747443 Jy
! Component: 500  -  total flux cleaned = -0.00811354 Jy
! Component: 550  -  total flux cleaned = -0.00832231 Jy
! Component: 600  -  total flux cleaned = -0.0086298 Jy
! Component: 650  -  total flux cleaned = -0.00903291 Jy
! Component: 700  -  total flux cleaned = -0.00942799 Jy
! Component: 750  -  total flux cleaned = -0.00981577 Jy
! Component: 800  -  total flux cleaned = -0.010008 Jy
! Component: 850  -  total flux cleaned = -0.0103859 Jy
! Component: 900  -  total flux cleaned = -0.010574 Jy
! Component: 950  -  total flux cleaned = -0.0110332 Jy
! Component: 1000  -  total flux cleaned = -0.0113953 Jy
! Component: 1050  -  total flux cleaned = -0.0114836 Jy
! Component: 1100  -  total flux cleaned = -0.0118375 Jy
! Component: 1150  -  total flux cleaned = -0.011926 Jy
! Component: 1200  -  total flux cleaned = -0.0120991 Jy
! Component: 1250  -  total flux cleaned = -0.0123529 Jy
! Component: 1300  -  total flux cleaned = -0.012521 Jy
! Component: 1350  -  total flux cleaned = -0.0130174 Jy
! Component: 1400  -  total flux cleaned = -0.0131809 Jy
! Component: 1450  -  total flux cleaned = -0.013585 Jy
! Component: 1500  -  total flux cleaned = -0.0140643 Jy
! Component: 1550  -  total flux cleaned = -0.0144588 Jy
! Component: 1600  -  total flux cleaned = -0.0146937 Jy
! Component: 1650  -  total flux cleaned = -0.0152352 Jy
! Component: 1700  -  total flux cleaned = -0.0157707 Jy
! Component: 1750  -  total flux cleaned = -0.015847 Jy
! Component: 1800  -  total flux cleaned = -0.0163738 Jy
! Component: 1850  -  total flux cleaned = -0.0168206 Jy
! Component: 1900  -  total flux cleaned = -0.0171153 Jy
! Component: 1950  -  total flux cleaned = -0.0176994 Jy
! Component: 2000  -  total flux cleaned = -0.0179154 Jy
! Total flux subtracted in 2048 components = -0.0182021 Jy
! Clean residual min=-0.004162 max=0.004013 Jy/beam
! Clean residual mean=-0.000061 rms=0.001532 Jy/beam
! Combined flux in latest and established models = 0.29373 Jy
keep
! Adding 133 model components to the UV plane model.
! The established model now contains 326 components and 0.29373 Jy
![Exited script file: muppet]
wmap "J0448+1127_S_1995_07_15_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.382 x 8.255 at -8.54 degrees (North through East)
! Clean map  min=-0.0076863  max=0.17484 Jy/beam
! Writing clean map to FITS file: J0448+1127_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.174836 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00153139 
device "J0448+1127_S_1995_07_15_yyk\_map.eps/VPS"
! Attempting to open device: 'J0448+1127_S_1995_07_15_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.62771 2.62771 5.25541 10.5108 21.0217 42.0433 84.0866
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0045 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.174 
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.382 x 8.255 at -8.54 degrees (North through East)
! Clean map  min=-0.0076863  max=0.17484 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0448+1127_S_1995_07_15_yyk\_map.gif/gif"
! Attempting to open device: 'J0448+1127_S_1995_07_15_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0448+1127_S_1995_07_15_yyk_uvs.log closed on Sun Jan  7 16:20:03 2007