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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1758
RA = 140.895, Dec = 41.4283
tmin = 695001601, tmax = 695260801
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='362231', job_status='RUN', time_executed='2023-01-13 00:34:31.750226', time_epoch_executed='1673598871.75' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362231

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362231/ft1_4FGL_J0923.5+4125_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362231/ft2_4FGL_J0923.5+4125_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362231/ft1_4FGL_J0923.5+4125_daily_bin1758.fits outfile=/scratch/kocevski/362231/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1758.fits ra=140.895 dec=41.4283 rad=12.0 tmin=695001601.0 tmax=695260801.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.80
user 2.57
sys 0.21

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

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

Number of photons that the gtmktime cut: 157

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/362231/ft1_filtered_4FGL_J0923.5+4125_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/362231/ft2_4FGL_J0923.5+4125_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/362231/ltcube_695001601_695260801_4FGL_J0923.5+4125_daily_bin1758.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/362231/ft2_4FGL_J0923.5+4125_daily_bin1758.fits
.....................!
real 17.87
user 17.46
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362231/ft1_filtered_4FGL_J0923.5+4125_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/362231/ft2_4FGL_J0923.5+4125_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/362231/ltcube_695001601_695260801_4FGL_J0923.5+4125_daily_bin1758.fits outfile=/scratch/kocevski/362231/expmap_695001601_695260801_4FGL_J0923.5+4125_daily_bin1758.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/362231/ltcube_695001601_695260801_4FGL_J0923.5+4125_daily_bin1758.fits
.....................!
real 191.17
user 185.66
sys 5.15

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/362231/ft1_filtered_4FGL_J0923.5+4125_daily_bin1758.fits scfile=/scratch/kocevski/362231/ft2_4FGL_J0923.5+4125_daily_bin1758.fits outfile=/scratch/kocevski/362231/cmap_695001601_695260801_4FGL_J0923.5+4125_daily_bin1758.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/362231/ft1_filtered_4FGL_J0923.5+4125_daily_bin1758.fits scfile=/scratch/kocevski/362231/ft2_4FGL_J0923.5+4125_daily_bin1758.fits outfile=/scratch/kocevski/362231/cmap_HighResolution_695001601_695260801_4FGL_J0923.5+4125_daily_bin1758.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.55
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/362231/ft1_filtered_4FGL_J0923.5+4125_daily_bin1758.fits', '/scratch/kocevski/362231/ft2_4FGL_J0923.5+4125_daily_bin1758.fits', expMap='/scratch/kocevski/362231/expmap_695001601_695260801_4FGL_J0923.5+4125_daily_bin1758.fits', expCube='/scratch/kocevski/362231/ltcube_695001601_695260801_4FGL_J0923.5+4125_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/362231/Model_4FGL_J0923.5+4125_daily_bin1758.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/362231/ft1_filtered_4FGL_J0923.5+4125_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/362231/ft2_4FGL_J0923.5+4125_daily_bin1758.fits
Exposure map: /scratch/kocevski/362231/expmap_695001601_695260801_4FGL_J0923.5+4125_daily_bin1758.fits
Exposure cube: /scratch/kocevski/362231/ltcube_695001601_695260801_4FGL_J0923.5+4125_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/362231/Model_4FGL_J0923.5+4125_daily_bin1758.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) = 1879.72499388

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57838E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .16787E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .26128E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25189E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .73518E-05   1.0000          .0000       .10000E+07
     6 'norm      '    18.199       1.0000          .0000       .10000E+07
     7 'Prefactor '    .94954E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11138       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.335       1.0000          .0000       .10000E+07
    10 'norm      '    .14644E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    63.220       1.0000          .0000       .10000E+07
    12 'norm      '    .67480       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.9163       1.0000          .0000       .10000E+07
    14 'norm      '    .34032E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.8969       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19380E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .49504E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    29.989       1.0000          .0000       .10000E+07
    19 'norm      '    .32196E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .21019E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .10259E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .16482E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.3176       1.0000          .0000       .10000E+07
    24 'norm      '    33.660       1.0000          .0000       .10000E+07
    25 'Prefactor '    .15563E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    13.108       1.0000          .0000       .10000E+07
    27 'norm      '    1.5319       1.0000          .0000       .10000E+07
    28 'Normalizat'    .36568       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0674       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=   1879.334     FROM MIGRAD    STATUS=CONVERGED    198 CALLS     2664 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11713E-04    39.026        .71934E-06** at limit **
   2  Prefactor     .20406E-06    9.1620       -.56619E-07** at limit **
   3  Prefactor     .25672E-04    25.394        .44470E-06** at limit **
   4  Prefactor     .10825E-07    12.724       -.33033E-06** at limit **
   5  norm          .49949E-06    8.2990        .33185E-06** at limit **
   6  norm          18.092        3.3599        .82241E-07    .61759E-02
   7  Prefactor     .10841E-05    18.046       -.56749E-06** at limit **
   8  Prefactor     .49960E-09    52.575       -.63603E-06** at limit **
   9  Prefactor     19.350        12.452        .21245E-06    .15965E-02
  10  norm          .55511E-10    4.7520       -.36248E-07** at limit **
  11  Prefactor     66.409        57.922        .77033E-06   -.27203E-01
  12  norm          .66858        1.6243       -.11424E-06    .15922E-02
  13  Prefactor     5.9751        10.679       -.13181E-06    .55192E-04
  14  norm          .19429E-06    35.914        .78481E-06** at limit **
  15  Prefactor     5.7884        6.7889        .68205E-07   -.16212E-02
  16  Prefactor     .74279E-06    12.966       -.54662E-06** at limit **
  17  Prefactor     .55511E-10    3.5956       -.18770E-06** at limit **
  18  Prefactor     30.010        4.7862        .44544E-07   -.32364E-01
  19  norm          .13672E-06    11.575        .73450E-06** at limit **
  20  Prefactor     .52069E-07    17.563       -.67457E-06** at limit **
  21  Prefactor     .55511E-10    3.0820       -.16739E-06** at limit **
  22  Prefactor     .90213E-05    34.095       -.42137E-06** at limit **
  23  Prefactor     4.4546        3.2561        .90814E-08    .13398E-02
  24  norm          33.649        1.8614        .32775E-08    .47463E-02
  25  Prefactor      .0000        2.5657       -.61899E-07** at limit **
  26  Prefactor     12.884        10.249        .73548E-07   -.48360E-03
  27  norm          1.5741        13.571       -.12285E-05    .69029E-03
  28  Normalizat    .36594        .32476        .11086E-04   -.11317E-03
  29  Prefactor     1.0661        .37952        .68756E-05   -.14834E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.17129e-05
  Prefactor  = 2.04059e-07
  Prefactor  = 2.56724e-05
  Prefactor  = 1.08247e-08
  norm       = 4.99489e-07
  norm       = 18.0915
  Prefactor  = 1.08408e-06
  Prefactor  = 4.996e-10
  Prefactor  = 19.3502
  norm       = 5.55112e-11
  Prefactor  = 66.4091
  norm       = 0.668579
  Prefactor  = 5.97511
  norm       = 1.94289e-07
  Prefactor  = 5.78836
  Prefactor  = 7.42795e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 30.0102
  norm       = 1.36724e-07
  Prefactor  = 5.20695e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 9.02134e-06
  Prefactor  = 4.45458
  norm       = 33.649
  Prefactor  = 0
  Prefactor  = 12.884
  norm       = 1.5741
  Normalizat = 0.365943
  Prefactor  = 1.06607
 **********
 **   18 **HESSE 
 **********

 FCN=   1879.334     FROM HESSE     STATUS=OK           607 CALLS     3271 TOTAL
                     EDM=   .95E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11713E-04    88.217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20406E-06    14.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .25672E-04    58.696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10825E-07    16.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49949E-06    13.241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          18.092        18.994        .23450E-03   -1.5623    
   7  Prefactor     .10841E-05    30.576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-09    52.514        .13633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.350        12.512        .22750E-03   -1.5620    
  10  norm          .55511E-10    4.7528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     66.409        59.252        .12578E-03   -1.5545    
  12  norm          .66858        1.6921        .62778E-03   -1.5692    
  13  Prefactor     5.9751        11.010        .41262E-03   -1.5659    
  14  norm          .19429E-06    76.825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.7884        6.8329        .41330E-03   -1.5660    
  16  Prefactor     .74279E-06    32.130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    3.5923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.010        24.028        .18263E-03   -1.5598    
  19  norm          .13672E-06    12.615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .52069E-07    18.423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    3.0851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .90213E-05    47.630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.4546        25.948        .48457E-03   -1.5666    
  24  norm          33.649        20.989        .17238E-03   -1.5592    
  25  Prefactor      .0000        2.5619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     12.884        11.379        .27640E-03   -1.5636    
  27  norm          1.5741        13.795        .86187E-03   -1.5683    
  28  Normalizat    .36594        .30609        .75963E-01   -1.1910    
  29  Prefactor     1.0661        .34000        .55985E-01   -.90558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.45277e-07
