! Started logfile: J0530+1331_X_1996_06_07_yyk_uvs.log on Mon Jan  8 03:19:00 2007
obs J0530+1331_X_1996_06_07_yyk_uva.fits
! Reading UV FITS file: J0530+1331_X_1996_06_07_yyk_uva.fits
! AN table 1: 54 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.37284 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! 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        8e+06          1        8e+06
!  02        2  8.23424e+09        8e+06          1        8e+06
!  03        3  8.41424e+09        8e+06          1        8e+06
!  04        4  8.55424e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 689 lines of history.
! 
! Reading 3624 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_06_07_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.15987 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.7749 mas, bmaj=2.056 mas, bpa=8.479 degrees
! Estimated noise=3267.22 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 = 6.23876 Jy
! Component: 100  -  total flux cleaned = 7.26768 Jy
! Total flux subtracted in 100 components = 7.26768 Jy
! Clean residual min=-0.203309 max=0.309061 Jy/beam
! Clean residual mean=-0.001539 rms=0.057723 Jy/beam
! Combined flux in latest and established models = 7.26768 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 7.26768 Jy
! 
! Correcting IF 1.
!  A total of 203 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 203 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 203 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 203 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.817226Jy  sigma=0.005196
! Fit after  self-cal, rms=0.810790Jy  sigma=0.005158
! Inverting map and beam 
! Estimated beam: bmin=0.7749 mas, bmaj=2.056 mas, bpa=8.479 degrees
! Estimated noise=3267.22 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.8535 mas, bmaj=2.053 mas, bpa=10.17 degrees
! Estimated noise=1801.55 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.392255 Jy
! Component: 100  -  total flux cleaned = 0.556787 Jy
! Component: 150  -  total flux cleaned = 0.640545 Jy
! Component: 200  -  total flux cleaned = 0.687363 Jy
! Total flux subtracted in 200 components = 0.687363 Jy
! Clean residual min=-0.076731 max=0.083195 Jy/beam
! Clean residual mean=-0.000107 rms=0.019883 Jy/beam
! Combined flux in latest and established models = 7.95505 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 22 components and 7.95505 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.682333Jy  sigma=0.004261
! Fit after  self-cal, rms=0.680930Jy  sigma=0.004254
! 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.8535 x 2.053 at 10.17 degrees (North through East)
! Clean map  min=-0.07991  max=7.1999 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.00664
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.98     HN        0.99     KP        0.98     
!   LA        1.01     MK        1.01     NL        1.01     OV        0.99     
!   PT        0.99     SC        0.97     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.00937
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.97     HN        0.99     KP        0.98     
!   LA        0.99     MK        0.99     NL        0.98     OV        1.05     
!   PT        0.94     SC        1.01     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.01028
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.97     HN        0.99     KP        0.97     
!   LA        0.99     MK        1.03     NL        1.00     OV        1.02     
!   PT        0.92     SC        1.02     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1.00442
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.98     HN        1.01     KP        0.97     
!   LA        1.00     MK        1.00     NL        1.02     OV        1.01     
!   PT        0.96     SC        1.01     
! 
! 
! Fit before self-cal, rms=0.680930Jy  sigma=0.004254
! Fit after  self-cal, rms=0.676727Jy  sigma=0.004112
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.676727Jy  sigma=0.004112
! Fit after  self-cal, rms=0.676730Jy  sigma=0.004112
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8576 mas, bmaj=2.059 mas, bpa=10.13 degrees
! Estimated noise=1830.41 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.0774991 Jy
! Component: 100  -  total flux cleaned = 0.088171 Jy
! Component: 150  -  total flux cleaned = 0.0953096 Jy
! Component: 200  -  total flux cleaned = 0.0980519 Jy
! Total flux subtracted in 200 components = 0.0980519 Jy
! Clean residual min=-0.053004 max=0.051537 Jy/beam
! Clean residual mean=0.000134 rms=0.013396 Jy/beam
! Combined flux in latest and established models = 8.0531 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 35 components and 8.0531 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.666163Jy  sigma=0.004036
! Fit after  self-cal, rms=0.666045Jy  sigma=0.004036
! 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.666045Jy  sigma=0.004036
! Fit after  self-cal, rms=0.459426Jy  sigma=0.002879
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 = -5.79213e-05 Jy
! Component: 100  -  total flux cleaned = 0.00408381 Jy
! Component: 150  -  total flux cleaned = 0.00714418 Jy
! Component: 200  -  total flux cleaned = 0.00816691 Jy
! Total flux subtracted in 200 components = 0.00816691 Jy
! Clean residual min=-0.036879 max=0.043697 Jy/beam
! Clean residual mean=0.000139 rms=0.009547 Jy/beam
! Combined flux in latest and established models = 8.06127 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 51 components and 8.06127 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.457825Jy  sigma=0.002871
! Fit after  self-cal, rms=0.426109Jy  sigma=0.002698
! 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.8576 x 2.059 at 10.13 degrees (North through East)
! Clean map  min=-0.032724  max=7.3189 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.426109Jy  sigma=0.002698
! Fit after  self-cal, rms=0.424505Jy  sigma=0.002687
! 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.424505Jy  sigma=0.002687
! Fit after  self-cal, rms=0.420459Jy  sigma=0.002665
! Inverting map and beam 
! Estimated beam: bmin=0.8569 mas, bmaj=2.06 mas, bpa=10.08 degrees
! Estimated noise=1830.24 mJy/beam.
! Added new window around map position (0.8, 4.8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0262036 Jy
! Component: 100  -  total flux cleaned = 0.0365271 Jy
! Component: 150  -  total flux cleaned = 0.0439095 Jy
! Component: 200  -  total flux cleaned = 0.0490309 Jy
! Total flux subtracted in 200 components = 0.0490309 Jy
! Clean residual min=-0.024357 max=0.019223 Jy/beam
! Clean residual mean=0.000115 rms=0.005856 Jy/beam
! Combined flux in latest and established models = 8.1103 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 73 components and 8.1103 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.417057Jy  sigma=0.002643
! Fit after  self-cal, rms=0.416332Jy  sigma=0.002640
! 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.416332Jy  sigma=0.002640
! Fit after  self-cal, rms=0.415210Jy  sigma=0.002634
! 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.415210Jy  sigma=0.002634
! Fit after  self-cal, rms=0.415208Jy  sigma=0.002634
! Inverting map and beam 
! Estimated beam: bmin=0.8571 mas, bmaj=2.059 mas, bpa=10.05 degrees
! Estimated noise=1830.16 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0101113 Jy
! Component: 100  -  total flux cleaned = 0.013494 Jy
! Component: 150  -  total flux cleaned = 0.0171632 Jy
! Component: 200  -  total flux cleaned = 0.0189562 Jy
! Total flux subtracted in 200 components = 0.0189562 Jy
! Clean residual min=-0.018803 max=0.015085 Jy/beam
! Clean residual mean=0.000093 rms=0.004807 Jy/beam
! Combined flux in latest and established models = 8.12925 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 85 components and 8.12925 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.414460Jy  sigma=0.002629
! Fit after  self-cal, rms=0.414399Jy  sigma=0.002629
! 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.663 mas, bmaj=3.426 mas, bpa=-3.068 degrees
! Estimated noise=2507.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)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00588101 Jy
! Component: 100  -  total flux cleaned = -0.00590233 Jy
! Component: 150  -  total flux cleaned = -0.00590319 Jy
! Component: 200  -  total flux cleaned = -0.0056066 Jy
! Total flux subtracted in 200 components = -0.0056066 Jy
! Clean residual min=-0.019873 max=0.020769 Jy/beam
! Clean residual mean=0.000210 rms=0.006611 Jy/beam
! Combined flux in latest and established models = 8.12364 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 94 components and 8.12365 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.414404Jy  sigma=0.002628
! Fit after  self-cal, rms=0.414387Jy  sigma=0.002628
! 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.7778 mas, bmaj=2.067 mas, bpa=8.432 degrees
! Estimated noise=3276.79 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 6.27355 Jy
! Component: 100  -  total flux cleaned = 7.27453 Jy
! Component: 150  -  total flux cleaned = 7.68345 Jy
! Component: 200  -  total flux cleaned = 7.8711 Jy
! Total flux subtracted in 200 components = 7.8711 Jy
! Clean residual min=-0.057486 max=0.066901 Jy/beam
! Clean residual mean=-0.000198 rms=0.014896 Jy/beam
! Combined flux in latest and established models = 7.8711 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 10 model components to the UV plane model.
! The established model now contains 10 components and 7.8711 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8571 mas, bmaj=2.059 mas, bpa=10.05 degrees
! Estimated noise=1830.16 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.102842 Jy
! Component: 100  -  total flux cleaned = 0.159993 Jy
! Component: 150  -  total flux cleaned = 0.197655 Jy
! Component: 200  -  total flux cleaned = 0.223983 Jy
! Total flux subtracted in 200 components = 0.223983 Jy
! Clean residual min=-0.025475 max=0.020756 Jy/beam
! Clean residual mean=0.000068 rms=0.005955 Jy/beam
! Combined flux in latest and established models = 8.09508 Jy
! Adding 32 model components to the UV plane model.
! The established model now contains 39 components and 8.09508 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.663 mas, bmaj=3.426 mas, bpa=-3.068 degrees
! Estimated noise=2507.87 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.0170561 Jy
! Component: 100  -  total flux cleaned = 0.0210273 Jy
! Component: 150  -  total flux cleaned = 0.0237754 Jy
! Component: 200  -  total flux cleaned = 0.0259858 Jy
! Total flux subtracted in 200 components = 0.0259858 Jy
! Clean residual min=-0.018930 max=0.020755 Jy/beam
! Clean residual mean=0.000188 rms=0.006042 Jy/beam
! Combined flux in latest and established models = 8.12107 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 57 components and 8.12106 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8571 mas, bmaj=2.059 mas, bpa=10.05 degrees
! Estimated noise=1830.16 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00283675 Jy
! Component: 100  -  total flux cleaned = 0.00233753 Jy
! Component: 150  -  total flux cleaned = 0.00276429 Jy
! Component: 200  -  total flux cleaned = 0.00315173 Jy
! Total flux subtracted in 200 components = 0.00315173 Jy
! Clean residual min=-0.016980 max=0.015478 Jy/beam
! Clean residual mean=0.000081 rms=0.004431 Jy/beam
! Combined flux in latest and established models = 8.12422 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 71 components and 8.12422 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.414488Jy  sigma=0.002628
! Fit after  self-cal, rms=0.414377Jy  sigma=0.002628
wmodel J0530+1331_X_1996_06_07_yyk\_map.mod
! Writing 71 model components to file: J0530+1331_X_1996_06_07_yyk_map.mod
wobs J0530+1331_X_1996_06_07_yyk\_uvs.fits
! Writing UV FITS file: J0530+1331_X_1996_06_07_yyk_uvs.fits
wwins J0530+1331_X_1996_06_07_yyk\_map.win
! wwins: Wrote 2 windows to J0530+1331_X_1996_06_07_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.00326136 Jy
! Component: 100  -  total flux cleaned = -0.00430828 Jy
! Component: 150  -  total flux cleaned = -0.00599735 Jy
! Component: 200  -  total flux cleaned = -0.0071259 Jy
! Component: 250  -  total flux cleaned = -0.00777231 Jy
! Component: 300  -  total flux cleaned = -0.00737926 Jy
! Component: 350  -  total flux cleaned = -0.00700116 Jy
! Component: 400  -  total flux cleaned = -0.00592206 Jy
! Component: 450  -  total flux cleaned = -0.0050679 Jy
! Component: 500  -  total flux cleaned = -0.0040835 Jy
! Component: 550  -  total flux cleaned = -0.00329766 Jy
! Component: 600  -  total flux cleaned = -0.00284632 Jy
! Component: 650  -  total flux cleaned = -0.00226563 Jy
! Component: 700  -  total flux cleaned = -0.00212252 Jy
! Component: 750  -  total flux cleaned = -0.00212068 Jy
! Component: 800  -  total flux cleaned = -0.00199023 Jy
! Component: 850  -  total flux cleaned = -0.00199109 Jy
! Component: 900  -  total flux cleaned = -0.00211594 Jy
! Component: 950  -  total flux cleaned = -0.00223769 Jy
! Component: 1000  -  total flux cleaned = -0.00223831 Jy
! Component: 1050  -  total flux cleaned = -0.0025876 Jy
! Component: 1100  -  total flux cleaned = -0.0028135 Jy
! Component: 1150  -  total flux cleaned = -0.00292584 Jy
! Component: 1200  -  total flux cleaned = -0.00325308 Jy
! Component: 1250  -  total flux cleaned = -0.00357109 Jy
! Component: 1300  -  total flux cleaned = -0.00388174 Jy
! Component: 1350  -  total flux cleaned = -0.00408385 Jy
! Component: 1400  -  total flux cleaned = -0.00448279 Jy
! Component: 1450  -  total flux cleaned = -0.00497119 Jy
! Component: 1500  -  total flux cleaned = -0.00506948 Jy
! Component: 1550  -  total flux cleaned = -0.00563988 Jy
! Component: 1600  -  total flux cleaned = -0.0061075 Jy
! Component: 1650  -  total flux cleaned = -0.00675044 Jy
! Component: 1700  -  total flux cleaned = -0.00729445 Jy
! Component: 1750  -  total flux cleaned = -0.00792099 Jy
! Component: 1800  -  total flux cleaned = -0.00827378 Jy
! Component: 1850  -  total flux cleaned = -0.00853548 Jy
! Component: 1900  -  total flux cleaned = -0.00914055 Jy
! Component: 1950  -  total flux cleaned = -0.00922589 Jy
! Component: 2000  -  total flux cleaned = -0.00956574 Jy
! Total flux subtracted in 2048 components = -0.00990142 Jy
! Clean residual min=-0.005119 max=0.004856 Jy/beam
! Clean residual mean=0.000043 rms=0.001605 Jy/beam
! Combined flux in latest and established models = 8.11431 Jy
keep
! Adding 124 model components to the UV plane model.
! The established model now contains 195 components and 8.11432 Jy
![Exited script file: muppet]
wmap "J0530+1331_X_1996_06_07_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8571 x 2.059 at 10.05 degrees (North through East)
! Clean map  min=-0.011284  max=7.3258 Jy/beam
! Writing clean map to FITS file: J0530+1331_X_1996_06_07_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 7.32577 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00158614 
device "J0530+1331_X_1996_06_07_yyk\_map.eps/VPS"
! Attempting to open device: 'J0530+1331_X_1996_06_07_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.0649545 0.0649545 0.129909 0.259818 0.519636 1.03927 2.07854 4.15709 8.31418 16.6284 33.2567 66.5134
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0047 
print "peak=",int(peak_flux*1000)/1000
! peak= 7.325 
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.8571 x 2.059 at 10.05 degrees (North through East)
! Clean map  min=-0.011284  max=7.3258 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0530+1331_X_1996_06_07_yyk\_map.gif/gif"
! Attempting to open device: 'J0530+1331_X_1996_06_07_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0530+1331_X_1996_06_07_yyk_uvs.log closed on Mon Jan  8 03:19:06 2007