/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 45 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 = 7381
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1449
RA = 140.885, Dec = 38.8743
tmin = 614908801, tmax = 615168001
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='202667', job_status='RUN', time_executed='2021-08-31 10:32:16.858212', time_epoch_executed='1630431136.86' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1449'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202667

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202667/ft1_4FGL_J0923.5+3852_daily_bin1449.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202667/ft2_4FGL_J0923.5+3852_daily_bin1449.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202667/ft1_4FGL_J0923.5+3852_daily_bin1449.fits outfile=/scratch/kocevski/202667/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1449.fits ra=140.885 dec=38.8743 rad=12.0 tmin=614908801.0 tmax=615168001.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.66
user 3.38
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/202667/ft1_filtered_4FGL_J0923.5+3852_daily_bin1449.fits" evtable="EVENTS" scfile=/scratch/kocevski/202667/ft2_4FGL_J0923.5+3852_daily_bin1449.fits sctable="SC_DATA" outfile=/scratch/kocevski/202667/ltcube_614908801_615168001_4FGL_J0923.5+3852_daily_bin1449.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/202667/ft2_4FGL_J0923.5+3852_daily_bin1449.fits
.....................!
real 12.63
user 12.04
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202667/ft1_filtered_4FGL_J0923.5+3852_daily_bin1449.fits evtable="EVENTS" scfile=/scratch/kocevski/202667/ft2_4FGL_J0923.5+3852_daily_bin1449.fits sctable="SC_DATA" expcube=/scratch/kocevski/202667/ltcube_614908801_615168001_4FGL_J0923.5+3852_daily_bin1449.fits outfile=/scratch/kocevski/202667/expmap_614908801_615168001_4FGL_J0923.5+3852_daily_bin1449.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/202667/ltcube_614908801_615168001_4FGL_J0923.5+3852_daily_bin1449.fits
.....................!
real 192.66
user 187.20
sys 4.55

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/202667/ft1_filtered_4FGL_J0923.5+3852_daily_bin1449.fits scfile=/scratch/kocevski/202667/ft2_4FGL_J0923.5+3852_daily_bin1449.fits outfile=/scratch/kocevski/202667/cmap_614908801_615168001_4FGL_J0923.5+3852_daily_bin1449.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 1.02
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/202667/ft1_filtered_4FGL_J0923.5+3852_daily_bin1449.fits scfile=/scratch/kocevski/202667/ft2_4FGL_J0923.5+3852_daily_bin1449.fits outfile=/scratch/kocevski/202667/cmap_HighResolution_614908801_615168001_4FGL_J0923.5+3852_daily_bin1449.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.93
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/202667/ft1_filtered_4FGL_J0923.5+3852_daily_bin1449.fits', '/scratch/kocevski/202667/ft2_4FGL_J0923.5+3852_daily_bin1449.fits', expMap='/scratch/kocevski/202667/expmap_614908801_615168001_4FGL_J0923.5+3852_daily_bin1449.fits', expCube='/scratch/kocevski/202667/ltcube_614908801_615168001_4FGL_J0923.5+3852_daily_bin1449.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/202667/Model_4FGL_J0923.5+3852_daily_bin1449.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/202667/ft1_filtered_4FGL_J0923.5+3852_daily_bin1449.fits
Spacecraft file(s): /scratch/kocevski/202667/ft2_4FGL_J0923.5+3852_daily_bin1449.fits
Exposure map: /scratch/kocevski/202667/expmap_614908801_615168001_4FGL_J0923.5+3852_daily_bin1449.fits
Exposure cube: /scratch/kocevski/202667/ltcube_614908801_615168001_4FGL_J0923.5+3852_daily_bin1449.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/202667/Model_4FGL_J0923.5+3852_daily_bin1449.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) = 5984.43310987

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.313       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6186       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.310       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.4598       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    100.50       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2543       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.903       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7800       1.0000         .10000E-03   10000.    
    11 'norm      '    .29070       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9349       1.0000         .10000E-03   10000.    
    13 'norm      '    .58694       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.7423       1.0000         .10000E-03   10000.    
    15 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.2899       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.737       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.7528       1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.280       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .74939       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .40870E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    8.9692       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .99432       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0381       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=   5984.425     FROM MIGRAD    STATUS=CONVERGED    733 CALLS     3935 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.318        15.359       -.40879E-06   -.74520E-06
   2  Prefactor     1.6181        3.7337        .37968E-06    .71649E-05
   3  Prefactor     28.311        26.380        .34383E-07    .52295E-05
   4  Prefactor     .10000E-03    16.860       -.34598E-06** at limit **
   5  norm          6.4593        6.3262        .10582E-06    .14396E-05
   6  Prefactor     .10000E-03    1.3274        .30126E-07** at limit **
   7  Prefactor     100.51        82.037       -.13857E-05    .73299E-06
   8  Prefactor     4.2544        4.4865        .12543E-06   -.16297E-04
   9  Prefactor     13.892        35.922        .30078E-05    .46964E-05
  10  Prefactor     1.7798        2.9378        .15372E-05   -.13079E-03
  11  norm          .29189        1.5019        .36972E-06   -.20840E-03
  12  Prefactor     1.9446        23.648       -.20602E-05   -.20353E-04
  13  norm          .58690        .55845       -.30233E-08   -.88367E-04
  14  Prefactor     5.7426        4.3510        .40520E-07   -.61345E-04
  15  norm          .10000E-03    6.1486        .71115E-07** at limit **
  16  Prefactor     6.2897        3.2457       -.77261E-07   -.42574E-04
  17  Prefactor     .10000E-03    2.4028       -.45344E-07** at limit **
  18  Prefactor     14.741        11.063        .40560E-07   -.75346E-05
  19  Prefactor     .10000E-03    10.751        .21716E-06** at limit **
  20  norm          .10000E-03    5.3639       -.23340E-07** at limit **
  21  Prefactor     8.7489        28.996        .11932E-05   -.28813E-04
  22  Prefactor     35.284        36.022       -.10059E-05   -.63990E-04
  23  Prefactor     .10000E-03    2.4379       -.24399E-07** at limit **
  24  norm          .10000E-03    2.9866       -.34425E-08** at limit **
  25  Prefactor     .74895        3.5937       -.14170E-06   -.36631E-04
  26  Prefactor     .10000E-03    263.13        .22486E-04** at limit **
  27  Prefactor     .10000E-03    2.1658        .10230E-06** at limit **
  28  norm          8.9650        14.082       -.11123E-05   -.23690E-03
  29  Normalizat    .99434        .18883       -.10106E-05   -.18638E-03
  30  Prefactor     1.0380        .19719        .22245E-06   -.15724E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3176
  Prefactor  = 1.61808
  Prefactor  = 28.3108
  Prefactor  = 0.0001
  norm       = 6.45928
  Prefactor  = 0.0001
  Prefactor  = 100.512
  Prefactor  = 4.25441
  Prefactor  = 13.8918
  Prefactor  = 1.77978
  norm       = 0.291887
  Prefactor  = 1.94464
  norm       = 0.586897
  Prefactor  = 5.74265
  norm       = 0.0001
  Prefactor  = 6.2897
  Prefactor  = 0.0001
  Prefactor  = 14.7411
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.74893
  Prefactor  = 35.2843
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.748954
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 8.96501
  Normalizat = 0.994339
  Prefactor  = 1.03804
 **********
 **   18 **HESSE 
 **********

 FCN=   5984.425     FROM HESSE     STATUS=OK           596 CALLS     4531 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.318        15.258        .11911E-03   -1.5035    
   2  Prefactor     1.6181        3.6922        .20766E-03   -1.5454    
   3  Prefactor     28.311        26.330        .75296E-04   -1.4643    
   4  Prefactor     .10000E-03    17.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.4593        6.3218        .15791E-03   -1.5200    
   6  Prefactor     .10000E-03    1.3508        .86931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     100.51        81.998        .20052E-03   -1.3699    
   8  Prefactor     4.2544        4.4808        .15997E-03   -1.5295    
   9  Prefactor     13.892        35.741        .10742E-03   -1.4962    
  10  Prefactor     1.7798        2.9390        .80432E-03   -1.5441    
  11  norm          .29189        2.8363        .17883E-02   -1.5600    
  12  Prefactor     1.9446        23.144        .29854E-03   -1.5429    
  13  norm          .58690        .55214        .44741E-04   -1.5555    
  14  Prefactor     5.7426        4.3462        .10721E-03   -1.5229    
  15  norm          .10000E-03    6.2978        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.2897        3.2350        .91759E-04   -1.5206    
  17  Prefactor     .10000E-03    2.4364        .11694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.741        11.062        .10433E-03   -1.4940    
  19  Prefactor     .10000E-03    10.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    5.3650        .17497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.7489        28.952        .13549E-03   -1.5116    
  22  Prefactor     35.284        36.088        .67469E-04   -1.4519    
  23  Prefactor     .10000E-03    2.4393        .11795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    2.9886        .13056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .74895        3.5631        .27937E-03   -1.5535    
  26  Prefactor     .10000E-03    264.72        .42508E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    2.1733        .11105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          8.9650        14.159        .13383E-03   -1.5109    
  29  Normalizat    .99434        .22419        .25191E-03   -.93220    
  30  Prefactor     1.0380        .23502        .27124E-03   -.91472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52345e-08
