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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1752
RA = 140.895, Dec = 41.4283
tmin = 693446401, tmax = 693705601
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='259156', job_status='RUN', time_executed='2022-12-26 00:43:39.846258', time_epoch_executed='1672044219.85' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259156

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259156/ft1_4FGL_J0923.5+4125_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259156/ft2_4FGL_J0923.5+4125_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259156/ft1_4FGL_J0923.5+4125_daily_bin1752.fits outfile=/scratch/kocevski/259156/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1752.fits ra=140.895 dec=41.4283 rad=12.0 tmin=693446401.0 tmax=693705601.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.48
user 3.25
sys 0.22

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

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

Number of photons that the gtmktime cut: 557

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259156/ft1_filtered_4FGL_J0923.5+4125_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/259156/ft2_4FGL_J0923.5+4125_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/259156/ltcube_693446401_693705601_4FGL_J0923.5+4125_daily_bin1752.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/259156/ft2_4FGL_J0923.5+4125_daily_bin1752.fits
.....................!
real 14.18
user 13.78
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259156/ft1_filtered_4FGL_J0923.5+4125_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/259156/ft2_4FGL_J0923.5+4125_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/259156/ltcube_693446401_693705601_4FGL_J0923.5+4125_daily_bin1752.fits outfile=/scratch/kocevski/259156/expmap_693446401_693705601_4FGL_J0923.5+4125_daily_bin1752.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/259156/ltcube_693446401_693705601_4FGL_J0923.5+4125_daily_bin1752.fits
.....................!
real 193.26
user 187.46
sys 5.34

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/259156/ft1_filtered_4FGL_J0923.5+4125_daily_bin1752.fits scfile=/scratch/kocevski/259156/ft2_4FGL_J0923.5+4125_daily_bin1752.fits outfile=/scratch/kocevski/259156/cmap_693446401_693705601_4FGL_J0923.5+4125_daily_bin1752.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259156/ft1_filtered_4FGL_J0923.5+4125_daily_bin1752.fits scfile=/scratch/kocevski/259156/ft2_4FGL_J0923.5+4125_daily_bin1752.fits outfile=/scratch/kocevski/259156/cmap_HighResolution_693446401_693705601_4FGL_J0923.5+4125_daily_bin1752.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.62
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16800E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.1848       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16536E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.3423       1.0000          .0000       .10000E+07
     5 'norm      '    .68096E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .54036E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    21.491       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70274E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.9766       1.0000          .0000       .10000E+07
    10 'norm      '    1.8608       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.7350       1.0000          .0000       .10000E+07
    12 'norm      '    .22547       1.0000          .0000       .10000E+07
    13 'Prefactor '    .43909E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .96281E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .41709       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.4245       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.3985       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.9486       1.0000          .0000       .10000E+07
    19 'norm      '    .33827E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    17.191       1.0000          .0000       .10000E+07
    21 'Prefactor '    12.170       1.0000          .0000       .10000E+07
    22 'Prefactor '    .23292       1.0000          .0000       .10000E+07
    23 'Prefactor '    .28711E-05   1.0000          .0000       .10000E+07
    24 'norm      '    5.0567       1.0000          .0000       .10000E+07
    25 'Prefactor '    .44425E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    .47501E-04   1.0000          .0000       .10000E+07
    27 'norm      '    24.644       1.0000          .0000       .10000E+07
    28 'Normalizat'    .88426       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .98721       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=   6070.723     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     2696 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51248E-06    82.341        .36511E-06** at limit **
   2  Prefactor     4.1928        2.9485       -.10251E-06   -.30209E-02
   3  Prefactor     .50282E-06    22.729        .36331E-06** at limit **
   4  Prefactor     6.3490        8.7260        .70926E-06   -.14128E-01
   5  norm           .0000        1.3327        .85369E-07** at limit **
   6  norm           .0000        2.4445        .18054E-06** at limit **
   7  Prefactor     21.598        3.0464        .95798E-07   -.22781E-01
   8  Prefactor     .18152E-06    10.221        .52615E-07** at limit **
   9  Prefactor     2.9738        2.4556        .19548E-06    .15735E-02
  10  norm          1.8637        2.1906       -.31177E-08   -.30936E-03
  11  Prefactor     9.8523        12.462       -.38717E-06   -.78432E-01
  12  norm          .22542        .23858       -.45623E-07** at limit **
  13  Prefactor      .0000        .65348        .67804E-07** at limit **
  14  norm          .36637E-08    4.2393        .48751E-07** at limit **
  15  Prefactor     .41709        1.2587        .17824E-07   -.53484E-03
  16  Prefactor     6.4147        6.5176        .66671E-06    .53176E-01
  17  Prefactor     1.3794        3.2794       -.18838E-06   -.41904E-03
  18  Prefactor     3.0081        1.8425        .12879E-06    .47232E-02
  19  norm          .66058E-08    5.1494        .12907E-06** at limit **
  20  Prefactor     17.470        2.7872        .45767E-07   -.22830E-01
  21  Prefactor     12.167        7.2656       -.16627E-06   -.17414E-01
  22  Prefactor     .17712E-03    33.275        .21991E-05** at limit **
  23  Prefactor     .34417E-08    4.4369        .33304E-07** at limit **
  24  norm          5.0566        6.4117       -.20425E-06   -.43300E-01
  25  Prefactor      .0000        1.6047        .47566E-07** at limit **
  26  Prefactor     .11102E-09    2.0368        .22602E-06** at limit **
  27  norm          24.635        1.2048       -.26035E-07    .55468E-02
  28  Normalizat    .88387        .17937        .17536E-05   -.16348E-04
  29  Prefactor     .98735        .21001       -.39879E-05   -.48900E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.12479e-07
  Prefactor  = 4.19277
  Prefactor  = 5.0282e-07
  Prefactor  = 6.34903
  norm       = 0
  norm       = 0
  Prefactor  = 21.5985
  Prefactor  = 1.81521e-07
  Prefactor  = 2.97384
  norm       = 1.86369
  Prefactor  = 9.85232
  norm       = 0.225416
  Prefactor  = 0
  norm       = 3.66374e-09
  Prefactor  = 0.417087
  Prefactor  = 6.41474
  Prefactor  = 1.37943
  Prefactor  = 3.00807
  norm       = 6.60583e-09
  Prefactor  = 17.4698
  Prefactor  = 12.1667
  Prefactor  = 0.000177115
  Prefactor  = 3.44169e-09
  norm       = 5.05658
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  norm       = 24.6346
  Normalizat = 0.883867
  Prefactor  = 0.987354
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.723     FROM HESSE     STATUS=OK           621 CALLS     3317 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51248E-06    80.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.1928        2.9544        .49242E-03   -1.5667    
   3  Prefactor     .50282E-06    23.531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.3490        8.7574        .39833E-03   -1.5658    
   5  norm           .0000        1.3455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        2.4462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.598        19.058        .21577E-03   -1.5615    
   8  Prefactor     .18152E-06    10.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.9738        2.4779        .58823E-03   -1.5673    
  10  norm          1.8637        2.2124        .76359E-03   -1.5681    
  11  Prefactor     9.8523        13.284        .32093E-03   -1.5645    
  12  norm          .22542        .25256        .85728E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .65318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .36637E-08    8.6270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .41709        1.2949        .87532E-03   -1.5695    
  16  Prefactor     6.4147        7.2568        .39574E-03   -1.5657    
  17  Prefactor     1.3794        3.3553        .91743E-03   -1.5684    
  18  Prefactor     3.0081        27.753        .59119E-03   -1.5673    
  19  norm          .66058E-08    5.1629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.470        22.808        .24129E-03   -1.5624    
  21  Prefactor     12.167        7.8769        .28689E-03   -1.5638    
  22  Prefactor     .17712E-03    27.353        .13298E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .34417E-08    8.6289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          5.0566        6.4763        .44691E-03   -1.5663    
  25  Prefactor      .0000        1.6100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .11102E-09    2.0388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          24.635        12.501        .20148E-03   -1.5609    
  28  Normalizat    .88387        .16088        .44700E-01   -.97029    
  29  Prefactor     .98735        .18051        .46107E-01   -.93152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29308e-07
