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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1713
RA = 171.491, Dec = 20.0912
tmin = 683337601, tmax = 683596801
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='103047', job_status='RUN', time_executed='2022-09-16 15:57:45.198372', time_epoch_executed='1663369065.2' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103047

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103047/ft1_4FGL_J1125.9+2005_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103047/ft2_4FGL_J1125.9+2005_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103047/ft1_4FGL_J1125.9+2005_daily_bin1713.fits outfile=/scratch/kocevski/103047/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1713.fits ra=171.491 dec=20.0912 rad=12.0 tmin=683337601.0 tmax=683596801.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.54
user 3.28
sys 0.22

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

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

Number of photons that the gtmktime cut: 640

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103047/ft1_filtered_4FGL_J1125.9+2005_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/103047/ft2_4FGL_J1125.9+2005_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/103047/ltcube_683337601_683596801_4FGL_J1125.9+2005_daily_bin1713.fits outfile=/scratch/kocevski/103047/expmap_683337601_683596801_4FGL_J1125.9+2005_daily_bin1713.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/103047/ltcube_683337601_683596801_4FGL_J1125.9+2005_daily_bin1713.fits
.....................!
real 193.29
user 186.78
sys 5.45

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/103047/ft1_filtered_4FGL_J1125.9+2005_daily_bin1713.fits scfile=/scratch/kocevski/103047/ft2_4FGL_J1125.9+2005_daily_bin1713.fits outfile=/scratch/kocevski/103047/cmap_683337601_683596801_4FGL_J1125.9+2005_daily_bin1713.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103047/ft1_filtered_4FGL_J1125.9+2005_daily_bin1713.fits scfile=/scratch/kocevski/103047/ft2_4FGL_J1125.9+2005_daily_bin1713.fits outfile=/scratch/kocevski/103047/cmap_HighResolution_683337601_683596801_4FGL_J1125.9+2005_daily_bin1713.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.66
user 0.38
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1976       1.0000          .0000       .10000E+07
     2 'Prefactor '    .51625E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    17.829       1.0000          .0000       .10000E+07
     4 'Prefactor '    38.378       1.0000          .0000       .10000E+07
     5 'Prefactor '    .40471E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.3689       1.0000          .0000       .10000E+07
     7 'Prefactor '    .59678E-03   1.0000          .0000       .10000E+07
     8 'norm      '    1.2446       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12748E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.4945       1.0000          .0000       .10000E+07
    11 'norm      '    .47425E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .25099E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    9.1069       1.0000          .0000       .10000E+07
    14 'Prefactor '    .62725       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28954E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.5514       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9228       1.0000          .0000       .10000E+07
    18 'norm      '    23.157       1.0000          .0000       .10000E+07
    19 'Prefactor '    .82143E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    2.0553       1.0000          .0000       .10000E+07
    21 'Prefactor '    .42323       1.0000          .0000       .10000E+07
    22 'Normalizat'    .49016       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.9765       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=   7309.907     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1927 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1857        8.4105        .65265E-07    .24929E-02
   2  Prefactor     .55511E-10    1.1935        .10846E-08** at limit **
   3  Prefactor     17.835        9.5808        .64441E-09   -.15698E-03
   4  Prefactor     38.405        5.5492       -.36686E-07    .16595    
   5  Prefactor     .27756E-09    19.454        .28479E-07** at limit **
   6  Prefactor     5.3809        7.6381        .72530E-08    .22674E-01
   7  Prefactor     .19540E-07    7.8788       -.18313E-07** at limit **
   8  norm          1.2451        1.4337        .61542E-08    .97474E-03
   9  Prefactor     .85376E-06    3.5397        .14601E-06** at limit **
  10  Prefactor     3.4866        3.9203        .26473E-08   -.49420E-03
  11  norm          .15876E-07    7.1129       -.98758E-08** at limit **
  12  Prefactor     .33307E-09    3.9018       -.26088E-07** at limit **
  13  Prefactor     9.9345        27.806       -.57971E-07    .85843E-02
  14  Prefactor     .38792E-01    2100.3        .68889E-05** at limit **
  15  Prefactor     .14166E-06    12.291       -.85264E-07** at limit **
  16  Prefactor     2.5497        10.311       -.13576E-07   -.75519E-02
  17  Prefactor     1.9225        1.4501        .41713E-08   -.25331E-03
  18  norm          23.161        3.8774       -.63351E-08    .38589E-02
  19  Prefactor     .50515E-08    5.3442       -.23446E-07** at limit **
  20  Prefactor     2.0544        3.6245        .10822E-07    .93296E-03
  21  Prefactor     .40934        3.4154       -.23570E-07    .69821E-03
  22  Normalizat    .49005        .23406       -.37053E-06    .53157E-04
  23  Prefactor     1.9768        .25159        .31191E-06    .10516E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.1857
  Prefactor  = 5.55112e-11
  Prefactor  = 17.8351
  Prefactor  = 38.4055
  Prefactor  = 2.77556e-10
  Prefactor  = 5.3809
  Prefactor  = 1.95399e-08
  norm       = 1.24513
  Prefactor  = 8.53762e-07
  Prefactor  = 3.48659
  norm       = 1.58762e-08
  Prefactor  = 3.33067e-10
  Prefactor  = 9.93451
  Prefactor  = 0.0387923
  Prefactor  = 1.41664e-07
  Prefactor  = 2.54967
  Prefactor  = 1.92246
  norm       = 23.1612
  Prefactor  = 5.05151e-09
  Prefactor  = 2.05439
  Prefactor  = 0.409342
  Normalizat = 0.490048
  Prefactor  = 1.97681
 **********
 **   18 **HESSE 
 **********

 FCN=   7309.907     FROM HESSE     STATUS=OK           432 CALLS     2359 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1857        11.354        .56637E-03   -1.5672    
   2  Prefactor     .55511E-10    1.1916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.835        9.9695        .23693E-03   -1.5623    
   4  Prefactor     38.405        15.141        .16144E-03   -1.5584    
   5  Prefactor     .27756E-09    20.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.3809        10.872        .43348E-03   -1.5662    
   7  Prefactor     .19540E-07    8.2280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2451        1.4720        .10036E-02   -1.5686    
   9  Prefactor     .85376E-06    1.6697        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.4866        3.9195        .54063E-03   -1.5671    
  11  norm          .15876E-07    7.2398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33307E-09    3.9444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.9345        27.072        .33187E-03   -1.5645    
  14  Prefactor     .38792E-01    21.550        .89799E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .14166E-06    12.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.5497        10.541        .63896E-03   -1.5676    
  17  Prefactor     1.9225        1.4508        .74901E-03   -1.5680    
  18  norm          23.161        3.8904        .20786E-03   -1.5612    
  19  Prefactor     .50515E-08    5.4267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.0544        3.6600        .72066E-03   -1.5679    
  21  Prefactor     .40934        3.3216        .86843E-03   -1.5695    
  22  Normalizat    .49005        .22538        .97036E-01   -1.1288    
  23  Prefactor     1.9768        .22779        .57170E-01   -.64931    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14564e-07
