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


Performing analysis on: 4FGL_J1154.0+4037_daily_bin1776
RA = 178.514, Dec = 40.632
tmin = 699667201, tmax = 699926401
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='832477', job_status='RUN', time_executed='2023-03-08 00:38:19.583338', time_epoch_executed='1678264699.58' WHERE source_name='4FGL J1154.0+4037' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/832477

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/832477/ft1_4FGL_J1154.0+4037_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/832477/ft2_4FGL_J1154.0+4037_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/832477/ft1_4FGL_J1154.0+4037_daily_bin1776.fits outfile=/scratch/kocevski/832477/ft1_filteredMKT_4FGL_J1154.0+4037_daily_bin1776.fits ra=178.514 dec=40.632 rad=12.0 tmin=699667201.0 tmax=699926401.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.89
user 3.63
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/832477/ft2_4FGL_J1154.0+4037_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/832477/ft2_4FGL_J1154.0+4037_daily_bin1776.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/832477/ft1_filteredMKT_4FGL_J1154.0+4037_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/832477/ft1_filtered_4FGL_J1154.0+4037_daily_bin1776.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.32
sys 0.16

Number of photons that the gtmktime cut: 647

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/832477/ft1_filtered_4FGL_J1154.0+4037_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/832477/ft2_4FGL_J1154.0+4037_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/832477/ltcube_699667201_699926401_4FGL_J1154.0+4037_daily_bin1776.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/832477/ft2_4FGL_J1154.0+4037_daily_bin1776.fits
.....................!
real 11.76
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/832477/ft1_filtered_4FGL_J1154.0+4037_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832477/ft2_4FGL_J1154.0+4037_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/832477/ltcube_699667201_699926401_4FGL_J1154.0+4037_daily_bin1776.fits outfile=/scratch/kocevski/832477/expmap_699667201_699926401_4FGL_J1154.0+4037_daily_bin1776.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/832477/ltcube_699667201_699926401_4FGL_J1154.0+4037_daily_bin1776.fits
.....................!
real 191.61
user 185.85
sys 5.41

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

Setting source of interest to:
4FGL J1154.0+4037 @ 178.514 40.632

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/832477/ft1_filtered_4FGL_J1154.0+4037_daily_bin1776.fits scfile=/scratch/kocevski/832477/ft2_4FGL_J1154.0+4037_daily_bin1776.fits outfile=/scratch/kocevski/832477/cmap_699667201_699926401_4FGL_J1154.0+4037_daily_bin1776.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=178.514 yref=40.632 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/832477/ft1_filtered_4FGL_J1154.0+4037_daily_bin1776.fits scfile=/scratch/kocevski/832477/ft2_4FGL_J1154.0+4037_daily_bin1776.fits outfile=/scratch/kocevski/832477/cmap_HighResolution_699667201_699926401_4FGL_J1154.0+4037_daily_bin1776.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=178.514 yref=40.632 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/832477/ft1_filtered_4FGL_J1154.0+4037_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/832477/ft2_4FGL_J1154.0+4037_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/832477/Model_4FGL_J1154.0+4037_daily_bin1776.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/832477/ft1_filtered_4FGL_J1154.0+4037_daily_bin1776.fits.....................!
real 58.14
user 56.77
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/832477/ft1_filtered_4FGL_J1154.0+4037_daily_bin1776.fits', '/scratch/kocevski/832477/ft2_4FGL_J1154.0+4037_daily_bin1776.fits', expMap='/scratch/kocevski/832477/expmap_699667201_699926401_4FGL_J1154.0+4037_daily_bin1776.fits', expCube='/scratch/kocevski/832477/ltcube_699667201_699926401_4FGL_J1154.0+4037_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/832477/Model_4FGL_J1154.0+4037_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1154.0+4037'

4FGL J1154.0+4037
   Spectrum: PowerLaw
