! Started logfile: /scr/pima/rdv96_uvs/J1006-5018_S_uvs.log on Sat Dec 21 00:23:17 2013 obs /scr/pima/rdv96_uvs/J1006-5018_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1006-5018_S_uva.fits ! AN table 1: 2 integrations on 3 of 3 possible baselines. ! AN table 2: 2 integrations on 6 of 6 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J1006-5018 ! ! 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 2.23299e+09 8e+06 1 8e+06 ! 02 2 2.26299e+09 8e+06 1 8e+06 ! 03 3 2.35299e+09 8e+06 1 8e+06 ! 04 4 2.37299e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 72 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.4 print "taper_size =",taper_size ! taper_size = 20 ![@/home/lpetrov/bin/rdv_muppet /scr/pima/rdv96_uvs/J1006-5018_S] 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:FD self-cal status=correctable weight=1 ! 1:KP self-cal status=correctable weight=1 ! 1:PT self-cal status=correctable weight=1 ! 2:FD self-cal status=correctable weight=1 ! 2:KP self-cal status=correctable weight=1 ! 2:LA self-cal status=correctable weight=1 ! 2:PT self-cal status=correctable weight=1 system "rm /tmp/ff.ff" mapsize field_size, field_cell ! Map grid = 1024x1024 pixels with 0.400x0.400 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. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=1.283397Jy sigma=9.562053 ! Fit after self-cal, rms=0.292453Jy sigma=2.182583 ! 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=17.25 mas, bmaj=153 mas, bpa=3.959 degrees ! Estimated noise=12.6743 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=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.580552 Jy ! Component: 100 - total flux cleaned = 0.70715 Jy ! Total flux subtracted in 100 components = 0.70715 Jy ! Clean residual min=-0.032374 max=0.035306 Jy/beam ! Clean residual mean=-0.000686 rms=0.014885 Jy/beam ! Combined flux in latest and established models = 0.70715 Jy ! Performing phase self-cal ! Adding 2 model components to the UV plane model. ! The established model now contains 2 components and 0.70715 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.122031Jy sigma=0.890133 ! Fit after self-cal, rms=0.122030Jy sigma=0.890128 ! 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=20.07 mas, bmaj=157.2 mas, bpa=3.954 degrees ! Estimated noise=11.1636 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.00139871 Jy ! Component: 100 - total flux cleaned = 0.000361155 Jy ! Component: 150 - total flux cleaned = -0.000509545 Jy ! Component: 200 - total flux cleaned = -0.00181768 Jy ! Total flux subtracted in 200 components = -0.00181768 Jy ! Clean residual min=-0.007078 max=0.007049 Jy/beam ! Clean residual mean=-0.000005 rms=0.003851 Jy/beam ! Combined flux in latest and established models = 0.705333 Jy ! Performing phase self-cal ! Adding 117 model components to the UV plane model. ! The established model now contains 118 components and 0.705333 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.115330Jy sigma=0.840765 ! Fit after self-cal, rms=0.115259Jy sigma=0.840250 ! 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. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 0.00* KP 0.00* PT 0.00* ! ! Telescope amplitude corrections in sub-array 2: ! FD 0.96 KP 1.09 LA 1.17 PT 1.01 ! ! ! Correcting IF 2. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 0.00* KP 0.00* PT 0.00* ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.04 KP 1.10 LA 0.99 PT 1.02 ! ! ! Correcting IF 3. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 0.00* KP 0.00* PT 0.00* ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.03 KP 0.93 LA 1.04 PT 1.03 ! ! ! Correcting IF 4. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! FD 0.00* KP 0.00* PT 0.00* ! ! Telescope amplitude corrections in sub-array 2: ! FD 1.04 KP 0.84 LA 0.84 PT 0.89 ! ! ! Fit before self-cal, rms=0.115259Jy sigma=0.840250 ! Fit after self-cal, rms=0.041973Jy sigma=0.327102 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=21.01 mas, bmaj=211.5 mas, bpa=8.123 degrees ! Estimated noise=13.8427 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.00302833 Jy ! Component: 100 - total flux cleaned = -0.000919221 Jy ! Component: 150 - total flux cleaned = 0.000613483 Jy ! Component: 200 - total flux cleaned = 0.000936298 Jy ! Total flux subtracted in 200 components = 0.000936298 Jy ! Clean residual min=-0.001859 max=0.001981 Jy/beam ! Clean residual mean=0.000084 rms=0.000911 Jy/beam ! Combined flux in latest and established models = 0.706269 Jy ! Performing phase self-cal ! Adding 103 model components to the UV plane model. ! The established model now contains 221 components and 0.706269 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.040707Jy sigma=0.315873 ! Fit after self-cal, rms=0.040713Jy sigma=0.315636 ! 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.040713Jy sigma=0.315636 ! Fit after self-cal, rms=0.040725Jy sigma=0.315313 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=21 mas, bmaj=211.5 mas, bpa=8.126 degrees ! Estimated noise=13.8605 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00064864 Jy ! Component: 100 - total flux cleaned = -0.000938683 Jy ! Component: 150 - total flux cleaned = -0.00107498 Jy ! Component: 200 - total flux cleaned = -0.00114407 Jy ! Total flux subtracted in 200 components = -0.00114407 Jy ! Clean residual min=-0.001096 max=0.001098 Jy/beam ! Clean residual mean=-0.000015 rms=0.000559 Jy/beam ! Combined flux in latest and established models = 0.705125 Jy selfcal ! Performing phase self-cal ! Adding 101 model components to the UV plane model. ! The established model now contains 322 components and 0.705125 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.040524Jy sigma=0.313579 ! Fit after self-cal, rms=0.040529Jy sigma=0.313504 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.000322949 Jy ! Component: 100 - total flux cleaned = 0.000206012 Jy ! Component: 150 - total flux cleaned = 0.000145924 Jy ! Component: 200 - total flux cleaned = 3.23702e-05 Jy ! Total flux subtracted in 200 components = 3.23702e-05 Jy ! Clean residual min=-0.000930 max=0.000927 Jy/beam ! Clean residual mean=-0.000009 rms=0.000479 Jy/beam ! Combined flux in latest and established models = 0.705157 Jy ! Performing phase self-cal ! Adding 92 model components to the UV plane model. ! The established model now contains 398 components and 0.705157 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.040395Jy sigma=0.312368 ! Fit after self-cal, rms=0.040401Jy sigma=0.312325 ! 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.040401Jy sigma=0.312325 ! Fit after self-cal, rms=0.040387Jy sigma=0.312259 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=21 mas, bmaj=211.6 mas, bpa=8.126 degrees ! Estimated noise=13.8648 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -1.81903e-05 Jy ! Component: 100 - total flux cleaned = -0.00028707 Jy ! Component: 150 - total flux cleaned = -0.000237333 Jy ! Component: 200 - total flux cleaned = -0.00018346 Jy ! Total flux subtracted in 200 components = -0.00018346 Jy ! Clean residual min=-0.000880 max=0.000894 Jy/beam ! Clean residual mean=-0.000022 rms=0.000446 Jy/beam ! Combined flux in latest and established models = 0.704974 Jy selfcal ! Performing phase self-cal ! Adding 86 model components to the UV plane model. ! The established model now contains 471 components and 0.704973 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.040282Jy sigma=0.311351 ! Fit after self-cal, rms=0.040289Jy sigma=0.311321 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.000256565 Jy ! Component: 100 - total flux cleaned = 7.76013e-05 Jy ! Component: 150 - total flux cleaned = 3.36159e-05 Jy ! Component: 200 - total flux cleaned = -8.12252e-06 Jy ! Total flux subtracted in 200 components = -8.12252e-06 Jy ! Clean residual min=-0.000716 max=0.000706 Jy/beam ! Clean residual mean=-0.000017 rms=0.000378 Jy/beam ! Combined flux in latest and established models = 0.704965 Jy ! Performing phase self-cal ! Adding 96 model components to the UV plane model. ! The established model now contains 524 components and 0.704965 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.040206Jy sigma=0.310665 ! Fit after self-cal, rms=0.040212Jy sigma=0.310643 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 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.040212Jy sigma=0.310643 ! Fit after self-cal, rms=0.040188Jy sigma=0.310599 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=21.29 mas, bmaj=210.6 mas, bpa=8.119 degrees ! Estimated noise=13.8925 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -9.94449e-06 Jy ! Component: 100 - total flux cleaned = -0.000309658 Jy ! Component: 150 - total flux cleaned = -0.000433508 Jy ! Component: 200 - total flux cleaned = -0.000433954 Jy ! Total flux subtracted in 200 components = -0.000433954 Jy ! Clean residual min=-0.000680 max=0.000695 Jy/beam ! Clean residual mean=-0.000021 rms=0.000343 Jy/beam ! Combined flux in latest and established models = 0.704531 Jy selfcal ! Performing phase self-cal ! Adding 107 model components to the UV plane model. ! The established model now contains 599 components and 0.704531 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.040120Jy sigma=0.310039 ! Fit after self-cal, rms=0.040127Jy sigma=0.310019 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.000200129 Jy ! Component: 100 - total flux cleaned = 5.70751e-05 Jy ! Component: 150 - total flux cleaned = -1.32307e-05 Jy ! Component: 200 - total flux cleaned = -0.000114437 Jy ! Total flux subtracted in 200 components = -0.000114437 Jy ! Clean residual min=-0.000571 max=0.000573 Jy/beam ! Clean residual mean=-0.000018 rms=0.000286 Jy/beam ! Combined flux in latest and established models = 0.704417 Jy ! Performing phase self-cal ! Adding 99 model components to the UV plane model. ! The established model now contains 657 components and 0.704416 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.040074Jy sigma=0.309602 ! Fit after self-cal, rms=0.040080Jy sigma=0.309584 ! 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:FD ! Syntax error in line: ! 1:FD ! ^ ! 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 "/scr/pima/rdv96_uvs/J1006-5018_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=20.07 mas, bmaj=158 mas, bpa=3.929 degrees ! Estimated noise=11.0704 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 20.07 x 158 at 3.929 degrees (North through East) ! Clean map min=-0.013659 max=0.71685 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1006-5018_S_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.7168 rms= 0.00521 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1006-5018_S_uvs.log closed on Sat Dec 21 00:23:26 2013