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


Performing analysis on: 4FGL_J0855.9+7144_daily_bin1745
RA = 133.975, Dec = 71.7419
tmin = 691632001, tmax = 691891201
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='641631', job_status='RUN', time_executed='2022-12-05 00:21:34.782582', time_epoch_executed='1670228494.78' WHERE source_name='4FGL J0855.9+7144' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641631

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641631/ft1_4FGL_J0855.9+7144_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641631/ft2_4FGL_J0855.9+7144_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641631/ft1_4FGL_J0855.9+7144_daily_bin1745.fits outfile=/scratch/kocevski/641631/ft1_filteredMKT_4FGL_J0855.9+7144_daily_bin1745.fits ra=133.975 dec=71.7419 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.35
user 2.14
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/641631/ft2_4FGL_J0855.9+7144_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/641631/ft2_4FGL_J0855.9+7144_daily_bin1745.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/641631/ft1_filteredMKT_4FGL_J0855.9+7144_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/641631/ft1_filtered_4FGL_J0855.9+7144_daily_bin1745.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 675

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641631/ft1_filtered_4FGL_J0855.9+7144_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/641631/ft2_4FGL_J0855.9+7144_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/641631/ltcube_691632001_691891201_4FGL_J0855.9+7144_daily_bin1745.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/641631/ft2_4FGL_J0855.9+7144_daily_bin1745.fits
.....................!
real 12.19
user 11.85
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641631/ft1_filtered_4FGL_J0855.9+7144_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/641631/ft2_4FGL_J0855.9+7144_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/641631/ltcube_691632001_691891201_4FGL_J0855.9+7144_daily_bin1745.fits outfile=/scratch/kocevski/641631/expmap_691632001_691891201_4FGL_J0855.9+7144_daily_bin1745.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/641631/ltcube_691632001_691891201_4FGL_J0855.9+7144_daily_bin1745.fits
.....................!
real 191.77
user 186.19
sys 5.25

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

Setting source of interest to:
4FGL J0855.9+7144 @ 133.975 71.7419

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/641631/ft1_filtered_4FGL_J0855.9+7144_daily_bin1745.fits scfile=/scratch/kocevski/641631/ft2_4FGL_J0855.9+7144_daily_bin1745.fits outfile=/scratch/kocevski/641631/cmap_691632001_691891201_4FGL_J0855.9+7144_daily_bin1745.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=133.975 yref=71.7419 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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641631/ft1_filtered_4FGL_J0855.9+7144_daily_bin1745.fits scfile=/scratch/kocevski/641631/ft2_4FGL_J0855.9+7144_daily_bin1745.fits outfile=/scratch/kocevski/641631/cmap_HighResolution_691632001_691891201_4FGL_J0855.9+7144_daily_bin1745.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=133.975 yref=71.7419 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/641631/ft1_filtered_4FGL_J0855.9+7144_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/641631/ft2_4FGL_J0855.9+7144_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/641631/Model_4FGL_J0855.9+7144_daily_bin1745.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/641631/ft1_filtered_4FGL_J0855.9+7144_daily_bin1745.fits.....................!
real 88.72
user 87.30
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/641631/ft1_filtered_4FGL_J0855.9+7144_daily_bin1745.fits', '/scratch/kocevski/641631/ft2_4FGL_J0855.9+7144_daily_bin1745.fits', expMap='/scratch/kocevski/641631/expmap_691632001_691891201_4FGL_J0855.9+7144_daily_bin1745.fits', expCube='/scratch/kocevski/641631/ltcube_691632001_691891201_4FGL_J0855.9+7144_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/641631/Model_4FGL_J0855.9+7144_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0855.9+7144'

4FGL J0855.9+7144
   Spectrum: PowerLaw
