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 215 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1154.0+4037_monthly_bin168
RA = 178.514, Dec = 40.632
tmin = 672451201, tmax = 675043201
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='632252', job_status='RUN', time_executed='2022-05-24 03:05:43.662875', time_epoch_executed='1653386743.66' WHERE source_name='4FGL J1154.0+4037' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/632252

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/632252/ft1_4FGL_J1154.0+4037_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/632252/ft2_4FGL_J1154.0+4037_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/632252/ft1_4FGL_J1154.0+4037_monthly_bin168.fits outfile=/scratch/kocevski/632252/ft1_filteredMKT_4FGL_J1154.0+4037_monthly_bin168.fits ra=178.514 dec=40.632 rad=12.0 tmin=672451201.0 tmax=675043201.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 28.61
user 27.87
sys 0.67

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/632252/ft2_4FGL_J1154.0+4037_monthly_bin168.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/632252/ft1_filteredMKT_4FGL_J1154.0+4037_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/632252/ft1_filtered_4FGL_J1154.0+4037_monthly_bin168.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.87
user 0.66
sys 0.18

Number of photons that the gtmktime cut: 8795

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/632252/ft1_filtered_4FGL_J1154.0+4037_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/632252/ft2_4FGL_J1154.0+4037_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/632252/ltcube_672451201_675043201_4FGL_J1154.0+4037_monthly_bin168.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/632252/ft2_4FGL_J1154.0+4037_monthly_bin168.fits
.....................!
real 136.66
user 135.99
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/632252/ft1_filtered_4FGL_J1154.0+4037_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/632252/ft2_4FGL_J1154.0+4037_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/632252/ltcube_672451201_675043201_4FGL_J1154.0+4037_monthly_bin168.fits outfile=/scratch/kocevski/632252/expmap_672451201_675043201_4FGL_J1154.0+4037_monthly_bin168.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/632252/ltcube_672451201_675043201_4FGL_J1154.0+4037_monthly_bin168.fits
.....................!
real 192.50
user 186.76
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 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/632252/ft1_filtered_4FGL_J1154.0+4037_monthly_bin168.fits scfile=/scratch/kocevski/632252/ft2_4FGL_J1154.0+4037_monthly_bin168.fits outfile=/scratch/kocevski/632252/cmap_672451201_675043201_4FGL_J1154.0+4037_monthly_bin168.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.80
user 0.62
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/632252/ft1_filtered_4FGL_J1154.0+4037_monthly_bin168.fits scfile=/scratch/kocevski/632252/ft2_4FGL_J1154.0+4037_monthly_bin168.fits outfile=/scratch/kocevski/632252/cmap_HighResolution_672451201_675043201_4FGL_J1154.0+4037_monthly_bin168.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.80
user 0.63
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/632252/ft1_filtered_4FGL_J1154.0+4037_monthly_bin168.fits', '/scratch/kocevski/632252/ft2_4FGL_J1154.0+4037_monthly_bin168.fits', expMap='/scratch/kocevski/632252/expmap_672451201_675043201_4FGL_J1154.0+4037_monthly_bin168.fits', expCube='/scratch/kocevski/632252/ltcube_672451201_675043201_4FGL_J1154.0+4037_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/632252/Model_4FGL_J1154.0+4037_monthly_bin168.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  1.000e-04  1.000e+04 ( 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/632252/ft1_filtered_4FGL_J1154.0+4037_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/632252/ft2_4FGL_J1154.0+4037_monthly_bin168.fits
Exposure map: /scratch/kocevski/632252/expmap_672451201_675043201_4FGL_J1154.0+4037_monthly_bin168.fits
Exposure cube: /scratch/kocevski/632252/ltcube_672451201_675043201_4FGL_J1154.0+4037_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/632252/Model_4FGL_J1154.0+4037_monthly_bin168.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) = 95450.110973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7425       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.472       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .80698       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.9046       1.0000         .10000E-03   10000.    
     7 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.5610       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.8393       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.3349       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1897       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8700       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.088       1.0000         .10000E-03   10000.    
    15 'norm      '    .95630       1.0000         .10000E-03   10000.    
    16 'norm      '    4.6312       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.598       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .51432E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.6042       1.0000         .10000E-03   10000.    
    21 'norm      '    14.059       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10297E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.1690       1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.2636       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.0998       1.0000         .10000E-03   10000.    
    26 'norm      '    1.6555       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .30338       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0173       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1373       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   95449.88     FROM MIGRAD    STATUS=CONVERGED    751 CALLS     3401 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1055         .0000    ** at limit **
   2  norm          1.7425        .10658         .0000       -.17227E-03
   3  Prefactor     17.473        4.8334         .0000        .66177E-03
   4  Prefactor     .80676        1.5005         .0000        .52074E-02
   5  Prefactor     .10000E-03    4.3248         .0000    ** at limit **
   6  norm          1.9046        2.9737         .0000        .35319E-02
   7  norm          .10000E-03    5.1870         .0000    ** at limit **
   8  Prefactor     4.5609        .80345         .0000        .24058E-02
   9  Prefactor     7.8394        9.1651         .0000        .29394E-02
  10  Prefactor     .10000E-03    1.0657         .0000    ** at limit **
  11  norm          2.3349        .68476         .0000        .66655E-02
  12  Prefactor     1.1901        1.7580         .0000        .77348E-02
  13  Prefactor     1.8707        1.3167         .0000        .11485E-01
  14  Prefactor     20.089        10.104         .0000       -.22639E-02
  15  norm          .95623        .25749         .0000        .69056E-02
  16  norm          4.6312        1.6921         .0000       -.11081E-01
  17  Prefactor     14.596        7.7254         .0000       -.80713E-03
  18  Prefactor     .51550E-01    .14887         .0000        .11007E-01
  19  Prefactor     .10000E-03    3.6213         .0000    ** at limit **
  20  Prefactor     5.6042        4.5467         .0000        .72992E-03
  21  norm          14.059        .73780         .0000       -.76117E-03
  22  Prefactor     .10000E-03    8.2675         .0000    ** at limit **
  23  norm          5.1690        .91265         .0000        .10769E-04
  24  Prefactor     4.2637        1.7733         .0000        .38509E-01
  25  Prefactor     1.0998        .49396         .0000       -.21527E-02
  26  norm          1.6546        1.2984         .0000        .83328E-02
  27  Prefactor     .32032        1.2113         .0000        .22878E-02
  28  Prefactor     .10000E-03    1.6638         .0000    ** at limit **
  29  Normalizat    1.0173        .47614E-01     .0000        .12871E-03
  30  Prefactor     1.1373        .55538E-01     .0000        .58674E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 1.74248
  Prefactor  = 17.4735
  Prefactor  = 0.806763
  Prefactor  = 0.000100001
  norm       = 1.90463
  norm       = 0.0001
  Prefactor  = 4.56095
  Prefactor  = 7.83941
  Prefactor  = 0.0001
  norm       = 2.33486
  Prefactor  = 1.19005
  Prefactor  = 1.87068
  Prefactor  = 20.0893
  norm       = 0.956234
  norm       = 4.63118
  Prefactor  = 14.5961
  Prefactor  = 0.0515502
  Prefactor  = 0.0001
  Prefactor  = 5.6042
  norm       = 14.0591
  Prefactor  = 0.000100002
  norm       = 5.16901
  Prefactor  = 4.26366
  Prefactor  = 1.09981
  norm       = 1.65459
  Prefactor  = 0.320318
  Prefactor  = 0.0001
  Normalizat = 1.01732
  Prefactor  = 1.13733
 **********
 **   18 **HESSE 
 **********

 FCN=   95449.88     FROM HESSE     STATUS=OK           614 CALLS     4015 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7425        .10738        .23019E-04   -1.5444    
   3  Prefactor     17.473        4.7467        .95819E-04   -1.4872    
   4  Prefactor     .80676        3.1377        .46584E-02   -1.5528    
   5  Prefactor     .10000E-03    4.3359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.9046        2.9483        .30131E-03   -1.5432    
   7  norm          .10000E-03    5.2897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.5609        .79973        .10060E-03   -1.5281    
   9  Prefactor     7.8394        9.1494        .71607E-03   -1.5148    
  10  Prefactor     .10000E-03    1.0727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.3349        .67667        .12513E-03   -1.5402    
  12  Prefactor     1.1901        1.7230        .41774E-03   -1.5490    
  13  Prefactor     1.8707        1.3023        .27753E-03   -1.5434    
  14  Prefactor     20.089        10.019        .89365E-04   -1.4811    
  15  norm          .95623        .25006        .72648E-04   -1.5512    
  16  norm          4.6312        1.6924        .93511E-03   -1.5278    
  17  Prefactor     14.596        7.7111        .10483E-03   -1.4944    
  18  Prefactor     .51550E-01    .80810        .18340E-02   -1.5663    
  19  Prefactor     .10000E-03    3.6470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.6042        4.4374        .16970E-03   -1.5234    
  21  norm          14.059        .73759        .58281E-04   -1.4958    
  22  Prefactor     .10000E-03    8.4234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.1690        .91202        .11756E-03   -1.5253    
  24  Prefactor     4.2637        1.7720        .97564E-03   -1.5295    
  25  Prefactor     1.0998        .50579        .13836E-02   -1.5498    
  26  norm          1.6546        1.2790        .28644E-03   -1.5451    
  27  Prefactor     .32032        1.2800        .95066E-01   -1.5595    
  28  Prefactor     .10000E-03    1.6893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0173        .56115E-01    .25772E-03   -.92452    
  30  Prefactor     1.1373        .65620E-01    .29737E-03   -.88282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01063e-08
