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 19 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_J1125.9+2005_daily_bin1772
RA = 171.491, Dec = 20.0912
tmin = 698630401, tmax = 698889601
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='629707', job_status='RUN', time_executed='2023-02-24 01:25:46.976043', time_epoch_executed='1677230746.98' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/629707

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/629707/ft1_4FGL_J1125.9+2005_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/629707/ft2_4FGL_J1125.9+2005_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/629707/ft1_4FGL_J1125.9+2005_daily_bin1772.fits outfile=/scratch/kocevski/629707/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1772.fits ra=171.491 dec=20.0912 rad=12.0 tmin=698630401.0 tmax=698889601.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.99
user 2.77
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/629707/ft2_4FGL_J1125.9+2005_daily_bin1772.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/629707/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/629707/ft1_filtered_4FGL_J1125.9+2005_daily_bin1772.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 29

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/629707/ft1_filtered_4FGL_J1125.9+2005_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/629707/ft2_4FGL_J1125.9+2005_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/629707/ltcube_698630401_698889601_4FGL_J1125.9+2005_daily_bin1772.fits outfile=/scratch/kocevski/629707/expmap_698630401_698889601_4FGL_J1125.9+2005_daily_bin1772.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/629707/ltcube_698630401_698889601_4FGL_J1125.9+2005_daily_bin1772.fits
.....................!
real 191.30
user 186.75
sys 4.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 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/629707/ft1_filtered_4FGL_J1125.9+2005_daily_bin1772.fits scfile=/scratch/kocevski/629707/ft2_4FGL_J1125.9+2005_daily_bin1772.fits outfile=/scratch/kocevski/629707/cmap_698630401_698889601_4FGL_J1125.9+2005_daily_bin1772.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/629707/ft1_filtered_4FGL_J1125.9+2005_daily_bin1772.fits scfile=/scratch/kocevski/629707/ft2_4FGL_J1125.9+2005_daily_bin1772.fits outfile=/scratch/kocevski/629707/cmap_HighResolution_698630401_698889601_4FGL_J1125.9+2005_daily_bin1772.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.53
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/629707/ft1_filtered_4FGL_J1125.9+2005_daily_bin1772.fits', '/scratch/kocevski/629707/ft2_4FGL_J1125.9+2005_daily_bin1772.fits', expMap='/scratch/kocevski/629707/expmap_698630401_698889601_4FGL_J1125.9+2005_daily_bin1772.fits', expCube='/scratch/kocevski/629707/ltcube_698630401_698889601_4FGL_J1125.9+2005_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/629707/Model_4FGL_J1125.9+2005_daily_bin1772.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/629707/ft1_filtered_4FGL_J1125.9+2005_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/629707/ft2_4FGL_J1125.9+2005_daily_bin1772.fits
Exposure map: /scratch/kocevski/629707/expmap_698630401_698889601_4FGL_J1125.9+2005_daily_bin1772.fits
Exposure cube: /scratch/kocevski/629707/ltcube_698630401_698889601_4FGL_J1125.9+2005_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/629707/Model_4FGL_J1125.9+2005_daily_bin1772.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) = 359.713576968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.0307       1.0000          .0000       .10000E+07
     8 'norm      '    .53723E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .81177E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    310.50       1.0000          .0000       .10000E+07
    11 'norm      '    .19732E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .12716       1.0000          .0000       .10000E+07
    13 'Prefactor '    .99378E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    73.568       1.0000          .0000       .10000E+07
    15 'Prefactor '    .84864E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .75001E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10658E-07   1.0000          .0000       .10000E+07
    18 'norm      '    37.234       1.0000          .0000       .10000E+07
    19 'Prefactor '    164.50       1.0000          .0000       .10000E+07
    20 'Prefactor '    .10686E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .17421E-05   1.0000          .0000       .10000E+07
    22 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1819       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=   357.5061     FROM MIGRAD    STATUS=CONVERGED    157 CALLS      374 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  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     .23638E-02    1727.7       -.54889E-05** at limit **
   8  norm          .33608E-04    123.00       -.80152E-06** at limit **
   9  Prefactor     .41332E-03    528.69        .29509E-05** at limit **
  10  Prefactor     306.85        121.25       -.50771E-06    .52450    
  11  norm          .49621E-04    52.361       -.25473E-05** at limit **
  12  Prefactor     .61062E-09    101.65        .14442E-04** at limit **
  13  Prefactor     .84616E-06    129.32       -.38161E-05** at limit **
  14  Prefactor     76.930        93.194        .61722E-06    .12924    
  15  Prefactor     .61395E-07    114.34        .28013E-05** at limit **
  16  Prefactor     .55511E-10    23.145       -.20948E-05** at limit **
  17  Prefactor      .0000        15.465        .11297E-04** at limit **
  18  norm          37.261        13.371        .41604E-06    .87807E-03
  19  Prefactor     168.33        93.072        .33752E-06    .35253    
  20  Prefactor     .55511E-10    6.9861        .22255E-05** at limit **
  21  Prefactor     .55511E-10    24.886       -.61949E-05** at limit **
  22  Normalizat    .10000E-01    1.0455       -.52569E-03** at limit **
  23  Prefactor     1.1729        .53346        .13917E-04   -.58984E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.45949
  Prefactor  = 1.07935
  Prefactor  = 4.09108
  Prefactor  = 1.59403
  Prefactor  = 5.93142
  Prefactor  = 2.84744
  Prefactor  = 0.00236382
  norm       = 3.36081e-05
  Prefactor  = 0.000413321
  Prefactor  = 306.851
  norm       = 4.96213e-05
  Prefactor  = 6.10623e-10
  Prefactor  = 8.46156e-07
  Prefactor  = 76.9302
  Prefactor  = 6.13953e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 37.2613
  Prefactor  = 168.328
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Normalizat = 0.01
  Prefactor  = 1.17289
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   357.5061     FROM HESSE     STATUS=FAILED        11 CALLS      385 TOTAL
                     EDM=   .12E-08  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     .23638E-02    .13164       -.54889E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .33608E-04    .44347E-01   -.80152E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .41332E-03    .44347E-01    .29509E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     306.85        .99411       -.50771E-06   -1.5358    
  11  norm          .49621E-04    .44347E-01   -.25473E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .61062E-09    .43894        .14442E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .84616E-06    .44347E-01   -.38161E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     76.930        1.0226        .61722E-06   -1.5533    
  15  Prefactor     .61395E-07    .44347E-01    .28013E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    .44347E-01   -.20948E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .44347E-01    .11297E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          37.261        1.0005        .41604E-06   -1.5586    
  19  Prefactor     168.33        1.0116        .33752E-06   -1.5448    
  20  Prefactor     .55511E-10    .44347E-01    .22255E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    .44347E-01   -.61949E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .10000E-01    .25505       -.52569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.1729        1.1055        .13917E-04   -.87170    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.16899e-09
