! Started logfile: /d2/scr/pima/rdv96_uvs/J2238+6804_X_uvs.log on Fri Dec 20 23:47:08 2013 obs /d2/scr/pima/rdv96_uvs/J2238+6804_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J2238+6804_X_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.722222 visibilities/baseline/integration-bin. ! Found source: J2238+6804 ! ! 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 5720 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/J2238+6804_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.004202Jy sigma=1.006635 ! Fit after self-cal, rms=0.937552Jy sigma=0.921715 ! 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.7474 mas, bmaj=1.916 mas, bpa=88.56 degrees ! Estimated noise=20.758 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.052848 Jy ! Component: 100 - total flux cleaned = 0.0654394 Jy ! Total flux subtracted in 100 components = 0.0654394 Jy ! Clean residual min=-0.006241 max=0.012637 Jy/beam ! Clean residual mean=-0.000011 rms=0.001575 Jy/beam ! Combined flux in latest and established models = 0.0654394 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.0654394 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060854Jy sigma=0.055848 ! Fit after self-cal, rms=0.059087Jy sigma=0.054856 ! Inverting map ! Added new window around map position (-1.4, 2). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0105949 Jy ! Component: 100 - total flux cleaned = 0.0150201 Jy ! Total flux subtracted in 100 components = 0.0150201 Jy ! Clean residual min=-0.005597 max=0.011612 Jy/beam ! Clean residual mean=-0.000007 rms=0.001279 Jy/beam ! Combined flux in latest and established models = 0.0804595 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 18 components and 0.0804595 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057071Jy sigma=0.051153 ! Fit after self-cal, rms=0.056824Jy sigma=0.050637 ! Inverting map ! Added new window around map position (2.6, -4.2). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00853209 Jy ! Component: 100 - total flux cleaned = 0.01188 Jy ! Total flux subtracted in 100 components = 0.01188 Jy ! Clean residual min=-0.005224 max=0.005542 Jy/beam ! Clean residual mean=-0.000004 rms=0.001069 Jy/beam ! Combined flux in latest and established models = 0.0923394 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 24 components and 0.0923395 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055395Jy sigma=0.048967 ! Fit after self-cal, rms=0.055468Jy sigma=0.048893 ! 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.043 mas, bmaj=2.426 mas, bpa=88.15 degrees ! Estimated noise=10.1595 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.8, -1.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0059208 Jy ! Component: 100 - total flux cleaned = 0.00902755 Jy ! Component: 150 - total flux cleaned = 0.00973801 Jy ! Component: 200 - total flux cleaned = 0.0103844 Jy ! Total flux subtracted in 200 components = 0.0103844 Jy ! Clean residual min=-0.003449 max=0.003944 Jy/beam ! Clean residual mean=0.000004 rms=0.000765 Jy/beam ! Combined flux in latest and established models = 0.102724 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 43 components and 0.102724 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.054563Jy sigma=0.048011 ! Fit after self-cal, rms=0.054659Jy sigma=0.047988 ! 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.98 FD 1.01 HN 1.05 KP 1.00 ! LA 1.06 MK 1.06 NL 1.06 OV 1.00 ! PT 0.95 SC 0.92 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 FD 1.04 HN 1.08 KP 0.95 ! LA 0.97 MK 0.99 NL 1.19 OV 1.01 ! PT 0.99 SC 1.02 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 0.98 HN 1.03 KP 0.86 ! LA 1.02 MK 0.95 NL 1.04 OV 1.03 ! PT 1.01 SC 0.98 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 FD 0.96 HN 1.07 KP 0.85 ! LA 1.06 MK 1.01 NL 1.19 OV 1.08 ! PT 1.00 SC 0.92 ! ! ! Fit before self-cal, rms=0.054659Jy sigma=0.047988 ! Fit after self-cal, rms=0.054497Jy sigma=0.047514 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.049 mas, bmaj=2.458 mas, bpa=88.21 degrees ! Estimated noise=10.082 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 (-2.6, 4.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00111544 Jy ! Component: 100 - total flux cleaned = 0.0014137 Jy ! Component: 150 - total flux cleaned = 0.00182325 Jy ! Component: 200 - total flux cleaned = 0.00216781 Jy ! Total flux subtracted in 200 components = 0.00216781 Jy ! Clean residual min=-0.002501 max=0.002733 Jy/beam ! Clean residual mean=0.000002 rms=0.000564 Jy/beam ! Combined flux in latest and established models = 0.104892 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 65 components and 0.104892 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053933Jy sigma=0.047337 ! Fit after self-cal, rms=0.054097Jy sigma=0.047310 ! 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.054097Jy sigma=0.047310 ! Fit after self-cal, rms=0.053708Jy sigma=0.047282 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.049 mas, bmaj=2.461 mas, bpa=88.41 degrees ! Estimated noise=9.97495 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 4.39632e-05 Jy ! Component: 100 - total flux cleaned = 0.000287072 Jy ! Component: 150 - total flux cleaned = 0.000398136 Jy ! Component: 200 - total flux cleaned = 0.000501919 Jy ! Total flux subtracted in 200 components = 0.000501919 Jy ! Clean residual min=-0.002387 max=0.002405 Jy/beam ! Clean residual mean=0.000002 rms=0.000528 Jy/beam ! Combined flux in latest and established models = 0.105394 Jy selfcal ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 82 components and 0.105394 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053462Jy sigma=0.047224 ! Fit after self-cal, rms=0.053514Jy sigma=0.047219 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 (-4.8, -9.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00109756 Jy ! Component: 100 - total flux cleaned = 0.000927382 Jy ! Component: 150 - total flux cleaned = 0.00082631 Jy ! Component: 200 - total flux cleaned = 0.000781875 Jy ! Total flux subtracted in 200 components = 0.000781875 Jy ! Clean residual min=-0.002364 max=0.002070 Jy/beam ! Clean residual mean=0.000002 rms=0.000500 Jy/beam ! Combined flux in latest and established models = 0.106176 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 100 components and 0.106176 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053331Jy sigma=0.047131 ! Fit after self-cal, rms=0.053343Jy sigma=0.047121 ! 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.053343Jy sigma=0.047121 ! Fit after self-cal, rms=0.053860Jy sigma=0.046993 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.042 mas, bmaj=2.454 mas, bpa=88.26 degrees ! Estimated noise=9.95623 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000160963 Jy ! Component: 100 - total flux cleaned = 0.000204825 Jy ! Component: 150 - total flux cleaned = 0.000246259 Jy ! Component: 200 - total flux cleaned = 0.000284972 Jy ! Total flux subtracted in 200 components = 0.000284972 Jy ! Clean residual min=-0.001923 max=0.001679 Jy/beam ! Clean residual mean=0.000001 rms=0.000433 Jy/beam ! Combined flux in latest and established models = 0.106461 Jy selfcal ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 115 components and 0.106461 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053754Jy sigma=0.046955 ! Fit after self-cal, rms=0.053827Jy sigma=0.046948 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 = 4.09044e-05 Jy ! Component: 100 - total flux cleaned = 7.61194e-05 Jy ! Component: 150 - total flux cleaned = 0.00010923 Jy ! Component: 200 - total flux cleaned = 7.88956e-05 Jy ! Total flux subtracted in 200 components = 7.88956e-05 Jy ! Clean residual min=-0.001960 max=0.001641 Jy/beam ! Clean residual mean=0.000001 rms=0.000426 Jy/beam ! Combined flux in latest and established models = 0.106539 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 121 components and 0.106539 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053759Jy sigma=0.046929 ! Fit after self-cal, rms=0.053772Jy sigma=0.046928 ! 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.053772Jy sigma=0.046928 ! Fit after self-cal, rms=0.053980Jy sigma=0.046917 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.652 mas, bmaj=3.77 mas, bpa=-85.06 degrees ! Estimated noise=10.5127 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000304927 Jy ! Component: 100 - total flux cleaned = -0.000403886 Jy ! Component: 150 - total flux cleaned = -0.000464078 Jy ! Component: 200 - total flux cleaned = -0.000521341 Jy ! Total flux subtracted in 200 components = -0.000521341 Jy ! Clean residual min=-0.002200 max=0.001533 Jy/beam ! Clean residual mean=0.000000 rms=0.000466 Jy/beam ! Combined flux in latest and established models = 0.106018 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 133 components and 0.106018 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053936Jy sigma=0.046901 ! Fit after self-cal, rms=0.053956Jy sigma=0.046900 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.000181401 Jy ! Component: 100 - total flux cleaned = -0.00023413 Jy ! Component: 150 - total flux cleaned = -0.000233805 Jy ! Component: 200 - total flux cleaned = -0.000282816 Jy ! Total flux subtracted in 200 components = -0.000282816 Jy ! Clean residual min=-0.002062 max=0.001492 Jy/beam ! Clean residual mean=0.000001 rms=0.000454 Jy/beam ! Combined flux in latest and established models = 0.105735 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 141 components and 0.105735 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053928Jy sigma=0.046892 ! Fit after self-cal, rms=0.053934Jy sigma=0.046891 ! 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/J2238+6804_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.042 mas, bmaj=2.458 mas, bpa=88.23 degrees ! Estimated noise=9.95793 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.042 x 2.458 at 88.23 degrees (North through East) ! Clean map min=-0.0021063 max=0.053934 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J2238+6804_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.0539 rms= 0.0004 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J2238+6804_X_uvs.log closed on Fri Dec 20 23:47:10 2013