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


Performing analysis on: 4FGL_J1318.2+6754_daily_bin1756
RA = 199.556, Dec = 67.9152
tmin = 694483201, tmax = 694742401
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='13153', job_status='RUN', time_executed='2023-01-07 00:51:26.032100', time_epoch_executed='1673081486.03' WHERE source_name='4FGL J1318.2+6754' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13153

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/13153/ft1_4FGL_J1318.2+6754_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/13153/ft2_4FGL_J1318.2+6754_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13153/ft1_4FGL_J1318.2+6754_daily_bin1756.fits outfile=/scratch/kocevski/13153/ft1_filteredMKT_4FGL_J1318.2+6754_daily_bin1756.fits ra=199.556 dec=67.9152 rad=12.0 tmin=694483201.0 tmax=694742401.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.02
user 2.77
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/13153/ft2_4FGL_J1318.2+6754_daily_bin1756.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/13153/ft2_4FGL_J1318.2+6754_daily_bin1756.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/13153/ft1_filteredMKT_4FGL_J1318.2+6754_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/13153/ft1_filtered_4FGL_J1318.2+6754_daily_bin1756.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.52
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 899

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/13153/ft1_filtered_4FGL_J1318.2+6754_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/13153/ft2_4FGL_J1318.2+6754_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/13153/ltcube_694483201_694742401_4FGL_J1318.2+6754_daily_bin1756.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/13153/ft2_4FGL_J1318.2+6754_daily_bin1756.fits
.....................!
real 16.52
user 16.07
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13153/ft1_filtered_4FGL_J1318.2+6754_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/13153/ft2_4FGL_J1318.2+6754_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/13153/ltcube_694483201_694742401_4FGL_J1318.2+6754_daily_bin1756.fits outfile=/scratch/kocevski/13153/expmap_694483201_694742401_4FGL_J1318.2+6754_daily_bin1756.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/13153/ltcube_694483201_694742401_4FGL_J1318.2+6754_daily_bin1756.fits
.....................!
real 191.96
user 187.03
sys 4.45

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

Setting source of interest to:
4FGL J1318.2+6754 @ 199.556 67.9152

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/13153/ft1_filtered_4FGL_J1318.2+6754_daily_bin1756.fits scfile=/scratch/kocevski/13153/ft2_4FGL_J1318.2+6754_daily_bin1756.fits outfile=/scratch/kocevski/13153/cmap_694483201_694742401_4FGL_J1318.2+6754_daily_bin1756.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=199.556 yref=67.9152 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13153/ft1_filtered_4FGL_J1318.2+6754_daily_bin1756.fits scfile=/scratch/kocevski/13153/ft2_4FGL_J1318.2+6754_daily_bin1756.fits outfile=/scratch/kocevski/13153/cmap_HighResolution_694483201_694742401_4FGL_J1318.2+6754_daily_bin1756.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=199.556 yref=67.9152 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/13153/ft1_filtered_4FGL_J1318.2+6754_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/13153/ft2_4FGL_J1318.2+6754_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/13153/Model_4FGL_J1318.2+6754_daily_bin1756.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/13153/ft1_filtered_4FGL_J1318.2+6754_daily_bin1756.fits.....................!
real 89.06
user 87.51
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/13153/ft1_filtered_4FGL_J1318.2+6754_daily_bin1756.fits', '/scratch/kocevski/13153/ft2_4FGL_J1318.2+6754_daily_bin1756.fits', expMap='/scratch/kocevski/13153/expmap_694483201_694742401_4FGL_J1318.2+6754_daily_bin1756.fits', expCube='/scratch/kocevski/13153/ltcube_694483201_694742401_4FGL_J1318.2+6754_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/13153/Model_4FGL_J1318.2+6754_daily_bin1756.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1318.2+6754'

4FGL J1318.2+6754
   Spectrum: PowerLaw
