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


Performing analysis on: 4FGL_J1254.5+2210_daily_bin1710
RA = 193.637, Dec = 22.1808
tmin = 682560001, tmax = 682819201
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='123379', job_status='RUN', time_executed='2022-09-16 17:03:09.941825', time_epoch_executed='1663372989.94' WHERE source_name='4FGL J1254.5+2210' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/123379

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/123379/ft1_4FGL_J1254.5+2210_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/123379/ft2_4FGL_J1254.5+2210_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/123379/ft1_4FGL_J1254.5+2210_daily_bin1710.fits outfile=/scratch/kocevski/123379/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1710.fits ra=193.637 dec=22.1808 rad=12.0 tmin=682560001.0 tmax=682819201.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.69
user 3.44
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/123379/ft2_4FGL_J1254.5+2210_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/123379/ft2_4FGL_J1254.5+2210_daily_bin1710.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/123379/ft1_filteredMKT_4FGL_J1254.5+2210_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/123379/ft1_filtered_4FGL_J1254.5+2210_daily_bin1710.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.54
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 594

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/123379/ft1_filtered_4FGL_J1254.5+2210_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/123379/ft2_4FGL_J1254.5+2210_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/123379/ltcube_682560001_682819201_4FGL_J1254.5+2210_daily_bin1710.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/123379/ft2_4FGL_J1254.5+2210_daily_bin1710.fits
.....................!
real 14.74
user 14.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/123379/ft1_filtered_4FGL_J1254.5+2210_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/123379/ft2_4FGL_J1254.5+2210_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/123379/ltcube_682560001_682819201_4FGL_J1254.5+2210_daily_bin1710.fits outfile=/scratch/kocevski/123379/expmap_682560001_682819201_4FGL_J1254.5+2210_daily_bin1710.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/123379/ltcube_682560001_682819201_4FGL_J1254.5+2210_daily_bin1710.fits
.....................!
real 191.97
user 186.31
sys 5.23

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

