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


Performing analysis on: 4FGL_J1112.5+3448_weekly_bin759
RA = 168.147, Dec = 34.8022
tmin = 698025601, tmax = 698630401
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='588507', job_status='RUN', time_executed='2023-02-21 03:26:30.497321', time_epoch_executed='1676978790.5' WHERE source_name='4FGL J1112.5+3448' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588507

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588507/ft1_4FGL_J1112.5+3448_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588507/ft2_4FGL_J1112.5+3448_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588507/ft1_4FGL_J1112.5+3448_weekly_bin759.fits outfile=/scratch/kocevski/588507/ft1_filteredMKT_4FGL_J1112.5+3448_weekly_bin759.fits ra=168.147 dec=34.8022 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.52
user 8.17
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/588507/ft2_4FGL_J1112.5+3448_weekly_bin759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/588507/ft2_4FGL_J1112.5+3448_weekly_bin759.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/588507/ft1_filteredMKT_4FGL_J1112.5+3448_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/588507/ft1_filtered_4FGL_J1112.5+3448_weekly_bin759.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.61
user 0.38
sys 0.16

Number of photons that the gtmktime cut: 730

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588507/ft1_filtered_4FGL_J1112.5+3448_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/588507/ft2_4FGL_J1112.5+3448_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/588507/ltcube_698025601_698630401_4FGL_J1112.5+3448_weekly_bin759.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/588507/ft2_4FGL_J1112.5+3448_weekly_bin759.fits
.....................!
real 27.78
user 27.25
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588507/ft1_filtered_4FGL_J1112.5+3448_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/588507/ft2_4FGL_J1112.5+3448_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/588507/ltcube_698025601_698630401_4FGL_J1112.5+3448_weekly_bin759.fits outfile=/scratch/kocevski/588507/expmap_698025601_698630401_4FGL_J1112.5+3448_weekly_bin759.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/588507/ltcube_698025601_698630401_4FGL_J1112.5+3448_weekly_bin759.fits
.....................!
real 191.51
user 185.86
sys 5.22

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

