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


Performing analysis on: 4FGL_J1924.8-2914_weekly_bin927
RA = 291.214, Dec = -29.2468
tmin = 799632001, tmax = 800236801
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='26510636', job_status='RUN', time_executed='2026-05-12 02:43:58.275554', time_epoch_executed='1778579038.28' WHERE source_name='4FGL J1924.8-2914' and cadence='weekly' and bin_id='927'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26510636

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26510636/ft1_4FGL_J1924.8-2914_weekly_bin927.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26510636/ft2_4FGL_J1924.8-2914_weekly_bin927.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26510636/ft1_4FGL_J1924.8-2914_weekly_bin927.fits outfile=/lscratch/kocevski/26510636/ft1_filteredMKT_4FGL_J1924.8-2914_weekly_bin927.fits ra=291.214 dec=-29.2468 rad=12.0 tmin=799632001.0 tmax=800236801.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.00
user 3.36
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26510636/ft2_4FGL_J1924.8-2914_weekly_bin927.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26510636/ft2_4FGL_J1924.8-2914_weekly_bin927.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/26510636/ft1_filteredMKT_4FGL_J1924.8-2914_weekly_bin927.fits evtable="EVENTS" outfile="/lscratch/kocevski/26510636/ft1_filtered_4FGL_J1924.8-2914_weekly_bin927.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.81
user 0.26
sys 0.15

