! Started logfile: /d2/scr/pima/rdv96_uvs/J2045+1547_X_uvs.log on Fri Dec 20 23:46:43 2013 obs /d2/scr/pima/rdv96_uvs/J2045+1547_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J2045+1547_X_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J2045+1547 ! ! 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 7920 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/J2045+1547_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. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=1.011797Jy sigma=1.788326 ! Fit after self-cal, rms=0.887358Jy sigma=1.540136 ! 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.868 mas, bmaj=1.633 mas, bpa=-0.4663 degrees ! Estimated noise=9.908 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.0877501 Jy ! Component: 100 - total flux cleaned = 0.110901 Jy ! Total flux subtracted in 100 components = 0.110901 Jy ! Clean residual min=-0.006630 max=0.012354 Jy/beam ! Clean residual mean=0.000008 rms=0.001461 Jy/beam ! Combined flux in latest and established models = 0.110901 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 10 components and 0.110901 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058830Jy sigma=0.096587 ! Fit after self-cal, rms=0.058848Jy sigma=0.096559 ! Inverting map ! Added new window around map position (-1, 0). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0125488 Jy ! Component: 100 - total flux cleaned = 0.0197815 Jy ! Total flux subtracted in 100 components = 0.0197815 Jy ! Clean residual min=-0.005363 max=0.005375 Jy/beam ! Clean residual mean=0.000003 rms=0.001022 Jy/beam ! Combined flux in latest and established models = 0.130682 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 27 components and 0.130682 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056020Jy sigma=0.087880 ! Fit after self-cal, rms=0.055868Jy sigma=0.087655 ! 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.167 mas, bmaj=2.007 mas, bpa=0.1758 degrees ! Estimated noise=4.80666 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.00718204 Jy ! Component: 100 - total flux cleaned = 0.0107625 Jy ! Component: 150 - total flux cleaned = 0.012878 Jy ! Component: 200 - total flux cleaned = 0.014151 Jy ! Total flux subtracted in 200 components = 0.014151 Jy ! Clean residual min=-0.002937 max=0.002853 Jy/beam ! Clean residual mean=0.000002 rms=0.000656 Jy/beam ! Combined flux in latest and established models = 0.144833 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 42 components and 0.144833 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055165Jy sigma=0.085542 ! Fit after self-cal, rms=0.055102Jy sigma=0.085424 ! 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.99 FD 0.99 HN 1.02 KP 1.02 ! LA 1.02 MK 1.00 NL 0.97 OV 0.99 ! PT 0.97 SC 1.01 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 FD 1.00 HN 1.00 KP 0.95 ! LA 0.98 MK 1.02 NL 0.96 OV 1.00 ! PT 1.01 SC 1.02 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.00 HN 1.05 KP 0.85 ! LA 1.08 MK 1.00 NL 1.01 OV 1.06 ! PT 0.99 SC 0.99 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 1.01 HN 1.03 KP 0.88 ! LA 1.06 MK 1.01 NL 1.01 OV 0.98 ! PT 1.07 SC 1.00 ! ! ! Fit before self-cal, rms=0.055102Jy sigma=0.085424 ! Fit after self-cal, rms=0.055115Jy sigma=0.083982 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.173 mas, bmaj=2.017 mas, bpa=0.1782 degrees ! Estimated noise=4.78699 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.000194798 Jy ! Component: 100 - total flux cleaned = 0.00013743 Jy ! Component: 150 - total flux cleaned = 4.63376e-05 Jy ! Component: 200 - total flux cleaned = 8.017e-06 Jy ! Total flux subtracted in 200 components = 8.017e-06 Jy ! Clean residual min=-0.001858 max=0.001798 Jy/beam ! Clean residual mean=-0.000004 rms=0.000458 Jy/beam ! Combined flux in latest and established models = 0.144841 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 51 components and 0.144841 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055081Jy sigma=0.083932 ! Fit after self-cal, rms=0.055099Jy sigma=0.083908 ! 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.055099Jy sigma=0.083908 ! Fit after self-cal, rms=0.055030Jy sigma=0.083903 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.174 mas, bmaj=2.018 mas, bpa=0.02842 degrees ! Estimated noise=4.77666 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000132307 Jy ! Component: 100 - total flux cleaned = -0.000177864 Jy ! Component: 150 - total flux cleaned = -0.000198245 Jy ! Component: 200 - total flux cleaned = -0.000216032 Jy ! Total flux subtracted in 200 components = -0.000216032 Jy ! Clean residual min=-0.001831 max=0.001742 Jy/beam ! Clean residual mean=-0.000004 rms=0.000452 Jy/beam ! Combined flux in latest and established models = 0.144625 Jy selfcal ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 54 components and 0.144625 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055008Jy sigma=0.083881 ! Fit after self-cal, rms=0.055007Jy sigma=0.083878 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.19007e-05 Jy ! Component: 100 - total flux cleaned = 3.41428e-05 Jy ! Component: 150 - total flux cleaned = 1.70617e-05 Jy ! Component: 200 - total flux cleaned = 1.13081e-06 Jy ! Total flux subtracted in 200 components = 1.13081e-06 Jy ! Clean residual min=-0.001823 max=0.001733 Jy/beam ! Clean residual mean=-0.000004 rms=0.000450 Jy/beam ! Combined flux in latest and established models = 0.144626 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 55 components and 0.144626 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054990Jy sigma=0.083864 ! Fit after self-cal, rms=0.054988Jy sigma=0.083862 ! 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.054988Jy sigma=0.083862 ! Fit after self-cal, rms=0.054882Jy sigma=0.083582 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.174 mas, bmaj=2.017 mas, bpa=-0.1379 degrees ! Estimated noise=4.77353 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000256446 Jy ! Component: 100 - total flux cleaned = -0.000292797 Jy ! Component: 150 - total flux cleaned = -0.000310334 Jy ! Component: 200 - total flux cleaned = -0.000327063 Jy ! Total flux subtracted in 200 components = -0.000327063 Jy ! Clean residual min=-0.001647 max=0.001800 Jy/beam ! Clean residual mean=-0.000003 rms=0.000414 Jy/beam ! Combined flux in latest and established models = 0.144299 Jy selfcal ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 56 components and 0.144299 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054863Jy sigma=0.083571 ! Fit after self-cal, rms=0.054866Jy sigma=0.083568 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 (-16, -50.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00104924 Jy ! Component: 100 - total flux cleaned = 0.00104565 Jy ! Component: 150 - total flux cleaned = 0.00106986 Jy ! Component: 200 - total flux cleaned = 0.00106969 Jy ! Total flux subtracted in 200 components = 0.00106969 Jy ! Clean residual min=-0.001605 max=0.001627 Jy/beam ! Clean residual mean=-0.000003 rms=0.000396 Jy/beam ! Combined flux in latest and established models = 0.145369 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 72 components and 0.145369 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054814Jy sigma=0.083490 ! Fit after self-cal, rms=0.054808Jy sigma=0.083484 ! 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.054808Jy sigma=0.083484 ! Fit after self-cal, rms=0.054840Jy sigma=0.083477 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.474 mas, bmaj=3.022 mas, bpa=-4.809 degrees ! Estimated noise=4.83356 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000458586 Jy ! Component: 100 - total flux cleaned = 0.000575083 Jy ! Component: 150 - total flux cleaned = 0.000663791 Jy ! Component: 200 - total flux cleaned = 0.000699508 Jy ! Total flux subtracted in 200 components = 0.000699508 Jy ! Clean residual min=-0.001504 max=0.001703 Jy/beam ! Clean residual mean=-0.000006 rms=0.000446 Jy/beam ! Combined flux in latest and established models = 0.146069 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 79 components and 0.146069 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054836Jy sigma=0.083463 ! Fit after self-cal, rms=0.054831Jy sigma=0.083458 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.000100608 Jy ! Component: 100 - total flux cleaned = 0.000176335 Jy ! Component: 150 - total flux cleaned = 0.000156422 Jy ! Component: 200 - total flux cleaned = 0.000147589 Jy ! Total flux subtracted in 200 components = 0.000147589 Jy ! Clean residual min=-0.001476 max=0.001716 Jy/beam ! Clean residual mean=-0.000006 rms=0.000448 Jy/beam ! Combined flux in latest and established models = 0.146216 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 80 components and 0.146216 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054831Jy sigma=0.083454 ! Fit after self-cal, rms=0.054827Jy sigma=0.083452 ! 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/J2045+1547_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.175 mas, bmaj=2.018 mas, bpa=-0.1445 degrees ! Estimated noise=4.77043 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.175 x 2.018 at -0.1445 degrees (North through East) ! Clean map min=-0.0014344 max=0.1147 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J2045+1547_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.1147 rms= 0.00039 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J2045+1547_X_uvs.log closed on Fri Dec 20 23:46:45 2013