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


Performing analysis on: 4FGL_J0904.5-3513_daily_bin1874
RA = 136.14, Dec = -35.2308
tmin = 725068801, tmax = 725328001
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='36928135', job_status='RUN', time_executed='2023-12-27 00:20:32.163502', time_epoch_executed='1703665232.16' WHERE source_name='4FGL J0904.5-3513' and cadence='daily' and bin_id='1874'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36928135

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36928135/ft1_4FGL_J0904.5-3513_daily_bin1874.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36928135/ft2_4FGL_J0904.5-3513_daily_bin1874.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36928135/ft1_4FGL_J0904.5-3513_daily_bin1874.fits outfile=/lscratch/kocevski/36928135/ft1_filteredMKT_4FGL_J0904.5-3513_daily_bin1874.fits ra=136.14 dec=-35.2308 rad=12.0 tmin=725068801.0 tmax=725328001.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.97
user 1.65
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36928135/ft2_4FGL_J0904.5-3513_daily_bin1874.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36928135/ft2_4FGL_J0904.5-3513_daily_bin1874.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/36928135/ft1_filteredMKT_4FGL_J0904.5-3513_daily_bin1874.fits evtable="EVENTS" outfile="/lscratch/kocevski/36928135/ft1_filtered_4FGL_J0904.5-3513_daily_bin1874.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.19
sys 0.12

Number of photons that the gtmktime cut: 4543

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36928135/ft1_filtered_4FGL_J0904.5-3513_daily_bin1874.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36928135/ft2_4FGL_J0904.5-3513_daily_bin1874.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36928135/ltcube_725068801_725328001_4FGL_J0904.5-3513_daily_bin1874.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/36928135/ft2_4FGL_J0904.5-3513_daily_bin1874.fits
.....................!
real 7.16
user 6.91
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36928135/ft1_filtered_4FGL_J0904.5-3513_daily_bin1874.fits evtable="EVENTS" scfile=/lscratch/kocevski/36928135/ft2_4FGL_J0904.5-3513_daily_bin1874.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36928135/ltcube_725068801_725328001_4FGL_J0904.5-3513_daily_bin1874.fits outfile=/lscratch/kocevski/36928135/expmap_725068801_725328001_4FGL_J0904.5-3513_daily_bin1874.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/36928135/ltcube_725068801_725328001_4FGL_J0904.5-3513_daily_bin1874.fits
.....................!
real 59.02
user 55.50
sys 3.29

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 206 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 J0904.5-3513 @ 136.14 -35.2308

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36928135/ft1_filtered_4FGL_J0904.5-3513_daily_bin1874.fits scfile=/lscratch/kocevski/36928135/ft2_4FGL_J0904.5-3513_daily_bin1874.fits outfile=/lscratch/kocevski/36928135/cmap_725068801_725328001_4FGL_J0904.5-3513_daily_bin1874.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=136.14 yref=-35.2308 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.43
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36928135/ft1_filtered_4FGL_J0904.5-3513_daily_bin1874.fits scfile=/lscratch/kocevski/36928135/ft2_4FGL_J0904.5-3513_daily_bin1874.fits outfile=/lscratch/kocevski/36928135/cmap_HighResolution_725068801_725328001_4FGL_J0904.5-3513_daily_bin1874.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=136.14 yref=-35.2308 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.19
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36928135/ft1_filtered_4FGL_J0904.5-3513_daily_bin1874.fits evtable="EVENTS" scfile=/lscratch/kocevski/36928135/ft2_4FGL_J0904.5-3513_daily_bin1874.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36928135/Model_4FGL_J0904.5-3513_daily_bin1874.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/36928135/ft1_filtered_4FGL_J0904.5-3513_daily_bin1874.fits.....................!
real 195.84
user 194.23
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36928135/ft1_filtered_4FGL_J0904.5-3513_daily_bin1874.fits', '/lscratch/kocevski/36928135/ft2_4FGL_J0904.5-3513_daily_bin1874.fits', expMap='/lscratch/kocevski/36928135/expmap_725068801_725328001_4FGL_J0904.5-3513_daily_bin1874.fits', expCube='/lscratch/kocevski/36928135/ltcube_725068801_725328001_4FGL_J0904.5-3513_daily_bin1874.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36928135/Model_4FGL_J0904.5-3513_daily_bin1874.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0904.5-3513'

4FGL J0904.5-3513
   Spectrum: PowerLaw
