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 214 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7622
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0014.1+1910_daily_bin1724
RA = 3.5368, Dec = 19.1713
tmin = 686188801, tmax = 686448001
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='684556', job_status='RUN', time_executed='2022-10-03 00:08:57.894954', time_epoch_executed='1664780937.89' WHERE source_name='4FGL J0014.1+1910' and cadence='daily' and bin_id='1724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/684556

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/684556/ft1_4FGL_J0014.1+1910_daily_bin1724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/684556/ft2_4FGL_J0014.1+1910_daily_bin1724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/684556/ft1_4FGL_J0014.1+1910_daily_bin1724.fits outfile=/scratch/kocevski/684556/ft1_filteredMKT_4FGL_J0014.1+1910_daily_bin1724.fits ra=3.5368 dec=19.1713 rad=12.0 tmin=686188801.0 tmax=686448001.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 4.65
user 4.35
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/684556/ft2_4FGL_J0014.1+1910_daily_bin1724.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/684556/ft1_filteredMKT_4FGL_J0014.1+1910_daily_bin1724.fits evtable="EVENTS" outfile="/scratch/kocevski/684556/ft1_filtered_4FGL_J0014.1+1910_daily_bin1724.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.53
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 639

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/684556/ft1_filtered_4FGL_J0014.1+1910_daily_bin1724.fits" evtable="EVENTS" scfile=/scratch/kocevski/684556/ft2_4FGL_J0014.1+1910_daily_bin1724.fits sctable="SC_DATA" outfile=/scratch/kocevski/684556/ltcube_686188801_686448001_4FGL_J0014.1+1910_daily_bin1724.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/684556/ft2_4FGL_J0014.1+1910_daily_bin1724.fits
.....................!
real 14.00
user 13.32
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/684556/ft1_filtered_4FGL_J0014.1+1910_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/684556/ft2_4FGL_J0014.1+1910_daily_bin1724.fits sctable="SC_DATA" expcube=/scratch/kocevski/684556/ltcube_686188801_686448001_4FGL_J0014.1+1910_daily_bin1724.fits outfile=/scratch/kocevski/684556/expmap_686188801_686448001_4FGL_J0014.1+1910_daily_bin1724.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/684556/ltcube_686188801_686448001_4FGL_J0014.1+1910_daily_bin1724.fits
.....................!
real 192.05
user 185.42
sys 5.82

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/684556/ft1_filtered_4FGL_J0014.1+1910_daily_bin1724.fits scfile=/scratch/kocevski/684556/ft2_4FGL_J0014.1+1910_daily_bin1724.fits outfile=/scratch/kocevski/684556/cmap_686188801_686448001_4FGL_J0014.1+1910_daily_bin1724.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.57
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/684556/ft1_filtered_4FGL_J0014.1+1910_daily_bin1724.fits scfile=/scratch/kocevski/684556/ft2_4FGL_J0014.1+1910_daily_bin1724.fits outfile=/scratch/kocevski/684556/cmap_HighResolution_686188801_686448001_4FGL_J0014.1+1910_daily_bin1724.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.56
user 0.38
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/684556/ft1_filtered_4FGL_J0014.1+1910_daily_bin1724.fits', '/scratch/kocevski/684556/ft2_4FGL_J0014.1+1910_daily_bin1724.fits', expMap='/scratch/kocevski/684556/expmap_686188801_686448001_4FGL_J0014.1+1910_daily_bin1724.fits', expCube='/scratch/kocevski/684556/ltcube_686188801_686448001_4FGL_J0014.1+1910_daily_bin1724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/684556/Model_4FGL_J0014.1+1910_daily_bin1724.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  0.000e+00  1.000e+06 ( 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/684556/ft1_filtered_4FGL_J0014.1+1910_daily_bin1724.fits
Spacecraft file(s): /scratch/kocevski/684556/ft2_4FGL_J0014.1+1910_daily_bin1724.fits
Exposure map: /scratch/kocevski/684556/expmap_686188801_686448001_4FGL_J0014.1+1910_daily_bin1724.fits
Exposure cube: /scratch/kocevski/684556/ltcube_686188801_686448001_4FGL_J0014.1+1910_daily_bin1724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/684556/Model_4FGL_J0014.1+1910_daily_bin1724.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) = 6947.94078065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32196E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.257       1.0000          .0000       .10000E+07
     3 'Prefactor '    .85765E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .46708       1.0000          .0000       .10000E+07
     5 'norm      '    17.748       1.0000          .0000       .10000E+07
     6 'Prefactor '    .48821E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60567E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .25556E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .76671E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6415       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12993       1.0000          .0000       .10000E+07
    12 'norm      '    21.381       1.0000          .0000       .10000E+07
    13 'Prefactor '    .52625E-07   1.0000          .0000       .10000E+07
    14 'Normalizat'    .91898       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.2861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6947.105     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      803 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.3010       -.60291E-08** at limit **
   2  Prefactor     10.163        8.3534       -.25093E-06   -.88234E-03
   3  Prefactor     .22204E-09    3.9170       -.83434E-06** at limit **
   4  Prefactor     .49260        7.0034        .10396E-08    .12985E-03
   5  norm          17.642        2.5958        .86628E-07   -.32761E-01
   6  Prefactor      .0000        8.7943       -.73844E-06** at limit **
   7  Prefactor     .31641E-08    11.972        .13286E-05** at limit **
   8  norm          .55511E-10    3.4470        .61974E-07** at limit **
   9  Prefactor      .0000        15.981       -.53579E-06** at limit **
  10  Prefactor     2.6831        6.6157       -.19618E-05   -.15719E-02
  11  Prefactor     .79936E-08    1.1035       -.30295E-06** at limit **
  12  norm          21.123        1.2909       -.25998E-08    .63470E-02
  13  Prefactor     .44409E-09    4.6737        .71560E-06** at limit **
  14  Normalizat    .91923        .22654       -.22957E-06   -.16885E-03
  15  Prefactor     1.2862        .16006        .22834E-05   -.38089E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 10.1626
  Prefactor  = 2.22045e-10
  Prefactor  = 0.492604
  norm       = 17.6418
  Prefactor  = 0
  Prefactor  = 3.16414e-09
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.68307
  Prefactor  = 7.99361e-09
  norm       = 21.123
  Prefactor  = 4.44089e-10
  Normalizat = 0.919233
  Prefactor  = 1.28618
 **********
 **   18 **HESSE 
 **********

 FCN=   6947.105     FROM HESSE     STATUS=OK           216 CALLS     1019 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.2923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.163        8.3659        .31262E-03   -1.5644    
   3  Prefactor     .22204E-09    4.0084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .49260        1.9780        .61065E-02   -1.5694    
   5  norm          17.642        12.360        .23746E-03   -1.5624    
   6  Prefactor      .0000        8.8382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .31641E-08    12.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    3.4451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        15.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.6831        6.6565        .62706E-03   -1.5675    
  11  Prefactor     .79936E-08    35.625        .13186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          21.123        14.344        .21633E-03   -1.5616    
  13  Prefactor     .44409E-09    4.6911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .91923        .19922        .71866E-01   -.95788    
  15  Prefactor     1.2862        .13983        .32856E-01   -.83719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08359e-07
