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


Performing analysis on: 4FGL_J0100.3+0745_daily_bin185
RA = 15.0932, Dec = 7.7647
tmin = 287280001, tmax = 287539201
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='275257', job_status='RUN', time_executed='2021-08-13 08:34:56.647323', time_epoch_executed='1628868896.65' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='185'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/275257

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/275257/ft1_4FGL_J0100.3+0745_daily_bin185.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/275257/ft2_4FGL_J0100.3+0745_daily_bin185.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/275257/ft1_4FGL_J0100.3+0745_daily_bin185.fits outfile=/scratch/kocevski/275257/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin185.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=287280001.0 tmax=287539201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.92
user 2.75
sys 1.13

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/275257/ft2_4FGL_J0100.3+0745_daily_bin185.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/275257/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin185.fits evtable="EVENTS" outfile="/scratch/kocevski/275257/ft1_filtered_4FGL_J0100.3+0745_daily_bin185.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.43
user 0.29
sys 1.10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/275257/ft1_filtered_4FGL_J0100.3+0745_daily_bin185.fits" evtable="EVENTS" scfile=/scratch/kocevski/275257/ft2_4FGL_J0100.3+0745_daily_bin185.fits sctable="SC_DATA" outfile=/scratch/kocevski/275257/ltcube_287280001_287539201_4FGL_J0100.3+0745_daily_bin185.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/275257/ft2_4FGL_J0100.3+0745_daily_bin185.fits
.....................!
real 12.98
user 11.55
sys 1.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/275257/ft1_filtered_4FGL_J0100.3+0745_daily_bin185.fits evtable="EVENTS" scfile=/scratch/kocevski/275257/ft2_4FGL_J0100.3+0745_daily_bin185.fits sctable="SC_DATA" expcube=/scratch/kocevski/275257/ltcube_287280001_287539201_4FGL_J0100.3+0745_daily_bin185.fits outfile=/scratch/kocevski/275257/expmap_287280001_287539201_4FGL_J0100.3+0745_daily_bin185.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/275257/ltcube_287280001_287539201_4FGL_J0100.3+0745_daily_bin185.fits
.....................!
real 158.37
user 152.27
sys 5.68

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/275257/ft1_filtered_4FGL_J0100.3+0745_daily_bin185.fits scfile=/scratch/kocevski/275257/ft2_4FGL_J0100.3+0745_daily_bin185.fits outfile=/scratch/kocevski/275257/cmap_287280001_287539201_4FGL_J0100.3+0745_daily_bin185.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.41
user 0.34
sys 1.06

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/275257/ft1_filtered_4FGL_J0100.3+0745_daily_bin185.fits scfile=/scratch/kocevski/275257/ft2_4FGL_J0100.3+0745_daily_bin185.fits outfile=/scratch/kocevski/275257/cmap_HighResolution_287280001_287539201_4FGL_J0100.3+0745_daily_bin185.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.41
user 0.33
sys 1.07

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/275257/ft1_filtered_4FGL_J0100.3+0745_daily_bin185.fits', '/scratch/kocevski/275257/ft2_4FGL_J0100.3+0745_daily_bin185.fits', expMap='/scratch/kocevski/275257/expmap_287280001_287539201_4FGL_J0100.3+0745_daily_bin185.fits', expCube='/scratch/kocevski/275257/ltcube_287280001_287539201_4FGL_J0100.3+0745_daily_bin185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/275257/Model_4FGL_J0100.3+0745_daily_bin185.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/275257/ft1_filtered_4FGL_J0100.3+0745_daily_bin185.fits
Spacecraft file(s): /scratch/kocevski/275257/ft2_4FGL_J0100.3+0745_daily_bin185.fits
Exposure map: /scratch/kocevski/275257/expmap_287280001_287539201_4FGL_J0100.3+0745_daily_bin185.fits
Exposure cube: /scratch/kocevski/275257/ltcube_287280001_287539201_4FGL_J0100.3+0745_daily_bin185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/275257/Model_4FGL_J0100.3+0745_daily_bin185.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) = 6249.04443974

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6369       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.845       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19991E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .50029       1.0000         .10000E-03   10000.    
     7 'norm      '    15.742       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10411E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.6016       1.0000         .10000E-03   10000.    
    11 'Prefactor '    50.334       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.368       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    83.406       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1690       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .91326       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=   6249.041     FROM MIGRAD    STATUS=CONVERGED    316 CALLS     1473 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6372        4.5818       -.32648E-06   -.54933E-03
   2  Prefactor     .10000E-03    5.3250       -.58231E-08** at limit **
   3  norm          .10000E-03    3.3390       -.10521E-07** at limit **
   4  Prefactor     18.846        15.336        .31079E-07    .15765E-04
   5  Prefactor     .10003E-03    4.4826       -.19683E-06** at limit **
   6  Prefactor     .50001        1.3386       -.46958E-06   -.15572E-02
   7  norm          15.741        14.485       -.87068E-07    .23379E-05
   8  Prefactor     .10000E-03    56.221        .14528E-05** at limit **
   9  Prefactor     .10000E-03    166.08       -.17662E-05** at limit **
  10  norm          4.6002        1.8296        .69402E-08    .16523E-04
  11  Prefactor     50.337        45.235        .18636E-05   -.31373E-04
  12  Prefactor     12.368        11.413        .38486E-05   -.35605E-03
  13  Prefactor     .10000E-03    5.9362       -.48489E-07** at limit **
  14  Prefactor     83.405        57.184       -.74781E-06    .17776E-04
  15  Normalizat    1.1689        .19692       -.84910E-07    .35729E-04
  16  Prefactor     .91330        .14701       -.37848E-06    .50915E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.6372
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.8464
  Prefactor  = 0.000100029
  Prefactor  = 0.500006
  norm       = 15.7413
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.60024
  Prefactor  = 50.3369
  Prefactor  = 12.3677
  Prefactor  = 0.0001
  Prefactor  = 83.4049
  Normalizat = 1.1689
  Prefactor  = 0.913303
 **********
 **   18 **HESSE 
 **********

 FCN=   6249.041     FROM HESSE     STATUS=OK           213 CALLS     1686 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6372        4.6459        .21750E-03   -1.5383    
   2  Prefactor     .10000E-03    5.3424        .17813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.3416        .14107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.846        15.339        .92263E-04   -1.4839    
   5  Prefactor     .10003E-03    4.4181        .51307E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .50001        1.2628        .15438E-02   -1.5567    
   7  norm          15.741        14.489        .10095E-03   -1.4914    
   8  Prefactor     .10000E-03    56.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    166.49        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.6002        1.8291        .64218E-04   -1.5279    
  11  Prefactor     50.337        45.086        .56526E-04   -1.4288    
  12  Prefactor     12.368        10.787        .11390E-03   -1.5004    
  13  Prefactor     .10000E-03    6.0284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     83.405        57.274        .43983E-04   -1.3879    
  15  Normalizat    1.1689        .23004        .27432E-03   -.87569    
  16  Prefactor     .91330        .17209        .22907E-03   -.95678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02518e-09
