/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 111 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 = 6284
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0100.3+0745_daily_bin533
RA = 15.0932, Dec = 7.7647
tmin = 377481601, tmax = 377740801
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='277905', job_status='RUN', time_executed='2021-08-13 08:45:14.841652', time_epoch_executed='1628869514.84' WHERE source_name='4FGL J0100.3+0745' and cadence='daily' and bin_id='533'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/277905

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

Retrieving the FT1 file...

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

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

Retrieving 36 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/277905/ft1_4FGL_J0100.3+0745_daily_bin533.fits


Retrieving the FT1 file...

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

Retrieving 40 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/277905/ft2_4FGL_J0100.3+0745_daily_bin533.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/277905/ft1_4FGL_J0100.3+0745_daily_bin533.fits outfile=/scratch/kocevski/277905/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin533.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=377481601.0 tmax=377740801.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 12.18
user 2.97
sys 9.12

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/277905/ft2_4FGL_J0100.3+0745_daily_bin533.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/277905/ft1_filteredMKT_4FGL_J0100.3+0745_daily_bin533.fits evtable="EVENTS" outfile="/scratch/kocevski/277905/ft1_filtered_4FGL_J0100.3+0745_daily_bin533.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 9.42
user 0.33
sys 9.02

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/277905/ft1_filtered_4FGL_J0100.3+0745_daily_bin533.fits" evtable="EVENTS" scfile=/scratch/kocevski/277905/ft2_4FGL_J0100.3+0745_daily_bin533.fits sctable="SC_DATA" outfile=/scratch/kocevski/277905/ltcube_377481601_377740801_4FGL_J0100.3+0745_daily_bin533.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/277905/ft2_4FGL_J0100.3+0745_daily_bin533.fits
.....................!
real 22.66
user 12.24
sys 10.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/277905/ft1_filtered_4FGL_J0100.3+0745_daily_bin533.fits evtable="EVENTS" scfile=/scratch/kocevski/277905/ft2_4FGL_J0100.3+0745_daily_bin533.fits sctable="SC_DATA" expcube=/scratch/kocevski/277905/ltcube_377481601_377740801_4FGL_J0100.3+0745_daily_bin533.fits outfile=/scratch/kocevski/277905/expmap_377481601_377740801_4FGL_J0100.3+0745_daily_bin533.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/277905/ltcube_377481601_377740801_4FGL_J0100.3+0745_daily_bin533.fits
.....................!
real 205.11
user 187.74
sys 16.88

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/277905/ft1_filtered_4FGL_J0100.3+0745_daily_bin533.fits scfile=/scratch/kocevski/277905/ft2_4FGL_J0100.3+0745_daily_bin533.fits outfile=/scratch/kocevski/277905/cmap_377481601_377740801_4FGL_J0100.3+0745_daily_bin533.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 9.44
user 0.38
sys 9.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/277905/ft1_filtered_4FGL_J0100.3+0745_daily_bin533.fits scfile=/scratch/kocevski/277905/ft2_4FGL_J0100.3+0745_daily_bin533.fits outfile=/scratch/kocevski/277905/cmap_HighResolution_377481601_377740801_4FGL_J0100.3+0745_daily_bin533.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 9.55
user 0.39
sys 9.12

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3468       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.1291       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.2429       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.6858       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    46.147       1.0000         .10000E-03   10000.    
    10 'norm      '    5.0072       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .29966E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10220E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.221       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1643       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .70317       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=   4952.793     FROM MIGRAD    STATUS=CONVERGED    334 CALLS     1492 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3478        4.0809        .41198E-07   -.19814E-04
   2  Prefactor     .10000E-03    5.5850       -.57487E-08** at limit **
   3  norm          .10000E-03    3.3829       -.18480E-07** at limit **
   4  Prefactor     2.1261        2.0934        .59712E-07   -.29349E-03
   5  Prefactor     4.2426        4.0832        .17690E-07    .46765E-05
   6  Prefactor     .10000E-03    2.2670       -.64191E-07** at limit **
   7  norm          8.6865        11.227        .66562E-06   -.57887E-06
   8  Prefactor     .10000E-03    126.34        .11326E-06** at limit **
   9  Prefactor     46.155        71.645        .92016E-05    .19334E-05
  10  norm          5.0069        1.8678       -.18326E-06    .35297E-05
  11  Prefactor     .10000E-03    167.57        .11797E-05** at limit **
  12  Prefactor     .10000E-03    11.187        .17778E-06** at limit **
  13  Prefactor     .10000E-03    7.6410        .18132E-07** at limit **
  14  Prefactor     23.223        29.856        .59639E-06   -.48193E-06
  15  Normalizat    1.1641        .19475       -.44448E-06   -.17909E-05
  16  Prefactor     .70316        .13923       -.10113E-06   -.33093E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.34779
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.1261
  Prefactor  = 4.24264
  Prefactor  = 0.0001
  norm       = 8.68654
  Prefactor  = 0.0001
  Prefactor  = 46.1554
  norm       = 5.0069
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.2233
  Normalizat = 1.16407
  Prefactor  = 0.703158
 **********
 **   18 **HESSE 
 **********

 FCN=   4952.793     FROM HESSE     STATUS=OK           203 CALLS     1695 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3478        4.0634        .18091E-03   -1.5402    
   2  Prefactor     .10000E-03    5.6064        .16241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.3844        .12642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.1261        12.475        .14129E-02   -1.5416    
   5  Prefactor     4.2426        4.1001        .13581E-03   -1.5296    
   6  Prefactor     .10000E-03    4.7584        .20246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.6865        11.230        .13601E-03   -1.5118    
   8  Prefactor     .10000E-03    127.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.155        71.666        .59023E-04   -1.4348    
  10  norm          5.0069        1.8682        .54479E-04   -1.5260    
  11  Prefactor     .10000E-03    174.30        .42780E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    86.440        .44627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.9852        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.223        29.855        .83124E-04   -1.4744    
  15  Normalizat    1.1641        .22186        .24181E-03   -.87720    
  16  Prefactor     .70316        .16128        .22295E-03   -1.0340    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.07858e-10
