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 130 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_J0923.5+4125_daily_bin1714
RA = 140.895, Dec = 41.4283
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='81625', job_status='RUN', time_executed='2022-09-16 14:42:56.481961', time_epoch_executed='1663364576.48' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81625

Creating custom pfile directory:
/scratch/kocevski/81625/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/81625/ft1_4FGL_J0923.5+4125_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/81625/ft2_4FGL_J0923.5+4125_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81625/ft1_4FGL_J0923.5+4125_daily_bin1714.fits outfile=/scratch/kocevski/81625/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1714.fits ra=140.895 dec=41.4283 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.49
user 3.25
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/81625/ft2_4FGL_J0923.5+4125_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/81625/ft2_4FGL_J0923.5+4125_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/81625/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/81625/ft1_filtered_4FGL_J0923.5+4125_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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 577

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81625/ft1_filtered_4FGL_J0923.5+4125_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/81625/ft2_4FGL_J0923.5+4125_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/81625/ltcube_683596801_683856001_4FGL_J0923.5+4125_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/81625/ft2_4FGL_J0923.5+4125_daily_bin1714.fits
.....................!
real 14.77
user 14.31
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81625/ft1_filtered_4FGL_J0923.5+4125_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/81625/ft2_4FGL_J0923.5+4125_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/81625/ltcube_683596801_683856001_4FGL_J0923.5+4125_daily_bin1714.fits outfile=/scratch/kocevski/81625/expmap_683596801_683856001_4FGL_J0923.5+4125_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/81625/ltcube_683596801_683856001_4FGL_J0923.5+4125_daily_bin1714.fits
.....................!
real 193.18
user 186.69
sys 5.57

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

