/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 67 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 = 7483
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0905.6+1358_daily_bin82
RA = 136.402, Dec = 13.975
tmin = 260582401, tmax = 260841601
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='6658', job_status='RUN', time_executed='2021-08-31 00:36:46.115926', time_epoch_executed='1630395406.12' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='82'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6658

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6658/ft1_4FGL_J0905.6+1358_daily_bin82.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6658/ft2_4FGL_J0905.6+1358_daily_bin82.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6658/ft1_4FGL_J0905.6+1358_daily_bin82.fits outfile=/scratch/kocevski/6658/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin82.fits ra=136.402 dec=13.975 rad=12.0 tmin=260582401.0 tmax=260841601.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.79
user 1.39
sys 0.37

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/6658/ft2_4FGL_J0905.6+1358_daily_bin82.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/6658/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin82.fits evtable="EVENTS" outfile="/scratch/kocevski/6658/ft1_filtered_4FGL_J0905.6+1358_daily_bin82.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.70
user 0.34
sys 0.34

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6658/ft1_filtered_4FGL_J0905.6+1358_daily_bin82.fits evtable="EVENTS" scfile=/scratch/kocevski/6658/ft2_4FGL_J0905.6+1358_daily_bin82.fits sctable="SC_DATA" expcube=/scratch/kocevski/6658/ltcube_260582401_260841601_4FGL_J0905.6+1358_daily_bin82.fits outfile=/scratch/kocevski/6658/expmap_260582401_260841601_4FGL_J0905.6+1358_daily_bin82.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/6658/ltcube_260582401_260841601_4FGL_J0905.6+1358_daily_bin82.fits
.....................!
real 191.12
user 185.48
sys 5.28

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/6658/ft1_filtered_4FGL_J0905.6+1358_daily_bin82.fits scfile=/scratch/kocevski/6658/ft2_4FGL_J0905.6+1358_daily_bin82.fits outfile=/scratch/kocevski/6658/cmap_260582401_260841601_4FGL_J0905.6+1358_daily_bin82.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.73
user 0.36
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6658/ft1_filtered_4FGL_J0905.6+1358_daily_bin82.fits scfile=/scratch/kocevski/6658/ft2_4FGL_J0905.6+1358_daily_bin82.fits outfile=/scratch/kocevski/6658/cmap_HighResolution_260582401_260841601_4FGL_J0905.6+1358_daily_bin82.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.76
user 0.37
sys 0.36

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .20579E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.621       1.0000         .10000E-03   10000.    
     5 'norm      '    1.0278       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.7127       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.048       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.2039       1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.888       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.0321       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1255       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=   8978.818     FROM MIGRAD    STATUS=CONVERGED    249 CALLS     1197 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.847       -.59851E-07** at limit **
   2  Prefactor     .10000E-03    4.1609       -.51430E-07** at limit **
   3  Prefactor     .10000E-03    1.7919        .18662E-07** at limit **
   4  Prefactor     20.621        20.375       -.22772E-06   -.43331E-05
   5  norm          1.0279        .52513       -.82026E-08   -.27519E-03
   6  Prefactor     .10000E-03    6.4578        .56726E-08** at limit **
   7  norm          5.7126        5.3216        .53113E-07    .30511E-04
   8  norm          .10000E-03    7.6711        .28383E-07** at limit **
   9  Prefactor     16.041        38.260       -.13756E-04   -.41196E-05
  10  Prefactor     .10000E-03    .89468       -.10828E-07** at limit **
  11  norm          2.2039        1.3835       -.10396E-06   -.79842E-03
  12  Prefactor     43.889        31.842        .97866E-06    .55961E-06
  13  Normalizat    1.0321        .15950        .28013E-06   -.16938E-05
  14  Prefactor     1.1256        .13485        .22966E-06    .50044E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.6206
  norm       = 1.02789
  Prefactor  = 0.0001
  norm       = 5.71264
  norm       = 0.0001
  Prefactor  = 16.0413
  Prefactor  = 0.0001
  norm       = 2.20389
  Prefactor  = 43.8891
  Normalizat = 1.03209
  Prefactor  = 1.12557
 **********
 **   18 **HESSE 
 **********

 FCN=   8978.818     FROM HESSE     STATUS=OK           166 CALLS     1363 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.226        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.957        .37219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.8121        .12385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.621        20.381        .88203E-04   -1.4799    
   5  norm          1.0279        .51538        .47312E-04   -1.5505    
   6  Prefactor     .10000E-03    6.4994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.7126        5.3246        .16805E-03   -1.5230    
   8  norm          .10000E-03    7.6739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.041        38.255        .99980E-04   -1.4907    
  10  Prefactor     .10000E-03    .90503        .87511E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2039        1.3844        .84094E-04   -1.5411    
  12  Prefactor     43.889        31.890        .60516E-04   -1.4382    
  13  Normalizat    1.0321        .18221        .26444E-03   -.91963    
  14  Prefactor     1.1256        .15509        .22001E-03   -.88654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.22535e-11
