! Started logfile: J1500+4751_X_2003_09_17_pus_uvs.log on Sat May 12 21:56:15 2007
obs J1500+4751_X_2003_09_17_pus_uva.fits
! Reading UV FITS file: J1500+4751_X_2003_09_17_pus_uva.fits
! AN table 1: 39 integrations on 120 of 120 possible baselines.
! AN table 2: 168 integrations on 120 of 120 possible baselines.
! AN table 3: 87 integrations on 120 of 120 possible baselines.
! AN table 4: 24 integrations on 120 of 120 possible baselines.
! AN table 5: 114 integrations on 120 of 120 possible baselines.
! AN table 6: 78 integrations on 120 of 120 possible baselines.
! Apparent sampling: 0.171209 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1500+4751
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! 
! 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.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1485 lines of history.
! 
! Reading 41912 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
float field_size
field_size = 256
float field_cell
field_cell = 0.2
float taper_size
taper_size = 70.
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 256x256 pixels with 0.200x0.200 milli-arcsec cellsize.
startmod
! Applying default point source starting model.
! Performing phase self-cal
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 432 telescope corrections were flagged in sub-array 1.
!  A total of 1192 telescope corrections were flagged in sub-array 2.
!  A total of 1010 telescope corrections were flagged in sub-array 3.
!  A total of 384 telescope corrections were flagged in sub-array 4.
!  A total of 1604 telescope corrections were flagged in sub-array 5.
!  A total of 875 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 2.
!  A total of 432 telescope corrections were flagged in sub-array 1.
!  A total of 1192 telescope corrections were flagged in sub-array 2.
!  A total of 1010 telescope corrections were flagged in sub-array 3.
!  A total of 384 telescope corrections were flagged in sub-array 4.
!  A total of 1604 telescope corrections were flagged in sub-array 5.
!  A total of 875 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 3.
!  A total of 432 telescope corrections were flagged in sub-array 1.
!  A total of 1192 telescope corrections were flagged in sub-array 2.
!  A total of 1013 telescope corrections were flagged in sub-array 3.
!  A total of 384 telescope corrections were flagged in sub-array 4.
!  A total of 1604 telescope corrections were flagged in sub-array 5.
!  A total of 875 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 4.
!  A total of 432 telescope corrections were flagged in sub-array 1.
!  A total of 1192 telescope corrections were flagged in sub-array 2.
!  A total of 1013 telescope corrections were flagged in sub-array 3.
!  A total of 384 telescope corrections were flagged in sub-array 4.
!  A total of 1604 telescope corrections were flagged in sub-array 5.
!  A total of 875 telescope corrections were flagged in sub-array 6.
! 
! Fit before self-cal, rms=0.867410Jy  sigma=0.007136
! Fit after  self-cal, rms=0.768675Jy  sigma=0.006275
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
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 
! Your choice of large map pixels excluded 1.26% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! Estimated beam: bmin=0.5732 mas, bmaj=0.8574 mas, bpa=20.97 degrees
! Estimated noise=974.302 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.198177 Jy
! Component: 100  -  total flux cleaned = 0.244879 Jy
! Total flux subtracted in 100 components = 0.244879 Jy
! Clean residual min=-0.007688 max=0.018320 Jy/beam
! Clean residual mean=0.000194 rms=0.002122 Jy/beam
! Combined flux in latest and established models = 0.244879 Jy
! Performing phase self-cal
! Adding 4 model components to the UV plane model.
! The established model now contains 4 components and 0.244879 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.213174Jy  sigma=0.001293
! Fit after  self-cal, rms=0.213119Jy  sigma=0.001292
! Inverting map 
! Your choice of large map pixels excluded 1.26% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0201149 Jy
! Component: 100  -  total flux cleaned = 0.0298774 Jy
! Total flux subtracted in 100 components = 0.0298774 Jy
! Clean residual min=-0.006406 max=0.010777 Jy/beam
! Clean residual mean=0.000092 rms=0.001615 Jy/beam
! Combined flux in latest and established models = 0.274756 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 10 components and 0.274756 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.210869Jy  sigma=0.001260
! Fit after  self-cal, rms=0.210804Jy  sigma=0.001260
! Inverting map 
! Your choice of large map pixels excluded 1.26% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! Added new window around map position (1, 0.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00963357 Jy
! Component: 100  -  total flux cleaned = 0.0152399 Jy
! Total flux subtracted in 100 components = 0.0152399 Jy
! Clean residual min=-0.005856 max=0.005873 Jy/beam
! Clean residual mean=0.000044 rms=0.001470 Jy/beam
! Combined flux in latest and established models = 0.289996 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 22 components and 0.289996 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.210259Jy  sigma=0.001252
! Fit after  self-cal, rms=0.210209Jy  sigma=0.001252
! Inverting map 
! Your choice of large map pixels excluded 1.26% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! 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 
! Your choice of large map pixels excluded 1.26% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! Estimated beam: bmin=0.6565 mas, bmaj=1.021 mas, bpa=20.87 degrees
! Estimated noise=434.714 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00705182 Jy
! Component: 100  -  total flux cleaned = 0.0105298 Jy
! Component: 150  -  total flux cleaned = 0.0122483 Jy
! Component: 200  -  total flux cleaned = 0.0125685 Jy
! Total flux subtracted in 200 components = 0.0125685 Jy
! Clean residual min=-0.004930 max=0.006370 Jy/beam
! Clean residual mean=0.000059 rms=0.001409 Jy/beam
! Combined flux in latest and established models = 0.302565 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 30 components and 0.302565 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.209997Jy  sigma=0.001249
! Fit after  self-cal, rms=0.209972Jy  sigma=0.001249
! Inverting map 
! Your choice of large map pixels excluded 1.26% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.93     GC        1.00*    HN        0.94     KP        1.03     
!   LA        0.89     MK        1.00*    NL        0.93     NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        0.97     SC        1.00*    
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        0.94     
! 
!  A total of 15 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   FD        1.02     GC        1.12     HN        1.00*    KP        1.06     
!   LA        1.00     MK        0.99     NL        1.11     NY        0.99     
!   ON        0.94     OV        0.96     PT        0.98     SC        1.00*    
!   TS        0.95     KK        1.07     WZ        1.04     WF        1.00*    
! 
!  A total of 66 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.93     GC        1.00*    HN        0.90     KP        0.99     
!   LA        0.98     MK        1.07     NL        0.99     NY        1.00*    
!   ON        1.00*    OV        1.05     PT        1.00     SC        0.98     
!   TS        1.00*    KK        0.98     WZ        1.00*    WF        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.00*    GC        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    KK        0.00*    WZ        0.00*    WF        0.00*    
! 
!  A total of 39 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   FD        1.01     GC        1.00*    HN        0.93     KP        1.03     
!   LA        0.93     MK        0.98     NL        1.04     NY        1.00*    
!   ON        1.00*    OV        1.03     PT        0.98     SC        0.96     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   FD        0.96     GC        1.00*    HN        0.99     KP        1.04     
!   LA        0.99     MK        1.00*    NL        1.03     NY        1.00*    
!   ON        1.00*    OV        0.96     PT        1.00     SC        0.93     
!   TS        0.94     KK        1.00*    WZ        1.00*    WF        1.04     
! 
! 
! Correcting IF 2.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.98     GC        1.00*    HN        0.96     KP        0.95     
!   LA        0.94     MK        1.00*    NL        0.95     NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        1.04     SC        1.00*    
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        0.91     
! 
!  A total of 15 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   FD        1.03     GC        1.20     HN        1.00*    KP        0.99     
!   LA        0.98     MK        1.00     NL        1.11     NY        1.00     
!   ON        0.98     OV        0.95     PT        1.05     SC        1.00*    
!   TS        0.97     KK        1.00     WZ        1.03     WF        1.00*    
! 
!  A total of 66 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.93     GC        1.00*    HN        0.94     KP        0.92     
!   LA        0.99     MK        1.03     NL        1.02     NY        1.00*    
!   ON        1.00*    OV        1.10     PT        1.02     SC        0.98     
!   TS        1.00*    KK        0.97     WZ        1.00*    WF        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.00*    GC        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    KK        0.00*    WZ        0.00*    WF        0.00*    
! 
!  A total of 39 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   FD        0.97     GC        1.00*    HN        0.97     KP        0.99     
!   LA        1.02     MK        0.97     NL        1.02     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        1.01     SC        0.93     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   FD        1.01     GC        1.00*    HN        0.93     KP        0.99     
!   LA        1.00     MK        1.00*    NL        1.07     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        1.01     SC        0.95     
!   TS        0.96     KK        1.00*    WZ        1.00*    WF        0.93     
! 
! 
! Correcting IF 3.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.97     GC        1.00*    HN        0.93     KP        0.93     
!   LA        0.92     MK        1.00*    NL        0.87     NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        1.00     SC        1.00*    
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.03     
! 
!  A total of 15 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.96     GC        1.08     HN        1.00*    KP        0.99     
!   LA        1.01     MK        0.98     NL        1.07     NY        1.01     
!   ON        0.98     OV        0.99     PT        1.04     SC        1.00*    
!   TS        0.99     KK        1.00     WZ        1.06     WF        1.00*    
! 
!  A total of 63 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.92     GC        1.00*    HN        0.90     KP        0.91     
!   LA        1.01     MK        0.98     NL        0.97     NY        1.00*    
!   ON        1.00*    OV        1.02     PT        1.07     SC        0.96     
!   TS        1.00*    KK        1.06     WZ        1.00*    WF        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.00*    GC        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    KK        0.00*    WZ        0.00*    WF        0.00*    
! 
!  A total of 39 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   FD        0.97     GC        1.00*    HN        0.93     KP        0.96     
!   LA        1.00     MK        0.97     NL        0.98     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        0.99     SC        0.98     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   FD        1.01     GC        1.00*    HN        0.98     KP        0.98     
!   LA        1.03     MK        1.00*    NL        1.01     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        1.03     SC        0.89     
!   TS        0.99     KK        1.00*    WZ        1.00*    WF        1.04     
! 
! 
! Correcting IF 4.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        1.04     GC        1.00*    HN        0.94     KP        0.95     
!   LA        0.95     MK        1.00*    NL        0.95     NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        0.99     SC        1.00*    
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        0.90     
! 
!  A total of 15 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   FD        1.00     GC        1.07     HN        1.00*    KP        0.97     
!   LA        1.00     MK        1.04     NL        1.07     NY        1.03     
!   ON        0.89     OV        1.00     PT        1.05     SC        1.00*    
!   TS        1.02     KK        1.02     WZ        1.06     WF        1.00*    
! 
!  A total of 63 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   FD        0.95     GC        1.00*    HN        0.89     KP        0.92     
!   LA        0.99     MK        1.04     NL        0.98     NY        1.00*    
!   ON        1.00*    OV        1.05     PT        1.04     SC        0.99     
!   TS        1.00*    KK        1.09     WZ        1.00*    WF        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   FD        0.00*    GC        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    KK        0.00*    WZ        0.00*    WF        0.00*    
! 
!  A total of 39 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   FD        0.99     GC        1.00*    HN        0.94     KP        0.99     
!   LA        0.95     MK        1.03     NL        0.98     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        1.02     SC        0.98     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   FD        1.00     GC        1.00*    HN        0.97     KP        0.98     
!   LA        0.96     MK        1.00*    NL        0.98     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        1.01     SC        0.93     
!   TS        0.97     KK        1.00*    WZ        1.00*    WF        0.99     
! 
! 
! Fit before self-cal, rms=0.209972Jy  sigma=0.001249
! Fit after  self-cal, rms=0.206886Jy  sigma=0.001241
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! Estimated beam: bmin=0.6558 mas, bmaj=1.02 mas, bpa=20.67 degrees
! Estimated noise=440.38 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (6.4, 2.6).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00508838 Jy
! Component: 100  -  total flux cleaned = 0.00730179 Jy
! Component: 150  -  total flux cleaned = 0.00768778 Jy
! Component: 200  -  total flux cleaned = 0.00794295 Jy
! Total flux subtracted in 200 components = 0.00794295 Jy
! Clean residual min=-0.002651 max=0.002250 Jy/beam
! Clean residual mean=-0.000105 rms=0.000693 Jy/beam
! Combined flux in latest and established models = 0.310508 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 46 components and 0.310508 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206747Jy  sigma=0.001240
! Fit after  self-cal, rms=0.206721Jy  sigma=0.001240
! Inverting map 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
selfcal true, true, soltime1
! Performing amp+phase self-cal over 120 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206721Jy  sigma=0.001240
! Fit after  self-cal, rms=0.206226Jy  sigma=0.001239
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! Estimated beam: bmin=0.6559 mas, bmaj=1.019 mas, bpa=20.74 degrees
! Estimated noise=440.398 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0024123 Jy
! Component: 100  -  total flux cleaned = 0.00307833 Jy
! Component: 150  -  total flux cleaned = 0.0033375 Jy
! Component: 200  -  total flux cleaned = 0.00351044 Jy
! Total flux subtracted in 200 components = 0.00351044 Jy
! Clean residual min=-0.002430 max=0.002075 Jy/beam
! Clean residual mean=-0.000079 rms=0.000625 Jy/beam
! Combined flux in latest and established models = 0.314018 Jy
selfcal
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 48 components and 0.314018 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206183Jy  sigma=0.001239
! Fit after  self-cal, rms=0.206179Jy  sigma=0.001239
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000696286 Jy
! Component: 100  -  total flux cleaned = 0.000815733 Jy
! Component: 150  -  total flux cleaned = 0.000816353 Jy
! Component: 200  -  total flux cleaned = 0.000848497 Jy
! Total flux subtracted in 200 components = 0.000848497 Jy
! Clean residual min=-0.002383 max=0.002045 Jy/beam
! Clean residual mean=-0.000096 rms=0.000612 Jy/beam
! Combined flux in latest and established models = 0.314867 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 52 components and 0.314867 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206163Jy  sigma=0.001239
! Fit after  self-cal, rms=0.206166Jy  sigma=0.001239
! Inverting map 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206166Jy  sigma=0.001239
! Fit after  self-cal, rms=0.206798Jy  sigma=0.001238
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! Estimated beam: bmin=0.6564 mas, bmaj=1.019 mas, bpa=20.78 degrees
! Estimated noise=441.331 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00137486 Jy
! Component: 100  -  total flux cleaned = 0.00167432 Jy
! Component: 150  -  total flux cleaned = 0.0017384 Jy
! Component: 200  -  total flux cleaned = 0.00179449 Jy
! Total flux subtracted in 200 components = 0.00179449 Jy
! Clean residual min=-0.002304 max=0.001979 Jy/beam
! Clean residual mean=-0.000063 rms=0.000594 Jy/beam
! Combined flux in latest and established models = 0.316661 Jy
selfcal
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 55 components and 0.316661 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206782Jy  sigma=0.001238
! Fit after  self-cal, rms=0.206782Jy  sigma=0.001238
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000305584 Jy
! Component: 100  -  total flux cleaned = 0.000362148 Jy
! Component: 150  -  total flux cleaned = 0.000362104 Jy
! Component: 200  -  total flux cleaned = 0.00038727 Jy
! Total flux subtracted in 200 components = 0.00038727 Jy
! Clean residual min=-0.002285 max=0.001958 Jy/beam
! Clean residual mean=-0.000072 rms=0.000588 Jy/beam
! Combined flux in latest and established models = 0.317048 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 59 components and 0.317048 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206773Jy  sigma=0.001238
! Fit after  self-cal, rms=0.206775Jy  sigma=0.001238
! Inverting map 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.2
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206775Jy  sigma=0.001238
! Fit after  self-cal, rms=0.207260Jy  sigma=0.001238
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! Estimated beam: bmin=2.553 mas, bmaj=3.48 mas, bpa=39.19 degrees
! Estimated noise=603.081 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0010178 Jy
! Component: 100  -  total flux cleaned = 0.00114816 Jy
! Component: 150  -  total flux cleaned = 0.00125038 Jy
! Component: 200  -  total flux cleaned = 0.00132989 Jy
! Total flux subtracted in 200 components = 0.00132989 Jy
! Clean residual min=-0.002773 max=0.001811 Jy/beam
! Clean residual mean=-0.000148 rms=0.000785 Jy/beam
! Combined flux in latest and established models = 0.318378 Jy
selfcal
! Performing phase self-cal
! Adding 6 model components to the UV plane model.
! The established model now contains 61 components and 0.318378 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.207263Jy  sigma=0.001238
! Fit after  self-cal, rms=0.207265Jy  sigma=0.001238
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000189163 Jy
! Component: 100  -  total flux cleaned = 0.000249941 Jy
! Component: 150  -  total flux cleaned = 0.000250305 Jy
! Component: 200  -  total flux cleaned = 0.000235704 Jy
! Total flux subtracted in 200 components = 0.000235705 Jy
! Clean residual min=-0.002695 max=0.001747 Jy/beam
! Clean residual mean=-0.000161 rms=0.000782 Jy/beam
! Combined flux in latest and established models = 0.318614 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 63 components and 0.318614 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.207269Jy  sigma=0.001238
! Fit after  self-cal, rms=0.207269Jy  sigma=0.001238
! Inverting map 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
win_mult = win_mult / 1.2
print "************** FINISHED AMPLITUDE SELF-CAL **************"
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
restore
! Inverting map and beam 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! Estimated beam: bmin=0.6568 mas, bmaj=1.02 mas, bpa=20.81 degrees
! Estimated noise=442.079 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6568 x 1.02 at 20.81 degrees (North through East)
! Clean map  min=-0.0019874  max=0.25374 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true
  clean clean_niter,clean_gain
  selfcal
  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
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true
  end if
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true
! clrmod: Cleared the established and tentative 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 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! Estimated beam: bmin=0.575 mas, bmaj=0.858 mas, bpa=20.84 degrees
! Estimated noise=1030.33 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.196232 Jy
! Component: 100  -  total flux cleaned = 0.243167 Jy
! Component: 150  -  total flux cleaned = 0.26433 Jy
! Component: 200  -  total flux cleaned = 0.277191 Jy
! Total flux subtracted in 200 components = 0.277191 Jy
! Clean residual min=-0.004391 max=0.006741 Jy/beam
! Clean residual mean=0.000101 rms=0.001283 Jy/beam
! Combined flux in latest and established models = 0.277191 Jy
uvw 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.27719 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! Estimated beam: bmin=0.6568 mas, bmaj=1.02 mas, bpa=20.81 degrees
! Estimated noise=442.079 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.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0134046 Jy
! Component: 100  -  total flux cleaned = 0.0215181 Jy
! Component: 150  -  total flux cleaned = 0.0271265 Jy
! Component: 200  -  total flux cleaned = 0.0311282 Jy
! Total flux subtracted in 200 components = 0.0311282 Jy
! Clean residual min=-0.002403 max=0.002975 Jy/beam
! Clean residual mean=0.000156 rms=0.000824 Jy/beam
! Combined flux in latest and established models = 0.308319 Jy
! Adding 34 model components to the UV plane model.
! The established model now contains 36 components and 0.308319 Jy
! Inverting map 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! Estimated beam: bmin=2.553 mas, bmaj=3.48 mas, bpa=39.19 degrees
! Estimated noise=603.081 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00532717 Jy
! Component: 100  -  total flux cleaned = 0.00785444 Jy
! Component: 150  -  total flux cleaned = 0.00914491 Jy
! Component: 200  -  total flux cleaned = 0.00982289 Jy
! Total flux subtracted in 200 components = 0.00982289 Jy
! Clean residual min=-0.002711 max=0.001793 Jy/beam
! Clean residual mean=-0.000140 rms=0.000819 Jy/beam
! Combined flux in latest and established models = 0.318141 Jy
flux_cutoff = imstat(rms) * dynam
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.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000170004 Jy
! Component: 100  -  total flux cleaned = 0.000224349 Jy
! Component: 150  -  total flux cleaned = 0.000271622 Jy
! Component: 200  -  total flux cleaned = 0.000303562 Jy
! Total flux subtracted in 200 components = 0.000303562 Jy
! Clean residual min=-0.002684 max=0.001700 Jy/beam
! Clean residual mean=-0.000156 rms=0.000798 Jy/beam
! Combined flux in latest and established models = 0.318445 Jy
! Adding 30 model components to the UV plane model.
! The established model now contains 61 components and 0.318445 Jy
! Inverting map 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! Estimated beam: bmin=0.6568 mas, bmaj=1.02 mas, bpa=20.81 degrees
! Estimated noise=442.079 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000663555 Jy
! Component: 100  -  total flux cleaned = -0.000709651 Jy
! Component: 150  -  total flux cleaned = -0.000709316 Jy
! Component: 200  -  total flux cleaned = -0.000672281 Jy
! Total flux subtracted in 200 components = -0.000672281 Jy
! Clean residual min=-0.002206 max=0.001953 Jy/beam
! Clean residual mean=-0.000047 rms=0.000595 Jy/beam
! Combined flux in latest and established models = 0.317773 Jy
selfcal
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 69 components and 0.317773 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.207300Jy  sigma=0.001238
! Fit after  self-cal, rms=0.207288Jy  sigma=0.001238
wmodel J1500+4751_X_2003_09_17_pus_map.mod
! Writing 69 model components to file: J1500+4751_X_2003_09_17_pus_map.mod
wobs J1500+4751_X_2003_09_17_pus_uvs.fits
! Writing UV FITS file: J1500+4751_X_2003_09_17_pus_uvs.fits
wwins J1500+4751_X_2003_09_17_pus_map.win
! wwins: Wrote 3 windows to J1500+4751_X_2003_09_17_pus_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.00101248 Jy
! Component: 100  -  total flux cleaned = -0.00137272 Jy
! Component: 150  -  total flux cleaned = -0.00150768 Jy
! Component: 200  -  total flux cleaned = -0.00150709 Jy
! Component: 250  -  total flux cleaned = -0.00150635 Jy
! Component: 300  -  total flux cleaned = -0.0014757 Jy
! Component: 350  -  total flux cleaned = -0.00150531 Jy
! Component: 400  -  total flux cleaned = -0.00147626 Jy
! Component: 450  -  total flux cleaned = -0.00141976 Jy
! Component: 500  -  total flux cleaned = -0.00144715 Jy
! Component: 550  -  total flux cleaned = -0.00141973 Jy
! Component: 600  -  total flux cleaned = -0.00139316 Jy
! Component: 650  -  total flux cleaned = -0.00141896 Jy
! Component: 700  -  total flux cleaned = -0.00139348 Jy
! Component: 750  -  total flux cleaned = -0.00141875 Jy
! Component: 800  -  total flux cleaned = -0.00141889 Jy
! Component: 850  -  total flux cleaned = -0.00144324 Jy
! Component: 900  -  total flux cleaned = -0.00144323 Jy
! Component: 950  -  total flux cleaned = -0.00151395 Jy
! Component: 1000  -  total flux cleaned = -0.0015139 Jy
! Total flux subtracted in 1024 components = -0.00156002 Jy
! Clean residual min=-0.001339 max=0.001152 Jy/beam
! Clean residual mean=-0.000014 rms=0.000437 Jy/beam
! Combined flux in latest and established models = 0.316213 Jy
keep
! Adding 70 model components to the UV plane model.
! The established model now contains 139 components and 0.316213 Jy
wmap "J1500+4751_X_2003_09_17_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6568 x 1.02 at 20.81 degrees (North through East)
! Clean map  min=-0.0015601  max=0.25337 Jy/beam
! Writing clean map to FITS file: J1500+4751_X_2003_09_17_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.25337 
invert
! Inverting map 
! Your choice of large map pixels excluded 1.24% of the data.
!  The x-axis pixel size should ideally be below 0.1591 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000435824 
device "J1500+4751_X_2003_09_17_pus\_map.eps/VPS"
! Attempting to open device: 'J1500+4751_X_2003_09_17_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.516033 0.516033 1.03207 2.06413 4.12827 8.25653 16.5131 33.0261 66.0523
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0013 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.253 
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.6568 x 1.02 at 20.81 degrees (North through East)
! Clean map  min=-0.0015601  max=0.25337 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1500+4751_X_2003_09_17_pus\_map.gif/vgif"
! Attempting to open device: 'J1500+4751_X_2003_09_17_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1500+4751_X_2003_09_17_pus_uvs.log closed on Sat May 12 21:57:39 2007