Minuit parameter uncertainties:
  1  4.64658
  2  4.64644e-06
  3  7.31515e-07
  4  15.3425
  5  0.000710098
  6  1.26291
  7  14.4919
  8  0.000268151
  9  0.00029059
  10  1.8291
  11  45.117
  12  10.7891
  13  9.09621e-06
  14  57.3123
  15  0.230238
  16  0.172197
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.574e+01  1.449e+01  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:  9.133e-01  1.722e-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.169e+00  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.36
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 1.51e-08 +/- 1.39e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 1.85e-05

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

Saving results to:
/scratch/kocevski/275257/likelihoodResults_287280001_287539201_4FGL_J0100.3+0745_daily_bin185.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) = 6246.94908333
delta logL = 2.09172504399

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6245.74258885
delta logL = 3.29821952979

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5075       1.0000         .10000E-03   10000.    
     2 'alpha     '    .26452E-07   1.0000          .0000       5.0000    
     3 'Normalizat'    1.1535       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93319       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.

 FCN=   6245.743     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5088        1.8468        .87122E-02   -.33963E-03
   2  alpha         .12755E-10    .40879        .46267    ** at limit **
   3  Normalizat    1.1537        .19223        .62317E-01    .12100E-04
   4  Prefactor     .93303        .14480        .45427E-01    .11227E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.50876
  alpha      = 1.27545e-11
  Normalizat = 1.15368
  Prefactor  = 0.933032
 **********
 **   18 **HESSE 
 **********

 FCN=   6245.743     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5088        1.5098        .93069E-04   -1.5462    
   2  alpha         .12755E-10    .46623        .35898E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1537        .22473        .27564E-03   -.88047    
   4  Prefactor     .93303        .16938        .22699E-03   -.94996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63554e-11
Minuit parameter uncertainties:
  1  1.50982
  2  4.95627e-06
  3  0.224919
  4  0.169477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/275257': 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) = 6245.74258793
delta logL = 3.29822044252

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.509e+00  1.510e+00  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.275e-11  4.956e-06  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:  9.330e-01  1.695e-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.154e+00  2.249e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.97
Ra Dec: 15.093 7.765
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 3.86e-09 +/- 3.87e-09
Energy Flux (Free Index): 1.13e-04 +/- 1.13e-04

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/275257/cmap_HighResolution_287280001_287539201_4FGL_J0100.3+0745_daily_bin185.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-05', comment='SUCCESS', photon_flux='1.51e-08', energy_flux2='1.13e-04', photon_flux_error='1.39e-08', dlogl='3.30e+00', energy_flux='2.01e-05', photon_flux2='3.86e-09', job_status='DONE', time_completed='2021-08-13 08:42:37.467068', photon_index_error2='0.00', photon_index2='0.00', ts='2.36', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='5.22e-08', energy_flux_error2='1.13e-04', EG='1.17', time_epoch_completed='1628869357.47', return_code='0', job_id='275257', GAL2='0.93', EG2='1.15', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='3.87e-09', ts2='8.97', photon_index='1.68' WHERE bin_id='185' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:42:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 275257: <4FGL_J0100.3+0745_daily_bin185> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin185> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 08:30:47 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:32:00 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:32:00 2021
Terminated at Fri Aug 13 08:42:38 2021
Results reported at Fri Aug 13 08:42:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin185 15.0932 7.7647 287280001 287539201 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 :                                   472.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   637 sec.
    Turnaround time :                            711 sec.

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

