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


Performing analysis on: 4FGL_J0937.9-1434_weekly_bin906
RA = 144.475, Dec = -14.5706
tmin = 786931201, tmax = 787536001
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='17377618', job_status='RUN', time_executed='2025-12-16 01:55:55.906126', time_epoch_executed='1765878955.91' WHERE source_name='4FGL J0937.9-1434' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17377618

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17377618/ft1_4FGL_J0937.9-1434_weekly_bin906.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17377618/ft2_4FGL_J0937.9-1434_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17377618/ft1_4FGL_J0937.9-1434_weekly_bin906.fits outfile=/lscratch/kocevski/17377618/ft1_filteredMKT_4FGL_J0937.9-1434_weekly_bin906.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=786931201.0 tmax=787536001.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 5.35
user 4.60
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17377618/ft2_4FGL_J0937.9-1434_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17377618/ft2_4FGL_J0937.9-1434_weekly_bin906.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/17377618/ft1_filteredMKT_4FGL_J0937.9-1434_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17377618/ft1_filtered_4FGL_J0937.9-1434_weekly_bin906.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.95
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1991

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17377618/ft1_filtered_4FGL_J0937.9-1434_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17377618/ft2_4FGL_J0937.9-1434_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17377618/ltcube_786931201_787536001_4FGL_J0937.9-1434_weekly_bin906.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/17377618/ft2_4FGL_J0937.9-1434_weekly_bin906.fits
.....................!
real 16.36
user 15.65
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17377618/ft1_filtered_4FGL_J0937.9-1434_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17377618/ft2_4FGL_J0937.9-1434_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17377618/ltcube_786931201_787536001_4FGL_J0937.9-1434_weekly_bin906.fits outfile=/lscratch/kocevski/17377618/expmap_786931201_787536001_4FGL_J0937.9-1434_weekly_bin906.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/17377618/ltcube_786931201_787536001_4FGL_J0937.9-1434_weekly_bin906.fits
.....................!
real 61.19
user 56.74
sys 3.56

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 J0937.9-1434 @ 144.475 -14.5706

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17377618/ft1_filtered_4FGL_J0937.9-1434_weekly_bin906.fits scfile=/lscratch/kocevski/17377618/ft2_4FGL_J0937.9-1434_weekly_bin906.fits outfile=/lscratch/kocevski/17377618/cmap_786931201_787536001_4FGL_J0937.9-1434_weekly_bin906.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=144.475 yref=-14.5706 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.92
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17377618/ft1_filtered_4FGL_J0937.9-1434_weekly_bin906.fits scfile=/lscratch/kocevski/17377618/ft2_4FGL_J0937.9-1434_weekly_bin906.fits outfile=/lscratch/kocevski/17377618/cmap_HighResolution_786931201_787536001_4FGL_J0937.9-1434_weekly_bin906.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=144.475 yref=-14.5706 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.94
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17377618/ft1_filtered_4FGL_J0937.9-1434_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17377618/ft2_4FGL_J0937.9-1434_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17377618/Model_4FGL_J0937.9-1434_weekly_bin906.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/17377618/ft1_filtered_4FGL_J0937.9-1434_weekly_bin906.fits.....................!
real 66.73
user 64.84
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17377618/ft1_filtered_4FGL_J0937.9-1434_weekly_bin906.fits', '/lscratch/kocevski/17377618/ft2_4FGL_J0937.9-1434_weekly_bin906.fits', expMap='/lscratch/kocevski/17377618/expmap_786931201_787536001_4FGL_J0937.9-1434_weekly_bin906.fits', expCube='/lscratch/kocevski/17377618/ltcube_786931201_787536001_4FGL_J0937.9-1434_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17377618/Model_4FGL_J0937.9-1434_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0937.9-1434'

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  3.095e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
258        Index:  1.980e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17377618/ft1_filtered_4FGL_J0937.9-1434_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17377618/ft2_4FGL_J0937.9-1434_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17377618/expmap_786931201_787536001_4FGL_J0937.9-1434_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17377618/ltcube_786931201_787536001_4FGL_J0937.9-1434_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17377618/Model_4FGL_J0937.9-1434_weekly_bin906.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) = 21636.6971367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24830E-06   1.0000          .0000       .10000E+07
     2 'norm      '    5.9489       1.0000          .0000       .10000E+07
     3 'Prefactor '    .14498E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .43043E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .23961       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.7806       1.0000          .0000       .10000E+07
     7 'Prefactor '    20.229       1.0000          .0000       .10000E+07
     8 'Prefactor '    .54074E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.194       1.0000          .0000       .10000E+07
    10 'Prefactor '    .68106E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .36169E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .33168E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .29478E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .40019E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .43400E-01   1.0000          .0000       .10000E+07
    16 'norm      '    1.8713       1.0000          .0000       .10000E+07
    17 'norm      '    .40717       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0218       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96181       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21636.60     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1210 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71609E-08    2.1921        .44346E-07** at limit **
   2  norm          5.9468        1.7081        .21632E-08    .25785E-03
   3  Prefactor     .58120E-07    1.9481        .78973E-07** at limit **
   4  Prefactor     .73941E-07    1.2108        .29034E-07** at limit **
   5  Prefactor     .24405        5.8361        .94209E-07** at limit **
   6  Prefactor     2.8063        4.3873        .61982E-07    .21646E-03
   7  Prefactor     19.950        11.756       -.20778E-07    .53211E-01
   8  Prefactor     .55511E-10    26.904       -.57515E-06** at limit **
   9  Prefactor     10.490        15.736        .75505E-07   -.15120E-01
  10  Prefactor      .0000        4.6162        .21715E-06** at limit **
  11  Prefactor     .17708E-07    3.0416        .69902E-07** at limit **
  12  norm          .16653E-09    2.0826        .14974E-06** at limit **
  13  norm           .0000        .73523        .93180E-07** at limit **
  14  norm          .56399E-07    1.6982        .34935E-07** at limit **
  15  norm          .38805E-01    4.7695        .42937E-07** at limit **
  16  norm          1.8703        3.8426       -.25141E-07    .25798E-03
  17  norm          .40600        .50545       -.29524E-07   -.44919E-02
  18  Normalizat    1.0229        .11922        .27697E-05    .14346E-03
  19  Prefactor     .96168        .73189E-01   -.17487E-05   -.58357E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.16094e-09
  norm       = 5.94681
  Prefactor  = 5.81202e-08
  Prefactor  = 7.39409e-08
  Prefactor  = 0.244048
  Prefactor  = 2.80628
  Prefactor  = 19.9501
  Prefactor  = 5.55112e-11
  Prefactor  = 10.49
  Prefactor  = 0
  Prefactor  = 1.77081e-08
  norm       = 1.66533e-10
  norm       = 0
  norm       = 5.63993e-08
  norm       = 0.0388046
  norm       = 1.87029
  norm       = 0.406003
  Normalizat = 1.02287
  Prefactor  = 0.961678
 **********
 **   18 **HESSE 
 **********

 FCN=   21636.60     FROM HESSE     STATUS=OK           318 CALLS     1528 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71609E-08    2.2625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.9468        1.7136        .41147E-03   -1.5659    
   3  Prefactor     .58120E-07    4.4261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .73941E-07    2.3307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .24405        1.3738        .55283E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.8063        4.4062        .60998E-03   -1.5674    
   7  Prefactor     19.950        13.514        .22241E-03   -1.5619    
   8  Prefactor     .55511E-10    26.844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.490        16.048        .29918E-03   -1.5643    
  10  Prefactor      .0000        4.6420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .17708E-07    4.1324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .16653E-09    2.0837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .73024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .56399E-07    2.4059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .38805E-01    .31258        .46788E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.8703        3.8661        .76105E-03   -1.5681    
  17  norm          .40600        .54053        .26070E-02   -1.5695    
  18  Normalizat    1.0229        .10144        .63160E-01   -.92268    
  19  Prefactor     .96168        .61666E-01    .45788E-01   -.94018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14982e-07