Setting source of interest to:
4FGL J0923.5+4125 @ 140.895 41.4283

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/81625/ft1_filtered_4FGL_J0923.5+4125_daily_bin1714.fits scfile=/scratch/kocevski/81625/ft2_4FGL_J0923.5+4125_daily_bin1714.fits outfile=/scratch/kocevski/81625/cmap_683596801_683856001_4FGL_J0923.5+4125_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=140.895 yref=41.4283 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/81625/ft1_filtered_4FGL_J0923.5+4125_daily_bin1714.fits scfile=/scratch/kocevski/81625/ft2_4FGL_J0923.5+4125_daily_bin1714.fits outfile=/scratch/kocevski/81625/cmap_HighResolution_683596801_683856001_4FGL_J0923.5+4125_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=140.895 yref=41.4283 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/81625/ft1_filtered_4FGL_J0923.5+4125_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/81625/ft2_4FGL_J0923.5+4125_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/81625/Model_4FGL_J0923.5+4125_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/81625/ft1_filtered_4FGL_J0923.5+4125_daily_bin1714.fits.....................!
real 56.44
user 55.00
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/81625/ft1_filtered_4FGL_J0923.5+4125_daily_bin1714.fits', '/scratch/kocevski/81625/ft2_4FGL_J0923.5+4125_daily_bin1714.fits', expMap='/scratch/kocevski/81625/expmap_683596801_683856001_4FGL_J0923.5+4125_daily_bin1714.fits', expCube='/scratch/kocevski/81625/ltcube_683596801_683856001_4FGL_J0923.5+4125_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/81625/Model_4FGL_J0923.5+4125_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0923.5+4125'

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.066e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/81625/ft1_filtered_4FGL_J0923.5+4125_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/81625/ft2_4FGL_J0923.5+4125_daily_bin1714.fits
Exposure map: /scratch/kocevski/81625/expmap_683596801_683856001_4FGL_J0923.5+4125_daily_bin1714.fits
Exposure cube: /scratch/kocevski/81625/ltcube_683596801_683856001_4FGL_J0923.5+4125_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/81625/Model_4FGL_J0923.5+4125_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) = 6485.71580533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1883       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.3834       1.0000          .0000       .10000E+07
     3 'Prefactor '    .66980E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .34610E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.4135       1.0000          .0000       .10000E+07
     6 'norm      '    .15947E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .70323E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .83421E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .21040E-04   1.0000          .0000       .10000E+07
    10 'norm      '    4.5868       1.0000          .0000       .10000E+07
    11 'Prefactor '    10.768       1.0000          .0000       .10000E+07
    12 'norm      '    .13751       1.0000          .0000       .10000E+07
    13 'Prefactor '    .61883       1.0000          .0000       .10000E+07
    14 'norm      '    .37748E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .17173       1.0000          .0000       .10000E+07
    16 'Prefactor '    .70853E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55190E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.612       1.0000          .0000       .10000E+07
    19 'norm      '    .22505E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .20831E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .60144E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .51569E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .76817E-03   1.0000          .0000       .10000E+07
    24 'norm      '    1.3531       1.0000          .0000       .10000E+07
    25 'Prefactor '    .12670E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    13.102       1.0000          .0000       .10000E+07
    27 'norm      '    .86142E-03   1.0000          .0000       .10000E+07
    28 'Normalizat'    1.2494       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .80254       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6485.603     FROM MIGRAD    STATUS=CONVERGED    221 CALLS     2749 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2573        1.2251        .14893E-07   -.16183E-02
   2  Prefactor     4.3779        3.4660        .78000E-07    .82098E-03
   3  Prefactor     .21816E-07    3.4205       -.10635E-06** at limit **
   4  Prefactor     .16653E-08    6.3273        .68884E-07** at limit **
   5  norm          1.4240        3.7177       -.52715E-07   -.82005E-03
   6  norm          .17597E-07    4.9259        .15097E-06** at limit **
   7  Prefactor     .16082E-06    28.845        .38683E-06** at limit **
   8  Prefactor     .22204E-09    4.6477       -.23624E-06** at limit **
   9  Prefactor     .16653E-09    2.6651        .43226E-08** at limit **
  10  norm          4.5842        2.5819       -.74697E-08   -.23765E-02
  11  Prefactor     10.950        2.0729        .25340E-07   -.66967E-02
  12  norm          .13611        .67171        .34341E-07** at limit **
  13  Prefactor     .63045        7.9633       -.38380E-07   -.13483E-02
  14  norm          .27756E-09    3.0962        .80911E-07** at limit **
  15  Prefactor     .17288        3.4995       -.23515E-06** at limit **
  16  Prefactor     .16265E-07    61.240        .21926E-06** at limit **
  17  Prefactor      .0000        1.4126        .23598E-07** at limit **
  18  Prefactor     21.528        7.7888       -.84698E-07   -.41744E-01
  19  norm          .16154E-07    4.9354        .85092E-07** at limit **
  20  Prefactor     .33806E-07    5.1197       -.24748E-06** at limit **
  21  Prefactor     .16653E-08    4.1247        .88757E-07** at limit **
  22  Prefactor     .12829E-06    4.7402       -.19540E-06** at limit **
  23  Prefactor     .33362E-07    5.2102       -.18655E-06** at limit **
  24  norm          1.3291        4.5474       -.41432E-07   -.32183E-01
  25  Prefactor     .95590E-07    1.4632       -.13118E-06** at limit **
  26  Prefactor     13.135        7.0276        .22317E-07   -.75926E-02
  27  norm          .22271E-06    9.3871       -.19306E-06** at limit **
  28  Normalizat    1.2493        .19901        .10164E-05   -.31471E-04
  29  Prefactor     .80241        .21347       -.26624E-05   -.54332E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.25732
  Prefactor  = 4.37786
  Prefactor  = 2.18159e-08
  Prefactor  = 1.66533e-09
  norm       = 1.42399
  norm       = 1.7597e-08
  Prefactor  = 1.60816e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 1.66533e-10
  norm       = 4.58422
  Prefactor  = 10.9503
  norm       = 0.136108
  Prefactor  = 0.630448
  norm       = 2.77556e-10
  Prefactor  = 0.172881
  Prefactor  = 1.62648e-08
  Prefactor  = 0
  Prefactor  = 21.5276
  norm       = 1.61537e-08
  Prefactor  = 3.38063e-08
  Prefactor  = 1.66533e-09
  Prefactor  = 1.28286e-07
  Prefactor  = 3.33622e-08
  norm       = 1.32908
  Prefactor  = 9.55902e-08
  Prefactor  = 13.1349
  norm       = 2.22711e-07
  Normalizat = 1.24932
  Prefactor  = 0.802413
 **********
 **   18 **HESSE 
 **********

 FCN=   6485.603     FROM HESSE     STATUS=NOT POSDEF   611 CALLS     3360 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2573        14.895        .40332E-03   -1.5658    
   2  Prefactor     4.3779        3.8236        .48082E-03   -1.5666    
   3  Prefactor     .21816E-07    7.8153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-08    7.2055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.4240        3.7325        .91051E-03   -1.5684    
   6  norm          .17597E-07    5.1255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16082E-06    31.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    11.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    2.6029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5842        2.5623        .46976E-03   -1.5665    
  11  Prefactor     10.950        15.492        .30507E-03   -1.5642    
  12  norm          .13611        40.762        .13014E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .63045        501.52        .67558E-03   -1.5692    
  14  norm          .27756E-09    3.0387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .17288        1.4388        .31872E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16265E-07    61.437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.3993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.528        21.036        .21516E-03   -1.5615    
  19  norm          .16154E-07    5.1603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33806E-07    11.093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16653E-08    4.0798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .12829E-06    13.078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .33362E-07    8.3551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.3291        15.660        .93974E-03   -1.5685    
  25  Prefactor     .95590E-07    13.608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     13.135        7.0391        .27647E-03   -1.5635    
  27  norm          .22271E-06    14.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.2493        .28191        .49596E-01   -.85092    
  29  Prefactor     .80241        .24909        .66279E-01   -.99639    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.83894e-07
