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


Performing analysis on: 4FGL_J1912.0+1612_daily_bin1668
RA = 288.021, Dec = 16.2021
tmin = 671673601, tmax = 671932801
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='577055', job_status='RUN', time_executed='2022-04-18 03:14:19.562553', time_epoch_executed='1650276859.56' WHERE source_name='4FGL J1912.0+1612' and cadence='daily' and bin_id='1668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/577055

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/577055/ft1_4FGL_J1912.0+1612_daily_bin1668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/577055/ft2_4FGL_J1912.0+1612_daily_bin1668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/577055/ft1_4FGL_J1912.0+1612_daily_bin1668.fits outfile=/scratch/kocevski/577055/ft1_filteredMKT_4FGL_J1912.0+1612_daily_bin1668.fits ra=288.021 dec=16.2021 rad=12.0 tmin=671673601.0 tmax=671932801.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 3.62
user 3.32
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/577055/ft2_4FGL_J1912.0+1612_daily_bin1668.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/577055/ft2_4FGL_J1912.0+1612_daily_bin1668.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/577055/ft1_filteredMKT_4FGL_J1912.0+1612_daily_bin1668.fits evtable="EVENTS" outfile="/scratch/kocevski/577055/ft1_filtered_4FGL_J1912.0+1612_daily_bin1668.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 6070

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/577055/ft1_filtered_4FGL_J1912.0+1612_daily_bin1668.fits" evtable="EVENTS" scfile=/scratch/kocevski/577055/ft2_4FGL_J1912.0+1612_daily_bin1668.fits sctable="SC_DATA" outfile=/scratch/kocevski/577055/ltcube_671673601_671932801_4FGL_J1912.0+1612_daily_bin1668.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/577055/ft2_4FGL_J1912.0+1612_daily_bin1668.fits
.....................!
real 15.17
user 14.59
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/577055/ft1_filtered_4FGL_J1912.0+1612_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/577055/ft2_4FGL_J1912.0+1612_daily_bin1668.fits sctable="SC_DATA" expcube=/scratch/kocevski/577055/ltcube_671673601_671932801_4FGL_J1912.0+1612_daily_bin1668.fits outfile=/scratch/kocevski/577055/expmap_671673601_671932801_4FGL_J1912.0+1612_daily_bin1668.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/577055/ltcube_671673601_671932801_4FGL_J1912.0+1612_daily_bin1668.fits
.....................!
real 193.83
user 186.85
sys 5.58

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
Extended source W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Added 283 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1912.0+1612 @ 288.021 16.2021

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/577055/ft1_filtered_4FGL_J1912.0+1612_daily_bin1668.fits scfile=/scratch/kocevski/577055/ft2_4FGL_J1912.0+1612_daily_bin1668.fits outfile=/scratch/kocevski/577055/cmap_671673601_671932801_4FGL_J1912.0+1612_daily_bin1668.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=288.021 yref=16.2021 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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/577055/ft1_filtered_4FGL_J1912.0+1612_daily_bin1668.fits scfile=/scratch/kocevski/577055/ft2_4FGL_J1912.0+1612_daily_bin1668.fits outfile=/scratch/kocevski/577055/cmap_HighResolution_671673601_671932801_4FGL_J1912.0+1612_daily_bin1668.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=288.021 yref=16.2021 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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/577055/ft1_filtered_4FGL_J1912.0+1612_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/577055/ft2_4FGL_J1912.0+1612_daily_bin1668.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/577055/Model_4FGL_J1912.0+1612_daily_bin1668.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 G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/scratch/kocevski/577055/ft1_filtered_4FGL_J1912.0+1612_daily_bin1668.fits.....................!
real 1698.79
user 1682.39
sys 2.57

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/577055/ft1_filtered_4FGL_J1912.0+1612_daily_bin1668.fits', '/scratch/kocevski/577055/ft2_4FGL_J1912.0+1612_daily_bin1668.fits', expMap='/scratch/kocevski/577055/expmap_671673601_671932801_4FGL_J1912.0+1612_daily_bin1668.fits', expCube='/scratch/kocevski/577055/ltcube_671673601_671932801_4FGL_J1912.0+1612_daily_bin1668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/577055/Model_4FGL_J1912.0+1612_daily_bin1668.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1912.0+1612'

4FGL J1912.0+1612
   Spectrum: PowerLaw