Minuit parameter uncertainties:
  1  1.02232
  2  1.20546
  3  1.00767
  4  1.06037
  5  1.0036
  6  1.01631
  7  0.0352807
  8  0.00244167
  9  0.00856265
  10  0.994105
  11  0.00296687
  12  3.26647e-05
  13  0.000387424
  14  1.02262
  15  0.000104336
  16  2.24672e-06
  17  1.70739e-07
  18  1.00046
  19  1.01156
  20  3.29879e-06
  21  2.64955e-06
  22  3.39512e-06
  23  1.12853
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  6.106e-10  3.266e-05  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:  1.173e+00  1.129e+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  3.395e-06  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.52e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.16e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/629707/likelihoodResults_698630401_698889601_4FGL_J1125.9+2005_daily_bin1772.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) = 357.510589906
delta logL = -0.0044692880316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 357.506120667
delta logL = -4.91570517624e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   357.5061     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      283 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42299E-07    158.52        .42118E-03** at limit **
   2  Index         .99862        8.5229        .50000       -.83418E-09
   3  Normalizat    .10000E-01    .20319E-02    .27431    ** at limit **
   4  Prefactor     1.1729        .26888E-01    .62934E-01   -.19102E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.22995e-08
  Index      = 0.998619
  Normalizat = 0.01
  Prefactor  = 1.17289
 **********
 **   18 **HESSE 
 **********

 FCN=   357.5061     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      314 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42299E-07    776.91        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .99862        8.8630        .50000       -.92776    
   3  Normalizat    .10000E-01    .16560E-01    .94971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1729        .59857E-01    .27823E-03   -.87170    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.46479e-09
Minuit parameter uncertainties:
  1  0.0114651
  2  88910
  3  8.09449e-06
  4  0.0598604
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/629707': 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) = 357.506120619
delta logL = -6.61316335027e-10

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  4.230e-08  1.147e-02  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  9.986e-01  8.891e+04  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:  1.173e+00  5.986e-02  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  8.094e-06  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/629707/cmap_HighResolution_698630401_698889601_4FGL_J1125.9+2005_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-01', job_status='DONE', photon_flux_upper_limit='1.52e-06', time_completed='2023-02-24 01:31:09.806900', job_id='629707', GAL2='1.17', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677231069.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.17', dlogl='-6.61e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1772' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:31:09 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 629707: <4FGL_J1125.9+2005_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1772> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Feb 24 01:25:18 2023
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:25:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:25:19 2023
Terminated at Fri Feb 24 01:31:10 2023
Results reported at Fri Feb 24 01:31:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1772 171.491 20.0912 698630401 698889601 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.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   351 sec.
    Turnaround time :                            352 sec.

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

