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


Performing analysis on: 4FGL_J1318.2+6754_daily_bin1752
RA = 199.556, Dec = 67.9152
tmin = 693446401, tmax = 693705601
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='263438', job_status='RUN', time_executed='2022-12-26 00:57:37.560419', time_epoch_executed='1672045057.56' WHERE source_name='4FGL J1318.2+6754' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/263438

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/263438/ft1_4FGL_J1318.2+6754_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/263438/ft2_4FGL_J1318.2+6754_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/263438/ft1_4FGL_J1318.2+6754_daily_bin1752.fits outfile=/scratch/kocevski/263438/ft1_filteredMKT_4FGL_J1318.2+6754_daily_bin1752.fits ra=199.556 dec=67.9152 rad=12.0 tmin=693446401.0 tmax=693705601.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.59
user 3.32
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/263438/ft2_4FGL_J1318.2+6754_daily_bin1752.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/263438/ft1_filteredMKT_4FGL_J1318.2+6754_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/263438/ft1_filtered_4FGL_J1318.2+6754_daily_bin1752.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.55
user 0.36
sys 0.18

Number of photons that the gtmktime cut: 569

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/263438/ft1_filtered_4FGL_J1318.2+6754_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/263438/ft2_4FGL_J1318.2+6754_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/263438/ltcube_693446401_693705601_4FGL_J1318.2+6754_daily_bin1752.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/263438/ft2_4FGL_J1318.2+6754_daily_bin1752.fits
.....................!
real 16.32
user 15.84
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/263438/ft1_filtered_4FGL_J1318.2+6754_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/263438/ft2_4FGL_J1318.2+6754_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/263438/ltcube_693446401_693705601_4FGL_J1318.2+6754_daily_bin1752.fits outfile=/scratch/kocevski/263438/expmap_693446401_693705601_4FGL_J1318.2+6754_daily_bin1752.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/263438/ltcube_693446401_693705601_4FGL_J1318.2+6754_daily_bin1752.fits
.....................!
real 193.75
user 187.37
sys 5.50

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/263438/ft1_filtered_4FGL_J1318.2+6754_daily_bin1752.fits scfile=/scratch/kocevski/263438/ft2_4FGL_J1318.2+6754_daily_bin1752.fits outfile=/scratch/kocevski/263438/cmap_693446401_693705601_4FGL_J1318.2+6754_daily_bin1752.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.60
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/263438/ft1_filtered_4FGL_J1318.2+6754_daily_bin1752.fits scfile=/scratch/kocevski/263438/ft2_4FGL_J1318.2+6754_daily_bin1752.fits outfile=/scratch/kocevski/263438/cmap_HighResolution_693446401_693705601_4FGL_J1318.2+6754_daily_bin1752.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.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/263438/ft1_filtered_4FGL_J1318.2+6754_daily_bin1752.fits', '/scratch/kocevski/263438/ft2_4FGL_J1318.2+6754_daily_bin1752.fits', expMap='/scratch/kocevski/263438/expmap_693446401_693705601_4FGL_J1318.2+6754_daily_bin1752.fits', expCube='/scratch/kocevski/263438/ltcube_693446401_693705601_4FGL_J1318.2+6754_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/263438/Model_4FGL_J1318.2+6754_daily_bin1752.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/263438/ft1_filtered_4FGL_J1318.2+6754_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/263438/ft2_4FGL_J1318.2+6754_daily_bin1752.fits
Exposure map: /scratch/kocevski/263438/expmap_693446401_693705601_4FGL_J1318.2+6754_daily_bin1752.fits
Exposure cube: /scratch/kocevski/263438/ltcube_693446401_693705601_4FGL_J1318.2+6754_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/263438/Model_4FGL_J1318.2+6754_daily_bin1752.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) = 6178.18777594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16521E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.5892       1.0000          .0000       .10000E+07
     3 'norm      '    .50008E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .32691E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    12.379       1.0000          .0000       .10000E+07
     6 'Prefactor '    16.565       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14709E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11437E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .35696E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .78106E-05   1.0000          .0000       .10000E+07
    11 'norm      '    6.3815       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12596E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .85890E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21664E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .15623E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.0958       1.0000          .0000       .10000E+07
    17 'Prefactor '    .22546       1.0000          .0000       .10000E+07
    18 'Prefactor '    .20856E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .28416E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    35.903       1.0000          .0000       .10000E+07
    21 'Prefactor '    .30104E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .13982E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    12.869       1.0000          .0000       .10000E+07
    24 'Prefactor '    27.816       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.3063       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .50577       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=   6178.125     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     1797 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-08    8.2757       -.18037E-05** at limit **
   2  Prefactor     3.5913        2.9140        .44693E-10   -.20646E-02
   3  norm          .33307E-09    6.8769        .22040E-05** at limit **
   4  norm          .33307E-09    4.1050        .18991E-06** at limit **
   5  Prefactor     12.450        7.9523       -.27240E-06    .25178E-02
   6  Prefactor     16.860        1.7605        .60492E-08   -.27864E-02
   7  Prefactor     .12218E-06    7.4638       -.14452E-05** at limit **
   8  Prefactor     .22204E-09    6.1982       -.42444E-05** at limit **
   9  norm          .83822E-08    2.9596       -.90517E-06** at limit **
  10  Prefactor     .49960E-09    2.4551       -.16349E-06** at limit **
  11  norm          6.3820        2.6405       -.18086E-06    .12010E-01
  12  Prefactor     .98643E-07    8.3838       -.12461E-05** at limit **
  13  Prefactor     .55511E-10    4.8522        .16392E-06** at limit **
  14  Prefactor     .13323E-08    35.977        .13861E-07** at limit **
  15  Prefactor     .99920E-09    9.2348        .16422E-05** at limit **
  16  Prefactor     5.1027        1.0662        .11687E-07   -.22736E-02
  17  Prefactor     .19491        25.858       -.27001E-05** at limit **
  18  Prefactor     .26090E-08    5.3539       -.13651E-05** at limit **
  19  Prefactor     .49960E-09    5.7721        .36033E-05** at limit **
  20  Prefactor     38.176        37.408       -.23745E-05    .80753E-03
  21  Prefactor     .25535E-08    148.32       -.50833E-05** at limit **
  22  Prefactor     .15543E-08    19.422        .29814E-05** at limit **
  23  Prefactor     12.916        1.1050       -.78624E-08   -.79261E-03
  24  Prefactor     27.632        1.7664        .30588E-07    .10082E-01
  25  Normalizat    1.3059        .17416        .25752E-05   -.41094E-03
  26  Prefactor     .50542        .17925       -.39644E-05   -.22269E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-09
  Prefactor  = 3.59132
  norm       = 3.33067e-10
  norm       = 3.33067e-10
  Prefactor  = 12.45
  Prefactor  = 16.8601
  Prefactor  = 1.2218e-07
  Prefactor  = 2.22045e-10
  norm       = 8.38218e-09
  Prefactor  = 4.996e-10
  norm       = 6.38205
  Prefactor  = 9.86433e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 1.33227e-09
  Prefactor  = 9.99201e-10
  Prefactor  = 5.10272
  Prefactor  = 0.194906
  Prefactor  = 2.60902e-09
  Prefactor  = 4.996e-10
  Prefactor  = 38.1763
  Prefactor  = 2.55351e-09
  Prefactor  = 1.55431e-09
  Prefactor  = 12.916
  Prefactor  = 27.6322
  Normalizat = 1.30586
  Prefactor  = 0.505417
 **********
 **   18 **HESSE 
 **********

 FCN=   6178.125     FROM HESSE     STATUS=OK           512 CALLS     2309 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-08    8.7962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.5913        2.9157        .53314E-03   -1.5670    
   3  norm          .33307E-09    7.0262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .33307E-09    4.1503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.450        8.4294        .28445E-03   -1.5637    
   6  Prefactor     16.860        19.126        .24581E-03   -1.5626    
   7  Prefactor     .12218E-06    15.920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    6.2487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .83822E-08    2.4190        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .49960E-09    2.4731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.3820        2.6439        .39709E-03   -1.5657    
  12  Prefactor     .98643E-07    15.591        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    4.8899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .13323E-08    36.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .99920E-09    10.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.1027        17.901        .44516E-03   -1.5663    
  17  Prefactor     .19491        2.1533        .77465E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .26090E-08    5.3960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .49960E-09    5.8532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     38.176        37.524        .16691E-03   -1.5584    
  21  Prefactor     .25535E-08    147.80        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .15543E-08    19.566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     12.916        17.923        .27897E-03   -1.5636    
  24  Prefactor     27.632        31.183        .18964E-03   -1.5603    
  25  Normalizat    1.3059        .15474        .32692E-01   -.83392    
  26  Prefactor     .50542        .15951        .68319E-01   -1.1173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99279e-08
