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


Performing analysis on: 4FGL_J1245.1+5709_daily_bin1715
RA = 191.288, Dec = 57.158
tmin = 683856001, tmax = 684115201
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='121978', job_status='RUN', time_executed='2022-09-16 16:57:49.683741', time_epoch_executed='1663372669.68' WHERE source_name='4FGL J1245.1+5709' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/121978

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/121978/ft1_4FGL_J1245.1+5709_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/121978/ft2_4FGL_J1245.1+5709_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/121978/ft1_4FGL_J1245.1+5709_daily_bin1715.fits outfile=/scratch/kocevski/121978/ft1_filteredMKT_4FGL_J1245.1+5709_daily_bin1715.fits ra=191.288 dec=57.158 rad=12.0 tmin=683856001.0 tmax=684115201.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.46
user 3.23
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/121978/ft2_4FGL_J1245.1+5709_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/121978/ft2_4FGL_J1245.1+5709_daily_bin1715.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/121978/ft1_filteredMKT_4FGL_J1245.1+5709_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/121978/ft1_filtered_4FGL_J1245.1+5709_daily_bin1715.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.32
sys 0.16

Number of photons that the gtmktime cut: 568

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/121978/ft1_filtered_4FGL_J1245.1+5709_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/121978/ft2_4FGL_J1245.1+5709_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/121978/ltcube_683856001_684115201_4FGL_J1245.1+5709_daily_bin1715.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/121978/ft2_4FGL_J1245.1+5709_daily_bin1715.fits
.....................!
real 13.77
user 13.39
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/121978/ft1_filtered_4FGL_J1245.1+5709_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/121978/ft2_4FGL_J1245.1+5709_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/121978/ltcube_683856001_684115201_4FGL_J1245.1+5709_daily_bin1715.fits outfile=/scratch/kocevski/121978/expmap_683856001_684115201_4FGL_J1245.1+5709_daily_bin1715.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/121978/ltcube_683856001_684115201_4FGL_J1245.1+5709_daily_bin1715.fits
.....................!
real 191.60
user 186.80
sys 4.44

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

