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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1757
RA = 140.885, Dec = 38.8743
tmin = 694742401, tmax = 695001601
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='191747', job_status='RUN', time_executed='2023-01-10 00:37:21.314587', time_epoch_executed='1673339841.31' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191747

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191747/ft1_4FGL_J0923.5+3852_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191747/ft2_4FGL_J0923.5+3852_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191747/ft1_4FGL_J0923.5+3852_daily_bin1757.fits outfile=/scratch/kocevski/191747/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1757.fits ra=140.885 dec=38.8743 rad=12.0 tmin=694742401.0 tmax=695001601.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.90
user 2.66
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/191747/ft2_4FGL_J0923.5+3852_daily_bin1757.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/191747/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/191747/ft1_filtered_4FGL_J0923.5+3852_daily_bin1757.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 184

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/191747/ft1_filtered_4FGL_J0923.5+3852_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/191747/ft2_4FGL_J0923.5+3852_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/191747/ltcube_694742401_695001601_4FGL_J0923.5+3852_daily_bin1757.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/191747/ft2_4FGL_J0923.5+3852_daily_bin1757.fits
.....................!
real 16.76
user 16.27
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191747/ft1_filtered_4FGL_J0923.5+3852_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/191747/ft2_4FGL_J0923.5+3852_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/191747/ltcube_694742401_695001601_4FGL_J0923.5+3852_daily_bin1757.fits outfile=/scratch/kocevski/191747/expmap_694742401_695001601_4FGL_J0923.5+3852_daily_bin1757.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/191747/ltcube_694742401_695001601_4FGL_J0923.5+3852_daily_bin1757.fits
.....................!
real 192.31
user 186.01
sys 5.64

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/191747/ft1_filtered_4FGL_J0923.5+3852_daily_bin1757.fits scfile=/scratch/kocevski/191747/ft2_4FGL_J0923.5+3852_daily_bin1757.fits outfile=/scratch/kocevski/191747/cmap_694742401_695001601_4FGL_J0923.5+3852_daily_bin1757.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191747/ft1_filtered_4FGL_J0923.5+3852_daily_bin1757.fits scfile=/scratch/kocevski/191747/ft2_4FGL_J0923.5+3852_daily_bin1757.fits outfile=/scratch/kocevski/191747/cmap_HighResolution_694742401_695001601_4FGL_J0923.5+3852_daily_bin1757.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.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0065       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28759       1.0000          .0000       .10000E+07
     3 'Prefactor '    63.841       1.0000          .0000       .10000E+07
     4 'Prefactor '    .43932       1.0000          .0000       .10000E+07
     5 'norm      '    .69834E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .58090E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    15.140       1.0000          .0000       .10000E+07
     8 'norm      '    3.7532       1.0000          .0000       .10000E+07
     9 'Prefactor '    .59525E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .19879E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .42148E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .23518E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .64365E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43817E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .17845E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .42205E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .21207E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .88764       1.0000          .0000       .10000E+07
    19 'Prefactor '    .16521E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .27274E-03   1.0000          .0000       .10000E+07
    21 'norm      '    25.010       1.0000          .0000       .10000E+07
    22 'Prefactor '    .91849       1.0000          .0000       .10000E+07
    23 'Prefactor '    .24868E-02   1.0000          .0000       .10000E+07
    24 'norm      '    5.1361       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.4506       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .73893       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=   2107.840     FROM MIGRAD    STATUS=CONVERGED    225 CALLS     2286 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4657        299.12       -.24912E-05    .11245E-01
   2  Prefactor     .48628E-06    46.886       -.11738E-06** at limit **
   3  Prefactor     63.118        60.416       -.54801E-06    .79332E-01
   4  Prefactor     .20728E-06    105.61       -.13972E-06** at limit **
   5  norm          .96034E-08    12.940       -.62850E-07** at limit **
   6  Prefactor      .0000        35.995       -.13560E-06** at limit **
   7  Prefactor     15.180        11.095       -.32737E-08    .27977E-02
   8  norm          3.7522        3.6371        .14607E-07    .19564E-03
   9  Prefactor     .38858E-08    14.657        .39817E-07** at limit **
  10  norm           .0000        .64338        .15700E-08** at limit **
  11  Prefactor     .67724E-08    35.564        .74924E-07** at limit **
  12  norm          .11102E-09    6.5377       -.36967E-07** at limit **
  13  Prefactor      .0000        3.9063        .51415E-08** at limit **
  14  Prefactor      .0000        3.5934        .19905E-07** at limit **
  15  Prefactor     .55511E-10    5.5942       -.26163E-07** at limit **
  16  Prefactor     .87153E-08    7.7889       -.23171E-08** at limit **
  17  norm          .11102E-08    9.7733        .70070E-08** at limit **
  18  Prefactor     .96433E-02    6724.6       -.11950E-04** at limit **
  19  Prefactor     .58287E-08    56.173       -.58784E-07** at limit **
  20  Prefactor     .14821E-07    7.4945        .42223E-07** at limit **
  21  norm          24.973        6.1054       -.32710E-07   -.50700E-01
  22  Prefactor     .88497        4.4020       -.85489E-07    .15973E-01
  23  Prefactor      .0000        4.2448       -.34617E-08** at limit **
  24  norm          5.0881        7.6343       -.35567E-07   -.24202E-02
  25  Normalizat    1.4530        .36862        .19117E-05    .64468E-04
  26  Prefactor     .73802        .41978       -.33120E-06    .27440E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46574
  Prefactor  = 4.86278e-07
  Prefactor  = 63.1179
  Prefactor  = 2.07279e-07
  norm       = 9.60343e-09
  Prefactor  = 0
  Prefactor  = 15.1799
  norm       = 3.75217
  Prefactor  = 3.88578e-09
  norm       = 0
  Prefactor  = 6.77236e-09
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 8.71525e-09
  norm       = 1.11022e-09
  Prefactor  = 0.00964326
  Prefactor  = 5.82867e-09
  Prefactor  = 1.48215e-08
  norm       = 24.9727
  Prefactor  = 0.884965
  Prefactor  = 0
  norm       = 5.08814
  Normalizat = 1.45301
  Prefactor  = 0.73802
 **********
 **   18 **HESSE 
 **********

 FCN=   2107.840     FROM HESSE     STATUS=OK           510 CALLS     2796 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4657        27782.        .73069E-03   -1.5684    
   2  Prefactor     .48628E-06    73.667        .10387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     63.118        546.37        .12516E-03   -1.5549    
   4  Prefactor     .20728E-06    108.75        .85066E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .96034E-08    13.363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        35.999        .15232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.180        11.469        .25714E-03   -1.5630    
   8  norm          3.7522        3.6292        .52091E-03   -1.5669    
   9  Prefactor     .38858E-08    14.808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .63740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .67724E-08    7.0119        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .11102E-09    6.5518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.9081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        3.5927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    5.5993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .87153E-08    8.4416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .11102E-08    9.8342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .96433E-02    188.48        .76832E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .58287E-08    56.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .14821E-07    8.7932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          24.973        23.992        .20000E-03   -1.5608    
  22  Prefactor     .88497        9.8986        .44490E-03   -1.5689    
  23  Prefactor      .0000        4.2427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          5.0881        17.385        .44337E-03   -1.5663    
  25  Normalizat    1.4530        .33694        .50277E-01   -.79107    
  26  Prefactor     .73802        .36593        .78663E-01   -1.0206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27649e-05