Minuit parameter uncertainties:
  1  15.2632
  2  3.69268
  3  26.3413
  4  1.21001e-05
  5  6.32248
  6  1.50789e-06
  7  82.0904
  8  4.48117
  9  35.7959
  10  2.93928
  11  1.81957
  12  13.4236
  13  0.552149
  14  4.3464
  15  8.957e-06
  16  3.23512
  17  1.95455e-06
  18  11.064
  19  1.49737e-06
  20  1.47693e-06
  21  28.9984
  22  36.1102
  23  1.2763e-06
  24  1.76197e-07
  25  3.26726
  26  0.00185128
  27  5.13881e-06
  28  14.1638
  29  0.224398
  30  0.235257
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  8.957e-06  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.038e+00  2.353e-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:  9.943e-01  2.244e-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: 6.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/202667/likelihoodResults_614908801_615168001_4FGL_J0923.5+3852_daily_bin1449.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) = 5984.42571564
delta logL = -0.000757670639359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5984.42495766
delta logL = 3.08580638375e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10744E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5570       1.0000          .0000       5.0000    
     3 'Normalizat'    .99433       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0381       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=   5984.425     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      261 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1878.1        .36285E-02** at limit **
   2  alpha         1.7650        3.0999        .16466       -.13809E-07
   3  Normalizat    .99434        .30730E-01    .25191E-03    .26897E-03
   4  Prefactor     1.0380        .33895E-01    .27124E-03    .25901E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.765
  Normalizat = 0.99434
  Prefactor  = 1.03804
 **********
 **   18 **HESSE 
 **********

 FCN=   5984.425     FROM HESSE     STATUS=OK            23 CALLS      284 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    47.722        .14514E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7650        4.1175        .65864E-02   -.29841    
   3  Normalizat    .99434        .20515        .50382E-04   -.93220    
   4  Prefactor     1.0380        .22616        .54249E-04   -.91472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06415e-11
Minuit parameter uncertainties:
  1  5.15301e-05
  2  220.72
  3  0.205315
  4  0.226367
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202667': 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) = 5984.42495108
delta logL = 6.89094849804e-06

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  5.153e-05  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  1.765e+00  2.207e+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.038e+00  2.264e-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:  9.943e-01  2.053e-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/202667/cmap_HighResolution_614908801_615168001_4FGL_J0923.5+3852_daily_bin1449.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.62e-05', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2021-08-31 10:47:15.610597', job_id='202667', GAL2='1.04', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1630432035.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='6.89e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1449' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:47:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 202667: <4FGL_J0923.5+3852_daily_bin1449> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1449> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 10:30:57 2021
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:30:58 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:58 2021
Terminated at Tue Aug 31 10:47:16 2021
Results reported at Tue Aug 31 10:47:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1449 140.885 38.8743 614908801 615168001 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 :                                   873.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            979 sec.

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

