aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 41 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 = 17090
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0100.3+0745_weekly_bin65
RA = 15.0932, Dec = 7.7647
tmin = 278294401, tmax = 278899201
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='34650', job_status='RUN', time_executed='2021-07-03 14:02:28.192700', time_epoch_executed='1625346148.19' WHERE source_name='4FGL J0100.3+0745' and cadence='weekly' and bin_id='65'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/34650

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/34650/ft1_4FGL_J0100.3+0745_weekly_bin65.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/34650/ft2_4FGL_J0100.3+0745_weekly_bin65.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/34650/ft1_4FGL_J0100.3+0745_weekly_bin65.fits outfile=/scratch/kocevski/34650/ft1_filteredMKT_4FGL_J0100.3+0745_weekly_bin65.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=278294401.0 tmax=278899201.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 9.85
user 9.22
sys 0.34

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/34650/ft2_4FGL_J0100.3+0745_weekly_bin65.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/34650/ft1_filteredMKT_4FGL_J0100.3+0745_weekly_bin65.fits evtable="EVENTS" outfile="/scratch/kocevski/34650/ft1_filtered_4FGL_J0100.3+0745_weekly_bin65.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 0.92
user 0.41
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/34650/ft1_filtered_4FGL_J0100.3+0745_weekly_bin65.fits" evtable="EVENTS" scfile=/scratch/kocevski/34650/ft2_4FGL_J0100.3+0745_weekly_bin65.fits sctable="SC_DATA" outfile=/scratch/kocevski/34650/ltcube_278294401_278899201_4FGL_J0100.3+0745_weekly_bin65.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/34650/ft2_4FGL_J0100.3+0745_weekly_bin65.fits
.....................!
real 27.39
user 26.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/34650/ft1_filtered_4FGL_J0100.3+0745_weekly_bin65.fits evtable="EVENTS" scfile=/scratch/kocevski/34650/ft2_4FGL_J0100.3+0745_weekly_bin65.fits sctable="SC_DATA" expcube=/scratch/kocevski/34650/ltcube_278294401_278899201_4FGL_J0100.3+0745_weekly_bin65.fits outfile=/scratch/kocevski/34650/expmap_278294401_278899201_4FGL_J0100.3+0745_weekly_bin65.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/34650/ltcube_278294401_278899201_4FGL_J0100.3+0745_weekly_bin65.fits
.....................!
real 194.61
user 185.64
sys 4.38

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/34650/ft1_filtered_4FGL_J0100.3+0745_weekly_bin65.fits scfile=/scratch/kocevski/34650/ft2_4FGL_J0100.3+0745_weekly_bin65.fits outfile=/scratch/kocevski/34650/cmap_278294401_278899201_4FGL_J0100.3+0745_weekly_bin65.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 0.71
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/34650/ft1_filtered_4FGL_J0100.3+0745_weekly_bin65.fits scfile=/scratch/kocevski/34650/ft2_4FGL_J0100.3+0745_weekly_bin65.fits outfile=/scratch/kocevski/34650/cmap_HighResolution_278294401_278899201_4FGL_J0100.3+0745_weekly_bin65.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 0.99
user 0.43
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1380       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .47332       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.078       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.480       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.1660       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.567       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1314       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95757       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=   12865.36     FROM MIGRAD    STATUS=CONVERGED    297 CALLS     1427 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1391        3.3599        .41906E-06   -.10210E-03
   2  Prefactor     .45470        4.2782       -.14588E-05   -.12147E-03
   3  norm          .10000E-03    3.4062       -.31122E-07** at limit **
   4  Prefactor     25.079        11.001       -.10915E-06    .18270E-04
   5  Prefactor     .10000E-03    3.6988        .46867E-07** at limit **
   6  Prefactor     .10000E-03    .41735       -.11862E-07** at limit **
   7  norm          .10000E-03    2.2202       -.11623E-07** at limit **
   8  Prefactor     17.468        36.041       -.22947E-04   -.23457E-05
   9  Prefactor     .10000E-03    20.048        .19201E-06** at limit **
  10  norm          6.1657        1.3730       -.51627E-07   -.53361E-04
  11  Prefactor     .10000E-03    14.835       -.23648E-06** at limit **
  12  Prefactor     24.568        11.370        .83844E-06    .37056E-04
  13  Prefactor     .10000E-03    2.0394       -.76902E-08** at limit **
  14  Prefactor     .10000E-03    9.8897        .20104E-08** at limit **
  15  Normalizat    1.1314        .13703        .86450E-06    .16790E-03
  16  Prefactor     .95759        .10188        .44990E-06    .20746E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.13911
  Prefactor  = 0.454702
  norm       = 0.0001
  Prefactor  = 25.079
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.4682
  Prefactor  = 0.0001
  norm       = 6.1657
  Prefactor  = 0.0001
  Prefactor  = 24.5679
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1314
  Prefactor  = 0.957594
 **********
 **   18 **HESSE 
 **********

 FCN=   12865.36     FROM HESSE     STATUS=OK           203 CALLS     1630 TOTAL
                     EDM=   .69E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1391        3.3462        .15854E-03   -1.5255    
   2  Prefactor     .45470        28.790        .44078E-02   -1.5573    
   3  norm          .10000E-03    3.4773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     25.079        11.003        .79993E-04   -1.4706    
   5  Prefactor     .10000E-03    3.7611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .42482        .71533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.2210        .16506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.468        36.105        .95796E-04   -1.4872    
   9  Prefactor     .10000E-03    20.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.1657        1.3759        .59911E-04   -1.5211    
  11  Prefactor     .10000E-03    14.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     24.568        11.388        .80818E-04   -1.4716    
  13  Prefactor     .10000E-03    2.0685        .15814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.9012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1314        .16062        .27478E-03   -.88750    
  16  Prefactor     .95759        .11918        .22488E-03   -.94157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.90864e-08
