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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1712
RA = 140.895, Dec = 41.4283
tmin = 683078401, tmax = 683337601
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='81622', job_status='RUN', time_executed='2022-09-16 14:42:14.298738', time_epoch_executed='1663364534.3' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81622

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/81622/ft1_4FGL_J0923.5+4125_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/81622/ft2_4FGL_J0923.5+4125_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81622/ft1_4FGL_J0923.5+4125_daily_bin1712.fits outfile=/scratch/kocevski/81622/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1712.fits ra=140.895 dec=41.4283 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.77
user 4.50
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/81622/ft2_4FGL_J0923.5+4125_daily_bin1712.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/81622/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/81622/ft1_filtered_4FGL_J0923.5+4125_daily_bin1712.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.37
sys 0.15

Number of photons that the gtmktime cut: 525

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81622/ft1_filtered_4FGL_J0923.5+4125_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/81622/ft2_4FGL_J0923.5+4125_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/81622/ltcube_683078401_683337601_4FGL_J0923.5+4125_daily_bin1712.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/81622/ft2_4FGL_J0923.5+4125_daily_bin1712.fits
.....................!
real 14.22
user 13.80
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81622/ft1_filtered_4FGL_J0923.5+4125_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/81622/ft2_4FGL_J0923.5+4125_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/81622/ltcube_683078401_683337601_4FGL_J0923.5+4125_daily_bin1712.fits outfile=/scratch/kocevski/81622/expmap_683078401_683337601_4FGL_J0923.5+4125_daily_bin1712.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/81622/ltcube_683078401_683337601_4FGL_J0923.5+4125_daily_bin1712.fits
.....................!
real 192.07
user 186.54
sys 4.71

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/81622/ft1_filtered_4FGL_J0923.5+4125_daily_bin1712.fits scfile=/scratch/kocevski/81622/ft2_4FGL_J0923.5+4125_daily_bin1712.fits outfile=/scratch/kocevski/81622/cmap_683078401_683337601_4FGL_J0923.5+4125_daily_bin1712.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/81622/ft1_filtered_4FGL_J0923.5+4125_daily_bin1712.fits scfile=/scratch/kocevski/81622/ft2_4FGL_J0923.5+4125_daily_bin1712.fits outfile=/scratch/kocevski/81622/cmap_HighResolution_683078401_683337601_4FGL_J0923.5+4125_daily_bin1712.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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/81622/ft1_filtered_4FGL_J0923.5+4125_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/81622/ft2_4FGL_J0923.5+4125_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/81622/Model_4FGL_J0923.5+4125_daily_bin1712.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/81622/ft1_filtered_4FGL_J0923.5+4125_daily_bin1712.fits.....................!
real 53.52
user 51.97
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/81622/ft1_filtered_4FGL_J0923.5+4125_daily_bin1712.fits', '/scratch/kocevski/81622/ft2_4FGL_J0923.5+4125_daily_bin1712.fits', expMap='/scratch/kocevski/81622/expmap_683078401_683337601_4FGL_J0923.5+4125_daily_bin1712.fits', expCube='/scratch/kocevski/81622/ltcube_683078401_683337601_4FGL_J0923.5+4125_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/81622/Model_4FGL_J0923.5+4125_daily_bin1712.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/81622/ft1_filtered_4FGL_J0923.5+4125_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/81622/ft2_4FGL_J0923.5+4125_daily_bin1712.fits
Exposure map: /scratch/kocevski/81622/expmap_683078401_683337601_4FGL_J0923.5+4125_daily_bin1712.fits
Exposure cube: /scratch/kocevski/81622/ltcube_683078401_683337601_4FGL_J0923.5+4125_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/81622/Model_4FGL_J0923.5+4125_daily_bin1712.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) = 5871.36580956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22929E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .69836       1.0000          .0000       .10000E+07
     3 'Prefactor '    26.827       1.0000          .0000       .10000E+07
     4 'Prefactor '    .30573E-03   1.0000          .0000       .10000E+07
     5 'norm      '    3.4185       1.0000          .0000       .10000E+07
     6 'norm      '    .10790E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.9157       1.0000          .0000       .10000E+07
     8 'Prefactor '    .31783E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2948       1.0000          .0000       .10000E+07
    10 'norm      '    2.7030       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14083E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .15218       1.0000          .0000       .10000E+07
    13 'Prefactor '    .82875       1.0000          .0000       .10000E+07
    14 'norm      '    9.2656       1.0000          .0000       .10000E+07
    15 'Prefactor '    .22734E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.0392       1.0000          .0000       .10000E+07
    17 'Prefactor '    .39095E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .26611E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .17458E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .86939E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.5231       1.0000          .0000       .10000E+07
    22 'Prefactor '    .10412E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .11334E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .18814E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .55979       1.0000          .0000       .10000E+07
    26 'Prefactor '    .30144E-04   1.0000          .0000       .10000E+07
    27 'norm      '    5.2069       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.1170       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0842       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=   5871.298     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     2118 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13464E-05    6.5828       -.83955E-06** at limit **
   2  Prefactor     .66361        5.3906        .77882E-07    .49140E-02
   3  Prefactor     28.685        32.239       -.25832E-06   -.20090E-01
   4  Prefactor     .16542E-07    8.1963        .25746E-06** at limit **
   5  norm          3.4184        5.6954        .11427E-06    .14841E-02
   6  norm           .0000        2.4866       -.25795E-06** at limit **
   7  Prefactor     1.9372        1.8388       -.12445E-06    .11462E-02
   8  Prefactor     .33695E-07    3.7327       -.40760E-06** at limit **
   9  Prefactor     4.2998        4.0572       -.69485E-07    .41819E-03
  10  norm          2.7054        2.3452        .16703E-06    .15574E-02
  11  Prefactor     .17819E-07    3.8072       -.43294E-06** at limit **
  12  norm          .15278        .85553        .11692E-06** at limit **
  13  Prefactor     .82829        6.0735        .66984E-06    .87713E-02
  14  norm          9.2103        8.9795       -.30277E-06    .14457E-01
  15  Prefactor     .10658E-07    5.4898        .33314E-06** at limit **
  16  Prefactor     7.0357        2.9907        .11937E-06    .89451E-01
  17  Prefactor     .33307E-09    3.0387        .13227E-06** at limit **
  18  Prefactor     .32896E-06    12.346       -.59350E-06** at limit **
  19  norm          .15948E-06    7.5916        .29521E-06** at limit **
  20  Prefactor     .26046E-06    5.1602       -.64901E-06** at limit **
  21  Prefactor     1.5466        5.7633        .46744E-06   -.54425E-02
  22  Prefactor     .52736E-07    2.8100       -.87312E-07** at limit **
  23  Prefactor     .16653E-09    7.2495        .29867E-06** at limit **
  24  norm          .18652E-07    3.4115        .28762E-07** at limit **
  25  Prefactor     .58150        2.0355       -.16153E-06    .28896E-01
  26  Prefactor     .28307E-05    4.6867       -.19117E-06** at limit **
  27  norm          5.2341        1.4520       -.12122E-07   -.20116E-01
  28  Normalizat    1.1168        .21459       -.14394E-05    .25956E-04
  29  Prefactor     1.0829        .23424        .11061E-05    .22549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.34642e-06
  Prefactor  = 0.663611
  Prefactor  = 28.6849
  Prefactor  = 1.65423e-08
  norm       = 3.41841
  norm       = 0
  Prefactor  = 1.9372
  Prefactor  = 3.36953e-08
  Prefactor  = 4.29983
  norm       = 2.70539
  Prefactor  = 1.78191e-08
  norm       = 0.152777
  Prefactor  = 0.828293
  norm       = 9.21029
  Prefactor  = 1.06581e-08
  Prefactor  = 7.03574
  Prefactor  = 3.33067e-10
  Prefactor  = 3.28959e-07
  norm       = 1.59484e-07
  Prefactor  = 2.60458e-07
  Prefactor  = 1.54657
  Prefactor  = 5.27356e-08
  Prefactor  = 1.66533e-10
  norm       = 1.86517e-08
  Prefactor  = 0.581496
  Prefactor  = 2.83068e-06
  norm       = 5.23415
  Normalizat = 1.11683
  Prefactor  = 1.08286
 **********
 **   18 **HESSE 
 **********

 FCN=   5871.298     FROM HESSE     STATUS=OK           617 CALLS     2735 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13464E-05    20.328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .66361        5.5732        .60841E-03   -1.5692    
   3  Prefactor     28.685        32.909        .19311E-03   -1.5601    
   4  Prefactor     .16542E-07    8.3334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.4184        5.7284        .54687E-03   -1.5671    
   6  norm           .0000        2.4995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.9372        47.926        .75061E-03   -1.5680    
   8  Prefactor     .33695E-07    15.535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2998        4.2397        .48588E-03   -1.5666    
  10  norm          2.7054        2.3461        .61933E-03   -1.5675    
  11  Prefactor     .17819E-07    15.730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .15278        .36801        .12698E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .82829        2.3843        .50816E-03   -1.5690    
  14  norm          9.2103        9.2092        .32900E-03   -1.5647    
  15  Prefactor     .10658E-07    2.2158        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.0357        9.9819        .37787E-03   -1.5655    
  17  Prefactor     .33307E-09    3.0696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .32896E-06    23.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .15948E-06    13.431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .26046E-06    17.477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.5466        6.0973        .86516E-03   -1.5683    
  22  Prefactor     .52736E-07    14.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .16653E-09    7.3054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .18652E-07    14.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .58150        15.265        .72909E-03   -1.5693    
  26  Prefactor     .28307E-05    28.777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          5.2341        12.122        .44029E-03   -1.5662    
  28  Normalizat    1.1168        .18440        .54375E-01   -.89213    
  29  Prefactor     1.0829        .19594        .61650E-01   -.90016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3403e-06
