aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 38 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 = 17484
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0014.1+1910_weekly_bin717
RA = 3.5368, Dec = 19.1713
tmin = 672624001, tmax = 673228801
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='363764', job_status='RUN', time_executed='2022-05-03 00:47:04.118026', time_epoch_executed='1651564024.12' WHERE source_name='4FGL J0014.1+1910' and cadence='weekly' and bin_id='717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/363764

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/363764/ft1_4FGL_J0014.1+1910_weekly_bin717.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/363764/ft2_4FGL_J0014.1+1910_weekly_bin717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/363764/ft1_4FGL_J0014.1+1910_weekly_bin717.fits outfile=/scratch/kocevski/363764/ft1_filteredMKT_4FGL_J0014.1+1910_weekly_bin717.fits ra=3.5368 dec=19.1713 rad=12.0 tmin=672624001.0 tmax=673228801.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 6.53
user 6.23
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/363764/ft2_4FGL_J0014.1+1910_weekly_bin717.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/363764/ft2_4FGL_J0014.1+1910_weekly_bin717.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/363764/ft1_filteredMKT_4FGL_J0014.1+1910_weekly_bin717.fits evtable="EVENTS" outfile="/scratch/kocevski/363764/ft1_filtered_4FGL_J0014.1+1910_weekly_bin717.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.55
user 0.39
sys 0.15

Number of photons that the gtmktime cut: 1112

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/363764/ft1_filtered_4FGL_J0014.1+1910_weekly_bin717.fits" evtable="EVENTS" scfile=/scratch/kocevski/363764/ft2_4FGL_J0014.1+1910_weekly_bin717.fits sctable="SC_DATA" outfile=/scratch/kocevski/363764/ltcube_672624001_673228801_4FGL_J0014.1+1910_weekly_bin717.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/363764/ft2_4FGL_J0014.1+1910_weekly_bin717.fits
.....................!
real 33.26
user 32.83
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/363764/ft1_filtered_4FGL_J0014.1+1910_weekly_bin717.fits evtable="EVENTS" scfile=/scratch/kocevski/363764/ft2_4FGL_J0014.1+1910_weekly_bin717.fits sctable="SC_DATA" expcube=/scratch/kocevski/363764/ltcube_672624001_673228801_4FGL_J0014.1+1910_weekly_bin717.fits outfile=/scratch/kocevski/363764/expmap_672624001_673228801_4FGL_J0014.1+1910_weekly_bin717.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/363764/ltcube_672624001_673228801_4FGL_J0014.1+1910_weekly_bin717.fits
.....................!
real 192.65
user 186.54
sys 5.57

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J0014.1+1910 @ 3.5368 19.1713

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/363764/ft1_filtered_4FGL_J0014.1+1910_weekly_bin717.fits scfile=/scratch/kocevski/363764/ft2_4FGL_J0014.1+1910_weekly_bin717.fits outfile=/scratch/kocevski/363764/cmap_672624001_673228801_4FGL_J0014.1+1910_weekly_bin717.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=3.5368 yref=19.1713 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.58
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/363764/ft1_filtered_4FGL_J0014.1+1910_weekly_bin717.fits scfile=/scratch/kocevski/363764/ft2_4FGL_J0014.1+1910_weekly_bin717.fits outfile=/scratch/kocevski/363764/cmap_HighResolution_672624001_673228801_4FGL_J0014.1+1910_weekly_bin717.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=3.5368 yref=19.1713 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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/363764/ft1_filtered_4FGL_J0014.1+1910_weekly_bin717.fits evtable="EVENTS" scfile=/scratch/kocevski/363764/ft2_4FGL_J0014.1+1910_weekly_bin717.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/363764/Model_4FGL_J0014.1+1910_weekly_bin717.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/363764/ft1_filtered_4FGL_J0014.1+1910_weekly_bin717.fits.....................!
real 132.47
user 130.86
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/363764/ft1_filtered_4FGL_J0014.1+1910_weekly_bin717.fits', '/scratch/kocevski/363764/ft2_4FGL_J0014.1+1910_weekly_bin717.fits', expMap='/scratch/kocevski/363764/expmap_672624001_673228801_4FGL_J0014.1+1910_weekly_bin717.fits', expCube='/scratch/kocevski/363764/ltcube_672624001_673228801_4FGL_J0014.1+1910_weekly_bin717.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/363764/Model_4FGL_J0014.1+1910_weekly_bin717.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0014.1+1910'

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  1.230e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
58         Index:  2.276e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
59         Scale:  1.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/363764/ft1_filtered_4FGL_J0014.1+1910_weekly_bin717.fits
Spacecraft file(s): /scratch/kocevski/363764/ft2_4FGL_J0014.1+1910_weekly_bin717.fits
Exposure map: /scratch/kocevski/363764/expmap_672624001_673228801_4FGL_J0014.1+1910_weekly_bin717.fits
Exposure cube: /scratch/kocevski/363764/ltcube_672624001_673228801_4FGL_J0014.1+1910_weekly_bin717.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/363764/Model_4FGL_J0014.1+1910_weekly_bin717.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 12573.318714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .48277       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .36676       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .28630E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    11.475       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12534E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.3083       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .68526       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .23983E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1082       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .98384       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12572.34     FROM MIGRAD    STATUS=CONVERGED    315 CALLS     1290 TOTAL
                     EDM=   .81E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48162        1.5390       -.24074E-07   -.53174E-05
   2  Prefactor     .39082        3.2023       -.61254E-07    .32324E-04
   3  Prefactor     .10000E-03    2.2665       -.19931E-07** at limit **
   4  Prefactor     .10000E-03    45.264       -.93996E-05** at limit **
   5  Prefactor     .10000E-03    1.6158       -.95651E-08** at limit **
   6  norm          11.518        7.9885       -.29212E-05   -.14685E-04
   7  Prefactor     .10000E-03    9.8499       -.12164E-05** at limit **
   8  Prefactor     .10000E-03    7.1131        .39057E-05** at limit **
   9  norm          .10000E-03    2.6559        .26406E-07** at limit **
  10  Prefactor     8.3523        5.9343       -.21113E-06   -.88673E-04
  11  Prefactor     .66740        .46236        .12460E-07   -.18909E-03
  12  Prefactor     .10000E-03    6.6381       -.22049E-05** at limit **
  13  norm          .10000E-03    2.1288       -.46026E-06** at limit **
  14  Prefactor     .10000E-03    1.4998        .11397E-06** at limit **
  15  Normalizat    1.1080        .13824        .13464E-06    .96727E-04
  16  Prefactor     .98383        .91130E-01    .10993E-06    .11270E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.481621
  Prefactor  = 0.39082
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.5185
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.35234
  Prefactor  = 0.667403
  Prefactor  = 0.0001
  norm       = 0.000100005
  Prefactor  = 0.0001
  Normalizat = 1.10805
  Prefactor  = 0.983832
 **********
 **   18 **HESSE 
 **********

 FCN=   12572.34     FROM HESSE     STATUS=OK           203 CALLS     1493 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48162        1.5034        .22861E-03   -1.5569    
   2  Prefactor     .39082        11.188        .37393E-02   -1.5583    
   3  Prefactor     .10000E-03    2.2768        .16480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    46.257        .42819E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.6727        .27814E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          11.518        8.0114        .11826E-03   -1.5029    
   7  Prefactor     .10000E-03    9.8802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.1705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.6651        .17846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.3523        5.9371        .13908E-03   -1.5130    
  11  Prefactor     .66740        12.293        .24010E-02   -1.5545    
  12  Prefactor     .10000E-03    6.6773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.4591        .31691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.5099        .13406E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1080        .16446        .28091E-03   -.89494    
  16  Prefactor     .98383        .10905        .19600E-03   -.93270    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.46608e-10
