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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1750
RA = 140.895, Dec = 41.4283
tmin = 692928001, tmax = 693187201
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='3738', job_status='RUN', time_executed='2022-12-20 00:26:28.682652', time_epoch_executed='1671524788.68' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/3738

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/3738/ft1_4FGL_J0923.5+4125_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/3738/ft2_4FGL_J0923.5+4125_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/3738/ft1_4FGL_J0923.5+4125_daily_bin1750.fits outfile=/scratch/kocevski/3738/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1750.fits ra=140.895 dec=41.4283 rad=12.0 tmin=692928001.0 tmax=693187201.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.42
user 3.20
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/3738/ft2_4FGL_J0923.5+4125_daily_bin1750.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/3738/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/3738/ft1_filtered_4FGL_J0923.5+4125_daily_bin1750.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.31
sys 0.16

Number of photons that the gtmktime cut: 526

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/3738/ft1_filtered_4FGL_J0923.5+4125_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/3738/ft2_4FGL_J0923.5+4125_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/3738/ltcube_692928001_693187201_4FGL_J0923.5+4125_daily_bin1750.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/3738/ft2_4FGL_J0923.5+4125_daily_bin1750.fits
.....................!
real 11.34
user 11.01
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/3738/ft1_filtered_4FGL_J0923.5+4125_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/3738/ft2_4FGL_J0923.5+4125_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/3738/ltcube_692928001_693187201_4FGL_J0923.5+4125_daily_bin1750.fits outfile=/scratch/kocevski/3738/expmap_692928001_693187201_4FGL_J0923.5+4125_daily_bin1750.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/3738/ltcube_692928001_693187201_4FGL_J0923.5+4125_daily_bin1750.fits
.....................!
real 190.29
user 185.22
sys 4.72

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 213 point sources and 0 extended sources

