! Started logfile: J1507+0415_X_2002_01_31_yyk_uvs.log on Wed Jun 27 10:59:13 2007
obs J1507+0415_X_2002_01_31_yyk_uva.fits
! Reading UV FITS file: J1507+0415_X_2002_01_31_yyk_uva.fits
! AN table 1: 106 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.578407 visibilities/baseline/integration-bin.
! Found source: J1507+0415
! 
! 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.40947e+09        8e+06          1        8e+06
!  02        2  8.47947e+09        8e+06          1        8e+06
!  03        3  8.79447e+09        8e+06          1        8e+06
!  04        4  8.89947e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1544 lines of history.
! 
! Reading 11036 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
flag NL
! Flagging baselines of antenna 1:NL in the currently selected channels.
![@muppet J1507+0415_X_2002_01_31_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.239696 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.6699 mas, bmaj=1.789 mas, bpa=4.381 degrees
! Estimated noise=997.403 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.169545 Jy
! Component: 100  -  total flux cleaned = 0.191705 Jy
! Total flux subtracted in 100 components = 0.191705 Jy
! Clean residual min=-0.008582 max=0.006723 Jy/beam
! Clean residual mean=-0.000004 rms=0.001842 Jy/beam
! Combined flux in latest and established models = 0.191705 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 5 components and 0.191705 Jy
! 
! Correcting IF 1.
!  A total of 391 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 391 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 391 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 391 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.137009Jy  sigma=0.001272
! Fit after  self-cal, rms=0.136840Jy  sigma=0.001270
! Inverting map and beam 
! Estimated beam: bmin=0.6699 mas, bmaj=1.789 mas, bpa=4.381 degrees
! Estimated noise=998.673 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.8302 mas, bmaj=2.088 mas, bpa=3.613 degrees
! Estimated noise=777.78 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.00624784 Jy
! Component: 100  -  total flux cleaned = 0.00657627 Jy
! Component: 150  -  total flux cleaned = 0.00669618 Jy
! Component: 200  -  total flux cleaned = 0.00638201 Jy
! Total flux subtracted in 200 components = 0.00638201 Jy
! Clean residual min=-0.008274 max=0.006079 Jy/beam
! Clean residual mean=0.000012 rms=0.001957 Jy/beam
! Combined flux in latest and established models = 0.198087 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 22 components and 0.198087 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.136496Jy  sigma=0.001267
! Fit after  self-cal, rms=0.136494Jy  sigma=0.001267
! 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.8302 x 2.088 at 3.613 degrees (North through East)
! Clean map  min=-0.0076437  max=0.19734 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.01347
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        0.94     HN        1.00*    KP        1.01     
!   LA        1.05     MK        1.00     NL        1.00*    OV        0.95     
!   PT        0.97     SC        1.02     
! 
! 
! Correcting IF 2.
!  A total of 51 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.02135
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        0.89     HN        1.00*    KP        0.96     
!   LA        1.10     MK        0.95     NL        1.00*    OV        0.90     
!   PT        1.04     SC        0.99     
! 
! 
! Correcting IF 3.
!  A total of 51 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.988209
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.85     HN        1.00*    KP        0.97     
!   LA        1.14     MK        1.00     NL        1.00*    OV        0.94     
!   PT        1.10     SC        1.09     
! 
! 
! Correcting IF 4.
!  A total of 51 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.974178
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.87     HN        1.00*    KP        1.08     
!   LA        1.11     MK        1.05     NL        1.00*    OV        0.97     
!   PT        1.17     SC        1.02     
! 
! 
! Fit before self-cal, rms=0.136494Jy  sigma=0.001267
! Fit after  self-cal, rms=0.134319Jy  sigma=0.001252
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.134319Jy  sigma=0.001252
! Fit after  self-cal, rms=0.134280Jy  sigma=0.001251
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8613 mas, bmaj=2.13 mas, bpa=3.238 degrees
! Estimated noise=780.002 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.000949958 Jy
! Component: 100  -  total flux cleaned = 0.00123282 Jy
! Component: 150  -  total flux cleaned = 0.00138248 Jy
! Component: 200  -  total flux cleaned = 0.00145136 Jy
! Total flux subtracted in 200 components = 0.00145136 Jy
! Clean residual min=-0.003871 max=0.003783 Jy/beam
! Clean residual mean=-0.000001 rms=0.000933 Jy/beam
! Combined flux in latest and established models = 0.199539 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 31 components and 0.199539 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.134256Jy  sigma=0.001251
! Fit after  self-cal, rms=0.134253Jy  sigma=0.001251
! 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.134253Jy  sigma=0.001251
! Fit after  self-cal, rms=0.126857Jy  sigma=0.001187
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.000389271 Jy
! Component: 100  -  total flux cleaned = -4.82202e-05 Jy
! Component: 150  -  total flux cleaned = -0.00023977 Jy
! Component: 200  -  total flux cleaned = -0.000313814 Jy
! Total flux subtracted in 200 components = -0.000313814 Jy
! Clean residual min=-0.003479 max=0.003052 Jy/beam
! Clean residual mean=-0.000001 rms=0.000836 Jy/beam
! Combined flux in latest and established models = 0.199225 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 37 components and 0.199225 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.126593Jy  sigma=0.001184
! Fit after  self-cal, rms=0.125700Jy  sigma=0.001177
! 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.8613 x 2.13 at 3.238 degrees (North through East)
! Clean map  min=-0.0031532  max=0.20156 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.125700Jy  sigma=0.001177
! Fit after  self-cal, rms=0.125666Jy  sigma=0.001173
! 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.125666Jy  sigma=0.001173
! Fit after  self-cal, rms=0.125412Jy  sigma=0.001171
! Inverting map and beam 
! Estimated beam: bmin=0.8505 mas, bmaj=2.119 mas, bpa=3.672 degrees
! Estimated noise=774.567 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000938168 Jy
! Component: 100  -  total flux cleaned = 0.00100629 Jy
! Component: 150  -  total flux cleaned = 0.00112646 Jy
! Component: 200  -  total flux cleaned = 0.00118145 Jy
! Total flux subtracted in 200 components = 0.00118145 Jy
! Clean residual min=-0.002775 max=0.002562 Jy/beam
! Clean residual mean=-0.000003 rms=0.000705 Jy/beam
! Combined flux in latest and established models = 0.200406 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 42 components and 0.200406 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.125392Jy  sigma=0.001171
! Fit after  self-cal, rms=0.125294Jy  sigma=0.001170
! 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.125294Jy  sigma=0.001170
! Fit after  self-cal, rms=0.125404Jy  sigma=0.001167
! 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.125404Jy  sigma=0.001167
! Fit after  self-cal, rms=0.125362Jy  sigma=0.001167
! Inverting map and beam 
! Estimated beam: bmin=0.8487 mas, bmaj=2.114 mas, bpa=3.734 degrees
! Estimated noise=776.187 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00112772 Jy
! Component: 100  -  total flux cleaned = 0.00134505 Jy
! Component: 150  -  total flux cleaned = 0.0013858 Jy
! Component: 200  -  total flux cleaned = 0.0014055 Jy
! Total flux subtracted in 200 components = 0.0014055 Jy
! Clean residual min=-0.002901 max=0.002657 Jy/beam
! Clean residual mean=-0.000003 rms=0.000704 Jy/beam
! Combined flux in latest and established models = 0.201812 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 43 components and 0.201812 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.125351Jy  sigma=0.001167
! Fit after  self-cal, rms=0.125334Jy  sigma=0.001167
! 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.548 mas, bmaj=4.499 mas, bpa=30.63 degrees
! Estimated noise=1013.33 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.000230704 Jy
! Component: 100  -  total flux cleaned = 0.000195788 Jy
! Component: 150  -  total flux cleaned = 0.000165692 Jy
! Component: 200  -  total flux cleaned = 0.000141167 Jy
! Total flux subtracted in 200 components = 0.000141167 Jy
! Clean residual min=-0.003017 max=0.002656 Jy/beam
! Clean residual mean=-0.000007 rms=0.000911 Jy/beam
! Combined flux in latest and established models = 0.201953 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 46 components and 0.201953 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.125335Jy  sigma=0.001167
! Fit after  self-cal, rms=0.125328Jy  sigma=0.001167
! 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.6687 mas, bmaj=1.785 mas, bpa=4.509 degrees
! Estimated noise=999.841 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.17382 Jy
! Component: 100  -  total flux cleaned = 0.196875 Jy
! Component: 150  -  total flux cleaned = 0.200213 Jy
! Component: 200  -  total flux cleaned = 0.200284 Jy
! Total flux subtracted in 200 components = 0.200284 Jy
! Clean residual min=-0.003542 max=0.004021 Jy/beam
! Clean residual mean=-0.000005 rms=0.000881 Jy/beam
! Combined flux in latest and established models = 0.200284 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 13 model components to the UV plane model.
! The established model now contains 13 components and 0.200284 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8487 mas, bmaj=2.114 mas, bpa=3.734 degrees
! Estimated noise=776.187 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.00209734 Jy
! Component: 100  -  total flux cleaned = 0.00239086 Jy
! Component: 150  -  total flux cleaned = 0.00250079 Jy
! Component: 200  -  total flux cleaned = 0.00249952 Jy
! Total flux subtracted in 200 components = 0.00249952 Jy
! Clean residual min=-0.002725 max=0.002835 Jy/beam
! Clean residual mean=-0.000003 rms=0.000717 Jy/beam
! Combined flux in latest and established models = 0.202783 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 22 components and 0.202783 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.548 mas, bmaj=4.499 mas, bpa=30.63 degrees
! Estimated noise=1013.33 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.000300332 Jy
! Component: 100  -  total flux cleaned = -0.000396701 Jy
! Component: 150  -  total flux cleaned = -0.000450635 Jy
! Component: 200  -  total flux cleaned = -0.000520511 Jy
! Total flux subtracted in 200 components = -0.000520511 Jy
! Clean residual min=-0.002957 max=0.002679 Jy/beam
! Clean residual mean=-0.000007 rms=0.000926 Jy/beam
! Combined flux in latest and established models = 0.202263 Jy
! Adding 4 model components to the UV plane model.
! The established model now contains 24 components and 0.202263 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8487 mas, bmaj=2.114 mas, bpa=3.734 degrees
! Estimated noise=776.187 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000303561 Jy
! Component: 100  -  total flux cleaned = 0.000367689 Jy
! Component: 150  -  total flux cleaned = 0.000392143 Jy
! Component: 200  -  total flux cleaned = 0.000390575 Jy
! Total flux subtracted in 200 components = 0.000390575 Jy
! Clean residual min=-0.002772 max=0.002700 Jy/beam
! Clean residual mean=-0.000003 rms=0.000709 Jy/beam
! Combined flux in latest and established models = 0.202653 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 32 components and 0.202653 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.125333Jy  sigma=0.001167
! Fit after  self-cal, rms=0.125324Jy  sigma=0.001167
wmodel J1507+0415_X_2002_01_31_yyk\_map.mod
! Writing 32 model components to file: J1507+0415_X_2002_01_31_yyk_map.mod
wobs J1507+0415_X_2002_01_31_yyk\_uvs.fits
! Applying 106 buffered edits.
! Writing UV FITS file: J1507+0415_X_2002_01_31_yyk_uvs.fits
wwins J1507+0415_X_2002_01_31_yyk\_map.win
! wwins: Wrote 1 windows to J1507+0415_X_2002_01_31_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.00031862 Jy
! Component: 100  -  total flux cleaned = -0.000713862 Jy
! Component: 150  -  total flux cleaned = -0.00112144 Jy
! Component: 200  -  total flux cleaned = -0.00119954 Jy
! Component: 250  -  total flux cleaned = -0.00105428 Jy
! Component: 300  -  total flux cleaned = -0.000913747 Jy
! Component: 350  -  total flux cleaned = -0.000709684 Jy
! Component: 400  -  total flux cleaned = -0.000512416 Jy
! Component: 450  -  total flux cleaned = -0.000353268 Jy
! Component: 500  -  total flux cleaned = -0.000197753 Jy
! Component: 550  -  total flux cleaned = 1.37485e-05 Jy
! Component: 600  -  total flux cleaned = 0.000160857 Jy
! Component: 650  -  total flux cleaned = 0.000275638 Jy
! Component: 700  -  total flux cleaned = 0.000332162 Jy
! Component: 750  -  total flux cleaned = 0.000415462 Jy
! Component: 800  -  total flux cleaned = 0.000550148 Jy
! Component: 850  -  total flux cleaned = 0.000681739 Jy
! Component: 900  -  total flux cleaned = 0.000681149 Jy
! Component: 950  -  total flux cleaned = 0.000731266 Jy
! Component: 1000  -  total flux cleaned = 0.000707137 Jy
! Component: 1050  -  total flux cleaned = 0.000732262 Jy
! Component: 1100  -  total flux cleaned = 0.000732182 Jy
! Component: 1150  -  total flux cleaned = 0.000778971 Jy
! Component: 1200  -  total flux cleaned = 0.000778391 Jy
! Component: 1250  -  total flux cleaned = 0.000755484 Jy
! Component: 1300  -  total flux cleaned = 0.000710592 Jy
! Component: 1350  -  total flux cleaned = 0.000732753 Jy
! Component: 1400  -  total flux cleaned = 0.000667299 Jy
! Component: 1450  -  total flux cleaned = 0.000710476 Jy
! Component: 1500  -  total flux cleaned = 0.00068934 Jy
! Component: 1550  -  total flux cleaned = 0.000648152 Jy
! Component: 1600  -  total flux cleaned = 0.000709918 Jy
! Component: 1650  -  total flux cleaned = 0.000750608 Jy
! Component: 1700  -  total flux cleaned = 0.000790259 Jy
! Component: 1750  -  total flux cleaned = 0.00079038 Jy
! Component: 1800  -  total flux cleaned = 0.000868089 Jy
! Component: 1850  -  total flux cleaned = 0.000867795 Jy
! Component: 1900  -  total flux cleaned = 0.000868026 Jy
! Component: 1950  -  total flux cleaned = 0.000942551 Jy
! Component: 2000  -  total flux cleaned = 0.000960999 Jy
! Total flux subtracted in 2048 components = 0.000997228 Jy
! Clean residual min=-0.001142 max=0.001103 Jy/beam
! Clean residual mean=-0.000002 rms=0.000337 Jy/beam
! Combined flux in latest and established models = 0.20365 Jy
keep
! Adding 124 model components to the UV plane model.
! The established model now contains 156 components and 0.20365 Jy
![Exited script file: muppet]
wmap "J1507+0415_X_2002_01_31_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8487 x 2.114 at 3.734 degrees (North through East)
! Clean map  min=-0.0019835  max=0.20004 Jy/beam
! Writing clean map to FITS file: J1507+0415_X_2002_01_31_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.200044 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000333518 
device "J1507+0415_X_2002_01_31_yyk\_map.eps/VPS"
! Attempting to open device: 'J1507+0415_X_2002_01_31_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.500167 0.500167 1.00033 2.00067 4.00133 8.00267 16.0053 32.0107 64.0213
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.001 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.2 
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.8487 x 2.114 at 3.734 degrees (North through East)
! Clean map  min=-0.0019835  max=0.20004 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1507+0415_X_2002_01_31_yyk\_map.gif/gif"
! Attempting to open device: 'J1507+0415_X_2002_01_31_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1507+0415_X_2002_01_31_yyk_uvs.log closed on Wed Jun 27 10:59:20 2007