! Started logfile: J1553+1256_X_1996_01_02_yyk_uvs.log on Mon Jan  8 06:47:16 2007
obs J1553+1256_X_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J1553+1256_X_1996_01_02_yyk_uva.fits
! AN table 1: 122 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.613661 visibilities/baseline/integration-bin.
! Found source: J1553+1256
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  8.15049e+09        4e+06          1        4e+06
!  02        2  8.23236e+09        4e+06          1        4e+06
!  03        3  8.41236e+09        4e+06          1        4e+06
!  04        4  8.55236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 628 lines of history.
! 
! Reading 13476 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 J1553+1256_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.353292 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.6719 mas, bmaj=1.766 mas, bpa=-2.914 degrees
! Estimated noise=1476.21 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.101603 Jy
! Component: 100  -  total flux cleaned = 0.1293 Jy
! Total flux subtracted in 100 components = 0.1293 Jy
! Clean residual min=-0.019065 max=0.022768 Jy/beam
! Clean residual mean=-0.000005 rms=0.004717 Jy/beam
! Combined flux in latest and established models = 0.1293 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 15 components and 0.1293 Jy
! 
! Correcting IF 1.
!  A total of 286 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 286 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 286 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 286 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.328427Jy  sigma=0.001933
! Fit after  self-cal, rms=0.325467Jy  sigma=0.001907
! Inverting map and beam 
! Estimated beam: bmin=0.6719 mas, bmaj=1.766 mas, bpa=-2.914 degrees
! Estimated noise=1476.47 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.8065 mas, bmaj=2.067 mas, bpa=-5.747 degrees
! Estimated noise=953.317 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.0301224 Jy
! Component: 100  -  total flux cleaned = 0.0382458 Jy
! Component: 150  -  total flux cleaned = 0.0399167 Jy
! Component: 200  -  total flux cleaned = 0.0399364 Jy
! Total flux subtracted in 200 components = 0.0399364 Jy
! Clean residual min=-0.021490 max=0.027877 Jy/beam
! Clean residual mean=0.000040 rms=0.004935 Jy/beam
! Combined flux in latest and established models = 0.169236 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 27 components and 0.169236 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.323942Jy  sigma=0.001894
! Fit after  self-cal, rms=0.323917Jy  sigma=0.001894
! Inverting map 
! Added new window around map position (3.8, 8.2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0293531 Jy
! Component: 100  -  total flux cleaned = 0.0341696 Jy
! Component: 150  -  total flux cleaned = 0.0364731 Jy
! Component: 200  -  total flux cleaned = 0.0384009 Jy
! Total flux subtracted in 200 components = 0.0384009 Jy
! Clean residual min=-0.018192 max=0.014860 Jy/beam
! Clean residual mean=0.000041 rms=0.004028 Jy/beam
! Combined flux in latest and established models = 0.207637 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 59 components and 0.207637 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322223Jy  sigma=0.001880
! Fit after  self-cal, rms=0.322003Jy  sigma=0.001878
! 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.8065 x 2.067 at -5.747 degrees (North through East)
! Clean map  min=-0.016755  max=0.14317 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 51 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 51 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.01265
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.00*    HN        1.00     KP        0.90     
!   LA        1.12     MK        0.91     NL        0.85     OV        0.94     
!   PT        1.11     SC        1.03     
! 
! 
! Correcting IF 3.
!  A total of 51 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 51 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.322003Jy  sigma=0.001878
! Fit after  self-cal, rms=0.324322Jy  sigma=0.001879
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.324322Jy  sigma=0.001879
! Fit after  self-cal, rms=0.324292Jy  sigma=0.001879
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.7995 mas, bmaj=2.069 mas, bpa=-6.51 degrees
! Estimated noise=946.929 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.00514077 Jy
! Component: 100  -  total flux cleaned = 0.00593089 Jy
! Component: 150  -  total flux cleaned = 0.00683173 Jy
! Component: 200  -  total flux cleaned = 0.00723125 Jy
! Total flux subtracted in 200 components = 0.00723125 Jy
! Clean residual min=-0.015342 max=0.012743 Jy/beam
! Clean residual mean=0.000035 rms=0.003651 Jy/beam
! Combined flux in latest and established models = 0.214868 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 75 components and 0.214868 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.324119Jy  sigma=0.001877
! Fit after  self-cal, rms=0.324097Jy  sigma=0.001877
! 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.324097Jy  sigma=0.001877
! Fit after  self-cal, rms=0.322915Jy  sigma=0.001870
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.00315944 Jy
! Component: 100  -  total flux cleaned = 0.0041076 Jy
! Component: 150  -  total flux cleaned = 0.00459672 Jy
! Component: 200  -  total flux cleaned = 0.00489517 Jy
! Total flux subtracted in 200 components = 0.00489517 Jy
! Clean residual min=-0.014896 max=0.012044 Jy/beam
! Clean residual mean=0.000047 rms=0.003538 Jy/beam
! Combined flux in latest and established models = 0.219763 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 84 components and 0.219763 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322845Jy  sigma=0.001869
! Fit after  self-cal, rms=0.322457Jy  sigma=0.001867
! 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.7995 x 2.069 at -6.51 degrees (North through East)
! Clean map  min=-0.01347  max=0.14311 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.322457Jy  sigma=0.001867
! Fit after  self-cal, rms=0.322457Jy  sigma=0.001867
! 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.322457Jy  sigma=0.001867
! Fit after  self-cal, rms=0.322121Jy  sigma=0.001865
! Inverting map and beam 
! Estimated beam: bmin=0.7995 mas, bmaj=2.069 mas, bpa=-6.51 degrees
! Estimated noise=946.929 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00295291 Jy
! Component: 100  -  total flux cleaned = 0.00326742 Jy
! Component: 150  -  total flux cleaned = 0.00326757 Jy
! Component: 200  -  total flux cleaned = 0.00326684 Jy
! Total flux subtracted in 200 components = 0.00326684 Jy
! Clean residual min=-0.013601 max=0.011778 Jy/beam
! Clean residual mean=0.000047 rms=0.003520 Jy/beam
! Combined flux in latest and established models = 0.22303 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 94 components and 0.22303 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322062Jy  sigma=0.001865
! Fit after  self-cal, rms=0.321882Jy  sigma=0.001864
! 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.321882Jy  sigma=0.001864
! Fit after  self-cal, rms=0.321882Jy  sigma=0.001864
! 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.321882Jy  sigma=0.001864
! Fit after  self-cal, rms=0.321776Jy  sigma=0.001863
! Inverting map and beam 
! Estimated beam: bmin=0.7995 mas, bmaj=2.069 mas, bpa=-6.51 degrees
! Estimated noise=946.929 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00128521 Jy
! Component: 100  -  total flux cleaned = 0.00128264 Jy
! Component: 150  -  total flux cleaned = 0.000946374 Jy
! Component: 200  -  total flux cleaned = 0.000731516 Jy
! Total flux subtracted in 200 components = 0.000731516 Jy
! Clean residual min=-0.012975 max=0.012429 Jy/beam
! Clean residual mean=0.000046 rms=0.003486 Jy/beam
! Combined flux in latest and established models = 0.223762 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 99 components and 0.223762 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.321739Jy  sigma=0.001863
! Fit after  self-cal, rms=0.321611Jy  sigma=0.001862
! 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=1.964 mas, bmaj=3.327 mas, bpa=-12.99 degrees
! Estimated noise=1289.45 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.00300945 Jy
! Component: 100  -  total flux cleaned = -0.00338313 Jy
! Component: 150  -  total flux cleaned = -0.00370508 Jy
! Component: 200  -  total flux cleaned = -0.00412076 Jy
! Total flux subtracted in 200 components = -0.00412076 Jy
! Clean residual min=-0.017138 max=0.017114 Jy/beam
! Clean residual mean=0.000121 rms=0.005632 Jy/beam
! Combined flux in latest and established models = 0.219641 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 115 components and 0.219641 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.321676Jy  sigma=0.001863
! Fit after  self-cal, rms=0.321705Jy  sigma=0.001863
! 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.6704 mas, bmaj=1.768 mas, bpa=-3.224 degrees
! Estimated noise=1459.82 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.111703 Jy
! Component: 100  -  total flux cleaned = 0.144778 Jy
! Component: 150  -  total flux cleaned = 0.162145 Jy
! Component: 200  -  total flux cleaned = 0.17694 Jy
! Total flux subtracted in 200 components = 0.17694 Jy
! Clean residual min=-0.016423 max=0.018265 Jy/beam
! Clean residual mean=0.000006 rms=0.003946 Jy/beam
! Combined flux in latest and established models = 0.17694 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 34 model components to the UV plane model.
! The established model now contains 34 components and 0.17694 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.7995 mas, bmaj=2.069 mas, bpa=-6.51 degrees
! Estimated noise=946.929 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.0193252 Jy
! Component: 100  -  total flux cleaned = 0.0285506 Jy
! Component: 150  -  total flux cleaned = 0.0347342 Jy
! Component: 200  -  total flux cleaned = 0.0368875 Jy
! Total flux subtracted in 200 components = 0.0368875 Jy
! Clean residual min=-0.014807 max=0.014118 Jy/beam
! Clean residual mean=0.000033 rms=0.003752 Jy/beam
! Combined flux in latest and established models = 0.213828 Jy
! Adding 40 model components to the UV plane model.
! The established model now contains 62 components and 0.213828 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=1.964 mas, bmaj=3.327 mas, bpa=-12.99 degrees
! Estimated noise=1289.45 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.00114157 Jy
! Component: 100  -  total flux cleaned = 0.00260002 Jy
! Component: 150  -  total flux cleaned = 0.00316475 Jy
! Component: 200  -  total flux cleaned = 0.00356984 Jy
! Total flux subtracted in 200 components = 0.00356984 Jy
! Clean residual min=-0.017176 max=0.016839 Jy/beam
! Clean residual mean=0.000104 rms=0.005647 Jy/beam
! Combined flux in latest and established models = 0.217397 Jy
! Adding 25 model components to the UV plane model.
! The established model now contains 77 components and 0.217397 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.7995 mas, bmaj=2.069 mas, bpa=-6.51 degrees
! Estimated noise=946.929 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000735863 Jy
! Component: 100  -  total flux cleaned = 0.00101838 Jy
! Component: 150  -  total flux cleaned = 0.000812441 Jy
! Component: 200  -  total flux cleaned = 0.000806146 Jy
! Total flux subtracted in 200 components = 0.000806146 Jy
! Clean residual min=-0.013414 max=0.012118 Jy/beam
! Clean residual mean=0.000041 rms=0.003523 Jy/beam
! Combined flux in latest and established models = 0.218204 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 91 components and 0.218204 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.321814Jy  sigma=0.001864
! Fit after  self-cal, rms=0.321706Jy  sigma=0.001863
wmodel J1553+1256_X_1996_01_02_yyk\_map.mod
! Writing 91 model components to file: J1553+1256_X_1996_01_02_yyk_map.mod
wobs J1553+1256_X_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J1553+1256_X_1996_01_02_yyk_uvs.fits
wwins J1553+1256_X_1996_01_02_yyk\_map.win
! wwins: Wrote 2 windows to J1553+1256_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.00169458 Jy
! Component: 100  -  total flux cleaned = -0.00190286 Jy
! Component: 150  -  total flux cleaned = -0.00210035 Jy
! Component: 200  -  total flux cleaned = -0.00209671 Jy
! Component: 250  -  total flux cleaned = -0.00228173 Jy
! Component: 300  -  total flux cleaned = -0.00210447 Jy
! Component: 350  -  total flux cleaned = -0.00140731 Jy
! Component: 400  -  total flux cleaned = -0.000897161 Jy
! Component: 450  -  total flux cleaned = 9.9394e-05 Jy
! Component: 500  -  total flux cleaned = 0.00106976 Jy
! Component: 550  -  total flux cleaned = 0.00154421 Jy
! Component: 600  -  total flux cleaned = 0.0020138 Jy
! Component: 650  -  total flux cleaned = 0.00277658 Jy
! Component: 700  -  total flux cleaned = 0.00322637 Jy
! Component: 750  -  total flux cleaned = 0.00468993 Jy
! Component: 800  -  total flux cleaned = 0.00526084 Jy
! Component: 850  -  total flux cleaned = 0.0061085 Jy
! Component: 900  -  total flux cleaned = 0.00652556 Jy
! Component: 950  -  total flux cleaned = 0.00734262 Jy
! Component: 1000  -  total flux cleaned = 0.00760872 Jy
! Component: 1050  -  total flux cleaned = 0.00800738 Jy
! Component: 1100  -  total flux cleaned = 0.0087884 Jy
! Component: 1150  -  total flux cleaned = 0.00916984 Jy
! Component: 1200  -  total flux cleaned = 0.00954764 Jy
! Component: 1250  -  total flux cleaned = 0.00992099 Jy
! Component: 1300  -  total flux cleaned = 0.0106549 Jy
! Component: 1350  -  total flux cleaned = 0.0109001 Jy
! Component: 1400  -  total flux cleaned = 0.011731 Jy
! Component: 1450  -  total flux cleaned = 0.0120831 Jy
! Component: 1500  -  total flux cleaned = 0.0124282 Jy
! Component: 1550  -  total flux cleaned = 0.0128864 Jy
! Component: 1600  -  total flux cleaned = 0.0133377 Jy
! Component: 1650  -  total flux cleaned = 0.0135598 Jy
! Component: 1700  -  total flux cleaned = 0.0141116 Jy
! Component: 1750  -  total flux cleaned = 0.0147654 Jy
! Component: 1800  -  total flux cleaned = 0.0153038 Jy
! Component: 1850  -  total flux cleaned = 0.0154106 Jy
! Component: 1900  -  total flux cleaned = 0.0160427 Jy
! Component: 1950  -  total flux cleaned = 0.016148 Jy
! Component: 2000  -  total flux cleaned = 0.0169727 Jy
! Total flux subtracted in 2048 components = 0.0170737 Jy
! Clean residual min=-0.005554 max=0.005947 Jy/beam
! Clean residual mean=0.000030 rms=0.002015 Jy/beam
! Combined flux in latest and established models = 0.235277 Jy
keep
! Adding 172 model components to the UV plane model.
! The established model now contains 263 components and 0.235277 Jy
![Exited script file: muppet]
wmap "J1553+1256_X_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7995 x 2.069 at -6.51 degrees (North through East)
! Clean map  min=-0.012774  max=0.14147 Jy/beam
! Writing clean map to FITS file: J1553+1256_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.141475 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00201736 
device "J1553+1256_X_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1553+1256_X_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -4.27785 4.27785 8.5557 17.1114 34.2228 68.4456
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.006 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.141 
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.7995 x 2.069 at -6.51 degrees (North through East)
! Clean map  min=-0.012774  max=0.14147 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1553+1256_X_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1553+1256_X_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1553+1256_X_1996_01_02_yyk_uvs.log closed on Mon Jan  8 06:47:25 2007