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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1744
RA = 140.885, Dec = 38.8743
tmin = 691372801, tmax = 691632001
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='571830', job_status='RUN', time_executed='2022-12-02 00:34:11.848299', time_epoch_executed='1669970051.85' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571830

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571830/ft1_4FGL_J0923.5+3852_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571830/ft2_4FGL_J0923.5+3852_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571830/ft1_4FGL_J0923.5+3852_daily_bin1744.fits outfile=/scratch/kocevski/571830/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1744.fits ra=140.885 dec=38.8743 rad=12.0 tmin=691372801.0 tmax=691632001.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 2.53
user 2.31
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/571830/ft2_4FGL_J0923.5+3852_daily_bin1744.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/571830/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/571830/ft1_filtered_4FGL_J0923.5+3852_daily_bin1744.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.49
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 583

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571830/ft1_filtered_4FGL_J0923.5+3852_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/571830/ft2_4FGL_J0923.5+3852_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/571830/ltcube_691372801_691632001_4FGL_J0923.5+3852_daily_bin1744.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/571830/ft2_4FGL_J0923.5+3852_daily_bin1744.fits
.....................!
real 12.69
user 12.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571830/ft1_filtered_4FGL_J0923.5+3852_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/571830/ft2_4FGL_J0923.5+3852_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/571830/ltcube_691372801_691632001_4FGL_J0923.5+3852_daily_bin1744.fits outfile=/scratch/kocevski/571830/expmap_691372801_691632001_4FGL_J0923.5+3852_daily_bin1744.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/571830/ltcube_691372801_691632001_4FGL_J0923.5+3852_daily_bin1744.fits
.....................!
real 190.30
user 184.87
sys 5.07

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/571830/ft1_filtered_4FGL_J0923.5+3852_daily_bin1744.fits scfile=/scratch/kocevski/571830/ft2_4FGL_J0923.5+3852_daily_bin1744.fits outfile=/scratch/kocevski/571830/cmap_691372801_691632001_4FGL_J0923.5+3852_daily_bin1744.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/571830/ft1_filtered_4FGL_J0923.5+3852_daily_bin1744.fits scfile=/scratch/kocevski/571830/ft2_4FGL_J0923.5+3852_daily_bin1744.fits outfile=/scratch/kocevski/571830/cmap_HighResolution_691372801_691632001_4FGL_J0923.5+3852_daily_bin1744.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/571830/ft1_filtered_4FGL_J0923.5+3852_daily_bin1744.fits', '/scratch/kocevski/571830/ft2_4FGL_J0923.5+3852_daily_bin1744.fits', expMap='/scratch/kocevski/571830/expmap_691372801_691632001_4FGL_J0923.5+3852_daily_bin1744.fits', expCube='/scratch/kocevski/571830/ltcube_691372801_691632001_4FGL_J0923.5+3852_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/571830/Model_4FGL_J0923.5+3852_daily_bin1744.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/571830/ft1_filtered_4FGL_J0923.5+3852_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/571830/ft2_4FGL_J0923.5+3852_daily_bin1744.fits
Exposure map: /scratch/kocevski/571830/expmap_691372801_691632001_4FGL_J0923.5+3852_daily_bin1744.fits
Exposure cube: /scratch/kocevski/571830/ltcube_691372801_691632001_4FGL_J0923.5+3852_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/571830/Model_4FGL_J0923.5+3852_daily_bin1744.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) = 6520.28136214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32942E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6470       1.0000          .0000       .10000E+07
     3 'Prefactor '    .43502E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    20.713       1.0000          .0000       .10000E+07
     5 'norm      '    5.1477       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25659E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.9588       1.0000          .0000       .10000E+07
     8 'norm      '    .52636E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16270E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .10703E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.3637       1.0000          .0000       .10000E+07
    12 'norm      '    7.1868       1.0000          .0000       .10000E+07
    13 'Prefactor '    .89233       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.6432       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28774E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .26076E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .24462E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .57995E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    71.314       1.0000          .0000       .10000E+07
    20 'Prefactor '    1.4874       1.0000          .0000       .10000E+07
    21 'norm      '    2.5134       1.0000          .0000       .10000E+07
    22 'Prefactor '    .17720E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .67696       1.0000          .0000       .10000E+07
    24 'norm      '    .10753E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    .86655       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.4630       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=   6520.253     FROM MIGRAD    STATUS=CONVERGED    198 CALLS     2322 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27145E-06    5.9989        .70701E-06** at limit **
   2  Prefactor     4.6604        3.9762       -.79206E-08    .80877E-02
   3  Prefactor     .12101E-07    11.464       -.96839E-07** at limit **
   4  Prefactor     20.732        1.3644       -.12492E-06    .10532E-01
   5  norm          5.1646        7.9135        .77476E-06    .11690E-01
   6  Prefactor     .27756E-09    25.279       -.63500E-06** at limit **
   7  Prefactor     1.9655        3.3675       -.10773E-06    .20065E-02
   8  norm           .0000        .45162       -.22104E-07** at limit **
   9  Prefactor     .10922E-04    25.670        .15815E-06** at limit **
  10  norm          .55511E-10    1.0415        .36290E-08** at limit **
  11  Prefactor     2.3638        2.3714        .40583E-07    .10970E-02
  12  norm          7.1406        8.2992        .13872E-05    .29304E-01
  13  Prefactor     .89356        1.3427        .48383E-08    .24655E-02
  14  Prefactor     2.6454        3.0772        .43244E-07   -.20760E-02
  15  Prefactor     .57510E-07    5.2160       -.73388E-06** at limit **
  16  Prefactor     .24036E-07    4.9658        .80318E-06** at limit **
  17  norm          .32291E-06    58.362       -.66389E-06** at limit **
  18  Prefactor     .12505E-04    17.269        .10849E-05** at limit **
  19  Prefactor     70.953        12.760        .25300E-06   -.12249    
  20  Prefactor     1.4078        7.9201        .28600E-06    .20256E-02
  21  norm          2.5275        6.9903        .25326E-05    .16993E-01
  22  Prefactor     .17208E-08    4.9642       -.74858E-07** at limit **
  23  Prefactor     .73933        4.5629        .50376E-06    .17906E-02
  24  norm          .39246E-06    4.5143       -.87581E-06** at limit **
  25  Normalizat    .86700        .20729       -.94302E-05   -.52288E-04
  26  Prefactor     1.4626        .23590        .13032E-05   -.94228E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.7145e-07
  Prefactor  = 4.66044
  Prefactor  = 1.21014e-08
  Prefactor  = 20.7319
  norm       = 5.16457
  Prefactor  = 2.77556e-10
  Prefactor  = 1.96552
  norm       = 0
  Prefactor  = 1.09219e-05
  norm       = 5.55112e-11
  Prefactor  = 2.36375
  norm       = 7.14061
  Prefactor  = 0.893564
  Prefactor  = 2.64541
  Prefactor  = 5.75096e-08
  Prefactor  = 2.40363e-08
  norm       = 3.22908e-07
  Prefactor  = 1.25052e-05
  Prefactor  = 70.9534
  Prefactor  = 1.40782
  norm       = 2.52751
  Prefactor  = 1.72085e-09
  Prefactor  = 0.739328
  norm       = 3.92464e-07
  Normalizat = 0.866997
  Prefactor  = 1.46257
 **********
 **   18 **HESSE 
 **********

 FCN=   6520.253     FROM HESSE     STATUS=OK           516 CALLS     2838 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27145E-06    9.2747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.6604        3.9812        .46663E-03   -1.5665    
   3  Prefactor     .12101E-07    11.738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.732        13.448        .21979E-03   -1.5617    
   5  norm          5.1646        7.9458        .44287E-03   -1.5663    
   6  Prefactor     .27756E-09    25.167        .16689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.9655        3.4201        .74094E-03   -1.5680    
   8  norm           .0000        .45100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10922E-04    39.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    .30188        .21303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3638        2.7875        .66627E-03   -1.5677    
  12  norm          7.1406        8.4179        .37393E-03   -1.5655    
  13  Prefactor     .89356        1.3548        .46292E-03   -1.5689    
  14  Prefactor     2.6454        3.0951        .62684E-03   -1.5675    
  15  Prefactor     .57510E-07    5.4452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .24036E-07    5.0206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .32291E-06    66.256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .12505E-04    42.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     70.953        40.354        .11842E-03   -1.5539    
  20  Prefactor     1.4078        8.0006        .87900E-03   -1.5684    
  21  norm          2.5275        7.0616        .64420E-03   -1.5676    
  22  Prefactor     .17208E-08    4.9482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .73933        4.5840        .62599E-03   -1.5691    
  24  norm          .39246E-06    9.5375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .86700        .18241        .44473E-01   -.97630    
  26  Prefactor     1.4626        .20258        .58055E-01   -.78594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00734e-06
