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


Performing analysis on: 4FGL_J0100.3+0745_daily_bin178
RA = 15.0932, Dec = 7.7647
tmin = 285465601, tmax = 285724801
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='275247', job_status='RUN', time_executed='2021-08-13 08:35:48.736332', time_epoch_executed='1628868948.74' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='178'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/275247

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/275247/ft1_4FGL_J0100.3+0745_daily_bin178.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/275247/ft2_4FGL_J0100.3+0745_daily_bin178.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/275247/ft1_4FGL_J0100.3+0745_daily_bin178.fits outfile=/scratch/kocevski/275247/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin178.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=285465601.0 tmax=285724801.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 4.42
user 3.24
sys 1.12

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/275247/ft2_4FGL_J0100.3+0745_daily_bin178.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/275247/ft2_4FGL_J0100.3+0745_daily_bin178.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/275247/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin178.fits evtable="EVENTS" outfile="/scratch/kocevski/275247/ft1_filtered_4FGL_J0100.3+0745_daily_bin178.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.40
user 0.35
sys 1.04

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/275247/ft1_filtered_4FGL_J0100.3+0745_daily_bin178.fits" evtable="EVENTS" scfile=/scratch/kocevski/275247/ft2_4FGL_J0100.3+0745_daily_bin178.fits sctable="SC_DATA" outfile=/scratch/kocevski/275247/ltcube_285465601_285724801_4FGL_J0100.3+0745_daily_bin178.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/275247/ft2_4FGL_J0100.3+0745_daily_bin178.fits
.....................!
real 14.33
user 12.95
sys 1.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/275247/ft1_filtered_4FGL_J0100.3+0745_daily_bin178.fits evtable="EVENTS" scfile=/scratch/kocevski/275247/ft2_4FGL_J0100.3+0745_daily_bin178.fits sctable="SC_DATA" expcube=/scratch/kocevski/275247/ltcube_285465601_285724801_4FGL_J0100.3+0745_daily_bin178.fits outfile=/scratch/kocevski/275247/expmap_285465601_285724801_4FGL_J0100.3+0745_daily_bin178.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/275247/ltcube_285465601_285724801_4FGL_J0100.3+0745_daily_bin178.fits
.....................!
real 193.16
user 186.34
sys 6.48

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

Setting source of interest to:
4FGL J0100.3+0745 @ 15.0932 7.7647

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/275247/ft1_filtered_4FGL_J0100.3+0745_daily_bin178.fits scfile=/scratch/kocevski/275247/ft2_4FGL_J0100.3+0745_daily_bin178.fits outfile=/scratch/kocevski/275247/cmap_285465601_285724801_4FGL_J0100.3+0745_daily_bin178.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=15.0932 yref=7.7647 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.44
user 0.38
sys 1.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/275247/ft1_filtered_4FGL_J0100.3+0745_daily_bin178.fits scfile=/scratch/kocevski/275247/ft2_4FGL_J0100.3+0745_daily_bin178.fits outfile=/scratch/kocevski/275247/cmap_HighResolution_285465601_285724801_4FGL_J0100.3+0745_daily_bin178.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=15.0932 yref=7.7647 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.43
user 0.40
sys 1.03

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/275247/ft1_filtered_4FGL_J0100.3+0745_daily_bin178.fits evtable="EVENTS" scfile=/scratch/kocevski/275247/ft2_4FGL_J0100.3+0745_daily_bin178.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/275247/Model_4FGL_J0100.3+0745_daily_bin178.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/275247/ft1_filtered_4FGL_J0100.3+0745_daily_bin178.fits.....................!
real 81.94
user 79.37
sys 2.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/275247/ft1_filtered_4FGL_J0100.3+0745_daily_bin178.fits', '/scratch/kocevski/275247/ft2_4FGL_J0100.3+0745_daily_bin178.fits', expMap='/scratch/kocevski/275247/expmap_285465601_285724801_4FGL_J0100.3+0745_daily_bin178.fits', expCube='/scratch/kocevski/275247/ltcube_285465601_285724801_4FGL_J0100.3+0745_daily_bin178.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/275247/Model_4FGL_J0100.3+0745_daily_bin178.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0100.3+0745'

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  6.478e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.684e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  1.514e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  1.593e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/275247/ft1_filtered_4FGL_J0100.3+0745_daily_bin178.fits
Spacecraft file(s): /scratch/kocevski/275247/ft2_4FGL_J0100.3+0745_daily_bin178.fits
Exposure map: /scratch/kocevski/275247/expmap_285465601_285724801_4FGL_J0100.3+0745_daily_bin178.fits
Exposure cube: /scratch/kocevski/275247/ltcube_285465601_285724801_4FGL_J0100.3+0745_daily_bin178.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/275247/Model_4FGL_J0100.3+0745_daily_bin178.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) = 7238.85725256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1193       1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.655       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.353       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4233       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0274       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    42.017       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.0162       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.3689       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9325       1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.669       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2287       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .79439       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7238.855     FROM MIGRAD    STATUS=CONVERGED    283 CALLS     1417 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1192        4.4256        .40463E-06   -.25899E-03
   2  Prefactor     21.656        13.135        .79921E-07   -.51217E-04
   3  norm          .10000E-03    4.4023        .11555E-08** at limit **
   4  Prefactor     17.353        14.968       -.28858E-06   -.13273E-04
   5  Prefactor     8.4233        5.4880        .31147E-08    .11516E-04
   6  Prefactor     1.0270        1.6346       -.18572E-06   -.81416E-03
   7  norm          .10000E-03    4.9613       -.19660E-07** at limit **
   8  Prefactor     42.017        37.130        .45409E-06   -.15786E-04
   9  Prefactor     .10000E-03    22.845        .14533E-07** at limit **
  10  norm          2.0162        1.0591        .11511E-07   -.47945E-03
  11  Prefactor     .10000E-03    10.379        .21881E-07** at limit **
  12  Prefactor     9.3690        6.9610       -.38924E-07    .38007E-04
  13  Prefactor     1.9327        4.7360       -.11822E-05   -.92212E-03
  14  Prefactor     35.660        51.206       -.12905E-04    .16857E-03
  15  Normalizat    1.2287        .17766        .83717E-06   -.37273E-05
  16  Prefactor     .79442        .13092        .20065E-06    .41005E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.11921
  Prefactor  = 21.656
  norm       = 0.0001
  Prefactor  = 17.3526
  Prefactor  = 8.42333
  Prefactor  = 1.02703
  norm       = 0.0001
  Prefactor  = 42.0172
  Prefactor  = 0.0001
  norm       = 2.01622
  Prefactor  = 0.0001
  Prefactor  = 9.369
  Prefactor  = 1.93267
  Prefactor  = 35.6602
  Normalizat = 1.22867
  Prefactor  = 0.79442
 **********
 **   18 **HESSE 
 **********

 FCN=   7238.855     FROM HESSE     STATUS=OK           207 CALLS     1624 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1192        4.4085        .14467E-03   -1.5213    
   2  Prefactor     21.656        13.152        .86073E-04   -1.4777    
   3  norm          .10000E-03    4.4180        .17433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.353        14.970        .96146E-04   -1.4875    
   5  Prefactor     8.4233        5.4855        .13813E-03   -1.5127    
   6  Prefactor     1.0270        1.3607        .13286E-02   -1.5505    
   7  norm          .10000E-03    4.9670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     42.017        37.122        .61844E-04   -1.4411    
   9  Prefactor     .10000E-03    22.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.0162        1.0595        .14575E-03   -1.5424    
  11  Prefactor     .10000E-03    10.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.3690        6.9627        .13093E-03   -1.5096    
  13  Prefactor     1.9327        5.0329        .29474E-03   -1.5430    
  14  Prefactor     35.660        49.395        .67102E-04   -1.4513    
  15  Normalizat    1.2287        .20663        .25774E-03   -.85721    
  16  Prefactor     .79442        .15234        .23451E-03   -.99934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43211e-09
