! Started logfile: /d2/scr/pima/rdv96_uvs/J1908+2222_X_uvs.log on Fri Dec 20 23:46:36 2013 obs /d2/scr/pima/rdv96_uvs/J1908+2222_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J1908+2222_X_uva.fits ! AN table 1: 18 integrations on 45 of 45 possible baselines. ! AN table 2: 18 integrations on 36 of 36 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J1908+2222 ! ! 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 5832 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/J1908+2222_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 ! 2:BR 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:MK self-cal status=correctable weight=1 ! 2:NL self-cal status=correctable weight=1 ! 2:OV self-cal status=correctable weight=1 ! 2:PT self-cal status=correctable weight=1 ! 2: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.009801Jy sigma=2.216808 ! Fit after self-cal, rms=0.859013Jy sigma=1.873848 ! 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.7986 mas, bmaj=1.706 mas, bpa=3.78 degrees ! Estimated noise=7.75247 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.108808 Jy ! Component: 100 - total flux cleaned = 0.133808 Jy ! Total flux subtracted in 100 components = 0.133808 Jy ! Clean residual min=-0.004996 max=0.008899 Jy/beam ! Clean residual mean=-0.000001 rms=0.001133 Jy/beam ! Combined flux in latest and established models = 0.133808 Jy ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 6 components and 0.133808 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054362Jy sigma=0.112429 ! Fit after self-cal, rms=0.054374Jy sigma=0.112407 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00918296 Jy ! Component: 100 - total flux cleaned = 0.0138083 Jy ! Total flux subtracted in 100 components = 0.0138083 Jy ! Clean residual min=-0.004265 max=0.003516 Jy/beam ! Clean residual mean=0.000000 rms=0.000898 Jy/beam ! Combined flux in latest and established models = 0.147616 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 21 components and 0.147617 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052521Jy sigma=0.106747 ! Fit after self-cal, rms=0.052554Jy sigma=0.106729 ! 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.033 mas, bmaj=2.041 mas, bpa=4.177 degrees ! Estimated noise=4.32625 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.00455547 Jy ! Component: 100 - total flux cleaned = 0.00668235 Jy ! Component: 150 - total flux cleaned = 0.00789283 Jy ! Component: 200 - total flux cleaned = 0.00850867 Jy ! Total flux subtracted in 200 components = 0.00850867 Jy ! Clean residual min=-0.003166 max=0.002570 Jy/beam ! Clean residual mean=0.000001 rms=0.000643 Jy/beam ! Combined flux in latest and established models = 0.156125 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 34 components and 0.156125 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052241Jy sigma=0.105752 ! Fit after self-cal, rms=0.052251Jy sigma=0.105745 ! 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.01 KP 1.03 ! LA 1.01 MK 1.02 NL 0.98 OV 0.99 ! PT 0.98 SC 1.01 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.97 FD 0.98 KP 1.03 LA 1.04 ! MK 1.01 NL 1.00 OV 0.97 PT 0.99 ! SC 0.98 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.01 HN 0.97 KP 0.98 ! LA 1.02 MK 1.00 NL 1.01 OV 0.97 ! PT 0.99 SC 1.04 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.96 FD 1.01 KP 0.95 LA 1.02 ! MK 0.99 NL 0.99 OV 0.96 PT 1.01 ! SC 1.08 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 0.99 HN 1.09 KP 0.87 ! LA 1.04 MK 1.06 NL 1.02 OV 1.02 ! PT 1.00 SC 0.96 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.05 FD 1.00 KP 0.86 LA 1.08 ! MK 0.96 NL 1.04 OV 1.03 PT 0.99 ! SC 0.99 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.05 HN 1.01 KP 0.87 ! LA 1.03 MK 1.03 NL 1.02 OV 1.02 ! PT 0.98 SC 1.02 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.04 FD 1.05 KP 0.89 LA 1.07 ! MK 1.05 NL 1.05 OV 0.99 PT 1.00 ! SC 0.98 ! ! ! Fit before self-cal, rms=0.052251Jy sigma=0.105745 ! Fit after self-cal, rms=0.052148Jy sigma=0.103762 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.037 mas, bmaj=2.05 mas, bpa=4.158 degrees ! Estimated noise=4.33429 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.00018953 Jy ! Component: 100 - total flux cleaned = -0.000232459 Jy ! Component: 150 - total flux cleaned = -0.000232732 Jy ! Component: 200 - total flux cleaned = -0.000233152 Jy ! Total flux subtracted in 200 components = -0.000233152 Jy ! Clean residual min=-0.002018 max=0.001752 Jy/beam ! Clean residual mean=0.000003 rms=0.000412 Jy/beam ! Combined flux in latest and established models = 0.155892 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 39 components and 0.155892 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052137Jy sigma=0.103748 ! Fit after self-cal, rms=0.052163Jy sigma=0.103732 ! 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.052163Jy sigma=0.103732 ! Fit after self-cal, rms=0.052137Jy sigma=0.103731 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.036 mas, bmaj=2.049 mas, bpa=4.091 degrees ! Estimated noise=4.33174 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000135549 Jy ! Component: 100 - total flux cleaned = -0.000147801 Jy ! Component: 150 - total flux cleaned = -0.000158529 Jy ! Component: 200 - total flux cleaned = -0.000158025 Jy ! Total flux subtracted in 200 components = -0.000158025 Jy ! Clean residual min=-0.002025 max=0.001729 Jy/beam ! Clean residual mean=0.000003 rms=0.000410 Jy/beam ! Combined flux in latest and established models = 0.155734 Jy selfcal ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 40 components and 0.155734 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052129Jy sigma=0.103721 ! Fit after self-cal, rms=0.052127Jy sigma=0.103720 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 = 3.08346e-05 Jy ! Component: 100 - total flux cleaned = 2.05848e-05 Jy ! Component: 150 - total flux cleaned = 1.17022e-05 Jy ! Component: 200 - total flux cleaned = 1.19611e-05 Jy ! Total flux subtracted in 200 components = 1.19611e-05 Jy ! Clean residual min=-0.002032 max=0.001715 Jy/beam ! Clean residual mean=0.000003 rms=0.000410 Jy/beam ! Combined flux in latest and established models = 0.155746 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 42 components and 0.155746 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052122Jy sigma=0.103715 ! Fit after self-cal, rms=0.052121Jy sigma=0.103714 ! 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.052121Jy sigma=0.103714 ! Fit after self-cal, rms=0.052145Jy sigma=0.103703 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.036 mas, bmaj=2.049 mas, bpa=4.025 degrees ! Estimated noise=4.3332 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 1.55572e-05 Jy ! Component: 100 - total flux cleaned = 5.18937e-06 Jy ! Component: 150 - total flux cleaned = -3.75322e-06 Jy ! Component: 200 - total flux cleaned = -3.5781e-06 Jy ! Total flux subtracted in 200 components = -3.5781e-06 Jy ! Clean residual min=-0.002035 max=0.001709 Jy/beam ! Clean residual mean=0.000003 rms=0.000409 Jy/beam ! Combined flux in latest and established models = 0.155742 Jy selfcal ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 42 components and 0.155742 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052141Jy sigma=0.103696 ! Fit after self-cal, rms=0.052140Jy sigma=0.103696 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 = 1.35309e-05 Jy ! Component: 100 - total flux cleaned = 5.48245e-06 Jy ! Component: 150 - total flux cleaned = -1.80211e-06 Jy ! Component: 200 - total flux cleaned = -2.14917e-06 Jy ! Total flux subtracted in 200 components = -2.14917e-06 Jy ! Clean residual min=-0.002037 max=0.001698 Jy/beam ! Clean residual mean=0.000003 rms=0.000409 Jy/beam ! Combined flux in latest and established models = 0.15574 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 43 components and 0.15574 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052137Jy sigma=0.103692 ! Fit after self-cal, rms=0.052136Jy sigma=0.103692 ! 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.052136Jy sigma=0.103692 ! Fit after self-cal, rms=0.052158Jy sigma=0.103681 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.236 mas, bmaj=3.075 mas, bpa=4.491 degrees ! Estimated noise=4.82699 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -1.51477e-05 Jy ! Component: 100 - total flux cleaned = -3.64352e-05 Jy ! Component: 150 - total flux cleaned = -6.01698e-05 Jy ! Component: 200 - total flux cleaned = -7.03455e-05 Jy ! Total flux subtracted in 200 components = -7.03455e-05 Jy ! Clean residual min=-0.002053 max=0.001928 Jy/beam ! Clean residual mean=0.000005 rms=0.000485 Jy/beam ! Combined flux in latest and established models = 0.15567 Jy selfcal ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 45 components and 0.15567 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052157Jy sigma=0.103678 ! Fit after self-cal, rms=0.052154Jy sigma=0.103676 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 = -8.91488e-06 Jy ! Component: 100 - total flux cleaned = -8.21866e-06 Jy ! Component: 150 - total flux cleaned = -2.05263e-05 Jy ! Component: 200 - total flux cleaned = -2.44326e-05 Jy ! Total flux subtracted in 200 components = -2.44326e-05 Jy ! Clean residual min=-0.002043 max=0.001923 Jy/beam ! Clean residual mean=0.000005 rms=0.000485 Jy/beam ! Combined flux in latest and established models = 0.155645 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 47 components and 0.155645 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052155Jy sigma=0.103676 ! Fit after self-cal, rms=0.052153Jy sigma=0.103675 ! 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:NY ! Syntax error in line: ! 1:NY ! ^ ! 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/J1908+2222_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.036 mas, bmaj=2.049 mas, bpa=3.978 degrees ! Estimated noise=4.33485 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.036 x 2.049 at 3.978 degrees (North through East) ! Clean map min=-0.0018842 max=0.14387 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J1908+2222_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.1438 rms= 0.0004 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J1908+2222_X_uvs.log closed on Fri Dec 20 23:46:39 2013