/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 180 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 = 7405
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0905.6+1358_daily_bin431
RA = 136.402, Dec = 13.975
tmin = 351043201, tmax = 351302401
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='9627', job_status='RUN', time_executed='2021-08-31 00:49:12.840417', time_epoch_executed='1630396152.84' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='431'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9627

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9627/ft1_4FGL_J0905.6+1358_daily_bin431.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9627/ft2_4FGL_J0905.6+1358_daily_bin431.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9627/ft1_4FGL_J0905.6+1358_daily_bin431.fits outfile=/scratch/kocevski/9627/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin431.fits ra=136.402 dec=13.975 rad=12.0 tmin=351043201.0 tmax=351302401.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.42
user 3.22
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/9627/ft2_4FGL_J0905.6+1358_daily_bin431.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/9627/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin431.fits evtable="EVENTS" outfile="/scratch/kocevski/9627/ft1_filtered_4FGL_J0905.6+1358_daily_bin431.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.55
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9627/ft1_filtered_4FGL_J0905.6+1358_daily_bin431.fits" evtable="EVENTS" scfile=/scratch/kocevski/9627/ft2_4FGL_J0905.6+1358_daily_bin431.fits sctable="SC_DATA" outfile=/scratch/kocevski/9627/ltcube_351043201_351302401_4FGL_J0905.6+1358_daily_bin431.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/9627/ft2_4FGL_J0905.6+1358_daily_bin431.fits
.....................!
real 12.27
user 11.90
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9627/ft1_filtered_4FGL_J0905.6+1358_daily_bin431.fits evtable="EVENTS" scfile=/scratch/kocevski/9627/ft2_4FGL_J0905.6+1358_daily_bin431.fits sctable="SC_DATA" expcube=/scratch/kocevski/9627/ltcube_351043201_351302401_4FGL_J0905.6+1358_daily_bin431.fits outfile=/scratch/kocevski/9627/expmap_351043201_351302401_4FGL_J0905.6+1358_daily_bin431.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/9627/ltcube_351043201_351302401_4FGL_J0905.6+1358_daily_bin431.fits
.....................!
real 191.88
user 187.15
sys 4.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
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/9627/ft1_filtered_4FGL_J0905.6+1358_daily_bin431.fits scfile=/scratch/kocevski/9627/ft2_4FGL_J0905.6+1358_daily_bin431.fits outfile=/scratch/kocevski/9627/cmap_351043201_351302401_4FGL_J0905.6+1358_daily_bin431.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9627/ft1_filtered_4FGL_J0905.6+1358_daily_bin431.fits scfile=/scratch/kocevski/9627/ft2_4FGL_J0905.6+1358_daily_bin431.fits outfile=/scratch/kocevski/9627/cmap_HighResolution_351043201_351302401_4FGL_J0905.6+1358_daily_bin431.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/9627/ft1_filtered_4FGL_J0905.6+1358_daily_bin431.fits', '/scratch/kocevski/9627/ft2_4FGL_J0905.6+1358_daily_bin431.fits', expMap='/scratch/kocevski/9627/expmap_351043201_351302401_4FGL_J0905.6+1358_daily_bin431.fits', expCube='/scratch/kocevski/9627/ltcube_351043201_351302401_4FGL_J0905.6+1358_daily_bin431.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/9627/Model_4FGL_J0905.6+1358_daily_bin431.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/9627/ft1_filtered_4FGL_J0905.6+1358_daily_bin431.fits
Spacecraft file(s): /scratch/kocevski/9627/ft2_4FGL_J0905.6+1358_daily_bin431.fits
Exposure map: /scratch/kocevski/9627/expmap_351043201_351302401_4FGL_J0905.6+1358_daily_bin431.fits
Exposure cube: /scratch/kocevski/9627/ltcube_351043201_351302401_4FGL_J0905.6+1358_daily_bin431.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/9627/Model_4FGL_J0905.6+1358_daily_bin431.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) = 5292.36619683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0690       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .29346E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .64932       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.794       1.0000         .10000E-03   10000.    
     5 'norm      '    2.2804       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.6466       1.0000         .10000E-03   10000.    
     8 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.482       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .51122       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .67946E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    .90955       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0455       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5292.365     FROM MIGRAD    STATUS=CONVERGED    437 CALLS     1585 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0662        34.523        .23155E-03   -.44680E-04
   2  Prefactor     .10001E-03    21.696        .37838E-02** at limit **
   3  Prefactor     .64502        15.612        .26972E-02    .31112E-03
   4  Prefactor     31.804        37.100        .71062E-04   -.60154E-04
   5  norm          2.2805        .90057        .41119E-04    .52062E-03
   6  Prefactor     .10000E-03    17.879        .18142E-02** at limit **
   7  norm          6.6460        9.0135        .15565E-03   -.96121E-04
   8  norm          .10000E-03    21.023        .18142E-02** at limit **
   9  Prefactor     37.484        47.455        .65464E-04   -.38970E-04
  10  Prefactor     .10000E-03    2.9188        .12012E-02** at limit **
  11  norm          .51109        .65220        .68836E-03    .59636E-03
  12  Prefactor     .10000E-03    19.325        .10987    ** at limit **
  13  Normalizat    .90959        .21664        .25323E-03   -.38206E-04
  14  Prefactor     1.0455        .18421        .20930E-03   -.14796E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.06624
  Prefactor  = 0.000100005
  Prefactor  = 0.645016
  Prefactor  = 31.8038
  norm       = 2.28054
  Prefactor  = 0.000100002
  norm       = 6.646
  norm       = 0.0001
  Prefactor  = 37.4844
  Prefactor  = 0.0001
  norm       = 0.511088
  Prefactor  = 0.000100004
  Normalizat = 0.909591
  Prefactor  = 1.04548
 **********
 **   18 **HESSE 
 **********

 FCN=   5292.365     FROM HESSE     STATUS=OK           162 CALLS     1747 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0662        34.509        .92619E-05   -1.5358    
   2  Prefactor     .10001E-03    21.866        .75676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .64502        15.566        .10789E-03   -1.5547    
   4  Prefactor     31.804        37.109        .28425E-05   -1.4579    
   5  norm          2.2805        .90035        .16448E-05   -1.5406    
   6  Prefactor     .10000E-03    17.886        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.6460        9.0133        .62260E-05   -1.5192    
   8  norm          .10000E-03    21.024        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     37.484        47.453        .13093E-04   -1.4483    
  10  Prefactor     .10000E-03    2.9198        .24023E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .51109        .65207        .27534E-04   -1.5565    
  12  Prefactor     .10000E-03    19.434        .10927       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .90959        .21666        .10129E-04   -.96124    
  14  Prefactor     1.0455        .18438        .41859E-04   -.91229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.0518e-10