Setting source of interest to:
4FGL J1254.5+2210 @ 193.637 22.1808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/123379/ft1_filtered_4FGL_J1254.5+2210_daily_bin1710.fits scfile=/scratch/kocevski/123379/ft2_4FGL_J1254.5+2210_daily_bin1710.fits outfile=/scratch/kocevski/123379/cmap_682560001_682819201_4FGL_J1254.5+2210_daily_bin1710.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=193.637 yref=22.1808 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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/123379/ft1_filtered_4FGL_J1254.5+2210_daily_bin1710.fits scfile=/scratch/kocevski/123379/ft2_4FGL_J1254.5+2210_daily_bin1710.fits outfile=/scratch/kocevski/123379/cmap_HighResolution_682560001_682819201_4FGL_J1254.5+2210_daily_bin1710.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=193.637 yref=22.1808 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/123379/ft1_filtered_4FGL_J1254.5+2210_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/123379/ft2_4FGL_J1254.5+2210_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/123379/Model_4FGL_J1254.5+2210_daily_bin1710.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/123379/ft1_filtered_4FGL_J1254.5+2210_daily_bin1710.fits.....................!
real 58.43
user 56.91
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/123379/ft1_filtered_4FGL_J1254.5+2210_daily_bin1710.fits', '/scratch/kocevski/123379/ft2_4FGL_J1254.5+2210_daily_bin1710.fits', expMap='/scratch/kocevski/123379/expmap_682560001_682819201_4FGL_J1254.5+2210_daily_bin1710.fits', expCube='/scratch/kocevski/123379/ltcube_682560001_682819201_4FGL_J1254.5+2210_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/123379/Model_4FGL_J1254.5+2210_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.5+2210'

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  1.787e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.089e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.816e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/123379/ft1_filtered_4FGL_J1254.5+2210_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/123379/ft2_4FGL_J1254.5+2210_daily_bin1710.fits
Exposure map: /scratch/kocevski/123379/expmap_682560001_682819201_4FGL_J1254.5+2210_daily_bin1710.fits
Exposure cube: /scratch/kocevski/123379/ltcube_682560001_682819201_4FGL_J1254.5+2210_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/123379/Model_4FGL_J1254.5+2210_daily_bin1710.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) = 6798.7962316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6135       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.1220       1.0000          .0000       .10000E+07
     3 'norm      '    14.377       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17985E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .96036E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.4015       1.0000          .0000       .10000E+07
     7 'norm      '    .21729       1.0000          .0000       .10000E+07
     8 'norm      '    8.3858       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13653E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.641       1.0000          .0000       .10000E+07
    11 'Prefactor '    .58284E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .11088E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .36458E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.075       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.133       1.0000          .0000       .10000E+07
    16 'norm      '    4.9575       1.0000          .0000       .10000E+07
    17 'norm      '    .50044       1.0000          .0000       .10000E+07
    18 'norm      '    10.466       1.0000          .0000       .10000E+07
    19 'norm      '    .12101E-07   1.0000          .0000       .10000E+07
    20 'norm      '    4.6013       1.0000          .0000       .10000E+07
    21 'Prefactor '    .28375E-01   1.0000          .0000       .10000E+07
    22 'norm      '    4.2114       1.0000          .0000       .10000E+07
    23 'Prefactor '    .23221E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    .64109E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.5371       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .75008       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6798.686     FROM MIGRAD    STATUS=CONVERGED    189 CALLS     1804 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6098        3.5000       -.52761E-08    .28509E-03
   2  Prefactor     1.1279        3.3324        .47535E-07    .17442E-02
   3  norm          14.368        4.5606        .92275E-08    .18676E-02
   4  Prefactor      .0000        .87409        .18198E-07** at limit **
   5  Prefactor      .0000        1.7526       -.63616E-08** at limit **
   6  Prefactor     8.4038        5.2683        .49042E-09    .72559E-01
   7  norm          .21755        .20363       -.98115E-08** at limit **
   8  norm          8.3837        4.8310        .62979E-08   -.26278E-01
   9  Prefactor     .54290E-07    58.022       -.34575E-06** at limit **
  10  Prefactor     14.640        1.0659        .13052E-08    .13344E-02
  11  Prefactor     .16653E-09    10.258       -.11049E-08** at limit **
  12  Prefactor     .55511E-10    4.7007       -.25361E-07** at limit **
  13  norm          .11102E-09    2.2909        .64784E-07** at limit **
  14  Prefactor     14.190        7.5413       -.18362E-07    .58975E-01
  15  Prefactor     15.498        38.667        .16695E-06   -.94702E-02
  16  norm          4.9381        3.9082       -.71896E-09    .36199E-03
  17  norm          .44703        7.2770       -.16796E-06   -.10502E-01
  18  norm          10.420        5.2958       -.62913E-07    .18451E-01
  19  norm           .0000        7.3677        .37110E-07** at limit **
  20  norm          4.6098        6.0665        .51296E-07    .23492E-01
  21  Prefactor     .77716E-09    22.033       -.16921E-06** at limit **
  22  norm          4.2058        5.7486        .38451E-07   -.96360E-02
  23  Prefactor      .0000        5.3078       -.83148E-07** at limit **
  24  Prefactor     .38858E-09    21.984        .31737E-07** at limit **
  25  Normalizat    1.5361        .21969       -.10137E-05   -.93173E-04
  26  Prefactor     .75050        .20649        .11293E-05    .49927E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60977
  Prefactor  = 1.12792
  norm       = 14.3684
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.40378
  norm       = 0.217551
  norm       = 8.38369
  Prefactor  = 5.42899e-08
  Prefactor  = 14.6398
  Prefactor  = 1.66533e-10
  Prefactor  = 5.55112e-11
  norm       = 1.11022e-10
  Prefactor  = 14.1898
  Prefactor  = 15.4982
  norm       = 4.93814
  norm       = 0.447025
  norm       = 10.4196
  norm       = 0
  norm       = 4.60984
  Prefactor  = 7.77156e-10
  norm       = 4.20577
  Prefactor  = 0
  Prefactor  = 3.88578e-10
  Normalizat = 1.53609
  Prefactor  = 0.750502
 **********
 **   18 **HESSE 
 **********

 FCN=   6798.686     FROM HESSE     STATUS=OK           518 CALLS     2322 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6098        3.7039        .83337E-03   -1.5683    
   2  Prefactor     1.1279        3.5432        .11075E-02   -1.5687    
   3  norm          14.368        4.5788        .26390E-03   -1.5632    
   4  Prefactor      .0000        .87013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.7397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.4038        6.5262        .34562E-03   -1.5650    
   7  norm          .21755        .21304        .77817E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.3837        5.0188        .34594E-03   -1.5650    
   9  Prefactor     .54290E-07    57.691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.640        9.9683        .26150E-03   -1.5631    
  11  Prefactor     .16653E-09    10.233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    4.7145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .11102E-09    2.2799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.190        11.551        .26672E-03   -1.5633    
  15  Prefactor     15.498        41.402        .26617E-03   -1.5629    
  16  norm          4.9381        3.9092        .45146E-03   -1.5664    
  17  norm          .44703        7.7161        .52761E-02   -1.5695    
  18  norm          10.420        9.3507        .30946E-03   -1.5643    
  19  norm           .0000        7.3767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.6098        6.3177        .46900E-03   -1.5665    
  21  Prefactor     .77716E-09    21.910        .16538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.2058        5.8207        .49081E-03   -1.5667    
  23  Prefactor      .0000        5.3112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .38858E-09    22.008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.5361        .19138        .54560E-01   -.76769    
  26  Prefactor     .75050        .17815        .71969E-01   -1.0158    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.75272e-08
