/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 160 seconds before starting...
Proceeding.

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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7684
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0905.6+1358_daily_bin316
RA = 136.402, Dec = 13.975
tmin = 321235201, tmax = 321494401
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='8170', job_status='RUN', time_executed='2021-08-31 00:43:30.942815', time_epoch_executed='1630395810.94' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='316'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/8170

Creating custom pfile directory:
/scratch/kocevski/8170/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=321235201.0 && nMetStart<321494401.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=321235201.0 && nMetStart<321494401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/8170/ft1_4FGL_J0905.6+1358_daily_bin316.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=321235201.0 && nMetStart<321494401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/8170/ft2_4FGL_J0905.6+1358_daily_bin316.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/8170/ft1_4FGL_J0905.6+1358_daily_bin316.fits outfile=/scratch/kocevski/8170/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin316.fits ra=136.402 dec=13.975 rad=12.0 tmin=321235201.0 tmax=321494401.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 3.83
user 3.35
sys 0.43

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/8170/ft2_4FGL_J0905.6+1358_daily_bin316.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/8170/ft2_4FGL_J0905.6+1358_daily_bin316.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/8170/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin316.fits evtable="EVENTS" outfile="/scratch/kocevski/8170/ft1_filtered_4FGL_J0905.6+1358_daily_bin316.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.76
user 0.31
sys 0.42

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/8170/ft1_filtered_4FGL_J0905.6+1358_daily_bin316.fits" evtable="EVENTS" scfile=/scratch/kocevski/8170/ft2_4FGL_J0905.6+1358_daily_bin316.fits sctable="SC_DATA" outfile=/scratch/kocevski/8170/ltcube_321235201_321494401_4FGL_J0905.6+1358_daily_bin316.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 /scratch/kocevski/8170/ft2_4FGL_J0905.6+1358_daily_bin316.fits
.....................!
real 12.39
user 11.74
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/8170/ft1_filtered_4FGL_J0905.6+1358_daily_bin316.fits evtable="EVENTS" scfile=/scratch/kocevski/8170/ft2_4FGL_J0905.6+1358_daily_bin316.fits sctable="SC_DATA" expcube=/scratch/kocevski/8170/ltcube_321235201_321494401_4FGL_J0905.6+1358_daily_bin316.fits outfile=/scratch/kocevski/8170/expmap_321235201_321494401_4FGL_J0905.6+1358_daily_bin316.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 /scratch/kocevski/8170/ltcube_321235201_321494401_4FGL_J0905.6+1358_daily_bin316.fits
.....................!
real 190.86
user 185.69
sys 4.75

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

Setting source of interest to:
4FGL J0905.6+1358 @ 136.402 13.975

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/8170/ft1_filtered_4FGL_J0905.6+1358_daily_bin316.fits scfile=/scratch/kocevski/8170/ft2_4FGL_J0905.6+1358_daily_bin316.fits outfile=/scratch/kocevski/8170/cmap_321235201_321494401_4FGL_J0905.6+1358_daily_bin316.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.402 yref=13.975 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.78
user 0.38
sys 0.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/8170/ft1_filtered_4FGL_J0905.6+1358_daily_bin316.fits scfile=/scratch/kocevski/8170/ft2_4FGL_J0905.6+1358_daily_bin316.fits outfile=/scratch/kocevski/8170/cmap_HighResolution_321235201_321494401_4FGL_J0905.6+1358_daily_bin316.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.402 yref=13.975 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.79
user 0.37
sys 0.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/8170/ft1_filtered_4FGL_J0905.6+1358_daily_bin316.fits evtable="EVENTS" scfile=/scratch/kocevski/8170/ft2_4FGL_J0905.6+1358_daily_bin316.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/8170/Model_4FGL_J0905.6+1358_daily_bin316.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...
/scratch/kocevski/8170/ft1_filtered_4FGL_J0905.6+1358_daily_bin316.fits....................!
real 66.20
user 64.35
sys 1.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/8170/ft1_filtered_4FGL_J0905.6+1358_daily_bin316.fits', '/scratch/kocevski/8170/ft2_4FGL_J0905.6+1358_daily_bin316.fits', expMap='/scratch/kocevski/8170/expmap_321235201_321494401_4FGL_J0905.6+1358_daily_bin316.fits', expCube='/scratch/kocevski/8170/ltcube_321235201_321494401_4FGL_J0905.6+1358_daily_bin316.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/8170/Model_4FGL_J0905.6+1358_daily_bin316.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0905.6+1358'

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.799e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.592e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.283e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/8170/ft1_filtered_4FGL_J0905.6+1358_daily_bin316.fits
Spacecraft file(s): /scratch/kocevski/8170/ft2_4FGL_J0905.6+1358_daily_bin316.fits
Exposure map: /scratch/kocevski/8170/expmap_321235201_321494401_4FGL_J0905.6+1358_daily_bin316.fits
Exposure cube: /scratch/kocevski/8170/ltcube_321235201_321494401_4FGL_J0905.6+1358_daily_bin316.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/8170/Model_4FGL_J0905.6+1358_daily_bin316.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) = 6823.22356139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.7449       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.712       1.0000         .10000E-03   10000.    
     5 'norm      '    .69166       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.1212       1.0000         .10000E-03   10000.    
     8 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.173       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.6200       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    .94420       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0193       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6823.140     FROM MIGRAD    STATUS=CONVERGED    247 CALLS     1050 TOTAL
                     EDM=   .73E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.163        .54218E-06** at limit **
   2  Prefactor     .10000E-03    4.1664        .15896E-06** at limit **
   3  Prefactor     2.7437        6.3546        .21992E-05   -.95192E-05
   4  Prefactor     31.711        21.701        .58659E-07   -.25752E-05
   5  norm          .69180        .52225        .11950E-07   -.76903E-04
   6  Prefactor     .10000E-03    8.6018       -.17789E-06** at limit **
   7  norm          2.1211        3.9105        .84483E-07    .12742E-05
   8  norm          .10000E-03    12.580       -.60596E-06** at limit **
   9  Prefactor     19.101        38.239        .85061E-05    .21024E-05
  10  Prefactor     .10000E-03    1.4745       -.14063E-07** at limit **
  11  norm          3.6200        1.5673        .36874E-07   -.61223E-05
  12  Prefactor     .10000E-03    19.399       -.20331E-06** at limit **
  13  Normalizat    .94418        .16759       -.68192E-06    .27891E-05
  14  Prefactor     1.0193        .13985       -.23260E-07   -.10854E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.74372
  Prefactor  = 31.7109
  norm       = 0.691803
  Prefactor  = 0.0001
  norm       = 2.12106
  norm       = 0.0001
  Prefactor  = 19.1008
  Prefactor  = 0.0001
  norm       = 3.62003
  Prefactor  = 0.0001
  Normalizat = 0.94418
  Prefactor  = 1.01935
 **********
 **   18 **HESSE 
 **********

 FCN=   6823.140     FROM HESSE     STATUS=OK           166 CALLS     1216 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.1883        .16463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.7437        6.3583        .12286E-02   -1.5377    
   4  Prefactor     31.711        21.706        .71153E-04   -1.4581    
   5  norm          .69180        .54188        .49772E-03   -1.5542    
   6  Prefactor     .10000E-03    8.7408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.1211        3.8837        .21626E-03   -1.5417    
   8  norm          .10000E-03    12.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.101        38.246        .91470E-04   -1.4834    
  10  Prefactor     .10000E-03    1.4903        .97918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6200        1.5667        .65117E-04   -1.5327    
  12  Prefactor     .10000E-03    19.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .94418        .19577        .25777E-03   -.94925    
  14  Prefactor     1.0193        .16399        .21073E-03   -.92087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29802e-10
