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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1813
RA = 309.252, Dec = -28.4383
tmin = 709257601, tmax = 709516801
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='18920447', job_status='RUN', time_executed='2023-07-10 14:01:23.008942', time_epoch_executed='1689022883.01' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1813'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/18920447

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/18920447/ft1_4FGL_J2037.0-2826_daily_bin1813.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/18920447/ft2_4FGL_J2037.0-2826_daily_bin1813.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/18920447/ft1_4FGL_J2037.0-2826_daily_bin1813.fits outfile=/lscratch/kocevski/18920447/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1813.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=709257601.0 tmax=709516801.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.52
user 1.33
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18920447/ft2_4FGL_J2037.0-2826_daily_bin1813.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/18920447/ft2_4FGL_J2037.0-2826_daily_bin1813.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/18920447/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1813.fits evtable="EVENTS" outfile="/lscratch/kocevski/18920447/ft1_filtered_4FGL_J2037.0-2826_daily_bin1813.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.35
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 184

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/18920447/ft1_filtered_4FGL_J2037.0-2826_daily_bin1813.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18920447/ft2_4FGL_J2037.0-2826_daily_bin1813.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18920447/ltcube_709257601_709516801_4FGL_J2037.0-2826_daily_bin1813.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/18920447/ft2_4FGL_J2037.0-2826_daily_bin1813.fits
.....................!
real 10.34
user 9.94
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/18920447/ft1_filtered_4FGL_J2037.0-2826_daily_bin1813.fits evtable="EVENTS" scfile=/lscratch/kocevski/18920447/ft2_4FGL_J2037.0-2826_daily_bin1813.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18920447/ltcube_709257601_709516801_4FGL_J2037.0-2826_daily_bin1813.fits outfile=/lscratch/kocevski/18920447/expmap_709257601_709516801_4FGL_J2037.0-2826_daily_bin1813.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/18920447/ltcube_709257601_709516801_4FGL_J2037.0-2826_daily_bin1813.fits
.....................!
real 68.51
user 64.04
sys 3.98

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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J2037.0-2826 @ 309.252 -28.4383

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/18920447/ft1_filtered_4FGL_J2037.0-2826_daily_bin1813.fits scfile=/lscratch/kocevski/18920447/ft2_4FGL_J2037.0-2826_daily_bin1813.fits outfile=/lscratch/kocevski/18920447/cmap_709257601_709516801_4FGL_J2037.0-2826_daily_bin1813.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=309.252 yref=-28.4383 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.36
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/18920447/ft1_filtered_4FGL_J2037.0-2826_daily_bin1813.fits scfile=/lscratch/kocevski/18920447/ft2_4FGL_J2037.0-2826_daily_bin1813.fits outfile=/lscratch/kocevski/18920447/cmap_HighResolution_709257601_709516801_4FGL_J2037.0-2826_daily_bin1813.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=309.252 yref=-28.4383 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.37
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/18920447/ft1_filtered_4FGL_J2037.0-2826_daily_bin1813.fits evtable="EVENTS" scfile=/lscratch/kocevski/18920447/ft2_4FGL_J2037.0-2826_daily_bin1813.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18920447/Model_4FGL_J2037.0-2826_daily_bin1813.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/18920447/ft1_filtered_4FGL_J2037.0-2826_daily_bin1813.fits.....................!
real 12.79
user 11.68
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/18920447/ft1_filtered_4FGL_J2037.0-2826_daily_bin1813.fits', '/lscratch/kocevski/18920447/ft2_4FGL_J2037.0-2826_daily_bin1813.fits', expMap='/lscratch/kocevski/18920447/expmap_709257601_709516801_4FGL_J2037.0-2826_daily_bin1813.fits', expCube='/lscratch/kocevski/18920447/ltcube_709257601_709516801_4FGL_J2037.0-2826_daily_bin1813.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18920447/Model_4FGL_J2037.0-2826_daily_bin1813.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2037.0-2826'

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.729e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
319        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/18920447/ft1_filtered_4FGL_J2037.0-2826_daily_bin1813.fits
Spacecraft file(s): /lscratch/kocevski/18920447/ft2_4FGL_J2037.0-2826_daily_bin1813.fits
Exposure map: /lscratch/kocevski/18920447/expmap_709257601_709516801_4FGL_J2037.0-2826_daily_bin1813.fits
Exposure cube: /lscratch/kocevski/18920447/ltcube_709257601_709516801_4FGL_J2037.0-2826_daily_bin1813.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/18920447/Model_4FGL_J2037.0-2826_daily_bin1813.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) = 2122.69548826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61635E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10902E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .14039E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .53822E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10525E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .20773E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1933       1.0000          .0000       .10000E+07
     8 'norm      '    .72537E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    89.689       1.0000          .0000       .10000E+07
    10 'Prefactor '    116.47       1.0000          .0000       .10000E+07
    11 'Prefactor '    .40309E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .35319E-02   1.0000          .0000       .10000E+07
    13 'Normalizat'    1.6372       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .76431       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2122.694     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      952 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12475E-05    14.185       -.12413E-06** at limit **
   2  Prefactor     .34681E-05    18.224        .58006E-07** at limit **
   3  norm          .59713E-06    34.971       -.72097E-07** at limit **
   4  norm           .0000        16.184       -.18769E-06** at limit **
   5  Prefactor     .37027E-05    24.281       -.17952E-06** at limit **
   6  Prefactor      .0000        6.9837        .12543E-06** at limit **
   7  Prefactor     1.1527        25.411        .21490E-05    .45009E-04
   8  norm          .14805E-05    14.662       -.10940E-06** at limit **
   9  Prefactor     89.905        16.461        .34249E-07   -.20323    
  10  Prefactor     116.44        12.040       -.24466E-07    .20512    
  11  Prefactor     .84001E-05    28.036        .10303E-06** at limit **
  12  norm          .33307E-09    13.627       -.55578E-06** at limit **
  13  Normalizat    1.6366        .60299       -.79229E-05   -.45103E-05
  14  Prefactor     .76452        .24365       -.34667E-05   -.63132E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.2475e-06
  Prefactor  = 3.46811e-06
  norm       = 5.97133e-07
  norm       = 0
  Prefactor  = 3.7027e-06
  Prefactor  = 0
  Prefactor  = 1.15266
  norm       = 1.48048e-06
  Prefactor  = 89.9048
  Prefactor  = 116.437
  Prefactor  = 8.40006e-06
  norm       = 3.33067e-10
  Normalizat = 1.63665
  Prefactor  = 0.764521
 **********
 **   18 **HESSE 
 **********

 FCN=   2122.694     FROM HESSE     STATUS=OK           180 CALLS     1132 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12475E-05    55.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .34681E-05    48.333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .59713E-06    35.205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        16.198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .37027E-05    55.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        6.9791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1527        25.129        .10413E-02   -1.5686    
   8  norm          .14805E-05    53.346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     89.905        60.988        .10560E-03   -1.5518    
  10  Prefactor     116.44        75.106        .92667E-04   -1.5492    
  11  Prefactor     .84001E-05    49.562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .33307E-09    13.634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.6366        .51395        .79227E-01   -.74008    
  14  Prefactor     .76452        .20126        .43251E-01   -1.0105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11932e-06
