! Started logfile: J0433+0521_X_2001_10_29_pus_uvs.log on Mon Feb 25 16:07:52 2008
obs J0433+0521_X_2001_10_29_pus_uva.fits
! Reading UV FITS file: J0433+0521_X_2001_10_29_pus_uva.fits
! AN table 1: 29 integrations on 153 of 153 possible baselines.
! AN table 2: 14 integrations on 153 of 153 possible baselines.
! AN table 3: 161 integrations on 153 of 153 possible baselines.
! AN table 4: 32 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.179849 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0433+0521
! 
! 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 1970 lines of history.
! 
! Reading 25976 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
print "field_size =",field_size
! field_size = 256 
print "field_cell =",field_cell
! field_cell = 0.2 
print "taper_size =",taper_size
! taper_size = 70 
![@muppet J0433+0521_X_2001_10_29_pus]
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 447 telescope corrections were flagged in sub-array 1.
!  A total of 158 telescope corrections were flagged in sub-array 2.
!  A total of 1592 telescope corrections were flagged in sub-array 3.
!  A total of 396 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 447 telescope corrections were flagged in sub-array 1.
!  A total of 158 telescope corrections were flagged in sub-array 2.
!  A total of 1592 telescope corrections were flagged in sub-array 3.
!  A total of 396 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 447 telescope corrections were flagged in sub-array 1.
!  A total of 158 telescope corrections were flagged in sub-array 2.
!  A total of 1592 telescope corrections were flagged in sub-array 3.
!  A total of 396 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 447 telescope corrections were flagged in sub-array 1.
!  A total of 158 telescope corrections were flagged in sub-array 2.
!  A total of 1592 telescope corrections were flagged in sub-array 3.
!  A total of 396 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.962713Jy  sigma=0.008524
! Fit after  self-cal, rms=0.763429Jy  sigma=0.007066
! 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 4.13% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Estimated beam: bmin=0.5205 mas, bmaj=1.353 mas, bpa=-4.764 degrees
! Estimated noise=1012.98 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.351015 Jy
! Component: 100  -  total flux cleaned = 0.509108 Jy
! Total flux subtracted in 100 components = 0.509108 Jy
! Clean residual min=-0.054632 max=0.169868 Jy/beam
! Clean residual mean=0.005384 rms=0.021816 Jy/beam
! Combined flux in latest and established models = 0.509108 Jy
! Performing phase self-cal
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 0.509108 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.608201Jy  sigma=0.005975
! Fit after  self-cal, rms=0.607457Jy  sigma=0.005969
! Inverting map 
! Your choice of large map pixels excluded 4.13% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Added new window around map position (1, 0.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.153597 Jy
! Component: 100  -  total flux cleaned = 0.249987 Jy
! Total flux subtracted in 100 components = 0.249987 Jy
! Clean residual min=-0.046937 max=0.144447 Jy/beam
! Clean residual mean=0.004509 rms=0.018681 Jy/beam
! Combined flux in latest and established models = 0.759094 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 14 components and 0.759094 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.524301Jy  sigma=0.005113
! Fit after  self-cal, rms=0.516573Jy  sigma=0.005040
! Inverting map 
! Your choice of large map pixels excluded 4.13% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Added new window around map position (-2.8, -2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.145056 Jy
! Component: 100  -  total flux cleaned = 0.241204 Jy
! Total flux subtracted in 100 components = 0.241204 Jy
! Clean residual min=-0.042129 max=0.122243 Jy/beam
! Clean residual mean=0.003666 rms=0.015395 Jy/beam
! Combined flux in latest and established models = 1.0003 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 23 components and 1.0003 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.440162Jy  sigma=0.004247
! Fit after  self-cal, rms=0.430155Jy  sigma=0.004151
! Inverting map 
! Your choice of large map pixels excluded 4.13% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Added new window around map position (-2, -1.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.124407 Jy
! Component: 100  -  total flux cleaned = 0.205725 Jy
! Total flux subtracted in 100 components = 0.205725 Jy
! Clean residual min=-0.033468 max=0.073616 Jy/beam
! Clean residual mean=0.002906 rms=0.012125 Jy/beam
! Combined flux in latest and established models = 1.20602 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 29 components and 1.20602 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.364513Jy  sigma=0.003473
! Fit after  self-cal, rms=0.356314Jy  sigma=0.003396
! Inverting map 
! Your choice of large map pixels excluded 4.13% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0846042 Jy
! Component: 100  -  total flux cleaned = 0.145844 Jy
! Total flux subtracted in 100 components = 0.145844 Jy
! Clean residual min=-0.028446 max=0.063200 Jy/beam
! Clean residual mean=0.002363 rms=0.010044 Jy/beam
! Combined flux in latest and established models = 1.35187 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 32 components and 1.35187 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.316690Jy  sigma=0.002978
! Fit after  self-cal, rms=0.313764Jy  sigma=0.002952
! Inverting map 
! Your choice of large map pixels excluded 4.13% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Added new window around map position (-3.8, -1.6).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0675478 Jy
! Component: 100  -  total flux cleaned = 0.119117 Jy
! Total flux subtracted in 100 components = 0.119117 Jy
! Clean residual min=-0.024427 max=0.053591 Jy/beam
! Clean residual mean=0.001960 rms=0.008728 Jy/beam
! Combined flux in latest and established models = 1.47098 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 38 components and 1.47098 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.284644Jy  sigma=0.002646
! Fit after  self-cal, rms=0.283624Jy  sigma=0.002638
! Inverting map 
! Your choice of large map pixels excluded 4.13% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Added new window around map position (-1, -0.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0533197 Jy
! Component: 100  -  total flux cleaned = 0.0915328 Jy
! Total flux subtracted in 100 components = 0.0915328 Jy
! Clean residual min=-0.023624 max=0.053418 Jy/beam
! Clean residual mean=0.001634 rms=0.007763 Jy/beam
! Combined flux in latest and established models = 1.56252 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 50 components and 1.56252 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.263104Jy  sigma=0.002421
! Fit after  self-cal, rms=0.262577Jy  sigma=0.002416
! Inverting map 
! Your choice of large map pixels excluded 4.13% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Added new window around map position (-6.2, -2.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0512183 Jy
! Component: 100  -  total flux cleaned = 0.0805872 Jy
! Total flux subtracted in 100 components = 0.0805872 Jy
! Clean residual min=-0.021526 max=0.029549 Jy/beam
! Clean residual mean=0.001467 rms=0.006839 Jy/beam
! Combined flux in latest and established models = 1.6431 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 64 components and 1.6431 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.244860Jy  sigma=0.002212
! Fit after  self-cal, rms=0.244001Jy  sigma=0.002205
! Inverting map 
! Your choice of large map pixels excluded 4.13% of the data.
!  The x-axis pixel size should ideally be below 0.1605 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 4.13% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Estimated beam: bmin=0.6507 mas, bmaj=1.754 mas, bpa=-6.183 degrees
! Estimated noise=481.446 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.0691329 Jy
! Component: 100  -  total flux cleaned = 0.121848 Jy
! Component: 150  -  total flux cleaned = 0.16443 Jy
! Component: 200  -  total flux cleaned = 0.198933 Jy
! Total flux subtracted in 200 components = 0.198933 Jy
! Clean residual min=-0.020983 max=0.047342 Jy/beam
! Clean residual mean=0.004654 rms=0.010129 Jy/beam
! Combined flux in latest and established models = 1.84204 Jy
! Performing phase self-cal
! Adding 35 model components to the UV plane model.
! The established model now contains 80 components and 1.84204 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.217478Jy  sigma=0.001873
! Fit after  self-cal, rms=0.215369Jy  sigma=0.001853
! Inverting map 
! Your choice of large map pixels excluded 4.13% of the data.
!  The x-axis pixel size should ideally be below 0.1605 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:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        1.04     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MA        0.95     MC        0.97     MK        1.00*    NL        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        1.02     
!   WF        1.00*    WZ        1.26     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.04     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.00*    KK        0.94     KP        1.16     LA        1.04     
!   MA        1.00*    MC        1.00*    MK        1.00     NL        1.00*    
!   OV        1.07     PT        0.95     SC        1.00*    TS        0.95     
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.95     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.00     KK        0.97     KP        1.02     LA        0.94     
!   MA        1.00*    MC        1.17     MK        0.91     NL        1.09     
!   OV        0.99     PT        0.92     SC        0.98     TS        0.95     
!   WF        0.85     WZ        1.15     
! 
!  A total of 33 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        1.17     
!   HN        0.99     KK        1.00*    KP        1.00*    LA        1.04     
!   MA        1.06     MC        0.87     MK        1.00*    NL        1.26     
!   OV        1.00*    PT        1.10     SC        0.98     TS        1.00*    
!   WF        0.85     WZ        0.90     
! 
! 
! Correcting IF 2.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        0.99     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MA        0.90     MC        1.07     MK        1.00*    NL        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        0.97     
!   WF        1.00*    WZ        1.23     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.03     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.04     KP        1.14     LA        1.05     
!   MA        1.00*    MC        1.00*    MK        0.97     NL        1.00*    
!   OV        1.07     PT        0.96     SC        1.00*    TS        0.93     
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.97     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        0.99     KK        1.00     KP        1.03     LA        0.92     
!   MA        1.00*    MC        1.27     MK        0.91     NL        1.05     
!   OV        0.99     PT        0.91     SC        0.95     TS        1.00     
!   WF        0.85     WZ        1.06     
! 
!  A total of 33 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        1.25     
!   HN        0.99     KK        1.00*    KP        1.00*    LA        1.00     
!   MA        1.10     MC        0.89     MK        1.00*    NL        1.23     
!   OV        1.00*    PT        1.09     SC        0.93     TS        1.00*    
!   WF        0.84     WZ        0.87     
! 
! 
! Correcting IF 3.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        0.78     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MA        0.86     MC        1.04     MK        1.00*    NL        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        1.17     
!   WF        1.00*    WZ        1.18     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.03     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.00*    KK        0.97     KP        1.17     LA        1.05     
!   MA        1.00*    MC        1.00*    MK        1.00     NL        1.00*    
!   OV        1.07     PT        0.99     SC        1.00*    TS        0.91     
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.95     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.02     KK        0.99     KP        1.03     LA        0.97     
!   MA        1.00*    MC        1.24     MK        0.93     NL        1.07     
!   OV        0.98     PT        0.93     SC        0.98     TS        0.96     
!   WF        0.89     WZ        1.13     
! 
!  A total of 33 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        1.24     
!   HN        1.01     KK        1.00*    KP        1.00*    LA        1.08     
!   MA        1.13     MC        0.88     MK        1.00*    NL        1.32     
!   OV        1.00*    PT        1.12     SC        0.96     TS        1.00*    
!   WF        0.91     WZ        1.36     
! 
! 
! Correcting IF 4.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        0.95     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MA        1.01     MC        1.02     MK        1.00*    NL        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        1.23     
!   WF        1.00*    WZ        1.27     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.06     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00     KP        1.17     LA        1.04     
!   MA        1.00*    MC        1.00*    MK        1.04     NL        1.00*    
!   OV        1.06     PT        0.99     SC        1.00*    TS        1.02     
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.98     FD        1.00*    GG        1.00*    HH        1.00*    
!   HN        1.04     KK        1.00     KP        1.06     LA        0.96     
!   MA        1.00*    MC        1.26     MK        0.98     NL        1.07     
!   OV        0.98     PT        0.93     SC        1.03     TS        0.98     
!   WF        0.88     WZ        1.05     
! 
!  A total of 33 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GG        1.00*    HH        1.39     
!   HN        1.06     KK        1.00*    KP        1.00*    LA        1.05     
!   MA        1.08     MC        0.87     MK        1.00*    NL        1.38     
!   OV        1.00*    PT        1.10     SC        1.02     TS        1.00*    
!   WF        0.90     WZ        0.89     
! 
! 
! Fit before self-cal, rms=0.215369Jy  sigma=0.001853
! Fit after  self-cal, rms=0.201207Jy  sigma=0.001684
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Estimated beam: bmin=0.6534 mas, bmaj=1.807 mas, bpa=-6.557 degrees
! Estimated noise=468.72 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 (-7.4, -2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0284676 Jy
! Component: 100  -  total flux cleaned = 0.0434985 Jy
! Component: 150  -  total flux cleaned = 0.0565271 Jy
! Component: 200  -  total flux cleaned = 0.0672754 Jy
! Total flux subtracted in 200 components = 0.0672754 Jy
! Clean residual min=-0.014416 max=0.030129 Jy/beam
! Clean residual mean=0.001015 rms=0.006158 Jy/beam
! Combined flux in latest and established models = 1.90931 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 107 components and 1.90931 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190660Jy  sigma=0.001531
! Fit after  self-cal, rms=0.189301Jy  sigma=0.001515
! Inverting map 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 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.189301Jy  sigma=0.001515
! Fit after  self-cal, rms=0.183320Jy  sigma=0.001446
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Estimated beam: bmin=0.65 mas, bmaj=1.804 mas, bpa=-6.411 degrees
! Estimated noise=462.159 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00225344 Jy
! Component: 100  -  total flux cleaned = 0.00509665 Jy
! Component: 150  -  total flux cleaned = 0.0124716 Jy
! Component: 200  -  total flux cleaned = 0.0183137 Jy
! Total flux subtracted in 200 components = 0.0183137 Jy
! Clean residual min=-0.012226 max=0.021998 Jy/beam
! Clean residual mean=0.001121 rms=0.004524 Jy/beam
! Combined flux in latest and established models = 1.92763 Jy
selfcal
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 118 components and 1.92763 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.179538Jy  sigma=0.001394
! Fit after  self-cal, rms=0.178790Jy  sigma=0.001385
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 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.0044249 Jy
! Component: 100  -  total flux cleaned = 0.00995747 Jy
! Component: 150  -  total flux cleaned = 0.0155042 Jy
! Component: 200  -  total flux cleaned = 0.0202438 Jy
! Total flux subtracted in 200 components = 0.0202438 Jy
! Clean residual min=-0.010390 max=0.017687 Jy/beam
! Clean residual mean=0.000872 rms=0.003879 Jy/beam
! Combined flux in latest and established models = 1.94787 Jy
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 124 components and 1.94787 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.176748Jy  sigma=0.001357
! Fit after  self-cal, rms=0.176259Jy  sigma=0.001352
! Inverting map 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 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.176259Jy  sigma=0.001352
! Fit after  self-cal, rms=0.174821Jy  sigma=0.001347
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Estimated beam: bmin=0.6507 mas, bmaj=1.806 mas, bpa=-6.381 degrees
! Estimated noise=458.648 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000202739 Jy
! Component: 100  -  total flux cleaned = 0.00478983 Jy
! Component: 150  -  total flux cleaned = 0.00975158 Jy
! Component: 200  -  total flux cleaned = 0.013428 Jy
! Total flux subtracted in 200 components = 0.013428 Jy
! Clean residual min=-0.008798 max=0.015601 Jy/beam
! Clean residual mean=0.000805 rms=0.003390 Jy/beam
! Combined flux in latest and established models = 1.9613 Jy
selfcal
! Performing phase self-cal
! Adding 34 model components to the UV plane model.
! The established model now contains 134 components and 1.9613 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.173283Jy  sigma=0.001326
! Fit after  self-cal, rms=0.172944Jy  sigma=0.001322
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 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 (-8.8, -2.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0127944 Jy
! Component: 100  -  total flux cleaned = 0.0179289 Jy
! Component: 150  -  total flux cleaned = 0.0221992 Jy
! Component: 200  -  total flux cleaned = 0.0260408 Jy
! Total flux subtracted in 200 components = 0.0260408 Jy
! Clean residual min=-0.008210 max=0.012018 Jy/beam
! Clean residual mean=0.000545 rms=0.002883 Jy/beam
! Combined flux in latest and established models = 1.98734 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 149 components and 1.98734 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.171251Jy  sigma=0.001301
! Fit after  self-cal, rms=0.170970Jy  sigma=0.001298
! Inverting map 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 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.170970Jy  sigma=0.001298
! Fit after  self-cal, rms=0.169925Jy  sigma=0.001295
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Estimated beam: bmin=2.058 mas, bmaj=3.24 mas, bpa=-5.443 degrees
! Estimated noise=645.965 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0152758 Jy
! Component: 100  -  total flux cleaned = 0.020493 Jy
! Component: 150  -  total flux cleaned = 0.0243088 Jy
! Component: 200  -  total flux cleaned = 0.0271045 Jy
! Total flux subtracted in 200 components = 0.0271045 Jy
! Clean residual min=-0.010105 max=0.014772 Jy/beam
! Clean residual mean=0.001163 rms=0.004168 Jy/beam
! Combined flux in latest and established models = 2.01444 Jy
selfcal
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 168 components and 2.01444 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.169647Jy  sigma=0.001287
! Fit after  self-cal, rms=0.169384Jy  sigma=0.001283
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 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.00350093 Jy
! Component: 100  -  total flux cleaned = 0.00593025 Jy
! Component: 150  -  total flux cleaned = 0.0080029 Jy
! Component: 200  -  total flux cleaned = 0.00959789 Jy
! Total flux subtracted in 200 components = 0.00959789 Jy
! Clean residual min=-0.010647 max=0.011112 Jy/beam
! Clean residual mean=0.000771 rms=0.003678 Jy/beam
! Combined flux in latest and established models = 2.02404 Jy
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 184 components and 2.02404 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.169364Jy  sigma=0.001282
! Fit after  self-cal, rms=0.169228Jy  sigma=0.001281
! Inverting map 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 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 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Estimated beam: bmin=0.6513 mas, bmaj=1.809 mas, bpa=-6.398 degrees
! Estimated noise=457.508 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6513 x 1.809 at -6.398 degrees (North through East)
! Clean map  min=-0.0078587  max=0.36699 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 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Estimated beam: bmin=0.523 mas, bmaj=1.38 mas, bpa=-4.743 degrees
! Estimated noise=998.28 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.352985 Jy
! Component: 100  -  total flux cleaned = 0.593786 Jy
! Component: 150  -  total flux cleaned = 0.773681 Jy
! Component: 200  -  total flux cleaned = 0.914338 Jy
! Total flux subtracted in 200 components = 0.914338 Jy
! Clean residual min=-0.035704 max=0.082610 Jy/beam
! Clean residual mean=0.003333 rms=0.014217 Jy/beam
! Combined flux in latest and established models = 0.914339 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.914339 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Estimated beam: bmin=0.6513 mas, bmaj=1.809 mas, bpa=-6.398 degrees
! Estimated noise=457.508 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.209237 Jy
! Component: 100  -  total flux cleaned = 0.362255 Jy
! Component: 150  -  total flux cleaned = 0.481764 Jy
! Component: 200  -  total flux cleaned = 0.577232 Jy
! Total flux subtracted in 200 components = 0.577232 Jy
! Clean residual min=-0.027669 max=0.057026 Jy/beam
! Clean residual mean=0.006738 rms=0.015333 Jy/beam
! Combined flux in latest and established models = 1.49157 Jy
! Adding 42 model components to the UV plane model.
! The established model now contains 47 components and 1.49157 Jy
! Inverting map 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 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 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Estimated beam: bmin=2.058 mas, bmaj=3.24 mas, bpa=-5.443 degrees
! Estimated noise=645.965 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.171094 Jy
! Component: 100  -  total flux cleaned = 0.27857 Jy
! Component: 150  -  total flux cleaned = 0.350391 Jy
! Component: 200  -  total flux cleaned = 0.400422 Jy
! Total flux subtracted in 200 components = 0.400422 Jy
! Clean residual min=-0.019721 max=0.029525 Jy/beam
! Clean residual mean=0.005493 rms=0.009759 Jy/beam
! Combined flux in latest and established models = 1.89199 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.0354962 Jy
! Component: 100  -  total flux cleaned = 0.0610844 Jy
! Component: 150  -  total flux cleaned = 0.0799933 Jy
! Component: 200  -  total flux cleaned = 0.0941439 Jy
! Total flux subtracted in 200 components = 0.0941439 Jy
! Clean residual min=-0.011057 max=0.013716 Jy/beam
! Clean residual mean=0.002276 rms=0.004520 Jy/beam
! Combined flux in latest and established models = 1.98614 Jy
! Adding 105 model components to the UV plane model.
! The established model now contains 133 components and 1.98614 Jy
! Inverting map 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! Estimated beam: bmin=0.6513 mas, bmaj=1.809 mas, bpa=-6.398 degrees
! Estimated noise=457.508 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0143052 Jy
! Component: 100  -  total flux cleaned = 0.0194749 Jy
! Component: 150  -  total flux cleaned = 0.022053 Jy
! Component: 200  -  total flux cleaned = 0.0233765 Jy
! Total flux subtracted in 200 components = 0.0233765 Jy
! Clean residual min=-0.010253 max=0.009407 Jy/beam
! Clean residual mean=0.000433 rms=0.002717 Jy/beam
! Combined flux in latest and established models = 2.00951 Jy
selfcal
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 158 components and 2.00951 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.175700Jy  sigma=0.001315
! Fit after  self-cal, rms=0.172716Jy  sigma=0.001300
wmodel J0433+0521_X_2001_10_29_pus_map.mod
! Writing 158 model components to file: J0433+0521_X_2001_10_29_pus_map.mod
wobs J0433+0521_X_2001_10_29_pus_uvs.fits
! Writing UV FITS file: J0433+0521_X_2001_10_29_pus_uvs.fits
wwins J0433+0521_X_2001_10_29_pus_map.win
! wwins: Wrote 9 windows to J0433+0521_X_2001_10_29_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 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00435839 Jy
! Component: 100  -  total flux cleaned = 0.00613144 Jy
! Component: 150  -  total flux cleaned = 0.00653844 Jy
! Component: 200  -  total flux cleaned = 0.0070471 Jy
! Component: 250  -  total flux cleaned = 0.00802233 Jy
! Component: 300  -  total flux cleaned = 0.00873004 Jy
! Component: 350  -  total flux cleaned = 0.00987297 Jy
! Component: 400  -  total flux cleaned = 0.01065 Jy
! Component: 450  -  total flux cleaned = 0.0116286 Jy
! Component: 500  -  total flux cleaned = 0.0122678 Jy
! Component: 550  -  total flux cleaned = 0.0132049 Jy
! Component: 600  -  total flux cleaned = 0.0139171 Jy
! Component: 650  -  total flux cleaned = 0.0144142 Jy
! Component: 700  -  total flux cleaned = 0.0149028 Jy
! Component: 750  -  total flux cleaned = 0.0155738 Jy
! Component: 800  -  total flux cleaned = 0.016137 Jy
! Component: 850  -  total flux cleaned = 0.0166918 Jy
! Component: 900  -  total flux cleaned = 0.0173291 Jy
! Component: 950  -  total flux cleaned = 0.0178662 Jy
! Component: 1000  -  total flux cleaned = 0.0184827 Jy
! Total flux subtracted in 1024 components = 0.0188305 Jy
! Clean residual min=-0.004575 max=0.004686 Jy/beam
! Clean residual mean=0.000198 rms=0.001742 Jy/beam
! Combined flux in latest and established models = 2.02834 Jy
keep
! Adding 81 model components to the UV plane model.
! The established model now contains 233 components and 2.02834 Jy
![Exited script file: muppet]
wmap "J0433+0521_X_2001_10_29_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6513 x 1.809 at -6.398 degrees (North through East)
! Clean map  min=-0.0057285  max=0.35006 Jy/beam
! Writing clean map to FITS file: J0433+0521_X_2001_10_29_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.350065 
invert
! Inverting map 
! Your choice of large map pixels excluded 4% of the data.
!  The x-axis pixel size should ideally be below 0.1605 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00173936 
device "J0433+0521_X_2001_10_29_pus\_map.eps/VPS"
! Attempting to open device: 'J0433+0521_X_2001_10_29_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.4906 1.4906 2.9812 5.9624 11.9248 23.8496 47.6992 95.3985
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0052 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.35 
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.6513 x 1.809 at -6.398 degrees (North through East)
! Clean map  min=-0.0057285  max=0.35006 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0433+0521_X_2001_10_29_pus\_map.gif/vgif"
! Attempting to open device: 'J0433+0521_X_2001_10_29_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0433+0521_X_2001_10_29_pus_uvs.log closed on Mon Feb 25 16:08:03 2008