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


Performing analysis on: 4FGL_J0100.3+0745_weekly_bin220
RA = 15.0932, Dec = 7.7647
tmin = 372038401, tmax = 372643201
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='36041', job_status='RUN', time_executed='2021-07-03 14:08:07.121541', time_epoch_executed='1625346487.12' WHERE source_name='4FGL J0100.3+0745' and cadence='weekly' and bin_id='220'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/36041

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/36041/ft1_4FGL_J0100.3+0745_weekly_bin220.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/36041/ft2_4FGL_J0100.3+0745_weekly_bin220.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/36041/ft1_4FGL_J0100.3+0745_weekly_bin220.fits outfile=/scratch/kocevski/36041/ft1_filteredMKT_4FGL_J0100.3+0745_weekly_bin220.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=372038401.0 tmax=372643201.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.61
user 7.81
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/36041/ft2_4FGL_J0100.3+0745_weekly_bin220.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/36041/ft1_filteredMKT_4FGL_J0100.3+0745_weekly_bin220.fits evtable="EVENTS" outfile="/scratch/kocevski/36041/ft1_filtered_4FGL_J0100.3+0745_weekly_bin220.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 2.08
user 0.38
sys 0.18

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/36041/ft1_filtered_4FGL_J0100.3+0745_weekly_bin220.fits evtable="EVENTS" scfile=/scratch/kocevski/36041/ft2_4FGL_J0100.3+0745_weekly_bin220.fits sctable="SC_DATA" expcube=/scratch/kocevski/36041/ltcube_372038401_372643201_4FGL_J0100.3+0745_weekly_bin220.fits outfile=/scratch/kocevski/36041/expmap_372038401_372643201_4FGL_J0100.3+0745_weekly_bin220.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/36041/ltcube_372038401_372643201_4FGL_J0100.3+0745_weekly_bin220.fits
.....................!
real 195.19
user 185.90
sys 4.95

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/36041/ft1_filtered_4FGL_J0100.3+0745_weekly_bin220.fits scfile=/scratch/kocevski/36041/ft2_4FGL_J0100.3+0745_weekly_bin220.fits outfile=/scratch/kocevski/36041/cmap_372038401_372643201_4FGL_J0100.3+0745_weekly_bin220.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.91
user 0.41
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/36041/ft1_filtered_4FGL_J0100.3+0745_weekly_bin220.fits scfile=/scratch/kocevski/36041/ft2_4FGL_J0100.3+0745_weekly_bin220.fits outfile=/scratch/kocevski/36041/cmap_HighResolution_372038401_372643201_4FGL_J0100.3+0745_weekly_bin220.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.91
user 0.43
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5036       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.9184       1.0000         .10000E-03   10000.    
     3 'norm      '    16.455       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .66863       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.9086       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.408       1.0000         .10000E-03   10000.    
    10 'norm      '    .15898E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.818       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3159       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.8194       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .80743       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1866       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=   12769.09     FROM MIGRAD    STATUS=CONVERGED    297 CALLS     1334 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5035        3.1535        .19509E-06   -.10632E-03
   2  Prefactor     9.9177        10.380        .76165E-07   -.11972E-03
   3  norm          16.455        7.2820        .48647E-07   -.74752E-05
   4  Prefactor     .10000E-03    2.5463        .38077E-08** at limit **
   5  Prefactor     .10000E-03    2.5442        .12164E-06** at limit **
   6  Prefactor     .66858        1.2798        .93483E-06    .23367E-03
   7  norm          .10000E-03    8.4426       -.22234E-07** at limit **
   8  Prefactor     9.9081        15.558        .18756E-06   -.11327E-04
   9  Prefactor     13.431        38.603       -.48287E-05   -.94397E-04
  10  norm          .10022E-03    .35380        .50019E-06** at limit **
  11  Prefactor     11.797        31.062       -.40357E-06   -.99250E-04
  12  Prefactor     .10000E-03    4.4367        .30466E-07** at limit **
  13  Prefactor     3.3201        5.1716       -.29392E-06   -.33247E-03
  14  Prefactor     5.8195        12.738        .14039E-06   -.14229E-04
  15  Normalizat    .80748        .13715       -.18948E-05   -.45770E-03
  16  Prefactor     1.1866        .10274        .38657E-06   -.70992E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.50348
  Prefactor  = 9.91774
  norm       = 16.4546
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.668584
  norm       = 0.0001
  Prefactor  = 9.90809
  Prefactor  = 13.4306
  norm       = 0.000100221
  Prefactor  = 11.7974
  Prefactor  = 0.0001
  Prefactor  = 3.32005
  Prefactor  = 5.8195
  Normalizat = 0.807483
  Prefactor  = 1.18656
 **********
 **   18 **HESSE 
 **********

 FCN=   12769.09     FROM HESSE     STATUS=OK           211 CALLS     1545 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5035        3.1373        .17859E-03   -1.5334    
   2  Prefactor     9.9177        10.372        .12724E-03   -1.5078    
   3  norm          16.455        7.2850        .98736E-04   -1.4896    
   4  Prefactor     .10000E-03    2.5524        .17607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.6342        .35200E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .66858        1.2674        .17383E-02   -1.5544    
   7  norm          .10000E-03    8.5505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.9081        15.555        .12730E-03   -1.5078    
   9  Prefactor     13.431        38.076        .10939E-03   -1.4975    
  10  norm          .10022E-03    8.1524        .11336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.797        30.693        .11653E-03   -1.5021    
  12  Prefactor     .10000E-03    4.5214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.3201        5.1038        .22231E-03   -1.5344    
  14  Prefactor     5.8195        12.727        .16648E-03   -1.5225    
  15  Normalizat    .80748        .15477        .30351E-03   -.99792    
  16  Prefactor     1.1866        .11747        .19890E-03   -.86746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52406e-08