Minuit parameter uncertainties:
  1  1.5035
  2  4.1825
  3  1.69221e-07
  4  0.000191311
  5  1.46421e-06
  6  8.01218
  7  9.86701e-06
  8  8.13188e-06
  9  7.53882e-08
  10  5.93751
  11  5.72952
  12  2.03089e-06
  13  0.000396337
  14  5.29581e-07
  15  0.16454
  16  0.109074
Done.

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

Extracting fit parameters...

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  1.000e-04  1.692e-07  1.000e-04  1.000e+04 ( 1.000e-13)
58         Index:  2.276e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
59         Scale:  1.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  9.838e-01  1.091e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.108e+00  1.645e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 3.537 19.171
Photon Flux Upper Limit: 3.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/363764/likelihoodResults_672624001_673228801_4FGL_J0014.1+1910_weekly_bin717.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) = 12572.3395424
delta logL = -0.00209177989927

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12572.3374503
delta logL = 3.52043571183e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2487       1.0000          .0000       10.000    
     3 'Normalizat'    1.1080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98385       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+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=   12572.34     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      243 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10275E-03    1.1255        .16978E-01** at limit **
   2  Index         2.1656        6.7239        .50000        .81656E-04
   3  Normalizat    1.1080        .23925E-02    .28091E-03    .68395E-04
   4  Prefactor     .98383        .15922E-02    .19600E-03    .27958E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102754
  Index      = 2.16558
  Normalizat = 1.10805
  Prefactor  = 0.983832
 **********
 **   18 **HESSE 
 **********

 FCN=   12572.34     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10275E-03    24.319        .17378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1656        8.5633        .50000       -.60272    
   3  Normalizat    1.1080        .11141E-01    .11237E-04   -.89494    
   4  Prefactor     .98383        .74147E-02    .78398E-05   -.93270    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.11101e-08
Minuit parameter uncertainties:
  1  0.0163728
  2  169.991
  3  0.0111414
  4  0.00741469
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/363764': 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) = 12572.3374487
delta logL = 1.87841942534e-06

Extracting fit parameters...

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  1.028e-04  1.637e-02  1.000e-04  1.000e+04 ( 1.000e-13)
58         Index:  2.166e+00  1.700e+02  0.000e+00  1.000e+01 (-1.000e+00)
59         Scale:  1.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  9.838e-01  7.415e-03  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.108e+00  1.114e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 3.537 19.171

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/363764/cmap_HighResolution_672624001_673228801_4FGL_J0014.1+1910_weekly_bin717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.73e-03', job_status='DONE', photon_flux_upper_limit='3.56e-08', time_completed='2022-05-03 00:59:51.505306', job_id='363764', GAL2='0.98', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1651564791.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.88e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='717' AND source_name='4FGL J0014.1+1910' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May  3 00:59:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 363764: <4FGL_J0014.1+1910_weekly_bin717> in cluster <slac> Done

Job <4FGL_J0014.1+1910_weekly_bin717> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue May  3 00:45:32 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:46:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:46:17 2022
Terminated at Tue May  3 00:59:52 2022
Results reported at Tue May  3 00:59:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.1+1910_weekly_bin717 3.5368 19.1713 672624001 673228801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0014.1+1910 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   768.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             375.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            860 sec.

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