Minuit parameter uncertainties:
  1  0.0104633
  2  3.84627
  3  32.9093
  4  0.000742978
  5  5.7284
  6  1.08713e-05
  7  19.2711
  8  0.00144743
  9  4.23972
  10  2.3461
  11  0.00105966
  12  0.368005
  13  2.38426
  14  9.20923
  15  0.000307679
  16  9.98188
  17  6.64002e-05
  18  0.0055883
  19  0.00292718
  20  0.00426695
  21  6.09734
  22  0.00174452
  23  7.09815e-05
  24  0.00103017
  25  5.95871
  26  0.018051
  27  12.1221
  28  0.184505
  29  0.19607
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.066e-08  3.077e-04  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:  1.083e+00  1.961e-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.117e+00  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/81622/likelihoodResults_683078401_683337601_4FGL_J0923.5+4125_daily_bin1712.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) = 5871.24930183
delta logL = 0.049097223332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5871.22878342
delta logL = 0.0696156318008

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22931       1.0000          .0000       .10000E+07
     2 'Index     '    3.3851       1.0000          .0000       10.000    
     3 'Normalizat'    1.0985       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0933       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=   5871.229     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      312 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22828        6.1115        .21327E-02** at limit **
   2  Index         3.3875        3.0435        .21352        .14297E-03
   3  Normalizat    1.0988        .20222E-01    .54740E-01   -.39009E-04
   4  Prefactor     1.0930        .22741E-01    .61386E-01   -.76497E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.228283
  Index      = 3.38746
  Normalizat = 1.09878
  Prefactor  = 1.09297
 **********
 **   18 **HESSE 
 **********

 FCN=   5871.229     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      347 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22828        86.350        .84100E-04   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3875        8.1744        .11882E-01   -.32838    
   3  Normalizat    1.0988        .14713        .24204E-03   -.89791    
   4  Prefactor     1.0930        .16319        .27149E-03   -.89692    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.72911e-09
Minuit parameter uncertainties:
  1  8.87984
  2  19.2046
  3  0.147183
  4  0.163262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81622': 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) = 5871.22878199
delta logL = 0.0696170594874

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  2.283e-01  8.880e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  3.387e+00  1.920e+01  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:  1.093e+00  1.633e-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.099e+00  1.472e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/81622/cmap_HighResolution_683078401_683337601_4FGL_J0923.5+4125_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-03', job_status='DONE', photon_flux_upper_limit='8.99e-08', time_completed='2022-09-16 14:54:07.971384', job_id='81622', GAL2='1.09', fit_tolerance='1e-08', EG2='1.10', EG='1.12', time_epoch_completed='1663365247.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='6.96e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1712' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:54:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 81622: <4FGL_J0923.5+4125_daily_bin1712> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1712> 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) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:40:33 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:33 2022
Terminated at Fri Sep 16 14:54:08 2022
Results reported at Fri Sep 16 14:54:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1712 140.895 41.4283 683078401 683337601 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 :                                   714.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            832 sec.

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