347    Prefactor:  8.147e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  2.115e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  2.078e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/832477/ft1_filtered_4FGL_J1154.0+4037_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/832477/ft2_4FGL_J1154.0+4037_daily_bin1776.fits
Exposure map: /scratch/kocevski/832477/expmap_699667201_699926401_4FGL_J1154.0+4037_daily_bin1776.fits
Exposure cube: /scratch/kocevski/832477/ltcube_699667201_699926401_4FGL_J1154.0+4037_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/832477/Model_4FGL_J1154.0+4037_daily_bin1776.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) = 6882.43098403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36620       1.0000          .0000       .10000E+07
     2 'norm      '    1.6399       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3447       1.0000          .0000       .10000E+07
     4 'Prefactor '    .64494E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59505E-05   1.0000          .0000       .10000E+07
     6 'norm      '    16.645       1.0000          .0000       .10000E+07
     7 'norm      '    .11729E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4681       1.0000          .0000       .10000E+07
     9 'Prefactor '    27.987       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17823       1.0000          .0000       .10000E+07
    11 'norm      '    1.3290       1.0000          .0000       .10000E+07
    12 'Prefactor '    11.566       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5710       1.0000          .0000       .10000E+07
    14 'Prefactor '    24.814       1.0000          .0000       .10000E+07
    15 'norm      '    .12546E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .14736E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .48873E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    64.488       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.8467       1.0000          .0000       .10000E+07
    20 'norm      '    29.308       1.0000          .0000       .10000E+07
    21 'norm      '    4.3855       1.0000          .0000       .10000E+07
    22 'Prefactor '    .27663E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    2.6686       1.0000          .0000       .10000E+07
    24 'norm      '    .66121E-04   1.0000          .0000       .10000E+07
    25 'Prefactor '    .69905E-06   1.0000          .0000       .10000E+07
    26 'Prefactor '    .90403E-04   1.0000          .0000       .10000E+07
    27 'Normalizat'    .94983       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .88419       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6882.402     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2548 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48794E-07    5.4287       -.32401E-05** at limit **
   2  norm          1.6403        .35190        .44002E-07    .17003E-01
   3  Prefactor     1.2936        25.712       -.43777E-06   -.44390E-02
   4  Prefactor     .38136E-07    5.3643        .21325E-05** at limit **
   5  Prefactor     .19984E-08    20.063        .11647E-05** at limit **
   6  norm          16.697        7.0706       -.71147E-06    .20836E-01
   7  norm          .27756E-09    9.5998       -.24947E-05** at limit **
   8  Prefactor     2.3585        3.3661        .68392E-06   -.11599E-01
   9  Prefactor     31.236        58.401       -.25503E-05   -.70481E-02
  10  Prefactor     .22933E-03    67.119        .13597E-04** at limit **
  11  norm          1.2521        2.6772        .58541E-06   -.65221E-02
  12  Prefactor     11.733        12.707        .49245E-05    .28733E-01
  13  Prefactor     4.5829        5.9046       -.87212E-06   -.48167E-02
  14  Prefactor     26.436        31.247       -.30462E-05   -.34298E-01
  15  norm           .0000        .44956       -.61687E-09** at limit **
  16  norm          .11102E-09    2.9062       -.20962E-06** at limit **
  17  Prefactor     .16653E-09    1.6981        .52782E-07** at limit **
  18  Prefactor     64.623        4.7065       -.23686E-06   -.18539E-01
  19  Prefactor     9.8688        8.1259       -.18028E-05    .99154E-02
  20  norm          29.297        3.4246       -.76316E-07   -.67849E-02
  21  norm          4.3844        3.0085        .25114E-08   -.84610E-02
  22  Prefactor      .0000        1.8550        .14031E-06** at limit **
  23  Prefactor     2.6711        2.4322        .11922E-06   -.12388E-01
  24  norm           .0000        2.6901       -.46933E-07** at limit **
  25  Prefactor     .12546E-07    27.164       -.31012E-06** at limit **
  26  Prefactor     .10991E-07    6.1961       -.96748E-06** at limit **
  27  Normalizat    .94873        .18434       -.42353E-06   -.10038E-03
  28  Prefactor     .88448        .21674        .10214E-04    .92103E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.87943e-08
  norm       = 1.64032
  Prefactor  = 1.2936
  Prefactor  = 3.81362e-08
  Prefactor  = 1.9984e-09
  norm       = 16.6972
  norm       = 2.77556e-10
  Prefactor  = 2.35847
  Prefactor  = 31.2359
  Prefactor  = 0.000229329
  norm       = 1.25213
  Prefactor  = 11.7325
  Prefactor  = 4.58293
  Prefactor  = 26.4363
  norm       = 0
  norm       = 1.11022e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 64.6228
  Prefactor  = 9.86883
  norm       = 29.2972
  norm       = 4.38436
  Prefactor  = 0
  Prefactor  = 2.67106
  norm       = 0
  Prefactor  = 1.25455e-08
  Prefactor  = 1.09912e-08
  Normalizat = 0.948733
  Prefactor  = 0.88448
 **********
 **   18 **HESSE 
 **********

 FCN=   6882.402     FROM HESSE     STATUS=OK           581 CALLS     3129 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48794E-07    58.066        .93512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.6403        .35878        .48644E-03   -1.5682    
   3  Prefactor     1.2936        51.518        .94413E-03   -1.5685    
   4  Prefactor     .38136E-07    11.140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19984E-08    20.244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          16.697        18.579        .24522E-03   -1.5626    
   7  norm          .27756E-09    11.696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3585        3.4048        .65064E-03   -1.5677    
   9  Prefactor     31.236        59.055        .18906E-03   -1.5596    
  10  Prefactor     .22933E-03    19.176        .12177E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.2521        2.8155        .95250E-03   -1.5686    
  12  Prefactor     11.733        16.787        .29432E-03   -1.5639    
  13  Prefactor     4.5829        5.9867        .47059E-03   -1.5665    
  14  Prefactor     26.436        34.187        .20079E-03   -1.5605    
  15  norm           .0000        .44012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .11102E-09    2.9156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16653E-09    1.6798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     64.623        43.569        .12453E-03   -1.5547    
  19  Prefactor     9.8688        15.891        .31909E-03   -1.5645    
  20  norm          29.297        3.4265        .18475E-03   -1.5600    
  21  norm          4.3844        3.0043        .48070E-03   -1.5666    
  22  Prefactor      .0000        1.8580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.6711        2.4269        .62362E-03   -1.5675    
  24  norm           .0000        2.6868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .12546E-07    27.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10991E-07    10.978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .94873        .15964        .45535E-01   -.94768    
  28  Prefactor     .88448        .18568        .69031E-01   -.96686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1031e-07