Minuit parameter uncertainties:
  1  0.000121024
  2  0.10738
  3  4.74678
  4  3.13835
  5  0.000115248
  6  2.94852
  7  4.19688e-05
  8  0.799729
  9  9.15103
  10  2.43119e-08
  11  0.676675
  12  1.72306
  13  1.30232
  14  10.0202
  15  0.250057
  16  1.69246
  17  7.71163
  18  0.407814
  19  2.48725e-05
  20  4.43768
  21  0.737593
  22  0.000236346
  23  0.912019
  24  1.77203
  25  0.50579
  26  1.27907
  27  1.28008
  28  5.37644e-08
  29  0.0561182
  30  0.065625
Done.

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

Extracting fit parameters...

4FGL J1154.0+4037
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  2.487e-05  1.000e-04  1.000e+04 ( 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:  1.137e+00  6.562e-02  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:  1.017e+00  5.612e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 178.514 40.632
Photon Flux Upper Limit: 7.47e-09 ph cm-2 s-1
Energy Flux Upper Limit: 5.66e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/632252/likelihoodResults_672451201_675043201_4FGL_J1154.0+4037_monthly_bin168.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) = 95449.886065
delta logL = -0.00130734975392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 95449.8847577
delta logL = -3.69473127648e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1062       1.0000          .0000       10.000    
     3 'Normalizat'    1.0173       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1373       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=   95449.88     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      242 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10028E-03    43.176        .18142E-02** at limit **
   2  Index         2.0757        6.0176        .50000        .13969E-04
   3  Normalizat    1.0173        .39757E-02    .25772E-03    .26821E-04
   4  Prefactor     1.1373        .48383E-02    .29737E-03    .22633E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100275
  Index      = 2.07571
  Normalizat = 1.01732
  Prefactor  = 1.13733
 **********
 **   18 **HESSE 
 **********

 FCN=   95449.88     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10028E-03    217.88        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0757        6.0287        .50000       -.62470    
   3  Normalizat    1.0173        .95006E-02    .10309E-04   -.92452    
   4  Prefactor     1.1373        .11554E-01    .11895E-04   -.88282    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.12421e-08
