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


Performing analysis on: 4FGL_J0915.4-3027_daily_bin1877
RA = 138.875, Dec = -30.4642
tmin = 725846401, tmax = 726105601
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='38408659', job_status='RUN', time_executed='2024-01-18 13:30:43.614736', time_epoch_executed='1705613443.61' WHERE source_name='4FGL J0915.4-3027' and cadence='daily' and bin_id='1877'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38408659

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38408659/ft1_4FGL_J0915.4-3027_daily_bin1877.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38408659/ft2_4FGL_J0915.4-3027_daily_bin1877.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38408659/ft1_4FGL_J0915.4-3027_daily_bin1877.fits outfile=/lscratch/kocevski/38408659/ft1_filteredMKT_4FGL_J0915.4-3027_daily_bin1877.fits ra=138.875 dec=-30.4642 rad=12.0 tmin=725846401.0 tmax=726105601.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 1.66
user 1.45
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38408659/ft2_4FGL_J0915.4-3027_daily_bin1877.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38408659/ft2_4FGL_J0915.4-3027_daily_bin1877.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/38408659/ft1_filteredMKT_4FGL_J0915.4-3027_daily_bin1877.fits evtable="EVENTS" outfile="/lscratch/kocevski/38408659/ft1_filtered_4FGL_J0915.4-3027_daily_bin1877.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.34
user 0.16
sys 0.13

Number of photons that the gtmktime cut: 1463

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38408659/ft1_filtered_4FGL_J0915.4-3027_daily_bin1877.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38408659/ft2_4FGL_J0915.4-3027_daily_bin1877.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38408659/ltcube_725846401_726105601_4FGL_J0915.4-3027_daily_bin1877.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/38408659/ft2_4FGL_J0915.4-3027_daily_bin1877.fits
.....................!
real 7.77
user 7.45
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38408659/ft1_filtered_4FGL_J0915.4-3027_daily_bin1877.fits evtable="EVENTS" scfile=/lscratch/kocevski/38408659/ft2_4FGL_J0915.4-3027_daily_bin1877.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38408659/ltcube_725846401_726105601_4FGL_J0915.4-3027_daily_bin1877.fits outfile=/lscratch/kocevski/38408659/expmap_725846401_726105601_4FGL_J0915.4-3027_daily_bin1877.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/38408659/ltcube_725846401_726105601_4FGL_J0915.4-3027_daily_bin1877.fits
.....................!
real 59.05
user 55.43
sys 3.37

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 Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 190 point sources and 3 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 J0915.4-3027 @ 138.875 -30.4642

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38408659/ft1_filtered_4FGL_J0915.4-3027_daily_bin1877.fits scfile=/lscratch/kocevski/38408659/ft2_4FGL_J0915.4-3027_daily_bin1877.fits outfile=/lscratch/kocevski/38408659/cmap_725846401_726105601_4FGL_J0915.4-3027_daily_bin1877.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=138.875 yref=-30.4642 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.34
user 0.17
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38408659/ft1_filtered_4FGL_J0915.4-3027_daily_bin1877.fits scfile=/lscratch/kocevski/38408659/ft2_4FGL_J0915.4-3027_daily_bin1877.fits outfile=/lscratch/kocevski/38408659/cmap_HighResolution_725846401_726105601_4FGL_J0915.4-3027_daily_bin1877.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=138.875 yref=-30.4642 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.38
user 0.19
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38408659/ft1_filtered_4FGL_J0915.4-3027_daily_bin1877.fits evtable="EVENTS" scfile=/lscratch/kocevski/38408659/ft2_4FGL_J0915.4-3027_daily_bin1877.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38408659/Model_4FGL_J0915.4-3027_daily_bin1877.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 Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/lscratch/kocevski/38408659/ft1_filtered_4FGL_J0915.4-3027_daily_bin1877.fits.....................!
real 62.13
user 61.01
sys 0.81

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38408659/ft1_filtered_4FGL_J0915.4-3027_daily_bin1877.fits', '/lscratch/kocevski/38408659/ft2_4FGL_J0915.4-3027_daily_bin1877.fits', expMap='/lscratch/kocevski/38408659/expmap_725846401_726105601_4FGL_J0915.4-3027_daily_bin1877.fits', expCube='/lscratch/kocevski/38408659/ltcube_725846401_726105601_4FGL_J0915.4-3027_daily_bin1877.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38408659/Model_4FGL_J0915.4-3027_daily_bin1877.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0915.4-3027'

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  2.454e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  2.241e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.427e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38408659/ft1_filtered_4FGL_J0915.4-3027_daily_bin1877.fits
Spacecraft file(s): /lscratch/kocevski/38408659/ft2_4FGL_J0915.4-3027_daily_bin1877.fits
Exposure map: /lscratch/kocevski/38408659/expmap_725846401_726105601_4FGL_J0915.4-3027_daily_bin1877.fits
Exposure cube: /lscratch/kocevski/38408659/ltcube_725846401_726105601_4FGL_J0915.4-3027_daily_bin1877.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38408659/Model_4FGL_J0915.4-3027_daily_bin1877.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) = 15019.6450428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84082E-01   1.0000          .0000       .10000E+07
     2 'norm      '    1.7154       1.0000          .0000       .10000E+07
     3 'Prefactor '    .31302E-01   1.0000          .0000       .10000E+07
     4 'norm      '    5.9817       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4650       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.1771       1.0000          .0000       .10000E+07
     7 'Prefactor '    .41894E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.1464       1.0000          .0000       .10000E+07
     9 'Prefactor '    .16582E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .16059E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .11346E-06   1.0000          .0000       .10000E+07
    12 'norm      '    1.2206       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.880       1.0000          .0000       .10000E+07
    14 'Prefactor '    .64984E-02   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2224       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95664       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15018.91     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      930 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73918        58.357        .63615E-06    .20798E-03
   2  norm          1.7164        2.6570       -.72574E-08   -.15193E-03
   3  Prefactor     .27200E-08    50.279       -.25751E-06** at limit **
   4  norm          6.4139        22.761       -.19442E-06    .38396E-03
   5  Prefactor     5.5051        1.6120        .15589E-07   -.19701E-01
   6  Prefactor     1.1648        9.3995        .39182E-06   -.47784E-03
   7  Prefactor      .0000        5.8145        .16446E-06** at limit **
   8  Prefactor     4.1572        4.1870       -.12028E-06   -.46529E-03
   9  Prefactor     .11102E-09    45.171       -.49790E-06** at limit **
  10  norm          .55511E-10    9.7564        .14635E-06** at limit **
  11  norm           .0000        2.3641        .84890E-07** at limit **
  12  norm          1.1583        9.4684        .50390E-06   -.51482E-03
  13  Prefactor     11.387        4.6007       -.51733E-07    .18732E-02
  14  Prefactor     .22204E-09    47.402        .56091E-06** at limit **
  15  Normalizat    1.2223        .21395       -.26635E-06   -.49105E-04
  16  Prefactor     .95617        .53509E-01    .10705E-05   -.15620E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.739179
  norm       = 1.71638
  Prefactor  = 2.72005e-09
  norm       = 6.41393
  Prefactor  = 5.50509
  Prefactor  = 1.16483
  Prefactor  = 0
  Prefactor  = 4.15721
  Prefactor  = 1.11022e-10
  norm       = 5.55112e-11
  norm       = 0
  norm       = 1.15833
  Prefactor  = 11.3866
  Prefactor  = 2.22045e-10
  Normalizat = 1.22226
  Prefactor  = 0.956168
 **********
 **   18 **HESSE 
 **********

 FCN=   15018.91     FROM HESSE     STATUS=OK           241 CALLS     1171 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73918        5.4023        .14378E-01   -1.5691    
   2  norm          1.7164        2.6804        .80203E-03   -1.5682    
   3  Prefactor     .27200E-08    50.612        .16382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.4139        22.821        .41032E-03   -1.5657    
   5  Prefactor     5.5051        8.4903        .42958E-03   -1.5661    
   6  Prefactor     1.1648        9.2286        .10547E-02   -1.5686    
   7  Prefactor      .0000        5.7713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.1572        4.1966        .49476E-03   -1.5667    
   9  Prefactor     .11102E-09    44.070        .17273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    9.5837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        2.3704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1583        9.4033        .10205E-02   -1.5686    
  13  Prefactor     11.387        27.150        .30349E-03   -1.5640    
  14  Prefactor     .22204E-09    47.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2223        .20804        .11615       -.85918    
  16  Prefactor     .95617        .50308E-01    .31286E-01   -.94205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89116e-06