Setting source of interest to:
4FGL J0923.5+4125 @ 140.895 41.4283

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/3738/ft1_filtered_4FGL_J0923.5+4125_daily_bin1750.fits scfile=/scratch/kocevski/3738/ft2_4FGL_J0923.5+4125_daily_bin1750.fits outfile=/scratch/kocevski/3738/cmap_692928001_693187201_4FGL_J0923.5+4125_daily_bin1750.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=140.895 yref=41.4283 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/3738/ft1_filtered_4FGL_J0923.5+4125_daily_bin1750.fits scfile=/scratch/kocevski/3738/ft2_4FGL_J0923.5+4125_daily_bin1750.fits outfile=/scratch/kocevski/3738/cmap_HighResolution_692928001_693187201_4FGL_J0923.5+4125_daily_bin1750.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=140.895 yref=41.4283 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.41
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/3738/ft1_filtered_4FGL_J0923.5+4125_daily_bin1750.fits', '/scratch/kocevski/3738/ft2_4FGL_J0923.5+4125_daily_bin1750.fits', expMap='/scratch/kocevski/3738/expmap_692928001_693187201_4FGL_J0923.5+4125_daily_bin1750.fits', expCube='/scratch/kocevski/3738/ltcube_692928001_693187201_4FGL_J0923.5+4125_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/3738/Model_4FGL_J0923.5+4125_daily_bin1750.xml', optimizer='MINUIT')

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

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.066e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/3738/ft1_filtered_4FGL_J0923.5+4125_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/3738/ft2_4FGL_J0923.5+4125_daily_bin1750.fits
Exposure map: /scratch/kocevski/3738/expmap_692928001_693187201_4FGL_J0923.5+4125_daily_bin1750.fits
Exposure cube: /scratch/kocevski/3738/ltcube_692928001_693187201_4FGL_J0923.5+4125_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/3738/Model_4FGL_J0923.5+4125_daily_bin1750.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) = 5896.81368078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.592       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.3312       1.0000          .0000       .10000E+07
     3 'Prefactor '    .14229E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.679       1.0000          .0000       .10000E+07
     5 'norm      '    .40265E-02   1.0000          .0000       .10000E+07
     6 'norm      '    3.7329       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11912E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .84171E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .18518E-03   1.0000          .0000       .10000E+07
    10 'norm      '    2.3780       1.0000          .0000       .10000E+07
    11 'Prefactor '    .15212E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .74052E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.0388       1.0000          .0000       .10000E+07
    14 'norm      '    2.9188       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.8119       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.881       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.3033       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.3659       1.0000          .0000       .10000E+07
    19 'norm      '    .17559E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .37175E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    28.886       1.0000          .0000       .10000E+07
    22 'Prefactor '    35.242       1.0000          .0000       .10000E+07
    23 'Prefactor '    .39200E-02   1.0000          .0000       .10000E+07
    24 'norm      '    14.682       1.0000          .0000       .10000E+07
    25 'Prefactor '    .23851E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    1.9375       1.0000          .0000       .10000E+07
    27 'norm      '    .66310E-04   1.0000          .0000       .10000E+07
    28 'Normalizat'    .58237       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.3073       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5896.764     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     2682 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.532        1.0938       -.38442E-08   -.21746E-03
   2  Prefactor     3.3407        3.2318        .46219E-07   -.13211E-02
   3  Prefactor     .45430E-06    7.7674        .36487E-06** at limit **
   4  Prefactor     11.711        1.6981       -.76884E-07    .61321E-02
   5  norm          .75606E-07    9.9181       -.49150E-07** at limit **
   6  norm          3.6923        3.8829        .67382E-07    .13637E-02
   7  Prefactor     .39080E-07    47.545       -.12346E-05** at limit **
   8  Prefactor     .34994E-06    10.662        .15152E-05** at limit **
   9  Prefactor      .0000        2.2910       -.74846E-07** at limit **
  10  norm          2.3786        2.1238       -.57652E-07    .14002E-03
  11  Prefactor     .31863E-07    3.2001        .13476E-06** at limit **
  12  norm           .0000        .37235       -.13878E-06** at limit **
  13  Prefactor     1.0521        2.2605        .28792E-07    .22730E-03
  14  norm          2.9141        5.9937        .12547E-06    .11480E-03
  15  Prefactor     2.8100        2.3431       -.52933E-07    .21453E-03
  16  Prefactor     11.856        7.7781       -.58176E-06   -.10778E-01
  17  Prefactor     4.3193        4.0124       -.22783E-06    .75791E-03
  18  Prefactor     7.3600        4.2927       -.30881E-06   -.41099E-02
  19  norm          .11657E-08    5.5860       -.87601E-08** at limit **
  20  Prefactor     .55511E-10    24.541       -.61168E-06** at limit **
  21  Prefactor     28.915        9.0445        .36532E-06    .19019E-01
  22  Prefactor     36.058        6.2741        .36740E-07    .24563E-01
  23  Prefactor     .42744E-08    6.7538        .91617E-06** at limit **
  24  norm          14.683        1.7340        .70399E-07    .54249E-02
  25  Prefactor      .0000        1.2992       -.18983E-06** at limit **
  26  Prefactor     1.9455        4.7039        .24058E-06    .38264E-04
  27  norm          .26479E-07    4.9840       -.54704E-07** at limit **
  28  Normalizat    .58130        .18981        .96482E-05    .94462E-04
  29  Prefactor     1.3079        .21696       -.38765E-05    .14099E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.532
  Prefactor  = 3.34065
  Prefactor  = 4.54303e-07
  Prefactor  = 11.7108
  norm       = 7.56062e-08
  norm       = 3.69229
  Prefactor  = 3.90799e-08
  Prefactor  = 3.49942e-07
  Prefactor  = 0
  norm       = 2.37859
  Prefactor  = 3.18634e-08
  norm       = 0
  Prefactor  = 1.05212
  norm       = 2.91409
  Prefactor  = 2.81005
  Prefactor  = 11.8559
  Prefactor  = 4.31927
  Prefactor  = 7.35997
  norm       = 1.16573e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 28.915
  Prefactor  = 36.0576
  Prefactor  = 4.27436e-09
  norm       = 14.6835
  Prefactor  = 0
  Prefactor  = 1.94549
  norm       = 2.64788e-08
  Normalizat = 0.581299
  Prefactor  = 1.30794
 **********
 **   18 **HESSE 
 **********

 FCN=   5896.764     FROM HESSE     STATUS=OK           621 CALLS     3303 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.532        15.902        .29398E-03   -1.5640    
   2  Prefactor     3.3407        3.4340        .55432E-03   -1.5671    
   3  Prefactor     .45430E-06    14.951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.711        10.892        .29289E-03   -1.5640    
   5  norm          .75606E-07    11.256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.6923        3.8807        .52237E-03   -1.5670    
   7  Prefactor     .39080E-07    48.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .34994E-06    16.002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.2838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3786        2.1223        .66405E-03   -1.5677    
  11  Prefactor     .31863E-07    7.3108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .27229        .13469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0521        2.6133        .12309E-02   -1.5687    
  14  norm          2.9141        6.0460        .59439E-03   -1.5674    
  15  Prefactor     2.8100        2.3720        .60634E-03   -1.5674    
  16  Prefactor     11.856        9.5387        .29038E-03   -1.5639    
  17  Prefactor     4.3193        4.0206        .48539E-03   -1.5666    
  18  Prefactor     7.3600        10.778        .36931E-03   -1.5654    
  19  norm          .11657E-08    5.6365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    24.286        .16094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     28.915        9.3163        .18609E-03   -1.5600    
  22  Prefactor     36.058        32.380        .16847E-03   -1.5588    
  23  Prefactor     .42744E-08    8.3337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          14.683        12.678        .26113E-03   -1.5631    
  25  Prefactor      .0000        1.3022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.9455        4.7322        .74567E-03   -1.5680    
  27  norm          .26479E-07    6.8770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .58130        .16897        .64810E-01   -1.0878    
  29  Prefactor     1.3079        .18720        .53039E-01   -.83071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.1234e-08
