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 64 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1674
RA = 140.895, Dec = 41.4283
tmin = 673228801, tmax = 673488001
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='669600', job_status='RUN', time_executed='2022-05-06 02:47:39.852109', time_epoch_executed='1651830459.85' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/669600

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/669600/ft1_4FGL_J0923.5+4125_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/669600/ft2_4FGL_J0923.5+4125_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/669600/ft1_4FGL_J0923.5+4125_daily_bin1674.fits outfile=/scratch/kocevski/669600/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1674.fits ra=140.895 dec=41.4283 rad=12.0 tmin=673228801.0 tmax=673488001.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.78
user 2.52
sys 0.21

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

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

Number of photons that the gtmktime cut: 907

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/669600/ft1_filtered_4FGL_J0923.5+4125_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/669600/ft2_4FGL_J0923.5+4125_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/669600/ltcube_673228801_673488001_4FGL_J0923.5+4125_daily_bin1674.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/669600/ft2_4FGL_J0923.5+4125_daily_bin1674.fits
.....................!
real 17.02
user 16.67
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/669600/ft1_filtered_4FGL_J0923.5+4125_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/669600/ft2_4FGL_J0923.5+4125_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/669600/ltcube_673228801_673488001_4FGL_J0923.5+4125_daily_bin1674.fits outfile=/scratch/kocevski/669600/expmap_673228801_673488001_4FGL_J0923.5+4125_daily_bin1674.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/669600/ltcube_673228801_673488001_4FGL_J0923.5+4125_daily_bin1674.fits
.....................!
real 193.29
user 187.53
sys 5.44

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/669600/ft1_filtered_4FGL_J0923.5+4125_daily_bin1674.fits scfile=/scratch/kocevski/669600/ft2_4FGL_J0923.5+4125_daily_bin1674.fits outfile=/scratch/kocevski/669600/cmap_673228801_673488001_4FGL_J0923.5+4125_daily_bin1674.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/669600/ft1_filtered_4FGL_J0923.5+4125_daily_bin1674.fits scfile=/scratch/kocevski/669600/ft2_4FGL_J0923.5+4125_daily_bin1674.fits outfile=/scratch/kocevski/669600/cmap_HighResolution_673228801_673488001_4FGL_J0923.5+4125_daily_bin1674.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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/669600/ft1_filtered_4FGL_J0923.5+4125_daily_bin1674.fits', '/scratch/kocevski/669600/ft2_4FGL_J0923.5+4125_daily_bin1674.fits', expMap='/scratch/kocevski/669600/expmap_673228801_673488001_4FGL_J0923.5+4125_daily_bin1674.fits', expCube='/scratch/kocevski/669600/ltcube_673228801_673488001_4FGL_J0923.5+4125_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/669600/Model_4FGL_J0923.5+4125_daily_bin1674.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  1.000e-04  1.000e+04 ( 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/669600/ft1_filtered_4FGL_J0923.5+4125_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/669600/ft2_4FGL_J0923.5+4125_daily_bin1674.fits
Exposure map: /scratch/kocevski/669600/expmap_673228801_673488001_4FGL_J0923.5+4125_daily_bin1674.fits
Exposure cube: /scratch/kocevski/669600/ltcube_673228801_673488001_4FGL_J0923.5+4125_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/669600/Model_4FGL_J0923.5+4125_daily_bin1674.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) = 9974.56966717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.2275       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7757       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7464       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10250E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2941       1.0000         .10000E-03   10000.    
    13 'norm      '    2.0415       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .32829       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0806       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9699       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8093       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10639E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.7384       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    4.7509       1.0000         .10000E-03   10000.    
    27 'norm      '    18.058       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    8.6219       1.0000         .10000E-03   10000.    
    31 'norm      '    .10297E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.1086       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0766       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.

 FCN=   9974.479     FROM MIGRAD    STATUS=CONVERGED    865 CALLS     3881 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4754        .87950E-06** at limit **
   2  Prefactor     .10000E-03    .50386        .11177E-08** at limit **
   3  Prefactor     .10000E-03    8.6136       -.56047E-06** at limit **
   4  Prefactor     .10000E-03    3.4072       -.21320E-06** at limit **
   5  norm          .10000E-03    2.3577       -.58081E-06** at limit **
   6  norm          8.2275        4.9658        .35590E-08   -.31528E-04
   7  Prefactor     2.7755        2.1121       -.52880E-07   -.17764E-03
   8  Prefactor     .10000E-03    14.971        .26817E-05** at limit **
   9  Prefactor     .10000E-03    28.188       -.29013E-05** at limit **
  10  Prefactor     2.7463        2.2307        .14043E-07   -.79525E-04
  11  Prefactor     .10000E-03    26.844        .22487E-05** at limit **
  12  Prefactor     1.2945        2.5589        .26985E-07   -.61536E-03
  13  norm          2.0415        1.7449        .57251E-08   -.58124E-04
  14  Prefactor     .10000E-03    13.053       -.24278E-05** at limit **
  15  norm          .32846        .54701       -.37186E-06   -.20688E-02
  16  Prefactor     1.0797        3.8497        .14808E-05   -.63452E-03
  17  norm          .10000E-03    3.6103        .57029E-06** at limit **
  18  Prefactor     1.9692        2.3167       -.47020E-07   -.43561E-03
  19  Prefactor     7.8073        6.9673       -.24294E-07   -.13577E-04
  20  Prefactor     .10000E-03    1.5611       -.29042E-06** at limit **
  21  Prefactor     .10000E-03    8.1463        .35473E-06** at limit **
  22  norm          .10000E-03    5.4723       -.11706E-05** at limit **
  23  Prefactor     .10000E-03    6.4441        .51012E-06** at limit **
  24  Prefactor     6.7353        5.9875        .10122E-07   -.32552E-05
  25  Prefactor     .10000E-03    6.4907        .59751E-06** at limit **
  26  Prefactor     4.7504        4.4103        .30109E-06   -.15751E-02
  27  norm          18.055        9.9392        .30158E-07    .50998E-05
  28  Prefactor     .10000E-03    1.6138        .19363E-07** at limit **
  29  Prefactor     .10000E-03    1.5205       -.12481E-07** at limit **
  30  Prefactor     8.6192        19.244       -.14754E-05   -.55686E-04
  31  norm          .10000E-03    6.1959        .23813E-06** at limit **
  32  Normalizat    1.1087        .14002       -.27028E-06    .36975E-04
  33  Prefactor     1.0765        .15158        .13580E-06    .32163E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.22751
  Prefactor  = 2.7755
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.74634
  Prefactor  = 0.0001
  Prefactor  = 1.29447
  norm       = 2.04153
  Prefactor  = 0.0001
  norm       = 0.328456
  Prefactor  = 1.07965
  norm       = 0.0001
  Prefactor  = 1.96924
  Prefactor  = 7.80726
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.73529
  Prefactor  = 0.0001
  Prefactor  = 4.75042
  norm       = 18.0552
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.61924
  norm       = 0.0001
  Normalizat = 1.10871
  Prefactor  = 1.07647
 **********
 **   18 **HESSE 
 **********

 FCN=   9974.479     FROM HESSE     STATUS=OK           695 CALLS     4576 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.4730        .15329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    .50544        .69226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.6432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.4212        .18002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.3858        .14953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.2275        4.9640        .13977E-03   -1.5134    
   7  Prefactor     2.7755        2.0944        .11908E-03   -1.5375    
   8  Prefactor     .10000E-03    15.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    28.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7463        2.2288        .13043E-03   -1.5377    
  11  Prefactor     .10000E-03    26.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.2945        2.4951        .19764E-03   -1.5480    
  13  norm          2.0415        1.7412        .11882E-03   -1.5422    
  14  Prefactor     .10000E-03    13.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .32846        .48141        .54926E-03   -1.5593    
  16  Prefactor     1.0797        3.6732        .20484E-03   -1.5500    
  17  norm          .10000E-03    3.6579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9692        2.2264        .14089E-03   -1.5427    
  19  Prefactor     7.8073        6.9333        .14349E-03   -1.5149    
  20  Prefactor     .10000E-03    2.8338        .23679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.1701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    5.5226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.4508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     6.7353        5.9144        .15457E-03   -1.5189    
  25  Prefactor     .10000E-03    6.4940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.7504        5.2593        .92299E-03   -1.5272    
  27  norm          18.055        9.9465        .94250E-04   -1.4858    
  28  Prefactor     .10000E-03    1.6224        .12382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    1.5312        .12024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     8.6192        19.342        .13652E-03   -1.5121    
  31  norm          .10000E-03    6.2765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1087        .16286        .23629E-03   -.89473    
  33  Prefactor     1.0765        .17507        .27333E-03   -.90222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0051e-09
