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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1773
RA = 171.491, Dec = 20.0912
tmin = 698889601, tmax = 699148801
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='786568', job_status='RUN', time_executed='2023-02-27 09:30:56.940487', time_epoch_executed='1677519056.94' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/786568

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/786568/ft1_4FGL_J1125.9+2005_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/786568/ft2_4FGL_J1125.9+2005_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/786568/ft1_4FGL_J1125.9+2005_daily_bin1773.fits outfile=/scratch/kocevski/786568/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1773.fits ra=171.491 dec=20.0912 rad=12.0 tmin=698889601.0 tmax=699148801.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.97
user 2.73
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/786568/ft2_4FGL_J1125.9+2005_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/786568/ft2_4FGL_J1125.9+2005_daily_bin1773.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/786568/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/786568/ft1_filtered_4FGL_J1125.9+2005_daily_bin1773.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.35
sys 0.13

Number of photons that the gtmktime cut: 22

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/786568/ft1_filtered_4FGL_J1125.9+2005_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/786568/ft2_4FGL_J1125.9+2005_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/786568/ltcube_698889601_699148801_4FGL_J1125.9+2005_daily_bin1773.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/786568/ft2_4FGL_J1125.9+2005_daily_bin1773.fits
.....................!
real 14.66
user 14.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/786568/ft1_filtered_4FGL_J1125.9+2005_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/786568/ft2_4FGL_J1125.9+2005_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/786568/ltcube_698889601_699148801_4FGL_J1125.9+2005_daily_bin1773.fits outfile=/scratch/kocevski/786568/expmap_698889601_699148801_4FGL_J1125.9+2005_daily_bin1773.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/786568/ltcube_698889601_699148801_4FGL_J1125.9+2005_daily_bin1773.fits
.....................!
real 190.35
user 185.16
sys 4.74

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

Setting source of interest to:
4FGL J1125.9+2005 @ 171.491 20.0912

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/786568/ft1_filtered_4FGL_J1125.9+2005_daily_bin1773.fits scfile=/scratch/kocevski/786568/ft2_4FGL_J1125.9+2005_daily_bin1773.fits outfile=/scratch/kocevski/786568/cmap_698889601_699148801_4FGL_J1125.9+2005_daily_bin1773.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=171.491 yref=20.0912 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/786568/ft1_filtered_4FGL_J1125.9+2005_daily_bin1773.fits scfile=/scratch/kocevski/786568/ft2_4FGL_J1125.9+2005_daily_bin1773.fits outfile=/scratch/kocevski/786568/cmap_HighResolution_698889601_699148801_4FGL_J1125.9+2005_daily_bin1773.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=171.491 yref=20.0912 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/786568/ft1_filtered_4FGL_J1125.9+2005_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/786568/ft2_4FGL_J1125.9+2005_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/786568/Model_4FGL_J1125.9+2005_daily_bin1773.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/786568/ft1_filtered_4FGL_J1125.9+2005_daily_bin1773.fits......................!
real 15.49
user 14.32
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/786568/ft1_filtered_4FGL_J1125.9+2005_daily_bin1773.fits', '/scratch/kocevski/786568/ft2_4FGL_J1125.9+2005_daily_bin1773.fits', expMap='/scratch/kocevski/786568/expmap_698889601_699148801_4FGL_J1125.9+2005_daily_bin1773.fits', expCube='/scratch/kocevski/786568/ltcube_698889601_699148801_4FGL_J1125.9+2005_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/786568/Model_4FGL_J1125.9+2005_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1125.9+2005'

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  2.572e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/786568/ft1_filtered_4FGL_J1125.9+2005_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/786568/ft2_4FGL_J1125.9+2005_daily_bin1773.fits
Exposure map: /scratch/kocevski/786568/expmap_698889601_699148801_4FGL_J1125.9+2005_daily_bin1773.fits
Exposure cube: /scratch/kocevski/786568/ltcube_698889601_699148801_4FGL_J1125.9+2005_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/786568/Model_4FGL_J1125.9+2005_daily_bin1773.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 274.514908059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 271.810243906

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4595       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.0793       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.0911       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5940       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.9314       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.8474       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.4351       1.0000          .0000       .10000E+07
     8 'norm      '    1.0114       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11062E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.2547       1.0000          .0000       .10000E+07
    11 'norm      '    1.4557       1.0000          .0000       .10000E+07
    12 'Prefactor '    .22815E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .41260E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .30620E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .70074E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    42.637       1.0000          .0000       .10000E+07
    17 'Prefactor '    .55330E-02   1.0000          .0000       .10000E+07
    18 'norm      '    36.161       1.0000          .0000       .10000E+07
    19 'Prefactor '    164.37       1.0000          .0000       .10000E+07
    20 'Prefactor '    .12823E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .21239E-06   1.0000          .0000       .10000E+07
    22 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76344       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   271.8052     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      284 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4595        1.0223         .0000         .0000    
   2  Prefactor     1.0793        1.2055         .0000         .0000    
   3  Prefactor     4.0911        1.0077         .0000         .0000    
   4  Prefactor     1.5940        1.0604         .0000         .0000    
   5  Prefactor     5.9314        1.0036         .0000         .0000    
   6  Prefactor     2.8474        1.0163         .0000         .0000    
   7  Prefactor     2.4351        1.0228         .0000         .0000    
   8  norm          1.0114        .44417         .0000         .0000    
   9  Prefactor     .15947E-04    148.89        .46701E-05** at limit **
  10  Prefactor     .12762E-03    159.60        .71140E-05** at limit **
  11  norm          .62416E-04    156.93        .53105E-05** at limit **
  12  Prefactor     .60750E-04    48.022        .53894E-06** at limit **
  13  Prefactor      .0000        69.741        .81605E-06** at limit **
  14  Prefactor     .39541E-06    47.052        .19560E-05** at limit **
  15  Prefactor     .15632E-04    59.068       -.42136E-07** at limit **
  16  Prefactor     42.771        1.9949       -.30721E-07    .55698E-02
  17  Prefactor      .0000        18.740        .45751E-06** at limit **
  18  norm          36.188        11.989       -.13497E-06   -.14957E-03
  19  Prefactor     164.28        4.2774        .69671E-07    .10512    
  20  Prefactor      .0000        7.3134       -.11195E-05** at limit **
  21  Prefactor      .0000        3.7649        .22416E-06** at limit **
  22  Normalizat    .10000E-01    .33644       -.51088E-04** at limit **
  23  Prefactor     .76337        .41234        .24454E-05    .34532E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.45949
  Prefactor  = 1.07935
  Prefactor  = 4.09108
  Prefactor  = 1.59403
  Prefactor  = 5.93142
  Prefactor  = 2.84744
  Prefactor  = 2.43507
  norm       = 1.01136
  Prefactor  = 1.59472e-05
  Prefactor  = 0.000127616
  norm       = 6.24163e-05
  Prefactor  = 6.075e-05
  Prefactor  = 0
  Prefactor  = 3.95406e-07
  Prefactor  = 1.56318e-05
  Prefactor  = 42.7707
  Prefactor  = 0
  norm       = 36.1881
  Prefactor  = 164.285
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.01
  Prefactor  = 0.76337
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   271.8052     FROM HESSE     STATUS=FAILED        11 CALLS      295 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     62864.        62862.         .0000       -1.5677    
   2  Prefactor     1.0793        1.2055         .0000       -1.5687    
   3  Prefactor     4.0911        1.0077         .0000       -1.5668    
   4  Prefactor     1.5940        1.0604         .0000       -1.5683    
   5  Prefactor     5.9314        1.0036         .0000       -1.5659    
   6  Prefactor     2.8474        1.0163         .0000       -1.5674    
   7  Prefactor     2.4351        1.0228         .0000       -1.5677    
   8  norm          1.0114        .44417         .0000       -1.5688    
   9  Prefactor     .15947E-04    .44347E-01    .46701E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .12762E-03    .24844        .71140E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .62416E-04    .19892        .53105E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .60750E-04    .44347E-01    .53894E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .63261        .81605E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .39541E-06    .44347E-01    .19560E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .15632E-04    .44347E-01   -.42136E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     42.771        1.0016       -.30721E-07   -1.5577    
  17  Prefactor      .0000        .44347E-01    .45751E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          36.188        1.0005       -.13497E-06   -1.5588    
  19  Prefactor     164.28        .99976        .69671E-07   -1.5452    
  20  Prefactor      .0000        .44347E-01   -.11195E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        .44347E-01    .22416E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .10000E-01    .25505       -.51088E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .76337        1.1127        .24454E-05   -1.0109    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.69252e-10