Minuit parameter uncertainties:
  1  14.8952
  2  3.82356
  3  0.000825314
  4  0.000219883
  5  3.73248
  6  0.000600381
  7  0.00449614
  8  9.86893e-05
  9  3.80369e-05
  10  2.56233
  11  15.4919
  12  4.71089
  13  35.5661
  14  5.56061e-05
  15  0.997481
  16  0.00199964
  17  5.25479e-06
  18  21.0365
  19  0.000577127
  20  0.00122468
  21  0.000163616
  22  0.00259064
  23  0.00105605
  24  9.12429
  25  0.00228117
  26  7.03907
  27  0.00354621
  28  0.282251
  29  0.249442
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6485.60338738

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.729e-01  9.975e-01  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  8.024e-01  2.494e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  1.249e+00  2.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 140.895 41.428
Photon Flux Upper Limit: 7.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/81625/likelihoodResults_683596801_683856001_4FGL_J0923.5+4125_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): 0
logL (Free Index) = 6485.60337061
delta logL = 1.67669568327e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6485.60336857
delta logL = 1.88070525837e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6485.603     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      231 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17515        13.090        .32121E-02** at limit **
   2  Index         2.3381        6.1684        .38386        .15424E-04
   3  Normalizat    1.2494        .12416E-01    .49596E-01    .15783E-05
   4  Prefactor     .80238        .13701E-01    .66281E-01    .20078E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.175146
  Index      = 2.33812
  Normalizat = 1.24936
  Prefactor  = 0.802378
 **********
 **   18 **HESSE 
 **********

 FCN=   6485.603     FROM HESSE     STATUS=OK            35 CALLS      266 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17515        5.3222        .18980E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3381        2.9340        .27095E-01   -.56140    
   3  Normalizat    1.2494        .18787        .21926E-03   -.85091    
   4  Prefactor     .80238        .20664        .29322E-03   -.99641    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.42297e-08
Minuit parameter uncertainties:
  1  1.93097
  2  3.24179
  3  0.187967
  4  0.206845
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81625': 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) = 6485.60336715
delta logL = 2.02318778975e-05

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.751e-01  1.931e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.338e+00  3.242e+00  0.000e+00  1.000e+01 (-1.000e+00)
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  8.024e-01  2.068e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  1.249e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 140.895 41.428

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/81625/cmap_HighResolution_683596801_683856001_4FGL_J0923.5+4125_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.09e-08', time_completed='2022-09-16 14:56:23.233088', job_id='81625', GAL2='0.80', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1663365383.23', return_code2='0', ts='0.01', comment='SUCCESS', return_code='102', GAL='0.80', dlogl='2.02e-05', ts2='0.01', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1714' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:56:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 81625: <4FGL_J0923.5+4125_daily_bin1714> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1714> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 14:40:16 2022
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:40:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:40:38 2022
Terminated at Fri Sep 16 14:56:23 2022
Results reported at Fri Sep 16 14:56:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1714 140.895 41.4283 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+4125 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   807.25 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             310.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            967 sec.

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