Minuit parameter uncertainties:
  1  0.0128382
  2  2.95439
  3  0.0068797
  4  8.75741
  5  3.22289e-06
  6  1.81872e-06
  7  19.0584
  8  0.00274928
  9  2.47788
  10  2.21243
  11  13.2836
  12  0.252561
  13  1.10379e-06
  14  0.00035655
  15  1.29493
  16  7.25684
  17  3.35533
  18  18.2738
  19  0.000369775
  20  22.8085
  21  7.87692
  22  0.139208
  23  0.000343424
  24  6.4763
  25  1.70912e-06
  26  3.07798e-05
  27  12.5013
  28  0.16097
  29  0.180621
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  4.171e-01  1.295e+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.874e-01  1.806e-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:  8.839e-01  1.610e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 140.895 41.428
Photon Flux Upper Limit: 5.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/259156/likelihoodResults_693446401_693705601_4FGL_J0923.5+4125_daily_bin1752.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) = 6070.6544099
delta logL = 0.0684203526616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6070.62837205
delta logL = 0.0944582076518

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75201       1.0000          .0000       .10000E+07
     2 'Index     '    1.8508       1.0000          .0000       10.000    
     3 'Normalizat'    .88724       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98291       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6070.628     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      283 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .75155        1.5702        .13867E-04   -.25414E-04
   2  Index         1.8503        .99136        .15167E-01    .20351E-05
   3  Normalizat    .88706        .17632        .22946E-03   -.18828E-05
   4  Prefactor     .98309        .20634        .25486E-03    .17620E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.75155
  Index      = 1.85033
  Normalizat = 0.887061
  Prefactor  = 0.983086
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.628     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .75155        1.5705        .55470E-06   -1.5691    
   2  Index         1.8503        .99231        .60668E-03   -.68147    
   3  Normalizat    .88706        .17649        .91782E-05   -.96916    
   4  Prefactor     .98309        .20654        .10195E-04   -.93295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28269e-12
Minuit parameter uncertainties:
  1  1.57051
  2  1.00344
  3  0.1766
  4  0.206705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259156': 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) = 6070.62837137
delta logL = 0.0944588840848

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  7.515e-01  1.571e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  1.850e+00  1.003e+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.831e-01  2.067e-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:  8.871e-01  1.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 140.895 41.428

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/259156/cmap_HighResolution_693446401_693705601_4FGL_J0923.5+4125_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.77e-08', time_completed='2022-12-26 00:56:49.931116', job_id='259156', GAL2='0.98', fit_tolerance='1e-08', EG2='0.89', EG='0.88', time_epoch_completed='1672045009.93', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='9.45e-02', ts2='0.33', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1752' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:56:49 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 259156: <4FGL_J0923.5+4125_daily_bin1752> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:40:16 2022
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:40:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:40:50 2022
Terminated at Mon Dec 26 00:56:50 2022
Results reported at Mon Dec 26 00:56:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1752 140.895 41.4283 693446401 693705601 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 :                                   788.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            994 sec.

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