Minuit parameter uncertainties:
  1  5.77601e-06
  2  8.36587
  3  5.78974e-05
  4  1.97422
  5  12.3605
  6  9.24646e-06
  7  0.000390895
  8  2.21861e-05
  9  3.06416e-05
  10  6.65654
  11  0.00106741
  12  14.3441
  13  9.25629e-05
  14  0.199377
  15  0.139873
Done.

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

Extracting fit parameters...

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  2.220e-10  5.790e-05  0.000e+00  1.000e+06 ( 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:  1.286e+00  1.399e-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:  9.192e-01  1.994e-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: 5.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/684556/likelihoodResults_686188801_686448001_4FGL_J0014.1+1910_daily_bin1724.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) = 6947.10494782
delta logL = -0.000240525261688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6947.10470789
delta logL = -5.96885001869e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27467E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .46568       1.0000          .0000       10.000    
     3 'Normalizat'    .91940       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2861       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6947.105     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      248 TOTAL
                     EDM=   .71E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.9791        .42118E-03** at limit **
   2  Index         3.3198        1.7986        .15598E-04     .0000    
   3  Normalizat    .91923        1.2537       -.25305E-04   -.63348E-05
   4  Prefactor     1.2862        1.0803        .16217E-04   -.64048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.31979
  Normalizat = 0.919232
  Prefactor  = 1.28618
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6947.105     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .71E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.9791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2347        2.2125        .15598E-04   -.34271    
   3  Normalizat    .91923        1.2537       -.25305E-04   -.95788    
   4  Prefactor     1.2862        1.0803        .16217E-04   -.83719    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.13556e-12
Minuit parameter uncertainties:
  1  7.32157e-06
  2  1.84552
  3  1.29732
  4  1.09995
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/684556': 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): 101
logL (Free Index) = 6947.10470729
delta logL = 6.91215973347e-11

Extracting fit parameters...

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  0.000e+00  7.322e-06  0.000e+00  1.000e+06 ( 1.000e-13)
58         Index:  3.320e+00  1.846e+00  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:  1.286e+00  1.100e+00  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:  9.192e-01  1.297e+00  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/684556/cmap_HighResolution_686188801_686448001_4FGL_J0014.1+1910_daily_bin1724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.88e-08', time_completed='2022-10-03 00:17:27.578171', job_id='684556', GAL2='1.29', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1664781447.58', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1724' AND source_name='4FGL J0014.1+1910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct  3 00:17:27 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0198>
Subject: Job 684595: <4FGL_J0014.1+1910_daily_bin1724> in cluster <slac> Done

Job <4FGL_J0014.1+1910_daily_bin1724> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct  3 00:05:17 2022
Job was executed on host(s) <bullet0198>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 00:05:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 00:05:45 2022
Terminated at Mon Oct  3 00:16:16 2022
Results reported at Mon Oct  3 00:16:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.1+1910_daily_bin1724 3.5368 19.1713 686188801 686448001 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 :                                   515.07 sec.
    Max Memory :                                 1098 MB
    Average Memory :                             317.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3406 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            659 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 684556: <4FGL_J0014.1+1910_daily_bin1724> in cluster <slac> Done

Job <4FGL_J0014.1+1910_daily_bin1724> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Oct  3 00:05:13 2022
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 00:05:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 00:05:15 2022
Terminated at Mon Oct  3 00:17:28 2022
Results reported at Mon Oct  3 00:17:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.1+1910_daily_bin1724 3.5368 19.1713 686188801 686448001 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 :                                   511.57 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             239.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            735 sec.

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

