! Started logfile: J2359+3850_X_2011_06_28_pus_uvs.log on Sat Apr 21 13:11:07 2012 obs J2359+3850_X_2011_06_28_pus_uva.fits ! Reading UV FITS file: J2359+3850_X_2011_06_28_pus_uva.fits ! AN table 1: 428 integrations on 153 of 153 possible baselines. ! AN table 2: 33 integrations on 153 of 153 possible baselines. ! AN table 3: 27 integrations on 153 of 153 possible baselines. ! AN table 4: 118 integrations on 153 of 153 possible baselines. ! Apparent sampling: 0.249369 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J2359+3850 ! ! 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 5249 lines of history. ! ! Reading 92484 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 = 512 print "field_cell =",field_cell ! field_cell = 0.2 print "taper_size =",taper_size ! taper_size = 70 ![@muppet J2359+3850_X_2011_06_28_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 = 512x512 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 3440 telescope corrections were flagged in sub-array 1. ! A total of 594 telescope corrections were flagged in sub-array 2. ! A total of 486 telescope corrections were flagged in sub-array 3. ! A total of 1861 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 2. ! A total of 3440 telescope corrections were flagged in sub-array 1. ! A total of 594 telescope corrections were flagged in sub-array 2. ! A total of 486 telescope corrections were flagged in sub-array 3. ! A total of 1861 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 3. ! A total of 3440 telescope corrections were flagged in sub-array 1. ! A total of 594 telescope corrections were flagged in sub-array 2. ! A total of 486 telescope corrections were flagged in sub-array 3. ! A total of 1861 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 4. ! A total of 3440 telescope corrections were flagged in sub-array 1. ! A total of 594 telescope corrections were flagged in sub-array 2. ! A total of 486 telescope corrections were flagged in sub-array 3. ! A total of 1861 telescope corrections were flagged in sub-array 4. ! ! Fit before self-cal, rms=0.718075Jy sigma=0.006506 ! Fit after self-cal, rms=0.634951Jy sigma=0.005724 ! 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 5.46% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! Estimated beam: bmin=0.502 mas, bmaj=0.8919 mas, bpa=3.781 degrees ! Estimated noise=592.603 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.311614 Jy ! Component: 100 - total flux cleaned = 0.405034 Jy ! Total flux subtracted in 100 components = 0.405034 Jy ! Clean residual min=-0.009021 max=0.042281 Jy/beam ! Clean residual mean=-0.000013 rms=0.002479 Jy/beam ! Combined flux in latest and established models = 0.405034 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 8 components and 0.405034 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.204562Jy sigma=0.001582 ! Fit after self-cal, rms=0.204557Jy sigma=0.001581 ! Inverting map ! Your choice of large map pixels excluded 5.46% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0461999 Jy ! Component: 100 - total flux cleaned = 0.0691141 Jy ! Total flux subtracted in 100 components = 0.0691141 Jy ! Clean residual min=-0.006030 max=0.010724 Jy/beam ! Clean residual mean=-0.000004 rms=0.001462 Jy/beam ! Combined flux in latest and established models = 0.474148 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 10 components and 0.474148 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.194104Jy sigma=0.001427 ! Fit after self-cal, rms=0.194108Jy sigma=0.001427 ! Inverting map ! Your choice of large map pixels excluded 5.46% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0130044 Jy ! Component: 100 - total flux cleaned = 0.0212784 Jy ! Total flux subtracted in 100 components = 0.0212784 Jy ! Clean residual min=-0.005496 max=0.005886 Jy/beam ! Clean residual mean=-0.000002 rms=0.001338 Jy/beam ! Combined flux in latest and established models = 0.495426 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 14 components and 0.495426 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.193187Jy sigma=0.001411 ! Fit after self-cal, rms=0.193179Jy sigma=0.001411 ! Inverting map ! Your choice of large map pixels excluded 5.46% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 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 5.46% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! Estimated beam: bmin=0.6043 mas, bmaj=1.046 mas, bpa=2.295 degrees ! Estimated noise=261.268 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.4, -2.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00809782 Jy ! Component: 100 - total flux cleaned = 0.0135668 Jy ! Component: 150 - total flux cleaned = 0.0175978 Jy ! Component: 200 - total flux cleaned = 0.0198553 Jy ! Total flux subtracted in 200 components = 0.0198553 Jy ! Clean residual min=-0.004207 max=0.004354 Jy/beam ! Clean residual mean=-0.000038 rms=0.001000 Jy/beam ! Combined flux in latest and established models = 0.515282 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 32 components and 0.515282 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.192784Jy sigma=0.001404 ! Fit after self-cal, rms=0.192758Jy sigma=0.001404 ! Inverting map ! Your choice of large map pixels excluded 5.46% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 150 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 FD 1.00 FT 1.00* HH 1.61 ! HN 1.00 KK 1.17 KP 1.01 MC 1.01 ! MK 1.00 NL 0.99 NY 1.03 OV 0.95 ! PT 0.98 SC 0.96 SH 0.97 TS 0.97 ! WF 1.03 WZ 0.96 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KK 0.00* KP 0.00* MC 0.00* ! MK 0.00* NL 0.00* NY 0.00* OV 0.00* ! PT 0.00* SC 0.00* SH 0.00* TS 0.00* ! WF 0.00* WZ 0.00* ! ! Telescope amplitude corrections in sub-array 3: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KK 0.00* KP 0.00* MC 0.00* ! MK 0.00* NL 0.00* NY 0.00* OV 0.00* ! PT 0.00* SC 0.00* SH 0.00* TS 0.00* ! WF 0.00* WZ 0.00* ! ! A total of 45 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 0.94 FD 0.98 FT 1.00* HH 1.00* ! HN 0.96 KK 1.00* KP 0.98 MC 1.00* ! MK 1.00* NL 0.97 NY 1.00* OV 0.95 ! PT 0.93 SC 0.99 SH 1.00* TS 1.00* ! WF 1.02 WZ 1.00* ! ! ! Correcting IF 2. ! A total of 150 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 0.97 FT 1.00* HH 1.68 ! HN 1.01 KK 1.10 KP 0.98 MC 1.01 ! MK 0.99 NL 1.02 NY 0.99 OV 0.98 ! PT 1.00 SC 1.01 SH 1.04 TS 1.00 ! WF 0.99 WZ 0.96 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KK 0.00* KP 0.00* MC 0.00* ! MK 0.00* NL 0.00* NY 0.00* OV 0.00* ! PT 0.00* SC 0.00* SH 0.00* TS 0.00* ! WF 0.00* WZ 0.00* ! ! Telescope amplitude corrections in sub-array 3: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KK 0.00* KP 0.00* MC 0.00* ! MK 0.00* NL 0.00* NY 0.00* OV 0.00* ! PT 0.00* SC 0.00* SH 0.00* TS 0.00* ! WF 0.00* WZ 0.00* ! ! A total of 45 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 0.98 FD 0.88 FT 1.00* HH 1.00* ! HN 0.99 KK 1.00* KP 0.99 MC 1.00* ! MK 1.00* NL 1.02 NY 1.00* OV 0.97 ! PT 0.97 SC 1.02 SH 1.00* TS 1.00* ! WF 1.00 WZ 1.00* ! ! ! Correcting IF 3. ! A total of 150 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.01 FT 1.00* HH 1.83 ! HN 1.01 KK 1.19 KP 0.99 MC 1.02 ! MK 0.96 NL 0.98 NY 0.99 OV 0.99 ! PT 0.99 SC 1.02 SH 0.89 TS 1.00 ! WF 1.03 WZ 0.96 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KK 0.00* KP 0.00* MC 0.00* ! MK 0.00* NL 0.00* NY 0.00* OV 0.00* ! PT 0.00* SC 0.00* SH 0.00* TS 0.00* ! WF 0.00* WZ 0.00* ! ! Telescope amplitude corrections in sub-array 3: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KK 0.00* KP 0.00* MC 0.00* ! MK 0.00* NL 0.00* NY 0.00* OV 0.00* ! PT 0.00* SC 0.00* SH 0.00* TS 0.00* ! WF 0.00* WZ 0.00* ! ! A total of 45 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 0.97 FD 0.95 FT 1.00* HH 1.00* ! HN 0.99 KK 1.00* KP 0.98 MC 1.00* ! MK 1.00* NL 0.98 NY 1.00* OV 1.00 ! PT 0.96 SC 1.01 SH 1.00* TS 1.00* ! WF 1.03 WZ 1.00* ! ! ! Correcting IF 4. ! A total of 150 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 FD 1.01 FT 1.00* HH 1.64 ! HN 1.02 KK 1.19 KP 0.97 MC 1.01 ! MK 1.04 NL 1.00 NY 1.01 OV 1.03 ! PT 1.01 SC 1.04 SH 0.90 TS 0.96 ! WF 1.04 WZ 1.03 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KK 0.00* KP 0.00* MC 0.00* ! MK 0.00* NL 0.00* NY 0.00* OV 0.00* ! PT 0.00* SC 0.00* SH 0.00* TS 0.00* ! WF 0.00* WZ 0.00* ! ! Telescope amplitude corrections in sub-array 3: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KK 0.00* KP 0.00* MC 0.00* ! MK 0.00* NL 0.00* NY 0.00* OV 0.00* ! PT 0.00* SC 0.00* SH 0.00* TS 0.00* ! WF 0.00* WZ 0.00* ! ! A total of 45 telescope corrections were flagged in sub-array 4. ! Telescope amplitude corrections in sub-array 4: ! BR 1.01 FD 1.00 FT 1.00* HH 1.00* ! HN 1.01 KK 1.00* KP 0.97 MC 1.00* ! MK 1.00* NL 1.01 NY 1.00* OV 1.00 ! PT 0.99 SC 1.00 SH 1.00* TS 1.00* ! WF 1.02 WZ 1.00* ! ! ! Fit before self-cal, rms=0.192758Jy sigma=0.001404 ! Fit after self-cal, rms=0.215054Jy sigma=0.001385 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! Estimated beam: bmin=0.6065 mas, bmaj=1.09 mas, bpa=0.4246 degrees ! Estimated noise=264.588 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.00153487 Jy ! Component: 100 - total flux cleaned = 0.00197631 Jy ! Component: 150 - total flux cleaned = 0.00226704 Jy ! Component: 200 - total flux cleaned = 0.00252987 Jy ! Total flux subtracted in 200 components = 0.00252987 Jy ! Clean residual min=-0.004508 max=0.003446 Jy/beam ! Clean residual mean=0.000057 rms=0.000856 Jy/beam ! Combined flux in latest and established models = 0.517812 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 42 components and 0.517811 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.214886Jy sigma=0.001384 ! Fit after self-cal, rms=0.215020Jy sigma=0.001384 ! Inverting map ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 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.215020Jy sigma=0.001384 ! Fit after self-cal, rms=0.233899Jy sigma=0.001371 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! Estimated beam: bmin=0.6068 mas, bmaj=1.088 mas, bpa=0.2217 degrees ! Estimated noise=264.859 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00103078 Jy ! Component: 100 - total flux cleaned = 0.00129185 Jy ! Component: 150 - total flux cleaned = 0.00150886 Jy ! Component: 200 - total flux cleaned = 0.00183204 Jy ! Total flux subtracted in 200 components = 0.00183204 Jy ! Clean residual min=-0.002217 max=0.002091 Jy/beam ! Clean residual mean=0.000028 rms=0.000512 Jy/beam ! Combined flux in latest and established models = 0.519643 Jy selfcal ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 48 components and 0.519643 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.233823Jy sigma=0.001370 ! Fit after self-cal, rms=0.233862Jy sigma=0.001370 flux_cutoff = imstat(rms) * dynam ! Inverting map ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 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.000258173 Jy ! Component: 100 - total flux cleaned = 0.000376278 Jy ! Component: 150 - total flux cleaned = 0.000431604 Jy ! Component: 200 - total flux cleaned = 0.000431049 Jy ! Total flux subtracted in 200 components = 0.000431049 Jy ! Clean residual min=-0.002284 max=0.002022 Jy/beam ! Clean residual mean=0.000028 rms=0.000506 Jy/beam ! Combined flux in latest and established models = 0.520075 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 53 components and 0.520075 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.233822Jy sigma=0.001370 ! Fit after self-cal, rms=0.233815Jy sigma=0.001370 ! Inverting map ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 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.233815Jy sigma=0.001370 ! Fit after self-cal, rms=0.240576Jy sigma=0.001369 clean clean_niter,clean_gain ! Inverting map and beam ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! Estimated beam: bmin=0.6066 mas, bmaj=1.084 mas, bpa=0.2597 degrees ! Estimated noise=265.018 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00105807 Jy ! Component: 100 - total flux cleaned = 0.0011163 Jy ! Component: 150 - total flux cleaned = 0.00111369 Jy ! Component: 200 - total flux cleaned = 0.0010651 Jy ! Total flux subtracted in 200 components = 0.0010651 Jy ! Clean residual min=-0.001876 max=0.001930 Jy/beam ! Clean residual mean=-0.000013 rms=0.000452 Jy/beam ! Combined flux in latest and established models = 0.52114 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 55 components and 0.52114 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.240536Jy sigma=0.001369 ! Fit after self-cal, rms=0.240532Jy sigma=0.001369 flux_cutoff = imstat(rms) * dynam ! Inverting map ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 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 (3.4, 2.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00101674 Jy ! Component: 100 - total flux cleaned = 0.0011281 Jy ! Component: 150 - total flux cleaned = 0.00118119 Jy ! Component: 200 - total flux cleaned = 0.00127722 Jy ! Total flux subtracted in 200 components = 0.00127722 Jy ! Clean residual min=-0.001816 max=0.001753 Jy/beam ! Clean residual mean=-0.000019 rms=0.000445 Jy/beam ! Combined flux in latest and established models = 0.522417 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 70 components and 0.522417 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.240488Jy sigma=0.001369 ! Fit after self-cal, rms=0.240476Jy sigma=0.001369 ! Inverting map ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 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.240476Jy sigma=0.001369 ! Fit after self-cal, rms=0.240638Jy sigma=0.001368 clean clean_niter,clean_gain ! Inverting map and beam ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! Estimated beam: bmin=2.168 mas, bmaj=2.475 mas, bpa=44.92 degrees ! Estimated noise=379.864 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00111835 Jy ! Component: 100 - total flux cleaned = 0.00140163 Jy ! Component: 150 - total flux cleaned = 0.00160133 Jy ! Component: 200 - total flux cleaned = 0.0017621 Jy ! Total flux subtracted in 200 components = 0.0017621 Jy ! Clean residual min=-0.001742 max=0.001617 Jy/beam ! Clean residual mean=-0.000096 rms=0.000514 Jy/beam ! Combined flux in latest and established models = 0.524179 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 84 components and 0.524179 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.240645Jy sigma=0.001368 ! Fit after self-cal, rms=0.240641Jy sigma=0.001368 flux_cutoff = imstat(rms) * dynam ! Inverting map ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 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.000207279 Jy ! Component: 100 - total flux cleaned = 0.000251004 Jy ! Component: 150 - total flux cleaned = 0.000264386 Jy ! Component: 200 - total flux cleaned = 0.000286919 Jy ! Total flux subtracted in 200 components = 0.000286919 Jy ! Clean residual min=-0.001827 max=0.001639 Jy/beam ! Clean residual mean=-0.000100 rms=0.000508 Jy/beam ! Combined flux in latest and established models = 0.524466 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 92 components and 0.524466 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.240646Jy sigma=0.001368 ! Fit after self-cal, rms=0.240646Jy sigma=0.001368 ! Inverting map ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 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 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! Estimated beam: bmin=0.6067 mas, bmaj=1.083 mas, bpa=0.2597 degrees ! Estimated noise=265.308 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.6067 x 1.083 at 0.2597 degrees (North through East) ! Clean map min=-0.0015033 max=0.41779 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 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! Estimated beam: bmin=0.5059 mas, bmaj=0.9368 mas, bpa=0.3036 degrees ! Estimated noise=605.731 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.3182 Jy ! Component: 100 - total flux cleaned = 0.404354 Jy ! Component: 150 - total flux cleaned = 0.444405 Jy ! Component: 200 - total flux cleaned = 0.464928 Jy ! Total flux subtracted in 200 components = 0.464928 Jy ! Clean residual min=-0.004249 max=0.010293 Jy/beam ! Clean residual mean=-0.000008 rms=0.001131 Jy/beam ! Combined flux in latest and established models = 0.464928 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 10 model components to the UV plane model. ! The established model now contains 10 components and 0.464928 Jy ! Inverting map and beam ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! Estimated beam: bmin=0.6067 mas, bmaj=1.083 mas, bpa=0.2597 degrees ! Estimated noise=265.308 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.0182142 Jy ! Component: 100 - total flux cleaned = 0.0298029 Jy ! Component: 150 - total flux cleaned = 0.0378981 Jy ! Component: 200 - total flux cleaned = 0.0437246 Jy ! Total flux subtracted in 200 components = 0.0437246 Jy ! Clean residual min=-0.002161 max=0.003535 Jy/beam ! Clean residual mean=0.000044 rms=0.000583 Jy/beam ! Combined flux in latest and established models = 0.508653 Jy ! Adding 23 model components to the UV plane model. ! The established model now contains 29 components and 0.508653 Jy ! Inverting map ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! Added new window around map position (-1.4, -2.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0043801 Jy ! Component: 100 - total flux cleaned = 0.00775515 Jy ! Component: 150 - total flux cleaned = 0.0104345 Jy ! Component: 200 - total flux cleaned = 0.0119528 Jy ! Total flux subtracted in 200 components = 0.0119528 Jy ! Clean residual min=-0.001967 max=0.001971 Jy/beam ! Clean residual mean=-0.000010 rms=0.000470 Jy/beam ! Combined flux in latest and established models = 0.520605 Jy ! Adding 28 model components to the UV plane model. ! The established model now contains 41 components and 0.520605 Jy ! Inverting map ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec uvw 0,2 ! Uniform weighting is not currently selected. ! Amplitude error weighting is not currently selected. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! Estimated beam: bmin=0.5933 mas, bmaj=0.9679 mas, bpa=4.6 degrees ! Estimated noise=399.654 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000855964 Jy ! Component: 100 - total flux cleaned = 0.00134408 Jy ! Component: 150 - total flux cleaned = 0.00145889 Jy ! Component: 200 - total flux cleaned = 0.00156516 Jy ! Total flux subtracted in 200 components = 0.00156516 Jy ! Clean residual min=-0.003226 max=0.002790 Jy/beam ! Clean residual mean=0.000001 rms=0.000708 Jy/beam ! Combined flux in latest and established models = 0.522171 Jy clean ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000101274 Jy ! Component: 100 - total flux cleaned = 0.000199905 Jy ! Component: 150 - total flux cleaned = 0.000199294 Jy ! Component: 200 - total flux cleaned = 0.00037874 Jy ! Total flux subtracted in 200 components = 0.00037874 Jy ! Clean residual min=-0.003113 max=0.002728 Jy/beam ! Clean residual mean=-0.000003 rms=0.000688 Jy/beam ! Combined flux in latest and established models = 0.522549 Jy selfcal ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 60 components and 0.522549 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.240941Jy sigma=0.001370 ! Fit after self-cal, rms=0.240892Jy sigma=0.001369 wmodel J2359+3850_X_2011_06_28_pus_map.mod ! Writing 60 model components to file: J2359+3850_X_2011_06_28_pus_map.mod wobs J2359+3850_X_2011_06_28_pus_uvs.fits ! Writing UV FITS file: J2359+3850_X_2011_06_28_pus_uvs.fits wwins J2359+3850_X_2011_06_28_pus_map.win ! wwins: Wrote 4 windows to J2359+3850_X_2011_06_28_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 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! clean: niter=2048 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -0.00131096 Jy ! Component: 100 - total flux cleaned = -0.00169106 Jy ! Component: 150 - total flux cleaned = -0.00184302 Jy ! Component: 200 - total flux cleaned = -0.00203815 Jy ! Component: 250 - total flux cleaned = -0.00213288 Jy ! Component: 300 - total flux cleaned = -0.00217911 Jy ! Component: 350 - total flux cleaned = -0.00222383 Jy ! Component: 400 - total flux cleaned = -0.00222345 Jy ! Component: 450 - total flux cleaned = -0.00222382 Jy ! Component: 500 - total flux cleaned = -0.00243619 Jy ! Component: 550 - total flux cleaned = -0.00251932 Jy ! Component: 600 - total flux cleaned = -0.00247816 Jy ! Component: 650 - total flux cleaned = -0.00247859 Jy ! Component: 700 - total flux cleaned = -0.00251873 Jy ! Component: 750 - total flux cleaned = -0.00247873 Jy ! Component: 800 - total flux cleaned = -0.00255751 Jy ! Component: 850 - total flux cleaned = -0.00259601 Jy ! Component: 900 - total flux cleaned = -0.00259606 Jy ! Component: 950 - total flux cleaned = -0.00263429 Jy ! Component: 1000 - total flux cleaned = -0.00267229 Jy ! Component: 1050 - total flux cleaned = -0.00267231 Jy ! Component: 1100 - total flux cleaned = -0.00267215 Jy ! Component: 1150 - total flux cleaned = -0.00270934 Jy ! Component: 1200 - total flux cleaned = -0.00267242 Jy ! Component: 1250 - total flux cleaned = -0.0027454 Jy ! Component: 1300 - total flux cleaned = -0.00267255 Jy ! Component: 1350 - total flux cleaned = -0.00263668 Jy ! Component: 1400 - total flux cleaned = -0.00274412 Jy ! Component: 1450 - total flux cleaned = -0.00267328 Jy ! Component: 1500 - total flux cleaned = -0.00277926 Jy ! Component: 1550 - total flux cleaned = -0.0027791 Jy ! Component: 1600 - total flux cleaned = -0.00274415 Jy ! Component: 1650 - total flux cleaned = -0.00270963 Jy ! Component: 1700 - total flux cleaned = -0.00281301 Jy ! Component: 1750 - total flux cleaned = -0.00274446 Jy ! Component: 1800 - total flux cleaned = -0.00277871 Jy ! Component: 1850 - total flux cleaned = -0.00281291 Jy ! Component: 1900 - total flux cleaned = -0.00277914 Jy ! Component: 1950 - total flux cleaned = -0.00281283 Jy ! Component: 2000 - total flux cleaned = -0.00284637 Jy ! Total flux subtracted in 2048 components = -0.00278006 Jy ! Clean residual min=-0.001996 max=0.001965 Jy/beam ! Clean residual mean=0.000030 rms=0.000580 Jy/beam ! Combined flux in latest and established models = 0.519769 Jy keep ! Adding 178 model components to the UV plane model. ! The established model now contains 237 components and 0.519769 Jy ![Exited script file: muppet] wmap "J2359+3850_X_2011_06_28_pus\_map.fits" ! Inverting map ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.5933 x 0.9679 at 4.6 degrees (North through East) ! Clean map min=-0.0024216 max=0.40842 Jy/beam ! Writing clean map to FITS file: J2359+3850_X_2011_06_28_pus_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.408419 invert ! Inverting map ! Your choice of large map pixels excluded 5.5% of the data. ! The x-axis pixel size should ideally be below 0.1646 milli-arcsec ! The y-axis pixel size should ideally be below 0.1603 milli-arcsec float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000580284 device "J2359+3850_X_2011_06_28_pus\_map.eps/VPS" ! Attempting to open device: 'J2359+3850_X_2011_06_28_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.426242 0.426242 0.852483 1.70497 3.40993 6.81987 13.6397 27.2795 54.5589 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0017 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.408 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.5933 x 0.9679 at 4.6 degrees (North through East) ! Clean map min=-0.0024216 max=0.40842 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J2359+3850_X_2011_06_28_pus\_map.gif/vgif" ! Attempting to open device: 'J2359+3850_X_2011_06_28_pus_map.gif/vgif' mapplot cln