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


Performing analysis on: 4FGL_J1933.2-4539_daily_bin1794
RA = 293.314, Dec = -45.6508
tmin = 704332801, tmax = 704592001
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='16937320', job_status='RUN', time_executed='2023-05-01 01:10:45.872768', time_epoch_executed='1682928645.87' WHERE source_name='4FGL J1933.2-4539' and cadence='daily' and bin_id='1794'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/16937320

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/16937320/ft1_4FGL_J1933.2-4539_daily_bin1794.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/16937320/ft2_4FGL_J1933.2-4539_daily_bin1794.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/16937320/ft1_4FGL_J1933.2-4539_daily_bin1794.fits outfile=/lscratch/kocevski/16937320/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1794.fits ra=293.314 dec=-45.6508 rad=12.0 tmin=704332801.0 tmax=704592001.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.60
user 1.38
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/16937320/ft2_4FGL_J1933.2-4539_daily_bin1794.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/16937320/ft2_4FGL_J1933.2-4539_daily_bin1794.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/16937320/ft1_filteredMKT_4FGL_J1933.2-4539_daily_bin1794.fits evtable="EVENTS" outfile="/lscratch/kocevski/16937320/ft1_filtered_4FGL_J1933.2-4539_daily_bin1794.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.33
user 0.18
sys 0.12

