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 92 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 = 14587
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0100.3+0745_weekly_bin505
RA = 15.0932, Dec = 7.7647
tmin = 544406401, tmax = 545011201
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='36456', job_status='RUN', time_executed='2021-07-03 14:09:21.641548', time_epoch_executed='1625346561.64' WHERE source_name='4FGL J0100.3+0745' and cadence='weekly' and bin_id='505'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/36456

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

Retrieving the FT1 file...

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

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

Retrieving 97 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/36456/ft1_4FGL_J0100.3+0745_weekly_bin505.fits


Retrieving the FT1 file...

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

Retrieving 97 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/36456/ft2_4FGL_J0100.3+0745_weekly_bin505.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/36456/ft1_4FGL_J0100.3+0745_weekly_bin505.fits outfile=/scratch/kocevski/36456/ft1_filteredMKT_4FGL_J0100.3+0745_weekly_bin505.fits ra=15.0932 dec=7.7647 rad=12.0 tmin=544406401.0 tmax=545011201.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.87
user 11.99
sys 0.44

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/36456/ft1_filtered_4FGL_J0100.3+0745_weekly_bin505.fits" evtable="EVENTS" scfile=/scratch/kocevski/36456/ft2_4FGL_J0100.3+0745_weekly_bin505.fits sctable="SC_DATA" outfile=/scratch/kocevski/36456/ltcube_544406401_545011201_4FGL_J0100.3+0745_weekly_bin505.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/36456/ft2_4FGL_J0100.3+0745_weekly_bin505.fits
.....................!
real 24.75
user 23.53
sys 0.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/36456/ft1_filtered_4FGL_J0100.3+0745_weekly_bin505.fits evtable="EVENTS" scfile=/scratch/kocevski/36456/ft2_4FGL_J0100.3+0745_weekly_bin505.fits sctable="SC_DATA" expcube=/scratch/kocevski/36456/ltcube_544406401_545011201_4FGL_J0100.3+0745_weekly_bin505.fits outfile=/scratch/kocevski/36456/expmap_544406401_545011201_4FGL_J0100.3+0745_weekly_bin505.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/36456/ltcube_544406401_545011201_4FGL_J0100.3+0745_weekly_bin505.fits
.....................!
real 194.85
user 186.36
sys 5.91

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/36456/ft1_filtered_4FGL_J0100.3+0745_weekly_bin505.fits scfile=/scratch/kocevski/36456/ft2_4FGL_J0100.3+0745_weekly_bin505.fits outfile=/scratch/kocevski/36456/cmap_544406401_545011201_4FGL_J0100.3+0745_weekly_bin505.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/36456/ft1_filtered_4FGL_J0100.3+0745_weekly_bin505.fits scfile=/scratch/kocevski/36456/ft2_4FGL_J0100.3+0745_weekly_bin505.fits outfile=/scratch/kocevski/36456/cmap_HighResolution_544406401_545011201_4FGL_J0100.3+0745_weekly_bin505.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.60
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7845       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10116E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.4946       1.0000         .10000E-03   10000.    
     7 'norm      '    160.80       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15479E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    67.222       1.0000         .10000E-03   10000.    
    10 'norm      '    .22643E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    69.561       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.816       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .84667       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.4430       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=   2185.457     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1478 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7827        6.9651        .39347E-06    .37998E-05
   2  Prefactor     .10000E-03    11.084       -.79977E-07** at limit **
   3  norm          .10000E-03    33.906        .23354E-07** at limit **
   4  Prefactor     .10000E-03    42.790       -.57324E-06** at limit **
   5  Prefactor     .10000E-03    52.156       -.48887E-06** at limit **
   6  Prefactor     6.4959        4.6590       -.29227E-06   -.50700E-03
   7  norm          160.72        94.459       -.29240E-05   -.93310E-04
   8  Prefactor     .10000E-03    297.03        .29957E-05** at limit **
   9  Prefactor     67.546        153.38        .56575E-06   -.95218E-04
  10  norm          .10027E-03    2.7124        .30379E-05** at limit **
  11  Prefactor     .10000E-03    90.267       -.14132E-06** at limit **
  12  Prefactor     69.535        115.70       -.10099E-05   -.13882E-04
  13  Prefactor     23.832        16.626       -.22061E-05   -.62767E-03
  14  Prefactor     .10000E-03    47.773        .79387E-06** at limit **
  15  Normalizat    .84707        .45002       -.13802E-04   -.28213E-03
  16  Prefactor     1.4431        .34258        .20507E-05   -.57409E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.78266
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.49592
  norm       = 160.72
  Prefactor  = 0.000100001
  Prefactor  = 67.5456
  norm       = 0.000100266
  Prefactor  = 0.0001
  Prefactor  = 69.535
  Prefactor  = 23.8318
  Prefactor  = 0.0001
  Normalizat = 0.847074
  Prefactor  = 1.44309
 **********
 **   18 **HESSE 
 **********

 FCN=   2185.457     FROM HESSE     STATUS=OK           191 CALLS     1669 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7827        6.9775        .13038E-03   -1.5227    
   2  Prefactor     .10000E-03    11.122        .15200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    33.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    42.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    52.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.4959        4.6640        .81581E-04   -1.5198    
   7  norm          160.72        94.462        .15900E-03   -1.3166    
   8  Prefactor     .10000E-03    297.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     67.546        153.68        .24477E-03   -1.4062    
  10  norm          .10027E-03    15.011        .12898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    90.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     69.535        115.75        .24064E-03   -1.4038    
  13  Prefactor     23.832        16.763        .82081E-04   -1.4731    
  14  Prefactor     .10000E-03    47.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .84707        .50280        .40128E-03   -.98346    
  16  Prefactor     1.4431        .39605        .25200E-03   -.79146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85618e-08
