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


Performing analysis on: 4FGL_J1922.5-7453_daily_bin1983
RA = 290.628, Dec = -74.8876
tmin = 753321601, tmax = 753580801
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='59028590', job_status='RUN', time_executed='2024-11-18 00:41:17.785240', time_epoch_executed='1731919277.79' WHERE source_name='4FGL J1922.5-7453' and cadence='daily' and bin_id='1983'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/59028590

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/59028590/ft1_4FGL_J1922.5-7453_daily_bin1983.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/59028590/ft2_4FGL_J1922.5-7453_daily_bin1983.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/59028590/ft1_4FGL_J1922.5-7453_daily_bin1983.fits outfile=/lscratch/kocevski/59028590/ft1_filteredMKT_4FGL_J1922.5-7453_daily_bin1983.fits ra=290.628 dec=-74.8876 rad=12.0 tmin=753321601.0 tmax=753580801.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.78
user 2.35
sys 0.21

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

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

Number of photons that the gtmktime cut: 1062

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/59028590/ft1_filtered_4FGL_J1922.5-7453_daily_bin1983.fits" evtable="EVENTS" scfile=/lscratch/kocevski/59028590/ft2_4FGL_J1922.5-7453_daily_bin1983.fits sctable="SC_DATA" outfile=/lscratch/kocevski/59028590/ltcube_753321601_753580801_4FGL_J1922.5-7453_daily_bin1983.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/59028590/ft2_4FGL_J1922.5-7453_daily_bin1983.fits
.....................!
real 14.94
user 14.22
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/59028590/ft1_filtered_4FGL_J1922.5-7453_daily_bin1983.fits evtable="EVENTS" scfile=/lscratch/kocevski/59028590/ft2_4FGL_J1922.5-7453_daily_bin1983.fits sctable="SC_DATA" expcube=/lscratch/kocevski/59028590/ltcube_753321601_753580801_4FGL_J1922.5-7453_daily_bin1983.fits outfile=/lscratch/kocevski/59028590/expmap_753321601_753580801_4FGL_J1922.5-7453_daily_bin1983.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/59028590/ltcube_753321601_753580801_4FGL_J1922.5-7453_daily_bin1983.fits
.....................!
real 71.13
user 65.83
sys 3.93

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/59028590/ft1_filtered_4FGL_J1922.5-7453_daily_bin1983.fits scfile=/lscratch/kocevski/59028590/ft2_4FGL_J1922.5-7453_daily_bin1983.fits outfile=/lscratch/kocevski/59028590/cmap_753321601_753580801_4FGL_J1922.5-7453_daily_bin1983.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.49
user 0.23
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/59028590/ft1_filtered_4FGL_J1922.5-7453_daily_bin1983.fits scfile=/lscratch/kocevski/59028590/ft2_4FGL_J1922.5-7453_daily_bin1983.fits outfile=/lscratch/kocevski/59028590/cmap_HighResolution_753321601_753580801_4FGL_J1922.5-7453_daily_bin1983.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.69
user 0.25
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/59028590/ft1_filtered_4FGL_J1922.5-7453_daily_bin1983.fits evtable="EVENTS" scfile=/lscratch/kocevski/59028590/ft2_4FGL_J1922.5-7453_daily_bin1983.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/59028590/Model_4FGL_J1922.5-7453_daily_bin1983.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/59028590/ft1_filtered_4FGL_J1922.5-7453_daily_bin1983.fits.....................!
real 1036.69
user 1028.61
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/59028590/ft1_filtered_4FGL_J1922.5-7453_daily_bin1983.fits', '/lscratch/kocevski/59028590/ft2_4FGL_J1922.5-7453_daily_bin1983.fits', expMap='/lscratch/kocevski/59028590/expmap_753321601_753580801_4FGL_J1922.5-7453_daily_bin1983.fits', expCube='/lscratch/kocevski/59028590/ltcube_753321601_753580801_4FGL_J1922.5-7453_daily_bin1983.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/59028590/Model_4FGL_J1922.5-7453_daily_bin1983.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/59028590/ft1_filtered_4FGL_J1922.5-7453_daily_bin1983.fits
Spacecraft file(s): /lscratch/kocevski/59028590/ft2_4FGL_J1922.5-7453_daily_bin1983.fits
Exposure map: /lscratch/kocevski/59028590/expmap_753321601_753580801_4FGL_J1922.5-7453_daily_bin1983.fits
Exposure cube: /lscratch/kocevski/59028590/ltcube_753321601_753580801_4FGL_J1922.5-7453_daily_bin1983.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/59028590/Model_4FGL_J1922.5-7453_daily_bin1983.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) = 10767.6410123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3882       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11821E-01   1.0000          .0000       .10000E+07
     3 'norm      '    36.339       1.0000          .0000       .10000E+07
     4 'norm      '    .78850E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29267E-04   1.0000          .0000       .10000E+07
     6 'norm      '    6.4509       1.0000          .0000       .10000E+07
     7 'norm      '    .65503E-08   1.0000          .0000       .10000E+07
     8 'norm      '    18.838       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17917E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .74789       1.0000          .0000       .10000E+07
    11 'norm      '    20.136       1.0000          .0000       .10000E+07
    12 'Prefactor '    .32900E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    12.301       1.0000          .0000       .10000E+07
    14 'norm      '    .99523       1.0000          .0000       .10000E+07
    15 'norm      '    .10103E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .67693       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.6271       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .75889       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=   10767.59     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1049 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3898        .92281        .77278E-08   -.14447E-03
   2  Prefactor     .15032E-05    12.053       -.14575E-05** at limit **
   3  norm          36.258        8.1257       -.50489E-07   -.22801E-02
   4  norm          .14141E-05    12.519        .18754E-05** at limit **
   5  Prefactor     .11102E-09    4.3735       -.28551E-06** at limit **
   6  norm          6.5319        11.440       -.39648E-05   -.36833E-01
   7  norm          .55511E-10    6.2732       -.15007E-06** at limit **
   8  norm          18.845        8.6356       -.12148E-06   -.29577E-02
   9  Prefactor     .24980E-08    13.624       -.19494E-06** at limit **
  10  Prefactor     .71269        1.8819       -.16087E-05    .19444E-01
  11  norm          19.938        3.1116        .45799E-06   -.31278E-01
  12  Prefactor     .22204E-09    4.5021        .31761E-06** at limit **
  13  Prefactor     14.090        34.496        .13936E-05   -.13327E-02
  14  norm          .98632        1.1219       -.28396E-07   -.27644E-03
  15  norm           .0000        1.7558        .22076E-07** at limit **
  16  Prefactor     .54386        4.2299        .27879E-05   -.44459E-02
  17  Normalizat    1.6246        .24577        .81003E-06    .92924E-05
  18  Prefactor     .75946        .90540E-01    .11877E-05    .25995E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.38982
  Prefactor  = 1.50319e-06
  norm       = 36.2582
  norm       = 1.41415e-06
  Prefactor  = 1.11022e-10
  norm       = 6.53186
  norm       = 5.55112e-11
  norm       = 18.8445
  Prefactor  = 2.498e-09
  Prefactor  = 0.712692
  norm       = 19.9378
  Prefactor  = 2.22045e-10
  Prefactor  = 14.0904
  norm       = 0.986321
  norm       = 0
  Prefactor  = 0.543858
  Normalizat = 1.62462
  Prefactor  = 0.759459
 **********
 **   18 **HESSE 
 **********

 FCN=   10767.59     FROM HESSE     STATUS=OK           280 CALLS     1329 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3898        .92927        .92231E-03   -1.5684    
   2  Prefactor     .15032E-05    22.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          36.258        8.1335        .16591E-03   -1.5588    
   4  norm          .14141E-05    22.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    4.3761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.5319        13.017        .39492E-03   -1.5657    
   7  norm          .55511E-10    6.2726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          18.845        8.6423        .23048E-03   -1.5621    
   9  Prefactor     .24980E-08    13.561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .71269        260.08        .56903E-03   -1.5691    
  11  norm          19.938        25.302        .22292E-03   -1.5619    
  12  Prefactor     .22204E-09    4.5013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.090        34.995        .28536E-03   -1.5633    
  14  norm          .98632        1.1324        .43597E-03   -1.5688    
  15  norm           .0000        1.7555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .54386        25.541        .62601E-03   -1.5693    
  17  Normalizat    1.6246        .20850        .75665E-01   -.74334    
  18  Prefactor     .75946        .76445E-01    .43180E-01   -1.0124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.9789e-07