Setting source of interest to:
4FGL J1245.1+5709 @ 191.288 57.158

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/121978/ft1_filtered_4FGL_J1245.1+5709_daily_bin1715.fits scfile=/scratch/kocevski/121978/ft2_4FGL_J1245.1+5709_daily_bin1715.fits outfile=/scratch/kocevski/121978/cmap_683856001_684115201_4FGL_J1245.1+5709_daily_bin1715.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=191.288 yref=57.158 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/121978/ft1_filtered_4FGL_J1245.1+5709_daily_bin1715.fits scfile=/scratch/kocevski/121978/ft2_4FGL_J1245.1+5709_daily_bin1715.fits outfile=/scratch/kocevski/121978/cmap_HighResolution_683856001_684115201_4FGL_J1245.1+5709_daily_bin1715.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=191.288 yref=57.158 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/121978/ft1_filtered_4FGL_J1245.1+5709_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/121978/ft2_4FGL_J1245.1+5709_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/121978/Model_4FGL_J1245.1+5709_daily_bin1715.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/121978/ft1_filtered_4FGL_J1245.1+5709_daily_bin1715.fits.....................!
real 53.67
user 52.32
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/121978/ft1_filtered_4FGL_J1245.1+5709_daily_bin1715.fits', '/scratch/kocevski/121978/ft2_4FGL_J1245.1+5709_daily_bin1715.fits', expMap='/scratch/kocevski/121978/expmap_683856001_684115201_4FGL_J1245.1+5709_daily_bin1715.fits', expCube='/scratch/kocevski/121978/ltcube_683856001_684115201_4FGL_J1245.1+5709_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/121978/Model_4FGL_J1245.1+5709_daily_bin1715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1245.1+5709'

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  1.104e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/121978/ft1_filtered_4FGL_J1245.1+5709_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/121978/ft2_4FGL_J1245.1+5709_daily_bin1715.fits
Exposure map: /scratch/kocevski/121978/expmap_683856001_684115201_4FGL_J1245.1+5709_daily_bin1715.fits
Exposure cube: /scratch/kocevski/121978/ltcube_683856001_684115201_4FGL_J1245.1+5709_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/121978/Model_4FGL_J1245.1+5709_daily_bin1715.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) = 6122.66563293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12466E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    25.124       1.0000          .0000       .10000E+07
     3 'norm      '    .41830E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .93805E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .51582E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18524E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.8088       1.0000          .0000       .10000E+07
     8 'Prefactor '    .74041E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .13572E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.9326       1.0000          .0000       .10000E+07
    11 'norm      '    13.326       1.0000          .0000       .10000E+07
    12 'Prefactor '    .49190E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82640E-04   1.0000          .0000       .10000E+07
    14 'norm      '    2.8747       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49960E-09   1.0000          .0000       .10000E+07
    16 'norm      '    .33362E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    14.017       1.0000          .0000       .10000E+07
    18 'Prefactor '    .14723E-03   1.0000          .0000       .10000E+07
    19 'norm      '    1.5718       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.5087       1.0000          .0000       .10000E+07
    21 'Prefactor '    21.910       1.0000          .0000       .10000E+07
    22 'norm      '    .15963E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .62386E-01   1.0000          .0000       .10000E+07
    24 'Prefactor '    .77036E-04   1.0000          .0000       .10000E+07
    25 'norm      '    .23900E-03   1.0000          .0000       .10000E+07
    26 'Normalizat'    .96083       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0885       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6122.576     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1866 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    2.8898        .16931E-06** at limit **
   2  Prefactor     25.285        8.9235       -.43731E-06    .11000    
   3  norm          .10547E-07    2.8408       -.58222E-06** at limit **
   4  Prefactor      .0000        1.0956        .24844E-06** at limit **
   5  norm          .15160E-06    2.6446        .43599E-06** at limit **
   6  Prefactor     .47184E-08    2.7011        .69748E-06** at limit **
   7  Prefactor     5.8356        6.0011        .35962E-07    .78066E-02
   8  Prefactor     .52791E-07    4.8669       -.90365E-07** at limit **
   9  norm          .44409E-09    3.2452       -.56865E-07** at limit **
  10  Prefactor     6.2301        2.4762        .18899E-06   -.50383E-02
  11  norm          13.324        5.0174        .61290E-06    .17729    
  12  Prefactor     .12618E-06    9.5017       -.42707E-06** at limit **
  13  Prefactor      .0000        1.5959        .14682E-06** at limit **
  14  norm          2.8748        1.9496        .16420E-07    .52920E-03
  15  Prefactor     .68334E-07    4.3938       -.58328E-06** at limit **
  16  norm           .0000        1.1078       -.24602E-06** at limit **
  17  Prefactor     14.214        5.0739       -.32760E-06    .64862E-01
  18  Prefactor     .77716E-09    3.5215        .12316E-06** at limit **
  19  norm          1.5586        2.9538       -.14403E-06    .12443E-02
  20  Prefactor     3.5318        1.7476        .23221E-06   -.11642E-01
  21  Prefactor     23.030        38.398        .22225E-05   -.98465E-02
  22  norm          .26090E-08    2.1222       -.30251E-06** at limit **
  23  Prefactor     .82712E-08    .92084       -.19208E-06** at limit **
  24  Prefactor     .55511E-10    2.0975        .11407E-06** at limit **
  25  norm          .55511E-10    1.7459        .75035E-07** at limit **
  26  Normalizat    .95950        .18081       -.57662E-05   -.59509E-04
  27  Prefactor     1.0891        .22892       -.22700E-05   -.60332E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Prefactor  = 25.2851
  norm       = 1.05471e-08
  Prefactor  = 0
  norm       = 1.51601e-07
  Prefactor  = 4.71845e-09
  Prefactor  = 5.83561
  Prefactor  = 5.27911e-08
  norm       = 4.44089e-10
  Prefactor  = 6.23013
  norm       = 13.3242
  Prefactor  = 1.26177e-07
  Prefactor  = 0
  norm       = 2.87479
  Prefactor  = 6.83342e-08
  norm       = 0
  Prefactor  = 14.2135
  Prefactor  = 7.77156e-10
  norm       = 1.55856
  Prefactor  = 3.53181
  Prefactor  = 23.0303
  norm       = 2.60902e-09
  Prefactor  = 8.27116e-09
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Normalizat = 0.959502
  Prefactor  = 1.08909
 **********
 **   18 **HESSE 
 **********

 FCN=   6122.576     FROM HESSE     STATUS=OK           538 CALLS     2404 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    7.4053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.285        18.615        .19955E-03   -1.5607    
   3  norm          .10547E-07    4.4940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.0932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .15160E-06    8.5421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .47184E-08    4.3895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.8356        6.0365        .41647E-03   -1.5660    
   8  Prefactor     .52791E-07    8.9614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .44409E-09    3.1327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.2301        16.702        .41204E-03   -1.5658    
  11  norm          13.324        6.9043        .27413E-03   -1.5635    
  12  Prefactor     .12618E-06    10.572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.5959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.8748        1.9522        .59923E-03   -1.5674    
  15  Prefactor     .68334E-07    6.9638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        1.0939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.214        22.632        .26728E-03   -1.5633    
  18  Prefactor     .77716E-09    3.5295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.5586        3.0002        .84750E-03   -1.5683    
  20  Prefactor     3.5318        59.423        .53948E-03   -1.5670    
  21  Prefactor     23.030        38.602        .21370E-03   -1.5612    
  22  norm          .26090E-08    9.8348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .82712E-08    121.78        .15077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .55511E-10    2.0865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .55511E-10    1.7424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .95950        .15126        .45674E-01   -.94400    
  27  Prefactor     1.0891        .18996        .59088E-01   -.89816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.23769e-07
