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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1762
RA = 140.885, Dec = 38.8743
tmin = 696038401, tmax = 696297601
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='106450', job_status='RUN', time_executed='2023-01-25 00:47:26.283508', time_epoch_executed='1674636446.28' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106450

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106450/ft1_4FGL_J0923.5+3852_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106450/ft2_4FGL_J0923.5+3852_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106450/ft1_4FGL_J0923.5+3852_daily_bin1762.fits outfile=/scratch/kocevski/106450/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1762.fits ra=140.885 dec=38.8743 rad=12.0 tmin=696038401.0 tmax=696297601.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.73
user 3.44
sys 0.25

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

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

Number of photons that the gtmktime cut: 527

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106450/ft1_filtered_4FGL_J0923.5+3852_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/106450/ft2_4FGL_J0923.5+3852_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/106450/ltcube_696038401_696297601_4FGL_J0923.5+3852_daily_bin1762.fits outfile=/scratch/kocevski/106450/expmap_696038401_696297601_4FGL_J0923.5+3852_daily_bin1762.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/106450/ltcube_696038401_696297601_4FGL_J0923.5+3852_daily_bin1762.fits
.....................!
real 193.29
user 187.11
sys 5.46

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/106450/ft1_filtered_4FGL_J0923.5+3852_daily_bin1762.fits scfile=/scratch/kocevski/106450/ft2_4FGL_J0923.5+3852_daily_bin1762.fits outfile=/scratch/kocevski/106450/cmap_696038401_696297601_4FGL_J0923.5+3852_daily_bin1762.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.57
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106450/ft1_filtered_4FGL_J0923.5+3852_daily_bin1762.fits scfile=/scratch/kocevski/106450/ft2_4FGL_J0923.5+3852_daily_bin1762.fits outfile=/scratch/kocevski/106450/cmap_HighResolution_696038401_696297601_4FGL_J0923.5+3852_daily_bin1762.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.58
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.738       1.0000          .0000       .10000E+07
     2 'Prefactor '    .32196E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .64967       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18985E-02   1.0000          .0000       .10000E+07
     5 'norm      '    4.6072       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.4990       1.0000          .0000       .10000E+07
     7 'Prefactor '    11.372       1.0000          .0000       .10000E+07
     8 'norm      '    1.7364       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32763E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .23315E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    .91094E-07   1.0000          .0000       .10000E+07
    12 'norm      '    3.6166       1.0000          .0000       .10000E+07
    13 'Prefactor '    .72507       1.0000          .0000       .10000E+07
    14 'Prefactor '    .32092       1.0000          .0000       .10000E+07
    15 'Prefactor '    16.529       1.0000          .0000       .10000E+07
    16 'Prefactor '    .48632E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .10227E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    23.879       1.0000          .0000       .10000E+07
    19 'Prefactor '    8.8003       1.0000          .0000       .10000E+07
    20 'Prefactor '    1.1780       1.0000          .0000       .10000E+07
    21 'norm      '    2.2445       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.0460       1.0000          .0000       .10000E+07
    23 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
    24 'norm      '    13.604       1.0000          .0000       .10000E+07
    25 'Normalizat'    .89602       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0740       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=   5856.841     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     2258 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.747        5.6842       -.46506E-06    .15724    
   2  Prefactor     .16653E-09    1.9494       -.24014E-06** at limit **
   3  Prefactor     .67597        2.3723       -.38409E-06    .23717E-01
   4  Prefactor     .54401E-08    6.0964       -.12886E-06** at limit **
   5  norm          4.6102        2.3262       -.27512E-07    .27261E-02
   6  Prefactor     6.3877        48.003        .27922E-05   -.80199E-02
   7  Prefactor     11.300        4.9945        .66273E-07    .23744E-01
   8  norm          1.7350        1.6055       -.12876E-06    .21319E-02
   9  Prefactor     .64726E-07    19.737       -.17366E-05** at limit **
  10  norm           .0000        .23570       -.16719E-07** at limit **
  11  Prefactor      .0000        .94339       -.14752E-06** at limit **
  12  norm          3.5952        3.1640       -.59021E-06   -.42249E-01
  13  Prefactor     .73076        1.4682        .63161E-07    .61957E-03
  14  Prefactor     .32869        10.002        .27681E-05    .12965E-01
  15  Prefactor     16.517        7.9386       -.65667E-06   -.45684E-01
  16  Prefactor     .22871E-07    13.142       -.33499E-06** at limit **
  17  norm          .33307E-09    4.6968        .15208E-06** at limit **
  18  Prefactor     23.851        1.7471       -.84029E-07    .30577E-01
  19  Prefactor     8.8290        1.6704       -.19201E-06    .20179E-01
  20  Prefactor     1.1581        6.0305        .23083E-06   -.80633E-02
  21  norm          2.2567        5.0626        .50972E-08    .95218E-03
  22  Prefactor     6.9640        5.2667        .10573E-06    .56360E-02
  23  Prefactor      .0000        2.6581       -.12539E-06** at limit **
  24  norm          13.614        1.1182       -.30743E-07    .36639E-02
  25  Normalizat    .89695        .20330        .44459E-05    .66540E-04
  26  Prefactor     1.0733        .22114       -.82432E-05    .14129E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.7472
  Prefactor  = 1.66533e-10
  Prefactor  = 0.675968
  Prefactor  = 5.44009e-09
  norm       = 4.6102
  Prefactor  = 6.3877
  Prefactor  = 11.3002
  norm       = 1.73503
  Prefactor  = 6.4726e-08
  norm       = 0
  Prefactor  = 0
  norm       = 3.59517
  Prefactor  = 0.730758
  Prefactor  = 0.328691
  Prefactor  = 16.517
  Prefactor  = 2.28706e-08
  norm       = 3.33067e-10
  Prefactor  = 23.8511
  Prefactor  = 8.82895
  Prefactor  = 1.15807
  norm       = 2.25673
  Prefactor  = 6.96401
  Prefactor  = 0
  norm       = 13.614
  Normalizat = 0.896952
  Prefactor  = 1.07328
 **********
 **   18 **HESSE 
 **********

 FCN=   5856.841     FROM HESSE     STATUS=OK           526 CALLS     2784 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.747        17.774        .18040E-03   -1.5597    
   2  Prefactor     .16653E-09    1.9416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .67597        73.959        .64891E-03   -1.5692    
   4  Prefactor     .54401E-08    6.1043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.6102        6.0561        .46869E-03   -1.5665    
   6  Prefactor     6.3877        49.384        .42823E-03   -1.5657    
   7  Prefactor     11.300        5.1414        .29682E-03   -1.5641    
   8  norm          1.7350        1.6074        .79606E-03   -1.5682    
   9  Prefactor     .64726E-07    23.194        .16308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .22742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        .94070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.5952        6.1169        .53104E-03   -1.5670    
  13  Prefactor     .73076        1.4971        .58696E-03   -1.5691    
  14  Prefactor     .32869        2.3705        .68235E-02   -1.5696    
  15  Prefactor     16.517        9.2046        .24608E-03   -1.5627    
  16  Prefactor     .22871E-07    13.148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .33307E-09    4.6953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.851        21.961        .20469E-03   -1.5610    
  19  Prefactor     8.8290        19.538        .33764E-03   -1.5649    
  20  Prefactor     1.1581        19.116        .10539E-02   -1.5686    
  21  norm          2.2567        5.0939        .68568E-03   -1.5678    
  22  Prefactor     6.9640        5.5665        .37769E-03   -1.5655    
  23  Prefactor      .0000        2.6578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          13.614        11.242        .27131E-03   -1.5634    
  25  Normalizat    .89695        .17710        .44851E-01   -.96567    
  26  Prefactor     1.0733        .18873        .58442E-01   -.90325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67427e-06