Minuit parameter uncertainties:
  1  3.99663
  2  2.68042
  3  0.000742219
  4  22.8212
  5  8.49035
  6  6.55735
  7  1.02678e-05
  8  4.19663
  9  0.000137551
  10  4.28647e-05
  11  1.26253e-05
  12  6.60065
  13  27.1503
  14  0.000215554
  15  0.208181
  16  0.0503109
Done.

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

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  0.000e+00  1.027e-05  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  2.241e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.427e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  9.562e-01  5.031e-02  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.222e+00  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 138.875 -30.464
Photon Flux Upper Limit: 7.35197651627e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00561848587183 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38408659/likelihoodResults_725846401_726105601_4FGL_J0915.4-3027_daily_bin1877.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) = 15018.8750659
delta logL = 0.0307480654865

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15018.6017103
delta logL = 0.304103692832

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43041E-02   1.0000          .0000       .10000E+07
     2 'Index     '    5.9123       1.0000          .0000       10.000    
     3 'Normalizat'    1.1620       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96297       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15018.91     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      295 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .14261        .42118E-03** at limit **
   2  Index         .59878E-02    .10457        .20197E-04     .0000    
   3  Normalizat    1.2223        1.1460        .12423E-05   -.34321E-04
   4  Prefactor     .95617        1.3003       -.23529E-05   -.18637E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.00598778
  Normalizat = 1.22226
  Prefactor  = 0.956168
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15018.91     FROM HESSE     STATUS=FAILED         9 CALLS      304 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .14261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52208        .41153        .20197E-04   -1.5219    
   3  Normalizat    1.2223        1.1460        .12423E-05   -.85918    
   4  Prefactor     .95617        1.3003       -.23529E-05   -.94205    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.03898e-11
Minuit parameter uncertainties:
  1  9.63459e-07
  2  0.0501481
  3  1.17104
  4  1.3469
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) = 15018.905814
delta logL = 0.0

Extracting fit parameters...

4FGL J0915.4-3027
   Spectrum: PowerLaw
343    Prefactor:  0.000e+00  9.635e-07  0.000e+00  1.000e+06 ( 1.000e-13)
344        Index:  5.988e-03  5.015e-02  0.000e+00  1.000e+01 (-1.000e+00)
345        Scale:  1.427e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  9.562e-01  1.347e+00  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.222e+00  1.171e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 138.875 -30.464

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/38408659/cmap_HighResolution_725846401_726105601_4FGL_J0915.4-3027_daily_bin1877.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-03', job_status='DONE', photon_flux_upper_limit='7.35e-08', time_completed='2024-01-18 13:36:12.686546', job_id='38408659', GAL2='0.96', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1705613772.69', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1877' AND source_name='4FGL J0915.4-3027' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 18 13:36:12 PST 2024