Minuit parameter uncertainties:
  1  4.40876
  2  13.1537
  3  2.00826e-06
  4  14.9732
  5  5.48581
  6  1.36073
  7  1.12531e-06
  8  37.1424
  9  6.11493e-06
  10  1.05955
  11  4.87514e-06
  12  6.96328
  13  5.03396
  14  49.4521
  15  0.206767
  16  0.152425
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.000e-04  1.125e-06  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.684e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  1.514e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  1.593e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  7.944e-01  1.524e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.229e+00  2.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 15.093 7.765
Photon Flux Upper Limit: 2.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.25e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/275247/likelihoodResults_285465601_285724801_4FGL_J0100.3+0745_daily_bin178.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) = 7238.85589815
delta logL = -0.000952712987782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7238.85494542
delta logL = 1.36724338518e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7238.855     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      191 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.9533       -.11071E-04** at limit **
   2  alpha         2.0296        3.4400        .20684E-01   -.12578E-06
   3  Normalizat    1.2287        .17261        .18701E-07    .65297E-04
   4  Prefactor     .79442        .12991        .11636E-06    .78591E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.02962
  Normalizat = 1.22867
  Prefactor  = 0.79442
 **********
 **   18 **HESSE 
 **********

 FCN=   7238.855     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      224 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    301.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0296        3.4798        .50000       -.18928    
   3  Normalizat    1.2287        .37300E-01    .25774E-03   -.85721    
   4  Prefactor     .79442        .28074E-01    .23451E-03   -.99934    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.94638e-07
Minuit parameter uncertainties:
  1  0.000700681
  2  6658.03
  3  0.0373009
  4  0.0280747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/275247': 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): 102
logL (Free Index) = 7238.85494505
delta logL = 3.84991835745e-07

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.000e-04  7.007e-04  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  2.030e+00  6.658e+03  0.000e+00  5.000e+00 ( 1.000e+00)
239         beta:  1.514e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  1.593e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  7.944e-01  2.807e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.229e+00  3.730e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 15.093 7.765

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/275247/cmap_HighResolution_285465601_285724801_4FGL_J0100.3+0745_daily_bin178.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-05', job_status='DONE', photon_flux_upper_limit='2.43e-08', time_completed='2021-08-13 08:45:30.623352', job_id='275247', GAL2='0.79', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1628869530.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='3.85e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='178' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:45:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 275247: <4FGL_J0100.3+0745_daily_bin178> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin178> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 08:30:46 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:31:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 08:31:58 2021
Terminated at Fri Aug 13 08:45:31 2021
Results reported at Fri Aug 13 08:45:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin178 15.0932 7.7647 285465601 285724801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0100.3+0745 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   593.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            885 sec.

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

