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


Performing analysis on: 4FGL_J1502.5+5552_daily_bin1749
RA = 225.626, Dec = 55.8797
tmin = 692668801, tmax = 692928001
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='955559', job_status='RUN', time_executed='2022-12-17 00:57:45.180212', time_epoch_executed='1671267465.18' WHERE source_name='4FGL J1502.5+5552' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/955559

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/955559/ft1_4FGL_J1502.5+5552_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/955559/ft2_4FGL_J1502.5+5552_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/955559/ft1_4FGL_J1502.5+5552_daily_bin1749.fits outfile=/scratch/kocevski/955559/ft1_filteredMKT_4FGL_J1502.5+5552_daily_bin1749.fits ra=225.626 dec=55.8797 rad=12.0 tmin=692668801.0 tmax=692928001.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.05
user 2.81
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/955559/ft2_4FGL_J1502.5+5552_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/955559/ft2_4FGL_J1502.5+5552_daily_bin1749.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/955559/ft1_filteredMKT_4FGL_J1502.5+5552_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/955559/ft1_filtered_4FGL_J1502.5+5552_daily_bin1749.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.44
user 0.28
sys 0.15

Number of photons that the gtmktime cut: 618

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/955559/ft1_filtered_4FGL_J1502.5+5552_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/955559/ft2_4FGL_J1502.5+5552_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/955559/ltcube_692668801_692928001_4FGL_J1502.5+5552_daily_bin1749.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/955559/ft2_4FGL_J1502.5+5552_daily_bin1749.fits
.....................!
real 10.63
user 10.31
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/955559/ft1_filtered_4FGL_J1502.5+5552_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/955559/ft2_4FGL_J1502.5+5552_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/955559/ltcube_692668801_692928001_4FGL_J1502.5+5552_daily_bin1749.fits outfile=/scratch/kocevski/955559/expmap_692668801_692928001_4FGL_J1502.5+5552_daily_bin1749.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/955559/ltcube_692668801_692928001_4FGL_J1502.5+5552_daily_bin1749.fits
.....................!
real 152.64
user 148.17
sys 4.18

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

