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


Performing analysis on: 4FGL_J0900.6-7408_daily_bin1897
RA = 135.172, Dec = -74.144
tmin = 731030401, tmax = 731289601
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='44314730', job_status='RUN', time_executed='2024-04-19 22:41:41.889539', time_epoch_executed='1713591701.89' WHERE source_name='4FGL J0900.6-7408' and cadence='daily' and bin_id='1897'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/44314730

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/44314730/ft1_4FGL_J0900.6-7408_daily_bin1897.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/44314730/ft2_4FGL_J0900.6-7408_daily_bin1897.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/44314730/ft1_4FGL_J0900.6-7408_daily_bin1897.fits outfile=/lscratch/kocevski/44314730/ft1_filteredMKT_4FGL_J0900.6-7408_daily_bin1897.fits ra=135.172 dec=-74.144 rad=12.0 tmin=731030401.0 tmax=731289601.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.09
user 1.85
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/44314730/ft2_4FGL_J0900.6-7408_daily_bin1897.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/44314730/ft2_4FGL_J0900.6-7408_daily_bin1897.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/44314730/ft1_filteredMKT_4FGL_J0900.6-7408_daily_bin1897.fits evtable="EVENTS" outfile="/lscratch/kocevski/44314730/ft1_filtered_4FGL_J0900.6-7408_daily_bin1897.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.51
user 0.20
sys 0.15

Number of photons that the gtmktime cut: 1632

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/44314730/ft1_filtered_4FGL_J0900.6-7408_daily_bin1897.fits" evtable="EVENTS" scfile=/lscratch/kocevski/44314730/ft2_4FGL_J0900.6-7408_daily_bin1897.fits sctable="SC_DATA" outfile=/lscratch/kocevski/44314730/ltcube_731030401_731289601_4FGL_J0900.6-7408_daily_bin1897.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/44314730/ft2_4FGL_J0900.6-7408_daily_bin1897.fits
.....................!
real 8.89
user 8.47
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/44314730/ft1_filtered_4FGL_J0900.6-7408_daily_bin1897.fits evtable="EVENTS" scfile=/lscratch/kocevski/44314730/ft2_4FGL_J0900.6-7408_daily_bin1897.fits sctable="SC_DATA" expcube=/lscratch/kocevski/44314730/ltcube_731030401_731289601_4FGL_J0900.6-7408_daily_bin1897.fits outfile=/lscratch/kocevski/44314730/expmap_731030401_731289601_4FGL_J0900.6-7408_daily_bin1897.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/44314730/ltcube_731030401_731289601_4FGL_J0900.6-7408_daily_bin1897.fits
.....................!
real 70.00
user 65.36
sys 3.86

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 LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source LMC-FarWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Extended source Westerlund 2 in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1213.3-6240 in ROI with RadialDisk spatial model.
Added 232 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 J0900.6-7408 @ 135.172 -74.144

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/44314730/ft1_filtered_4FGL_J0900.6-7408_daily_bin1897.fits scfile=/lscratch/kocevski/44314730/ft2_4FGL_J0900.6-7408_daily_bin1897.fits outfile=/lscratch/kocevski/44314730/cmap_731030401_731289601_4FGL_J0900.6-7408_daily_bin1897.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=135.172 yref=-74.144 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.41
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/44314730/ft1_filtered_4FGL_J0900.6-7408_daily_bin1897.fits scfile=/lscratch/kocevski/44314730/ft2_4FGL_J0900.6-7408_daily_bin1897.fits outfile=/lscratch/kocevski/44314730/cmap_HighResolution_731030401_731289601_4FGL_J0900.6-7408_daily_bin1897.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=135.172 yref=-74.144 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.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/44314730/ft1_filtered_4FGL_J0900.6-7408_daily_bin1897.fits evtable="EVENTS" scfile=/lscratch/kocevski/44314730/ft2_4FGL_J0900.6-7408_daily_bin1897.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/44314730/Model_4FGL_J0900.6-7408_daily_bin1897.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 J1036.3-5833
adding source FGES J1109.4-6115
adding source FGES J1213.3-6240
adding source GAL_V02
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source Westerlund 2
Working on...
/lscratch/kocevski/44314730/ft1_filtered_4FGL_J0900.6-7408_daily_bin1897.fits.....................!
real 3631.01
user 3606.50
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/44314730/ft1_filtered_4FGL_J0900.6-7408_daily_bin1897.fits', '/lscratch/kocevski/44314730/ft2_4FGL_J0900.6-7408_daily_bin1897.fits', expMap='/lscratch/kocevski/44314730/expmap_731030401_731289601_4FGL_J0900.6-7408_daily_bin1897.fits', expCube='/lscratch/kocevski/44314730/ltcube_731030401_731289601_4FGL_J0900.6-7408_daily_bin1897.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/44314730/Model_4FGL_J0900.6-7408_daily_bin1897.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0900.6-7408'

4FGL J0900.6-7408
   Spectrum: PowerLaw
