/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 113 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 = 7433 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J0804.5+0414_daily_bin220 RA = 121.133, Dec = 4.2393 tmin = 296352001, tmax = 296611201 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='93944', job_status='RUN', time_executed='2021-08-29 00:12:54.624338', time_epoch_executed='1630221174.62' WHERE source_name='4FGL J0804.5+0414' and cadence='daily' and bin_id='220' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/93944 Creating custom pfile directory: /scratch/kocevski/93944/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=296352001.0 && nMetStart<296611201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=296352001.0 && nMetStart<296611201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/93944/ft1_4FGL_J0804.5+0414_daily_bin220.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=296352001.0 && nMetStart<296611201.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/93944/ft2_4FGL_J0804.5+0414_daily_bin220.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/93944/ft1_4FGL_J0804.5+0414_daily_bin220.fits outfile=/scratch/kocevski/93944/ft1_filteredMKT_4FGL_J0804.5+0414_daily_bin220.fits ra=121.133 dec=4.2393 rad=12.0 tmin=296352001.0 tmax=296611201.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.59 user 2.26 sys 1.28 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/93944/ft2_4FGL_J0804.5+0414_daily_bin220.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/93944/ft2_4FGL_J0804.5+0414_daily_bin220.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/93944/ft1_filteredMKT_4FGL_J0804.5+0414_daily_bin220.fits evtable="EVENTS" outfile="/scratch/kocevski/93944/ft1_filtered_4FGL_J0804.5+0414_daily_bin220.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 1.64 user 0.34 sys 1.27 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/93944/ft1_filtered_4FGL_J0804.5+0414_daily_bin220.fits" evtable="EVENTS" scfile=/scratch/kocevski/93944/ft2_4FGL_J0804.5+0414_daily_bin220.fits sctable="SC_DATA" outfile=/scratch/kocevski/93944/ltcube_296352001_296611201_4FGL_J0804.5+0414_daily_bin220.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/93944/ft2_4FGL_J0804.5+0414_daily_bin220.fits .....................! real 13.50 user 11.86 sys 1.57 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/93944/ft1_filtered_4FGL_J0804.5+0414_daily_bin220.fits evtable="EVENTS" scfile=/scratch/kocevski/93944/ft2_4FGL_J0804.5+0414_daily_bin220.fits sctable="SC_DATA" expcube=/scratch/kocevski/93944/ltcube_296352001_296611201_4FGL_J0804.5+0414_daily_bin220.fits outfile=/scratch/kocevski/93944/expmap_296352001_296611201_4FGL_J0804.5+0414_daily_bin220.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/93944/ltcube_296352001_296611201_4FGL_J0804.5+0414_daily_bin220.fits .....................! real 192.18 user 184.75 sys 7.04 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 Monoceros in ROI with RadialGaussian spatial model. Added 167 point sources and 1 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 J0804.5+0414 @ 121.133 4.2393 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/93944/ft1_filtered_4FGL_J0804.5+0414_daily_bin220.fits scfile=/scratch/kocevski/93944/ft2_4FGL_J0804.5+0414_daily_bin220.fits outfile=/scratch/kocevski/93944/cmap_296352001_296611201_4FGL_J0804.5+0414_daily_bin220.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=121.133 yref=4.2393 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 1.61 user 0.37 sys 1.22 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/93944/ft1_filtered_4FGL_J0804.5+0414_daily_bin220.fits scfile=/scratch/kocevski/93944/ft2_4FGL_J0804.5+0414_daily_bin220.fits outfile=/scratch/kocevski/93944/cmap_HighResolution_296352001_296611201_4FGL_J0804.5+0414_daily_bin220.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=121.133 yref=4.2393 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 1.65 user 0.38 sys 1.24 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/93944/ft1_filtered_4FGL_J0804.5+0414_daily_bin220.fits evtable="EVENTS" scfile=/scratch/kocevski/93944/ft2_4FGL_J0804.5+0414_daily_bin220.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/93944/Model_4FGL_J0804.5+0414_daily_bin220.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 Monoceros Working on... /scratch/kocevski/93944/ft1_filtered_4FGL_J0804.5+0414_daily_bin220.fits.....................! real 80.82 user 77.74 sys 2.69 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/93944/ft1_filtered_4FGL_J0804.5+0414_daily_bin220.fits', '/scratch/kocevski/93944/ft2_4FGL_J0804.5+0414_daily_bin220.fits', expMap='/scratch/kocevski/93944/expmap_296352001_296611201_4FGL_J0804.5+0414_daily_bin220.fits', expCube='/scratch/kocevski/93944/ltcube_296352001_296611201_4FGL_J0804.5+0414_daily_bin220.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/93944/Model_4FGL_J0804.5+0414_daily_bin220.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0804.5+0414' 4FGL J0804.5+0414 Spectrum: PowerLaw 281 Prefactor: 7.193e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 282 Index: 2.491e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 283 Scale: 8.390e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/93944/ft1_filtered_4FGL_J0804.5+0414_daily_bin220.fits Spacecraft file(s): /scratch/kocevski/93944/ft2_4FGL_J0804.5+0414_daily_bin220.fits Exposure map: /scratch/kocevski/93944/expmap_296352001_296611201_4FGL_J0804.5+0414_daily_bin220.fits Exposure cube: /scratch/kocevski/93944/ltcube_296352001_296611201_4FGL_J0804.5+0414_daily_bin220.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/93944/Model_4FGL_J0804.5+0414_daily_bin220.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) = 6357.73889912 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6357.73597876 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 3.3906 1.0000 .10000E-03 10000. 2 'Prefactor ' 26.965 1.0000 .10000E-03 10000. 3 'Prefactor ' 2.4943 1.0000 .10000E-03 10000. 4 'Prefactor ' 16.086 1.0000 .10000E-03 10000. 5 'norm ' 5.3001 1.0000 .10000E-03 10000. 6 'Prefactor ' .18034E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 3.0706 1.0000 .10000E-03 10000. 8 'norm ' 6.1091 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .14934E-03 1.0000 .10000E-03 10000. 11 'Prefactor ' 3.1043 1.0000 .10000E-03 10000. 12 'Prefactor ' .29942 1.0000 .10000E-03 10000. 13 'norm ' 3.4661 1.0000 .10000E-03 10000. 14 'norm ' .10003E-03 1.0000 .10000E-03 10000. 15 'norm ' .10013E-03 1.0000 .10000E-03 10000. 16 'norm ' 4.0732 1.0000 .10000E-03 10000. 17 'Prefactor ' 33.127 1.0000 .10000E-03 10000. 18 'Prefactor ' .10095E-03 1.0000 .10000E-03 10000. 19 'norm ' .54841 1.0000 .10000E-03 10000. 20 'norm ' .10016E-03 1.0000 .10000E-03 10000. 21 'Normalizat' 1.2455 1.0000 .10000E-01 10.000 22 'Prefactor ' .93136 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5570E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6357.736 FROM MIGRAD STATUS=CONVERGED 566 CALLS 2436 TOTAL EDM= .26E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 3.3906 2.2464 .22378E-06 .68005E-03 2 Prefactor 27.008 35.626 -.61153E-06 .20088E-04 3 Prefactor 2.4915 7.5455 .56652E-05 -.39464E-04 4 Prefactor 16.041 44.020 -.36520E-05 .78642E-05 5 norm 5.3007 2.2799 .72990E-07 .55676E-03 6 Prefactor .10000E-03 52.846 -.49623E-06** at limit ** 7 Prefactor 3.0705 2.9825 .55323E-07 .11258E-03 8 norm 6.1062 12.745 .49939E-07 .24517E-04 9 Prefactor .10000E-03 5.7647 -.53134E-07** at limit ** 10 Prefactor .10000E-03 65.018 -.15154E-06** at limit ** 11 Prefactor 3.1043 6.3188 .26041E-05 .17600E-05 12 Prefactor .11340E-01 31.996 -.28519E-05 .61259E-04 13 norm 3.4621 10.373 -.31915E-06 .49882E-04 14 norm .10000E-03 1.1855 -.19809E-06** at limit ** 15 norm .10000E-03 13.023 -.31677E-06** at limit ** 16 norm 4.0756 3.2614 .68882E-07 .26036E-03 17 Prefactor 33.167 40.239 .11130E-05 .17092E-03 18 Prefactor .10000E-03 9.9407 -.43249E-06** at limit ** 19 norm .54774 .99780 -.74043E-07 -.41871E-03 20 norm .10000E-03 5.1269 -.16630E-06** at limit ** 21 Normalizat 1.2459 .21410 .10085E-05 .36718E-03 22 Prefactor .93142 .13176 -.87392E-06 .51459E-03 ERR DEF= .500 Final values: norm = 3.39059 Prefactor = 27.0085 Prefactor = 2.49146 Prefactor = 16.0408 norm = 5.30072 Prefactor = 0.0001 Prefactor = 3.07045 norm = 6.10617 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 3.10426 Prefactor = 0.0113397 norm = 3.46209 norm = 0.0001 norm = 0.0001 norm = 4.07564 Prefactor = 33.1667 Prefactor = 0.0001 norm = 0.547739 norm = 0.0001 Normalizat = 1.24586 Prefactor = 0.931422 ********** ** 18 **HESSE ********** FCN= 6357.736 FROM HESSE STATUS=OK 352 CALLS 2788 TOTAL EDM= .51E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 3.3906 2.2470 .91114E-04 -1.5340 2 Prefactor 27.008 35.632 .77147E-04 -1.4668 3 Prefactor 2.4915 7.5372 .12940E-02 -1.5392 4 Prefactor 16.041 44.020 .99862E-04 -1.4907 5 norm 5.3007 2.2789 .74548E-04 -1.5247 6 Prefactor .10000E-03 53.229 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 3.0705 2.9826 .12951E-03 -1.5357 8 norm 6.1062 12.732 .16243E-03 -1.5214 9 Prefactor .10000E-03 5.7811 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 65.033 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 3.1043 6.3031 .11508E-02 -1.5356 12 Prefactor .11340E-01 37.559 .11447 -1.5687 13 norm 3.4621 10.344 .21721E-03 -1.5336 14 norm .10000E-03 2.7307 .16867E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .10000E-03 13.057 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 4.0756 3.2594 .12464E-03 -1.5304 17 Prefactor 33.167 40.883 .69621E-04 -1.4556 18 Prefactor .10000E-03 10.004 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .54774 .98170 .10137E-03 -1.5560 20 norm .10000E-03 5.1668 .17632E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Normalizat 1.2459 .24886 .28652E-03 -.85197 22 Prefactor .93142 .15217 .21028E-03 -.95052 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.10964e-10 Minuit parameter uncertainties: 1 2.24709 2 35.6597 3 7.54007 4 44.1095 5 2.27899 6 0.000264029 7 2.98277 8 12.7375 9 7.59952e-06 10 5.44678e-05 11 6.30442 12 1.30029 13 10.3489 14 1.66841e-05 15 7.75352e-05 16 3.25952 17 40.9173 18 9.56848e-05 19 0.981732 20 2.39734e-05 21 0.249101 22 0.152242 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6357.7359325 Extracting fit parameters... 4FGL J0804.5+0414 Spectrum: PowerLaw 281 Prefactor: 1.134e-02 1.300e+00 1.000e-04 1.000e+04 ( 1.000e-13) 282 Index: 2.491e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 283 Scale: 8.390e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 550 Prefactor: 9.314e-01 1.522e-01 0.000e+00 1.000e+01 ( 1.000e+00) 551 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 552 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 549 Normalization: 1.246e+00 2.491e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 121.133 4.239 Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1 Energy Flux Upper Limit: 8.00e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/93944/likelihoodResults_296352001_296611201_4FGL_J0804.5+0414_daily_bin220.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): 102 logL (Free Index) = 6357.7359325 delta logL = 1.13232090371e-09 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6357.7359325 delta logL = 2.26464180741e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .11340E-01 1.0000 .10000E-03 10000. 2 'Index ' 2.4914 1.0000 .0000 10.000 3 'Normalizat' 1.2459 1.0000 .10000E-01 10.000 4 'Prefactor ' .93142 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5570E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 6356.710 FROM MIGRAD STATUS=FAILED 299 CALLS 480 TOTAL EDM= .35E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .22035E-01 .17772E-03** at limit ** 2 Index 9.4377 9.6910 .17676E-01 .23688E-03 3 Normalizat 1.1683 .11709 .29418E-03 .69562E-06 4 Prefactor .96383 .75681E-01 .20716E-03 -.82210E-04 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 6356.710 FROM SIMPLEX STATUS=UNCHANGED 178 CALLS 658 TOTAL EDM= .10E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .22035E-01 .11732E-04** at limit ** 2 Index 9.4377 9.6910 .12151E-03 .23688E-03 3 Normalizat 1.1683 .11709 .17068E-05 .69562E-06 4 Prefactor .96383 .75681E-01 .12464E-05 -.82210E-04 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6356.710 FROM MIGRAD STATUS=CONVERGED 39 CALLS 697 TOTAL EDM= .29E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .15465E-01 .21666E-03** at limit ** 2 Index 9.4377 9.6670 .35352E-02 -.15050E-05 3 Normalizat 1.1683 .10898 .11767E-04 .57968E-06 4 Prefactor .96383 .70506E-01 .82863E-05 -.82045E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 9.43765 Normalizat = 1.16833 Prefactor = 0.963835 ********** ** 18 **HESSE ********** FCN= 6356.710 FROM HESSE STATUS=NOT POSDEF 33 CALLS 730 TOTAL EDM= .41E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 .17788E-01 .20186E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 9.4377 9.6846 .14141E-03 1.0920 3 Normalizat 1.1683 .11459 .23534E-05 -.87587 4 Prefactor .96383 .74085E-01 .16573E-05 -.93945 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.10829e-11 Minuit parameter uncertainties: 1 1.87073e-08 2 5.7528 3 0.114611 4 0.0740926 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/93944': 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) = 6356.71009984 delta logL = 1.02583265458 Extracting fit parameters... 4FGL J0804.5+0414 Spectrum: PowerLaw 281 Prefactor: 1.000e-04 1.871e-08 1.000e-04 1.000e+04 ( 1.000e-13) 282 Index: 9.438e+00 5.753e+00 0.000e+00 1.000e+01 (-1.000e+00) 283 Scale: 8.390e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 550 Prefactor: 9.638e-01 7.409e-02 0.000e+00 1.000e+01 ( 1.000e+00) 551 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 552 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 549 Normalization: 1.168e+00 1.146e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 2.17 Ra Dec: 121.133 4.239 Photon Index (Free Index): 9.44 +/- 5.75 Photon Flux (Free Index): 6.37e-08 +/- 7.16e-07 Energy Flux (Free Index): 7.18e-06 +/- 8.06e-05 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/93944/cmap_HighResolution_296352001_296611201_4FGL_J0804.5+0414_daily_bin220.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/93944 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.00e-03', comment='SUCCESS', energy_flux2='7.18e-06', dlogl='1.03e+00', photon_flux2='6.37e-08', job_status='DONE', time_completed='2021-08-29 00:24:24.773774', photon_index_error2='5.75', photon_index2='9.44', ts='0.00', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='8.06e-05', EG='1.25', time_epoch_completed='1630221864.77', return_code='0', job_id='93944', GAL2='0.96', EG2='1.17', return_code2='102', photon_flux_error2='7.16e-07', ts2='2.17', photon_index='2.49' WHERE bin_id='220' AND source_name='4FGL J0804.5+0414' AND cadence='daily'; Database successfully updated. Analysis Complete. Sun Aug 29 00:24:24 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 93944: <4FGL_J0804.5+0414_daily_bin220> in cluster Done Job <4FGL_J0804.5+0414_daily_bin220> was submitted from host by user in cluster at Sun Aug 29 00:10:31 2021 Job was executed on host(s) , in queue , as user in cluster at Sun Aug 29 00:10:33 2021 was used as the home directory. was used as the working directory. Started at Sun Aug 29 00:10:33 2021 Terminated at Sun Aug 29 00:24:25 2021 Results reported at Sun Aug 29 00:24:25 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0804.5+0414_daily_bin220 121.133 4.2393 296352001 296611201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0804.5+0414 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 705.03 sec. Max Memory : 1257 MB Average Memory : 315.93 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 7 Max Threads : 21 Run time : 832 sec. Turnaround time : 834 sec. The output (if any) is above this job summary.