Setting source of interest to:
4FGL J1502.5+5552 @ 225.626 55.8797

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/955559/ft1_filtered_4FGL_J1502.5+5552_daily_bin1749.fits scfile=/scratch/kocevski/955559/ft2_4FGL_J1502.5+5552_daily_bin1749.fits outfile=/scratch/kocevski/955559/cmap_692668801_692928001_4FGL_J1502.5+5552_daily_bin1749.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=225.626 yref=55.8797 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.47
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/955559/ft1_filtered_4FGL_J1502.5+5552_daily_bin1749.fits scfile=/scratch/kocevski/955559/ft2_4FGL_J1502.5+5552_daily_bin1749.fits outfile=/scratch/kocevski/955559/cmap_HighResolution_692668801_692928001_4FGL_J1502.5+5552_daily_bin1749.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=225.626 yref=55.8797 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.48
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/955559/ft1_filtered_4FGL_J1502.5+5552_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/955559/ft2_4FGL_J1502.5+5552_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/955559/Model_4FGL_J1502.5+5552_daily_bin1749.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/955559/ft1_filtered_4FGL_J1502.5+5552_daily_bin1749.fits.....................!
real 43.22
user 42.05
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/955559/ft1_filtered_4FGL_J1502.5+5552_daily_bin1749.fits', '/scratch/kocevski/955559/ft2_4FGL_J1502.5+5552_daily_bin1749.fits', expMap='/scratch/kocevski/955559/expmap_692668801_692928001_4FGL_J1502.5+5552_daily_bin1749.fits', expCube='/scratch/kocevski/955559/ltcube_692668801_692928001_4FGL_J1502.5+5552_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/955559/Model_4FGL_J1502.5+5552_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1502.5+5552'

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  2.174e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/955559/ft1_filtered_4FGL_J1502.5+5552_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/955559/ft2_4FGL_J1502.5+5552_daily_bin1749.fits
Exposure map: /scratch/kocevski/955559/expmap_692668801_692928001_4FGL_J1502.5+5552_daily_bin1749.fits
Exposure cube: /scratch/kocevski/955559/ltcube_692668801_692928001_4FGL_J1502.5+5552_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/955559/Model_4FGL_J1502.5+5552_daily_bin1749.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) = 6703.523466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5613       1.0000          .0000       .10000E+07
     2 'Prefactor '    .47727E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .33835E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .83200E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10243E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .64471       1.0000          .0000       .10000E+07
     7 'Prefactor '    17.748       1.0000          .0000       .10000E+07
     8 'Prefactor '    25.706       1.0000          .0000       .10000E+07
     9 'Prefactor '    23.497       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.684       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43325E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.9574       1.0000          .0000       .10000E+07
    13 'Prefactor '    .24858E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.2280       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.6352       1.0000          .0000       .10000E+07
    16 'norm      '    .42785E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    15.800       1.0000          .0000       .10000E+07
    18 'norm      '    3.1106       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16624E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .28802E-03   1.0000          .0000       .10000E+07
    21 'norm      '    6.9848       1.0000          .0000       .10000E+07
    22 'Prefactor '    .21227E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .11866E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    7.2721       1.0000          .0000       .10000E+07
    25 'Normalizat'    .97956       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6703.485     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     2236 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5651        3.1673        .30235E-07    .85043E-03
   2  Prefactor     .46019E-05    52.903       -.91954E-06** at limit **
   3  Prefactor     .24758E-07    12.987        .35062E-07** at limit **
   4  Prefactor      .0000        3.8153       -.29133E-07** at limit **
   5  Prefactor     .31641E-08    6.4640        .10085E-06** at limit **
   6  Prefactor     .64356        1.6616        .98231E-07    .11994E-02
   7  Prefactor     17.827        1.5931       -.45197E-08    .17843E-02
   8  Prefactor     26.721        17.665        .16712E-06   -.12680    
   9  Prefactor     23.520        1.0465       -.38854E-08    .72657E-03
  10  Prefactor     12.620        4.3430        .80970E-08    .43663E-01
  11  Prefactor     .76161E-07    17.034        .23435E-06** at limit **
  12  norm          1.9586        1.3002        .38875E-08    .76148E-03
  13  Prefactor     .49960E-09    5.5296       -.14629E-06** at limit **
  14  Prefactor     1.2057        10.983        .13597E-05    .14698E-02
  15  Prefactor     4.6057        6.6050       -.66146E-07    .10627E-03
  16  norm           .0000        2.1430       -.98444E-07** at limit **
  17  Prefactor     15.785        2.2022       -.13163E-07   -.11281E-01
  18  norm          3.1111        2.5595        .75324E-07    .16796E-02
  19  Prefactor     .45582E-05    19.061       -.52165E-06** at limit **
  20  Prefactor      .0000        2.2692        .64877E-08** at limit **
  21  norm          7.0815        6.4615        .25482E-07   -.22321E-03
  22  Prefactor     .28019E-04    82.220       -.27933E-06** at limit **
  23  Prefactor     .61990E-05    22.330       -.54470E-06** at limit **
  24  Prefactor     7.2947        9.4064        .12555E-06    .10570E-01
  25  Normalizat    .97920        .18829       -.13958E-05    .24826E-04
  26  Prefactor     1.0692        .21183       -.31636E-06    .31258E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.5651
  Prefactor  = 4.60193e-06
  Prefactor  = 2.4758e-08
  Prefactor  = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0.643562
  Prefactor  = 17.8272
  Prefactor  = 26.7205
  Prefactor  = 23.5203
  Prefactor  = 12.6196
  Prefactor  = 7.61613e-08
  norm       = 1.95859
  Prefactor  = 4.996e-10
  Prefactor  = 1.20572
  Prefactor  = 4.60572
  norm       = 0
  Prefactor  = 15.785
  norm       = 3.11115
  Prefactor  = 4.55819e-06
  Prefactor  = 0
  norm       = 7.08151
  Prefactor  = 2.80189e-05
  Prefactor  = 6.19904e-06
  Prefactor  = 7.29465
  Normalizat = 0.979204
  Prefactor  = 1.06922
 **********
 **   18 **HESSE 
 **********

 FCN=   6703.485     FROM HESSE     STATUS=OK           514 CALLS     2750 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5651        3.1714        .42579E-03   -1.5661    
   2  Prefactor     .46019E-05    59.421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .24758E-07    13.006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.7928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    6.4661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .64356        1.8869        .65314E-03   -1.5692    
   7  Prefactor     17.827        24.858        .23747E-03   -1.5624    
   8  Prefactor     26.721        42.617        .19727E-03   -1.5605    
   9  Prefactor     23.520        20.339        .20635E-03   -1.5611    
  10  Prefactor     12.620        15.269        .28101E-03   -1.5637    
  11  Prefactor     .76161E-07    17.068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9586        1.3069        .74124E-03   -1.5680    
  13  Prefactor     .49960E-09    5.5254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.2057        10.951        .10151E-02   -1.5686    
  15  Prefactor     4.6057        6.6077        .46724E-03   -1.5665    
  16  norm           .0000        2.1322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.785        15.628        .25171E-03   -1.5629    
  18  norm          3.1111        2.5677        .57467E-03   -1.5673    
  19  Prefactor     .45582E-05    38.872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        2.2673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          7.0815        6.5294        .37935E-03   -1.5655    
  22  Prefactor     .28019E-04    16.046        .16957E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .61990E-05    35.536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     7.2947        9.4283        .37171E-03   -1.5654    
  25  Normalizat    .97920        .15788        .45910E-01   -.93730    
  26  Prefactor     1.0692        .17654        .57420E-01   -.90456    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65522e-06
