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


Performing analysis on: 4FGL_J0100.3+0745_daily_bin312
RA = 15.0932, Dec = 7.7647
tmin = 320198401, tmax = 320457601
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='276442', job_status='RUN', time_executed='2021-08-13 08:39:18.165699', time_epoch_executed='1628869158.17' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='312'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276442

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276442/ft1_4FGL_J0100.3+0745_daily_bin312.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276442/ft2_4FGL_J0100.3+0745_daily_bin312.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276442/ft1_4FGL_J0100.3+0745_daily_bin312.fits outfile=/scratch/kocevski/276442/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin312.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=320198401.0 tmax=320457601.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.12
user 3.15
sys 0.92

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/276442/ft2_4FGL_J0100.3+0745_daily_bin312.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/276442/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin312.fits evtable="EVENTS" outfile="/scratch/kocevski/276442/ft1_filtered_4FGL_J0100.3+0745_daily_bin312.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.22
user 0.34
sys 0.86

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/276442/ft1_filtered_4FGL_J0100.3+0745_daily_bin312.fits" evtable="EVENTS" scfile=/scratch/kocevski/276442/ft2_4FGL_J0100.3+0745_daily_bin312.fits sctable="SC_DATA" outfile=/scratch/kocevski/276442/ltcube_320198401_320457601_4FGL_J0100.3+0745_daily_bin312.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/276442/ft2_4FGL_J0100.3+0745_daily_bin312.fits
.....................!
real 13.23
user 12.05
sys 1.13

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276442/ft1_filtered_4FGL_J0100.3+0745_daily_bin312.fits evtable="EVENTS" scfile=/scratch/kocevski/276442/ft2_4FGL_J0100.3+0745_daily_bin312.fits sctable="SC_DATA" expcube=/scratch/kocevski/276442/ltcube_320198401_320457601_4FGL_J0100.3+0745_daily_bin312.fits outfile=/scratch/kocevski/276442/expmap_320198401_320457601_4FGL_J0100.3+0745_daily_bin312.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/276442/ltcube_320198401_320457601_4FGL_J0100.3+0745_daily_bin312.fits
.....................!
real 192.36
user 185.55
sys 6.19

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/276442/ft1_filtered_4FGL_J0100.3+0745_daily_bin312.fits scfile=/scratch/kocevski/276442/ft2_4FGL_J0100.3+0745_daily_bin312.fits outfile=/scratch/kocevski/276442/cmap_320198401_320457601_4FGL_J0100.3+0745_daily_bin312.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.26
user 0.38
sys 0.86

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/276442/ft1_filtered_4FGL_J0100.3+0745_daily_bin312.fits scfile=/scratch/kocevski/276442/ft2_4FGL_J0100.3+0745_daily_bin312.fits outfile=/scratch/kocevski/276442/cmap_HighResolution_320198401_320457601_4FGL_J0100.3+0745_daily_bin312.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.26
user 0.39
sys 0.86

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8773       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2679       1.0000         .10000E-03   10000.    
     3 'norm      '    .15329       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .42087E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14076E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.5460       1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.276       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10341E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.1267       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.4576       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    40.641       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0232       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .97583       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=   4889.816     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1492 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8750        5.9075       -.18561E-05   -.11887E-02
   2  Prefactor     1.2801        41.941        .44259E-04   -.19542E-03
   3  norm          .12997E-03    11.356        .32250E-05** at limit **
   4  Prefactor     .10029E-03    10.706        .55958E-05** at limit **
   5  Prefactor     .10000E-03    8.2526        .58155E-06** at limit **
   6  Prefactor     .10000E-03    .72865       -.68198E-07** at limit **
   7  norm          9.5469        10.394       -.74138E-05    .17821E-05
   8  Prefactor     27.275        31.337       -.16949E-05   -.40592E-04
   9  Prefactor     .10000E-03    28.508        .11761E-05** at limit **
  10  norm          2.1267        1.8385       -.24632E-06   -.99278E-03
  11  Prefactor     .10000E-03    14.144       -.37407E-06** at limit **
  12  Prefactor     8.4564        10.710       -.52715E-05   -.98070E-04
  13  Prefactor     .10000E-03    3.2167       -.13542E-06** at limit **
  14  Prefactor     40.828        70.629        .13534E-03   -.24998E-04
  15  Normalizat    1.0232        .21392       -.12701E-04   -.84603E-03
  16  Prefactor     .97579        .16023       -.17168E-06   -.15157E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 6.87496
  Prefactor  = 1.28015
  norm       = 0.000129967
  Prefactor  = 0.00010029
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.54692
  Prefactor  = 27.2751
  Prefactor  = 0.0001
  norm       = 2.12668
  Prefactor  = 0.0001
  Prefactor  = 8.4564
  Prefactor  = 0.0001
  Prefactor  = 40.828
  Normalizat = 1.02322
  Prefactor  = 0.975789
 **********
 **   18 **HESSE 
 **********

 FCN=   4889.816     FROM HESSE     STATUS=OK           209 CALLS     1701 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8750        5.8378        .14576E-03   -1.5184    
   2  Prefactor     1.2801        41.208        .39538E-03   -1.5482    
   3  norm          .12997E-03    18.991        .69165E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10029E-03    75.717        .43245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.5683        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .73130        .58282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.5469        10.393        .12970E-03   -1.5090    
   8  Prefactor     27.275        31.339        .76707E-04   -1.4663    
   9  Prefactor     .10000E-03    28.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1267        1.8257        .83238E-04   -1.5416    
  11  Prefactor     .10000E-03    14.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.4564        10.703        .13784E-03   -1.5126    
  13  Prefactor     .10000E-03    3.2284        .12246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     40.828        70.654        .31439E-03   -1.4429    
  15  Normalizat    1.0232        .24632        .26621E-03   -.92257    
  16  Prefactor     .97579        .18656        .21029E-03   -.93541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.81971e-09
