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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1714
RA = 171.491, Dec = 20.0912
tmin = 683596801, tmax = 683856001
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='103048', job_status='RUN', time_executed='2022-09-16 16:00:24.723588', time_epoch_executed='1663369224.72' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103048

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103048/ft1_4FGL_J1125.9+2005_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103048/ft2_4FGL_J1125.9+2005_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103048/ft1_4FGL_J1125.9+2005_daily_bin1714.fits outfile=/scratch/kocevski/103048/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1714.fits ra=171.491 dec=20.0912 rad=12.0 tmin=683596801.0 tmax=683856001.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.53
user 3.26
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/103048/ft2_4FGL_J1125.9+2005_daily_bin1714.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/103048/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/103048/ft1_filtered_4FGL_J1125.9+2005_daily_bin1714.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.53
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 559

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103048/ft1_filtered_4FGL_J1125.9+2005_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/103048/ft2_4FGL_J1125.9+2005_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/103048/ltcube_683596801_683856001_4FGL_J1125.9+2005_daily_bin1714.fits outfile=/scratch/kocevski/103048/expmap_683596801_683856001_4FGL_J1125.9+2005_daily_bin1714.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/103048/ltcube_683596801_683856001_4FGL_J1125.9+2005_daily_bin1714.fits
.....................!
real 193.13
user 187.87
sys 4.85

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/103048/ft1_filtered_4FGL_J1125.9+2005_daily_bin1714.fits scfile=/scratch/kocevski/103048/ft2_4FGL_J1125.9+2005_daily_bin1714.fits outfile=/scratch/kocevski/103048/cmap_683596801_683856001_4FGL_J1125.9+2005_daily_bin1714.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103048/ft1_filtered_4FGL_J1125.9+2005_daily_bin1714.fits scfile=/scratch/kocevski/103048/ft2_4FGL_J1125.9+2005_daily_bin1714.fits outfile=/scratch/kocevski/103048/cmap_HighResolution_683596801_683856001_4FGL_J1125.9+2005_daily_bin1714.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15963E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .31549E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    36.155       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.899       1.0000          .0000       .10000E+07
     5 'Prefactor '    13.736       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16757E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    65.429       1.0000          .0000       .10000E+07
     8 'norm      '    3.1733       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.4056       1.0000          .0000       .10000E+07
    10 'Prefactor '    16.200       1.0000          .0000       .10000E+07
    11 'norm      '    .15551E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10162E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12543E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .91926E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9446       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.1057       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.6263       1.0000          .0000       .10000E+07
    18 'norm      '    26.162       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10828E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .63843E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.1929       1.0000          .0000       .10000E+07
    22 'Normalizat'    .73150       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0229       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=   6184.471     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1500 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11657E-08    16.364        .11954E-06** at limit **
   2  Prefactor      .0000        1.2032        .35306E-07** at limit **
   3  Prefactor     36.140        10.862       -.72338E-08    .66627E-01
   4  Prefactor     14.160        6.6593       -.45236E-07   -.42619E-01
   5  Prefactor     13.762        8.0618       -.50176E-07    .27887E-01
   6  Prefactor     .43909E-07    6.5935       -.24672E-07** at limit **
   7  Prefactor     64.328        8.8874       -.15536E-07    .10217E-01
   8  norm          3.1709        1.8033       -.16027E-07   -.18822E-03
   9  Prefactor     5.4006        3.3818        .12300E-07    .18463E-02
  10  Prefactor     16.194        9.0357        .28018E-07    .26331E-02
  11  norm          .31580E-06    3.4240        .45654E-07** at limit **
  12  Prefactor     .39968E-08    10.296        .20939E-06** at limit **
  13  Prefactor     .22204E-09    189.98       -.42826E-06** at limit **
  14  Prefactor     .57676E-07    38.016       -.53188E-07** at limit **
  15  Prefactor     2.9196        3.3503        .22543E-07    .11984E-01
  16  Prefactor     3.1632        7.4789        .47635E-07    .84048E-03
  17  Prefactor     2.6257        1.6749       -.90782E-08    .14729E-03
  18  norm          26.116        3.8439        .11549E-07    .22042E-02
  19  Prefactor     .15127E-06    5.0403        .64837E-07** at limit **
  20  Prefactor      .0000        1.3666        .75228E-08** at limit **
  21  Prefactor     1.1895        2.1586       -.61338E-08    .21501E-03
  22  Normalizat    .73281        .21666        .35050E-05    .15530E-03
  23  Prefactor     1.0224        .21302       -.76149E-06    .13455E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16573e-09
  Prefactor  = 0
  Prefactor  = 36.1398
  Prefactor  = 14.1603
  Prefactor  = 13.7618
  Prefactor  = 4.39093e-08
  Prefactor  = 64.3276
  norm       = 3.17092
  Prefactor  = 5.4006
  Prefactor  = 16.194
  norm       = 3.15803e-07
  Prefactor  = 3.9968e-09
  Prefactor  = 2.22045e-10
  Prefactor  = 5.76761e-08
  Prefactor  = 2.91958
  Prefactor  = 3.16323
  Prefactor  = 2.62569
  norm       = 26.1156
  Prefactor  = 1.51268e-07
  Prefactor  = 0
  Prefactor  = 1.18951
  Normalizat = 0.732811
  Prefactor  = 1.02236
 **********
 **   18 **HESSE 
 **********

 FCN=   6184.471     FROM HESSE     STATUS=OK           420 CALLS     1920 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11657E-08    16.263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.2047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.140        11.870        .16633E-03   -1.5588    
   4  Prefactor     14.160        13.734        .26840E-03   -1.5633    
   5  Prefactor     13.762        11.691        .27000E-03   -1.5634    
   6  Prefactor     .43909E-07    6.9614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     64.328        27.362        .12364E-03   -1.5548    
   8  norm          3.1709        1.8161        .56865E-03   -1.5672    
   9  Prefactor     5.4006        3.3799        .43198E-03   -1.5661    
  10  Prefactor     16.194        9.0608        .24857E-03   -1.5627    
  11  norm          .31580E-06    7.6256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .39968E-08    10.342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .22204E-09    187.19        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .57676E-07    42.514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9196        15.561        .59162E-03   -1.5674    
  16  Prefactor     3.1632        7.5279        .57515E-03   -1.5672    
  17  Prefactor     2.6257        1.6875        .62903E-03   -1.5676    
  18  norm          26.116        3.8700        .19555E-03   -1.5606    
  19  Prefactor     .15127E-06    7.8345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        1.3719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.1895        2.2039        .10416E-02   -1.5686    
  22  Normalizat    .73281        .18837        .68140E-01   -1.0261    
  23  Prefactor     1.0224        .18252        .60283E-01   -.91988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41326e-07
