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


Performing analysis on: 4FGL_J1922.5-7453_daily_bin1995
RA = 290.628, Dec = -74.8876
tmin = 756432001, tmax = 756691201
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='60718426', job_status='RUN', time_executed='2024-12-24 01:36:37.970642', time_epoch_executed='1735032997.97' WHERE source_name='4FGL J1922.5-7453' and cadence='daily' and bin_id='1995'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/60718426

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/60718426/ft1_4FGL_J1922.5-7453_daily_bin1995.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/60718426/ft2_4FGL_J1922.5-7453_daily_bin1995.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/60718426/ft1_4FGL_J1922.5-7453_daily_bin1995.fits outfile=/lscratch/kocevski/60718426/ft1_filteredMKT_4FGL_J1922.5-7453_daily_bin1995.fits ra=290.628 dec=-74.8876 rad=12.0 tmin=756432001.0 tmax=756691201.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 2.22
user 1.91
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/60718426/ft2_4FGL_J1922.5-7453_daily_bin1995.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/60718426/ft2_4FGL_J1922.5-7453_daily_bin1995.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/60718426/ft1_filteredMKT_4FGL_J1922.5-7453_daily_bin1995.fits evtable="EVENTS" outfile="/lscratch/kocevski/60718426/ft1_filtered_4FGL_J1922.5-7453_daily_bin1995.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.37
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 895

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/60718426/ft1_filtered_4FGL_J1922.5-7453_daily_bin1995.fits" evtable="EVENTS" scfile=/lscratch/kocevski/60718426/ft2_4FGL_J1922.5-7453_daily_bin1995.fits sctable="SC_DATA" outfile=/lscratch/kocevski/60718426/ltcube_756432001_756691201_4FGL_J1922.5-7453_daily_bin1995.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/60718426/ft2_4FGL_J1922.5-7453_daily_bin1995.fits
.....................!
real 8.43
user 8.02
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/60718426/ft1_filtered_4FGL_J1922.5-7453_daily_bin1995.fits evtable="EVENTS" scfile=/lscratch/kocevski/60718426/ft2_4FGL_J1922.5-7453_daily_bin1995.fits sctable="SC_DATA" expcube=/lscratch/kocevski/60718426/ltcube_756432001_756691201_4FGL_J1922.5-7453_daily_bin1995.fits outfile=/lscratch/kocevski/60718426/expmap_756432001_756691201_4FGL_J1922.5-7453_daily_bin1995.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/60718426/ltcube_756432001_756691201_4FGL_J1922.5-7453_daily_bin1995.fits
.....................!
real 72.22
user 67.88
sys 3.96

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 SMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Added 185 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 J1922.5-7453 @ 290.628 -74.8876

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/60718426/ft1_filtered_4FGL_J1922.5-7453_daily_bin1995.fits scfile=/lscratch/kocevski/60718426/ft2_4FGL_J1922.5-7453_daily_bin1995.fits outfile=/lscratch/kocevski/60718426/cmap_756432001_756691201_4FGL_J1922.5-7453_daily_bin1995.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=290.628 yref=-74.8876 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.43
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/60718426/ft1_filtered_4FGL_J1922.5-7453_daily_bin1995.fits scfile=/lscratch/kocevski/60718426/ft2_4FGL_J1922.5-7453_daily_bin1995.fits outfile=/lscratch/kocevski/60718426/cmap_HighResolution_756432001_756691201_4FGL_J1922.5-7453_daily_bin1995.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=290.628 yref=-74.8876 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.42
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/60718426/ft1_filtered_4FGL_J1922.5-7453_daily_bin1995.fits evtable="EVENTS" scfile=/lscratch/kocevski/60718426/ft2_4FGL_J1922.5-7453_daily_bin1995.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/60718426/Model_4FGL_J1922.5-7453_daily_bin1995.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 SMC-Galaxy
Working on...
/lscratch/kocevski/60718426/ft1_filtered_4FGL_J1922.5-7453_daily_bin1995.fits.....................!
real 1024.02
user 1018.63
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/60718426/ft1_filtered_4FGL_J1922.5-7453_daily_bin1995.fits', '/lscratch/kocevski/60718426/ft2_4FGL_J1922.5-7453_daily_bin1995.fits', expMap='/lscratch/kocevski/60718426/expmap_756432001_756691201_4FGL_J1922.5-7453_daily_bin1995.fits', expCube='/lscratch/kocevski/60718426/ltcube_756432001_756691201_4FGL_J1922.5-7453_daily_bin1995.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/60718426/Model_4FGL_J1922.5-7453_daily_bin1995.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1922.5-7453'