391    Prefactor:  6.773e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
392        Index:  2.168e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
393        Scale:  1.716e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/13153/ft1_filtered_4FGL_J1318.2+6754_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/13153/ft2_4FGL_J1318.2+6754_daily_bin1756.fits
Exposure map: /scratch/kocevski/13153/expmap_694483201_694742401_4FGL_J1318.2+6754_daily_bin1756.fits
Exposure cube: /scratch/kocevski/13153/ltcube_694483201_694742401_4FGL_J1318.2+6754_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/13153/Model_4FGL_J1318.2+6754_daily_bin1756.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) = 9929.37613417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .77438E-06   1.0000          .0000       .10000E+07
     3 'norm      '    18.463       1.0000          .0000       .10000E+07
     4 'norm      '    6.2868       1.0000          .0000       .10000E+07
     5 'Prefactor '    .62816E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .70920E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36107E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.808       1.0000          .0000       .10000E+07
     9 'norm      '    .88761E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .26090E-08   1.0000          .0000       .10000E+07
    11 'norm      '    2.7881       1.0000          .0000       .10000E+07
    12 'Prefactor '    .48994E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.2913       1.0000          .0000       .10000E+07
    14 'Prefactor '    .76267E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .81763E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31944E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .84478       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13366E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .12507E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .42864E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .76633E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .21757E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .14076E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .14411E-06   1.0000          .0000       .10000E+07
    25 'Normalizat'    .77309       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1738       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9929.249     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1762 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10753E-06    4.7724        .18538E-06** at limit **
   2  Prefactor      .0000        .63291       -.15246E-07** at limit **
   3  norm          18.459        1.0723        .94796E-09    .41550E-03
   4  norm          6.3136        5.6954        .31091E-07   -.12184E-03
   5  Prefactor      .0000        2.5065        .23757E-08** at limit **
   6  Prefactor     .17542E-07    10.426       -.40897E-06** at limit **
   7  Prefactor     .49960E-09    102.68       -.16177E-05** at limit **
   8  Prefactor     12.477        1.4776       -.26995E-07   -.13679E-02
   9  norm          .77190E-01    33.683        .42183E-05** at limit **
  10  Prefactor      .0000        1.1429       -.51629E-08** at limit **
  11  norm          2.7881        1.4432        .57066E-08    .69830E-03
  12  Prefactor     .31031E-07    6.5303       -.48504E-06** at limit **
  13  Prefactor     4.2893        6.0915        .11035E-06    .10513E-03
  14  Prefactor     .17653E-07    7.1720        .49391E-06** at limit **
  15  Prefactor     .32807E-07    3.6693        .15266E-06** at limit **
  16  Prefactor     .17986E-07    4.3889        .34426E-06** at limit **
  17  Prefactor     .83605        3.1503       -.12011E-06    .55834E-03
  18  Prefactor     .27756E-09    6.0190       -.66296E-07** at limit **
  19  Prefactor      .0000        4.9138       -.70885E-07** at limit **
  20  Prefactor     .20151E-07    4.0764       -.84567E-07** at limit **
  21  Prefactor     .88485E-07    12.659       -.77441E-06** at limit **
  22  Prefactor     .21094E-08    6.4682        .40416E-06** at limit **
  23  Prefactor     .72164E-09    41.227       -.49593E-06** at limit **
  24  Prefactor     .65670E-07    6.8773        .16395E-06** at limit **
  25  Normalizat    .77363        .14244        .18157E-05    .39736E-04
  26  Prefactor     1.1736        .15668       -.38567E-05    .35024E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07525e-07
  Prefactor  = 0
  norm       = 18.4593
  norm       = 6.31359
  Prefactor  = 0
  Prefactor  = 1.75415e-08
  Prefactor  = 4.996e-10
  Prefactor  = 12.4769
  norm       = 0.0771896
  Prefactor  = 0
  norm       = 2.78811
  Prefactor  = 3.10307e-08
  Prefactor  = 4.28926
  Prefactor  = 1.76525e-08
  Prefactor  = 3.28071e-08
  Prefactor  = 1.79856e-08
  Prefactor  = 0.836046
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 2.01505e-08
  Prefactor  = 8.84848e-08
  Prefactor  = 2.10942e-09
  Prefactor  = 7.21645e-10
  Prefactor  = 6.56697e-08
  Normalizat = 0.773634
  Prefactor  = 1.17356
 **********
 **   18 **HESSE 
 **********

 FCN=   9929.249     FROM HESSE     STATUS=OK           502 CALLS     2264 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10753E-06    8.3745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .63526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          18.459        15.592        .23281E-03   -1.5622    
   4  norm          6.3136        5.8170        .40010E-03   -1.5658    
   5  Prefactor      .0000        2.5064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17542E-07    11.832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .49960E-09    102.24        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.477        17.950        .27963E-03   -1.5637    
   9  norm          .77190E-01    1.2930        .80596E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.1474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.7881        1.4465        .60911E-03   -1.5675    
  12  Prefactor     .31031E-07    7.5714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2893        6.1193        .48609E-03   -1.5667    
  14  Prefactor     .17653E-07    14.703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .32807E-07    16.090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17986E-07    15.683        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .83605        3.1628        .49655E-03   -1.5690    
  18  Prefactor     .27756E-09    6.0371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        4.9186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .20151E-07    16.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .88485E-07    17.515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .21094E-08    6.5295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .72164E-09    41.146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .65670E-07    9.4245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .77363        .12359        .43258E-01   -1.0105    
  26  Prefactor     1.1736        .13336        .35283E-01   -.87149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.3454e-08
