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


Performing analysis on: 4FGL_J0905.6+1358_daily_bin68
RA = 136.402, Dec = 13.975
tmin = 256953601, tmax = 257212801
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='6638', job_status='RUN', time_executed='2021-08-31 00:39:45.722837', time_epoch_executed='1630395585.72' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='68'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6638

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6638/ft1_4FGL_J0905.6+1358_daily_bin68.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6638/ft2_4FGL_J0905.6+1358_daily_bin68.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6638/ft1_4FGL_J0905.6+1358_daily_bin68.fits outfile=/scratch/kocevski/6638/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin68.fits ra=136.402 dec=13.975 rad=12.0 tmin=256953601.0 tmax=257212801.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 6.72
user 1.26
sys 5.41

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/6638/ft1_filtered_4FGL_J0905.6+1358_daily_bin68.fits" evtable="EVENTS" scfile=/scratch/kocevski/6638/ft2_4FGL_J0905.6+1358_daily_bin68.fits sctable="SC_DATA" outfile=/scratch/kocevski/6638/ltcube_256953601_257212801_4FGL_J0905.6+1358_daily_bin68.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/6638/ft2_4FGL_J0905.6+1358_daily_bin68.fits
.....................!
real 19.37
user 12.46
sys 6.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6638/ft1_filtered_4FGL_J0905.6+1358_daily_bin68.fits evtable="EVENTS" scfile=/scratch/kocevski/6638/ft2_4FGL_J0905.6+1358_daily_bin68.fits sctable="SC_DATA" expcube=/scratch/kocevski/6638/ltcube_256953601_257212801_4FGL_J0905.6+1358_daily_bin68.fits outfile=/scratch/kocevski/6638/expmap_256953601_257212801_4FGL_J0905.6+1358_daily_bin68.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/6638/ltcube_256953601_257212801_4FGL_J0905.6+1358_daily_bin68.fits
.....................!
real 199.78
user 187.35
sys 10.83

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/6638/ft1_filtered_4FGL_J0905.6+1358_daily_bin68.fits scfile=/scratch/kocevski/6638/ft2_4FGL_J0905.6+1358_daily_bin68.fits outfile=/scratch/kocevski/6638/cmap_256953601_257212801_4FGL_J0905.6+1358_daily_bin68.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 5.74
user 0.38
sys 5.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6638/ft1_filtered_4FGL_J0905.6+1358_daily_bin68.fits scfile=/scratch/kocevski/6638/ft2_4FGL_J0905.6+1358_daily_bin68.fits outfile=/scratch/kocevski/6638/cmap_HighResolution_256953601_257212801_4FGL_J0905.6+1358_daily_bin68.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 5.70
user 0.38
sys 5.28

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .33103       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0730       1.0000         .10000E-03   10000.    
     4 'Prefactor '    55.071       1.0000         .10000E-03   10000.    
     5 'norm      '    .41391       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.3918       1.0000         .10000E-03   10000.    
     7 'norm      '    6.4625       1.0000         .10000E-03   10000.    
     8 'norm      '    14.846       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.013       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.6452       1.0000         .10000E-03   10000.    
    11 'norm      '    .45330E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    .86309       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .89409       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=   7852.285     FROM MIGRAD    STATUS=CONVERGED    261 CALLS     1253 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7846        .95098E-08** at limit **
   2  Prefactor     .34537        6.0396        .12574E-05   -.53423E-03
   3  Prefactor     1.0735        4.2914        .21205E-05   -.10039E-03
   4  Prefactor     55.077        26.120        .11502E-05    .31130E-03
   5  norm          .41390        .50737        .56886E-07   -.35409E-03
   6  Prefactor     7.3927        9.1985        .31579E-06    .65769E-04
   7  norm          6.4628        5.5537       -.16725E-06   -.19099E-03
   8  norm          14.848        27.467        .12263E-05    .60668E-04
   9  Prefactor     22.006        31.752       -.13508E-05   -.12691E-03
  10  Prefactor     5.6459        3.3085        .20025E-06    .16447E-03
  11  norm          .46199E-02    .37338        .28843E-07    .50462E-04
  12  Prefactor     .10000E-03    19.579        .12950E-06** at limit **
  13  Normalizat    .86293        .14141       -.81782E-06   -.23300E-03
  14  Prefactor     .89413        .11787       -.78589E-07   -.27641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.345367
  Prefactor  = 1.07345
  Prefactor  = 55.0774
  norm       = 0.413898
  Prefactor  = 7.39267
  norm       = 6.46282
  norm       = 14.8478
  Prefactor  = 22.0058
  Prefactor  = 5.64586
  norm       = 0.0046199
  Prefactor  = 0.0001
  Normalizat = 0.862926
  Prefactor  = 0.894125
 **********
 **   18 **HESSE 
 **********

 FCN=   7852.285     FROM HESSE     STATUS=OK           178 CALLS     1431 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.7879        .14441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .34537        27.157        .37813E-02   -1.5590    
   3  Prefactor     1.0735        4.6625        .36181E-03   -1.5501    
   4  Prefactor     55.077        26.891        .54052E-04   -1.4222    
   5  norm          .41390        .47278        .64013E-03   -1.5579    
   6  Prefactor     7.3927        9.1144        .14752E-03   -1.5164    
   7  norm          6.4628        5.5739        .15788E-03   -1.5199    
   8  norm          14.848        27.607        .10395E-03   -1.4937    
   9  Prefactor     22.006        32.240        .85371E-04   -1.4769    
  10  Prefactor     5.6459        3.3099        .11820E-03   -1.5233    
  11  norm          .46199E-02    .57254        .19642E-01   -1.5695    
  12  Prefactor     .10000E-03    19.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .86293        .16461        .24113E-03   -.97775    
  14  Prefactor     .89413        .13865        .20379E-03   -.96347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91791e-09