Minuit parameter uncertainties:
  1  17.7741
  2  3.54723e-05
  3  14.1414
  4  0.000364557
  5  6.05608
  6  35.5224
  7  5.14145
  8  1.60737
  9  0.00245005
  10  5.69455e-07
  11  9.61602e-08
  12  6.11688
  13  1.49709
  14  1.76539
  15  9.20458
  16  0.00109647
  17  8.2012e-05
  18  21.9606
  19  19.5385
  20  9.4101
  21  5.09392
  22  5.56652
  23  7.03754e-06
  24  11.2419
  25  0.177219
  26  0.18885
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.595e+00  6.117e+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.073e+00  1.889e-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.970e-01  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/106450/likelihoodResults_696038401_696297601_4FGL_J0923.5+3852_daily_bin1762.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) = 5856.67406794
delta logL = 0.167146032224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5856.67042763
delta logL = 0.170786347442

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0120       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6732       1.0000          .0000       5.0000    
     3 'Normalizat'    .90868       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0631       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.

 FCN=   5856.670     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0121        5.9322        .50324E-03    .14223E-01
   2  alpha         1.6722        1.0872        .44436       -.28291E-04
   3  Normalizat    .90864        .16561        .45012E-01    .13249E-04
   4  Prefactor     1.0632        .18714        .58669E-01    .82575E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.01207
  alpha      = 1.67218
  Normalizat = 0.908637
  Prefactor  = 1.06316
 **********
 **   18 **HESSE 
 **********

 FCN=   5856.670     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0121        6.1443        .20130E-04   -1.5668    
   2  alpha         1.6722        1.2315        .35266E-01   -.33750    
   3  Normalizat    .90864        .19374        .24737E-03   -.96157    
   4  Prefactor     1.0632        .21900        .25944E-03   -.90653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04243e-09
Minuit parameter uncertainties:
  1  6.14436
  2  1.29562
  3  0.193886
  4  0.219182
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106450': 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) = 5856.67042724
delta logL = 0.170786730749

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  4.012e+00  6.144e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  1.672e+00  1.296e+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.063e+00  2.192e-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:  9.086e-01  1.939e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.55
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/106450/cmap_HighResolution_696038401_696297601_4FGL_J0923.5+3852_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.25e-05', job_status='DONE', photon_flux_upper_limit='8.47e-08', time_completed='2023-01-25 00:58:44.878828', job_id='106450', GAL2='1.06', fit_tolerance='1e-08', EG2='0.91', EG='0.90', time_epoch_completed='1674637124.88', return_code2='0', ts='0.55', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.71e-01', ts2='0.89', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1762' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 00:58:44 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 106450: <4FGL_J0923.5+3852_daily_bin1762> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 25 00:45:15 2023
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:46:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:46:28 2023
Terminated at Wed Jan 25 00:58:45 2023
Results reported at Wed Jan 25 00:58:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1762 140.885 38.8743 696038401 696297601 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 :                                   679.59 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            810 sec.

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