549    Prefactor:  2.266e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
550        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
551        Scale:  1.434e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/577055/ft1_filtered_4FGL_J1912.0+1612_daily_bin1668.fits
Spacecraft file(s): /scratch/kocevski/577055/ft2_4FGL_J1912.0+1612_daily_bin1668.fits
Exposure map: /scratch/kocevski/577055/expmap_671673601_671932801_4FGL_J1912.0+1612_daily_bin1668.fits
Exposure cube: /scratch/kocevski/577055/ltcube_671673601_671932801_4FGL_J1912.0+1612_daily_bin1668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/577055/Model_4FGL_J1912.0+1612_daily_bin1668.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) = 54687.6754406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5629       1.0000         .10000E-03   10000.    
     2 'Prefactor '    50.634       1.0000         .10000E-03   10000.    
     3 'norm      '    7.0499       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    28.205       1.0000         .10000E-03   10000.    
     6 'norm      '    3.6211       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16805E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.0848       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0169       1.0000          .0000       10.000    
    14 'norm      '    6.9382       1.0000         .10000E-03   10000.    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1044E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   54687.67     FROM MIGRAD    STATUS=CONVERGED    263 CALLS     1252 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5643        68.784        .85370E-06   -.10372E-05
   2  Prefactor     50.635        26.043       -.80423E-06   -.27678E-04
   3  norm          7.0495        8.1302       -.19893E-05   -.90881E-04
   4  Prefactor     .10000E-03    22.521       -.11239E-06** at limit **
   5  norm          28.204        22.596        .38510E-06    .19207E-05
   6  norm          3.6211        3.4439        .14836E-05    .18515E-03
   7  Prefactor     .10000E-03    1.1691        .60844E-08** at limit **
   8  Prefactor     .10000E-03    1.2910       -.76566E-09** at limit **
   9  Prefactor     .10000E-03    9.1271       -.18786E-06** at limit **
  10  Prefactor     .10000E-03    8.6418       -.15553E-06** at limit **
  11  norm          .10000E-03    2.4342       -.23162E-07** at limit **
  12  Normalizat    1.0847        .34498        .16460E-05   -.13861E-04
  13  Prefactor     1.0169        .23104E-01   -.40576E-07   -.51682E-04
  14  norm          6.9382        .79063        .69448E-07   -.60930E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.56426
  Prefactor  = 50.6352
  norm       = 7.04947
  Prefactor  = 0.0001
  norm       = 28.2044
  norm       = 3.62106
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.08473
  Prefactor  = 1.01695
  norm       = 6.93822
 **********
 **   18 **HESSE 
 **********

 FCN=   54687.67     FROM HESSE     STATUS=OK           172 CALLS     1424 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5643        68.372        .17034E-03   -1.5236    
   2  Prefactor     50.635        25.913        .56359E-04   -1.4284    
   3  norm          7.0495        8.1460        .15109E-03   -1.5177    
   4  Prefactor     .10000E-03    22.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          28.204        22.710        .75436E-04   -1.4645    
   6  norm          3.6211        3.4478        .21232E-03   -1.5327    
   7  Prefactor     .10000E-03    1.1962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.3029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.4494        .24096       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.6480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.5133        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.0847        .31487        .16451E-02   -.90244    
  13  Prefactor     1.0169        .22005E-01    .11630E-03   -.92167    
  14  norm          6.9382        1.8182        .76154E-03   -1.5181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75844e-09
Minuit parameter uncertainties:
  1  39.0649
  2  25.919
  3  8.14724
  4  1.8243e-05
  5  22.7168
  6  3.44796
  7  8.82929e-07
  8  9.44526e-07
  9  9.5649e-05
  10  2.95746e-06
  11  2.05245e-06
  12  0.315412
  13  0.0220057
  14  1.81819
Done.

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

Extracting fit parameters...

4FGL J1912.0+1612
   Spectrum: PowerLaw
549    Prefactor:  1.000e-04  1.824e-05  1.000e-04  1.000e+04 ( 1.000e-13)
550        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
551        Scale:  1.434e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1026    Prefactor:  1.017e+00  2.201e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1027        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1028        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1022   Normalization:  1.085e+00  3.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 288.021 16.202
Photon Flux Upper Limit: 1.92e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.50e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/577055/likelihoodResults_671673601_671932801_4FGL_J1912.0+1612_daily_bin1668.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) = 54687.6717249
delta logL = -0.000209093414014

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 54687.6715157
delta logL = 1.33390130941e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10867E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5789       1.0000          .0000       10.000    
     3 'Normalizat'    1.0846       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0170       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1044E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   54687.67     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    315.81        .90712E-02** at limit **
   2  Index         2.6690        6.4512        .50000       -.37073E-04
   3  Normalizat    1.0847        .27761E-01    .36496        .27635E-03
   4  Prefactor     1.0169        .19211E-02    .26314E-01    .84493E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010011
  Index      = 2.66899
  Normalizat = 1.08473
  Prefactor  = 1.01695
 **********
 **   18 **HESSE 
 **********

 FCN=   54687.67     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      265 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10011E-03    8398.1        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6690        5.0038        .50000       -.48499    
   3  Normalizat    1.0847        .22561        .16451E-02   -.90244    
   4  Prefactor     1.0169        .15940E-01    .11630E-03   -.92167    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.63346e-06
Minuit parameter uncertainties:
  1  0.0644215
  2  65.1995
  3  0.225811
  4  0.0159403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/577055': 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) = 54687.6715147
delta logL = 1.05350773083e-06

Extracting fit parameters...

4FGL J1912.0+1612
   Spectrum: PowerLaw
549    Prefactor:  1.001e-04  6.442e-02  1.000e-04  1.000e+04 ( 1.000e-13)
550        Index:  2.669e+00  6.520e+01  0.000e+00  1.000e+01 (-1.000e+00)
551        Scale:  1.434e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1026    Prefactor:  1.017e+00  1.594e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1027        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1028        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1022   Normalization:  1.085e+00  2.258e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 288.021 16.202

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/577055/cmap_HighResolution_671673601_671932801_4FGL_J1912.0+1612_daily_bin1668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-02', job_status='DONE', photon_flux_upper_limit='1.92e-07', time_completed='2022-04-18 04:37:29.769414', job_id='577055', GAL2='1.02', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1650281849.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.05e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1668' AND source_name='4FGL J1912.0+1612' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Apr 18 04:37:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0248>
Subject: Job 577055: <4FGL_J1912.0+1612_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1912.0+1612_daily_bin1668> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Apr 18 01:35:14 2022
Job was executed on host(s) <bullet0248>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 03:10:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 03:10:15 2022
Terminated at Mon Apr 18 04:37:30 2022
Results reported at Mon Apr 18 04:37:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1912.0+1612_daily_bin1668 288.021 16.2021 671673601 671932801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1912.0+1612 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   4964.06 sec.
    Max Memory :                                 669 MB
    Average Memory :                             511.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2945 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   5235 sec.
    Turnaround time :                            10936 sec.

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