Minuit parameter uncertainties:
  1  405.486
  2  0.0119706
  3  371.452
  4  0.00949502
  5  0.000716363
  6  2.67378e-05
  7  11.4693
  8  3.62917
  9  0.000478883
  10  1.80541e-07
  11  0.000435537
  12  5.80433e-05
  13  1.50749e-05
  14  1.06351e-05
  15  3.1468e-05
  16  0.000543154
  17  0.000207488
  18  2.69639
  19  0.00115002
  20  0.000721561
  21  23.9917
  22  5.91946
  23  1.79903e-05
  24  17.3848
  25  0.337462
  26  0.367131
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.110e-10  5.804e-05  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:  7.380e-01  3.671e-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.453e+00  3.375e-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: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.59e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/191747/likelihoodResults_694742401_695001601_4FGL_J0923.5+3852_daily_bin1757.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) = 2107.84025418
delta logL = -0.000582264455716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2107.83967207
delta logL = -1.53569999384e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36582E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    .88781       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4531       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73805       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2107.840     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      240 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.3480        .42118E-03** at limit **
   2  alpha         3.5859        1.3819       -.27992E-04     .0000    
   3  Normalizat    1.4530        1.0549       -.67463E-05    .97455E-05
   4  Prefactor     .73802        1.0877        .14627E-04    .20588E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.58595
  Normalizat = 1.45301
  Prefactor  = 0.73802
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2107.840     FROM HESSE     STATUS=FAILED         7 CALLS      247 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.3480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3485        1.3819       -.27992E-04    .44935    
   3  Normalizat    1.4530        1.0549       -.67463E-05   -.79107    
   4  Prefactor     .73802        1.0877        .14627E-04   -1.0206    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.13351e-12
Minuit parameter uncertainties:
  1  1.09782e-05
  2  1.48784
  3  1.07147
  4  1.12176
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191747': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 2107.83967192
delta logL = 1.40971678775e-11

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  0.000e+00  1.098e-05  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  3.586e+00  1.488e+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:  7.380e-01  1.122e+00  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.453e+00  1.071e+00  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/191747/cmap_HighResolution_694742401_695001601_4FGL_J0923.5+3852_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-05', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2023-01-10 00:44:50.914536', job_id='191747', GAL2='0.74', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1673340290.91', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.41e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1757' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 00:44:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 191747: <4FGL_J0923.5+3852_daily_bin1757> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1757> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jan 10 00:35:17 2023
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 00:36:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 00:36:45 2023
Terminated at Tue Jan 10 00:44:51 2023
Results reported at Tue Jan 10 00:44:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1757 140.885 38.8743 694742401 695001601 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 :                                   451.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   486 sec.
    Turnaround time :                            574 sec.

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