Minuit parameter uncertainties:
  1  15.9019
  2  3.43397
  3  0.00521251
  4  10.8917
  5  0.0018451
  6  3.88071
  7  0.0027611
  8  0.00473295
  9  2.32066e-07
  10  2.1223
  11  0.000965677
  12  2.47966e-07
  13  2.61335
  14  6.04605
  15  2.37202
  16  9.53876
  17  4.02056
  18  10.778
  19  0.00016132
  20  8.31875e-05
  21  9.31634
  22  32.3804
  23  0.000377382
  24  12.6777
  25  2.87946e-06
  26  4.73225
  27  0.000853241
  28  0.169117
  29  0.187297
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  2.810e+00  2.372e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.308e+00  1.873e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  5.813e-01  1.691e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.70
Ra Dec: 140.895 41.428
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 3.91e-08 +/- 3.30e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 1.15e-05

TS (Fixed Index): 2.70
Ra Dec: 140.895 41.428
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/3738/likelihoodResults_692928001_693187201_4FGL_J0923.5+4125_daily_bin1750.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) = 5896.69439196
delta logL = 0.0693284106501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5896.67342545
delta logL = 0.0902949256288

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3371       1.0000          .0000       .10000E+07
     2 'Index     '    2.0613       1.0000          .0000       10.000    
     3 'Normalizat'    .59446       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2970       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5896.673     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      237 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3382        97.481        .55382E-03    .17872E-02
   2  Index         2.0617        5.3256        .17929        .16531E-04
   3  Normalizat    .59446        .13344        .64131E-01    .21600E-04
   4  Prefactor     1.2970        .10670        .53217E-01   -.87497E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33821
  Index      = 2.06166
  Normalizat = 0.594457
  Prefactor  = 1.29699
 **********
 **   18 **HESSE 
 **********

 FCN=   5896.673     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .95E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3382        2.8152        .11036E-04   -1.5671    
   2  Index         2.0617        .64211        .94841E-02   -.62817    
   3  Normalizat    .59446        .18223        .28377E-03   -1.0822    
   4  Prefactor     1.2970        .21490        .23528E-03   -.83397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.50864e-13
Minuit parameter uncertainties:
  1  2.81525
  2  0.644835
  3  0.182413
  4  0.215049
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/3738': 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) = 5896.67342502
delta logL = 0.0902953514005

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  3.338e+00  2.815e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.062e+00  6.448e-01  0.000e+00  1.000e+01 (-1.000e+00)
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.297e+00  2.150e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  5.945e-01  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.87
Ra Dec: 140.895 41.428
Photon Index (Free Index): 2.06 +/- 0.64
Photon Flux (Free Index): 3.09e-08 +/- 3.15e-08
Energy Flux (Free Index): 1.84e-05 +/- 2.17e-05

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/3738/cmap_HighResolution_692928001_693187201_4FGL_J0923.5+4125_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.63e-03', comment='SUCCESS', photon_flux='3.91e-08', energy_flux2='1.84e-05', photon_flux_error='3.30e-08', dlogl='9.03e-02', energy_flux='1.36e-05', photon_flux2='3.09e-08', job_status='DONE', time_completed='2022-12-20 00:38:48.188645', photon_index_error2='0.64', photon_index2='2.06', ts='2.70', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='2.17e-05', EG='0.58', time_epoch_completed='1671525528.19', return_code='0', job_id='3738', GAL2='1.30', EG2='0.59', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='3.15e-08', ts2='2.87', photon_index='2.36' WHERE bin_id='1750' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:38:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 3738: <4FGL_J0923.5+4125_daily_bin1750> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 00:25:28 2022
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:25:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:25:30 2022
Terminated at Tue Dec 20 00:38:49 2022
Results reported at Tue Dec 20 00:38:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1750 140.895 41.4283 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+4125 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   741.27 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             331.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            801 sec.

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