Minuit parameter uncertainties:
  1  1.44648e-06
  2  8.83789e-07
  3  6.3599
  4  21.7113
  5  0.541886
  6  4.58329e-06
  7  3.88417
  8  1.39822e-05
  9  38.2948
  10  1.09661e-06
  11  1.56675
  12  1.11688e-06
  13  0.195917
  14  0.164069
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  2.121e+00  3.884e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.592e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.283e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.019e+00  1.641e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  9.442e-01  1.959e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 136.402 13.975
Photon Flux Upper Limit: 2.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/8170/likelihoodResults_321235201_321494401_4FGL_J0905.6+1358_daily_bin316.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) = 6822.5370907
delta logL = 0.602470388588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6822.50812948
delta logL = 0.631431612557

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1510       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0624       1.0000          .0000       5.0000    
     3 'Normalizat'    .90946       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0282       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6822.508     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      239 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1506        20.584        .10782E-01    .70536E-03
   2  alpha         3.0626        3.8847        .21012        .96710E-04
   3  Normalizat    .90950        .46398E-01    .45022E-01    .16452E-04
   4  Prefactor     1.0281        .36880E-01    .41407E-01    .45241E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.1506
  alpha      = 3.06256
  Normalizat = 0.909503
  Prefactor  = 1.02814
 **********
 **   18 **HESSE 
 **********

 FCN=   6822.508     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1506        3.2017        .79655E-04   -1.5493    
   2  alpha         3.0626        1.2797        .11462E-01    .22697    
   3  Normalizat    .90950        .19991        .26204E-03   -.96127    
   4  Prefactor     1.0281        .16540        .20978E-03   -.91797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.25869e-11
Minuit parameter uncertainties:
  1  3.20219
  2  1.34731
  3  0.20007
  4  0.165484
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/8170': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6822.50812941
delta logL = 0.631431681196

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.151e+00  3.202e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  3.063e+00  1.347e+00  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.283e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.028e+00  1.655e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  9.095e-01  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.76
Ra Dec: 136.402 13.975
Photon Index (Free Index): 3.06 +/- 1.35
Photon Flux (Free Index): 3.99e-08 +/- 4.95e-08
Energy Flux (Free Index): 9.85e-06 +/- 9.19e-06

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 /scratch/kocevski/8170/cmap_HighResolution_321235201_321494401_4FGL_J0905.6+1358_daily_bin316.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/8170

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-05', comment='SUCCESS', energy_flux2='9.85e-06', dlogl='6.31e-01', photon_flux2='3.99e-08', job_status='DONE', time_completed='2021-08-31 00:51:49.692789', photon_index_error2='1.35', photon_index2='3.06', ts='0.48', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='2.65e-08', energy_flux_error2='9.19e-06', EG='0.94', time_epoch_completed='1630396309.69', return_code='0', job_id='8170', GAL2='1.03', EG2='0.91', return_code2='0', photon_flux_error2='4.95e-08', ts2='1.76', photon_index='1.59' WHERE bin_id='316' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 00:51:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 8170: <4FGL_J0905.6+1358_daily_bin316> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin316> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 00:40:36 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 00:40:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 00:40:37 2021
Terminated at Tue Aug 31 00:51:50 2021
Results reported at Tue Aug 31 00:51:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin316 136.402 13.975 321235201 321494401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0905.6+1358 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   498.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            674 sec.

The output (if any) is above this job summary.

