9/3 2014 j_ima_iros Logic j_ima_iros search unknown source New Old Line numbers i j_ima_iros_work2.c 270315 211014 1978 1958 Loop over energies for (eeuser=backproj->ee_basic; eeusernumShds; eeuser++) { 2090 2067 Loop over found sources starts. for (allsrc=backproj->backmodels; allsrcpreset_src; psrc++) { Define sourceID-numbers: kmax to logger->N_SRC2 (presrc = backproj->backmodels + backproj->preset_src_N_SRC2[psrc]) 2605 2558 Search for bursts in light curves corresponding to the user defined sources. (TslBurstChk) 2701 2685 } 2751 2685 Loop over preset sources ends. 2768 2702 Search for bursts in detector light curve. Define special sourceID number: 0 2841 2773 Search for bursts in the 'global' light curve. (TslABurstChk) 2997 2910 Loop over edge sources start 2997 2924 for (ej=1; ej<9; ej++) { Define special sourceID-numbers: 90 - 97 3166 3083 Search for bursts in the 'edge' light curves. (TslBurstChk) 3246 3158 } 3337 3249 End of eeuser-loop (starts in 1955) 3366 3278 Call 'summary_p'. Print summary of the source finding results from j_ima_iros. Sort any burst detections according to their ocurrence time and their significance. For each burst period the trigger with the highest significance is selected by 'summary_p' as corresponding to the most likely source. Burst triggers appearing with the highest significance in a light curve from a specific source are accepted as originating from that source. Burst triggers appearing with the highest significance in the global (detector-) light curve or in one of the 8 'edge' light curves may come from an unknown source or be the result of a Solar/magnetospheric disturbance. SEARCH FOR UNKNOWN BURST SOURCES In case we find bursts in the global light curve for which there is no identified source we go through the following sequence: 3433 3345 Loop over burst periods (ibu) For each burst period: 3452 3364 Loop over energies (iee) For each energy band for which a burst trigger was recorded during the summary_p analysis 3505 3417 Extract a shadowgram from the burst period ['fill_burst_shd'] 3626 3538 Backproject this shadowgram ['j_fitprep'] to form a sky image. 3660 3578 Find dominating source in the image ***** Check new candidate against the full list of already analyzed sources 'found', 'user' and 'dominating'. 3718 3660 Add new source to this list if not seen previously. 3769 3673 End of loop over energies 3770 3674 End of loop over burst detections 3790 3694 Begin new loop over energies 3797 3701 Loop over 'dominating' sources 3835 3739 Call 'final_fit' to set up pif-map for this source 3868 3772 Call 'initPIF_LC' 4103 3997 End loop over dominating sources 4110 4004 End loop over energies **************************************************************** 4123-4139 Print full list of extra burst detections (?) 4146-4172 Print shorthand burst parameters for all bursts 4174-4250 Mini images skipped 4260-4435 Output selected burst light curves to regfile (?) (P-marked) 4441-4616 Output data to regfil (?) (Q-marked)