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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1764
RA = 140.895, Dec = 41.4283
tmin = 696556801, tmax = 696816001
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='440862', job_status='RUN', time_executed='2023-01-31 00:33:47.186957', time_epoch_executed='1675154027.19' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440862

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440862/ft1_4FGL_J0923.5+4125_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440862/ft2_4FGL_J0923.5+4125_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440862/ft1_4FGL_J0923.5+4125_daily_bin1764.fits outfile=/scratch/kocevski/440862/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1764.fits ra=140.895 dec=41.4283 rad=12.0 tmin=696556801.0 tmax=696816001.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.70
user 3.45
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440862/ft1_filtered_4FGL_J0923.5+4125_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/440862/ft2_4FGL_J0923.5+4125_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/440862/ltcube_696556801_696816001_4FGL_J0923.5+4125_daily_bin1764.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/440862/ft2_4FGL_J0923.5+4125_daily_bin1764.fits
.....................!
real 16.34
user 15.87
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440862/ft1_filtered_4FGL_J0923.5+4125_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/440862/ft2_4FGL_J0923.5+4125_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/440862/ltcube_696556801_696816001_4FGL_J0923.5+4125_daily_bin1764.fits outfile=/scratch/kocevski/440862/expmap_696556801_696816001_4FGL_J0923.5+4125_daily_bin1764.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/440862/ltcube_696556801_696816001_4FGL_J0923.5+4125_daily_bin1764.fits
.....................!
real 193.45
user 187.55
sys 4.92

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/440862/ft1_filtered_4FGL_J0923.5+4125_daily_bin1764.fits scfile=/scratch/kocevski/440862/ft2_4FGL_J0923.5+4125_daily_bin1764.fits outfile=/scratch/kocevski/440862/cmap_696556801_696816001_4FGL_J0923.5+4125_daily_bin1764.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440862/ft1_filtered_4FGL_J0923.5+4125_daily_bin1764.fits scfile=/scratch/kocevski/440862/ft2_4FGL_J0923.5+4125_daily_bin1764.fits outfile=/scratch/kocevski/440862/cmap_HighResolution_696556801_696816001_4FGL_J0923.5+4125_daily_bin1764.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.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7310       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45338E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40590E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .59294E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.2211       1.0000          .0000       .10000E+07
     6 'norm      '    .12515E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .21677E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    18.605       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.5083       1.0000          .0000       .10000E+07
    10 'norm      '    3.9335       1.0000          .0000       .10000E+07
    11 'Prefactor '    .87638E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .34231       1.0000          .0000       .10000E+07
    13 'Prefactor '    .22317E-02   1.0000          .0000       .10000E+07
    14 'norm      '    4.0772       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1665       1.0000          .0000       .10000E+07
    16 'Prefactor '    .99698E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .12297       1.0000          .0000       .10000E+07
    18 'Prefactor '    .66724E-07   1.0000          .0000       .10000E+07
    19 'norm      '    .11514E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .25771E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.7351       1.0000          .0000       .10000E+07
    22 'Prefactor '    .26939E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .58614E-03   1.0000          .0000       .10000E+07
    24 'norm      '    20.362       1.0000          .0000       .10000E+07
    25 'Prefactor '    .19484E-07   1.0000          .0000       .10000E+07
    26 'Prefactor '    7.5674       1.0000          .0000       .10000E+07
    27 'norm      '    4.6662       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .95665       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=   6078.674     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     2133 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6934        2.4341        .87891E-08   -.61981E-02
   2  Prefactor      .0000        1.4624        .25114E-07** at limit **
   3  Prefactor     .16653E-09    10.678       -.82210E-07** at limit **
   4  Prefactor     .43299E-08    3.6453        .10248E-06** at limit **
   5  norm          2.2261        7.1255       -.15881E-06   -.14757E-02
   6  norm          .35527E-08    2.3285        .17467E-07** at limit **
   7  Prefactor     .63727E-07    11.845       -.10913E-06** at limit **
   8  Prefactor     17.914        4.4098       -.29014E-07   -.10431E-01
   9  Prefactor     2.5304        4.2586        .70119E-07    .10071E-02
  10  norm          3.9417        3.3854        .46475E-08    .29674E-03
  11  Prefactor     .24480E-07    6.3854        .18500E-06** at limit **
  12  norm          .34164        .48704        .59280E-08    .27079E-02
  13  Prefactor     .85099E-07    41.996       -.80891E-06** at limit **
  14  norm          4.0740        1.9989        .10204E-07   -.16049E-01
  15  Prefactor     2.1641        2.9887       -.76565E-07    .39413E-03
  16  Prefactor     .55511E-10    2.2654        .29064E-07** at limit **
  17  Prefactor     .13762        14.298        .39483E-07** at limit **
  18  Prefactor     .44076E-07    5.2891        .58689E-07** at limit **
  19  norm          .88818E-08    4.7308       -.24454E-07** at limit **
  20  Prefactor     .29199E-07    19.251       -.64482E-07** at limit **
  21  Prefactor     6.8177        5.8579        .85453E-08   -.43740E-01
  22  Prefactor      .0000        5.4379       -.25722E-07** at limit **
  23  Prefactor     .66058E-08    2.6458        .14682E-07** at limit **
  24  norm          20.293        1.2682        .66303E-08    .74683E-02
  25  Prefactor     .19651E-07    4.0326        .64464E-07** at limit **
  26  Prefactor     7.5209        6.2013       -.81597E-07   -.27163E-02
  27  norm          4.6399        1.3127       -.26701E-08   -.24277E-02
  28  Normalizat    1.1077        .20401        .47540E-06    .11655E-03
  29  Prefactor     .95697        .21796        .20715E-05    .10236E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.69342
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 4.32987e-09
  norm       = 2.22611
  norm       = 3.55271e-09
  Prefactor  = 6.37268e-08
  Prefactor  = 17.9136
  Prefactor  = 2.53037
  norm       = 3.94172
  Prefactor  = 2.44804e-08
  norm       = 0.341636
  Prefactor  = 8.50986e-08
  norm       = 4.07396
  Prefactor  = 2.16412
  Prefactor  = 5.55112e-11
  Prefactor  = 0.137621
  Prefactor  = 4.40759e-08
  norm       = 8.88178e-09
  Prefactor  = 2.91989e-08
  Prefactor  = 6.81772
  Prefactor  = 0
  Prefactor  = 6.60583e-09
  norm       = 20.2925
  Prefactor  = 1.96509e-08
  Prefactor  = 7.5209
  norm       = 4.63988
  Normalizat = 1.10774
  Prefactor  = 0.956973
 **********
 **   18 **HESSE 
 **********

 FCN=   6078.674     FROM HESSE     STATUS=OK           619 CALLS     2752 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6934        14.180        .52251E-03   -1.5670    
   2  Prefactor      .0000        1.4642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-09    22.865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .43299E-08    3.7174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.2261        7.2421        .68971E-03   -1.5678    
   6  norm          .35527E-08    5.0561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .63727E-07    23.730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.914        23.553        .23193E-03   -1.5623    
   9  Prefactor     2.5304        4.4122        .64492E-03   -1.5676    
  10  norm          3.9417        3.3925        .50840E-03   -1.5668    
  11  Prefactor     .24480E-07    6.7268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .34164        .68933        .14097E-02   -1.5696    
  13  Prefactor     .85099E-07    4.0727        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0740        9.0325        .49907E-03   -1.5668    
  15  Prefactor     2.1641        3.1412        .69943E-03   -1.5679    
  16  Prefactor     .55511E-10    2.2672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .13762        2.2596        .73046E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .44076E-07    5.9593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .88818E-08    10.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .29199E-07    19.966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.8177        7.8566        .38640E-03   -1.5656    
  22  Prefactor      .0000        10.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .66058E-08    4.9939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          20.293        14.101        .22168E-03   -1.5618    
  25  Prefactor     .19651E-07    4.2906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     7.5209        6.2116        .36432E-03   -1.5653    
  27  norm          4.6399        9.6240        .46565E-03   -1.5665    
  28  Normalizat    1.1077        .18471        .37687E-01   -.89504    
  29  Prefactor     .95697        .19275        .45723E-01   -.94178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32248e-07