Minuit parameter uncertainties:
  1  3.70391
  2  3.54318
  3  4.57879
  4  5.50314e-06
  5  1.13081e-07
  6  6.52624
  7  0.21304
  8  5.01877
  9  0.00353947
  10  9.96833
  11  7.58075e-05
  12  3.20681e-05
  13  3.26425e-05
  14  11.5513
  15  41.4032
  16  3.90916
  17  3.71446
  18  9.35075
  19  1.04481e-06
  20  6.31774
  21  0.000263209
  22  5.82066
  23  1.81416e-05
  24  0.000182216
  25  0.191469
  26  0.178287
Done.

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

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  1.665e-10  7.581e-05  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  2.089e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  1.816e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
564    Prefactor:  7.505e-01  1.783e-01  0.000e+00  1.000e+01 ( 1.000e+00)
565        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
566        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
563   Normalization:  1.536e+00  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 193.637 22.181
Photon Flux Upper Limit: 7.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/123379/likelihoodResults_682560001_682819201_4FGL_J1254.5+2210_daily_bin1710.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) = 6798.7362833
delta logL = -0.0500514492278

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6798.45892647
delta logL = 0.227305375174

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23766E-02   1.0000          .0000       .10000E+07
     2 'Index     '    5.4779       1.0000          .0000       10.000    
     3 'Normalizat'    1.4898       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77850       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6798.686     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      295 TOTAL
                     EDM=   .28E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.8768        .41296E-07** at limit **
   2  Index         1.2335        .25726       -.15063E-05     .0000    
   3  Normalizat    1.5361        .21260       -.14642E-05   -.12892E-04
   4  Prefactor     .75050        .20526       -.44395E-06   -.11336E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.23355
  Normalizat = 1.53609
  Prefactor  = 0.750501
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6798.686     FROM HESSE     STATUS=FAILED        11 CALLS      306 TOTAL
                     EDM=   .28E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.8153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .10751        1.2029       -.15063E-05   -38.552    
   3  Normalizat    1.5361        1.0642       -.14642E-05   -2.3739    
   4  Prefactor     .75050        1.1088       -.44395E-06   -2.1258    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81339e-13
Minuit parameter uncertainties:
  1  3.0665e-06
  2  0.665373
  3  1.08038
  4  1.14444
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/123379': 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) = 6798.68623185
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1254.5+2210
   Spectrum: PowerLaw
301    Prefactor:  0.000e+00  3.066e-06  0.000e+00  1.000e+06 ( 1.000e-13)
302        Index:  1.234e+00  6.654e-01  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  1.816e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
564    Prefactor:  7.505e-01  1.144e+00  0.000e+00  1.000e+01 ( 1.000e+00)
565        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
566        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
563   Normalization:  1.536e+00  1.080e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 193.637 22.181

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/123379/cmap_HighResolution_682560001_682819201_4FGL_J1254.5+2210_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.98e-03', job_status='DONE', photon_flux_upper_limit='7.91e-08', time_completed='2022-09-16 17:13:46.423092', job_id='123379', GAL2='0.75', fit_tolerance='1e-08', EG2='1.54', EG='1.54', time_epoch_completed='1663373626.42', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='1710' AND source_name='4FGL J1254.5+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:13:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 123379: <4FGL_J1254.5+2210_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1254.5+2210_daily_bin1710> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:00:23 2022
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:01:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:01:57 2022
Terminated at Fri Sep 16 17:13:47 2022
Results reported at Fri Sep 16 17:13:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.5+2210_daily_bin1710 193.637 22.1808 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1254.5+2210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   638.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            804 sec.

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

