! Started logfile: /d2/scr/pima/rdv96_uvs/J0642+1128_X_uvs.log on Fri Dec 20 23:44:26 2013 obs /d2/scr/pima/rdv96_uvs/J0642+1128_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J0642+1128_X_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.866667 visibilities/baseline/integration-bin. ! Found source: J0642+1128 ! ! 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 6864 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/J0642+1128_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.008379Jy sigma=1.906166 ! Fit after self-cal, rms=0.894485Jy sigma=1.616964 ! 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=1.334 mas, bmaj=2.27 mas, bpa=6.082 degrees ! Estimated noise=10.3407 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.0901157 Jy ! Component: 100 - total flux cleaned = 0.120991 Jy ! Total flux subtracted in 100 components = 0.120991 Jy ! Clean residual min=-0.006277 max=0.013717 Jy/beam ! Clean residual mean=-0.000013 rms=0.001899 Jy/beam ! Combined flux in latest and established models = 0.120991 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 14 components and 0.120991 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057981Jy sigma=0.106207 ! Fit after self-cal, rms=0.057893Jy sigma=0.106091 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0160699 Jy ! Component: 100 - total flux cleaned = 0.0259661 Jy ! Total flux subtracted in 100 components = 0.0259661 Jy ! Clean residual min=-0.004455 max=0.005265 Jy/beam ! Clean residual mean=-0.000006 rms=0.001070 Jy/beam ! Combined flux in latest and established models = 0.146957 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 35 components and 0.146957 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053363Jy sigma=0.089826 ! Fit after self-cal, rms=0.053437Jy sigma=0.089791 ! 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.659 mas, bmaj=2.703 mas, bpa=5.312 degrees ! Estimated noise=5.09773 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.00913854 Jy ! Component: 100 - total flux cleaned = 0.0142557 Jy ! Component: 150 - total flux cleaned = 0.0173379 Jy ! Component: 200 - total flux cleaned = 0.0192628 Jy ! Total flux subtracted in 200 components = 0.0192628 Jy ! Clean residual min=-0.003348 max=0.002365 Jy/beam ! Clean residual mean=0.000003 rms=0.000746 Jy/beam ! Combined flux in latest and established models = 0.16622 Jy ! Performing phase self-cal ! Adding 64 model components to the UV plane model. ! The established model now contains 93 components and 0.16622 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052309Jy sigma=0.085594 ! Fit after self-cal, rms=0.052376Jy sigma=0.085587 ! 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 1.00 FD 1.00 HN 1.03 KP 1.03 ! LA 1.04 MK 1.20 NL 0.99 OV 0.99 ! PT 0.98 SC 1.11 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 0.99 HN 1.05 KP 0.94 ! LA 1.03 MK 1.01 NL 0.96 OV 0.99 ! PT 1.00 SC 1.12 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.02 HN 1.09 KP 0.85 ! LA 1.04 MK 0.94 NL 0.97 OV 1.04 ! PT 0.98 SC 0.94 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.03 HN 1.03 KP 0.90 ! LA 1.06 MK 0.88 NL 1.00 OV 1.03 ! PT 1.03 SC 1.04 ! ! ! Fit before self-cal, rms=0.052376Jy sigma=0.085587 ! Fit after self-cal, rms=0.052893Jy sigma=0.083533 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.673 mas, bmaj=2.719 mas, bpa=4.556 degrees ! Estimated noise=5.11105 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.000525746 Jy ! Component: 100 - total flux cleaned = 0.000635746 Jy ! Component: 150 - total flux cleaned = 0.000668324 Jy ! Component: 200 - total flux cleaned = 0.000705831 Jy ! Total flux subtracted in 200 components = 0.000705831 Jy ! Clean residual min=-0.001700 max=0.001693 Jy/beam ! Clean residual mean=0.000000 rms=0.000422 Jy/beam ! Combined flux in latest and established models = 0.166925 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 102 components and 0.166925 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052868Jy sigma=0.083509 ! Fit after self-cal, rms=0.052911Jy sigma=0.083489 ! 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.052911Jy sigma=0.083489 ! Fit after self-cal, rms=0.052715Jy sigma=0.083480 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.67 mas, bmaj=2.716 mas, bpa=4.377 degrees ! Estimated noise=5.10154 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000230527 Jy ! Component: 100 - total flux cleaned = 0.000302495 Jy ! Component: 150 - total flux cleaned = 0.000367907 Jy ! Component: 200 - total flux cleaned = 0.000395211 Jy ! Total flux subtracted in 200 components = 0.000395211 Jy ! Clean residual min=-0.001659 max=0.001658 Jy/beam ! Clean residual mean=-0.000000 rms=0.000417 Jy/beam ! Combined flux in latest and established models = 0.167321 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 104 components and 0.167321 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052703Jy sigma=0.083471 ! Fit after self-cal, rms=0.052711Jy sigma=0.083471 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.31784e-05 Jy ! Component: 100 - total flux cleaned = 5.44034e-05 Jy ! Component: 150 - total flux cleaned = 5.43902e-05 Jy ! Component: 200 - total flux cleaned = 6.06401e-05 Jy ! Total flux subtracted in 200 components = 6.06401e-05 Jy ! Clean residual min=-0.001654 max=0.001654 Jy/beam ! Clean residual mean=-0.000000 rms=0.000417 Jy/beam ! Combined flux in latest and established models = 0.167381 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 108 components and 0.167381 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052706Jy sigma=0.083470 ! Fit after self-cal, rms=0.052708Jy sigma=0.083470 ! 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.052708Jy sigma=0.083470 ! Fit after self-cal, rms=0.052513Jy sigma=0.083281 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.665 mas, bmaj=2.717 mas, bpa=3.615 degrees ! Estimated noise=5.08906 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 3.37923e-05 Jy ! Component: 100 - total flux cleaned = 8.49985e-05 Jy ! Component: 150 - total flux cleaned = 0.000136596 Jy ! Component: 200 - total flux cleaned = 0.000181087 Jy ! Total flux subtracted in 200 components = 0.000181087 Jy ! Clean residual min=-0.001470 max=0.001563 Jy/beam ! Clean residual mean=0.000000 rms=0.000379 Jy/beam ! Combined flux in latest and established models = 0.167562 Jy selfcal ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 113 components and 0.167562 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052505Jy sigma=0.083278 ! Fit after self-cal, rms=0.052511Jy sigma=0.083277 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.92302e-05 Jy ! Component: 100 - total flux cleaned = 3.28259e-05 Jy ! Component: 150 - total flux cleaned = 3.8959e-05 Jy ! Component: 200 - total flux cleaned = 4.46379e-05 Jy ! Total flux subtracted in 200 components = 4.46379e-05 Jy ! Clean residual min=-0.001462 max=0.001561 Jy/beam ! Clean residual mean=0.000000 rms=0.000379 Jy/beam ! Combined flux in latest and established models = 0.167607 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 115 components and 0.167607 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052507Jy sigma=0.083275 ! Fit after self-cal, rms=0.052509Jy sigma=0.083275 ! 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.052509Jy sigma=0.083275 ! Fit after self-cal, rms=0.052391Jy sigma=0.083274 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.573 mas, bmaj=3.368 mas, bpa=-6.213 degrees ! Estimated noise=4.60782 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000128541 Jy ! Component: 100 - total flux cleaned = 0.000141054 Jy ! Component: 150 - total flux cleaned = 0.000146939 Jy ! Component: 200 - total flux cleaned = 0.000157257 Jy ! Total flux subtracted in 200 components = 0.000157257 Jy ! Clean residual min=-0.001483 max=0.001494 Jy/beam ! Clean residual mean=0.000001 rms=0.000388 Jy/beam ! Combined flux in latest and established models = 0.167764 Jy selfcal ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 121 components and 0.167764 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052390Jy sigma=0.083271 ! Fit after self-cal, rms=0.052393Jy sigma=0.083271 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.02051e-05 Jy ! Component: 100 - total flux cleaned = 2.01284e-05 Jy ! Component: 150 - total flux cleaned = 2.80217e-05 Jy ! Component: 200 - total flux cleaned = 3.16815e-05 Jy ! Total flux subtracted in 200 components = 3.16815e-05 Jy ! Clean residual min=-0.001479 max=0.001489 Jy/beam ! Clean residual mean=0.000001 rms=0.000388 Jy/beam ! Combined flux in latest and established models = 0.167796 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 123 components and 0.167796 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052393Jy sigma=0.083270 ! Fit after self-cal, rms=0.052395Jy sigma=0.083270 ! 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/J0642+1128_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.664 mas, bmaj=2.715 mas, bpa=3.477 degrees ! Estimated noise=5.08199 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.664 x 2.715 at 3.477 degrees (North through East) ! Clean map min=-0.0013936 max=0.12356 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J0642+1128_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.1235 rms= 0.00037 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J0642+1128_X_uvs.log closed on Fri Dec 20 23:44:28 2013