Minuit parameter uncertainties:
  1  6.10289e-06
  2  9.18918e-05
  3  8.30656e-07
  4  20.3874
  5  0.515387
  6  4.08218e-06
  7  5.32504
  8  8.37116e-06
  9  38.3136
  10  6.33466e-07
  11  1.38445
  12  31.902
  13  0.182316
  14  0.155148
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  5.713e+00  5.325e+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.126e+00  1.551e-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:  1.032e+00  1.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.42
Ra Dec: 136.402 13.975
Photon Index (Fixed Index): 1.59 +/- 0.00
Photon Flux (Fixed Index): 9.26e-09 +/- 8.63e-09
Energy Flux (Fixed Index): 2.01e-05 +/- 1.87e-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) = 8977.98463907
delta logL = 0.83298793048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8977.98357221
delta logL = 0.83405479558

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8458       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4978       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0115       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1218       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8977.984     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      291 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8458        5.1383        .60404E-03   -.29707E-03
   2  alpha         2.4977        .64978        .10891E-01    .19595E-04
   3  Normalizat    1.0115        .18049        .26671E-03   -.85253E-07
   4  Prefactor     1.1218        .15450        .22008E-03    .12398E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 4.84581
  alpha      = 2.49771
  Normalizat = 1.01148
  Prefactor  = 1.12178
 **********
 **   18 **HESSE 
 **********

 FCN=   8977.984     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8458        4.4076        .24162E-04   -1.5268    
   2  alpha         2.4977        .55840        .43565E-03   -.91652E-03
   3  Normalizat    1.0115        .17991        .10668E-04   -.92647    
   4  Prefactor     1.1218        .15446        .44016E-04   -.88774    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7982e-11
Minuit parameter uncertainties:
  1  4.4079
  2  0.563155
  3  0.180017
  4  0.154517
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6658': 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) = 8977.9835722
delta logL = 0.83405480777

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  4.846e+00  4.408e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  2.498e+00  5.632e-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.122e+00  1.545e-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:  1.011e+00  1.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.08
Ra Dec: 136.402 13.975
Photon Index (Free Index): 2.50 +/- 0.56
Photon Flux (Free Index): 4.24e-08 +/- 3.62e-08
Energy Flux (Free Index): 1.73e-05 +/- 1.05e-05

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 /scratch/kocevski/6658/cmap_HighResolution_260582401_260841601_4FGL_J0905.6+1358_daily_bin82.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.26e-09', energy_flux2='1.73e-05', photon_flux_error='8.63e-09', dlogl='8.34e-01', energy_flux='2.01e-05', photon_flux2='4.24e-08', job_status='DONE', time_completed='2021-08-31 00:45:37.958879', photon_index_error2='0.56', photon_index2='2.50', ts='4.42', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.05e-05', EG='1.03', time_epoch_completed='1630395937.96', return_code='0', job_id='6658', GAL2='1.12', EG2='1.01', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='3.62e-08', ts2='6.08', photon_index='1.59' WHERE bin_id='82' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 00:45:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 6658: <4FGL_J0905.6+1358_daily_bin82> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin82> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 00:35:24 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 00:35:25 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:35:25 2021
Terminated at Tue Aug 31 00:45:38 2021
Results reported at Tue Aug 31 00:45:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin82 136.402 13.975 260582401 260841601 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 :                                   526.61 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             269.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            614 sec.

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