Minuit parameter uncertainties:
  1  0.000240417
  2  2.91573
  3  9.47781e-05
  4  7.5248e-05
  5  8.42937
  6  19.1265
  7  0.00278966
  8  7.33754e-05
  9  0.000285179
  10  7.0778e-05
  11  2.64394
  12  0.00248036
  13  3.76131e-05
  14  0.000438972
  15  0.000204754
  16  17.9016
  17  1.29568
  18  0.00023724
  19  0.000106366
  20  37.5247
  21  0.00123442
  22  0.000348572
  23  17.9227
  24  31.1828
  25  0.154797
  26  0.159656
Done.

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

Extracting fit parameters...

4FGL J1318.2+6754
   Spectrum: PowerLaw
391    Prefactor:  1.332e-09  4.390e-04  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:  5.054e-01  1.597e-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:  1.306e+00  1.548e-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: 4.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/263438/likelihoodResults_693446401_693705601_4FGL_J1318.2+6754_daily_bin1752.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) = 6178.13843855
delta logL = -0.0132799729454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6177.98118645
delta logL = 0.143972119146

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6177.981     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      244 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47341        20.884        .82164E-03    .16384E-01
   2  Index         4.1752        3.1893        .11807        .14859E-03
   3  Normalizat    1.2758        .28204E-01    .33245E-01   -.10107E-04
   4  Prefactor     .52487        .29604E-01    .67139E-01    .41954E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.473415
  Index      = 4.1752
  Normalizat = 1.27583
  Prefactor  = 0.524874
 **********
 **   18 **HESSE 
 **********

 FCN=   6177.981     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 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     .47341        82.053        .97272E-05   -1.5694    
   2  Index         4.1752        6.5779        .74844E-02   -.16572    
   3  Normalizat    1.2758        .12943        .18984E-03   -.84291    
   4  Prefactor     .52487        .13308        .29716E-03   -1.1085    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.58882e-06