Minuit parameter uncertainties:
  1  0.000254513
  2  1.71361
  3  0.00101418
  4  0.000830236
  5  1.15807
  6  4.4062
  7  13.5139
  8  5.89263e-05
  9  16.0482
  10  2.9858e-06
  11  0.000541009
  12  3.91445e-05
  13  4.26139e-06
  14  0.000736719
  15  0.220267
  16  3.86614
  17  0.540534
  18  0.101455
  19  0.0616708
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  0.000e+00  2.986e-06  0.000e+00  1.000e+06 ( 1.000e-14)
258        Index:  1.980e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.617e-01  6.167e-02  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.023e+00  1.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 144.475 -14.571
Photon Flux Upper Limit: 1.70056410742e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00127325663313 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17377618/likelihoodResults_786931201_787536001_4FGL_J0937.9-1434_weekly_bin906.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) = 21636.6079213
delta logL = -0.00446268465384

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21636.6034588
delta logL = -1.40531483339e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   21636.60     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      226 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.6349        .42118E-03** at limit **
   2  Index         .74552        .70641       -.11719E-04     .0000    
   3  Normalizat    1.0229        1.2559        .21125E-05   -.23359E-04
   4  Prefactor     .96168        1.3032       -.12921E-05    .32330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.74552
  Normalizat = 1.02287
  Prefactor  = 0.961678
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   21636.60     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.6349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .46450E-02    .89762       -.11719E-04   -1.0177    
   3  Normalizat    1.0229        1.2559        .21125E-05   -.92268    
   4  Prefactor     .96168        1.3032       -.12921E-05   -.94018    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.58939e-12
Minuit parameter uncertainties:
  1  9.38472e-06
  2  0.715215
  3  1.29537
  4  1.34987
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) = 21636.6034586
delta logL = 2.18278728426e-11

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  0.000e+00  9.385e-06  0.000e+00  1.000e+06 ( 1.000e-14)
258        Index:  7.455e-01  7.152e-01  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.617e-01  1.350e+00  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.023e+00  1.295e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 144.475 -14.571

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/17377618/cmap_HighResolution_786931201_787536001_4FGL_J0937.9-1434_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-03', job_status='DONE', photon_flux_upper_limit='1.70e-08', time_completed='2025-12-16 02:08:00.878337', job_id='17377618', GAL2='0.96', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1765879680.88', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.18e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='906' AND source_name='4FGL J0937.9-1434' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 02:08:01 PST 2025

