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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1709
RA = 171.491, Dec = 20.0912
tmin = 682300801, tmax = 682560001
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='103041', job_status='RUN', time_executed='2022-09-16 15:57:21.282758', time_epoch_executed='1663369041.28' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103041

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103041/ft1_4FGL_J1125.9+2005_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103041/ft2_4FGL_J1125.9+2005_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103041/ft1_4FGL_J1125.9+2005_daily_bin1709.fits outfile=/scratch/kocevski/103041/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1709.fits ra=171.491 dec=20.0912 rad=12.0 tmin=682300801.0 tmax=682560001.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.84
user 3.55
sys 0.23

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

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

Number of photons that the gtmktime cut: 542

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103041/ft1_filtered_4FGL_J1125.9+2005_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/103041/ft2_4FGL_J1125.9+2005_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/103041/ltcube_682300801_682560001_4FGL_J1125.9+2005_daily_bin1709.fits outfile=/scratch/kocevski/103041/expmap_682300801_682560001_4FGL_J1125.9+2005_daily_bin1709.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/103041/ltcube_682300801_682560001_4FGL_J1125.9+2005_daily_bin1709.fits
.....................!
real 191.58
user 186.24
sys 4.80

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/103041/ft1_filtered_4FGL_J1125.9+2005_daily_bin1709.fits scfile=/scratch/kocevski/103041/ft2_4FGL_J1125.9+2005_daily_bin1709.fits outfile=/scratch/kocevski/103041/cmap_682300801_682560001_4FGL_J1125.9+2005_daily_bin1709.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.60
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103041/ft1_filtered_4FGL_J1125.9+2005_daily_bin1709.fits scfile=/scratch/kocevski/103041/ft2_4FGL_J1125.9+2005_daily_bin1709.fits outfile=/scratch/kocevski/103041/cmap_HighResolution_682300801_682560001_4FGL_J1125.9+2005_daily_bin1709.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.74
user 0.42
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.620       1.0000          .0000       .10000E+07
     2 'Prefactor '    .21006E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    18.663       1.0000          .0000       .10000E+07
     4 'Prefactor '    25.543       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17199E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    16.061       1.0000          .0000       .10000E+07
     7 'Prefactor '    .23772E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.1228       1.0000          .0000       .10000E+07
     9 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2900       1.0000          .0000       .10000E+07
    11 'norm      '    8.7648       1.0000          .0000       .10000E+07
    12 'Prefactor '    .32252E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    19.135       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13626       1.0000          .0000       .10000E+07
    15 'Prefactor '    .83664E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.1187       1.0000          .0000       .10000E+07
    17 'Prefactor '    .89151E-07   1.0000          .0000       .10000E+07
    18 'norm      '    16.328       1.0000          .0000       .10000E+07
    19 'Prefactor '    19.795       1.0000          .0000       .10000E+07
    20 'Prefactor '    .30382E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .14319E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    .96600       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93274       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=   6192.897     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     1928 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.581        3.5510        .93471E-09   -.59664E-02
   2  Prefactor      .0000        1.3200       -.23822E-07** at limit **
   3  Prefactor     18.804        7.3985       -.58720E-08   -.13448E-01
   4  Prefactor     25.537        4.2708       -.30378E-08   -.36254E-01
   5  Prefactor     .58287E-08    6.2342       -.98511E-07** at limit **
   6  Prefactor     16.030        1.4533       -.63046E-09   -.54262E-02
   7  Prefactor     .49960E-09    4.9443       -.76549E-07** at limit **
   8  norm          1.1216        1.2771       -.46997E-07   -.31008E-02
   9  Prefactor      .0000        .95628       -.33652E-07** at limit **
  10  Prefactor     7.3089        7.2310        .45340E-07    .47165E-03
  11  norm          8.8553        4.4715        .20651E-08    .23993E-01
  12  Prefactor     .18874E-08    4.7911       -.11230E-06** at limit **
  13  Prefactor     19.680        11.313        .24570E-07   -.69118E-01
  14  Prefactor     .21336E-05    71.013        .27227E-07** at limit **
  15  Prefactor     .51792E-07    20.976       -.68532E-07** at limit **
  16  Prefactor     6.0986        5.8911        .84255E-08    .11252E-01
  17  Prefactor      .0000        .69077       -.26983E-07** at limit **
  18  norm          16.326        3.2717        .13615E-07    .86429E-03
  19  Prefactor     19.747        1.3538        .70591E-09   -.77330E-02
  20  Prefactor     .76605E-08    1.6902       -.72657E-07** at limit **
  21  Prefactor     .55511E-10    2.6467        .90751E-07** at limit **
  22  Normalizat    .96458        .21043       -.33351E-05   -.12350E-03
  23  Prefactor     .93335        .21129        .16147E-05   -.86125E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.5815
  Prefactor  = 0
  Prefactor  = 18.8035
  Prefactor  = 25.5371
  Prefactor  = 5.82867e-09
  Prefactor  = 16.03
  Prefactor  = 4.996e-10
  norm       = 1.12156
  Prefactor  = 0
  Prefactor  = 7.30889
  norm       = 8.8553
  Prefactor  = 1.88738e-09
  Prefactor  = 19.6803
  Prefactor  = 2.13363e-06
  Prefactor  = 5.17919e-08
  Prefactor  = 6.09857
  Prefactor  = 0
  norm       = 16.326
  Prefactor  = 19.747
  Prefactor  = 7.66054e-09
  Prefactor  = 5.55112e-11
  Normalizat = 0.964579
  Prefactor  = 0.933347
 **********
 **   18 **HESSE 
 **********

 FCN=   6192.897     FROM HESSE     STATUS=OK           420 CALLS     2348 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.581        14.213        .21031E-03   -1.5613    
   2  Prefactor      .0000        1.3166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.804        9.7984        .23156E-03   -1.5621    
   4  Prefactor     25.537        12.021        .19790E-03   -1.5607    
   5  Prefactor     .58287E-08    7.4631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.030        12.468        .24965E-03   -1.5628    
   7  Prefactor     .49960E-09    6.3173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1216        1.3238        .11065E-02   -1.5687    
   9  Prefactor      .0000        .95648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.3089        7.2702        .37125E-03   -1.5654    
  11  norm          8.8553        10.987        .33833E-03   -1.5648    
  12  Prefactor     .18874E-08    5.2375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.680        29.825        .22869E-03   -1.5619    
  14  Prefactor     .21336E-05    19.242        .10026E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .51792E-07    21.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.0986        9.8071        .40564E-03   -1.5659    
  17  Prefactor      .0000        .68849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          16.326        3.2846        .24759E-03   -1.5627    
  19  Prefactor     19.747        21.793        .22484E-03   -1.5619    
  20  Prefactor     .76605E-08    8.3707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    2.6338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .96458        .19374        .45739E-01   -.94227    
  23  Prefactor     .93335        .18603        .45421E-01   -.94985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79904e-07