Minuit parameter uncertainties:
  1  0.00189795
  2  8.28674e-07
  3  15.5917
  4  5.81703
  5  2.88835e-06
  6  0.000911819
  7  0.000440106
  8  17.9497
  9  0.631838
  10  7.57203e-07
  11  1.44653
  12  0.000969203
  13  6.11928
  14  0.00101925
  15  0.00145334
  16  0.00106269
  17  3.16277
  18  8.5565e-05
  19  2.18667e-06
  20  0.00115489
  21  0.00249002
  22  0.000234949
  23  0.000346902
  24  0.0015732
  25  0.123634
  26  0.1334
Done.

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

Extracting fit parameters...

4FGL J1318.2+6754
   Spectrum: PowerLaw
391    Prefactor:  1.765e-08  1.019e-03  0.000e+00  1.000e+06 ( 1.000e-14)
392        Index:  2.168e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
393        Scale:  1.716e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
734    Prefactor:  1.174e+00  1.334e-01  0.000e+00  1.000e+01 ( 1.000e+00)
735        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
736        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
733   Normalization:  7.736e-01  1.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 199.556 67.915
Photon Flux Upper Limit: 2.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/13153/likelihoodResults_694483201_694742401_4FGL_J1318.2+6754_daily_bin1756.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) = 9929.28146795
delta logL = -0.032509185321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9929.24898405
delta logL = -2.52852296398e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39677E-03   1.0000          .0000       .10000E+07
     2 'Index     '    .95231       1.0000          .0000       10.000    
     3 'Normalizat'    .77384       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1734       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9929.249     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      184 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14988E-08    14.660       -.11235E-04** at limit **
   2  Index         2.1777        5.9696        .58738E-03    .11337E-09
   3  Normalizat    .77364        .13694        .13301E-04   -.41337E-03
   4  Prefactor     1.1736        .15576       -.16629E-04   -.12921E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4988e-09
  Index      = 2.17767
  Normalizat = 0.773638
  Prefactor  = 1.17356
 **********
 **   18 **HESSE 
 **********

 FCN=   9929.249     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      217 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14988E-08    .40334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1777        8.3549        .45668       -.59979    
   3  Normalizat    .77364        .47453E-03    .43268E-01   -1.0105    
   4  Prefactor     1.1736        .53740E-03    .35291E-01   -.87149    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.15309e-12
Minuit parameter uncertainties:
  1  4.90299e-05
  2  9381.4
  3  0.000474529
  4  0.000537396
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13153': 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) = 9929.24895876
delta logL = -4.47471393272e-10

Extracting fit parameters...

4FGL J1318.2+6754
   Spectrum: PowerLaw
391    Prefactor:  1.499e-09  4.903e-05  0.000e+00  1.000e+06 ( 1.000e-14)
392        Index:  2.178e+00  9.381e+03  0.000e+00  1.000e+01 (-1.000e+00)
393        Scale:  1.716e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
734    Prefactor:  1.174e+00  5.374e-04  0.000e+00  1.000e+01 ( 1.000e+00)
735        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
736        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
733   Normalization:  7.736e-01  4.745e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 199.556 67.915

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/13153/cmap_HighResolution_694483201_694742401_4FGL_J1318.2+6754_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.16e-03', job_status='DONE', photon_flux_upper_limit='2.84e-08', time_completed='2023-01-07 01:06:47.926570', job_id='13153', GAL2='1.17', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1673082407.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='-4.47e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1756' AND source_name='4FGL J1318.2+6754' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:06:47 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 13153: <4FGL_J1318.2+6754_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1318.2+6754_daily_bin1756> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan  7 00:50:18 2023
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:51:06 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:51:06 2023
Terminated at Sat Jan  7 01:06:48 2023
Results reported at Sat Jan  7 01:06:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1318.2+6754_daily_bin1756 199.556 67.9152 694483201 694742401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1318.2+6754 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   922.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             375.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            990 sec.

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