Minuit parameter uncertainties:
  1  0.000272679
  2  4.43774e-06
  3  11.8695
  4  13.7336
  5  11.6914
  6  0.00110544
  7  27.3625
  8  1.81611
  9  3.37988
  10  9.06085
  11  0.00310378
  12  0.00040738
  13  0.000402896
  14  0.00313251
  15  13.4806
  16  7.52794
  17  1.68747
  18  3.87
  19  0.00217733
  20  2.08169e-06
  21  2.20391
  22  0.188536
  23  0.182629
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  3.997e-09  4.074e-04  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.022e+00  1.826e-01  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:  7.328e-01  1.885e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 171.491 20.091
Photon Flux Upper Limit: 7.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/103048/likelihoodResults_683596801_683856001_4FGL_J1125.9+2005_daily_bin1714.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) = 6184.51853197
delta logL = -0.0476069493425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6184.29264856
delta logL = 0.178276460881

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65736E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.7427       1.0000          .0000       10.000    
     3 'Normalizat'    .67975       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0566       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=   6184.293     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      274 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64521E-01    1.3106        .71011E-03** at limit **
   2  Index         4.7514        2.5248        .12744        .16930E-03
   3  Normalizat    .68003        .26916E-01    .70576E-01    .14111E-04
   4  Prefactor     1.0565        .27855E-01    .59442E-01   -.50363E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0645209
  Index      = 4.75144
  Normalizat = 0.680032
  Prefactor  = 1.05646
 **********
 **   18 **HESSE 
 **********

 FCN=   6184.293     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      307 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64521E-01    8.1715        .30802E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.7514        7.1924        .71315E-02   -.49732E-01
   3  Normalizat    .68003        .15955        .31236E-03   -1.0469    
   4  Prefactor     1.0565        .16031        .26285E-03   -.90871    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.90783e-09
Minuit parameter uncertainties:
  1  1.45222
  2  9.52021
  3  0.159656
  4  0.160387
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103048': 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) = 6184.29264432
delta logL = 0.178280697724

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  6.452e-02  1.452e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  4.751e+00  9.520e+00  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.056e+00  1.604e-01  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:  6.800e-01  1.597e-01  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/103048/cmap_HighResolution_683596801_683856001_4FGL_J1125.9+2005_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.93e-03', job_status='DONE', photon_flux_upper_limit='7.76e-08', time_completed='2022-09-16 16:10:30.210723', job_id='103048', GAL2='1.06', fit_tolerance='1e-08', EG2='0.68', EG='0.73', time_epoch_completed='1663369830.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.78e-01', ts2='0.42', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1714' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:10:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 103048: <4FGL_J1125.9+2005_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1714> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 15:55:16 2022
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:57:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:57:20 2022
Terminated at Fri Sep 16 16:10:31 2022
Results reported at Fri Sep 16 16:10:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1714 171.491 20.0912 683596801 683856001 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 :                                   607.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   39 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            915 sec.

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

