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


Performing analysis on: 4FGL_J1912.0+1612_weekly_bin747
RA = 288.021, Dec = 16.2021
tmin = 690768001, tmax = 691372801
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='477327', job_status='RUN', time_executed='2022-11-29 02:05:41.090003', time_epoch_executed='1669716341.09' WHERE source_name='4FGL J1912.0+1612' and cadence='weekly' and bin_id='747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/477327

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/477327/ft1_4FGL_J1912.0+1612_weekly_bin747.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/477327/ft2_4FGL_J1912.0+1612_weekly_bin747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/477327/ft1_4FGL_J1912.0+1612_weekly_bin747.fits outfile=/scratch/kocevski/477327/ft1_filteredMKT_4FGL_J1912.0+1612_weekly_bin747.fits ra=288.021 dec=16.2021 rad=12.0 tmin=690768001.0 tmax=691372801.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 5.97
user 5.64
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/477327/ft2_4FGL_J1912.0+1612_weekly_bin747.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/477327/ft1_filteredMKT_4FGL_J1912.0+1612_weekly_bin747.fits evtable="EVENTS" outfile="/scratch/kocevski/477327/ft1_filtered_4FGL_J1912.0+1612_weekly_bin747.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.56
user 0.40
sys 0.15

Number of photons that the gtmktime cut: 16326

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/477327/ft1_filtered_4FGL_J1912.0+1612_weekly_bin747.fits" evtable="EVENTS" scfile=/scratch/kocevski/477327/ft2_4FGL_J1912.0+1612_weekly_bin747.fits sctable="SC_DATA" outfile=/scratch/kocevski/477327/ltcube_690768001_691372801_4FGL_J1912.0+1612_weekly_bin747.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/477327/ft2_4FGL_J1912.0+1612_weekly_bin747.fits
.....................!
real 29.75
user 29.31
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/477327/ft1_filtered_4FGL_J1912.0+1612_weekly_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/477327/ft2_4FGL_J1912.0+1612_weekly_bin747.fits sctable="SC_DATA" expcube=/scratch/kocevski/477327/ltcube_690768001_691372801_4FGL_J1912.0+1612_weekly_bin747.fits outfile=/scratch/kocevski/477327/expmap_690768001_691372801_4FGL_J1912.0+1612_weekly_bin747.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/477327/ltcube_690768001_691372801_4FGL_J1912.0+1612_weekly_bin747.fits
.....................!
real 191.44
user 186.50
sys 4.55

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_8years/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_8years/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/477327/ft1_filtered_4FGL_J1912.0+1612_weekly_bin747.fits scfile=/scratch/kocevski/477327/ft2_4FGL_J1912.0+1612_weekly_bin747.fits outfile=/scratch/kocevski/477327/cmap_690768001_691372801_4FGL_J1912.0+1612_weekly_bin747.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.61
user 0.44
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/477327/ft1_filtered_4FGL_J1912.0+1612_weekly_bin747.fits scfile=/scratch/kocevski/477327/ft2_4FGL_J1912.0+1612_weekly_bin747.fits outfile=/scratch/kocevski/477327/cmap_HighResolution_690768001_691372801_4FGL_J1912.0+1612_weekly_bin747.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.62
user 0.44
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/477327/ft1_filtered_4FGL_J1912.0+1612_weekly_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/477327/ft2_4FGL_J1912.0+1612_weekly_bin747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/477327/Model_4FGL_J1912.0+1612_weekly_bin747.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/477327/ft1_filtered_4FGL_J1912.0+1612_weekly_bin747.fits.....................!
real 4372.24
user 4363.00
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/477327/ft1_filtered_4FGL_J1912.0+1612_weekly_bin747.fits', '/scratch/kocevski/477327/ft2_4FGL_J1912.0+1612_weekly_bin747.fits', expMap='/scratch/kocevski/477327/expmap_690768001_691372801_4FGL_J1912.0+1612_weekly_bin747.fits', expCube='/scratch/kocevski/477327/ltcube_690768001_691372801_4FGL_J1912.0+1612_weekly_bin747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/477327/Model_4FGL_J1912.0+1612_weekly_bin747.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  0.000e+00  1.000e+06 ( 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/477327/ft1_filtered_4FGL_J1912.0+1612_weekly_bin747.fits
Spacecraft file(s): /scratch/kocevski/477327/ft2_4FGL_J1912.0+1612_weekly_bin747.fits
Exposure map: /scratch/kocevski/477327/expmap_690768001_691372801_4FGL_J1912.0+1612_weekly_bin747.fits
Exposure cube: /scratch/kocevski/477327/ltcube_690768001_691372801_4FGL_J1912.0+1612_weekly_bin747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/477327/Model_4FGL_J1912.0+1612_weekly_bin747.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) = 145765.708717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11063E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .34628E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .92387E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .14177E-03   1.0000          .0000       .10000E+07
     5 'norm      '    22.649       1.0000          .0000       .10000E+07
     6 'norm      '    1.4955       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7669       1.0000          .0000       .10000E+07
     9 'Prefactor '    .42405E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.956       1.0000          .0000       .10000E+07
    11 'norm      '    .37598E-06   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.3893       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .99572       1.0000          .0000       10.000    
    14 'norm      '    6.8284       1.0000          .0000       .10000E+07
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1044E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   145764.9     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      780 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        538.97        .10087E-04** at limit **
   2  Prefactor     .66613E-09    4.7701        .94969E-06** at limit **
   3  norm           .0000        4.5703        .84626E-07** at limit **
   4  Prefactor     .16653E-09    4.5816        .31399E-06** at limit **
   5  norm          22.644        14.478        .38605E-06   -.16642E-02
   6  norm          1.4948        1.5069        .31798E-07   -.16787E-04
   7  Prefactor     .10000E-03    .46156        .34803E-05** at limit **
   8  Prefactor     3.7671        1.9840        .57216E-07    .38298E-03
   9  Prefactor     .44409E-09    4.9713        .10007E-06** at limit **
  10  Prefactor     11.926        3.0504       -.64462E-07    .18862E-01
  11  norm           .0000        .52715        .16730E-06** at limit **
  12  Normalizat    1.3894        .17857       -.19160E-05   -.45607E-04
  13  Prefactor     .99572        .13249E-01    .17175E-06    .82225E-04
  14  norm          6.8248        1.2279       -.49194E-07    .14255E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 6.66134e-10
  norm       = 0
  Prefactor  = 1.66533e-10
  norm       = 22.6444
  norm       = 1.49479
  Prefactor  = 0.0001
  Prefactor  = 3.76709
  Prefactor  = 4.44089e-10
  Prefactor  = 11.9257
  norm       = 0
  Normalizat = 1.38943
  Prefactor  = 0.995719
  norm       = 6.82485
 **********
 **   18 **HESSE 
 **********

 FCN=   145764.9     FROM HESSE     STATUS=OK           202 CALLS      982 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.2746        .42118E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .66613E-09    4.9375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        4.5462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-09    4.6106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          22.644        14.542        .21018E-03   -1.5613    
   6  norm          1.4948        1.4881        .87579E-03   -1.5684    
   7  Prefactor     .10000E-03    .18724        .59820E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.7671        1.9866        .51993E-03   -1.5669    
   9  Prefactor     .44409E-09    5.0778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.926        11.285        .28946E-03   -1.5639    
  11  norm           .0000        .52599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.3894        .18797        .31351       -.80935    
  13  Prefactor     .99572        .13591E-01    .26095E-01   -.92872    
  14  norm          6.8248        1.2276        .38372E-03   -1.5656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.65431e-09