Minuit parameter uncertainties:
  1  7.94262e-05
  2  18.6149
  3  0.000435358
  4  5.98447e-06
  5  0.00227603
  6  0.000287548
  7  6.03647
  8  0.00137588
  9  7.68361e-05
  10  16.7025
  11  6.90431
  12  0.00231005
  13  7.49462e-06
  14  1.95222
  15  0.00137959
  16  1.3853e-06
  17  22.6316
  18  0.000105492
  19  3.00025
  20  28.9742
  21  38.6024
  22  0.000320758
  23  0.00200486
  24  2.19171e-05
  25  1.96478e-05
  26  0.151323
  27  0.190081
Done.

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

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  0.000e+00  7.495e-06  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  2.128e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.089e+00  1.901e-01  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  9.595e-01  1.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 191.288 57.158
Photon Flux Upper Limit: 3.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/121978/likelihoodResults_683856001_684115201_4FGL_J1245.1+5709_daily_bin1715.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) = 6122.57608548
delta logL = -0.000274980265203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6122.57581312
delta logL = -2.6146590244e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65142E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .92800       1.0000          .0000       10.000    
     3 'Normalizat'    .95926       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0892       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6122.576     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      259 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17764E-08    .40540E-01    .42118E-03** at limit **
   2  Index         1.8669        6.2323        .45361        .11779E-08
   3  Normalizat    .95950        .52158E-03    .45654E-01    .19100E-03
   4  Prefactor     1.0891        .66838E-03    .59088E-01    .12691E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.77636e-09
  Index      = 1.86693
  Normalizat = 0.959502
  Prefactor  = 1.08909
 **********
 **   18 **HESSE 
 **********

 FCN=   6122.576     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      290 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17764E-08    .15816        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8669        5.5721        .50000       -.67720    
   3  Normalizat    .95950        .10293E-02    .21682E-03   -.94400    
   4  Prefactor     1.0891        .13185E-02    .26131E-03   -.89816    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.9619e-11
Minuit parameter uncertainties:
  1  3.32797e-05
  2  2701.18
  3  0.00102926
  4  0.00131852
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/121978': 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) = 6122.5758105
delta logL = -4.42923919763e-10

Extracting fit parameters...

4FGL J1245.1+5709
   Spectrum: PowerLaw
355    Prefactor:  1.776e-09  3.328e-05  0.000e+00  1.000e+06 ( 1.000e-13)
356        Index:  1.867e+00  2.701e+03  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.843e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
689    Prefactor:  1.089e+00  1.319e-03  0.000e+00  1.000e+01 ( 1.000e+00)
690        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
691        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
688   Normalization:  9.595e-01  1.029e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 191.288 57.158

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/121978/cmap_HighResolution_683856001_684115201_4FGL_J1245.1+5709_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-03', job_status='DONE', photon_flux_upper_limit='3.55e-08', time_completed='2022-09-16 17:10:14.834415', job_id='121978', GAL2='1.09', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1663373414.83', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='-4.43e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1715' AND source_name='4FGL J1245.1+5709' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:10:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 121978: <4FGL_J1245.1+5709_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1245.1+5709_daily_bin1715> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 16:55:22 2022
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:56:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:56:38 2022
Terminated at Fri Sep 16 17:10:15 2022
Results reported at Fri Sep 16 17:10:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1245.1+5709_daily_bin1715 191.288 57.158 683856001 684115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1245.1+5709 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   747.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            893 sec.

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