Number of photons that the gtmktime cut: 1321

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/16937320/ft1_filtered_4FGL_J1933.2-4539_daily_bin1794.fits" evtable="EVENTS" scfile=/lscratch/kocevski/16937320/ft2_4FGL_J1933.2-4539_daily_bin1794.fits sctable="SC_DATA" outfile=/lscratch/kocevski/16937320/ltcube_704332801_704592001_4FGL_J1933.2-4539_daily_bin1794.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/16937320/ft2_4FGL_J1933.2-4539_daily_bin1794.fits
.....................!
real 8.49
user 8.20
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/16937320/ft1_filtered_4FGL_J1933.2-4539_daily_bin1794.fits evtable="EVENTS" scfile=/lscratch/kocevski/16937320/ft2_4FGL_J1933.2-4539_daily_bin1794.fits sctable="SC_DATA" expcube=/lscratch/kocevski/16937320/ltcube_704332801_704592001_4FGL_J1933.2-4539_daily_bin1794.fits outfile=/lscratch/kocevski/16937320/expmap_704332801_704592001_4FGL_J1933.2-4539_daily_bin1794.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/16937320/ltcube_704332801_704592001_4FGL_J1933.2-4539_daily_bin1794.fits
.....................!
real 59.37
user 55.73
sys 3.27

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 FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Added 221 point sources and 1 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 J1933.2-4539 @ 293.314 -45.6508

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/16937320/ft1_filtered_4FGL_J1933.2-4539_daily_bin1794.fits scfile=/lscratch/kocevski/16937320/ft2_4FGL_J1933.2-4539_daily_bin1794.fits outfile=/lscratch/kocevski/16937320/cmap_704332801_704592001_4FGL_J1933.2-4539_daily_bin1794.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=293.314 yref=-45.6508 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.18
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/16937320/ft1_filtered_4FGL_J1933.2-4539_daily_bin1794.fits scfile=/lscratch/kocevski/16937320/ft2_4FGL_J1933.2-4539_daily_bin1794.fits outfile=/lscratch/kocevski/16937320/cmap_HighResolution_704332801_704592001_4FGL_J1933.2-4539_daily_bin1794.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=293.314 yref=-45.6508 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.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/16937320/ft1_filtered_4FGL_J1933.2-4539_daily_bin1794.fits evtable="EVENTS" scfile=/lscratch/kocevski/16937320/ft2_4FGL_J1933.2-4539_daily_bin1794.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/16937320/Model_4FGL_J1933.2-4539_daily_bin1794.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 FHES J1741.6-3917
adding source GAL_V02
Working on...
/lscratch/kocevski/16937320/ft1_filtered_4FGL_J1933.2-4539_daily_bin1794.fits.....................!
real 38.31
user 36.98
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/16937320/ft1_filtered_4FGL_J1933.2-4539_daily_bin1794.fits', '/lscratch/kocevski/16937320/ft2_4FGL_J1933.2-4539_daily_bin1794.fits', expMap='/lscratch/kocevski/16937320/expmap_704332801_704592001_4FGL_J1933.2-4539_daily_bin1794.fits', expCube='/lscratch/kocevski/16937320/ltcube_704332801_704592001_4FGL_J1933.2-4539_daily_bin1794.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/16937320/Model_4FGL_J1933.2-4539_daily_bin1794.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1933.2-4539'

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  2.220e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
498        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
499        Scale:  5.975e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/16937320/ft1_filtered_4FGL_J1933.2-4539_daily_bin1794.fits
Spacecraft file(s): /lscratch/kocevski/16937320/ft2_4FGL_J1933.2-4539_daily_bin1794.fits
Exposure map: /lscratch/kocevski/16937320/expmap_704332801_704592001_4FGL_J1933.2-4539_daily_bin1794.fits
Exposure cube: /lscratch/kocevski/16937320/ltcube_704332801_704592001_4FGL_J1933.2-4539_daily_bin1794.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/16937320/Model_4FGL_J1933.2-4539_daily_bin1794.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) = 13786.3143056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31117E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .19903E-03   1.0000          .0000       .10000E+07
     3 'norm      '    15.685       1.0000          .0000       .10000E+07
     4 'norm      '    .16740E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .35638E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    14.785       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.2564       1.0000          .0000       .10000E+07
     8 'norm      '    .48567E-05   1.0000          .0000       .10000E+07
     9 'norm      '    2.3722       1.0000          .0000       .10000E+07
    10 'norm      '    4.4914       1.0000          .0000       .10000E+07
    11 'norm      '    3.6501       1.0000          .0000       .10000E+07
    12 'norm      '    1.8055       1.0000          .0000       .10000E+07
    13 'norm      '    2.7756       1.0000          .0000       .10000E+07
    14 'norm      '    30.968       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2649       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .89382       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13786.11     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      868 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12823E-07    25.397        .79817E-07** at limit **
   2  norm          .12434E-07    12.769        .17481E-07** at limit **
   3  norm          15.636        8.0094       -.80177E-07   -.30129E-01
   4  norm           .0000        .86825       -.36037E-07** at limit **
   5  Prefactor      .0000        1.2415       -.27619E-07** at limit **
   6  Prefactor     14.751        1.0711        .38382E-09   -.10109E-01
   7  Prefactor     8.2171        7.0935       -.44306E-08   -.15646E-02
   8  norm          .11102E-09    6.9344        .13348E-06** at limit **
   9  norm          2.3721        .89991        .32770E-07    .34985E-02
  10  norm          4.5016        3.7015       -.53120E-08   -.10440E-03
  11  norm          3.7662        9.9093        .56417E-06   -.30352E-02
  12  norm          1.8051        1.0022        .13769E-07    .11233E-02
  13  norm          2.7742        1.8232       -.19925E-07   -.66034E-03
  14  norm          30.573        2.8560        .78426E-08   -.15004    
  15  Normalizat    1.2645        .23187       -.14131E-05   -.45034E-04
  16  Prefactor     .89402        .80257E-01   -.39067E-06   -.13553E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.28231e-08
  norm       = 1.24345e-08
  norm       = 15.6358
  norm       = 0
  Prefactor  = 0
  Prefactor  = 14.7508
  Prefactor  = 8.21706
  norm       = 1.11022e-10
  norm       = 2.37207
  norm       = 4.50163
  norm       = 3.76625
  norm       = 1.80512
  norm       = 2.77422
  norm       = 30.5734
  Normalizat = 1.26453
  Prefactor  = 0.894016
 **********
 **   18 **HESSE 
 **********

 FCN=   13786.11     FROM HESSE     STATUS=OK           237 CALLS     1105 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12823E-07    25.396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .12434E-07    12.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.636        8.0508        .25263E-03   -1.5629    
   4  norm           .0000        .86372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.2417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.751        14.527        .26022E-03   -1.5631    
   7  Prefactor     8.2171        7.0990        .34866E-03   -1.5651    
   8  norm          .11102E-09    6.9341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.3721        .90249        .66494E-03   -1.5677    
  10  norm          4.5016        3.7072        .47485E-03   -1.5666    
  11  norm          3.7662        9.9215        .52850E-03   -1.5669    
  12  norm          1.8051        1.0063        .77746E-03   -1.5681    
  13  norm          2.7742        1.8264        .61057E-03   -1.5675    
  14  norm          30.573        18.199        .17972E-03   -1.5597    
  15  Normalizat    1.2645        .19451        .88121E-01   -.84632    
  16  Prefactor     .89402        .66982E-01    .44926E-01   -.96351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03632e-07