4FGL J1922.5-7453
   Spectrum: PowerLaw
402    Prefactor:  3.289e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
403        Index:  1.916e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
404        Scale:  3.540e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/60718426/ft1_filtered_4FGL_J1922.5-7453_daily_bin1995.fits
Spacecraft file(s): /lscratch/kocevski/60718426/ft2_4FGL_J1922.5-7453_daily_bin1995.fits
Exposure map: /lscratch/kocevski/60718426/expmap_756432001_756691201_4FGL_J1922.5-7453_daily_bin1995.fits
Exposure cube: /lscratch/kocevski/60718426/ltcube_756432001_756691201_4FGL_J1922.5-7453_daily_bin1995.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/60718426/Model_4FGL_J1922.5-7453_daily_bin1995.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) = 9253.13568907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86628       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18905E-02   1.0000          .0000       .10000E+07
     3 'norm      '    2.4738       1.0000          .0000       .10000E+07
     4 'norm      '    .18909E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    14.191       1.0000          .0000       .10000E+07
     6 'norm      '    21.429       1.0000          .0000       .10000E+07
     7 'norm      '    .12813E-05   1.0000          .0000       .10000E+07
     8 'norm      '    10.493       1.0000          .0000       .10000E+07
     9 'Prefactor '    .58265E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .82433E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .39599E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30028E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.315       1.0000          .0000       .10000E+07
    14 'norm      '    .26964       1.0000          .0000       .10000E+07
    15 'norm      '    1.7934       1.0000          .0000       .10000E+07
    16 'Prefactor '    12.822       1.0000          .0000       .10000E+07
    17 'Normalizat'    .88668       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9253.062     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1101 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86515        .84437       -.40185E-07    .94717E-04
   2  Prefactor     .33307E-09    16.924       -.27945E-06** at limit **
   3  norm          2.4900        4.2766        .40081E-07   -.18846E-03
   4  norm           .0000        19.793       -.36271E-07** at limit **
   5  Prefactor     13.315        28.526        .36644E-06   -.15193E-02
   6  norm          21.419        2.4659       -.20462E-07   -.24409E-01
   7  norm           .0000        4.2776        .19973E-07** at limit **
   8  norm          10.521        7.5662       -.41629E-07   -.48210E-05
   9  Prefactor      .0000        4.9831        .33447E-07** at limit **
  10  Prefactor      .0000        8.8113       -.23233E-06** at limit **
  11  norm          .11102E-09    23.483       -.22482E-06** at limit **
  12  Prefactor     .67168E-08    65.751       -.62982E-06** at limit **
  13  Prefactor     12.937        5.6456       -.65331E-07   -.43322E-02
  14  norm          .26854        1.2412       -.61784E-07   -.17555E-03
  15  norm          1.7681        3.5903       -.81602E-07    .16612E-03
  16  Prefactor     12.818        10.268        .64419E-07    .19635E-03
  17  Normalizat    .88772        .25493        .52617E-05    .24518E-05
  18  Prefactor     1.0098        .99276E-01   -.15736E-05   -.13419E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.865153
  Prefactor  = 3.33067e-10
  norm       = 2.48999
  norm       = 0
  Prefactor  = 13.315
  norm       = 21.4186
  norm       = 0
  norm       = 10.5207
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.11022e-10
  Prefactor  = 6.71685e-09
  Prefactor  = 12.9366
  norm       = 0.268538
  norm       = 1.76812
  Prefactor  = 12.8183
  Normalizat = 0.88772
  Prefactor  = 1.00983
 **********
 **   18 **HESSE 
 **********

 FCN=   9253.062     FROM HESSE     STATUS=OK           286 CALLS     1387 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86515        .85069        .48120E-03   -1.5689    
   2  Prefactor     .33307E-09    17.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4900        4.3031        .64982E-03   -1.5676    
   4  norm           .0000        19.764        .17110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.315        28.764        .26562E-03   -1.5635    
   6  norm          21.419        19.019        .21609E-03   -1.5615    
   7  norm           .0000        4.2870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.521        7.5663        .30906E-03   -1.5643    
   9  Prefactor      .0000        5.0056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        8.8349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11102E-09    23.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .67168E-08    66.363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.937        35.754        .27424E-03   -1.5636    
  14  norm          .26854        .93629        .28892E-02   -1.5698    
  15  norm          1.7681        3.6299        .78062E-03   -1.5681    
  16  Prefactor     12.818        10.410        .27949E-03   -1.5636    
  17  Normalizat    .88772        .22414        .92431E-01   -.96893    
  18  Prefactor     1.0098        .84402E-01    .43349E-01   -.92402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03375e-08