Minuit parameter uncertainties:
  1  1.51408e-05
  2  1.07066e-07
  3  1.87645e-05
  4  4.639e-06
  5  8.59721e-06
  6  4.96428
  7  2.09449
  8  9.99157e-05
  9  0.000173137
  10  2.22886
  11  0.000129534
  12  2.49527
  13  1.74129
  14  8.97648e-05
  15  0.481414
  16  3.67397
  17  1.1999e-05
  18  2.22652
  19  6.93406
  20  4.44691e-05
  21  1.19158e-05
  22  2.71189e-05
  23  1.47207e-05
  24  5.91486
  25  1.75277e-05
  26  5.25983
  27  9.94742
  28  1.58835e-07
  29  3.24543e-07
  30  19.356
  31  1.69574e-05
  32  0.162938
  33  0.175167
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.969e+00  2.227e+00  1.000e-04  1.000e+04 ( 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.076e+00  1.752e-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.109e+00  1.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.10
Ra Dec: 140.895 41.428
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 2.74e-08 +/- 3.10e-08
Energy Flux (Fixed Index): 9.56e-06 +/- 1.08e-05

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

Saving results to:
/scratch/kocevski/669600/likelihoodResults_673228801_673488001_4FGL_J0923.5+4125_daily_bin1674.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) = 9974.26683551
delta logL = 0.211966280272

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9974.26504719
delta logL = 0.213754603445

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3920       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8307       1.0000          .0000       10.000    
     3 'Normalizat'    1.0912       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0887       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=   9974.265     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      251 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3919        23.096        .92061E-02    .14218E-02
   2  Index         2.8307        3.3016        .14539        .18052E-03
   3  Normalizat    1.0912        .37272E-01    .38372E-01    .13025E-04
   4  Prefactor     1.0887        .42141E-01    .61497E-01    .15329E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.39186
  Index      = 2.83071
  Normalizat = 1.09117
  Prefactor  = 1.08873
 **********
 **   18 **HESSE 
 **********

 FCN=   9974.265     FROM HESSE     STATUS=OK            33 CALLS      284 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3919        2.2731        .98430E-04   -1.5472    
   2  Index         2.8307        .94400        .84153E-02   -.44877    
   3  Normalizat    1.0912        .15492        .23789E-03   -.90036    
   4  Prefactor     1.0887        .17392        .27198E-03   -.89827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.64447e-11