Minuit parameter uncertainties:
  1  5.83826
  2  14.5366
  3  0.0477266
  4  0.0093843
  5  0.00010319
  6  5.53329e-06
  7  10.3949
  8  31.3582
  9  9.04136e-06
  10  1.82576
  11  7.90636e-06
  12  10.7059
  13  1.12666e-06
  14  70.7994
  15  0.246599
  16  0.186679
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  9.547e+00  1.039e+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.758e-01  1.867e-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.023e+00  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.70
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 9.15e-09 +/- 9.96e-09
Energy Flux (Fixed Index): 1.22e-05 +/- 1.33e-05

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

Saving results to:
/scratch/kocevski/276442/likelihoodResults_320198401_320457601_4FGL_J0100.3+0745_daily_bin312.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) = 4889.81528699
delta logL = 0.000245125316724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4889.81522874
delta logL = 0.000303376967167

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4889.815     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      262 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.4668        10.982        .65068E-03    .23937E-05
   2  alpha         1.7051        .84346        .18715E-01    .35719E-05
   3  Normalizat    1.0231        .23821        .26622E-03    .10249E-05
   4  Prefactor     .97580        .18529        .21029E-03    .54061E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 9.46675
  alpha      = 1.70507
  Normalizat = 1.02314
  Prefactor  = 0.975797
 **********
 **   18 **HESSE 
 **********

 FCN=   4889.815     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.4668        10.838        .26027E-04   -1.5093    
   2  alpha         1.7051        .83311        .74859E-03   -.32359    
   3  Normalizat    1.0231        .23845        .10649E-04   -.92259    
   4  Prefactor     .97580        .18547        .84117E-05   -.93541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1961e-13
Minuit parameter uncertainties:
  1  10.84
  2  0.851291
  3  0.238695
  4  0.185594
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276442': 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) = 4889.81522278
delta logL = 0.000309329982883

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  9.467e+00  1.084e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.705e+00  8.513e-01  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.758e-01  1.856e-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.023e+00  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.70
Ra Dec: 15.093 7.765
Photon Index (Free Index): 1.71 +/- 0.85
Photon Flux (Free Index): 9.29e-09 +/- 1.16e-08
Energy Flux (Free Index): 1.19e-05 +/- 1.85e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/276442/cmap_HighResolution_320198401_320457601_4FGL_J0100.3+0745_daily_bin312.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-05', comment='SUCCESS', photon_flux='9.15e-09', energy_flux2='1.19e-05', photon_flux_error='9.96e-09', dlogl='3.09e-04', energy_flux='1.22e-05', photon_flux2='9.29e-09', job_status='DONE', time_completed='2021-08-13 08:47:44.372839', photon_index_error2='0.85', photon_index2='1.71', ts='2.70', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='4.30e-08', energy_flux_error2='1.85e-05', EG='1.02', time_epoch_completed='1628869664.37', return_code='0', job_id='276442', GAL2='0.98', EG2='1.02', return_code2='0', energy_flux_error='1.33e-05', photon_flux_error2='1.16e-08', ts2='2.70', photon_index='1.68' WHERE bin_id='312' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:47:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 276442: <4FGL_J0100.3+0745_daily_bin312> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin312> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Aug 13 08:35:28 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:35:45 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:35:45 2021
Terminated at Fri Aug 13 08:47:45 2021
Results reported at Fri Aug 13 08:47:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin312 15.0932 7.7647 320198401 320457601 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 :                                   516.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             217.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            737 sec.

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

