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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1746
RA = 140.885, Dec = 38.8743
tmin = 691891201, tmax = 692150401
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='718817', job_status='RUN', time_executed='2022-12-08 00:32:13.971840', time_epoch_executed='1670488333.97' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/718817

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/718817/ft1_4FGL_J0923.5+3852_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/718817/ft2_4FGL_J0923.5+3852_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/718817/ft1_4FGL_J0923.5+3852_daily_bin1746.fits outfile=/scratch/kocevski/718817/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1746.fits ra=140.885 dec=38.8743 rad=12.0 tmin=691891201.0 tmax=692150401.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.63
user 3.39
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/718817/ft2_4FGL_J0923.5+3852_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/718817/ft2_4FGL_J0923.5+3852_daily_bin1746.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/718817/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/718817/ft1_filtered_4FGL_J0923.5+3852_daily_bin1746.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.41
user 0.25
sys 0.15

Number of photons that the gtmktime cut: 546

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/718817/ft1_filtered_4FGL_J0923.5+3852_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/718817/ft2_4FGL_J0923.5+3852_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/718817/ltcube_691891201_692150401_4FGL_J0923.5+3852_daily_bin1746.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/718817/ft2_4FGL_J0923.5+3852_daily_bin1746.fits
.....................!
real 9.04
user 8.72
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/718817/ft1_filtered_4FGL_J0923.5+3852_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/718817/ft2_4FGL_J0923.5+3852_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/718817/ltcube_691891201_692150401_4FGL_J0923.5+3852_daily_bin1746.fits outfile=/scratch/kocevski/718817/expmap_691891201_692150401_4FGL_J0923.5+3852_daily_bin1746.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/718817/ltcube_691891201_692150401_4FGL_J0923.5+3852_daily_bin1746.fits
.....................!
real 143.86
user 139.36
sys 4.28

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

