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


Performing analysis on: 4FGL_J0905.6+1358_daily_bin603
RA = 136.402, Dec = 13.975
tmin = 395625601, tmax = 395884801
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='9875', job_status='RUN', time_executed='2021-08-31 00:48:27.024202', time_epoch_executed='1630396107.02' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='603'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9875

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9875/ft1_4FGL_J0905.6+1358_daily_bin603.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9875/ft2_4FGL_J0905.6+1358_daily_bin603.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9875/ft1_4FGL_J0905.6+1358_daily_bin603.fits outfile=/scratch/kocevski/9875/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin603.fits ra=136.402 dec=13.975 rad=12.0 tmin=395625601.0 tmax=395884801.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 5.53
user 4.30
sys 0.41

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/9875/ft2_4FGL_J0905.6+1358_daily_bin603.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/9875/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin603.fits evtable="EVENTS" outfile="/scratch/kocevski/9875/ft1_filtered_4FGL_J0905.6+1358_daily_bin603.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 1.10
user 0.33
sys 0.38

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9875/ft1_filtered_4FGL_J0905.6+1358_daily_bin603.fits" evtable="EVENTS" scfile=/scratch/kocevski/9875/ft2_4FGL_J0905.6+1358_daily_bin603.fits sctable="SC_DATA" outfile=/scratch/kocevski/9875/ltcube_395625601_395884801_4FGL_J0905.6+1358_daily_bin603.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/9875/ft2_4FGL_J0905.6+1358_daily_bin603.fits
.....................!
real 12.30
user 11.34
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9875/ft1_filtered_4FGL_J0905.6+1358_daily_bin603.fits evtable="EVENTS" scfile=/scratch/kocevski/9875/ft2_4FGL_J0905.6+1358_daily_bin603.fits sctable="SC_DATA" expcube=/scratch/kocevski/9875/ltcube_395625601_395884801_4FGL_J0905.6+1358_daily_bin603.fits outfile=/scratch/kocevski/9875/expmap_395625601_395884801_4FGL_J0905.6+1358_daily_bin603.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/9875/ltcube_395625601_395884801_4FGL_J0905.6+1358_daily_bin603.fits
.....................!
real 191.53
user 184.58
sys 5.33

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/9875/ft1_filtered_4FGL_J0905.6+1358_daily_bin603.fits scfile=/scratch/kocevski/9875/ft2_4FGL_J0905.6+1358_daily_bin603.fits outfile=/scratch/kocevski/9875/cmap_395625601_395884801_4FGL_J0905.6+1358_daily_bin603.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 1.02
user 0.38
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9875/ft1_filtered_4FGL_J0905.6+1358_daily_bin603.fits scfile=/scratch/kocevski/9875/ft2_4FGL_J0905.6+1358_daily_bin603.fits outfile=/scratch/kocevski/9875/cmap_HighResolution_395625601_395884801_4FGL_J0905.6+1358_daily_bin603.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 1.18
user 0.37
sys 0.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.978       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.814       1.0000         .10000E-03   10000.    
     5 'norm      '    2.8508       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10296E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.4816       1.0000         .10000E-03   10000.    
     8 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.0685       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.825       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .88719       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1693       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=   6063.774     FROM MIGRAD    STATUS=CONVERGED    263 CALLS     1191 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7089        .90712E-02** at limit **
   2  Prefactor     16.973        12.607        .24301E-02   -.26204E-03
   3  Prefactor     .10000E-03    3.1965        .90712E-02** at limit **
   4  Prefactor     22.807        37.740        .20965E-02    .14892E-02
   5  norm          2.8507        1.0520        .60200E-03   -.24352E-03
   6  Prefactor     .10000E-03    29.183        .90712E-02** at limit **
   7  norm          8.4820        7.1278        .34412E-02   -.27219E-04
   8  norm          .10000E-03    38.330        .90712E-02** at limit **
   9  Prefactor     .10000E-03    48.009        .90712E-02** at limit **
  10  Prefactor     .10000E-03    .64212        .90712E-02** at limit **
  11  norm          3.0677        1.4769        .57892E-02   -.29739E-04
  12  Prefactor     23.609        48.767        .20516E-02   -.13615E-04
  13  Normalizat    .88810        .20384        .65765E-01    .44771E-04
  14  Prefactor     1.1686        .16651        .35402E-01    .40825E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 16.9726
  Prefactor  = 0.0001
  Prefactor  = 22.8072
  norm       = 2.85071
  Prefactor  = 0.000100001
  norm       = 8.48197
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.06771
  Prefactor  = 23.6085
  Normalizat = 0.888105
  Prefactor  = 1.16859
 **********
 **   18 **HESSE 
 **********

 FCN=   6063.774     FROM HESSE     STATUS=OK           162 CALLS     1353 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.973        12.615        .97202E-04   -1.4884    
   3  Prefactor     .10000E-03    3.2086        .13594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.807        37.771        .83861E-04   -1.4752    
   5  norm          2.8507        1.0533        .24080E-04   -1.5370    
   6  Prefactor     .10000E-03    29.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.4820        7.1306        .13765E-03   -1.5125    
   8  norm          .10000E-03    38.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    48.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .64311        .60938E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.0677        1.4787        .63321E-04   -1.5358    
  12  Prefactor     23.609        49.008        .82064E-04   -1.4736    
  13  Normalizat    .88810        .24141        .29091E-03   -.96879    
  14  Prefactor     1.1686        .19698        .21636E-03   -.87303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38176e-08
