/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 144 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 = 4927
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1339
RA = 140.885, Dec = 38.8743
tmin = 586396801, tmax = 586656001
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='202499', job_status='RUN', time_executed='2021-08-31 10:33:21.089837', time_epoch_executed='1630431201.09' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1339'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202499

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202499/ft1_4FGL_J0923.5+3852_daily_bin1339.fits


Retrieving the FT1 file...

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

Retrieving 31 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202499/ft2_4FGL_J0923.5+3852_daily_bin1339.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202499/ft1_4FGL_J0923.5+3852_daily_bin1339.fits outfile=/scratch/kocevski/202499/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1339.fits ra=140.885 dec=38.8743 rad=12.0 tmin=586396801.0 tmax=586656001.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.65
user 2.39
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/202499/ft2_4FGL_J0923.5+3852_daily_bin1339.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/202499/ft2_4FGL_J0923.5+3852_daily_bin1339.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/202499/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1339.fits evtable="EVENTS" outfile="/scratch/kocevski/202499/ft1_filtered_4FGL_J0923.5+3852_daily_bin1339.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.72
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/202499/ft1_filtered_4FGL_J0923.5+3852_daily_bin1339.fits" evtable="EVENTS" scfile=/scratch/kocevski/202499/ft2_4FGL_J0923.5+3852_daily_bin1339.fits sctable="SC_DATA" outfile=/scratch/kocevski/202499/ltcube_586396801_586656001_4FGL_J0923.5+3852_daily_bin1339.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/202499/ft2_4FGL_J0923.5+3852_daily_bin1339.fits
.....................!
real 8.52
user 8.09
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202499/ft1_filtered_4FGL_J0923.5+3852_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/202499/ft2_4FGL_J0923.5+3852_daily_bin1339.fits sctable="SC_DATA" expcube=/scratch/kocevski/202499/ltcube_586396801_586656001_4FGL_J0923.5+3852_daily_bin1339.fits outfile=/scratch/kocevski/202499/expmap_586396801_586656001_4FGL_J0923.5+3852_daily_bin1339.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/202499/ltcube_586396801_586656001_4FGL_J0923.5+3852_daily_bin1339.fits
.....................!
real 190.44
user 184.99
sys 4.88

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 203 point sources and 0 extended sources