Setting source of interest to:
4FGL J0923.5+3852 @ 140.885 38.8743

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/718817/ft1_filtered_4FGL_J0923.5+3852_daily_bin1746.fits scfile=/scratch/kocevski/718817/ft2_4FGL_J0923.5+3852_daily_bin1746.fits outfile=/scratch/kocevski/718817/cmap_691891201_692150401_4FGL_J0923.5+3852_daily_bin1746.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.885 yref=38.8743 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.45
user 0.31
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/718817/ft1_filtered_4FGL_J0923.5+3852_daily_bin1746.fits scfile=/scratch/kocevski/718817/ft2_4FGL_J0923.5+3852_daily_bin1746.fits outfile=/scratch/kocevski/718817/cmap_HighResolution_691891201_692150401_4FGL_J0923.5+3852_daily_bin1746.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.885 yref=38.8743 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.45
user 0.29
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/718817/ft1_filtered_4FGL_J0923.5+3852_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/718817/ft2_4FGL_J0923.5+3852_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/718817/Model_4FGL_J0923.5+3852_daily_bin1746.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/718817/ft1_filtered_4FGL_J0923.5+3852_daily_bin1746.fits.....................!
real 39.98
user 38.90
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/718817/ft1_filtered_4FGL_J0923.5+3852_daily_bin1746.fits', '/scratch/kocevski/718817/ft2_4FGL_J0923.5+3852_daily_bin1746.fits', expMap='/scratch/kocevski/718817/expmap_691891201_692150401_4FGL_J0923.5+3852_daily_bin1746.fits', expCube='/scratch/kocevski/718817/ltcube_691891201_692150401_4FGL_J0923.5+3852_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/718817/Model_4FGL_J0923.5+3852_daily_bin1746.xml', optimizer='MINUIT')

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

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.377e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/718817/ft1_filtered_4FGL_J0923.5+3852_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/718817/ft2_4FGL_J0923.5+3852_daily_bin1746.fits
Exposure map: /scratch/kocevski/718817/expmap_691891201_692150401_4FGL_J0923.5+3852_daily_bin1746.fits
Exposure cube: /scratch/kocevski/718817/ltcube_691891201_692150401_4FGL_J0923.5+3852_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/718817/Model_4FGL_J0923.5+3852_daily_bin1746.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) = 6059.18760827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16386E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.5592       1.0000          .0000       .10000E+07
     3 'Prefactor '    .71275E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3924       1.0000          .0000       .10000E+07
     5 'norm      '    .27847E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .17347E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    12.527       1.0000          .0000       .10000E+07
     8 'norm      '    2.3955       1.0000          .0000       .10000E+07
     9 'Prefactor '    .40765       1.0000          .0000       .10000E+07
    10 'norm      '    .13103E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.9890       1.0000          .0000       .10000E+07
    12 'norm      '    .41206E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.9545       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13727E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.3769       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24895E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .73688E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .63862E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .15406E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .75581E-05   1.0000          .0000       .10000E+07
    21 'norm      '    23.750       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.7070       1.0000          .0000       .10000E+07
    23 'Prefactor '    .31930E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .40065E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1290       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94252       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6058.988     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1811 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37192E-08    8.1919       -.29483E-05** at limit **
   2  Prefactor     7.5893        4.2482        .28857E-07   -.10286E-01
   3  Prefactor     .46407E-07    3.4574       -.56903E-06** at limit **
   4  Prefactor     2.3558        1.7113       -.21334E-06    .23858E-04
   5  norm          .37303E-07    3.0529       -.51164E-06** at limit **
   6  Prefactor     .28161E-06    7.3409        .73115E-06** at limit **
   7  Prefactor     12.578        5.0216        .11843E-06   -.52155E-03
   8  norm          2.3976        1.7950        .46342E-07    .68745E-02
   9  Prefactor     .25270E-05    118.19       -.14019E-04** at limit **
  10  norm           .0000        .73692        .10638E-06** at limit **
  11  Prefactor     4.9841        2.8162       -.44898E-07   -.72744E-02
  12  norm          .55950E-06    5.7585       -.48398E-06** at limit **
  13  Prefactor     1.9544        2.1393        .35797E-07    .22454E-02
  14  Prefactor      .0000        5.0998        .38043E-06** at limit **
  15  Prefactor     8.3794        7.8693       -.28074E-07   -.20322E-03
  16  Prefactor     .44931E-06    6.9835        .90244E-06** at limit **
  17  norm          .66613E-09    7.8541       -.88984E-06** at limit **
  18  Prefactor     .33529E-07    5.6157        .10390E-05** at limit **
  19  Prefactor     .94924E-07    8.0875        .32114E-05** at limit **
  20  Prefactor     .33307E-09    3.6789        .10969E-05** at limit **
  21  norm          23.781        1.1788        .86921E-07    .63540E-02
  22  Prefactor     1.7089        3.0962       -.79951E-07    .13010E-02
  23  Prefactor      .0000        3.6122       -.11855E-06** at limit **
  24  norm          .22204E-09    3.7966       -.76565E-06** at limit **
  25  Normalizat    1.1293        .21077        .32854E-06   -.60451E-03
  26  Prefactor     .94246        .22661        .23614E-05   -.41827E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.71925e-09
  Prefactor  = 7.58931
  Prefactor  = 4.64073e-08
  Prefactor  = 2.35582
  norm       = 3.73035e-08
  Prefactor  = 2.81608e-07
  Prefactor  = 12.5785
  norm       = 2.39762
  Prefactor  = 2.52703e-06
  norm       = 0
  Prefactor  = 4.98408
  norm       = 5.59497e-07
  Prefactor  = 1.9544
  Prefactor  = 0
  Prefactor  = 8.37936
  Prefactor  = 4.49307e-07
  norm       = 6.66134e-10
  Prefactor  = 3.35287e-08
  Prefactor  = 9.49241e-08
  Prefactor  = 3.33067e-10
  norm       = 23.7806
  Prefactor  = 1.70886
  Prefactor  = 0
  norm       = 2.22045e-10
  Normalizat = 1.12926
  Prefactor  = 0.942459
 **********
 **   18 **HESSE 
 **********

 FCN=   6058.988     FROM HESSE     STATUS=OK           516 CALLS     2327 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37192E-08    13.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.5893        4.2536        .36452E-03   -1.5653    
   3  Prefactor     .46407E-07    11.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.3558        9.5566        .66185E-03   -1.5677    
   5  norm          .37303E-07    12.090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .28161E-06    20.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.578        5.1755        .28277E-03   -1.5637    
   8  norm          2.3976        1.7998        .66138E-03   -1.5677    
   9  Prefactor     .25270E-05    21.722        .10907E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .45337        .13874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.9841        3.3404        .45000E-03   -1.5663    
  12  norm          .55950E-06    22.970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.9544        2.1723        .74189E-03   -1.5680    
  14  Prefactor      .0000        5.0624        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.3794        7.8673        .34613E-03   -1.5650    
  16  Prefactor     .44931E-06    18.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .66613E-09    7.8659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .33529E-07    19.416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .94924E-07    10.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33307E-09    3.6946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          23.781        13.055        .20525E-03   -1.5610    
  22  Prefactor     1.7089        3.1280        .80447E-03   -1.5682    
  23  Prefactor      .0000        3.6097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .22204E-09    3.8544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1293        .18087        .54036E-01   -.88818    
  26  Prefactor     .94246        .19369        .45545E-01   -.94673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.77429e-08
