! Started logfile: /d2/scr/pima/rdv96_uvs/J2339+6010_X_uvs.log on Fri Dec 20 23:47:21 2013 obs /d2/scr/pima/rdv96_uvs/J2339+6010_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J2339+6010_X_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.995455 visibilities/baseline/integration-bin. ! Found source: J2339+6010 ! ! 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.40599e+09 8e+06 1 8e+06 ! 02 2 8.47599e+09 8e+06 1 8e+06 ! 03 3 8.79099e+09 8e+06 1 8e+06 ! 04 4 8.89599e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 7884 visibilities. select RR ! 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 = 1024 print "field_cell =",field_cell ! field_cell = 0.2 print "taper_size =",taper_size ! taper_size = 70 ![@/home/lpetrov/bin/rdv_muppet /d2/scr/pima/rdv96_uvs/J2339+6010_X] integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 800000 float soltime2 soltime2 = 15 float soltime3 soltime3 = 1 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float old_peak float new_peak float flux_cutoff selfant "",false ! 1:BR self-cal status=correctable weight=1 ! 1:FD self-cal status=correctable weight=1 ! 1:HN self-cal status=correctable weight=1 ! 1:KP self-cal status=correctable weight=1 ! 1:LA self-cal status=correctable weight=1 ! 1:MK self-cal status=correctable weight=1 ! 1:NL self-cal status=correctable weight=1 ! 1:OV self-cal status=correctable weight=1 ! 1:PT self-cal status=correctable weight=1 ! 1:SC self-cal status=correctable weight=1 system "rm /tmp/ff.ff" mapsize field_size, field_cell ! Map grid = 1024x1024 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 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.023763Jy sigma=3.393829 ! Fit after self-cal, rms=0.785668Jy sigma=2.527429 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. print "=== Flag out IVS stations" ! === Flag out IVS stations integer lun string cfg_file lun = outfile ( "/tmp/ff.ff" ) do i=1,nsub do j=1,ntel(i) fprintf lun, "%s\n", telname(j,i) end do end do close ( lun ) system "/home/lpetrov/bin/dimap_flag_process.csh /tmp/ff.ff" ![@/tmp/ff.ff \] ![Exited script file: /tmp/ff.ff] uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.8501 mas, bmaj=1.159 mas, bpa=-82.3 degrees ! Estimated noise=5.117 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.165252 Jy ! Component: 100 - total flux cleaned = 0.205367 Jy ! Total flux subtracted in 100 components = 0.205367 Jy ! Clean residual min=-0.007253 max=0.015850 Jy/beam ! Clean residual mean=-0.000039 rms=0.002060 Jy/beam ! Combined flux in latest and established models = 0.205367 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 9 components and 0.205367 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.066452Jy sigma=0.224618 ! Fit after self-cal, rms=0.066500Jy sigma=0.224516 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0174644 Jy ! Component: 100 - total flux cleaned = 0.0271279 Jy ! Total flux subtracted in 100 components = 0.0271279 Jy ! Clean residual min=-0.006005 max=0.014561 Jy/beam ! Clean residual mean=-0.000027 rms=0.001575 Jy/beam ! Combined flux in latest and established models = 0.232494 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 16 components and 0.232494 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.061660Jy sigma=0.196019 ! Fit after self-cal, rms=0.061700Jy sigma=0.195945 ! Inverting map ! Added new window around map position (-0.8, 2.2). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0128396 Jy ! Component: 100 - total flux cleaned = 0.0204687 Jy ! Total flux subtracted in 100 components = 0.0204687 Jy ! Clean residual min=-0.005220 max=0.005411 Jy/beam ! Clean residual mean=-0.000019 rms=0.001226 Jy/beam ! Combined flux in latest and established models = 0.252963 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 31 components and 0.252963 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058337Jy sigma=0.177901 ! Fit after self-cal, rms=0.058135Jy sigma=0.177290 ! Inverting map 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 ! Estimated beam: bmin=1.16 mas, bmaj=1.559 mas, bpa=-84.04 degrees ! Estimated noise=2.548 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.00965802 Jy ! Component: 100 - total flux cleaned = 0.0147983 Jy ! Component: 150 - total flux cleaned = 0.0181002 Jy ! Component: 200 - total flux cleaned = 0.0203061 Jy ! Total flux subtracted in 200 components = 0.0203061 Jy ! Clean residual min=-0.004428 max=0.004916 Jy/beam ! Clean residual mean=0.000001 rms=0.001092 Jy/beam ! Combined flux in latest and established models = 0.273269 Jy ! Performing phase self-cal ! Adding 33 model components to the UV plane model. ! The established model now contains 53 components and 0.273269 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056945Jy sigma=0.169729 ! Fit after self-cal, rms=0.056819Jy sigma=0.169228 ! Inverting map print "=== Finished natural weighting clean for VLBI sites ===" ! === Finished natural weighting clean for VLBI sites === gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.99 HN 1.03 KP 1.02 ! LA 1.05 MK 0.99 NL 0.98 OV 0.97 ! PT 0.97 SC 0.99 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.99 HN 1.02 KP 0.97 ! LA 1.01 MK 1.02 NL 0.98 OV 0.95 ! PT 0.98 SC 1.04 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 FD 1.00 HN 1.07 KP 0.84 ! LA 1.08 MK 1.00 NL 1.01 OV 1.01 ! PT 0.97 SC 1.02 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.03 HN 1.05 KP 0.89 ! LA 1.05 MK 1.03 NL 1.03 OV 1.00 ! PT 1.02 SC 0.99 ! ! ! Fit before self-cal, rms=0.056819Jy sigma=0.169228 ! Fit after self-cal, rms=0.055678Jy sigma=0.160906 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.168 mas, bmaj=1.568 mas, bpa=-84.09 degrees ! Estimated noise=2.53973 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.000458052 Jy ! Component: 100 - total flux cleaned = -0.000421548 Jy ! Component: 150 - total flux cleaned = -0.000326399 Jy ! Component: 200 - total flux cleaned = -0.000350925 Jy ! Total flux subtracted in 200 components = -0.000350925 Jy ! Clean residual min=-0.003020 max=0.003319 Jy/beam ! Clean residual mean=0.000021 rms=0.000664 Jy/beam ! Combined flux in latest and established models = 0.272918 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 60 components and 0.272918 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055599Jy sigma=0.160696 ! Fit after self-cal, rms=0.055628Jy sigma=0.160637 ! Inverting map ! Added new window around map position (-1.4, 4.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00336799 Jy ! Component: 100 - total flux cleaned = 0.00467937 Jy ! Component: 150 - total flux cleaned = 0.00507997 Jy ! Component: 200 - total flux cleaned = 0.00520101 Jy ! Total flux subtracted in 200 components = 0.00520101 Jy ! Clean residual min=-0.002753 max=0.002494 Jy/beam ! Clean residual mean=0.000019 rms=0.000567 Jy/beam ! Combined flux in latest and established models = 0.278119 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 81 components and 0.278119 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055436Jy sigma=0.159766 ! Fit after self-cal, rms=0.055408Jy sigma=0.159630 ! Inverting map selfcal true, true, soltime1 ! Performing amp+phase self-cal over 800000 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055408Jy sigma=0.159630 ! Fit after self-cal, rms=0.055392Jy sigma=0.159562 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.17 mas, bmaj=1.571 mas, bpa=-84.11 degrees ! Estimated noise=2.53357 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000795864 Jy ! Component: 100 - total flux cleaned = 0.00100087 Jy ! Component: 150 - total flux cleaned = 0.00110433 Jy ! Component: 200 - total flux cleaned = 0.00113399 Jy ! Total flux subtracted in 200 components = 0.00113399 Jy ! Clean residual min=-0.002626 max=0.002689 Jy/beam ! Clean residual mean=0.000018 rms=0.000529 Jy/beam ! Combined flux in latest and established models = 0.279253 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 97 components and 0.279253 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055334Jy sigma=0.159372 ! Fit after self-cal, rms=0.055332Jy sigma=0.159347 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (-3.8, 7.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00283655 Jy ! Component: 100 - total flux cleaned = 0.00449667 Jy ! Component: 150 - total flux cleaned = 0.00556118 Jy ! Component: 200 - total flux cleaned = 0.00605845 Jy ! Total flux subtracted in 200 components = 0.00605845 Jy ! Clean residual min=-0.002311 max=0.001755 Jy/beam ! Clean residual mean=0.000011 rms=0.000437 Jy/beam ! Combined flux in latest and established models = 0.285312 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 125 components and 0.285312 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055191Jy sigma=0.158703 ! Fit after self-cal, rms=0.055188Jy sigma=0.158652 ! Inverting map selfcal true, true, soltime2 ! Performing amp+phase self-cal over 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055188Jy sigma=0.158652 ! Fit after self-cal, rms=0.055374Jy sigma=0.158159 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.169 mas, bmaj=1.571 mas, bpa=-84.15 degrees ! Estimated noise=2.53233 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00112871 Jy ! Component: 100 - total flux cleaned = 0.00134878 Jy ! Component: 150 - total flux cleaned = 0.00147646 Jy ! Component: 200 - total flux cleaned = 0.00154613 Jy ! Total flux subtracted in 200 components = 0.00154613 Jy ! Clean residual min=-0.001605 max=0.001509 Jy/beam ! Clean residual mean=0.000005 rms=0.000370 Jy/beam ! Combined flux in latest and established models = 0.286858 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 142 components and 0.286858 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055342Jy sigma=0.158043 ! Fit after self-cal, rms=0.055347Jy sigma=0.158036 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000313965 Jy ! Component: 100 - total flux cleaned = 0.000355075 Jy ! Component: 150 - total flux cleaned = 0.000355495 Jy ! Component: 200 - total flux cleaned = 0.00037425 Jy ! Total flux subtracted in 200 components = 0.00037425 Jy ! Clean residual min=-0.001564 max=0.001494 Jy/beam ! Clean residual mean=0.000004 rms=0.000365 Jy/beam ! Combined flux in latest and established models = 0.287232 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 148 components and 0.287232 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055332Jy sigma=0.157997 ! Fit after self-cal, rms=0.055331Jy sigma=0.157995 ! Inverting map 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 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055331Jy sigma=0.157995 ! Fit after self-cal, rms=0.055352Jy sigma=0.157970 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.399 mas, bmaj=2.918 mas, bpa=83.26 degrees ! Estimated noise=2.69118 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000265944 Jy ! Component: 100 - total flux cleaned = 0.000380552 Jy ! Component: 150 - total flux cleaned = 0.000408481 Jy ! Component: 200 - total flux cleaned = 0.000420277 Jy ! Total flux subtracted in 200 components = 0.000420277 Jy ! Clean residual min=-0.001583 max=0.001434 Jy/beam ! Clean residual mean=0.000006 rms=0.000391 Jy/beam ! Combined flux in latest and established models = 0.287652 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 164 components and 0.287652 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055345Jy sigma=0.157946 ! Fit after self-cal, rms=0.055345Jy sigma=0.157942 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 5.39094e-05 Jy ! Component: 100 - total flux cleaned = 0.000114689 Jy ! Component: 150 - total flux cleaned = 0.00014686 Jy ! Component: 200 - total flux cleaned = 0.000176631 Jy ! Total flux subtracted in 200 components = 0.000176631 Jy ! Clean residual min=-0.001558 max=0.001420 Jy/beam ! Clean residual mean=0.000006 rms=0.000386 Jy/beam ! Combined flux in latest and established models = 0.287829 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 170 components and 0.287829 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055340Jy sigma=0.157929 ! Fit after self-cal, rms=0.055340Jy sigma=0.157926 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "=== Finished amplitude self-cal for VLBA stations ===" ! === Finished amplitude self-cal for VLBA stations === unflag * ! Unflagging all baselines in the currently selected channels. uncalib false, false, true ! uncal: All telescope correction flags have been un-done. integer lun lun = outfile ( "/tmp/ff.ff" ) do i=1,nsub do j=1,ntel(i) fprintf lun, "%s\n", telname(j,i) end do end do close ( lun ) system "/home/lpetrov/bin/dimap_selfant_process.csh /tmp/ff.ff" ![@/tmp/ff.ff] 1:BR ! Syntax error in line: ! 1:BR ! ^ ! Found constant: 1.000 ! Where a command or assignment expression was expected. ![Exited script file: /tmp/ff.ff] ![Exited script file: /home/lpetrov/bin/rdv_muppet] ! wmap "/d2/scr/pima/rdv96_uvs/J2339+6010_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.169 mas, bmaj=1.571 mas, bpa=-84.2 degrees ! Estimated noise=2.53185 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.169 x 1.571 at -84.2 degrees (North through East) ! Clean map min=-0.0013753 max=0.21923 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J2339+6010_X_map.fits float peak_flux peak_flux = peak(flux,max) invert ! Inverting map float image_peak image_peak = int(10000*peak_flux)/10000 float image_rms image_rms = int(100000*imstat(rms))/100000 print "=========================================" ! ========================================= print "The image peak= ", image_peak, " rms= ", image_rms, " Jy" ! The image peak= 0.2192 rms= 0.00035 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J2339+6010_X_uvs.log closed on Fri Dec 20 23:47:23 2013