Minuit parameter uncertainties:
  1  6.97844
  2  5.4285e-05
  3  2.23346e-05
  4  4.83075e-05
  5  0.00024814
  6  4.66423
  7  94.5508
  8  0.000787924
  9  154.601
  10  0.00399638
  11  0.000358281
  12  116.127
  13  16.7661
  14  7.0239e-05
  15  0.505607
  16  0.396892
Done.

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

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.607e+02  9.455e+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:  1.443e+00  3.969e-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.471e-01  5.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.53
Ra Dec: 15.093 7.765
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 1.54e-07 +/- 9.06e-08
Energy Flux (Fixed Index): 2.05e-04 +/- 1.21e-04

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) = 2184.70053671
delta logL = 0.756928404174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2184.69942528
delta logL = 0.758039828732

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    105.46       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4442       1.0000          .0000       5.0000    
     3 'Normalizat'    .76674       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4627       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=   2184.699     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      297 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          105.50        100.84        .19579E-03   -.51969E-05
   2  alpha         2.4443        .68352        .63681E-02    .59806E-05
   3  Normalizat    .76756        .49004        .41848E-03    .74708E-06
   4  Prefactor     1.4621        .39283        .25017E-03    .29538E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 105.504
  alpha      = 2.44429
  Normalizat = 0.767555
  Prefactor  = 1.46209
 **********
 **   18 **HESSE 
 **********

 FCN=   2184.699     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          105.50        95.119        .78316E-05   -1.3650    
   2  alpha         2.4443        .64508        .25473E-03   -.22284E-01
   3  Normalizat    .76756        .48869        .16739E-04   -1.0128    
   4  Prefactor     1.4621        .39210        .10007E-04   -.78607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.57604e-13
Minuit parameter uncertainties:
  1  95.2565
  2  0.652468
  3  0.491518
  4  0.392911
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/36456': 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) = 2184.69942324
delta logL = 0.758041871169

Extracting fit parameters...

4FGL J0100.3+0745
   Spectrum: LogParabola
237         norm:  1.055e+02  9.526e+01  1.000e-04  1.000e+04 ( 1.000e-13)
238        alpha:  2.444e+00  6.525e-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.462e+00  3.929e-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:  7.676e-01  4.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.91
Ra Dec: 15.093 7.765
Photon Index (Free Index): 2.44 +/- 0.65
Photon Flux (Free Index): 3.25e-07 +/- 2.32e-07
Energy Flux (Free Index): 1.29e-04 +/- 7.55e-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/36456/cmap_HighResolution_544406401_545011201_4FGL_J0100.3+0745_weekly_bin505.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.54e-07', energy_flux2='1.29e-04', photon_flux_error='9.06e-08', dlogl='7.58e-01', energy_flux='2.05e-04', photon_flux2='3.25e-07', job_status='DONE', time_completed='2021-07-03 14:17:00.159560', photon_index_error2='0.65', photon_index2='2.44', ts='5.53', fit_tolerance='1e-08', GAL='1.44', photon_index_error='0.00', energy_flux_error2='7.55e-05', EG='0.85', time_epoch_completed='1625347020.16', return_code='0', job_id='36456', GAL2='1.46', EG2='0.77', return_code2='0', energy_flux_error='1.21e-04', photon_flux_error2='2.32e-07', ts2='6.91', photon_index='1.68' WHERE bin_id='505' AND source_name='4FGL J0100.3+0745' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 14:17:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 36456: <4FGL_J0100.3+0745_weekly_bin505> in cluster <slac> Done

Job <4FGL_J0100.3+0745_weekly_bin505> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Jul  3 14:06:45 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 14:06:46 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:46 2021
Terminated at Sat Jul  3 14:17:00 2021
Results reported at Sat Jul  3 14:17:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0100.3+0745_weekly_bin505 15.0932 7.7647 544406401 545011201 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 :                                   442.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            615 sec.

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