Minuit parameter uncertainties:
  1  0.850693
  2  0.000147903
  3  4.30312
  4  6.0085e-06
  5  28.7645
  6  19.0189
  7  4.13681e-07
  8  7.56631
  9  1.8751e-06
  10  7.23244e-06
  11  8.92939e-05
  12  0.00133701
  13  35.7541
  14  0.936289
  15  3.62992
  16  10.4096
  17  0.224377
  18  0.0844129
Done.

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

Extracting fit parameters...

4FGL J1922.5-7453
   Spectrum: PowerLaw
402    Prefactor:  0.000e+00  7.232e-06  0.000e+00  1.000e+06 ( 1.000e-14)
403        Index:  1.916e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
404        Scale:  3.540e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.010e+00  8.441e-02  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  8.877e-01  2.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 290.628 -74.888
Photon Flux Upper Limit: 4.33964003363e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00323135915792 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/60718426/likelihoodResults_756432001_756691201_4FGL_J1922.5-7453_daily_bin1995.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) = 9253.11626119
delta logL = -0.0541908381765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9253.06207036
delta logL = -1.15651346277e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9253.062     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      214 TOTAL
                     EDM=   .78E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.5433       -.40311E-07** at limit **
   2  Index         1.8282        5.8317        .19567E-05     .0000    
   3  Normalizat    .88772        .25153       -.21812E-05    .18171E-04
   4  Prefactor     1.0098        .98083E-01    .16615E-05    .70512E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.82822
  Normalizat = 0.887719
  Prefactor  = 1.00983
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9253.062     FROM HESSE     STATUS=FAILED        11 CALLS      225 TOTAL
                     EDM=   .78E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.5219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .34494        1.6707        .19567E-05   -.68717    
   3  Normalizat    .88772        1.2236       -.21812E-05   -.96893    
   4  Prefactor     1.0098        1.2657        .16615E-05   -.92402    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.79733e-13
Minuit parameter uncertainties:
  1  2.72241e-06
  2  1.33535
  3  1.26541
  4  1.3062
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) = 9253.06207035
delta logL = 0.0

Extracting fit parameters...

4FGL J1922.5-7453
   Spectrum: PowerLaw
402    Prefactor:  0.000e+00  2.722e-06  0.000e+00  1.000e+06 ( 1.000e-14)
403        Index:  1.828e+00  1.335e+00  0.000e+00  1.000e+01 (-1.000e+00)
404        Scale:  3.540e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.010e+00  1.306e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  8.877e-01  1.265e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 290.628 -74.888

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/60718426/cmap_HighResolution_756432001_756691201_4FGL_J1922.5-7453_daily_bin1995.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-03', job_status='DONE', photon_flux_upper_limit='4.34e-08', time_completed='2024-12-24 01:58:03.023866', job_id='60718426', GAL2='1.01', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1735034283.02', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1995' AND source_name='4FGL J1922.5-7453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 24 01:58:03 PST 2024