Minuit parameter uncertainties:
  1  3.17142
  2  0.0330729
  3  0.00113497
  4  2.95028e-06
  5  0.000284864
  6  1.88685
  7  24.8577
  8  42.6176
  9  20.3386
  10  15.269
  11  0.00227995
  12  1.30688
  13  0.000102315
  14  7.26746
  15  6.60776
  16  5.68552e-06
  17  15.6276
  18  2.56774
  19  0.0266224
  20  1.64959e-07
  21  6.52943
  22  0.0424066
  23  0.0296844
  24  9.42834
  25  0.157958
  26  0.176635
Done.

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

Extracting fit parameters...

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  4.996e-10  1.023e-04  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  1.069e+00  1.766e-01  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.792e-01  1.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 225.626 55.880
Photon Flux Upper Limit: 5.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/955559/likelihoodResults_692668801_692928001_4FGL_J1502.5+5552_daily_bin1749.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) = 6703.48553106
delta logL = -4.93652032674e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6703.48548179
delta logL = -8.88267095434e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6703.485     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      342 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .21758E-01    .42118E-03** at limit **
   2  Index         2.5232        6.9081        .42901        .26500E-10
   3  Normalizat    .97920        .24571E-03    .45906E-01   -.85752E-03
   4  Prefactor     1.0692        .28349E-03    .57420E-01   -.51948E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 2.52324
  Normalizat = 0.9792
  Prefactor  = 1.06922
 **********
 **   18 **HESSE 
 **********

 FCN=   6703.485     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      371 TOTAL
                     EDM=   .42E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .76789E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5232        8.1490        .50000       -.51824    
   3  Normalizat    .97920        .46066E-03    .23000E-03   -.93731    
   4  Prefactor     1.0692        .53134E-03    .25391E-03   -.90456    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.22183e-13
Minuit parameter uncertainties:
  1  5.84246e-06
  2  6625.63
  3  0.000460662
  4  0.00053134
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/955559': 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) = 6703.4854817
delta logL = -3.41060513165e-10

Extracting fit parameters...

4FGL J1502.5+5552
   Spectrum: PowerLaw
348    Prefactor:  1.110e-10  5.842e-06  0.000e+00  1.000e+06 ( 1.000e-13)
349        Index:  2.523e+00  6.626e+03  0.000e+00  1.000e+01 (-1.000e+00)
350        Scale:  1.250e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  1.069e+00  5.313e-04  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  9.792e-01  4.607e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 225.626 55.880

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/955559/cmap_HighResolution_692668801_692928001_4FGL_J1502.5+5552_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.29e-03', job_status='DONE', photon_flux_upper_limit='5.54e-08', time_completed='2022-12-17 01:08:09.034701', job_id='955559', GAL2='1.07', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1671268089.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-3.41e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1749' AND source_name='4FGL J1502.5+5552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:08:09 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 955559: <4FGL_J1502.5+5552_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1502.5+5552_daily_bin1749> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Dec 17 00:55:17 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:55:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:55:19 2022
Terminated at Sat Dec 17 01:08:09 2022
Results reported at Sat Dec 17 01:08:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1502.5+5552_daily_bin1749 225.626 55.8797 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1502.5+5552 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   624.49 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            772 sec.

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