Minuit parameter uncertainties:
  1  0.0011415
  2  0.000797499
  3  8.05083
  4  1.81141e-06
  5  1.28712e-06
  6  14.5268
  7  7.09905
  8  4.97252e-05
  9  0.902491
  10  3.70715
  11  9.92154
  12  1.0063
  13  1.82638
  14  18.1991
  15  0.194623
  16  0.0669884
Done.

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

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  0.000e+00  1.287e-06  0.000e+00  1.000e+06 ( 1.000e-12)
498        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
499        Scale:  5.975e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
770    Prefactor:  8.940e-01  6.699e-02  0.000e+00  1.000e+01 ( 1.000e+00)
771        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
772        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
766   Normalization:  1.265e+00  1.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 293.314 -45.651
Photon Flux Upper Limit: 4.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.51e-03 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/16937320/likelihoodResults_704332801_704592001_4FGL_J1933.2-4539_daily_bin1794.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) = 13786.1095784
delta logL = -0.000952885897277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13786.1086261
delta logL = -5.8541445469e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   13786.11     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      232 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0475        .42118E-03** at limit **
   2  Index         2.8979        1.2308       -.64206E-06     .0000    
   3  Normalizat    1.2645        1.0875       -.43905E-05    .76079E-05
   4  Prefactor     .89402        1.2392        .21704E-05   -.54302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.89788
  Normalizat = 1.26453
  Prefactor  = 0.894016
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13786.11     FROM HESSE     STATUS=FAILED         9 CALLS      241 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .95071        2.0260       -.64206E-06   -.43391    
   3  Normalizat    1.2645        1.0875       -.43905E-05   -.84632    
   4  Prefactor     .89402        1.2392        .21704E-05   -.96351    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.50522e-12
Minuit parameter uncertainties:
  1  3.59144e-07
  2  1.24638
  3  1.10806
  4  1.2819
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) = 13786.1086255
delta logL = 0.0

Extracting fit parameters...

4FGL J1933.2-4539
   Spectrum: PowerLaw
497    Prefactor:  0.000e+00  3.591e-07  0.000e+00  1.000e+06 ( 1.000e-12)
498        Index:  2.898e+00  1.246e+00  0.000e+00  1.000e+01 (-1.000e+00)
499        Scale:  5.975e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
770    Prefactor:  8.940e-01  1.282e+00  0.000e+00  1.000e+01 ( 1.000e+00)
771        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
772        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
766   Normalization:  1.265e+00  1.108e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 293.314 -45.651

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/16937320/cmap_HighResolution_704332801_704592001_4FGL_J1933.2-4539_daily_bin1794.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.51e-03', job_status='DONE', photon_flux_upper_limit='4.47e-08', time_completed='2023-05-01 01:15:45.152856', job_id='16937320', GAL2='0.89', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1682928945.15', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1794' AND source_name='4FGL J1933.2-4539' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  1 01:15:45 PDT 2023