Setting source of interest to:
4FGL J0923.5+3852 @ 140.885 38.8743

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/202499/ft1_filtered_4FGL_J0923.5+3852_daily_bin1339.fits scfile=/scratch/kocevski/202499/ft2_4FGL_J0923.5+3852_daily_bin1339.fits outfile=/scratch/kocevski/202499/cmap_586396801_586656001_4FGL_J0923.5+3852_daily_bin1339.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.885 yref=38.8743 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.53
user 0.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/202499/ft1_filtered_4FGL_J0923.5+3852_daily_bin1339.fits scfile=/scratch/kocevski/202499/ft2_4FGL_J0923.5+3852_daily_bin1339.fits outfile=/scratch/kocevski/202499/cmap_HighResolution_586396801_586656001_4FGL_J0923.5+3852_daily_bin1339.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.885 yref=38.8743 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/202499/ft1_filtered_4FGL_J0923.5+3852_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/202499/ft2_4FGL_J0923.5+3852_daily_bin1339.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/202499/Model_4FGL_J0923.5+3852_daily_bin1339.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/202499/ft1_filtered_4FGL_J0923.5+3852_daily_bin1339.fits.....................!
real 41.60
user 38.91
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/202499/ft1_filtered_4FGL_J0923.5+3852_daily_bin1339.fits', '/scratch/kocevski/202499/ft2_4FGL_J0923.5+3852_daily_bin1339.fits', expMap='/scratch/kocevski/202499/expmap_586396801_586656001_4FGL_J0923.5+3852_daily_bin1339.fits', expCube='/scratch/kocevski/202499/ltcube_586396801_586656001_4FGL_J0923.5+3852_daily_bin1339.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/202499/Model_4FGL_J0923.5+3852_daily_bin1339.xml', optimizer='MINUIT')

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

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.377e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/202499/ft1_filtered_4FGL_J0923.5+3852_daily_bin1339.fits
Spacecraft file(s): /scratch/kocevski/202499/ft2_4FGL_J0923.5+3852_daily_bin1339.fits
Exposure map: /scratch/kocevski/202499/expmap_586396801_586656001_4FGL_J0923.5+3852_daily_bin1339.fits
Exposure cube: /scratch/kocevski/202499/ltcube_586396801_586656001_4FGL_J0923.5+3852_daily_bin1339.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/202499/Model_4FGL_J0923.5+3852_daily_bin1339.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) = 4077.17086201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.257       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2395       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.246       1.0000         .10000E-03   10000.    
     5 'norm      '    7.2080       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12824E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.1294       1.0000         .10000E-03   10000.    
     9 'Prefactor '    47.839       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10423E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13568E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .61449       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.0421       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.4752       1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.639       1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.937       1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.372       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.4568       1.0000         .10000E-03   10000.    
    28 'norm      '    22.081       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .77976       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1874       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4077.135     FROM MIGRAD    STATUS=CONVERGED    746 CALLS     3886 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.257        20.525       -.14059E-05    .38164E-05
   2  Prefactor     3.2390        3.5142        .46135E-06   -.99180E-04
   3  Prefactor     .10000E-03    7.6783       -.27749E-05** at limit **
   4  Prefactor     12.245        10.362       -.36559E-06   -.46945E-05
   5  norm          7.2070        8.5221       -.12841E-05   -.12037E-03
   6  Prefactor     .10000E-03    1.1339       -.56969E-07** at limit **
   7  Prefactor     .10000E-03    154.23        .29130E-04** at limit **
   8  Prefactor     7.1293        6.0852       -.98435E-06   -.10946E-03
   9  Prefactor     47.809        44.991       -.23333E-04    .34383E-05
  10  Prefactor     .10000E-03    1.4784        .18171E-06** at limit **
  11  norm          .10000E-03    .69648       -.11646E-06** at limit **
  12  Prefactor     .10000E-03    10.537       -.49996E-06** at limit **
  13  norm          .61528        .45045       -.12067E-06    .63014E-04
  14  Prefactor     .10000E-03    2.1845       -.35154E-07** at limit **
  15  norm          .10000E-03    2.4911        .18102E-06** at limit **
  16  Prefactor     3.0429        2.1540        .40062E-06    .28182E-03
  17  Prefactor     .10000E-03    3.0172       -.26013E-06** at limit **
  18  Prefactor     7.4756        9.2199        .73129E-07   -.22389E-04
  19  Prefactor     29.646        25.448       -.33675E-05    .56213E-05
  20  norm          .10000E-03    10.400        .13490E-05** at limit **
  21  Prefactor     11.966        28.759        .34418E-04    .11900E-03
  22  Prefactor     14.295        44.199       -.11269E-03   -.21430E-04
  23  Prefactor     .10000E-03    8.1534        .18443E-05** at limit **
  24  norm          .10000E-03    5.4821       -.36994E-06** at limit **
  25  Prefactor     .10000E-03    6.1290        .98240E-06** at limit **
  26  Prefactor     .10000E-03    19.058        .24815E-06** at limit **
  27  Prefactor     1.4619        4.4032       -.14565E-05   -.56935E-03
  28  norm          22.083        16.642       -.14271E-05    .23200E-04
  29  Normalizat    .77955        .20273        .11349E-04   -.19264E-03
  30  Prefactor     1.1877        .22184       -.10841E-05    .20132E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.2568
  Prefactor  = 3.23903
  Prefactor  = 0.0001
  Prefactor  = 12.2452
  norm       = 7.20698
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 7.12927
  Prefactor  = 47.8085
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.61528
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.04291
  Prefactor  = 0.0001
  Prefactor  = 7.47558
  Prefactor  = 29.6458
  norm       = 0.0001
  Prefactor  = 11.966
  Prefactor  = 14.2946
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.46194
  norm       = 22.0828
  Normalizat = 0.779553
  Prefactor  = 1.18773
 **********
 **   18 **HESSE 
 **********

 FCN=   4077.135     FROM HESSE     STATUS=OK           586 CALLS     4472 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.257        20.491        .81333E-04   -1.4723    
   2  Prefactor     3.2390        3.5049        .11739E-03   -1.5348    
   3  Prefactor     .10000E-03    7.6798        .17281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.245        10.361        .11447E-03   -1.5008    
   5  norm          7.2070        8.5187        .14941E-03   -1.5171    
   6  Prefactor     .10000E-03    1.1514        .66363E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    154.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.1293        6.0869        .13760E-03   -1.5174    
   9  Prefactor     47.809        44.963        .28987E-03   -1.4324    
  10  Prefactor     .10000E-03    1.4931        .75762E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .69845        .52037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .61528        .44665        .35064E-04   -1.5551    
  14  Prefactor     .10000E-03    2.2401        .18298E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.4930        .98421E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0429        2.1502        .76070E-04   -1.5359    
  17  Prefactor     .10000E-03    3.0518        .10828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.4756        9.2126        .14669E-03   -1.5161    
  19  Prefactor     29.646        25.449        .73593E-04   -1.4618    
  20  norm          .10000E-03    10.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.966        28.777        .11594E-03   -1.5016    
  22  Prefactor     14.295        44.255        .10565E-03   -1.4952    
  23  Prefactor     .10000E-03    8.1953        .17802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    5.4919        .14601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    6.3282        .30673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    19.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.4619        4.3391        .22364E-03   -1.5466    
  28  norm          22.083        16.637        .85239E-04   -1.4768    
  29  Normalizat    .77955        .23394        .25838E-03   -1.0083    
  30  Prefactor     1.1877        .25779        .24470E-03   -.86710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77453e-09