Setting source of interest to:
4FGL J1112.5+3448 @ 168.147 34.8022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/588507/ft1_filtered_4FGL_J1112.5+3448_weekly_bin759.fits scfile=/scratch/kocevski/588507/ft2_4FGL_J1112.5+3448_weekly_bin759.fits outfile=/scratch/kocevski/588507/cmap_698025601_698630401_4FGL_J1112.5+3448_weekly_bin759.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=168.147 yref=34.8022 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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588507/ft1_filtered_4FGL_J1112.5+3448_weekly_bin759.fits scfile=/scratch/kocevski/588507/ft2_4FGL_J1112.5+3448_weekly_bin759.fits outfile=/scratch/kocevski/588507/cmap_HighResolution_698025601_698630401_4FGL_J1112.5+3448_weekly_bin759.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=168.147 yref=34.8022 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.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/588507/ft1_filtered_4FGL_J1112.5+3448_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/588507/ft2_4FGL_J1112.5+3448_weekly_bin759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/588507/Model_4FGL_J1112.5+3448_weekly_bin759.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/588507/ft1_filtered_4FGL_J1112.5+3448_weekly_bin759.fits.....................!
real 64.95
user 63.43
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/588507/ft1_filtered_4FGL_J1112.5+3448_weekly_bin759.fits', '/scratch/kocevski/588507/ft2_4FGL_J1112.5+3448_weekly_bin759.fits', expMap='/scratch/kocevski/588507/expmap_698025601_698630401_4FGL_J1112.5+3448_weekly_bin759.fits', expCube='/scratch/kocevski/588507/ltcube_698025601_698630401_4FGL_J1112.5+3448_weekly_bin759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/588507/Model_4FGL_J1112.5+3448_weekly_bin759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1112.5+3448'

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  9.204e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
314        alpha:  2.369e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
315         beta:  1.454e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  4.627e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/588507/ft1_filtered_4FGL_J1112.5+3448_weekly_bin759.fits
Spacecraft file(s): /scratch/kocevski/588507/ft2_4FGL_J1112.5+3448_weekly_bin759.fits
Exposure map: /scratch/kocevski/588507/expmap_698025601_698630401_4FGL_J1112.5+3448_weekly_bin759.fits
Exposure cube: /scratch/kocevski/588507/ltcube_698025601_698630401_4FGL_J1112.5+3448_weekly_bin759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/588507/Model_4FGL_J1112.5+3448_weekly_bin759.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) = 7387.71708788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99123       1.0000          .0000       .10000E+07
     2 'norm      '    .16753E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11861E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    29.409       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.6599       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35504E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .22760E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .86380E-02   1.0000          .0000       .10000E+07
     9 'norm      '    2.0805       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30104E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .71934E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .48504E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .69624E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.3214       1.0000          .0000       .10000E+07
    15 'Prefactor '    .17435E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    11.052       1.0000          .0000       .10000E+07
    17 'norm      '    7.8098       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.1538       1.0000          .0000       .10000E+07
    19 'Prefactor '    10.209       1.0000          .0000       .10000E+07
    20 'Prefactor '    46.316       1.0000          .0000       .10000E+07
    21 'norm      '    .22938       1.0000          .0000       .10000E+07
    22 'Prefactor '    .33359E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .66225E-07   1.0000          .0000       .10000E+07
    24 'Prefactor '    .14835E-03   1.0000          .0000       .10000E+07
    25 'norm      '    51.962       1.0000          .0000       .10000E+07
    26 'Normalizat'    .93065       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0330       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7387.702     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     2334 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97971        .95952        .54609E-06   -.38115E-02
   2  norm          .90128E-06    50.705        .54097E-05** at limit **
   3  Prefactor     .11213E-07    7.6643        .12638E-05** at limit **
   4  Prefactor     29.646        1.5134       -.56981E-07    .51677E-02
   5  Prefactor     1.6601        2.0525        .20139E-06   -.10062E-01
   6  Prefactor     .55456E-07    5.2961       -.72581E-07** at limit **
   7  Prefactor     .44353E-07    41.625       -.17016E-05** at limit **
   8  Prefactor     .18319E-08    12.071        .62833E-06** at limit **
   9  norm          2.0805        .39178       -.97697E-09    .42838E-01
  10  Prefactor     .55511E-10    1.3638        .99099E-07** at limit **
  11  Prefactor     .13928E-06    4.3721        .14759E-05** at limit **
  12  Prefactor     .21649E-08    4.5081        .90141E-07** at limit **
  13  norm          .90927E-07    5.2532       -.15097E-05** at limit **
  14  Prefactor     1.3147        2.4181       -.20463E-07   -.32342E-02
  15  Prefactor     .72164E-09    10.104        .19025E-05** at limit **
  16  Prefactor     11.068        2.7870        .43359E-06    .23792E-01
  17  norm          7.8054        3.0308       -.40707E-07   -.22546E-02
  18  Prefactor     8.1832        7.1574        .14332E-05    .51013E-01
  19  Prefactor     10.295        5.5724       -.11281E-06    .47673E-02
  20  Prefactor     46.687        7.9779        .71291E-06   -.11671    
  21  norm          .22849        .62042       -.37894E-07** at limit **
  22  Prefactor     .13378E-07    5.4438       -.41689E-06** at limit **
  23  norm          .11102E-09    2.6018       -.83293E-07** at limit **
  24  Prefactor     .47573E-07    16.416       -.28575E-05** at limit **
  25  norm          51.960        4.2581       -.25964E-07    .18079E-01
  26  Normalizat    .93026        .19826       -.17745E-05    .31700E-03
  27  Prefactor     1.0331        .23921       -.20291E-05    .11253E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.979713
  norm       = 9.01279e-07
  Prefactor  = 1.12133e-08
  Prefactor  = 29.6456
  Prefactor  = 1.6601
  Prefactor  = 5.54556e-08
  Prefactor  = 4.43534e-08
  Prefactor  = 1.83187e-09
  norm       = 2.08054
  Prefactor  = 5.55112e-11
  Prefactor  = 1.39277e-07
  Prefactor  = 2.16493e-09
  norm       = 9.09273e-08
  Prefactor  = 1.31472
  Prefactor  = 7.21645e-10
  Prefactor  = 11.0679
  norm       = 7.80537
  Prefactor  = 8.18317
  Prefactor  = 10.2947
  Prefactor  = 46.6867
  norm       = 0.228495
  Prefactor  = 1.33782e-08
  norm       = 1.11022e-10
  Prefactor  = 4.75731e-08
  norm       = 51.9596
  Normalizat = 0.93026
  Prefactor  = 1.0331
 **********
 **   18 **HESSE 
 **********

 FCN=   7387.702     FROM HESSE     STATUS=OK           550 CALLS     2884 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97971        5.5508        .43455E-03   -1.5688    
   2  norm          .90128E-06    5.1490        .11647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11213E-07    21.590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     29.646        28.863        .18443E-03   -1.5599    
   5  Prefactor     1.6601        2.0694        .81859E-03   -1.5682    
   6  Prefactor     .55456E-07    20.915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .44353E-07    42.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .18319E-08    12.059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.0805        .39100        .50877E-03   -1.5679    
  10  Prefactor     .55511E-10    1.3570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .13928E-06    6.1950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .21649E-08    4.5305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .90927E-07    6.5250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.3147        2.4617        .95669E-03   -1.5685    
  15  Prefactor     .72164E-09    21.967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.068        11.664        .30111E-03   -1.5641    
  17  norm          7.8054        3.0877        .35857E-03   -1.5652    
  18  Prefactor     8.1832        9.4643        .35087E-03   -1.5651    
  19  Prefactor     10.295        5.6089        .31335E-03   -1.5644    
  20  Prefactor     46.687        39.496        .14695E-03   -1.5571    
  21  norm          .22849        .63333        .25387E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .13378E-07    5.5367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .11102E-09    2.6075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .47573E-07    19.065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          51.960        4.2639        .13874E-03   -1.5564    
  26  Normalizat    .93026        .17314        .45292E-01   -.95405    
  27  Prefactor     1.0331        .20383        .72741E-01   -.91634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.64152e-07