329    Prefactor:  5.650e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
330        Index:  2.621e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  8.574e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/641631/ft1_filtered_4FGL_J0855.9+7144_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/641631/ft2_4FGL_J0855.9+7144_daily_bin1745.fits
Exposure map: /scratch/kocevski/641631/expmap_691632001_691891201_4FGL_J0855.9+7144_daily_bin1745.fits
Exposure cube: /scratch/kocevski/641631/ltcube_691632001_691891201_4FGL_J0855.9+7144_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/641631/Model_4FGL_J0855.9+7144_daily_bin1745.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) = 7238.6843771

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.864       1.0000          .0000       .10000E+07
     2 'Prefactor '    .32367E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .50751       1.0000          .0000       .10000E+07
     4 'norm      '    1.1636       1.0000          .0000       .10000E+07
     5 'norm      '    12.936       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16353E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20878       1.0000          .0000       .10000E+07
     8 'norm      '    .56499E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.9969       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16620E-03   1.0000          .0000       .10000E+07
    11 'norm      '    8.0229       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24044E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .69043E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .17737       1.0000          .0000       .10000E+07
    15 'Prefactor '    .56526E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .95051E-04   1.0000          .0000       .10000E+07
    17 'norm      '    6.5637       1.0000          .0000       .10000E+07
    18 'norm      '    3.5854       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.7690       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11509E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .24921E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    33.208       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.4705       1.0000          .0000       .10000E+07
    24 'norm      '    3.9488       1.0000          .0000       .10000E+07
    25 'norm      '    .52568E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    31.865       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.3640       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .77893       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7238.640     FROM MIGRAD    STATUS=CONVERGED    237 CALLS     2589 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.952        50.819        .34426E-06    .26466E-03
   2  Prefactor     .11102E-09    19.033        .66672E-06** at limit **
   3  norm          .38883        181.20       -.41332E-05   -.47801E-03
   4  norm          1.1619        .83138       -.50997E-09   -.20658E-02
   5  norm          13.070        17.514       -.14738E-05   -.58663E-03
   6  Prefactor     .33307E-09    36.308       -.11430E-05** at limit **
   7  Prefactor     .16653E-09    74.512        .10548E-05** at limit **
   8  norm           .0000        3.2799        .48344E-07** at limit **
   9  Prefactor     4.0150        3.6382        .64262E-08   -.33475E-03
  10  Prefactor      .0000        4.7210        .22276E-06** at limit **
  11  norm          8.0516        3.4427       -.44649E-07   -.38912E-03
  12  Prefactor     .33307E-09    19.044       -.56023E-06** at limit **
  13  Prefactor     .55511E-10    46.893        .84699E-06** at limit **
  14  norm          .17854        .47952        .19666E-07** at limit **
  15  Prefactor      .0000        3.9634       -.18280E-08** at limit **
  16  Prefactor      .0000        2.2142        .75451E-07** at limit **
  17  norm          6.5632        1.2255        .98431E-08   -.20620E-02
  18  norm          3.5880        10.121        .31053E-06   -.13941E-03
  19  Prefactor     7.8469        11.418        .19634E-06   -.48272E-03
  20  Prefactor      .0000        21.059       -.27297E-06** at limit **
  21  norm           .0000        7.0988        .28589E-06** at limit **
  22  Prefactor     69.839        219.08       -.40159E-05    .13389E-03
  23  Prefactor     3.5271        6.2639       -.93191E-07   -.11591E-03
  24  norm          3.9376        1.1331       -.47362E-09   -.16181E-02
  25  norm           .0000        .91614        .25628E-06** at limit **
  26  Prefactor     31.650        15.219        .13274E-06   -.25275E-03
  27  Normalizat    1.3598        .24217        .58023E-05   -.12547E-03
  28  Prefactor     .77843        .17092       -.50937E-06   -.12556E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.9524
  Prefactor  = 1.11022e-10
  norm       = 0.388827
  norm       = 1.16185
  norm       = 13.0702
  Prefactor  = 3.33067e-10
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 4.01502
  Prefactor  = 0
  norm       = 8.05164
  Prefactor  = 3.33067e-10
  Prefactor  = 5.55112e-11
  norm       = 0.178543
  Prefactor  = 0
  Prefactor  = 0
  norm       = 6.56322
  norm       = 3.58799
  Prefactor  = 7.84687
  Prefactor  = 0
  norm       = 0
  Prefactor  = 69.8389
  Prefactor  = 3.52711
  norm       = 3.93755
  norm       = 0
  Prefactor  = 31.6499
  Normalizat = 1.35983
  Prefactor  = 0.778432
 **********
 **   18 **HESSE 
 **********

 FCN=   7238.640     FROM HESSE     STATUS=OK           591 CALLS     3180 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.952        50.718        .16043E-03   -1.5580    
   2  Prefactor     .11102E-09    19.057        .16328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .38883        14.468        .11125E-01   -1.5695    
   4  norm          1.1619        .83776        .10664E-02   -1.5686    
   5  norm          13.070        17.480        .27825E-03   -1.5636    
   6  Prefactor     .33307E-09    36.065        .17289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    73.307        .11622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.2718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.0150        3.6378        .50422E-03   -1.5668    
  10  Prefactor      .0000        1.0692        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.0516        3.4383        .35374E-03   -1.5651    
  12  Prefactor     .33307E-09    18.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    46.065        .14850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .17854        .50224        .23682E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        3.9691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        2.2171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.5632        1.2237        .39147E-03   -1.5657    
  18  norm          3.5880        10.150        .53344E-03   -1.5670    
  19  Prefactor     7.8469        11.449        .35952E-03   -1.5652    
  20  Prefactor      .0000        21.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        7.0738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     69.839        217.76        .17355E-03   -1.5541    
  23  Prefactor     3.5271        6.2206        .54257E-03   -1.5670    
  24  norm          3.9376        1.1218        .50738E-03   -1.5668    
  25  norm           .0000        .90316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     31.650        15.191        .17717E-03   -1.5595    
  27  Normalizat    1.3598        .21015        .64193E-01   -.81798    
  28  Prefactor     .77843        .14862        .43442E-01   -1.0053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13026e-07