280    Prefactor:  2.992e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
281        Index:  2.809e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  4.569e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/44314730/ft1_filtered_4FGL_J0900.6-7408_daily_bin1897.fits
Spacecraft file(s): /lscratch/kocevski/44314730/ft2_4FGL_J0900.6-7408_daily_bin1897.fits
Exposure map: /lscratch/kocevski/44314730/expmap_731030401_731289601_4FGL_J0900.6-7408_daily_bin1897.fits
Exposure cube: /lscratch/kocevski/44314730/ltcube_731030401_731289601_4FGL_J0900.6-7408_daily_bin1897.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/44314730/Model_4FGL_J0900.6-7408_daily_bin1897.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) = 16456.9476064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8275       1.0000          .0000       .10000E+07
     2 'norm      '    .12164E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .14668E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .35772E-03   1.0000          .0000       .10000E+07
     5 'norm      '    12.137       1.0000          .0000       .10000E+07
     6 'Prefactor '    .30740E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .21427E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    36.824       1.0000          .0000       .10000E+07
     9 'norm      '    .38184E-03   1.0000          .0000       .10000E+07
    10 'Normalizat'    1.4038       1.0000         .10000E-01   10.000    
    11 'Prefactor '    .93994       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16456.90     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      683 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.7597        8.5239       -.26021E-07    .65756E-04
   2  norm           .0000        1.6076        .22867E-06** at limit **
   3  Prefactor     .55511E-10    35.914        .43515E-06** at limit **
   4  Prefactor      .0000        16.886       -.15142E-06** at limit **
   5  norm          12.216        10.176        .10716E-06   -.76272E-04
   6  Prefactor      .0000        6.8820       -.14978E-07** at limit **
   7  Prefactor      .0000        10.648       -.13799E-06** at limit **
   8  Prefactor     31.008        61.397        .36951E-06    .17983E-04
   9  norm           .0000        22.324        .53541E-07** at limit **
  10  Normalizat    1.4031        .24920        .11924E-05    .35538E-04
  11  Prefactor     .94057        .67983E-01   -.13591E-05    .11265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.75971
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 12.2164
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 31.0084
  norm       = 0
  Normalizat = 1.40314
  Prefactor  = 0.940565
 **********
 **   18 **HESSE 
 **********

 FCN=   16456.90     FROM HESSE     STATUS=OK           140 CALLS      823 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.7597        8.5312        .31941E-03   -1.5645    
   2  norm           .0000        1.6013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    36.077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        16.915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          12.216        10.179        .28729E-03   -1.5638    
   6  Prefactor      .0000        6.8499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        10.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     31.008        61.447        .16481E-03   -1.5597    
   9  norm           .0000        2.1171        .59168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Normalizat    1.4031        .21352        .99450E-01   -.80538    
  11  Prefactor     .94057        .58060E-01    .32295E-01   -.94738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75607e-10
Minuit parameter uncertainties:
  1  8.53118
  2  2.10461e-06
  3  6.42372e-05
  4  2.25854e-05
  5  10.1794
  6  2.82054e-06
  7  1.14326e-05
  8  61.448
  9  9.18434e-06
  10  0.213652
  11  0.0580639
Done.

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

Extracting fit parameters...

4FGL J0900.6-7408
   Spectrum: PowerLaw
280    Prefactor:  0.000e+00  2.821e-06  0.000e+00  1.000e+06 ( 1.000e-12)
281        Index:  2.809e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  4.569e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
816    Prefactor:  9.406e-01  5.806e-02  0.000e+00  1.000e+01 ( 1.000e+00)
817        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
818        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
804   Normalization:  1.403e+00  2.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 135.172 -74.144
Photon Flux Upper Limit: 7.79897237004e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00617733851045 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/44314730/likelihoodResults_731030401_731289601_4FGL_J0900.6-7408_daily_bin1897.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) = 16456.9003206
delta logL = -0.000187578407349

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16456.9001331
delta logL = -5.05169737153e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92149E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1422       1.0000          .0000       10.000    
     3 'Normalizat'    1.4032       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94055       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16456.90     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      249 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.4539       -.15516E-06** at limit **
   2  Index         4.0257        6.9229        .55050E-05     .0000    
   3  Normalizat    1.4031        .24270        .39996E-05    .63599E-05
   4  Prefactor     .94057        .67101E-01   -.94404E-06   -.42688E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.02569
  Normalizat = 1.40314
  Prefactor  = 0.940565
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16456.90     FROM HESSE     STATUS=FAILED        11 CALLS      260 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.0702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7556        2.3331        .55050E-05   -.19612    
   3  Normalizat    1.4031        1.0615        .39996E-05   -.80538    
   4  Prefactor     .94057        1.2833       -.94404E-06   -.94738    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.7895e-12
Minuit parameter uncertainties:
  1  1.65242e-05
  2  1.77372
  3  1.07887
  4  1.32876
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) = 16456.900133
delta logL = 0.0

Extracting fit parameters...

4FGL J0900.6-7408
   Spectrum: PowerLaw
280    Prefactor:  0.000e+00  1.652e-05  0.000e+00  1.000e+06 ( 1.000e-12)
281        Index:  4.026e+00  1.774e+00  0.000e+00  1.000e+01 (-1.000e+00)
282        Scale:  4.569e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
816    Prefactor:  9.406e-01  1.329e+00  0.000e+00  1.000e+01 ( 1.000e+00)
817        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
818        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
804   Normalization:  1.403e+00  1.079e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 135.172 -74.144

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/44314730/cmap_HighResolution_731030401_731289601_4FGL_J0900.6-7408_daily_bin1897.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.18e-03', job_status='DONE', photon_flux_upper_limit='7.80e-08', time_completed='2024-04-19 23:47:44.282457', job_id='44314730', GAL2='0.94', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1713595664.28', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1897' AND source_name='4FGL J0900.6-7408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 19 23:47:44 PDT 2024