Number of photons that the gtmktime cut: 2744

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26510636/ft1_filtered_4FGL_J1924.8-2914_weekly_bin927.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26510636/ft2_4FGL_J1924.8-2914_weekly_bin927.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26510636/ltcube_799632001_800236801_4FGL_J1924.8-2914_weekly_bin927.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/26510636/ft2_4FGL_J1924.8-2914_weekly_bin927.fits
.....................!
real 19.62
user 18.87
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26510636/ft1_filtered_4FGL_J1924.8-2914_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26510636/ft2_4FGL_J1924.8-2914_weekly_bin927.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26510636/ltcube_799632001_800236801_4FGL_J1924.8-2914_weekly_bin927.fits outfile=/lscratch/kocevski/26510636/expmap_799632001_800236801_4FGL_J1924.8-2914_weekly_bin927.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/26510636/ltcube_799632001_800236801_4FGL_J1924.8-2914_weekly_bin927.fits
.....................!
real 71.28
user 65.52
sys 4.08

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 FGES J1745.8-3028 in ROI with RadialDisk spatial model.
Extended source W 28 in ROI with RadialDisk spatial model.
Extended source HESS J1804-216 in ROI with RadialDisk spatial model.
Extended source W 30 in ROI with RadialDisk spatial model.
Extended source HESS J1808-204 in ROI with RadialDisk spatial model.
Extended source HESS J1809-193 in ROI with RadialDisk spatial model.
Extended source HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Added 357 point sources and 8 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 J1924.8-2914 @ 291.214 -29.2468

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26510636/ft1_filtered_4FGL_J1924.8-2914_weekly_bin927.fits scfile=/lscratch/kocevski/26510636/ft2_4FGL_J1924.8-2914_weekly_bin927.fits outfile=/lscratch/kocevski/26510636/cmap_799632001_800236801_4FGL_J1924.8-2914_weekly_bin927.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=291.214 yref=-29.2468 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.08
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26510636/ft1_filtered_4FGL_J1924.8-2914_weekly_bin927.fits scfile=/lscratch/kocevski/26510636/ft2_4FGL_J1924.8-2914_weekly_bin927.fits outfile=/lscratch/kocevski/26510636/cmap_HighResolution_799632001_800236801_4FGL_J1924.8-2914_weekly_bin927.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=291.214 yref=-29.2468 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.09
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26510636/ft1_filtered_4FGL_J1924.8-2914_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26510636/ft2_4FGL_J1924.8-2914_weekly_bin927.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26510636/Model_4FGL_J1924.8-2914_weekly_bin927.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 FGES J1745.8-3028
adding source GAL_V02
adding source HESS J1804-216
adding source HESS J1808-204
adding source HESS J1809-193
adding source HESS J1813-178
adding source HESS J1825-137
adding source W 28
adding source W 30
Working on...
/lscratch/kocevski/26510636/ft1_filtered_4FGL_J1924.8-2914_weekly_bin927.fits.....................!
real 105.74
user 103.28
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26510636/ft1_filtered_4FGL_J1924.8-2914_weekly_bin927.fits', '/lscratch/kocevski/26510636/ft2_4FGL_J1924.8-2914_weekly_bin927.fits', expMap='/lscratch/kocevski/26510636/expmap_799632001_800236801_4FGL_J1924.8-2914_weekly_bin927.fits', expCube='/lscratch/kocevski/26510636/ltcube_799632001_800236801_4FGL_J1924.8-2914_weekly_bin927.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26510636/Model_4FGL_J1924.8-2914_weekly_bin927.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1924.8-2914'

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  3.573e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
986        Index:  2.388e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
987        Scale:  8.495e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26510636/ft1_filtered_4FGL_J1924.8-2914_weekly_bin927.fits
Spacecraft file(s): /lscratch/kocevski/26510636/ft2_4FGL_J1924.8-2914_weekly_bin927.fits
Exposure map: /lscratch/kocevski/26510636/expmap_799632001_800236801_4FGL_J1924.8-2914_weekly_bin927.fits
Exposure cube: /lscratch/kocevski/26510636/ltcube_799632001_800236801_4FGL_J1924.8-2914_weekly_bin927.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26510636/Model_4FGL_J1924.8-2914_weekly_bin927.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) = 28111.2191165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4972       1.0000          .0000       .10000E+07
     2 'Prefactor '    .30112E-04   1.0000          .0000       .10000E+07
     3 'norm      '    1.0819       1.0000          .0000       .10000E+07
     4 'norm      '    .56211       1.0000          .0000       .10000E+07
     5 'Prefactor '    .35881E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .80079E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13810E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .21426E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10735E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    10.818       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12119E-01   1.0000          .0000       .10000E+07
    12 'norm      '    11.585       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1357       1.0000          .0000       .10000E+07
    14 'norm      '    .93403       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.521       1.0000          .0000       .10000E+07
    16 'norm      '    24.874       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0292       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0616       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1306E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   28111.07     FROM MIGRAD    STATUS=CONVERGED    103 CALLS     1043 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3310        2.1413       -.34902E-07    .62475E-02
   2  Prefactor     .82434E-07    8.8542       -.55588E-07** at limit **
   3  norm          1.0810        1.7017        .67102E-07    .25203E-02
   4  norm          .56158        .45567        .35874E-07    .87283E-02
   5  Prefactor     .72720E-08    6.2431       -.20345E-06** at limit **
   6  norm          .47740E-08    4.0643       -.17149E-07** at limit **
   7  Prefactor     .20289E-04    6.5385        .12886E-06** at limit **
   8  norm          .55511E-10    1.5919       -.32947E-07** at limit **
   9  Prefactor      .0000        .64591        .32407E-07** at limit **
  10  Prefactor     10.800        6.7723       -.16469E-07    .24348E-02
  11  Prefactor     .32996E-05    20.098        .19370E-06** at limit **
  12  norm          11.537        1.2127       -.61119E-08    .19022E-02
  13  Prefactor     3.1286        3.1116        .34040E-07    .50041E-03
  14  norm          .93389        .53371       -.33288E-07   -.13539E-01
  15  Prefactor     14.525        1.3796        .87121E-08   -.13383E-01
  16  norm          24.782        9.7821        .37038E-07    .93994E-01
  17  Normalizat    1.0300        .23049        .80677E-08   -.20220E-03
  18  Prefactor     1.0616        .52376E-01   -.63598E-06   -.99769E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.33102
  Prefactor  = 8.24341e-08
  norm       = 1.081
  norm       = 0.561582
  Prefactor  = 7.27196e-09
  norm       = 4.77396e-09
  Prefactor  = 2.02885e-05
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 10.8004
  Prefactor  = 3.29958e-06
  norm       = 11.5372
  Prefactor  = 3.12865
  norm       = 0.933888
  Prefactor  = 14.5253
  norm       = 24.7818
  Normalizat = 1.03
  Prefactor  = 1.06157
 **********
 **   18 **HESSE 
 **********

 FCN=   28111.07     FROM HESSE     STATUS=OK           292 CALLS     1335 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3310        16.850        .64649E-03   -1.5677    
   2  Prefactor     .82434E-07    8.9631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0810        1.9304        .62367E-02   -1.5687    
   4  norm          .56158        .47020        .72693E-03   -1.5693    
   5  Prefactor     .72720E-08    6.2889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .47740E-08    4.0569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .20289E-04    2.2519        .76858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    1.5848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        .64575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.800        6.8152        .30436E-03   -1.5642    
  11  Prefactor     .32996E-05    23.955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.537        11.689        .29408E-03   -1.5640    
  13  Prefactor     3.1286        3.1325        .57224E-03   -1.5673    
  14  norm          .93389        .53438        .43435E-03   -1.5689    
  15  Prefactor     14.525        13.955        .26258E-03   -1.5632    
  16  norm          24.782        10.110        .20055E-03   -1.5608    
  17  Normalizat    1.0300        .20754        .13641       -.92032    
  18  Prefactor     1.0616        .46937E-01    .39273E-01   -.90704    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79811e-07