Minuit parameter uncertainties:
  1  3.13742
  2  10.3738
  3  7.28543
  4  1.50191e-07
  5  7.72265e-06
  6  1.26749
  7  1.16412e-05
  8  15.5612
  9  38.1446
  10  0.00268367
  11  30.7337
  12  6.37706e-06
  13  5.10445
  14  12.7324
  15  0.154855
  16  0.117499
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.000e-04  1.164e-05  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:  1.187e+00  1.175e-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:  8.075e-01  1.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/36041/likelihoodResults_372038401_372643201_4FGL_J0100.3+0745_weekly_bin220.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): 102
logL (Free Index) = 12769.0954003
delta logL = -0.000557405895961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12769.0948424
delta logL = 4.66858182335e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7304       1.0000          .0000       5.0000    
     3 'Normalizat'    .80748       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1866       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=   12768.96     FROM MIGRAD    STATUS=CONVERGED    169 CALLS      317 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .59045        5.5921        .35056E-01    .23054E-02
   2  alpha         3.5932        1.6979        .50000        .78881E-04
   3  Normalizat    .78795        .13040E-01    .30351E-03   -.35285E-04
   4  Prefactor     1.1916        .10223E-01    .19890E-03   -.75128E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.590449
  alpha      = 3.59323
  Normalizat = 0.787948
  Prefactor  = 1.19164
 **********
 **   18 **HESSE 
 **********

 FCN=   12768.96     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      348 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .59045        97.484        .13512E-02   -1.5554    
   2  alpha         3.5932        3.1990        .24450E-01    .45258    
   3  Normalizat    .78795        .97586E-01    .12140E-04   -1.0052    
   4  Prefactor     1.1916        .75935E-01    .39780E-04   -.86589    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.31257e-11
Minuit parameter uncertainties:
  1  15.1975
  2  11.8015
  3  0.0976073
  4  0.075942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/36041': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12768.9603627
delta logL = 0.134480183913

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  5.904e-01  1.520e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  3.593e+00  1.180e+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:  1.192e+00  7.594e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  7.879e-01  9.761e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/36041/cmap_HighResolution_372038401_372643201_4FGL_J0100.3+0745_weekly_bin220.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-05', job_status='DONE', photon_flux_upper_limit='2.10e-08', time_completed='2021-07-03 14:21:42.733630', job_id='36041', GAL2='1.19', fit_tolerance='1e-08', EG2='0.79', EG='0.81', time_epoch_completed='1625347302.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='1.34e-01', ts2='0.28', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='220' AND source_name='4FGL J0100.3+0745' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 14:21:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 36041: <4FGL_J0100.3+0745_weekly_bin220> in cluster <slac> Done

Job <4FGL_J0100.3+0745_weekly_bin220> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Jul  3 14:06:19 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 14:06:20 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:06:20 2021
Terminated at Sat Jul  3 14:21:44 2021
Results reported at Sat Jul  3 14:21:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_weekly_bin220 15.0932 7.7647 372038401 372643201 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 :                                   794.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            925 sec.

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