Minuit parameter uncertainties:
  1  1.02232
  2  1.20546
  3  1.00767
  4  1.06037
  5  1.0036
  6  1.01631
  7  1.02281
  8  0.444166
  9  0.00168193
  10  0.0112614
  11  0.00704718
  12  0.00328275
  13  1.79874e-06
  14  0.00026485
  15  0.00166521
  16  1.00164
  17  2.22455e-07
  18  1.00047
  19  0.999756
  20  1.63899e-06
  21  1.80203e-07
  22  4.11208e-07
  23  1.14817
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 271.80519692

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  6.075e-05  3.283e-03  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  7.634e-01  1.148e+00  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.000e-02  4.112e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 171.491 20.091
Photon Flux Upper Limit: 1.85e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.41e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/786568/likelihoodResults_698889601_699148801_4FGL_J1125.9+2005_daily_bin1773.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) = 271.809383545
delta logL = -0.00418662406275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 271.805196662
delta logL = 2.58503291661e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   271.8052     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      231 TOTAL
                     EDM=   .53E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        157.14       -.44511E-05** at limit **
   2  Index         1.1240        9.2880       -.24906E-03     .0000    
   3  Normalizat    .10000E-01    .33574       -.51008E-04** at limit **
   4  Prefactor     .76337        .40525       -.13625E-04   -.15978E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.12403
  Normalizat = 0.01
  Prefactor  = 0.76337
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   271.8052     FROM HESSE     STATUS=FAILED        11 CALLS      242 TOTAL
                     EDM=   .53E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        157.35        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .75303E-01    1.1776       -.24906E-03   -.88702    
   3  Normalizat    .10000E-01    .25505       -.51008E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .76337        1.1127       -.13625E-04   -1.0109    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.31665e-13
Minuit parameter uncertainties:
  1  2.34895e-05
  2  0.816772
  3  5.35124e-07
  4  1.14816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/786568': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 271.805196651
delta logL = 2.69649376605e-07

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  2.349e-05  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.124e+00  8.168e-01  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  7.634e-01  1.148e+00  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.000e-02  5.351e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 171.491 20.091

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/786568/cmap_HighResolution_698889601_699148801_4FGL_J1125.9+2005_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-01', job_status='DONE', photon_flux_upper_limit='1.85e-06', time_completed='2023-02-27 09:42:08.616941', job_id='786568', GAL2='0.76', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677519728.62', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.76', dlogl='2.70e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1773' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 09:42:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 786568: <4FGL_J1125.9+2005_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1773> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Feb 27 09:30:18 2023
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:30:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:30:19 2023
Terminated at Mon Feb 27 09:42:23 2023
Results reported at Mon Feb 27 09:42:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1773 171.491 20.0912 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1125.9+2005 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   325.44 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             187.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            725 sec.

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

