/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Waiting 25 seconds before starting... Proceeding. Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 7393 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0502.5+1340_daily_bin1263 RA = 75.6341, Dec = 13.6685 tmin = 566697601, tmax = 566956801 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository Job = True LAT data Source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='926251', job_status='RUN', time_executed='2021-08-21 18:11:29.069652', time_epoch_executed='1629594689.07' WHERE source_name='4FGL J0502.5+1340' and cadence='daily' and bin_id='1263' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/926251 Creating custom pfile directory: /scratch/kocevski/926251/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=566697601.0 && nMetStart<566956801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=566697601.0 && nMetStart<566956801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/926251/ft1_4FGL_J0502.5+1340_daily_bin1263.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=566697601.0 && nMetStart<566956801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/926251/ft2_4FGL_J0502.5+1340_daily_bin1263.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/926251/ft1_4FGL_J0502.5+1340_daily_bin1263.fits outfile=/scratch/kocevski/926251/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1263.fits ra=75.6341 dec=13.6685 rad=12.0 tmin=566697601.0 tmax=566956801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 3.88 user 1.78 sys 2.06 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/926251/ft2_4FGL_J0502.5+1340_daily_bin1263.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/926251/ft2_4FGL_J0502.5+1340_daily_bin1263.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/926251/ft1_filteredMKT_4FGL_J0502.5+1340_daily_bin1263.fits evtable="EVENTS" outfile="/scratch/kocevski/926251/ft1_filtered_4FGL_J0502.5+1340_daily_bin1263.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 2.36 user 0.35 sys 2.00 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/926251/ft1_filtered_4FGL_J0502.5+1340_daily_bin1263.fits" evtable="EVENTS" scfile=/scratch/kocevski/926251/ft2_4FGL_J0502.5+1340_daily_bin1263.fits sctable="SC_DATA" outfile=/scratch/kocevski/926251/ltcube_566697601_566956801_4FGL_J0502.5+1340_daily_bin1263.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /scratch/kocevski/926251/ft2_4FGL_J0502.5+1340_daily_bin1263.fits .....................! real 14.92 user 12.47 sys 2.41 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/926251/ft1_filtered_4FGL_J0502.5+1340_daily_bin1263.fits evtable="EVENTS" scfile=/scratch/kocevski/926251/ft2_4FGL_J0502.5+1340_daily_bin1263.fits sctable="SC_DATA" expcube=/scratch/kocevski/926251/ltcube_566697601_566956801_4FGL_J0502.5+1340_daily_bin1263.fits outfile=/scratch/kocevski/926251/expmap_566697601_566956801_4FGL_J0502.5+1340_daily_bin1263.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /scratch/kocevski/926251/ltcube_566697601_566956801_4FGL_J0502.5+1340_daily_bin1263.fits .....................! real 196.65 user 187.73 sys 8.14 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template. Extended source IC 443 in ROI with RadialGaussian spatial model. Added 161 point sources and 2 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0502.5+1340 @ 75.6341 13.6685 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/926251/ft1_filtered_4FGL_J0502.5+1340_daily_bin1263.fits scfile=/scratch/kocevski/926251/ft2_4FGL_J0502.5+1340_daily_bin1263.fits outfile=/scratch/kocevski/926251/cmap_566697601_566956801_4FGL_J0502.5+1340_daily_bin1263.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=75.6341 yref=13.6685 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 2.43 user 0.37 sys 1.99 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/926251/ft1_filtered_4FGL_J0502.5+1340_daily_bin1263.fits scfile=/scratch/kocevski/926251/ft2_4FGL_J0502.5+1340_daily_bin1263.fits outfile=/scratch/kocevski/926251/cmap_HighResolution_566697601_566956801_4FGL_J0502.5+1340_daily_bin1263.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=75.6341 yref=13.6685 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 2.40 user 0.37 sys 1.99 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/926251/ft1_filtered_4FGL_J0502.5+1340_daily_bin1263.fits evtable="EVENTS" scfile=/scratch/kocevski/926251/ft2_4FGL_J0502.5+1340_daily_bin1263.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/926251/Model_4FGL_J0502.5+1340_daily_bin1263.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 adding source IC 443 adding source S 147 Working on... /scratch/kocevski/926251/ft1_filtered_4FGL_J0502.5+1340_daily_bin1263.fits.....................! real 110.67 user 106.09 sys 3.79 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/926251/ft1_filtered_4FGL_J0502.5+1340_daily_bin1263.fits', '/scratch/kocevski/926251/ft2_4FGL_J0502.5+1340_daily_bin1263.fits', expMap='/scratch/kocevski/926251/expmap_566697601_566956801_4FGL_J0502.5+1340_daily_bin1263.fits', expCube='/scratch/kocevski/926251/ltcube_566697601_566956801_4FGL_J0502.5+1340_daily_bin1263.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/926251/Model_4FGL_J0502.5+1340_daily_bin1263.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0502.5+1340' 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.139e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/926251/ft1_filtered_4FGL_J0502.5+1340_daily_bin1263.fits Spacecraft file(s): /scratch/kocevski/926251/ft2_4FGL_J0502.5+1340_daily_bin1263.fits Exposure map: /scratch/kocevski/926251/expmap_566697601_566956801_4FGL_J0502.5+1340_daily_bin1263.fits Exposure cube: /scratch/kocevski/926251/ltcube_566697601_566956801_4FGL_J0502.5+1340_daily_bin1263.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/926251/Model_4FGL_J0502.5+1340_daily_bin1263.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4815.005901 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4814.9889029 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 34.842 1.0000 .10000E-03 10000. 3 'Prefactor ' 32.004 1.0000 .10000E-03 10000. 4 'norm ' 6.9223 1.0000 .10000E-03 10000. 5 'Prefactor ' .10173E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .10025E-03 1.0000 .10000E-03 10000. 7 'norm ' 7.4246 1.0000 .10000E-03 10000. 8 'Prefactor ' .10100E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10109E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 12.582 1.0000 .10000E-03 10000. 11 'norm ' 3.0713 1.0000 .10000E-03 10000. 12 'norm ' 5.1211 1.0000 .10000E-03 10000. 13 'Prefactor ' 6.0610 1.0000 .10000E-03 10000. 14 'norm ' .10001E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' 33.740 1.0000 .10000E-03 10000. 16 'Prefactor ' 57.092 1.0000 .10000E-03 10000. 17 'norm ' 2.0233 1.0000 .10000E-03 10000. 18 'Prefactor ' .19560E-01 1.0000 .10000E-03 10000. 19 'norm ' .56623 1.0000 .10000E-03 10000. 20 'norm ' 7.5810 1.0000 .10000E-03 10000. 21 'Prefactor ' .10017E-03 1.0000 .10000E-03 10000. 22 'norm ' 68.970 1.0000 .10000E-03 10000. 23 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' .10627E-03 1.0000 .10000E-03 10000. 25 'Prefactor ' .10035E-03 1.0000 .10000E-03 10000. 26 'Prefactor ' .10248E-03 1.0000 .10000E-03 10000. 27 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 28 'Normalizat' .84575 1.0000 .10000E-01 10.000 29 'Prefactor ' .91753 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 4814.989 FROM MIGRAD STATUS=CONVERGED 738 CALLS 3797 TOTAL EDM= .25E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 13.651 -.55502E-07** at limit ** 2 Prefactor 34.919 105.28 -.21888E-05 .68854E-05 3 Prefactor 32.005 26.345 .12776E-06 .48321E-05 4 norm 6.9223 4.2881 .25258E-08 -.56274E-05 5 Prefactor .10000E-03 57.779 .63069E-06** at limit ** 6 Prefactor .10000E-03 9.1337 -.80502E-07** at limit ** 7 norm 7.4254 5.0371 .47745E-06 .10879E-03 8 Prefactor .10000E-03 28.852 .12198E-06** at limit ** 9 Prefactor .10000E-03 201.37 .17332E-05** at limit ** 10 Prefactor 12.576 30.164 -.45154E-06 .12690E-04 11 norm 3.0715 1.4937 -.12557E-06 -.47468E-04 12 norm 5.1214 6.2683 .60674E-06 .28762E-04 13 Prefactor 6.0598 6.6447 .53432E-06 .78567E-04 14 norm .10000E-03 11.753 -.31895E-06** at limit ** 15 Prefactor 33.738 23.469 -.12691E-06 .63706E-04 16 Prefactor 56.831 456.59 .11801E-04 .45926E-05 17 norm 2.0271 54.467 -.53721E-05 -.24555E-04 18 Prefactor .10003E-03 8198.0 .16126E-04** at limit ** 19 norm 1.0062 21.639 -.21430E-05 .24741E-03 20 norm 7.5788 4.5733 .65574E-07 .10235E-03 21 Prefactor .10000E-03 .80796 -.27811E-06** at limit ** 22 norm 69.065 34.281 .16456E-05 .28692E-04 23 Prefactor .10000E-03 6.2636 -.10113E-06** at limit ** 24 Prefactor .10000E-03 40.857 -.80047E-06** at limit ** 25 Prefactor .10000E-03 52.855 .52294E-06** at limit ** 26 Prefactor .10000E-03 90.794 -.90595E-06** at limit ** 27 Prefactor .10000E-03 10.406 -.55599E-07** at limit ** 28 Normalizat .84596 .53240 -.37251E-06 .13493E-04 29 Prefactor .91737 .11037 -.15218E-06 .10395E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 34.919 Prefactor = 32.0048 norm = 6.92231 Prefactor = 0.0001 Prefactor = 0.0001 norm = 7.42539 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 12.5762 norm = 3.07154 norm = 5.12143 Prefactor = 6.05985 norm = 0.0001 Prefactor = 33.7379 Prefactor = 56.8305 norm = 2.02715 Prefactor = 0.000100029 norm = 1.00619 norm = 7.57876 Prefactor = 0.0001 norm = 69.0654 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Normalizat = 0.845959 Prefactor = 0.917373 ********** ** 18 **HESSE ********** FCN= 4814.989 FROM HESSE STATUS=OK 553 CALLS 4350 TOTAL EDM= .58E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 13.656 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 34.919 105.02 .67891E-04 -1.4525 3 Prefactor 32.005 26.317 .70828E-04 -1.4576 4 norm 6.9223 4.2722 .10491E-03 -1.5182 5 Prefactor .10000E-03 57.810 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .10000E-03 9.1964 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 7.4254 5.0032 .57840E-03 -1.5163 8 Prefactor .10000E-03 28.859 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 202.09 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 12.576 30.123 .11293E-03 -1.4999 11 norm 3.0715 1.4930 .50461E-04 -1.5357 12 norm 5.1214 6.2802 .86285E-03 -1.5255 13 Prefactor 6.0598 6.6186 .81543E-03 -1.5216 14 norm .10000E-03 11.780 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 33.738 23.464 .68987E-04 -1.4546 16 Prefactor 56.831 454.62 .26546E-03 -1.4199 17 norm 2.0271 55.268 .29091E-03 -1.5423 18 Prefactor .10003E-03 8220.8 .36482E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm 1.0062 208.51 .58389E-02 -1.5507 20 norm 7.5788 4.5747 .10884E-03 -1.5157 21 Prefactor .10000E-03 1.6131 .11482E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 69.065 36.015 .24167E-03 -1.4044 23 Prefactor .10000E-03 6.2714 .16957E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 40.806 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor .10000E-03 52.838 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Prefactor .10000E-03 90.722 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 27 Prefactor .10000E-03 10.407 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat .84596 .53039 .72047E-03 -.98386 29 Prefactor .91737 .11610 .15150E-03 -.95537 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.76896e-09 Minuit parameter uncertainties: 1 1.23003e-06 2 105.582 3 26.3261 4 4.2724 5 5.82794e-05 6 7.14076e-06 7 5.0035 8 1.35881e-05 9 0.000383416 10 30.159 11 1.49303 12 6.281 13 6.61938 14 5.32291e-06 15 23.4701 16 324.92 17 21.1905 18 0.0319887 19 29.0706 20 4.57489 21 6.8788e-06 22 36.026 23 2.60721e-06 24 4.5994e-05 25 2.60667e-05 26 6.94983e-05 27 3.50542e-06 28 0.533697 29 0.116132 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4814.98878315 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.258e+01 3.016e+01 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 2.232e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.174e-01 1.161e-01 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 8.460e-01 5.337e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.20 Ra Dec: 75.634 13.668 Photon Flux Upper Limit: 4.51e-07 ph cm-2 s-1 Energy Flux Upper Limit: 3.45e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/926251/likelihoodResults_566697601_566956801_4FGL_J0502.5+1340_daily_bin1263.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 4814.80400073 delta logL = 0.184782420438 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 4814.76266412 delta logL = 0.226119029325 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .14711 1.0000 .10000E-03 10000. 2 'Index ' 4.5275 1.0000 .0000 10.000 3 'Normalizat' .74228 1.0000 .10000E-01 10.000 4 'Prefactor ' .93311 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5520E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 4814.763 FROM MIGRAD STATUS=CONVERGED 60 CALLS 363 TOTAL EDM= .83E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .14510 3.7380 .77574E-02 .60877E-03 2 Index 4.5334 2.7331 .92953E-01 .90249E-04 3 Normalizat .74196 .10259 .17185 -.60727E-05 4 Prefactor .93322 .22572E-01 .34011E-01 -.16219E-03 ERR DEF= .500 Final values: Prefactor = 0.145103 Index = 4.5334 Normalizat = 0.741958 Prefactor = 0.933223 ********** ** 18 **HESSE ********** FCN= 4814.763 FROM HESSE STATUS=NOT POSDEF 33 CALLS 396 TOTAL EDM= .32E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .14510 12.755 .35783E-03 -1.5632 2 Index 4.5334 7.2589 .53788E-02 -.93456E-01 3 Normalizat .74196 .37241 .76412E-03 -1.0226 4 Prefactor .93322 .81981E-01 .15030E-03 -.94990 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.17332e-10 Minuit parameter uncertainties: 1 2.72054 2 6.95999 3 0.37369 4 0.0819921 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/926251': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 4814.76266141 delta logL = 0.226121737736 Extracting fit parameters... 4FGL J0502.5+1340 Spectrum: PowerLaw 218 Prefactor: 1.451e-01 2.721e+00 1.000e-04 1.000e+04 ( 1.000e-13) 219 Index: 4.533e+00 6.960e+00 0.000e+00 1.000e+01 (-1.000e+00) 220 Scale: 1.884e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 541 Prefactor: 9.332e-01 8.199e-02 0.000e+00 1.000e+01 ( 1.000e+00) 542 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 543 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 540 Normalization: 7.420e-01 3.737e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.20 Ra Dec: 75.634 13.668 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/926251/cmap_HighResolution_566697601_566956801_4FGL_J0502.5+1340_daily_bin1263.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/926251 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.45e-02', job_status='DONE', photon_flux_upper_limit='4.51e-07', time_completed='2021-08-21 18:23:54.793410', job_id='926251', GAL2='0.93', fit_tolerance='1e-08', EG2='0.74', EG='0.85', time_epoch_completed='1629595434.79', return_code2='102', ts='0.20', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.26e-01', ts2='0.70', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1263' AND source_name='4FGL J0502.5+1340' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Aug 21 18:23:54 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 926251: <4FGL_J0502.5+1340_daily_bin1263> in cluster Done Job <4FGL_J0502.5+1340_daily_bin1263> was submitted from host by user in cluster at Sat Aug 21 18:10:27 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Aug 21 18:10:29 2021 was used as the home directory. was used as the working directory. Started at Sat Aug 21 18:10:29 2021 Terminated at Sat Aug 21 18:23:56 2021 Results reported at Sat Aug 21 18:23:56 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0502.5+1340_daily_bin1263 75.6341 13.6685 566697601 566956801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0502.5+1340 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 765.00 sec. Max Memory : 1256 MB Average Memory : 341.76 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 806 sec. Turnaround time : 809 sec. The output (if any) is above this job summary.