Minuit parameter uncertainties:
  1  0.00317355
  2  3.98125
  3  0.000753696
  4  13.448
  5  7.94585
  6  0.00016627
  7  3.42012
  8  9.74567e-07
  9  0.0415634
  10  7.18095e-06
  11  2.78752
  12  8.4179
  13  1.35476
  14  3.09506
  15  0.00111942
  16  0.000694749
  17  0.00925098
  18  0.0461841
  19  40.3539
  20  6.7122
  21  7.06163
  22  0.000185981
  23  3.6819
  24  0.00386941
  25  0.182542
  26  0.202692
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  7.141e+00  8.418e+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

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.463e+00  2.027e-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:  8.670e-01  1.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.94
Ra Dec: 140.885 38.874
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.76e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/571830/likelihoodResults_691372801_691632001_4FGL_J0923.5+3852_daily_bin1744.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) = 6520.15854451
delta logL = 0.0949049468318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6520.14852497
delta logL = 0.104924489128

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6520.149     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      286 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0413        157.99        .13929E-04    .20412E-02
   2  alpha         3.7025        3.0744        .28330E-01    .19333E-04
   3  Normalizat    .84021        .25349        .27923E-03   -.12133E-03
   4  Prefactor     1.4873        .28953        .25496E-03   -.26425E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.04127
  alpha      = 3.70251
  Normalizat = 0.840212
  Prefactor  = 1.48735
 **********
 **   18 **HESSE 
 **********

 FCN=   6520.149     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0413        7.8540        .55717E-06   -1.5673    
   2  alpha         3.7025        1.8385        .11332E-02    .50180    
   3  Normalizat    .84021        .20822        .11169E-04   -.98594    
   4  Prefactor     1.4873        .23943        .50992E-04   -.77895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31629e-10