Minuit parameter uncertainties:
  1  14.1801
  2  8.39641e-06
  3  0.000114743
  4  0.000254264
  5  7.2421
  6  0.000268814
  7  0.00245992
  8  23.5529
  9  4.41223
  10  3.39246
  11  0.000811373
  12  0.689333
  13  0.00117728
  14  9.03249
  15  3.14125
  16  2.51186e-05
  17  1.11529
  18  0.00102489
  19  0.00060722
  20  0.00152637
  21  7.85659
  22  9.84489e-09
  23  0.000362746
  24  14.1013
  25  0.000581085
  26  6.21159
  27  9.62408
  28  0.18482
  29  0.192883
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  2.164e+00  3.141e+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:  9.570e-01  1.929e-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:  1.108e+00  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/440862/likelihoodResults_696556801_696816001_4FGL_J0923.5+4125_daily_bin1764.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) = 6078.20948795
delta logL = 0.464410417191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6078.18955068
delta logL = 0.484347689829

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69007       1.0000          .0000       .10000E+07
     2 'Index     '    3.5665       1.0000          .0000       10.000    
     3 'Normalizat'    1.0513       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99943       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=   6078.190     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      249 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68955        10.513        .61518E-03    .13956E-01
   2  Index         3.5671        3.2396        .11387        .17609E-03
   3  Normalizat    1.0513        .48815E-01    .40472E-01   -.24171E-04
   4  Prefactor     .99945        .53750E-01    .46260E-01   -.34402E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.689547
  Index      = 3.56711
  Normalizat = 1.05125
  Prefactor  = 0.99945
 **********
 **   18 **HESSE 
 **********

 FCN=   6078.190     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      282 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68955        21.907        .50446E-05   -1.5691    
   2  Index         3.5671        6.7825        .57752E-02   -.29065    
   3  Normalizat    1.0513        .20559        .23973E-03   -.91333    
   4  Prefactor     .99945        .22908        .27134E-03   -.92748    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.23388e-09