Minuit parameter uncertainties:
  1  20.5878
  2  0.000666373
  3  6.33857
  4  37.136
  5  0.900355
  6  0.000364498
  7  9.01517
  8  9.62265e-05
  9  47.5007
  10  3.21605e-05
  11  0.652082
  12  0.000585117
  13  0.216866
  14  0.184491
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  6.646e+00  9.015e+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.045e+00  1.845e-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.096e-01  2.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.73
Ra Dec: 136.402 13.975
Photon Flux Upper Limit: 4.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/9627/likelihoodResults_351043201_351302401_4FGL_J0905.6+1358_daily_bin431.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) = 5290.4904377
delta logL = 1.87446212344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5290.47875334
delta logL = 1.88614648296

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8441       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9005       1.0000          .0000       5.0000    
     3 'Normalizat'    .86344       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0530       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5290.479     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      274 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8438        5.4406        .70486E-04   -.26823E-03
   2  alpha         2.9006        .85327        .67687E-02   -.30510E-04
   3  Normalizat    .86344        .21154        .25881E-03   -.15107E-03
   4  Prefactor     1.0530        .18427        .20808E-03   -.26354E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.84383
  alpha      = 2.90058
  Normalizat = 0.863439
  Prefactor  = 1.05304
 **********
 **   18 **HESSE 
 **********

 FCN=   5290.479     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8438        4.0771        .28194E-05   -1.5371    
   2  alpha         2.9006        .64486        .27075E-03    .16093    
   3  Normalizat    .86344        .20989        .10352E-04   -.97757    
   4  Prefactor     1.0530        .18339        .41616E-04   -.90982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.91236e-11
Minuit parameter uncertainties:
  1  4.07754
  2  0.652429
  3  0.210086
  4  0.183502
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9627': 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) = 5290.47875333
delta logL = 1.88614648755

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  2.844e+00  4.078e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  2.901e+00  6.524e-01  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.053e+00  1.835e-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:  8.634e-01  2.101e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.50
Ra Dec: 136.402 13.975
Photon Index (Free Index): 2.90 +/- 0.65
Photon Flux (Free Index): 6.54e-08 +/- 4.46e-08
Energy Flux (Free Index): 1.81e-05 +/- 1.13e-05

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/9627/cmap_HighResolution_351043201_351302401_4FGL_J0905.6+1358_daily_bin431.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-04', comment='SUCCESS', energy_flux2='1.81e-05', dlogl='1.89e+00', photon_flux2='6.54e-08', job_status='DONE', time_completed='2021-08-31 00:57:21.507127', photon_index_error2='0.65', photon_index2='2.90', ts='0.73', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='4.81e-08', energy_flux_error2='1.13e-05', EG='0.91', time_epoch_completed='1630396641.51', return_code='0', job_id='9627', GAL2='1.05', EG2='0.86', return_code2='0', photon_flux_error2='4.46e-08', ts2='4.50', photon_index='1.59' WHERE bin_id='431' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 00:57:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 9627: <4FGL_J0905.6+1358_daily_bin431> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin431> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 00:45:29 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 00:45:30 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:45:30 2021
Terminated at Tue Aug 31 00:57:22 2021
Results reported at Tue Aug 31 00:57:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin431 136.402 13.975 351043201 351302401 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 :                                   484.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            713 sec.

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