Minuit parameter uncertainties:
  1  11.3542
  2  1.756e-05
  3  9.96953
  4  15.1407
  5  0.000153601
  6  10.8717
  7  0.00080182
  8  1.47198
  9  0.00238788
  10  3.91948
  11  0.000677491
  12  7.17412e-05
  13  27.0727
  14  1.82864
  15  0.0027065
  16  10.3685
  17  1.45083
  18  3.89044
  19  0.000331805
  20  3.66005
  21  2.33211
  22  0.2258
  23  0.227911
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  3.331e-10  7.174e-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.977e+00  2.279e-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:  4.900e-01  2.258e-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.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/103047/likelihoodResults_683337601_683596801_4FGL_J1125.9+2005_daily_bin1713.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) = 7309.90902098
delta logL = -0.00189192423932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7309.90712907
delta logL = -1.85309545486e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     2 'Index     '    .60702       1.0000          .0000       10.000    
     3 'Normalizat'    .49002       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.9769       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=   7309.907     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      213 TOTAL
                     EDM=   .27E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .50565E-01    .42118E-03** at limit **
   2  Index         2.1137        8.9226        .41150        .22102E-10
   3  Normalizat    .49005        .54002E-03    .97036E-01    .84914E-04
   4  Prefactor     1.9768        .59151E-03    .57170E-01   -.30842E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 2.11372
  Normalizat = 0.490049
  Prefactor  = 1.97681
 **********
 **   18 **HESSE 
 **********

 FCN=   7309.907     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      244 TOTAL
                     EDM=   .92E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .16346        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1137        5.8098        .50000       -.61536    
   3  Normalizat    .49005        .96758E-03    .43005E-03   -1.1288    
   4  Prefactor     1.9768        .10631E-02    .25272E-03   -.64931    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.23671e-13
Minuit parameter uncertainties:
  1  9.0139e-06
  2  20425.6
  3  0.000967585
  4  0.00106308
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103047': 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) = 7309.90712905
delta logL = 2.91038304567e-11

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.110e-10  9.014e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.114e+00  2.043e+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.977e+00  1.063e-03  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:  4.900e-01  9.676e-04  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/103047/cmap_HighResolution_683337601_683596801_4FGL_J1125.9+2005_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', job_status='DONE', photon_flux_upper_limit='5.40e-08', time_completed='2022-09-16 16:09:09.151477', job_id='103047', GAL2='1.98', fit_tolerance='1e-08', EG2='0.49', EG='0.49', time_epoch_completed='1663369749.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.98', dlogl='2.91e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1713' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:09:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 103047: <4FGL_J1125.9+2005_daily_bin1713> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1713 171.491 20.0912 683337601 683596801 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 :                                   683.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            834 sec.

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

