! Started logfile: J0530+1331_X_1996_03_13_yyk_uvs.log on Mon Jan  8 03:18:41 2007
obs J0530+1331_X_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J0530+1331_X_1996_03_13_yyk_uva.fits
! AN table 1: 104 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.710256 visibilities/baseline/integration-bin.
! Found source: J0530+1331
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  8.15049e+09        4e+06          1        4e+06
!  02        2  8.23236e+09        4e+06          1        4e+06
!  03        3  8.41236e+09        4e+06          1        4e+06
!  04        4  8.55236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 655 lines of history.
! 
! Reading 13296 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 J0530+1331_X_1996_03_13_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 7.62692 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.701 mas, bmaj=1.677 mas, bpa=-0.04107 degrees
! Estimated noise=2056.87 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 = 5.79993 Jy
! Component: 100  -  total flux cleaned = 7.29221 Jy
! Total flux subtracted in 100 components = 7.29221 Jy
! Clean residual min=-0.644139 max=0.638133 Jy/beam
! Clean residual mean=-0.001799 rms=0.155709 Jy/beam
! Combined flux in latest and established models = 7.29221 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 7.29221 Jy
! 
! Correcting IF 1.
!  A total of 218 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 218 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 218 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 218 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=2.509898Jy  sigma=0.016914
! Fit after  self-cal, rms=1.991141Jy  sigma=0.014566
! Inverting map and beam 
! Estimated beam: bmin=0.701 mas, bmaj=1.677 mas, bpa=-0.04181 degrees
! Estimated noise=2058.79 mJy/beam.
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.942994 Jy
! Component: 100  -  total flux cleaned = 0.9449 Jy
! Total flux subtracted in 100 components = 0.9449 Jy
! Clean residual min=-0.267693 max=0.263465 Jy/beam
! Clean residual mean=-0.000162 rms=0.059429 Jy/beam
! Combined flux in latest and established models = 8.23711 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 17 components and 8.23711 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.651520Jy  sigma=0.012269
! Fit after  self-cal, rms=1.650438Jy  sigma=0.012262
! 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=0.92 mas, bmaj=2.121 mas, bpa=1.86 degrees
! Estimated noise=864.452 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.0935124 Jy
! Component: 100  -  total flux cleaned = 0.0934091 Jy
! Component: 150  -  total flux cleaned = 0.088353 Jy
! Component: 200  -  total flux cleaned = 0.0840563 Jy
! Total flux subtracted in 200 components = 0.0840563 Jy
! Clean residual min=-0.152133 max=0.118662 Jy/beam
! Clean residual mean=-0.000027 rms=0.031908 Jy/beam
! Combined flux in latest and established models = 8.32116 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 22 components and 8.32116 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.619559Jy  sigma=0.012084
! Fit after  self-cal, rms=1.619138Jy  sigma=0.012081
! 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.92 x 2.121 at 1.86 degrees (North through East)
! Clean map  min=-0.14037  max=7.3658 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.999464
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.95     HN        0.96     KP        1.03     
!   LA        1.01     MK        1.05     NL        1.00     OV        1.01     
!   PT        1.05     SC        0.95     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00385
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.95     HN        0.95     KP        1.03     
!   LA        0.99     MK        1.03     NL        0.97     OV        1.05     
!   PT        1.02     SC        1.00     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00166
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.95     HN        0.95     KP        1.00     
!   LA        0.98     MK        1.06     NL        0.96     OV        1.02     
!   PT        1.00     SC        1.03     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.995438
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.96     HN        0.97     KP        1.01     
!   LA        0.99     MK        1.05     NL        0.99     OV        1.01     
!   PT        1.03     SC        1.01     
! 
! 
! Fit before self-cal, rms=1.619138Jy  sigma=0.012081
! Fit after  self-cal, rms=1.610884Jy  sigma=0.011852
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=1.610884Jy  sigma=0.011852
! Fit after  self-cal, rms=1.610879Jy  sigma=0.011852
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.93 mas, bmaj=2.127 mas, bpa=2.083 degrees
! Estimated noise=862.631 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 (1, 0.6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0372553 Jy
! Component: 100  -  total flux cleaned = 0.0404778 Jy
! Component: 150  -  total flux cleaned = 0.043471 Jy
! Component: 200  -  total flux cleaned = 0.0488423 Jy
! Total flux subtracted in 200 components = 0.0488423 Jy
! Clean residual min=-0.053113 max=0.049900 Jy/beam
! Clean residual mean=0.000092 rms=0.014209 Jy/beam
! Combined flux in latest and established models = 8.37 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 34 components and 8.37 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.598610Jy  sigma=0.011783
! Fit after  self-cal, rms=1.598395Jy  sigma=0.011782
! 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=1.598395Jy  sigma=0.011782
! Fit after  self-cal, rms=0.855520Jy  sigma=0.006244
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.158253 Jy
! Component: 100  -  total flux cleaned = 0.229512 Jy
! Component: 150  -  total flux cleaned = 0.248294 Jy
! Component: 200  -  total flux cleaned = 0.256782 Jy
! Total flux subtracted in 200 components = 0.256782 Jy
! Clean residual min=-0.066393 max=0.061458 Jy/beam
! Clean residual mean=-0.000162 rms=0.016705 Jy/beam
! Combined flux in latest and established models = 8.62679 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 47 components and 8.62679 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.831249Jy  sigma=0.006079
! Fit after  self-cal, rms=0.711478Jy  sigma=0.005172
! 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.93 x 2.127 at 2.083 degrees (North through East)
! Clean map  min=-0.061071  max=7.4656 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.711478Jy  sigma=0.005172
! Fit after  self-cal, rms=0.657797Jy  sigma=0.004898
! 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.657797Jy  sigma=0.004898
! Fit after  self-cal, rms=0.637331Jy  sigma=0.004738
! Inverting map and beam 
! Estimated beam: bmin=0.9165 mas, bmaj=2.082 mas, bpa=0.8315 degrees
! Estimated noise=856.538 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00999504 Jy
! Component: 100  -  total flux cleaned = -0.0109853 Jy
! Component: 150  -  total flux cleaned = -0.0109431 Jy
! Component: 200  -  total flux cleaned = -0.00934926 Jy
! Total flux subtracted in 200 components = -0.00934926 Jy
! Clean residual min=-0.031900 max=0.023964 Jy/beam
! Clean residual mean=-0.000006 rms=0.006774 Jy/beam
! Combined flux in latest and established models = 8.61744 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 57 components and 8.61744 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.634585Jy  sigma=0.004723
! Fit after  self-cal, rms=0.630581Jy  sigma=0.004692
! 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.630581Jy  sigma=0.004692
! Fit after  self-cal, rms=0.629235Jy  sigma=0.004683
! 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.629235Jy  sigma=0.004683
! Fit after  self-cal, rms=0.628788Jy  sigma=0.004680
! Inverting map and beam 
! Estimated beam: bmin=0.9167 mas, bmaj=2.084 mas, bpa=0.8107 degrees
! Estimated noise=856.218 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.0146288 Jy
! Component: 100  -  total flux cleaned = -0.0153655 Jy
! Component: 150  -  total flux cleaned = -0.0147136 Jy
! Component: 200  -  total flux cleaned = -0.0141341 Jy
! Total flux subtracted in 200 components = -0.0141341 Jy
! Clean residual min=-0.028632 max=0.022471 Jy/beam
! Clean residual mean=-0.000007 rms=0.006111 Jy/beam
! Combined flux in latest and established models = 8.6033 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 64 components and 8.6033 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.627330Jy  sigma=0.004673
! Fit after  self-cal, rms=0.627166Jy  sigma=0.004671
! 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.16 mas, bmaj=3.209 mas, bpa=-4.853 degrees
! Estimated noise=1108.1 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.00322703 Jy
! Component: 100  -  total flux cleaned = 0.00460761 Jy
! Component: 150  -  total flux cleaned = 0.00585388 Jy
! Component: 200  -  total flux cleaned = 0.00644416 Jy
! Total flux subtracted in 200 components = 0.00644416 Jy
! Clean residual min=-0.018373 max=0.025118 Jy/beam
! Clean residual mean=-0.000016 rms=0.006114 Jy/beam
! Combined flux in latest and established models = 8.60975 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 73 components and 8.60975 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.626975Jy  sigma=0.004671
! Fit after  self-cal, rms=0.626940Jy  sigma=0.004670
! 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.6947 mas, bmaj=1.645 mas, bpa=-1.54 degrees
! Estimated noise=2019.48 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 6.19663 Jy
! Component: 100  -  total flux cleaned = 7.49698 Jy
! Component: 150  -  total flux cleaned = 7.96479 Jy
! Component: 200  -  total flux cleaned = 8.18964 Jy
! Total flux subtracted in 200 components = 8.18964 Jy
! Clean residual min=-0.090789 max=0.098619 Jy/beam
! Clean residual mean=-0.000488 rms=0.019996 Jy/beam
! Combined flux in latest and established models = 8.18964 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 8.18964 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9167 mas, bmaj=2.084 mas, bpa=0.8107 degrees
! Estimated noise=856.218 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.172595 Jy
! Component: 100  -  total flux cleaned = 0.264307 Jy
! Component: 150  -  total flux cleaned = 0.323304 Jy
! Component: 200  -  total flux cleaned = 0.346739 Jy
! Total flux subtracted in 200 components = 0.346739 Jy
! Clean residual min=-0.031501 max=0.029543 Jy/beam
! Clean residual mean=-0.000133 rms=0.007163 Jy/beam
! Combined flux in latest and established models = 8.53638 Jy
! Adding 35 model components to the UV plane model.
! The established model now contains 49 components and 8.53637 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.16 mas, bmaj=3.209 mas, bpa=-4.853 degrees
! Estimated noise=1108.1 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.0433293 Jy
! Component: 100  -  total flux cleaned = 0.061476 Jy
! Component: 150  -  total flux cleaned = 0.0646819 Jy
! Component: 200  -  total flux cleaned = 0.0649967 Jy
! Total flux subtracted in 200 components = 0.0649967 Jy
! Clean residual min=-0.018359 max=0.023962 Jy/beam
! Clean residual mean=-0.000031 rms=0.006296 Jy/beam
! Combined flux in latest and established models = 8.60137 Jy
! Adding 33 model components to the UV plane model.
! The established model now contains 77 components and 8.60137 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9167 mas, bmaj=2.084 mas, bpa=0.8107 degrees
! Estimated noise=856.218 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.0137465 Jy
! Component: 100  -  total flux cleaned = -0.012993 Jy
! Component: 150  -  total flux cleaned = -0.0123215 Jy
! Component: 200  -  total flux cleaned = -0.0117189 Jy
! Total flux subtracted in 200 components = -0.0117189 Jy
! Clean residual min=-0.023947 max=0.023831 Jy/beam
! Clean residual mean=-0.000027 rms=0.005621 Jy/beam
! Combined flux in latest and established models = 8.58965 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 88 components and 8.58965 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.626497Jy  sigma=0.004670
! Fit after  self-cal, rms=0.626217Jy  sigma=0.004669
wmodel J0530+1331_X_1996_03_13_yyk\_map.mod
! Writing 88 model components to file: J0530+1331_X_1996_03_13_yyk_map.mod
wobs J0530+1331_X_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J0530+1331_X_1996_03_13_yyk_uvs.fits
wwins J0530+1331_X_1996_03_13_yyk\_map.win
! wwins: Wrote 2 windows to J0530+1331_X_1996_03_13_yyk_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00319644 Jy
! Component: 100  -  total flux cleaned = 0.00318039 Jy
! Component: 150  -  total flux cleaned = 0.00388915 Jy
! Component: 200  -  total flux cleaned = 0.0055614 Jy
! Component: 250  -  total flux cleaned = 0.00778046 Jy
! Component: 300  -  total flux cleaned = 0.00929519 Jy
! Component: 350  -  total flux cleaned = 0.0101731 Jy
! Component: 400  -  total flux cleaned = 0.0104498 Jy
! Component: 450  -  total flux cleaned = 0.00963801 Jy
! Component: 500  -  total flux cleaned = 0.00938091 Jy
! Component: 550  -  total flux cleaned = 0.00862488 Jy
! Component: 600  -  total flux cleaned = 0.00886606 Jy
! Component: 650  -  total flux cleaned = 0.00814974 Jy
! Component: 700  -  total flux cleaned = 0.00815305 Jy
! Component: 750  -  total flux cleaned = 0.00837642 Jy
! Component: 800  -  total flux cleaned = 0.00881594 Jy
! Component: 850  -  total flux cleaned = 0.00838995 Jy
! Component: 900  -  total flux cleaned = 0.00922793 Jy
! Component: 950  -  total flux cleaned = 0.00942943 Jy
! Component: 1000  -  total flux cleaned = 0.00963494 Jy
! Component: 1050  -  total flux cleaned = 0.0102203 Jy
! Component: 1100  -  total flux cleaned = 0.0105951 Jy
! Component: 1150  -  total flux cleaned = 0.0113389 Jy
! Component: 1200  -  total flux cleaned = 0.0122474 Jy
! Component: 1250  -  total flux cleaned = 0.0131365 Jy
! Component: 1300  -  total flux cleaned = 0.0138336 Jy
! Component: 1350  -  total flux cleaned = 0.0150194 Jy
! Component: 1400  -  total flux cleaned = 0.0156878 Jy
! Component: 1450  -  total flux cleaned = 0.0169897 Jy
! Component: 1500  -  total flux cleaned = 0.0174669 Jy
! Component: 1550  -  total flux cleaned = 0.018726 Jy
! Component: 1600  -  total flux cleaned = 0.0191915 Jy
! Component: 1650  -  total flux cleaned = 0.0202541 Jy
! Component: 1700  -  total flux cleaned = 0.0214446 Jy
! Component: 1750  -  total flux cleaned = 0.0224666 Jy
! Component: 1800  -  total flux cleaned = 0.0231882 Jy
! Component: 1850  -  total flux cleaned = 0.0243213 Jy
! Component: 1900  -  total flux cleaned = 0.0244608 Jy
! Component: 1950  -  total flux cleaned = 0.025557 Jy
! Component: 2000  -  total flux cleaned = 0.0259608 Jy
! Total flux subtracted in 2048 components = 0.0267606 Jy
! Clean residual min=-0.006593 max=0.006598 Jy/beam
! Clean residual mean=-0.000006 rms=0.002275 Jy/beam
! Combined flux in latest and established models = 8.61641 Jy
keep
! Adding 117 model components to the UV plane model.
! The established model now contains 205 components and 8.61641 Jy
![Exited script file: muppet]
wmap "J0530+1331_X_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9167 x 2.084 at 0.8107 degrees (North through East)
! Clean map  min=-0.01553  max=7.4561 Jy/beam
! Writing clean map to FITS file: J0530+1331_X_1996_03_13_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 7.45612 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00226816 
device "J0530+1331_X_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J0530+1331_X_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.0912604 0.0912604 0.182521 0.365042 0.730084 1.46017 2.92033 5.84067 11.6813 23.3627 46.7253 93.4507
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0068 
print "peak=",int(peak_flux*1000)/1000
! peak= 7.456 
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.9167 x 2.084 at 0.8107 degrees (North through East)
! Clean map  min=-0.01553  max=7.4561 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0530+1331_X_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J0530+1331_X_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0530+1331_X_1996_03_13_yyk_uvs.log closed on Mon Jan  8 03:18:49 2007