Minuit parameter uncertainties:
  1  0.00336717
  2  0.358785
  3  16.3273
  4  0.00130346
  5  0.000401639
  6  18.5796
  7  0.000117524
  8  3.40482
  9  59.056
  10  0.132631
  11  2.81551
  12  16.7871
  13  5.98675
  14  34.1876
  15  4.58207e-06
  16  3.9678e-05
  17  3.23746e-05
  18  43.5696
  19  15.8909
  20  3.42654
  21  3.00431
  22  1.31496e-05
  23  2.4269
  24  1.0191e-05
  25  0.00116816
  26  0.000694072
  27  0.159716
  28  0.185817
Done.

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

Extracting fit parameters...

4FGL J1154.0+4037
   Spectrum: PowerLaw
347    Prefactor:  6.462e+01  4.357e+01  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  2.115e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  2.078e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
677    Prefactor:  8.845e-01  1.858e-01  0.000e+00  1.000e+01 ( 1.000e+00)
678        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
679        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
676   Normalization:  9.487e-01  1.597e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.23
Ra Dec: 178.514 40.632
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.54e-08 +/- 2.39e-08
Energy Flux (Fixed Index): 1.88e-05 +/- 1.27e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6882.40065323
delta logL = 0.000949214870161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6882.39958138
delta logL = 0.00202105903372

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6882.400     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      271 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     67.483        67.658        .24354E-04    .67266E-03
   2  Index         2.0816        .55061        .61398E-02    .50694E-03
   3  Normalizat    .94996        .17889        .24472E-03   -.12799E-03
   4  Prefactor     .88354        .21608        .30553E-03    .82718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 67.4829
  Index      = 2.08158
  Normalizat = 0.949965
  Prefactor  = 0.883542
 **********
 **   18 **HESSE 
 **********

 FCN=   6882.400     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     67.483        64.074        .97417E-06   -1.5544    
   2  Index         2.0816        .52149        .12280E-02   -.62326    
   3  Normalizat    .94996        .17889        .97887E-05   -.94726    
   4  Prefactor     .88354        .21616        .12221E-04   -.96719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00131e-10
Minuit parameter uncertainties:
  1  64.0747
  2  0.522939
  3  0.179003
  4  0.216371
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/832477': 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): 0
logL (Free Index) = 6882.39958085
delta logL = 0.00202159622586

Extracting fit parameters...

4FGL J1154.0+4037
   Spectrum: PowerLaw
347    Prefactor:  6.748e+01  6.407e+01  0.000e+00  1.000e+06 ( 1.000e-14)
348        Index:  2.082e+00  5.229e-01  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  2.078e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
677    Prefactor:  8.835e-01  2.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
678        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
679        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
676   Normalization:  9.500e-01  1.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.21
Ra Dec: 178.514 40.632
Photon Index (Free Index): 2.08 +/- 0.52
Photon Flux (Free Index): 3.45e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.94e-05

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/832477/cmap_HighResolution_699667201_699926401_4FGL_J1154.0+4037_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.54e-08', energy_flux2='1.97e-05', photon_flux_error='2.39e-08', dlogl='2.02e-03', energy_flux='1.88e-05', photon_flux2='3.45e-08', job_status='DONE', time_completed='2023-03-08 00:50:41.192512', photon_index_error2='0.52', photon_index2='2.08', ts='4.23', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.94e-05', EG='0.95', time_epoch_completed='1678265441.19', return_code='0', job_id='832477', GAL2='0.88', EG2='0.95', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='2.75e-08', ts2='4.21', photon_index='2.11' WHERE bin_id='1776' AND source_name='4FGL J1154.0+4037' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:50:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 832477: <4FGL_J1154.0+4037_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1154.0+4037_daily_bin1776> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Mar  8 00:35:22 2023
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:35:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:35:23 2023
Terminated at Wed Mar  8 00:50:41 2023
Results reported at Wed Mar  8 00:50:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.0+4037_daily_bin1776 178.514 40.632 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1154.0+4037 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   743.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            919 sec.

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