Minuit parameter uncertainties:
  1  0.0642904
  2  0.00341246
  3  0.0776377
  4  0.000834601
  5  0.00514333
  6  18.9938
  7  0.0115147
  8  0.000323163
  9  12.5117
  10  2.50182e-05
  11  59.2526
  12  1.69211
  13  11.0105
  14  0.00772654
  15  6.83288
  16  0.00977081
  17  2.65939e-05
  18  24.0281
  19  0.00262646
  20  0.00195875
  21  1.85225e-05
  22  0.041458
  23  21.5026
  24  20.9893
  25  6.5174e-06
  26  11.3787
  27  9.31987
  28  0.307503
  29  0.340692
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  5.788e+00  6.833e+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.066e+00  3.407e-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:  3.659e-01  3.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.19
Ra Dec: 140.895 41.428
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 8.06e-08 +/- 9.51e-08
Energy Flux (Fixed Index): 2.81e-05 +/- 3.32e-05

TS (Fixed Index): 1.19
Ra Dec: 140.895 41.428
Photon Flux Upper Limit: 2.87e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.21e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/362231/likelihoodResults_695001601_695260801_4FGL_J0923.5+4125_daily_bin1758.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) = 1879.26918947
delta logL = 0.0644397486478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1879.26637589
delta logL = 0.0672533313677

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4547       1.0000          .0000       .10000E+07
     2 'Index     '    2.6995       1.0000          .0000       10.000    
     3 'Normalizat'    .34677       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0814       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=   1879.266     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      261 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4575        146.43        .47685E-03    .23085E-02
   2  Index         2.7003        6.1831        .14381        .52669E-04
   3  Normalizat    .34709        .12007        .77869E-01    .47946E-04
   4  Prefactor     1.0808        .12006        .55629E-01    .20080E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.45753
  Index      = 2.70033
  Normalizat = 0.347093
  Prefactor  = 1.08084
 **********
 **   18 **HESSE 
 **********

 FCN=   1879.266     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4575        6.9992        .88449E-05   -1.5666    
   2  Index         2.7003        1.0637        .53139E-02   -.47792    
   3  Normalizat    .34709        .30300        .34493E-03   -1.2013    
   4  Prefactor     1.0808        .36755        .24595E-03   -.90081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29687e-11