Minuit parameter uncertainties:
  1  3.30647e-07
  2  6.12702
  3  4.47474
  4  26.8973
  5  0.472786
  6  9.11611
  7  5.5743
  8  27.6304
  9  32.2651
  10  3.30999
  11  0.101742
  12  3.3873e-05
  13  0.164704
  14  0.138701
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  6.463e+00  5.574e+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:  8.941e-01  1.387e-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.629e-01  1.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.84
Ra Dec: 136.402 13.975
Photon Index (Fixed Index): 1.59 +/- 0.00
Photon Flux (Fixed Index): 1.05e-08 +/- 9.04e-09
Energy Flux (Fixed Index): 2.27e-05 +/- 1.96e-05

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

Saving results to:
/scratch/kocevski/6638/likelihoodResults_256953601_257212801_4FGL_J0905.6+1358_daily_bin68.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) = 7851.30247635
delta logL = 0.982850793747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7851.29891492
delta logL = 0.98641222641

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1366       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5235       1.0000          .0000       5.0000    
     3 'Normalizat'    .84147       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89562       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=   7851.299     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      281 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1368        5.0627        .10970E-03    .11254E-03
   2  alpha         2.5234        .71625        .10366E-01    .39808E-03
   3  Normalizat    .84147        .16307        .24380E-03    .20196E-03
   4  Prefactor     .89562        .13858        .20344E-03    .45657E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.13682
  alpha      = 2.52345
  Normalizat = 0.841472
  Prefactor  = 0.895616
 **********
 **   18 **HESSE 
 **********

 FCN=   7851.299     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1368        4.4702        .43881E-05   -1.5301    
   2  alpha         2.5234        .63376        .20733E-02    .93801E-02
   3  Normalizat    .84147        .16237        .97519E-05   -.98548    
   4  Prefactor     .89562        .13841        .40687E-04   -.96294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81624e-10
Minuit parameter uncertainties:
  1  4.47059
  2  0.640757
  3  0.162465
  4  0.13846
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6638': 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) = 7851.29891492
delta logL = 0.986412229365

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  4.137e+00  4.471e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  2.523e+00  6.408e-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:  8.956e-01  1.385e-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.415e-01  1.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.79
Ra Dec: 136.402 13.975
Photon Index (Free Index): 2.52 +/- 0.64
Photon Flux (Free Index): 3.84e-08 +/- 3.35e-08
Energy Flux (Free Index): 1.52e-05 +/- 9.89e-06

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/6638/cmap_HighResolution_256953601_257212801_4FGL_J0905.6+1358_daily_bin68.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-05', comment='SUCCESS', photon_flux='1.05e-08', energy_flux2='1.52e-05', photon_flux_error='9.04e-09', dlogl='9.86e-01', energy_flux='2.27e-05', photon_flux2='3.84e-08', job_status='DONE', time_completed='2021-08-31 00:49:58.067762', photon_index_error2='0.64', photon_index2='2.52', ts='2.84', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='3.41e-08', energy_flux_error2='9.89e-06', EG='0.86', time_epoch_completed='1630396198.07', return_code='0', job_id='6638', GAL2='0.90', EG2='0.84', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='3.35e-08', ts2='4.79', photon_index='1.59' WHERE bin_id='68' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 00:49:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 6638: <4FGL_J0905.6+1358_daily_bin68> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin68 136.402 13.975 256953601 257212801 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 :                                   691.55 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             198.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            877 sec.

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