Minuit parameter uncertainties:
  1  0.0166138
  2  0.0258942
  3  0.00916982
  4  3.07021e-05
  5  0.0285497
  6  3.39518e-06
  7  10.7639
  8  0.017774
  9  60.9888
  10  75.1066
  11  0.0408085
  12  0.000136838
  13  0.515632
  14  0.201456
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  0.000e+00  3.395e-06  0.000e+00  1.000e+06 ( 1.000e-12)
319        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  7.645e-01  2.015e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.637e+00  5.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 309.252 -28.438
Photon Flux Upper Limit: 2.69353373403e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0210381644146 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/18920447/likelihoodResults_709257601_709516801_4FGL_J2037.0-2826_daily_bin1813.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) = 2122.69512694
delta logL = -0.000755711220336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2122.69437264
delta logL = -1.41146074384e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2122.694     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      232 TOTAL
                     EDM=   .78E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.7963        .15728E-06** at limit **
   2  Index         2.8402        3.5207       -.13081E-04     .0000    
   3  Normalizat    1.6366        .59541       -.40556E-05    .19990E-05
   4  Prefactor     .76452        .24303        .58482E-05   -.64030E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.84015
  Normalizat = 1.63665
  Prefactor  = 0.764521
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2122.694     FROM HESSE     STATUS=FAILED        11 CALLS      243 TOTAL
                     EDM=   .78E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.7773        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .91360        2.0351       -.13081E-04   -.44667    
   3  Normalizat    1.6366        1.0378       -.40556E-05   -.74008    
   4  Prefactor     .76452        1.1137        .58482E-05   -1.0105    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.76102e-14
Minuit parameter uncertainties:
  1  1.91759e-06
  2  1.43573
  3  1.05203
  4  1.14924
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) = 2122.69437123
delta logL = 0.0

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  0.000e+00  1.918e-06  0.000e+00  1.000e+06 ( 1.000e-12)
319        Index:  2.840e+00  1.436e+00  0.000e+00  1.000e+01 (-1.000e+00)
320        Scale:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  7.645e-01  1.149e+00  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.637e+00  1.052e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 309.252 -28.438

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/18920447/cmap_HighResolution_709257601_709516801_4FGL_J2037.0-2826_daily_bin1813.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.10e-02', job_status='DONE', photon_flux_upper_limit='2.69e-07', time_completed='2023-07-10 14:04:16.016185', job_id='18920447', GAL2='0.76', fit_tolerance='1e-08', EG2='1.64', EG='1.64', time_epoch_completed='1689023056.02', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1813' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 10 14:04:16 PDT 2023

