/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 = 17517
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2311.0+0205_weekly_bin818
RA = 347.766, Dec = 2.0995
tmin = 733708801, tmax = 734313601
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='44700315', job_status='RUN', time_executed='2024-04-21 13:50:45.904940', time_epoch_executed='1713732645.9' WHERE source_name='4FGL J2311.0+0205' and cadence='weekly' and bin_id='818'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/44700315

Creating custom pfile directory:
/lscratch/kocevski/44700315/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=733708801.0 && nMetStart<734313601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=733708801.0 && nMetStart<734313601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/44700315/ft1_4FGL_J2311.0+0205_weekly_bin818.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=733708801.0 && nMetStart<734313601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/44700315/ft2_4FGL_J2311.0+0205_weekly_bin818.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/44700315/ft1_4FGL_J2311.0+0205_weekly_bin818.fits outfile=/lscratch/kocevski/44700315/ft1_filteredMKT_4FGL_J2311.0+0205_weekly_bin818.fits ra=347.766 dec=2.0995 rad=12.0 tmin=733708801.0 tmax=734313601.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.97
user 3.60
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/44700315/ft2_4FGL_J2311.0+0205_weekly_bin818.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/44700315/ft2_4FGL_J2311.0+0205_weekly_bin818.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/44700315/ft1_filteredMKT_4FGL_J2311.0+0205_weekly_bin818.fits evtable="EVENTS" outfile="/lscratch/kocevski/44700315/ft1_filtered_4FGL_J2311.0+0205_weekly_bin818.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.40
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1430

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/44700315/ft1_filtered_4FGL_J2311.0+0205_weekly_bin818.fits" evtable="EVENTS" scfile=/lscratch/kocevski/44700315/ft2_4FGL_J2311.0+0205_weekly_bin818.fits sctable="SC_DATA" outfile=/lscratch/kocevski/44700315/ltcube_733708801_734313601_4FGL_J2311.0+0205_weekly_bin818.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/44700315/ft2_4FGL_J2311.0+0205_weekly_bin818.fits
.....................!
real 16.71
user 16.33
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/44700315/ft1_filtered_4FGL_J2311.0+0205_weekly_bin818.fits evtable="EVENTS" scfile=/lscratch/kocevski/44700315/ft2_4FGL_J2311.0+0205_weekly_bin818.fits sctable="SC_DATA" expcube=/lscratch/kocevski/44700315/ltcube_733708801_734313601_4FGL_J2311.0+0205_weekly_bin818.fits outfile=/lscratch/kocevski/44700315/expmap_733708801_734313601_4FGL_J2311.0+0205_weekly_bin818.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/44700315/ltcube_733708801_734313601_4FGL_J2311.0+0205_weekly_bin818.fits
.....................!
real 58.96
user 55.37
sys 3.25

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
Added 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2311.0+0205 @ 347.766 2.0995

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/44700315/ft1_filtered_4FGL_J2311.0+0205_weekly_bin818.fits scfile=/lscratch/kocevski/44700315/ft2_4FGL_J2311.0+0205_weekly_bin818.fits outfile=/lscratch/kocevski/44700315/cmap_733708801_734313601_4FGL_J2311.0+0205_weekly_bin818.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=347.766 yref=2.0995 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.40
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/44700315/ft1_filtered_4FGL_J2311.0+0205_weekly_bin818.fits scfile=/lscratch/kocevski/44700315/ft2_4FGL_J2311.0+0205_weekly_bin818.fits outfile=/lscratch/kocevski/44700315/cmap_HighResolution_733708801_734313601_4FGL_J2311.0+0205_weekly_bin818.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=347.766 yref=2.0995 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.37
user 0.20
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/44700315/ft1_filtered_4FGL_J2311.0+0205_weekly_bin818.fits evtable="EVENTS" scfile=/lscratch/kocevski/44700315/ft2_4FGL_J2311.0+0205_weekly_bin818.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/44700315/Model_4FGL_J2311.0+0205_weekly_bin818.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
Working on...
/lscratch/kocevski/44700315/ft1_filtered_4FGL_J2311.0+0205_weekly_bin818.fits.....................!
real 49.36
user 48.43
sys 0.65

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/44700315/ft1_filtered_4FGL_J2311.0+0205_weekly_bin818.fits', '/lscratch/kocevski/44700315/ft2_4FGL_J2311.0+0205_weekly_bin818.fits', expMap='/lscratch/kocevski/44700315/expmap_733708801_734313601_4FGL_J2311.0+0205_weekly_bin818.fits', expCube='/lscratch/kocevski/44700315/ltcube_733708801_734313601_4FGL_J2311.0+0205_weekly_bin818.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/44700315/Model_4FGL_J2311.0+0205_weekly_bin818.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.0+0205'

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.504e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/44700315/ft1_filtered_4FGL_J2311.0+0205_weekly_bin818.fits
Spacecraft file(s): /lscratch/kocevski/44700315/ft2_4FGL_J2311.0+0205_weekly_bin818.fits
Exposure map: /lscratch/kocevski/44700315/expmap_733708801_734313601_4FGL_J2311.0+0205_weekly_bin818.fits
Exposure cube: /lscratch/kocevski/44700315/ltcube_733708801_734313601_4FGL_J2311.0+0205_weekly_bin818.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/44700315/Model_4FGL_J2311.0+0205_weekly_bin818.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) = 16162.5373002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 16162.471103

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6080       1.0000         .10000E-03   10000.    
     2 'norm      '    .58891E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    38.946       1.0000          .0000       .10000E+07
     4 'Prefactor '    .62839E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .96260E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.0185       1.0000          .0000       .10000E+07
     7 'norm      '    .45939       1.0000          .0000       .10000E+07
     8 'norm      '    .16878E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .23706E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .78846E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .21634E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.0243       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4879       1.0000          .0000       .10000E+07
    14 'norm      '    71.628       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21755E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.315       1.0000          .0000       .10000E+07
    17 'Prefactor '    19.458       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1664       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90320       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16162.47     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1145 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5998        3.8111       -.21591E-05    .73099E-04
   2  norm          .16653E-09    8.5616       -.16813E-05** at limit **
   3  Prefactor     38.389        3.2941        .44852E-07   -.43536E-01
   4  Prefactor      .0000        3.1580        .20562E-06** at limit **
   5  Prefactor     .10292E-06    25.235        .72173E-06** at limit **
   6  Prefactor     6.0393        5.3722       -.10538E-06    .16246E-02
   7  norm          .45925        .42225        .33540E-07   -.15131E-02
   8  norm           .0000        1.5025       -.27661E-06** at limit **
   9  Prefactor      .0000        1.7285       -.27595E-07** at limit **
  10  Prefactor     .43306E-03    19.640       -.93120E-07** at limit **
  11  norm           .0000        1.7697       -.74101E-07** at limit **
  12  Prefactor     5.0242        4.0219       -.15435E-06   -.37013E-03
  13  Prefactor     5.4344        1.0438       -.23018E-07    .42021E-01
  14  norm          71.624        9.8731       -.46122E-07    .74499E-01
  15  Prefactor      .0000        4.1375        .56252E-07** at limit **
  16  Prefactor     10.143        1.3906        .17038E-07    .38058E-01
  17  Prefactor     19.118        14.409        .88366E-07    .84761E-01
  18  Normalizat    1.1673        .15268       -.14564E-05   -.62440E-04
  19  Prefactor     .90324        .95534E-01    .14511E-05   -.48262E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.59984
  norm       = 1.66533e-10
  Prefactor  = 38.3892
  Prefactor  = 0
  Prefactor  = 1.02918e-07
  Prefactor  = 6.03934
  norm       = 0.459252
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0.000433064
  norm       = 0
  Prefactor  = 5.02424
  Prefactor  = 5.43438
  norm       = 71.6241
  Prefactor  = 0
  Prefactor  = 10.1429
  Prefactor  = 19.1179
  Normalizat = 1.16726
  Prefactor  = 0.903239
 **********
 **   18 **HESSE 
 **********

 FCN=   16162.47     FROM HESSE     STATUS=OK           310 CALLS     1455 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5998        3.8280        .63149E-02   -1.5385    
   2  norm          .16653E-09    8.5232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     38.389        23.231        .16026E-03   -1.5584    
   4  Prefactor      .0000        3.1552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10292E-06    25.897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.0393        5.3841        .40905E-03   -1.5659    
   7  norm          .45925        .43272        .82905E-03   -1.5694    
   8  norm           .0000        1.4984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.7263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .43306E-03    10.897        .14536E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.7673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.0242        4.0574        .44838E-03   -1.5663    
  13  Prefactor     5.4344        16.285        .42867E-03   -1.5661    
  14  norm          71.624        19.711        .11816E-03   -1.5539    
  15  Prefactor      .0000        4.1071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.143        24.073        .31172E-03   -1.5644    
  17  Prefactor     19.118        17.412        .22678E-03   -1.5621    
  18  Normalizat    1.1673        .13439        .67671E-01   -.87621    
  19  Prefactor     .90324        .82065E-01    .45046E-01   -.96028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41747e-07