Minuit parameter uncertainties:
  1  4.66399
  2  0.00430846
  3  0.000984697
  4  28.8635
  5  2.06944
  6  0.00215403
  7  0.00273142
  8  0.00029947
  9  0.390998
  10  1.42411e-05
  11  0.00185795
  12  0.000196968
  13  0.0015405
  14  2.46174
  15  0.000248058
  16  11.6636
  17  3.08771
  18  9.46433
  19  5.60894
  20  39.4963
  21  0.633335
  22  0.000543847
  23  3.61309e-05
  24  0.00190452
  25  4.26393
  26  0.173244
  27  0.203986
Done.

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

Extracting fit parameters...

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  9.093e-08  1.541e-03  0.000e+00  1.000e+06 ( 1.000e-12)
314        alpha:  2.369e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
315         beta:  1.454e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  4.627e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  1.033e+00  2.040e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.303e-01  1.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 168.147 34.802
Photon Flux Upper Limit: 4.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.40e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/588507/likelihoodResults_698025601_698630401_4FGL_J1112.5+3448_weekly_bin759.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) = 7387.70271323
delta logL = -0.000469150267236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7387.70224411
delta logL = -3.16358637065e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22204E-08   1.0000          .0000       .10000E+07
     2 'alpha     '    1.4638       1.0000          .0000       5.0000    
     3 'Normalizat'    .93020       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7387.702     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      247 TOTAL
                     EDM=   .28E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.6783        .42118E-03** at limit **
   2  alpha         3.9024        .93484       -.83154E-05     .0000    
   3  Normalizat    .93026        1.2641        .27154E-05   -.29723E-05
   4  Prefactor     1.0331        1.2137       -.11895E-05   -.51535E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.90243
  Normalizat = 0.930258
  Prefactor  = 1.03311
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7387.702     FROM HESSE     STATUS=FAILED         9 CALLS      256 TOTAL
                     EDM=   .28E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.6783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7136        1.0376       -.83154E-05    .59556    
   3  Normalizat    .93026        1.2641        .27154E-05   -.95405    
   4  Prefactor     1.0331        1.2137       -.11895E-05   -.91634    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81359e-13
Minuit parameter uncertainties:
  1  1.97598e-06
  2  0.969957
  3  1.30834
  4  1.24838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588507': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7387.70224407
delta logL = 7.05040292814e-09

Extracting fit parameters...

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  0.000e+00  1.976e-06  0.000e+00  1.000e+06 ( 1.000e-12)
314        alpha:  3.902e+00  9.700e-01  0.000e+00  5.000e+00 ( 1.000e+00)
315         beta:  1.454e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  4.627e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  1.033e+00  1.248e+00  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  9.303e-01  1.308e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 168.147 34.802

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/588507/cmap_HighResolution_698025601_698630401_4FGL_J1112.5+3448_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.40e-05', job_status='DONE', photon_flux_upper_limit='4.70e-08', time_completed='2023-02-21 03:40:51.300594', job_id='588507', GAL2='1.03', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1676979651.3', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='7.05e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='759' AND source_name='4FGL J1112.5+3448' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:40:51 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 588507: <4FGL_J1112.5+3448_weekly_bin759> in cluster <slac> Done

Job <4FGL_J1112.5+3448_weekly_bin759> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 03:25:21 2023
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:25:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:25:22 2023
Terminated at Tue Feb 21 03:40:52 2023
Results reported at Tue Feb 21 03:40:52 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1112.5+3448_weekly_bin759 168.147 34.8022 698025601 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1112.5+3448 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   860.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            931 sec.

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