Minuit parameter uncertainties:
  1  0.929267
  2  0.0115777
  3  8.13349
  4  0.011358
  5  4.05699e-05
  6  13.0169
  7  3.20817e-05
  8  8.64229
  9  0.000368911
  10  27.2306
  11  25.3024
  12  6.38399e-05
  13  34.995
  14  1.13239
  15  7.36001e-07
  16  7.45411
  17  0.208608
  18  0.0764552
Done.

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

Extracting fit parameters...

4FGL J1922.5-7453
   Spectrum: PowerLaw
402    Prefactor:  7.127e-01  2.723e+01  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:  7.595e-01  7.646e-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:  1.625e+00  2.086e-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: 7.16368098536e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00533418117102 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/59028590/likelihoodResults_753321601_753580801_4FGL_J1922.5-7453_daily_bin1983.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) = 10767.278747
delta logL = 0.316041646582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10767.2495775
delta logL = 0.345211099026

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10767.25     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      246 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43555        9.9012        .85195E-03    .20341E-01
   2  Index         3.4732        2.1914        .88251E-01    .27857E-03
   3  Normalizat    1.5795        .44525E-01    .76511E-01   -.48250E-04
   4  Prefactor     .76675        .16453E-01    .43284E-01   -.57472E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.43555
  Index      = 3.47317
  Normalizat = 1.57946
  Prefactor  = 0.766752
 **********
 **   18 **HESSE 
 **********

 FCN=   10767.25     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      279 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43555        33.970        .84024E-05   -1.5695    
   2  Index         3.4732        6.7353        .63841E-02   -.31032    
   3  Normalizat    1.5795        .19366        .33857E-03   -.75569    
   4  Prefactor     .76675        .68745E-01    .17216E-03   -1.0097    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.0781e-06
Minuit parameter uncertainties:
  1  7.69311
  2  5.84751
  3  0.193756
  4  0.0687522
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) = 10767.2495669
delta logL = 0.345221732903

Extracting fit parameters...

4FGL J1922.5-7453
   Spectrum: PowerLaw
402    Prefactor:  4.356e-01  7.693e+00  0.000e+00  1.000e+06 ( 1.000e-14)
403        Index:  3.473e+00  5.848e+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:  7.668e-01  6.875e-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:  1.579e+00  1.938e-01  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/59028590/cmap_HighResolution_753321601_753580801_4FGL_J1922.5-7453_daily_bin1983.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='7.16e-08', time_completed='2024-11-18 01:03:43.029482', job_id='59028590', GAL2='0.77', fit_tolerance='1e-08', EG2='1.58', EG='1.62', time_epoch_completed='1731920623.03', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='3.45e-01', ts2='0.71', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1983' AND source_name='4FGL J1922.5-7453' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Nov 18 01:03:43 PST 2024