Minuit parameter uncertainties:
  1  3.82831
  2  7.62301e-05
  3  23.2306
  4  1.03736e-05
  5  0.00326517
  6  5.38406
  7  0.432717
  8  1.60207e-06
  9  1.00903e-05
  10  0.137392
  11  1.26748e-06
  12  4.05741
  13  16.2847
  14  19.7107
  15  1.97418e-05
  16  24.0732
  17  17.4122
  18  0.134433
  19  0.0820763
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 16162.4702569

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  0.000e+00  1.037e-05  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.032e-01  8.208e-02  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  1.167e+00  1.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 2.98660764695e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00227315449468 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/44700315/likelihoodResults_733708801_734313601_4FGL_J2311.0+0205_weekly_bin818.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) = 16162.4706451
delta logL = -0.000388132573789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16162.470257
delta logL = -2.75194906862e-08

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12712E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .55488       1.0000          .0000       10.000    
     3 'Normalizat'    1.1672       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90325       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16162.47     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      269 TOTAL
                     EDM=   .28E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .11655        .28695E-02** at limit **
   2  Index         4.2355        1.9440        .10477E-04     .0000    
   3  Normalizat    1.1673        1.1188        .12579E-05    .53743E-04
   4  Prefactor     .90324        1.2480        .99731E-06    .82475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.23549
  Normalizat = 1.16726
  Prefactor  = 0.903239
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16162.47     FROM HESSE     STATUS=FAILED         9 CALLS      278 TOTAL
                     EDM=   .28E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .11655        .28695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9206        2.3765        .10477E-04   -.15350    
   3  Normalizat    1.1673        1.1188        .12579E-05   -.87621    
   4  Prefactor     .90324        1.2480        .99731E-06   -.96028    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.80269e-12
Minuit parameter uncertainties:
  1  9.40646e-07
  2  1.99798
  3  1.14298
  4  1.29123
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 16162.4702569
delta logL = 0.0

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  0.000e+00  9.406e-07  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  4.235e+00  1.998e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  9.032e-01  1.291e+00  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  1.167e+00  1.143e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 347.766 2.099

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/44700315/cmap_HighResolution_733708801_734313601_4FGL_J2311.0+0205_weekly_bin818.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.27e-03', job_status='DONE', photon_flux_upper_limit='2.99e-08', time_completed='2024-04-21 13:56:52.737882', job_id='44700315', GAL2='0.90', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1713733012.74', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='818' AND source_name='4FGL J2311.0+0205' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Apr 21 13:56:52 PDT 2024