Minuit parameter uncertainties:
  1  2.27327
  2  0.951045
  3  0.154989
  4  0.174013
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/669600': 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) = 9974.26504719
delta logL = 0.21375460646

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.392e+00  2.273e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        Index:  2.831e+00  9.510e-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.089e+00  1.740e-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.091e+00  1.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.55
Ra Dec: 140.895 41.428
Photon Index (Free Index): 2.83 +/- 0.95
Photon Flux (Free Index): 4.14e-08 +/- 3.79e-08
Energy Flux (Free Index): 9.08e-06 +/- 8.76e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/669600/cmap_HighResolution_673228801_673488001_4FGL_J0923.5+4125_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.67e-03', comment='SUCCESS', photon_flux='2.74e-08', energy_flux2='9.08e-06', photon_flux_error='3.10e-08', dlogl='2.14e-01', energy_flux='9.56e-06', photon_flux2='4.14e-08', job_status='DONE', time_completed='2022-05-06 03:10:53.647398', photon_index_error2='0.95', photon_index2='2.83', ts='1.10', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='8.66e-08', energy_flux_error2='8.76e-06', EG='1.11', time_epoch_completed='1651831853.65', return_code='0', job_id='669600', GAL2='1.09', EG2='1.09', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='3.79e-08', ts2='1.55', photon_index='2.36' WHERE bin_id='1674' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:10:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 669674: <4FGL_J0923.5+4125_daily_bin1674> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:06:54 2022
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:47:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:47:01 2022
Terminated at Fri May  6 03:10:46 2022
Results reported at Fri May  6 03:10:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1674 140.895 41.4283 673228801 673488001 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 :                                   1394.43 sec.
    Max Memory :                                 619 MB
    Average Memory :                             325.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1424 sec.
    Turnaround time :                            11032 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 669600: <4FGL_J0923.5+4125_daily_bin1674> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:06:50 2022
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:46:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:46:27 2022
Terminated at Fri May  6 03:10:54 2022
Results reported at Fri May  6 03:10:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1674 140.895 41.4283 673228801 673488001 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 :                                   1395.32 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             321.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1466 sec.
    Turnaround time :                            11044 sec.

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

