! Started logfile: J1130+3815_X_2003_05_07_pus_uvs.log on Thu Dec 14 15:28:31 2006
obs J1130+3815_X_2003_05_07_pus_uva.fits
! Reading UV FITS file: J1130+3815_X_2003_05_07_pus_uva.fits
! AN table 1: 113 integrations on 171 of 171 possible baselines.
! AN table 2: 31 integrations on 171 of 171 possible baselines.
! AN table 3: 46 integrations on 171 of 171 possible baselines.
! AN table 4: 114 integrations on 171 of 171 possible baselines.
! AN table 5: 105 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.0891491 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1130+3815
! 
! 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 1739 lines of history.
! 
! Reading 24940 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 1539 telescope corrections were flagged in sub-array 1.
!  A total of 438 telescope corrections were flagged in sub-array 2.
!  A total of 815 telescope corrections were flagged in sub-array 3.
!  A total of 1857 telescope corrections were flagged in sub-array 4.
!  A total of 1391 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 1539 telescope corrections were flagged in sub-array 1.
!  A total of 438 telescope corrections were flagged in sub-array 2.
!  A total of 785 telescope corrections were flagged in sub-array 3.
!  A total of 1810 telescope corrections were flagged in sub-array 4.
!  A total of 1391 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 1542 telescope corrections were flagged in sub-array 1.
!  A total of 438 telescope corrections were flagged in sub-array 2.
!  A total of 788 telescope corrections were flagged in sub-array 3.
!  A total of 1813 telescope corrections were flagged in sub-array 4.
!  A total of 1388 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 1539 telescope corrections were flagged in sub-array 1.
!  A total of 438 telescope corrections were flagged in sub-array 2.
!  A total of 788 telescope corrections were flagged in sub-array 3.
!  A total of 1810 telescope corrections were flagged in sub-array 4.
!  A total of 1391 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=0.718232Jy  sigma=0.006105
! Fit after  self-cal, rms=0.280941Jy  sigma=0.001865
! 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 2.44% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Estimated beam: bmin=0.5228 mas, bmaj=0.9333 mas, bpa=-4.919 degrees
! Estimated noise=1106.8 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.663226 Jy
! Component: 100  -  total flux cleaned = 0.832852 Jy
! Total flux subtracted in 100 components = 0.832852 Jy
! Clean residual min=-0.019215 max=0.070851 Jy/beam
! Clean residual mean=0.000260 rms=0.007113 Jy/beam
! Combined flux in latest and established models = 0.832852 Jy
! Performing phase self-cal
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 0.832852 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.276118Jy  sigma=0.002121
! Fit after  self-cal, rms=0.275933Jy  sigma=0.002121
! Inverting map 
! Your choice of large map pixels excluded 2.44% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0783275 Jy
! Component: 100  -  total flux cleaned = 0.125579 Jy
! Total flux subtracted in 100 components = 0.125579 Jy
! Clean residual min=-0.017654 max=0.024591 Jy/beam
! Clean residual mean=0.000202 rms=0.004585 Jy/beam
! Combined flux in latest and established models = 0.958432 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 13 components and 0.958432 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.239127Jy  sigma=0.001579
! Fit after  self-cal, rms=0.238870Jy  sigma=0.001578
! Inverting map 
! Your choice of large map pixels excluded 2.44% of the data.
!  The x-axis pixel size should ideally be below 0.1562 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 2.44% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Estimated beam: bmin=0.7677 mas, bmaj=1.384 mas, bpa=-6.629 degrees
! Estimated noise=535.68 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.0504243 Jy
! Component: 100  -  total flux cleaned = 0.0714081 Jy
! Component: 150  -  total flux cleaned = 0.0806799 Jy
! Component: 200  -  total flux cleaned = 0.0849089 Jy
! Total flux subtracted in 200 components = 0.0849089 Jy
! Clean residual min=-0.009555 max=0.016022 Jy/beam
! Clean residual mean=0.000515 rms=0.003396 Jy/beam
! Combined flux in latest and established models = 1.04334 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 23 components and 1.04334 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.231955Jy  sigma=0.001445
! Fit after  self-cal, rms=0.231849Jy  sigma=0.001445
! Inverting map 
! Your choice of large map pixels excluded 2.44% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 45 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.02     GG        1.00*    HN        1.00*    
!   KK        1.11     KP        1.07     LA        0.95     MA        0.94     
!   MC        0.96     MK        0.97     NL        1.05     ON        1.06     
!   OV        0.97     PT        0.97     SC        1.00*    TC        1.00*    
!   TS        1.12     WF        1.00*    WZ        0.93     
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        1.03     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.12     LA        1.00     MA        1.11     
!   MC        1.22     MK        1.00*    NL        1.09     ON        1.01     
!   OV        0.97     PT        0.98     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.01     
! 
!  A total of 15 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.00*    LA        1.00*    MA        1.06     
!   MC        1.00*    MK        1.00*    NL        1.00*    ON        0.99     
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        0.89     WF        1.00*    WZ        1.02     
! 
!  A total of 75 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.03     FD        1.09     GG        1.00*    HN        0.92     
!   KK        1.00*    KP        1.00*    LA        1.04     MA        1.00     
!   MC        0.95     MK        1.00*    NL        1.10     ON        1.00     
!   OV        1.00*    PT        1.10     SC        0.98     TC        1.00*    
!   TS        1.00*    WF        0.98     WZ        1.02     
! 
!  A total of 93 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.96     FD        0.99     GG        1.00*    HN        0.96     
!   KK        1.08     KP        1.08     LA        0.96     MA        1.13     
!   MC        1.05     MK        0.98     NL        1.07     ON        0.99     
!   OV        0.97     PT        0.97     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.08     WZ        0.88     
! 
! 
! Correcting IF 2.
!  A total of 45 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.02     GG        1.00*    HN        1.00*    
!   KK        1.10     KP        1.00     LA        0.96     MA        0.99     
!   MC        0.92     MK        0.99     NL        1.01     ON        1.03     
!   OV        0.96     PT        1.01     SC        1.00*    TC        1.00*    
!   TS        1.10     WF        1.00*    WZ        0.98     
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        1.02     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.04     LA        1.00     MA        1.03     
!   MC        1.10     MK        1.00*    NL        1.05     ON        1.02     
!   OV        0.96     PT        1.05     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.13     
! 
!  A total of 45 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.00*    LA        1.00*    MA        0.97     
!   MC        1.00*    MK        1.00*    NL        1.00*    ON        0.95     
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        0.93     WF        1.00*    WZ        1.02     
! 
!  A total of 78 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.02     FD        1.08     GG        1.00*    HN        0.94     
!   KK        1.00*    KP        1.00*    LA        1.07     MA        0.98     
!   MC        0.93     MK        0.98     NL        1.04     ON        1.00     
!   OV        1.00*    PT        1.15     SC        0.93     TC        1.00*    
!   TS        1.31     WF        1.03     WZ        1.04     
! 
!  A total of 93 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.96     FD        0.98     GG        1.00*    HN        0.96     
!   KK        1.03     KP        1.02     LA        0.96     MA        1.13     
!   MC        1.02     MK        1.00     NL        1.03     ON        0.97     
!   OV        0.96     PT        1.01     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.11     WZ        0.89     
! 
! 
! Correcting IF 3.
!  A total of 42 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.01     GG        1.00*    HN        1.00*    
!   KK        1.19     KP        0.93     LA        0.96     MA        1.02     
!   MC        0.85     MK        0.99     NL        0.99     ON        1.01     
!   OV        1.00     PT        1.03     SC        1.00*    TC        1.00*    
!   TS        1.11     WF        1.00*    WZ        0.96     
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.04     FD        1.01     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        0.97     LA        1.00     MA        1.11     
!   MC        1.08     MK        1.00*    NL        1.04     ON        1.05     
!   OV        1.00     PT        1.05     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.02     
! 
!  A total of 42 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.00*    LA        1.00*    MA        0.98     
!   MC        1.00*    MK        1.00*    NL        1.00*    ON        1.01     
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        0.91     WF        1.00*    WZ        0.98     
! 
!  A total of 75 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.06     FD        1.09     GG        1.00*    HN        0.94     
!   KK        1.00*    KP        1.00*    LA        1.06     MA        0.92     
!   MC        0.98     MK        0.97     NL        1.02     ON        1.05     
!   OV        1.00*    PT        1.16     SC        0.94     TC        1.00*    
!   TS        1.36     WF        0.97     WZ        1.02     
! 
!  A total of 96 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00     FD        0.96     GG        1.00*    HN        0.96     
!   KK        1.10     KP        0.95     LA        0.97     MA        1.11     
!   MC        1.02     MK        0.99     NL        1.00     ON        0.96     
!   OV        0.99     PT        1.04     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.04     WZ        0.87     
! 
! 
! Correcting IF 4.
!  A total of 45 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.97     GG        1.00*    HN        1.00*    
!   KK        1.14     KP        0.99     LA        0.95     MA        1.02     
!   MC        0.84     MK        1.03     NL        0.99     ON        1.05     
!   OV        0.99     PT        1.03     SC        1.00*    TC        1.00*    
!   TS        1.11     WF        1.00*    WZ        0.95     
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     FD        0.98     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.06     LA        0.98     MA        1.05     
!   MC        1.16     MK        1.00*    NL        1.03     ON        1.08     
!   OV        0.97     PT        1.06     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.01     
! 
!  A total of 42 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.00*    LA        1.00*    MA        1.12     
!   MC        1.00*    MK        1.00*    NL        1.00*    ON        1.00     
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        0.83     WF        1.00*    WZ        1.07     
! 
!  A total of 78 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.03     FD        1.04     GG        1.00*    HN        0.97     
!   KK        1.00*    KP        1.00*    LA        1.02     MA        1.00     
!   MC        0.88     MK        0.89     NL        1.03     ON        1.07     
!   OV        1.00*    PT        1.17     SC        0.99     TC        1.00*    
!   TS        1.38     WF        0.93     WZ        1.03     
! 
!  A total of 93 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.99     FD        0.94     GG        1.00*    HN        0.99     
!   KK        1.04     KP        1.00     LA        0.94     MA        1.12     
!   MC        1.47     MK        1.02     NL        1.02     ON        0.98     
!   OV        1.00     PT        1.04     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.03     WZ        0.88     
! 
! 
! Fit before self-cal, rms=0.231849Jy  sigma=0.001445
! Fit after  self-cal, rms=0.225141Jy  sigma=0.001323
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Estimated beam: bmin=0.769 mas, bmaj=1.415 mas, bpa=-6.821 degrees
! Estimated noise=542.745 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.00327154 Jy
! Component: 100  -  total flux cleaned = -0.0037627 Jy
! Component: 150  -  total flux cleaned = -0.00397052 Jy
! Component: 200  -  total flux cleaned = -0.00415912 Jy
! Total flux subtracted in 200 components = -0.00415912 Jy
! Clean residual min=-0.006818 max=0.011194 Jy/beam
! Clean residual mean=0.000442 rms=0.002481 Jy/beam
! Combined flux in latest and established models = 1.03918 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 31 components and 1.03918 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.224972Jy  sigma=0.001321
! Fit after  self-cal, rms=0.225085Jy  sigma=0.001320
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 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.225085Jy  sigma=0.001320
! Fit after  self-cal, rms=0.220854Jy  sigma=0.001250
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Estimated beam: bmin=0.7706 mas, bmaj=1.415 mas, bpa=-6.579 degrees
! Estimated noise=542.314 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00124003 Jy
! Component: 100  -  total flux cleaned = -0.00159192 Jy
! Component: 150  -  total flux cleaned = -0.00195184 Jy
! Component: 200  -  total flux cleaned = -0.00217052 Jy
! Total flux subtracted in 200 components = -0.00217052 Jy
! Clean residual min=-0.002905 max=0.004409 Jy/beam
! Clean residual mean=0.000188 rms=0.000969 Jy/beam
! Combined flux in latest and established models = 1.03701 Jy
selfcal
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 33 components and 1.03701 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.220714Jy  sigma=0.001248
! Fit after  self-cal, rms=0.220732Jy  sigma=0.001248
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 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)
! Added new window around map position (-1, -1.6).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00292249 Jy
! Component: 100  -  total flux cleaned = 0.00281901 Jy
! Component: 150  -  total flux cleaned = 0.00264151 Jy
! Component: 200  -  total flux cleaned = 0.00255825 Jy
! Total flux subtracted in 200 components = 0.00255825 Jy
! Clean residual min=-0.003165 max=0.003344 Jy/beam
! Clean residual mean=0.000162 rms=0.000871 Jy/beam
! Combined flux in latest and established models = 1.03957 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 45 components and 1.03957 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.220603Jy  sigma=0.001246
! Fit after  self-cal, rms=0.220576Jy  sigma=0.001246
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 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.220576Jy  sigma=0.001246
! Fit after  self-cal, rms=0.221086Jy  sigma=0.001246
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Estimated beam: bmin=0.7717 mas, bmaj=1.417 mas, bpa=-6.583 degrees
! Estimated noise=542.048 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 8.09675e-05 Jy
! Component: 100  -  total flux cleaned = -0.000131943 Jy
! Component: 150  -  total flux cleaned = -0.000137249 Jy
! Component: 200  -  total flux cleaned = -0.000206449 Jy
! Total flux subtracted in 200 components = -0.000206449 Jy
! Clean residual min=-0.002532 max=0.003246 Jy/beam
! Clean residual mean=0.000150 rms=0.000799 Jy/beam
! Combined flux in latest and established models = 1.03936 Jy
selfcal
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 49 components and 1.03936 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.220988Jy  sigma=0.001245
! Fit after  self-cal, rms=0.220969Jy  sigma=0.001244
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 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.000378823 Jy
! Component: 100  -  total flux cleaned = 0.000234967 Jy
! Component: 150  -  total flux cleaned = 0.000235698 Jy
! Component: 200  -  total flux cleaned = 0.000236185 Jy
! Total flux subtracted in 200 components = 0.000236185 Jy
! Clean residual min=-0.002590 max=0.003265 Jy/beam
! Clean residual mean=0.000148 rms=0.000776 Jy/beam
! Combined flux in latest and established models = 1.0396 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 57 components and 1.0396 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.220914Jy  sigma=0.001244
! Fit after  self-cal, rms=0.220902Jy  sigma=0.001244
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 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.220902Jy  sigma=0.001244
! Fit after  self-cal, rms=0.221220Jy  sigma=0.001244
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Estimated beam: bmin=2.577 mas, bmaj=3.173 mas, bpa=27.25 degrees
! Estimated noise=649.758 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -1.60649e-05 Jy
! Component: 100  -  total flux cleaned = 8.38942e-05 Jy
! Component: 150  -  total flux cleaned = 0.000236257 Jy
! Component: 200  -  total flux cleaned = 0.000325433 Jy
! Total flux subtracted in 200 components = 0.000325433 Jy
! Clean residual min=-0.001856 max=0.003434 Jy/beam
! Clean residual mean=0.000271 rms=0.000795 Jy/beam
! Combined flux in latest and established models = 1.03992 Jy
selfcal
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 70 components and 1.03992 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221187Jy  sigma=0.001243
! Fit after  self-cal, rms=0.221178Jy  sigma=0.001243
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 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)
! Added new window around map position (-7.2, 2.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00351177 Jy
! Component: 100  -  total flux cleaned = 0.00534949 Jy
! Component: 150  -  total flux cleaned = 0.00592683 Jy
! Component: 200  -  total flux cleaned = 0.00622574 Jy
! Total flux subtracted in 200 components = 0.00622574 Jy
! Clean residual min=-0.001795 max=0.001888 Jy/beam
! Clean residual mean=0.000092 rms=0.000536 Jy/beam
! Combined flux in latest and established models = 1.04615 Jy
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 99 components and 1.04615 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221131Jy  sigma=0.001243
! Fit after  self-cal, rms=0.221125Jy  sigma=0.001243
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 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 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Estimated beam: bmin=0.7728 mas, bmaj=1.418 mas, bpa=-6.555 degrees
! Estimated noise=541.673 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7728 x 1.418 at -6.555 degrees (North through East)
! Clean map  min=-0.0019782  max=0.92071 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
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221125Jy  sigma=0.001243
! Fit after  self-cal, rms=0.487725Jy  sigma=0.001135
! Inverting map and beam 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Estimated beam: bmin=0.7726 mas, bmaj=1.418 mas, bpa=-6.55 degrees
! Estimated noise=541.138 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00100865 Jy
! Component: 100  -  total flux cleaned = 0.00127193 Jy
! Component: 150  -  total flux cleaned = 0.0015878 Jy
! Component: 200  -  total flux cleaned = 0.00173692 Jy
! Total flux subtracted in 200 components = 0.00173692 Jy
! Clean residual min=-0.001937 max=0.002601 Jy/beam
! Clean residual mean=0.000074 rms=0.000600 Jy/beam
! Combined flux in latest and established models = 1.04789 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 121 components and 1.04789 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.487685Jy  sigma=0.001134
! Fit after  self-cal, rms=0.487688Jy  sigma=0.001134
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Added new window around map position (8.4, 0.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00125958 Jy
! Component: 100  -  total flux cleaned = 0.0016258 Jy
! Component: 150  -  total flux cleaned = 0.00195942 Jy
! Component: 200  -  total flux cleaned = 0.00208777 Jy
! Total flux subtracted in 200 components = 0.00208777 Jy
! Clean residual min=-0.001946 max=0.002069 Jy/beam
! Clean residual mean=0.000049 rms=0.000575 Jy/beam
! Combined flux in latest and established models = 1.04998 Jy
! Performing phase self-cal
! Adding 41 model components to the UV plane model.
! The established model now contains 140 components and 1.04998 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.487649Jy  sigma=0.001133
! Fit after  self-cal, rms=0.487656Jy  sigma=0.001133
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.487656Jy  sigma=0.001133
! Fit after  self-cal, rms=0.485590Jy  sigma=0.001133
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 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Estimated beam: bmin=0.5247 mas, bmaj=0.9613 mas, bpa=-4.671 degrees
! Estimated noise=1129.24 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.673026 Jy
! Component: 100  -  total flux cleaned = 0.840043 Jy
! Component: 150  -  total flux cleaned = 0.913482 Jy
! Component: 200  -  total flux cleaned = 0.956061 Jy
! Total flux subtracted in 200 components = 0.956061 Jy
! Clean residual min=-0.007955 max=0.021891 Jy/beam
! Clean residual mean=0.000084 rms=0.002522 Jy/beam
! Combined flux in latest and established models = 0.956061 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 15 model components to the UV plane model.
! The established model now contains 15 components and 0.956061 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Estimated beam: bmin=0.773 mas, bmaj=1.419 mas, bpa=-6.526 degrees
! Estimated noise=541.136 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.0444955 Jy
! Component: 100  -  total flux cleaned = 0.0633493 Jy
! Component: 150  -  total flux cleaned = 0.072452 Jy
! Component: 200  -  total flux cleaned = 0.0777046 Jy
! Total flux subtracted in 200 components = 0.0777046 Jy
! Clean residual min=-0.002539 max=0.003142 Jy/beam
! Clean residual mean=0.000239 rms=0.000817 Jy/beam
! Combined flux in latest and established models = 1.03377 Jy
! Adding 42 model components to the UV plane model.
! The established model now contains 47 components and 1.03377 Jy
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 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 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Estimated beam: bmin=2.575 mas, bmaj=3.171 mas, bpa=27.16 degrees
! Estimated noise=649.315 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00514888 Jy
! Component: 100  -  total flux cleaned = 0.00838023 Jy
! Component: 150  -  total flux cleaned = 0.0106128 Jy
! Component: 200  -  total flux cleaned = 0.0122126 Jy
! Total flux subtracted in 200 components = 0.0122126 Jy
! Clean residual min=-0.001345 max=0.001532 Jy/beam
! Clean residual mean=0.000189 rms=0.000492 Jy/beam
! Combined flux in latest and established models = 1.04598 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.00082303 Jy
! Component: 100  -  total flux cleaned = 0.00144753 Jy
! Component: 150  -  total flux cleaned = 0.00186963 Jy
! Component: 200  -  total flux cleaned = 0.00229253 Jy
! Total flux subtracted in 200 components = 0.00229253 Jy
! Clean residual min=-0.001366 max=0.001377 Jy/beam
! Clean residual mean=0.000136 rms=0.000439 Jy/beam
! Combined flux in latest and established models = 1.04827 Jy
! Adding 73 model components to the UV plane model.
! The established model now contains 111 components and 1.04827 Jy
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! Estimated beam: bmin=0.773 mas, bmaj=1.419 mas, bpa=-6.526 degrees
! Estimated noise=541.136 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000852954 Jy
! Component: 100  -  total flux cleaned = 0.00109685 Jy
! Component: 150  -  total flux cleaned = 0.00131722 Jy
! Component: 200  -  total flux cleaned = 0.00131719 Jy
! Total flux subtracted in 200 components = 0.00131719 Jy
! Clean residual min=-0.002106 max=0.001980 Jy/beam
! Clean residual mean=0.000056 rms=0.000560 Jy/beam
! Combined flux in latest and established models = 1.04959 Jy
selfcal
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 132 components and 1.04959 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.485526Jy  sigma=0.001133
! Fit after  self-cal, rms=0.485479Jy  sigma=0.001133
wmodel J1130+3815_X_2003_05_07_pus_map.mod
! Writing 132 model components to file: J1130+3815_X_2003_05_07_pus_map.mod
wobs J1130+3815_X_2003_05_07_pus_uvs.fits
! Writing UV FITS file: J1130+3815_X_2003_05_07_pus_uvs.fits
wwins J1130+3815_X_2003_05_07_pus_map.win
! wwins: Wrote 4 windows to J1130+3815_X_2003_05_07_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 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 5.6107e-05 Jy
! Component: 100  -  total flux cleaned = -4.66648e-05 Jy
! Component: 150  -  total flux cleaned = -8.04838e-05 Jy
! Component: 200  -  total flux cleaned = 1.44746e-05 Jy
! Component: 250  -  total flux cleaned = 7.49961e-05 Jy
! Component: 300  -  total flux cleaned = -4.55107e-05 Jy
! Component: 350  -  total flux cleaned = -4.52191e-05 Jy
! Component: 400  -  total flux cleaned = -7.41564e-05 Jy
! Component: 450  -  total flux cleaned = -4.58295e-05 Jy
! Component: 500  -  total flux cleaned = -4.62939e-05 Jy
! Component: 550  -  total flux cleaned = -4.62406e-05 Jy
! Component: 600  -  total flux cleaned = 7.97685e-06 Jy
! Component: 650  -  total flux cleaned = 8.03088e-06 Jy
! Component: 700  -  total flux cleaned = -4.47563e-05 Jy
! Component: 750  -  total flux cleaned = 3.38136e-05 Jy
! Component: 800  -  total flux cleaned = 3.35606e-05 Jy
! Component: 850  -  total flux cleaned = 3.37759e-05 Jy
! Component: 900  -  total flux cleaned = 5.92501e-05 Jy
! Component: 950  -  total flux cleaned = 0.000134319 Jy
! Component: 1000  -  total flux cleaned = 0.000109355 Jy
! Total flux subtracted in 1024 components = 0.000134095 Jy
! Clean residual min=-0.001308 max=0.001600 Jy/beam
! Clean residual mean=0.000061 rms=0.000483 Jy/beam
! Combined flux in latest and established models = 1.04972 Jy
keep
! Adding 69 model components to the UV plane model.
! The established model now contains 198 components and 1.04972 Jy
wmap "J1130+3815_X_2003_05_07_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.773 x 1.419 at -6.526 degrees (North through East)
! Clean map  min=-0.0017996  max=0.91911 Jy/beam
! Writing clean map to FITS file: J1130+3815_X_2003_05_07_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.919114 
invert
! Inverting map 
! Your choice of large map pixels excluded 2.41% of the data.
!  The x-axis pixel size should ideally be below 0.1562 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000483311 
device "J1130+3815_X_2003_05_07_pus\_map.eps/VPS"
! Attempting to open device: 'J1130+3815_X_2003_05_07_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.157753 0.157753 0.315507 0.631014 1.26203 2.52406 5.04811 10.0962 20.1924 40.3849 80.7698
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.919 
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.773 x 1.419 at -6.526 degrees (North through East)
! Clean map  min=-0.0017996  max=0.91911 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1130+3815_X_2003_05_07_pus\_map.gif/vgif"
! Attempting to open device: 'J1130+3815_X_2003_05_07_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1130+3815_X_2003_05_07_pus_uvs.log closed on Thu Dec 14 15:30:17 2006