Minuit parameter uncertainties:
  1  20.4967
  2  3.50508
  3  7.94885e-06
  4  10.3626
  5  8.52016
  6  9.95584e-06
  7  0.000754047
  8  6.08743
  9  44.9954
  10  1.47875e-05
  11  2.86333e-06
  12  0.000160191
  13  0.446655
  14  1.7555e-05
  15  2.55371e-05
  16  2.15025
  17  3.35862e-05
  18  9.21439
  19  25.4578
  20  3.74443e-05
  21  28.8102
  22  44.3566
  23  1.81567e-05
  24  1.40178e-05
  25  1.3379e-05
  26  9.19943e-05
  27  4.34003
  28  16.6404
  29  0.23424
  30  0.258067
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  2.554e-05  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.188e+00  2.581e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  7.796e-01  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.885 38.874
Photon Flux Upper Limit: 5.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/202499/likelihoodResults_586396801_586656001_4FGL_J0923.5+3852_daily_bin1339.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): 102
logL (Free Index) = 4077.13639605
delta logL = -0.00183230757102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4077.13456368
delta logL = 6.35714059172e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6002       1.0000          .0000       5.0000    
     3 'Normalizat'    .77957       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1877       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+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=   4077.135     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      233 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    199.51        .98750E-02** at limit **
   2  alpha         2.0254        2.9559        .16477        .23390E-07
   3  Normalizat    .77956        .45657E-01    .25837E-03    .28623E-04
   4  Prefactor     1.1877        .52514E-01    .24470E-03    .36424E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.02537
  Normalizat = 0.77956
  Prefactor  = 1.18772
 **********
 **   18 **HESSE 
 **********

 FCN=   4077.135     FROM HESSE     STATUS=OK            23 CALLS      256 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.7951        .10420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0254        2.9547        .65910E-02   -.19101    
   3  Normalizat    .77956        .22261        .10335E-04   -1.0083    
   4  Prefactor     1.1877        .25610        .97880E-05   -.86710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.99501e-12
Minuit parameter uncertainties:
  1  4.4658e-06
  2  278.572
  3  0.222874
  4  0.25637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202499': 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) = 4077.13456159
delta logL = 2.15432555706e-06

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  4.466e-06  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.025e+00  2.786e+02  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  2.149e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.188e+00  2.564e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  7.796e-01  2.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.885 38.874

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/202499/cmap_HighResolution_586396801_586656001_4FGL_J0923.5+3852_daily_bin1339.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-05', job_status='DONE', photon_flux_upper_limit='5.63e-08', time_completed='2021-08-31 10:45:35.210451', job_id='202499', GAL2='1.19', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1630431935.21', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='2.15e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1339' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:45:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 202499: <4FGL_J0923.5+3852_daily_bin1339> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1339> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 10:30:42 2021
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:30:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 10:30:43 2021
Terminated at Tue Aug 31 10:45:35 2021
Results reported at Tue Aug 31 10:45:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1339 140.885 38.8743 586396801 586656001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+3852 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   701.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            893 sec.

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