Minuit parameter uncertainties:
  1  7.85405
  2  2.18106
  3  0.208419
  4  0.23961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571830': 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) = 6520.14852493
delta logL = 0.104924525333

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.041e+00  7.854e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  3.703e+00  2.181e+00  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:  1.487e+00  2.396e-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:  8.402e-01  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.19
Ra Dec: 140.885 38.874
Photon Index (Free Index): 3.70 +/- 2.18
Photon Flux (Free Index): 4.51e-08 +/- 5.22e-08
Energy Flux (Free Index): 7.73e-06 +/- 8.19e-06

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/571830/cmap_HighResolution_691372801_691632001_4FGL_J0923.5+3852_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='7.73e-06', dlogl='1.05e-01', photon_flux2='4.51e-08', job_status='DONE', time_completed='2022-12-02 00:46:13.474554', photon_index_error2='2.18', photon_index2='3.70', ts='0.94', fit_tolerance='1e-08', GAL='1.46', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='8.19e-06', EG='0.87', time_epoch_completed='1669970773.47', return_code='0', job_id='571830', GAL2='1.49', EG2='0.84', return_code2='0', photon_flux_error2='5.22e-08', ts2='1.19', photon_index='2.61' WHERE bin_id='1744' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 00:46:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 571830: <4FGL_J0923.5+3852_daily_bin1744> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec  2 00:30:19 2022
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 00:30:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 00:30:20 2022
Terminated at Fri Dec  2 00:46:14 2022
Results reported at Fri Dec  2 00:46:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1744 140.885 38.8743 691372801 691632001 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 :                                   722.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             268.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            955 sec.

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