Minuit parameter uncertainties:
  1  3.3463
  2  7.23915
  3  3.23157e-06
  4  11.0039
  5  8.42224e-06
  6  7.8693e-07
  7  2.74661e-08
  8  36.1506
  9  7.21748e-06
  10  1.37592
  11  8.64619e-06
  12  11.3889
  13  3.3854e-06
  14  4.16157e-06
  15  0.160694
  16  0.119209
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.000e-04  2.747e-08  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.576e-01  1.192e-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.131e+00  1.607e-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: 1.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/34650/likelihoodResults_278294401_278899201_4FGL_J0100.3+0745_weekly_bin65.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) = 12865.3630976
delta logL = -0.00210217117638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12865.3609955
delta logL = -1.25510268845e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6815       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95759       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=   12865.36     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      236 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    471.05        .16510E-02** at limit **
   2  alpha         1.5978        2.5589        .17744       -.30754E-08
   3  Normalizat    1.1314        .88722E-01    .27478E-03    .12660E-04
   4  Prefactor     .95759        .67796E-01    .22488E-03    .15268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.59776
  Normalizat = 1.1314
  Prefactor  = 0.957594
 **********
 **   18 **HESSE 
 **********

 FCN=   12865.36     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .15E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2312        .33020E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5978        2.8150        .70976E-02   -.36923    
   3  Normalizat    1.1314        .15547        .10991E-04   -.88750    
   4  Prefactor     .95759        .11881        .89951E-05   -.94157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50139e-13
Minuit parameter uncertainties:
  1  1.31665e-07
  2  191.119
  3  0.155533
  4  0.118843
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/34650': 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) = 12865.3609954
delta logL = 9.99461917672e-08

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.000e-04  1.317e-07  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  1.598e+00  1.911e+02  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.576e-01  1.188e-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.131e+00  1.555e-01  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/34650/cmap_HighResolution_278294401_278899201_4FGL_J0100.3+0745_weekly_bin65.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.65e-05', job_status='DONE', photon_flux_upper_limit='1.23e-08', time_completed='2021-07-03 14:16:27.426961', job_id='34650', GAL2='0.96', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1625346987.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='9.99e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='65' AND source_name='4FGL J0100.3+0745' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 14:16:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 34650: <4FGL_J0100.3+0745_weekly_bin65> in cluster <slac> Done

Job <4FGL_J0100.3+0745_weekly_bin65> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Jul  3 14:01:01 2021
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 14:01:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 14:01:02 2021
Terminated at Sat Jul  3 14:16:29 2021
Results reported at Sat Jul  3 14:16:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_weekly_bin65 15.0932 7.7647 278294401 278899201 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 :                                   814.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            928 sec.

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