Minuit parameter uncertainties:
  1  50.7186
  2  8.13887e-05
  3  4.74373
  4  0.837765
  5  17.4798
  6  0.000218528
  7  0.000213909
  8  3.61573e-06
  9  3.63784
  10  1.00953e-05
  11  3.43827
  12  0.000153911
  13  0.000105135
  14  0.502237
  15  3.57507e-06
  16  2.57183e-06
  17  1.22373
  18  10.1505
  19  11.4488
  20  7.153e-06
  21  2.20033e-05
  22  217.788
  23  6.22065
  24  1.12185
  25  6.96628e-06
  26  15.1912
  27  0.210287
  28  0.1487
Done.

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

Extracting fit parameters...

4FGL J0855.9+7144
   Spectrum: PowerLaw
329    Prefactor:  5.551e-11  1.051e-04  0.000e+00  1.000e+06 ( 1.000e-13)
330        Index:  2.621e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  8.574e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
759    Prefactor:  7.784e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
760        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
761        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
758   Normalization:  1.360e+00  2.103e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 133.975 71.742
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/641631/likelihoodResults_691632001_691891201_4FGL_J0855.9+7144_daily_bin1745.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) = 7238.65108268
delta logL = -0.0106503823554

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7238.58889164
delta logL = 0.0515406548302

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7238.589     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      247 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22557        2.6468        .24781E-02** at limit **
   2  Index         4.9511        1.3580        .32200        .27579E-04
   3  Normalizat    1.3344        .16066E-01    .64683E-01    .63527E-05
   4  Prefactor     .78968        .11988E-01    .43583E-01    .17523E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.225573
  Index      = 4.95108
  Normalizat = 1.3344
  Prefactor  = 0.789682
 **********
 **   18 **HESSE 
 **********

 FCN=   7238.589     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      282 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22557        95.488        .88587E-04   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.9511        7.2673        .74889E-02   -.97840E-02
   3  Normalizat    1.3344        .13538        .28612E-03   -.82545    
   4  Prefactor     .78968        .98888E-01    .26820E-03   -1.0011    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.28366e-09
Minuit parameter uncertainties:
  1  9.2823
  2  21.2242
  3  0.135419
  4  0.0989101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641631': 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) = 7238.58889012
delta logL = 0.0515421788959

Extracting fit parameters...

4FGL J0855.9+7144
   Spectrum: PowerLaw
329    Prefactor:  2.256e-01  9.282e+00  0.000e+00  1.000e+06 ( 1.000e-13)
330        Index:  4.951e+00  2.122e+01  0.000e+00  1.000e+01 (-1.000e+00)
331        Scale:  8.574e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
759    Prefactor:  7.897e-01  9.891e-02  0.000e+00  1.000e+01 ( 1.000e+00)
760        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
761        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
758   Normalization:  1.334e+00  1.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 133.975 71.742

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/641631/cmap_HighResolution_691632001_691891201_4FGL_J0855.9+7144_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.53e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2022-12-05 00:36:55.044358', job_id='641631', GAL2='0.79', fit_tolerance='1e-08', EG2='1.33', EG='1.36', time_epoch_completed='1670229415.04', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='5.15e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1745' AND source_name='4FGL J0855.9+7144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:36:55 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 641631: <4FGL_J0855.9+7144_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0855.9+7144_daily_bin1745> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec  5 00:20:22 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:20:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:20:23 2022
Terminated at Mon Dec  5 00:36:55 2022
Results reported at Mon Dec  5 00:36:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0855.9+7144_daily_bin1745 133.975 71.7419 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0855.9+7144 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   922.20 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             352.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            993 sec.

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