Minuit parameter uncertainties:
  1  0.000439751
  2  4.25363
  3  0.00147053
  4  9.48974
  5  0.00134281
  6  0.00478088
  7  5.17553
  8  1.79978
  9  0.0148181
  10  4.88012e-06
  11  3.34041
  12  0.00716997
  13  2.17234
  14  7.91216e-06
  15  7.86735
  16  0.00576362
  17  0.000145655
  18  0.00161365
  19  0.00199039
  20  6.92372e-05
  21  13.0547
  22  3.128
  23  8.76663e-07
  24  5.63104e-05
  25  0.180974
  26  0.193834
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  5.595e-07  7.170e-03  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  9.425e-01  1.938e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  1.129e+00  1.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.885 38.874
Photon Flux Upper Limit: 8.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/718817/likelihoodResults_691891201_692150401_4FGL_J0923.5+3852_daily_bin1746.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) = 6058.98832301
delta logL = -0.000115396117508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6058.9882077
delta logL = -8.59081410454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13554E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    1.6829       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94249       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6058.988     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      258 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    35.178       -.49619E-06** at limit **
   2  alpha         3.2773        3.9362        .56315E-04   -.91210E-12
   3  Normalizat    1.1293        .20393        .15906E-05    .54274E-05
   4  Prefactor     .94246        .22472       -.51539E-05    .20919E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  alpha      = 3.27735
  Normalizat = 1.12926
  Prefactor  = 0.942458
 **********
 **   18 **HESSE 
 **********

 FCN=   6058.988     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      299 TOTAL
                     EDM=   .21E-17    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .19106E-02    .53157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.2773        4.0755        .44347        .31618    
   3  Normalizat    1.1293        .92917E-04    .54036E-01   -.88818    
   4  Prefactor     .94246        .10261E-03    .45544E-01   -.94673    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.12102e-18
Minuit parameter uncertainties:
  1  1.01517e-06
  2  8201.44
  3  9.29168e-05
  4  0.000102613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/718817': 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) = 6058.9882076
delta logL = 1.22399796965e-08

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.110e-10  1.015e-06  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  3.277e+00  8.201e+03  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  2.149e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  9.425e-01  1.026e-04  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  1.129e+00  9.292e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.885 38.874

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/718817/cmap_HighResolution_691891201_692150401_4FGL_J0923.5+3852_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.20e-05', job_status='DONE', photon_flux_upper_limit='8.29e-08', time_completed='2022-12-08 00:40:23.146474', job_id='718817', GAL2='0.94', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1670488823.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.22e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1746' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:40:23 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 718817: <4FGL_J0923.5+3852_daily_bin1746> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1746> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Dec  8 00:30:20 2022
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:30:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:30:21 2022
Terminated at Thu Dec  8 00:40:23 2022
Results reported at Thu Dec  8 00:40:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1746 140.885 38.8743 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+3852 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   490.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             252.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   602 sec.
    Turnaround time :                            603 sec.

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