Minuit parameter uncertainties:
  1  1.78713e-05
  2  0.00011419
  3  7.70901e-07
  4  5.15559e-05
  5  14.5425
  6  1.48807
  7  9.77008e-09
  8  1.98661
  9  9.63785e-05
  10  11.2846
  11  9.09011e-07
  12  0.188062
  13  0.0135911
  14  1.22757
Done.

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

Extracting fit parameters...

4FGL J1912.0+1612
   Spectrum: PowerLaw
549    Prefactor:  1.665e-10  5.156e-05  0.000e+00  1.000e+06 ( 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:  9.957e-01  1.359e-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.389e+00  1.881e-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: 7.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/477327/likelihoodResults_690768001_691372801_4FGL_J1912.0+1612_weekly_bin747.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) = 145765.017013
delta logL = -0.107733429933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 145764.90928
delta logL = -7.89295881987e-08

Fit tolerance = 1e-08

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

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

 FCN=   145764.9     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      211 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.6452        .42118E-03** at limit **
   2  Index         3.1907        1.1463        .74259E-05     .0000    
   3  Normalizat    1.3894        1.0635       -.18847E-05    .32448E-05
   4  Prefactor     .99572        1.3350        .27080E-06   -.15734E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.19071
  Normalizat = 1.38943
  Prefactor  = 0.995719
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   145764.9     FROM HESSE     STATUS=FAILED         9 CALLS      220 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.6452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1455        2.1008        .74259E-05   -.37026    
   3  Normalizat    1.3894        1.0635       -.18847E-05   -.80935    
   4  Prefactor     .99572        1.3350        .27080E-06   -.92872    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.1602e-13
Minuit parameter uncertainties:
  1  3.7456e-06
  2  1.15818
  3  1.08114
  4  1.38377
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/477327': 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) = 145764.90928
delta logL = 2.91038304567e-11

Extracting fit parameters...

4FGL J1912.0+1612
   Spectrum: PowerLaw
549    Prefactor:  0.000e+00  3.746e-06  0.000e+00  1.000e+06 ( 1.000e-13)
550        Index:  3.191e+00  1.158e+00  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:  9.957e-01  1.384e+00  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.389e+00  1.081e+00  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 -2.003e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.223e+00 [aplpy.core]
Saving /scratch/kocevski/477327/cmap_HighResolution_690768001_691372801_4FGL_J1912.0+1612_weekly_bin747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.01e-03', job_status='DONE', photon_flux_upper_limit='7.71e-08', time_completed='2022-11-29 05:11:01.309369', job_id='477327', GAL2='1.00', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1669727461.31', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='747' AND source_name='4FGL J1912.0+1612' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov 29 05:11:01 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 477327: <4FGL_J1912.0+1612_weekly_bin747> in cluster <slac> Done

Job <4FGL_J1912.0+1612_weekly_bin747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov 29 01:55:27 2022
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 02:03:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 02:03:22 2022
Terminated at Tue Nov 29 05:11:03 2022
Results reported at Tue Nov 29 05:11:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1912.0+1612_weekly_bin747 288.021 16.2021 690768001 691372801 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 :                                   11111.00 sec.
    Max Memory :                                 706 MB
    Average Memory :                             656.98 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11260 sec.
    Turnaround time :                            11736 sec.

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

