! Started logfile: /d2/scr/pima/rdv96_uvs/J1802-3940_X_uvs.log on Fri Dec 20 23:46:27 2013 obs /d2/scr/pima/rdv96_uvs/J1802-3940_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J1802-3940_X_uva.fits ! AN table 1: 2 integrations on 15 of 15 possible baselines. ! AN table 2: 2 integrations on 6 of 6 possible baselines. ! AN table 3: 4 integrations on 10 of 10 possible baselines. ! AN table 4: 2 integrations on 1 of 1 possible baselines. ! AN table 5: 2 integrations on 6 of 6 possible baselines. ! Apparent sampling: 0.822917 visibilities/baseline/integration-bin. ! Found source: J1802-3940 ! ! 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 316 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/J1802-3940_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:FD 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:OV self-cal status=correctable weight=1 ! 1:PT self-cal status=correctable weight=1 ! 2:KP self-cal status=correctable weight=1 ! 2:MK self-cal status=correctable weight=1 ! 2:OV self-cal status=correctable weight=1 ! 2:PT self-cal status=correctable weight=1 ! 3:FD self-cal status=correctable weight=1 ! 3:KP self-cal status=correctable weight=1 ! 3:LA self-cal status=correctable weight=1 ! 3:OV self-cal status=correctable weight=1 ! 3:PT self-cal status=correctable weight=1 ! 4:FD self-cal status=correctable weight=1 ! 4:KP self-cal status=correctable weight=1 ! 5:FD self-cal status=correctable weight=1 ! 5:KP self-cal status=correctable weight=1 ! 5:LA self-cal status=correctable weight=1 ! 5:WF 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. ! A total of 4 telescope corrections were flagged in sub-array 4. ! A total of 2 telescope corrections were flagged in sub-array 5. ! ! Correcting IF 2. ! A total of 1 telescope corrections were flagged in sub-array 1. ! A total of 4 telescope corrections were flagged in sub-array 4. ! A total of 2 telescope corrections were flagged in sub-array 5. ! ! Correcting IF 3. ! A total of 1 telescope corrections were flagged in sub-array 1. ! A total of 4 telescope corrections were flagged in sub-array 4. ! A total of 2 telescope corrections were flagged in sub-array 5. ! ! Correcting IF 4. ! A total of 1 telescope corrections were flagged in sub-array 1. ! A total of 4 telescope corrections were flagged in sub-array 4. ! A total of 2 telescope corrections were flagged in sub-array 5. ! ! Fit before self-cal, rms=1.584899Jy sigma=24.004809 ! Fit after self-cal, rms=0.243292Jy sigma=4.034612 ! 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 \] flag 5:WF ! Flagging baselines of antenna 5:WF in the currently selected channels. ![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.9637 mas, bmaj=5.732 mas, bpa=-10.05 degrees ! Estimated noise=4.02708 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.891066 Jy ! Component: 100 - total flux cleaned = 1.10527 Jy ! Total flux subtracted in 100 components = 1.10527 Jy ! Clean residual min=-0.047806 max=0.079205 Jy/beam ! Clean residual mean=0.000342 rms=0.016598 Jy/beam ! Combined flux in latest and established models = 1.10527 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 10 components and 1.10527 Jy ! ! Correcting IF 1. ! A total of 6 telescope corrections were flagged in sub-array 5. ! ! Correcting IF 2. ! A total of 6 telescope corrections were flagged in sub-array 5. ! ! Correcting IF 3. ! A total of 6 telescope corrections were flagged in sub-array 5. ! ! Correcting IF 4. ! A total of 6 telescope corrections were flagged in sub-array 5. ! ! Fit before self-cal, rms=0.172127Jy sigma=2.898579 ! Fit after self-cal, rms=0.174254Jy sigma=2.937615 ! Inverting map and beam ! Estimated beam: bmin=0.9585 mas, bmaj=5.716 mas, bpa=-10.03 degrees ! Estimated noise=4.0644 mJy/beam. 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.505 mas, bmaj=6.646 mas, bpa=-6.784 degrees ! Estimated noise=2.76822 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.10829 Jy ! Component: 100 - total flux cleaned = 0.15399 Jy ! Component: 150 - total flux cleaned = 0.177225 Jy ! Component: 200 - total flux cleaned = 0.18985 Jy ! Total flux subtracted in 200 components = 0.18985 Jy ! Clean residual min=-0.042803 max=0.031549 Jy/beam ! Clean residual mean=0.000398 rms=0.010200 Jy/beam ! Combined flux in latest and established models = 1.29512 Jy ! Performing phase self-cal ! Adding 97 model components to the UV plane model. ! The established model now contains 103 components and 1.29512 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.109587Jy sigma=1.754582 ! Fit after self-cal, rms=0.109312Jy sigma=1.750860 ! 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: ! FD 0.99 KP 1.00 LA 1.07 MK 1.01 ! OV 0.98 PT 0.99 ! ! Telescope amplitude corrections in sub-array 2: ! KP 1.02 MK 1.02 OV 1.01 PT 0.98 ! ! Telescope amplitude corrections in sub-array 3: ! FD 0.98 KP 1.01 LA 1.07 OV 0.98 ! PT 1.01 ! ! Telescope amplitude corrections in sub-array 4: ! FD 0.00* KP 0.00* ! ! Telescope amplitude corrections in sub-array 5: ! FD 0.00* KP 0.00* LA 0.00* WF 0.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 0.98 KP 0.95 LA 1.00 MK 1.00 ! OV 1.00 PT 1.03 ! ! Telescope amplitude corrections in sub-array 2: ! KP 0.96 MK 1.03 OV 1.01 PT 1.02 ! ! Telescope amplitude corrections in sub-array 3: ! FD 1.00 KP 0.97 LA 1.06 OV 0.95 ! PT 0.99 ! ! Telescope amplitude corrections in sub-array 4: ! FD 0.00* KP 0.00* ! ! Telescope amplitude corrections in sub-array 5: ! FD 0.00* KP 0.00* LA 0.00* WF 0.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 0.98 KP 0.83 LA 1.07 MK 1.01 ! OV 1.07 PT 1.01 ! ! Telescope amplitude corrections in sub-array 2: ! KP 0.86 MK 0.99 OV 1.03 PT 1.01 ! ! Telescope amplitude corrections in sub-array 3: ! FD 0.98 KP 0.83 LA 1.12 OV 1.03 ! PT 0.98 ! ! Telescope amplitude corrections in sub-array 4: ! FD 0.00* KP 0.00* ! ! Telescope amplitude corrections in sub-array 5: ! FD 0.00* KP 0.00* LA 0.00* WF 0.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 1.03 KP 0.89 LA 1.08 MK 0.99 ! OV 1.03 PT 1.01 ! ! Telescope amplitude corrections in sub-array 2: ! KP 0.90 MK 1.04 OV 1.03 PT 1.08 ! ! Telescope amplitude corrections in sub-array 3: ! FD 1.04 KP 0.89 LA 1.10 OV 1.00 ! PT 1.04 ! ! Telescope amplitude corrections in sub-array 4: ! FD 0.00* KP 0.00* ! ! Telescope amplitude corrections in sub-array 5: ! FD 0.00* KP 0.00* LA 0.00* WF 0.00* ! ! ! Fit before self-cal, rms=0.109312Jy sigma=1.750860 ! Fit after self-cal, rms=0.051242Jy sigma=0.770296 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.509 mas, bmaj=6.661 mas, bpa=-6.772 degrees ! Estimated noise=2.75807 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.000542902 Jy ! Component: 100 - total flux cleaned = 0.000324242 Jy ! Component: 150 - total flux cleaned = 0.000323522 Jy ! Component: 200 - total flux cleaned = 0.000267192 Jy ! Total flux subtracted in 200 components = 0.000267192 Jy ! Clean residual min=-0.007538 max=0.008305 Jy/beam ! Clean residual mean=-0.000186 rms=0.002113 Jy/beam ! Combined flux in latest and established models = 1.29539 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 108 components and 1.29539 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050963Jy sigma=0.767087 ! Fit after self-cal, rms=0.051004Jy sigma=0.766156 ! 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.051004Jy sigma=0.766156 ! Fit after self-cal, rms=0.050976Jy sigma=0.766034 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.509 mas, bmaj=6.661 mas, bpa=-6.764 degrees ! Estimated noise=2.75719 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00015659 Jy ! Component: 100 - total flux cleaned = 0.00010229 Jy ! Component: 150 - total flux cleaned = 5.50452e-05 Jy ! Component: 200 - total flux cleaned = 5.38128e-05 Jy ! Total flux subtracted in 200 components = 5.38128e-05 Jy ! Clean residual min=-0.007294 max=0.008111 Jy/beam ! Clean residual mean=-0.000182 rms=0.002075 Jy/beam ! Combined flux in latest and established models = 1.29544 Jy selfcal ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 111 components and 1.29544 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050835Jy sigma=0.764457 ! Fit after self-cal, rms=0.050816Jy sigma=0.764123 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 = -2.00379e-05 Jy ! Component: 100 - total flux cleaned = 6.33018e-05 Jy ! Component: 150 - total flux cleaned = 6.27416e-05 Jy ! Component: 200 - total flux cleaned = 6.26643e-05 Jy ! Total flux subtracted in 200 components = 6.26643e-05 Jy ! Clean residual min=-0.007238 max=0.008002 Jy/beam ! Clean residual mean=-0.000182 rms=0.002058 Jy/beam ! Combined flux in latest and established models = 1.29551 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 117 components and 1.29551 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050737Jy sigma=0.763230 ! Fit after self-cal, rms=0.050728Jy sigma=0.763057 ! 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.050728Jy sigma=0.763057 ! Fit after self-cal, rms=0.046718Jy sigma=0.701618 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.509 mas, bmaj=6.664 mas, bpa=-6.768 degrees ! Estimated noise=2.7575 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000706591 Jy ! Component: 100 - total flux cleaned = 0.00074535 Jy ! Component: 150 - total flux cleaned = 0.000823382 Jy ! Component: 200 - total flux cleaned = 0.000898924 Jy ! Total flux subtracted in 200 components = 0.000898924 Jy ! Clean residual min=-0.006216 max=0.006713 Jy/beam ! Clean residual mean=-0.000020 rms=0.001630 Jy/beam ! Combined flux in latest and established models = 1.29641 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 123 components and 1.29641 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.046630Jy sigma=0.700607 ! Fit after self-cal, rms=0.046624Jy sigma=0.700481 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 = -6.7116e-05 Jy ! Component: 100 - total flux cleaned = 4.94676e-07 Jy ! Component: 150 - total flux cleaned = 3.11163e-05 Jy ! Component: 200 - total flux cleaned = 6.21939e-05 Jy ! Total flux subtracted in 200 components = 6.21939e-05 Jy ! Clean residual min=-0.006147 max=0.006590 Jy/beam ! Clean residual mean=-0.000020 rms=0.001619 Jy/beam ! Combined flux in latest and established models = 1.29647 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 126 components and 1.29647 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.046567Jy sigma=0.699846 ! Fit after self-cal, rms=0.046564Jy sigma=0.699779 ! 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.046564Jy sigma=0.699779 ! Fit after self-cal, rms=0.046544Jy sigma=0.699589 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.482 mas, bmaj=14.05 mas, bpa=17.41 degrees ! Estimated noise=2.88163 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000571917 Jy ! Component: 100 - total flux cleaned = 0.000717006 Jy ! Component: 150 - total flux cleaned = 0.00081663 Jy ! Component: 200 - total flux cleaned = 0.000878654 Jy ! Total flux subtracted in 200 components = 0.000878654 Jy ! Clean residual min=-0.005610 max=0.005456 Jy/beam ! Clean residual mean=-0.000022 rms=0.001708 Jy/beam ! Combined flux in latest and established models = 1.29735 Jy selfcal ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 129 components and 1.29735 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.046506Jy sigma=0.698968 ! Fit after self-cal, rms=0.046501Jy sigma=0.698905 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 = -2.3507e-05 Jy ! Component: 100 - total flux cleaned = 6.70364e-05 Jy ! Component: 150 - total flux cleaned = 0.000123182 Jy ! Component: 200 - total flux cleaned = 0.000202462 Jy ! Total flux subtracted in 200 components = 0.000202462 Jy ! Clean residual min=-0.005541 max=0.005402 Jy/beam ! Clean residual mean=-0.000022 rms=0.001700 Jy/beam ! Combined flux in latest and established models = 1.29755 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 129 components and 1.29755 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.046480Jy sigma=0.698598 ! Fit after self-cal, rms=0.046475Jy sigma=0.698537 ! 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 "/d2/scr/pima/rdv96_uvs/J1802-3940_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.47 mas, bmaj=6.241 mas, bpa=-8.692 degrees ! Estimated noise=2.74195 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.47 x 6.241 at -8.692 degrees (North through East) ! Clean map min=-0.045236 max=1.1233 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J1802-3940_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= 1.1233 rms= 0.0184 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J1802-3940_X_uvs.log closed on Fri Dec 20 23:46:29 2013