Minuit parameter uncertainties:
  1  1.44995e-05
  2  12.6171
  3  1.025e-06
  4  37.8109
  5  1.05332
  6  0.000355083
  7  7.13129
  8  5.14625e-05
  9  0.000162512
  10  2.13346e-06
  11  1.4787
  12  49.0914
  13  0.241704
  14  0.197101
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  8.482e+00  7.131e+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.169e+00  1.971e-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.881e-01  2.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.21
Ra Dec: 136.402 13.975
Photon Index (Fixed Index): 1.59 +/- 0.00
Photon Flux (Fixed Index): 1.38e-08 +/- 1.16e-08
Energy Flux (Fixed Index): 2.98e-05 +/- 2.51e-05

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) = 6063.77023251
delta logL = 0.00397092344883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6063.7698717
delta logL = 0.00433173099282

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6464       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6775       1.0000          .0000       5.0000    
     3 'Normalizat'    .88760       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1676       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=   6063.770     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      204 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6513        211.72        .34080E-02   -.26073E-04
   2  alpha         1.6783        2.9943        .44396        .53791E-05
   3  Normalizat    .88758        .15689        .65780E-01   -.48382E-04
   4  Prefactor     1.1676        .85671E-01    .35447E-01   -.13589E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.65129
  alpha      = 1.67831
  Normalizat = 0.887581
  Prefactor  = 1.16757
 **********
 **   18 **HESSE 
 **********

 FCN=   6063.770     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.6513        7.1283        .13632E-03   -1.5120    
   2  alpha         1.6783        .88678        .17703E-01   -.33490    
   3  Normalizat    .88758        .23081        .29098E-03   -.96898    
   4  Prefactor     1.1676        .19563        .21642E-03   -.87335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42371e-10
Minuit parameter uncertainties:
  1  7.12901
  2  0.909078
  3  0.231069
  4  0.195748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9875': 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) = 6063.76987117
delta logL = 0.00433226018777

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  8.651e+00  7.129e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.678e+00  9.091e-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.168e+00  1.957e-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.876e-01  2.311e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.22
Ra Dec: 136.402 13.975
Photon Index (Free Index): 1.68 +/- 0.91
Photon Flux (Free Index): 1.58e-08 +/- 2.53e-08
Energy Flux (Free Index): 2.79e-05 +/- 3.06e-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/9875/cmap_HighResolution_395625601_395884801_4FGL_J0905.6+1358_daily_bin603.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-08', energy_flux2='2.79e-05', photon_flux_error='1.16e-08', dlogl='4.33e-03', energy_flux='2.98e-05', photon_flux2='1.58e-08', job_status='DONE', time_completed='2021-08-31 00:56:16.017808', photon_index_error2='0.91', photon_index2='1.68', ts='8.21', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='3.06e-05', EG='0.89', time_epoch_completed='1630396576.02', return_code='0', job_id='9875', GAL2='1.17', EG2='0.89', return_code2='0', energy_flux_error='2.51e-05', photon_flux_error2='2.53e-08', ts2='8.22', photon_index='1.59' WHERE bin_id='603' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 00:56:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 9875: <4FGL_J0905.6+1358_daily_bin603> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin603 136.402 13.975 395625601 395884801 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 :                                   461.51 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            630 sec.

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