Minuit parameter uncertainties:
  1  6.9992
  2  1.0741
  3  0.304445
  4  0.368415
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362231': 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) = 1879.26637307
delta logL = 0.0672561490865

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  4.458e+00  6.999e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.700e+00  1.074e+00  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.081e+00  3.684e-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:  3.471e-01  3.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 140.895 41.428
Photon Index (Free Index): 2.70 +/- 1.07
Photon Flux (Free Index): 1.07e-07 +/- 1.24e-07
Energy Flux (Free Index): 2.57e-05 +/- 2.72e-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/362231/cmap_HighResolution_695001601_695260801_4FGL_J0923.5+4125_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.21e-02', comment='SUCCESS', photon_flux='8.06e-08', energy_flux2='2.57e-05', photon_flux_error='9.51e-08', dlogl='6.73e-02', energy_flux='2.81e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2023-01-13 00:42:08.297005', photon_index_error2='1.07', photon_index2='2.70', ts='1.19', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='2.87e-07', energy_flux_error2='2.72e-05', EG='0.37', time_epoch_completed='1673599328.3', return_code='0', job_id='362231', GAL2='1.08', EG2='0.35', return_code2='0', energy_flux_error='3.32e-05', photon_flux_error2='1.24e-07', ts2='1.42', photon_index='2.36' WHERE bin_id='1758' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 00:42:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 362231: <4FGL_J0923.5+4125_daily_bin1758> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 00:30:21 2023
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:31:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:31:33 2023
Terminated at Fri Jan 13 00:42:09 2023
Results reported at Fri Jan 13 00:42:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1758 140.895 41.4283 695001601 695260801 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 :                                   459.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   637 sec.
    Turnaround time :                            708 sec.

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