Minuit parameter uncertainties:
  1  12.4653
  2  10.1343
  3  0.129462
  4  0.133161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/263438': 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) = 6177.98118218
delta logL = 0.143976393248

Extracting fit parameters...

4FGL J1318.2+6754
   Spectrum: PowerLaw
391    Prefactor:  4.734e-01  1.247e+01  0.000e+00  1.000e+06 ( 1.000e-14)
392        Index:  4.175e+00  1.013e+01  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:  5.249e-01  1.332e-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:  1.276e+00  1.295e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/263438/cmap_HighResolution_693446401_693705601_4FGL_J1318.2+6754_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.75e-03', job_status='DONE', photon_flux_upper_limit='4.94e-08', time_completed='2022-12-26 01:09:43.078790', job_id='263438', GAL2='0.52', fit_tolerance='1e-08', EG2='1.28', EG='1.31', time_epoch_completed='1672045783.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.51', dlogl='1.44e-01', ts2='0.31', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1752' AND source_name='4FGL J1318.2+6754' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:09:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 263438: <4FGL_J1318.2+6754_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1318.2+6754_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:55:20 2022
Job was executed on host(s) <bullet0024>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:56:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:56:01 2022
Terminated at Mon Dec 26 01:09:43 2022
Results reported at Mon Dec 26 01:09:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1318.2+6754_daily_bin1752 199.556 67.9152 693446401 693705601 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 :                                   726.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            863 sec.

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