Minuit parameter uncertainties:
  1  14.2131
  2  4.512e-07
  3  9.79841
  4  12.0213
  5  0.000416702
  6  12.4678
  7  0.000113531
  8  1.32379
  9  1.88225e-06
  10  7.27025
  11  10.9871
  12  0.000199038
  13  29.8256
  14  0.012815
  15  0.00209936
  16  9.80709
  17  1.05975e-06
  18  3.28462
  19  21.7929
  20  0.000507316
  21  2.23068e-05
  22  0.193884
  23  0.186154
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.887e-09  1.990e-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:  9.333e-01  1.862e-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:  9.646e-01  1.939e-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: 5.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/103041/likelihoodResults_682300801_682560001_4FGL_J1125.9+2005_daily_bin1709.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): 0
logL (Free Index) = 6192.90031199
delta logL = -0.00319792053779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6192.89711449
delta logL = -4.23237906944e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29712E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.4753       1.0000          .0000       10.000    
     3 'Normalizat'    .96457       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93341       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=   6192.842     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      244 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71820E-01    .21272        .42118E-03** at limit **
   2  Index         4.3530        1.2398        .23623E-01    .12716E-03
   3  Normalizat    .94142        .19105        .45721E-01   -.34269E-03
   4  Prefactor     .94777        .18752        .45429E-01   -.38261E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0718201
  Index      = 4.35298
  Normalizat = 0.941416
  Prefactor  = 0.947769
 **********
 **   18 **HESSE 
 **********

 FCN=   6192.842     FROM HESSE     STATUS=OK            27 CALLS      271 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71820E-01    .87957        .59563E-05   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.3530        2.6857        .94493E-03   -.12977    
   3  Normalizat    .94142        .21787        .26992E-03   -.95020    
   4  Prefactor     .94777        .21509        .27273E-03   -.94491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.30037e-10
Minuit parameter uncertainties:
  1  0.502675
  2  2.83814
  3  0.218075
  4  0.215285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103041': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6192.8422535
delta logL = 0.0548605674248

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  7.182e-02  5.027e-01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  4.353e+00  2.838e+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:  9.478e-01  2.153e-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:  9.414e-01  2.181e-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/103041/cmap_HighResolution_682300801_682560001_4FGL_J1125.9+2005_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', job_status='DONE', photon_flux_upper_limit='5.90e-08', time_completed='2022-09-16 16:07:47.168267', job_id='103041', GAL2='0.95', fit_tolerance='1e-08', EG2='0.94', EG='0.96', time_epoch_completed='1663369667.17', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.49e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1709' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:07:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 103041: <4FGL_J1125.9+2005_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1709> 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) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:57:10 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:10 2022
Terminated at Fri Sep 16 16:07:48 2022
Results reported at Fri Sep 16 16:07:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1709 171.491 20.0912 682300801 682560001 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 :                                   626.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   637 sec.
    Turnaround time :                            752 sec.

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