369    Prefactor:  2.376e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
370        Index:  2.572e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
371        Scale:  6.915e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36928135/ft1_filtered_4FGL_J0904.5-3513_daily_bin1874.fits
Spacecraft file(s): /lscratch/kocevski/36928135/ft2_4FGL_J0904.5-3513_daily_bin1874.fits
Exposure map: /lscratch/kocevski/36928135/expmap_725068801_725328001_4FGL_J0904.5-3513_daily_bin1874.fits
Exposure cube: /lscratch/kocevski/36928135/ltcube_725068801_725328001_4FGL_J0904.5-3513_daily_bin1874.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36928135/Model_4FGL_J0904.5-3513_daily_bin1874.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) = 36260.7244005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9390       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3532       1.0000          .0000       .10000E+07
     3 'Prefactor '    43.659       1.0000          .0000       .10000E+07
     4 'norm      '    .30775E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .66247       1.0000          .0000       .10000E+07
     6 'norm      '    .27195E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36703E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .56389E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.0708       1.0000          .0000       .10000E+07
    10 'norm      '    .10125E-06   1.0000          .0000       .10000E+07
    11 'Normalizat'    .97388       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .99612       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   36260.72     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      776 TOTAL
                     EDM=   .81E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9420        10.182       -.28379E-05    .31400E-03
   2  Prefactor     2.3501        3.2957       -.11402E-05    .66900E-03
   3  Prefactor     43.965        51.290        .11489E-04    .31474E-03
   4  norm          .11102E-09    5.6318        .70324E-06** at limit **
   5  Prefactor     .22204E-09    80.193       -.16058E-05** at limit **
   6  norm          .55511E-10    7.8635       -.36118E-05** at limit **
   7  Prefactor      .0000        3.3775        .17276E-05** at limit **
   8  Prefactor      .0000        2.8345       -.50228E-06** at limit **
   9  Prefactor     1.0700        5.4813        .49810E-05   -.28582E-03
  10  norm          .55511E-10    1.5629        .49145E-06** at limit **
  11  Normalizat    .97439        .21043        .17238E-06    .30929E-04
  12  Prefactor     .99607        .35106E-01   -.25220E-05   -.40885E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94201
  Prefactor  = 2.3501
  Prefactor  = 43.9648
  norm       = 1.11022e-10
  Prefactor  = 2.22045e-10
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.06995
  norm       = 5.55112e-11
  Normalizat = 0.974392
  Prefactor  = 0.996066
 **********
 **   18 **HESSE 
 **********

 FCN=   36260.72     FROM HESSE     STATUS=OK           151 CALLS      927 TOTAL
                     EDM=   .76E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9420        10.209        .50804E-03   -1.5668    
   2  Prefactor     2.3501        3.3083        .66791E-03   -1.5677    
   3  Prefactor     43.965        51.145        .15136E-03   -1.5575    
   4  norm          .11102E-09    5.6328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    79.689        .63809E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    7.8739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        3.3723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.8389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.0700        5.3955        .11730E-02   -1.5687    
  10  norm          .55511E-10    1.5677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    .97439        .21256        .21507       -.93893    
  12  Prefactor     .99607        .34445E-01    .34584E-01   -.92861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.58217e-06
Minuit parameter uncertainties:
  1  10.2093
  2  3.30835
  3  51.1456
  4  4.95089e-05
  5  0.000266137
  6  4.03505e-05
  7  1.21321e-05
  8  1.62743e-05
  9  4.8054
  10  2.02477e-05
  11  0.212745
  12  0.0344461
Done.

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

Extracting fit parameters...

4FGL J0904.5-3513
   Spectrum: PowerLaw
369    Prefactor:  0.000e+00  1.213e-05  0.000e+00  1.000e+06 ( 1.000e-12)
370        Index:  2.572e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
371        Scale:  6.915e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
693    Prefactor:  9.961e-01  3.445e-02  0.000e+00  1.000e+01 ( 1.000e+00)
694        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
695        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
692   Normalization:  9.744e-01  2.127e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 136.140 -35.231
Photon Flux Upper Limit: 8.93265904988e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00697876444364 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36928135/likelihoodResults_725068801_725328001_4FGL_J0904.5-3513_daily_bin1874.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) = 36260.723601
delta logL = -0.00101328791061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 36260.7225878
delta logL = -9.7272277344e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   36260.72     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      241 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.4524        .42118E-03** at limit **
   2  Index         3.1247        1.2906        .59085E-04     .0000    
   3  Normalizat    .97439        1.3057       -.19017E-04   -.11355E-03
   4  Prefactor     .99607        1.3354       -.14963E-05   -.67199E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.12472
  Normalizat = 0.97439
  Prefactor  = 0.996066
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   36260.72     FROM HESSE     STATUS=FAILED         9 CALLS      250 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.4524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1007        2.0982        .59085E-04   -.38446    
   3  Normalizat    .97439        1.3057       -.19017E-04   -.93893    
   4  Prefactor     .99607        1.3354       -.14963E-05   -.92861    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.3299e-11
Minuit parameter uncertainties:
  1  2.72333e-06
  2  1.30786
  3  1.35259
  4  1.3841
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) = 36260.7225877
delta logL = 0.0

Extracting fit parameters...

4FGL J0904.5-3513
   Spectrum: PowerLaw
369    Prefactor:  0.000e+00  2.723e-06  0.000e+00  1.000e+06 ( 1.000e-12)
370        Index:  3.125e+00  1.308e+00  0.000e+00  1.000e+01 (-1.000e+00)
371        Scale:  6.915e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
693    Prefactor:  9.961e-01  1.384e+00  0.000e+00  1.000e+01 ( 1.000e+00)
694        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
695        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
692   Normalization:  9.744e-01  1.353e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 136.140 -35.231

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/36928135/cmap_HighResolution_725068801_725328001_4FGL_J0904.5-3513_daily_bin1874.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.98e-03', job_status='DONE', photon_flux_upper_limit='8.93e-08', time_completed='2023-12-27 00:32:25.023752', job_id='36928135', GAL2='1.00', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1703665945.02', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1874' AND source_name='4FGL J0904.5-3513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 27 00:32:25 PST 2023

