/sdf/group/fermi/u/kocevski/software/conda/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) 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 make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/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 = 17367 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J2022.5+7612_weekly_bin774 RA = 305.646, Dec = 76.2007 tmin = 707097601, tmax = 707702401 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='18239296', job_status='RUN', time_executed='2023-06-06 02:31:06.730629', time_epoch_executed='1686043866.73' WHERE source_name='4FGL J2022.5+7612' and cadence='weekly' and bin_id='774' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/18239296 Creating custom pfile directory: /lscratch/kocevski/18239296/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=707097601.0 && nMetStart<707702401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=707097601.0 && nMetStart<707702401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/18239296/ft1_4FGL_J2022.5+7612_weekly_bin774.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=707097601.0 && nMetStart<707702401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/18239296/ft2_4FGL_J2022.5+7612_weekly_bin774.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/18239296/ft1_4FGL_J2022.5+7612_weekly_bin774.fits outfile=/lscratch/kocevski/18239296/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin774.fits ra=305.646 dec=76.2007 rad=12.0 tmin=707097601.0 tmax=707702401.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 4.57 user 4.04 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18239296/ft2_4FGL_J2022.5+7612_weekly_bin774.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/18239296/ft2_4FGL_J2022.5+7612_weekly_bin774.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/18239296/ft1_filteredMKT_4FGL_J2022.5+7612_weekly_bin774.fits evtable="EVENTS" outfile="/lscratch/kocevski/18239296/ft1_filtered_4FGL_J2022.5+7612_weekly_bin774.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.57 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 4303 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/18239296/ft1_filtered_4FGL_J2022.5+7612_weekly_bin774.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18239296/ft2_4FGL_J2022.5+7612_weekly_bin774.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18239296/ltcube_707097601_707702401_4FGL_J2022.5+7612_weekly_bin774.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 /lscratch/kocevski/18239296/ft2_4FGL_J2022.5+7612_weekly_bin774.fits .....................! real 18.70 user 18.23 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/18239296/ft1_filtered_4FGL_J2022.5+7612_weekly_bin774.fits evtable="EVENTS" scfile=/lscratch/kocevski/18239296/ft2_4FGL_J2022.5+7612_weekly_bin774.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18239296/ltcube_707097601_707702401_4FGL_J2022.5+7612_weekly_bin774.fits outfile=/lscratch/kocevski/18239296/expmap_707097601_707702401_4FGL_J2022.5+7612_weekly_bin774.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 /lscratch/kocevski/18239296/ltcube_707097601_707702401_4FGL_J2022.5+7612_weekly_bin774.fits .....................! real 69.38 user 64.90 sys 4.00 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 FHES J2208.4+6443 in ROI with RadialGaussian spatial model. Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model. Added 206 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 J2022.5+7612 @ 305.646 76.2007 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/18239296/ft1_filtered_4FGL_J2022.5+7612_weekly_bin774.fits scfile=/lscratch/kocevski/18239296/ft2_4FGL_J2022.5+7612_weekly_bin774.fits outfile=/lscratch/kocevski/18239296/cmap_707097601_707702401_4FGL_J2022.5+7612_weekly_bin774.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=305.646 yref=76.2007 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 0.74 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/18239296/ft1_filtered_4FGL_J2022.5+7612_weekly_bin774.fits scfile=/lscratch/kocevski/18239296/ft2_4FGL_J2022.5+7612_weekly_bin774.fits outfile=/lscratch/kocevski/18239296/cmap_HighResolution_707097601_707702401_4FGL_J2022.5+7612_weekly_bin774.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=305.646 yref=76.2007 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 0.55 user 0.25 sys 0.11 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/18239296/ft1_filtered_4FGL_J2022.5+7612_weekly_bin774.fits evtable="EVENTS" scfile=/lscratch/kocevski/18239296/ft2_4FGL_J2022.5+7612_weekly_bin774.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18239296/Model_4FGL_J2022.5+7612_weekly_bin774.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 FHES J2129.9+5833 adding source FHES J2208.4+6443 adding source GAL_V02 Working on... /lscratch/kocevski/18239296/ft1_filtered_4FGL_J2022.5+7612_weekly_bin774.fits.....................! real 211.01 user 208.56 sys 0.80 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/18239296/ft1_filtered_4FGL_J2022.5+7612_weekly_bin774.fits', '/lscratch/kocevski/18239296/ft2_4FGL_J2022.5+7612_weekly_bin774.fits', expMap='/lscratch/kocevski/18239296/expmap_707097601_707702401_4FGL_J2022.5+7612_weekly_bin774.fits', expCube='/lscratch/kocevski/18239296/ltcube_707097601_707702401_4FGL_J2022.5+7612_weekly_bin774.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18239296/Model_4FGL_J2022.5+7612_weekly_bin774.xml', optimizer='MINUIT') Using source of interest name: '4FGL J2022.5+7612' 4FGL J2022.5+7612 Spectrum: PowerLaw 471 Prefactor: 8.450e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 472 Index: 2.269e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 473 Scale: 1.333e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/18239296/ft1_filtered_4FGL_J2022.5+7612_weekly_bin774.fits Spacecraft file(s): /lscratch/kocevski/18239296/ft2_4FGL_J2022.5+7612_weekly_bin774.fits Exposure map: /lscratch/kocevski/18239296/expmap_707097601_707702401_4FGL_J2022.5+7612_weekly_bin774.fits Exposure cube: /lscratch/kocevski/18239296/ltcube_707097601_707702401_4FGL_J2022.5+7612_weekly_bin774.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/18239296/Model_4FGL_J2022.5+7612_weekly_bin774.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) = 43317.2610875 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 43317.1890034 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .58398E-07 1.0000 .0000 .10000E+07 2 'Prefactor ' 25.107 1.0000 .0000 .10000E+07 3 'Prefactor ' .11216E-01 1.0000 .0000 .10000E+07 4 'norm ' 5.1042 1.0000 .0000 .10000E+07 5 'norm ' 13.590 1.0000 .0000 .10000E+07 6 'Prefactor ' .13906 1.0000 .0000 .10000E+07 7 'Prefactor ' .91499E-06 1.0000 .0000 .10000E+07 8 'norm ' .97589E-07 1.0000 .0000 .10000E+07 9 'Prefactor ' 9.2314 1.0000 .0000 .10000E+07 10 'Prefactor ' 10.136 1.0000 .0000 .10000E+07 11 'norm ' 2.8701 1.0000 .0000 .10000E+07 12 'norm ' .18803E-02 1.0000 .0000 .10000E+07 13 'norm ' 1.9594 1.0000 .0000 .10000E+07 14 'norm ' 1.2920 1.0000 .0000 .10000E+07 15 'Prefactor ' 7.8191 1.0000 .0000 .10000E+07 16 'norm ' .27650E-06 1.0000 .0000 .10000E+07 17 'Prefactor ' .54189E-04 1.0000 .0000 .10000E+07 18 'norm ' 4.8375 1.0000 .0000 .10000E+07 19 'Prefactor ' .20264E-05 1.0000 .0000 .10000E+07 20 'Prefactor ' 18.702 1.0000 .0000 .10000E+07 21 'norm ' .69241E-02 1.0000 .0000 .10000E+07 22 'Prefactor ' .78103E-03 1.0000 .0000 .10000E+07 23 'Normalizat' 1.0403 1.0000 .10000E-01 10.000 24 'Prefactor ' 1.0138 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6890E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 43317.19 FROM MIGRAD STATUS=CONVERGED 129 CALLS 1579 TOTAL EDM= .46E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .65901 .26077E-07** at limit ** 2 Prefactor 25.261 1.4961 .26159E-07 .19844E-01 3 Prefactor .44409E-09 11.980 -.47379E-06** at limit ** 4 norm 5.1031 .65591 -.15517E-07 -.54966E-04 5 norm 13.591 3.4889 -.12471E-06 -.67317E-02 6 Prefactor .11191 3.5683 -.92972E-06** at limit ** 7 Prefactor .25063E-06 3.4512 .17822E-06** at limit ** 8 norm .0000 .49535 .43342E-07** at limit ** 9 Prefactor 9.2645 6.5090 -.47471E-06 -.11076E-01 10 Prefactor 10.137 3.6057 -.21031E-06 -.25678E-02 11 norm 2.8698 .86751 .12531E-07 -.54902E-02 12 norm .19984E-08 40.015 -.23074E-05** at limit ** 13 norm 1.9606 1.6950 -.69428E-07 .89309E-03 14 norm 1.2835 6.8644 .23742E-05 -.50478E-03 15 Prefactor 7.8402 2.2070 -.10798E-06 -.74802E-02 16 norm .32030E-07 5.4217 -.62048E-06** at limit ** 17 Prefactor .18818E-07 2.8621 -.21211E-06** at limit ** 18 norm 4.8367 3.6323 .97225E-07 .19120E-02 19 Prefactor .0000 1.2050 -.13031E-06** at limit ** 20 Prefactor 18.863 1.0769 .64545E-08 .69878E-02 21 norm .15865E-06 3.9926 .30856E-07** at limit ** 22 Prefactor .33307E-09 3.0514 .67953E-06** at limit ** 23 Normalizat 1.0401 .12559 .14464E-05 -.87899E-04 24 Prefactor 1.0138 .31910E-01 -.19723E-05 -.15849E-03 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 25.2608 Prefactor = 4.44089e-10 norm = 5.10307 norm = 13.5908 Prefactor = 0.111915 Prefactor = 2.50633e-07 norm = 0 Prefactor = 9.26455 Prefactor = 10.1375 norm = 2.86983 norm = 1.9984e-09 norm = 1.96064 norm = 1.28348 Prefactor = 7.8402 norm = 3.20299e-08 Prefactor = 1.88183e-08 norm = 4.8367 Prefactor = 0 Prefactor = 18.8632 norm = 1.58651e-07 Prefactor = 3.33067e-10 Normalizat = 1.04011 Prefactor = 1.01378 ********** ** 18 **HESSE ********** FCN= 43317.19 FROM HESSE STATUS=OK 461 CALLS 2040 TOTAL EDM= .16E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .66010 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 25.261 16.672 .19961E-03 -1.5607 3 Prefactor .44409E-09 12.104 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 norm 5.1031 .66809 .44479E-03 -1.5663 5 norm 13.591 3.6354 .27144E-03 -1.5634 6 Prefactor .11191 1.6833 .94972E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .25063E-06 6.4724 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 .49484 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 9.2645 9.9726 .32962E-03 -1.5647 10 Prefactor 10.137 3.6859 .31448E-03 -1.5644 11 norm 2.8698 .89391 .59974E-03 -1.5674 12 norm .19984E-08 40.065 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 1.9606 1.7233 .74080E-03 -1.5680 14 norm 1.2835 7.0098 .97355E-03 -1.5685 15 Prefactor 7.8402 11.927 .35836E-03 -1.5652 16 norm .32030E-07 .66363 .57135E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .18818E-07 4.0893 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 4.8367 3.6344 .45714E-03 -1.5664 19 Prefactor .0000 1.1911 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 18.863 17.567 .23132E-03 -1.5621 21 norm .15865E-06 5.9960 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .33307E-09 4.1544 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Normalizat 1.0401 .12353 .11524 -.91699 24 Prefactor 1.0138 .30628E-01 .31492E-01 -.92272 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.62103e-06 Minuit parameter uncertainties: 1 4.26735e-06 2 16.6721 3 0.000143304 4 0.668092 5 3.63536 6 0.868073 7 0.00254736 8 1.34226e-07 9 9.97261 10 3.68592 11 0.893913 12 0.000565151 13 1.72331 14 5.999 15 11.9272 16 0.000291684 17 0.000554577 18 3.63445 19 9.52129e-06 20 17.5673 21 0.00195063 22 7.31241e-05 23 0.123562 24 0.0306288 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 43317.1877255 Extracting fit parameters... 4FGL J2022.5+7612 Spectrum: PowerLaw 471 Prefactor: 1.882e-08 5.546e-04 0.000e+00 1.000e+06 ( 1.000e-13) 472 Index: 2.269e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 473 Scale: 1.333e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 686 Prefactor: 1.014e+00 3.063e-02 0.000e+00 1.000e+01 ( 1.000e+00) 687 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 688 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 678 Normalization: 1.040e+00 1.236e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 305.646 76.201 Photon Flux Upper Limit: 3.74163620004e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00286509356268 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/18239296/likelihoodResults_707097601_707702401_4FGL_J2022.5+7612_weekly_bin774.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) = 43317.1879687 delta logL = -0.00024318407668 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 43317.1219483 delta logL = 0.0657771920742 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .83066E-01 1.0000 .0000 .10000E+07 2 'Index ' 4.1507 1.0000 .0000 10.000 3 'Normalizat' 1.0292 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0146 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6890E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 43317.12 FROM MIGRAD STATUS=CONVERGED 67 CALLS 276 TOTAL EDM= .96E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .81349E-01 .21108 .18939E-02** at limit ** 2 Index 4.1617 .11880 .50000 .66585E-05 3 Normalizat 1.0292 .52452E-02 .11578 .15055E-03 4 Prefactor 1.0146 .14190E-02 .31480E-01 -.74085E-04 ERR DEF= .500 Final values: Prefactor = 0.0813485 Index = 4.16172 Normalizat = 1.02918 Prefactor = 1.01463 ********** ** 18 **HESSE ********** FCN= 43317.12 FROM HESSE STATUS=NOT POSDEF 35 CALLS 311 TOTAL EDM= .31E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .81349E-01 27.295 .98138E-04 -1.5702 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 4.1617 5.6232 .31963E-02 -.16845 3 Normalizat 1.0292 .78946E-01 .51349E-03 -.92059 4 Prefactor 1.0146 .20436E-01 .13912E-03 -.92243 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 3.12437e-05 Minuit parameter uncertainties: 1 2.98021 2 15.0581 3 0.0789545 4 0.0204366 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) = 43317.1219408 delta logL = 0.0657846781687 Extracting fit parameters... 4FGL J2022.5+7612 Spectrum: PowerLaw 471 Prefactor: 8.135e-02 2.980e+00 0.000e+00 1.000e+06 ( 1.000e-13) 472 Index: 4.162e+00 1.506e+01 0.000e+00 1.000e+01 (-1.000e+00) 473 Scale: 1.333e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 686 Prefactor: 1.015e+00 2.044e-02 0.000e+00 1.000e+01 ( 1.000e+00) 687 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 688 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 678 Normalization: 1.029e+00 7.895e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 305.646 76.201 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/18239296/cmap_HighResolution_707097601_707702401_4FGL_J2022.5+7612_weekly_bin774.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.87e-03', job_status='DONE', photon_flux_upper_limit='3.74e-08', time_completed='2023-06-06 02:53:47.944582', job_id='18239296', GAL2='1.01', fit_tolerance='1e-08', EG2='1.03', EG='1.04', time_epoch_completed='1686045227.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='6.58e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='774' AND source_name='4FGL J2022.5+7612' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 6 02:53:48 PDT 2023