Minuit parameter uncertainties:
  1  0.01554
  2  641.249
  3  0.00950064
  4  0.0115542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/632252': 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) = 95449.8847575
delta logL = 1.19980541058e-07

Extracting fit parameters...

4FGL J1154.0+4037
   Spectrum: PowerLaw
347    Prefactor:  1.003e-04  1.554e-02  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.076e+00  6.412e+02  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:  1.137e+00  1.155e-02  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:  1.017e+00  9.501e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 178.514 40.632

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/632252/cmap_HighResolution_672451201_675043201_4FGL_J1154.0+4037_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-04', job_status='DONE', photon_flux_upper_limit='7.47e-09', time_completed='2022-05-24 05:58:20.300082', job_id='632252', GAL2='1.14', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1653397100.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.20e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='168' AND source_name='4FGL J1154.0+4037' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 05:58:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 632252: <4FGL_J1154.0+4037_monthly_bin168> in cluster <slac> Done

Job <4FGL_J1154.0+4037_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 03:00:27 2022
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 03:01:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 03:01:55 2022
Terminated at Tue May 24 06:07:45 2022
Results reported at Tue May 24 06:07:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.0+4037_monthly_bin168 178.514 40.632 672451201 675043201 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 :                                   9833.00 sec.
    Max Memory :                                 633 MB
    Average Memory :                             415.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11150 sec.
    Turnaround time :                            11238 sec.

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