Minuit parameter uncertainties:
  1  7.77324
  2  6.27227
  3  0.205741
  4  0.229306
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440862': 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): 102
logL (Free Index) = 6078.18955055
delta logL = 0.484347818983

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  6.895e-01  7.773e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  3.567e+00  6.272e+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:  9.995e-01  2.293e-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:  1.051e+00  2.057e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.84
Ra Dec: 140.895 41.428
Photon Index (Free Index): 3.57 +/- 6.27
Photon Flux (Free Index): 7.53e-08 +/- 6.59e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.89e-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/440862/cmap_HighResolution_696556801_696816001_4FGL_J0923.5+4125_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.89e-03', comment='SUCCESS', energy_flux2='1.23e-05', dlogl='4.84e-01', photon_flux2='7.53e-08', job_status='DONE', time_completed='2023-01-31 00:45:52.314218', photon_index_error2='6.27', photon_index2='3.57', ts='0.76', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='1.89e-05', EG='1.11', time_epoch_completed='1675154752.31', return_code='0', job_id='440862', GAL2='1.00', EG2='1.05', return_code2='102', photon_flux_error2='6.59e-08', ts2='1.84', photon_index='2.36' WHERE bin_id='1764' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:45:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 440862: <4FGL_J0923.5+4125_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1764> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jan 31 00:30:36 2023
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:32:56 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:32:56 2023
Terminated at Tue Jan 31 00:45:53 2023
Results reported at Tue Jan 31 00:45:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1764 140.895 41.4283 696556801 696816001 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 :                                   726.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            917 sec.

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