Minuit parameter uncertainties:
  1  12.5344
  2  0.00171939
  3  1.93038
  4  0.470197
  5  0.00042719
  6  0.000277596
  7  0.0135187
  8  1.85741e-05
  9  3.62375e-06
  10  6.81523
  11  0.0177811
  12  11.6894
  13  3.13247
  14  0.534376
  15  13.9554
  16  10.1099
  17  0.207703
  18  0.0469388
Done.

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

Extracting fit parameters...

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  0.000e+00  3.624e-06  0.000e+00  1.000e+06 ( 1.000e-12)
986        Index:  2.388e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
987        Scale:  8.495e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1277    Prefactor:  1.062e+00  4.694e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1278        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1279        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1273   Normalization:  1.030e+00  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 291.214 -29.247
Photon Flux Upper Limit: 3.78423246832e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00292184137897 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26510636/likelihoodResults_799632001_800236801_4FGL_J1924.8-2914_weekly_bin927.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) = 28111.0689669
delta logL = -0.00332549152154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 28111.0656414
delta logL = -1.01099431049e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29421E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.9913       1.0000          .0000       10.000    
     3 'Normalizat'    1.0300       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0616       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1306E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   28111.07     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      239 TOTAL
                     EDM=   .95E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .48830        .42118E-03** at limit **
   2  Index         2.8132        1.1490        .12642E-04     .0000    
   3  Normalizat    1.0300        1.2380       -.67408E-06   -.24565E-05
   4  Prefactor     1.0616        1.1790       -.13056E-05    .45811E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.81323
  Normalizat = 1.03
  Prefactor  = 1.06157
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   28111.07     FROM HESSE     STATUS=FAILED         9 CALLS      248 TOTAL
                     EDM=   .95E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .48830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .89645        1.9894        .12642E-04   -.45265    
   3  Normalizat    1.0300        1.2380       -.67408E-06   -.92032    
   4  Prefactor     1.0616        1.1790       -.13056E-05   -.90704    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.49556e-13
Minuit parameter uncertainties:
  1  8.22646e-07
  2  1.16185
  3  1.27542
  4  1.20982
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) = 28111.0656414
delta logL = 3.63797880709e-11

Extracting fit parameters...

4FGL J1924.8-2914
   Spectrum: PowerLaw
985    Prefactor:  0.000e+00  8.226e-07  0.000e+00  1.000e+06 ( 1.000e-12)
986        Index:  2.813e+00  1.162e+00  0.000e+00  1.000e+01 (-1.000e+00)
987        Scale:  8.495e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1277    Prefactor:  1.062e+00  1.210e+00  0.000e+00  1.000e+01 ( 1.000e+00)
1278        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1279        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1273   Normalization:  1.030e+00  1.275e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 291.214 -29.247

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/26510636/cmap_HighResolution_799632001_800236801_4FGL_J1924.8-2914_weekly_bin927.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.92e-03', job_status='DONE', photon_flux_upper_limit='3.78e-08', time_completed='2026-05-12 03:04:41.067620', job_id='26510636', GAL2='1.06', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1778580281.07', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='927' AND source_name='4FGL J1924.8-2914' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 12 03:04:41 PDT 2026