Minuit parameter uncertainties:
  1  4.06388
  2  1.5515e-06
  3  4.68498e-07
  4  10.3032
  5  4.10034
  6  1.57985e-05
  7  11.2323
  8  4.26536e-05
  9  71.8005
  10  1.86818
  11  5.51622e-05
  12  0.000139003
  13  3.63353e-06
  14  29.874
  15  0.222041
  16  0.161391
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  8.687e+00  1.123e+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:  7.032e-01  1.614e-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.164e+00  2.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 8.33e-09 +/- 1.08e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 1.44e-05

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

Saving results to:
/scratch/kocevski/277905/likelihoodResults_377481601_377740801_4FGL_J0100.3+0745_daily_bin533.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) = 4952.76334849
delta logL = 0.0295532137161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4952.7621634
delta logL = 0.030738310933

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1698       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9218       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1627       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70310       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4952.762     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      232 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.1690        11.262        .14027E-03    .92169E-03
   2  alpha         1.9219        .96260        .20367E-01    .10177E-03
   3  Normalizat    1.1627        .21748        .24193E-03   -.11816E-03
   4  Prefactor     .70310        .16073        .22295E-03   -.17419E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.16905
  alpha      = 1.92188
  Normalizat = 1.16271
  Prefactor  = 0.703097
 **********
 **   18 **HESSE 
 **********

 FCN=   4952.762     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.1690        11.062        .28053E-04   -1.5136    
   2  alpha         1.9219        .94670        .81470E-03   -.23336    
   3  Normalizat    1.1627        .21762        .48386E-04   -.87763    
   4  Prefactor     .70310        .16085        .89180E-05   -1.0341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9328e-09
Minuit parameter uncertainties:
  1  11.0648
  2  0.972401
  3  0.217786
  4  0.160954
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/277905': 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) = 4952.76216339
delta logL = 0.0307383142726

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  8.169e+00  1.106e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.922e+00  9.724e-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:  7.031e-01  1.610e-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.163e+00  2.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 15.093 7.765
Photon Index (Free Index): 1.92 +/- 0.97
Photon Flux (Free Index): 1.06e-08 +/- 1.65e-08
Energy Flux (Free Index): 8.92e-06 +/- 1.36e-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/277905/cmap_HighResolution_377481601_377740801_4FGL_J0100.3+0745_daily_bin533.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.00e-05', comment='SUCCESS', photon_flux='8.33e-09', energy_flux2='8.92e-06', photon_flux_error='1.08e-08', dlogl='3.07e-02', energy_flux='1.11e-05', photon_flux2='1.06e-08', job_status='DONE', time_completed='2021-08-13 08:55:24.682836', photon_index_error2='0.97', photon_index2='1.92', ts='1.34', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='4.50e-08', energy_flux_error2='1.36e-05', EG='1.16', time_epoch_completed='1628870124.68', return_code='0', job_id='277905', GAL2='0.70', EG2='1.16', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='1.65e-08', ts2='1.40', photon_index='1.68' WHERE bin_id='533' AND source_name='4FGL J0100.3+0745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 08:55:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 277905: <4FGL_J0100.3+0745_daily_bin533> in cluster <slac> Done

Job <4FGL_J0100.3+0745_daily_bin533> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 13 08:40:26 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 08:40:47 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:40:47 2021
Terminated at Fri Aug 13 08:55:27 2021
Results reported at Fri Aug 13 08:55:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_daily_bin533 15.0932 7.7647 377481601 377740801 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 :                                   750.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             242.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            901 sec.

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

