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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1005
RA = 140.885, Dec = 38.8743
tmin = 499824001, tmax = 500083201
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='198629', job_status='RUN', time_executed='2021-08-31 10:23:47.517855', time_epoch_executed='1630430627.52' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1005'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/198629

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/198629/ft1_4FGL_J0923.5+3852_daily_bin1005.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/198629/ft2_4FGL_J0923.5+3852_daily_bin1005.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/198629/ft1_4FGL_J0923.5+3852_daily_bin1005.fits outfile=/scratch/kocevski/198629/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1005.fits ra=140.885 dec=38.8743 rad=12.0 tmin=499824001.0 tmax=500083201.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 5.67
user 4.95
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/198629/ft2_4FGL_J0923.5+3852_daily_bin1005.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/198629/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1005.fits evtable="EVENTS" outfile="/scratch/kocevski/198629/ft1_filtered_4FGL_J0923.5+3852_daily_bin1005.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.63
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/198629/ft1_filtered_4FGL_J0923.5+3852_daily_bin1005.fits" evtable="EVENTS" scfile=/scratch/kocevski/198629/ft2_4FGL_J0923.5+3852_daily_bin1005.fits sctable="SC_DATA" outfile=/scratch/kocevski/198629/ltcube_499824001_500083201_4FGL_J0923.5+3852_daily_bin1005.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/198629/ft2_4FGL_J0923.5+3852_daily_bin1005.fits
.....................!
real 13.21
user 12.73
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/198629/ft1_filtered_4FGL_J0923.5+3852_daily_bin1005.fits evtable="EVENTS" scfile=/scratch/kocevski/198629/ft2_4FGL_J0923.5+3852_daily_bin1005.fits sctable="SC_DATA" expcube=/scratch/kocevski/198629/ltcube_499824001_500083201_4FGL_J0923.5+3852_daily_bin1005.fits outfile=/scratch/kocevski/198629/expmap_499824001_500083201_4FGL_J0923.5+3852_daily_bin1005.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/198629/ltcube_499824001_500083201_4FGL_J0923.5+3852_daily_bin1005.fits
.....................!
real 191.82
user 185.39
sys 5.00

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/198629/ft1_filtered_4FGL_J0923.5+3852_daily_bin1005.fits scfile=/scratch/kocevski/198629/ft2_4FGL_J0923.5+3852_daily_bin1005.fits outfile=/scratch/kocevski/198629/cmap_499824001_500083201_4FGL_J0923.5+3852_daily_bin1005.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.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/198629/ft1_filtered_4FGL_J0923.5+3852_daily_bin1005.fits scfile=/scratch/kocevski/198629/ft2_4FGL_J0923.5+3852_daily_bin1005.fits outfile=/scratch/kocevski/198629/cmap_HighResolution_499824001_500083201_4FGL_J0923.5+3852_daily_bin1005.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.68
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6792       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10163E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4898       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8858       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8820       1.0000         .10000E-03   10000.    
    11 'norm      '    .29896       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.497       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .27799       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .38594       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.5208       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    44.275       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    13.653       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    4.1991       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .75078       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1215       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=   4867.096     FROM MIGRAD    STATUS=CONVERGED    780 CALLS     3969 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.3263       -.78722E-07** at limit **
   2  Prefactor     3.6786        2.9551        .81544E-07   -.38896E-04
   3  Prefactor     .10000E-03    9.2837        .90023E-07** at limit **
   4  Prefactor     .10000E-03    2.4828        .40577E-08** at limit **
   5  norm          .10001E-03    4.7123       -.11847E-05** at limit **
   6  Prefactor     2.4897        2.7644        .15734E-06    .18574E-03
   7  Prefactor     .10000E-03    33.789       -.87153E-06** at limit **
   8  Prefactor     1.8856        3.2611        .30213E-06   -.26330E-04
   9  Prefactor     .10001E-03    52.787        .17694E-05** at limit **
  10  Prefactor     2.8855        3.8829        .16138E-06   -.15532E-03
  11  norm          .29875        1.5101        .10451E-05    .11235E-03
  12  Prefactor     14.503        20.300        .14850E-05   -.34236E-04
  13  norm          .10000E-03    .85348E-01    .61519E-08** at limit **
  14  Prefactor     .10000E-03    .52262        .13127E-07** at limit **
  15  norm          .10000E-03    20.067        .66943E-06** at limit **
  16  Prefactor     .27057        2.1301        .26780E-06   -.33844E-03
  17  Prefactor     .38939        2.7451       -.70267E-07   -.42452E-04
  18  Prefactor     8.5213        10.000       -.69038E-08    .73430E-05
  19  Prefactor     .10000E-03    38.235       -.16698E-07** at limit **
  20  norm          .10000E-03    22.082        .55568E-06** at limit **
  21  Prefactor     44.285        30.715       -.84219E-06   -.65260E-06
  22  Prefactor     .10000E-03    103.15       -.66302E-06** at limit **
  23  Prefactor     .10000E-03    6.0650        .99410E-07** at limit **
  24  norm          13.653        14.103        .11392E-06   -.10879E-04
  25  Prefactor     .10000E-03    1.0788        .33902E-08** at limit **
  26  Prefactor     4.1992        24.789        .94625E-05    .20081E-04
  27  Prefactor     .10000E-03    1.6363        .24828E-09** at limit **
  28  norm          .10000E-03    3.9623       -.35903E-07** at limit **
  29  Normalizat    .75067        .17925       -.12610E-05   -.57911E-04
  30  Prefactor     1.1216        .19262       -.10870E-06   -.66860E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.6786
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100008
  Prefactor  = 2.48972
  Prefactor  = 0.000100002
  Prefactor  = 1.88562
  Prefactor  = 0.000100006
  Prefactor  = 2.88553
  norm       = 0.298754
  Prefactor  = 14.5034
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.270573
  Prefactor  = 0.389388
  Prefactor  = 8.52126
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 44.2853
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 13.6532
  Prefactor  = 0.0001
  Prefactor  = 4.19924
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.750668
  Prefactor  = 1.12165
 **********
 **   18 **HESSE 
 **********

 FCN=   4867.096     FROM HESSE     STATUS=OK           588 CALLS     4557 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3365        .17135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.6786        2.9521        .10373E-03   -1.5324    
   3  Prefactor     .10000E-03    9.2941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.4856        .10736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10001E-03    10.945        .28105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.4897        2.7369        .11507E-03   -1.5392    
   7  Prefactor     .10000E-03    33.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.8856        3.2340        .15956E-03   -1.5433    
   9  Prefactor     .10001E-03    52.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.8855        3.9274        .13218E-03   -1.5368    
  11  norm          .29875        1.4722        .16224E-03   -1.5599    
  12  Prefactor     14.503        20.185        .10520E-03   -1.4946    
  13  norm          .10000E-03    .85915E-01    .19878E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .52442        .49232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    20.763        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .27057        8.8201        .16509E-02   -1.5604    
  17  Prefactor     .38939        11.653        .21199E-02   -1.5583    
  18  Prefactor     8.5213        9.9803        .13733E-03   -1.5124    
  19  Prefactor     .10000E-03    38.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    22.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     44.285        30.687        .60252E-04   -1.4376    
  22  Prefactor     .10000E-03    104.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.1177        .16778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          13.653        14.118        .10840E-03   -1.4969    
  25  Prefactor     .10000E-03    1.0813        .70758E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.1992        25.016        .98331E-03   -1.5298    
  27  Prefactor     .10000E-03    1.6425        .87147E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    3.9674        .13563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .75067        .20353        .24472E-03   -1.0193    
  30  Prefactor     1.1216        .22038        .23033E-03   -.88778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26903e-08
Minuit parameter uncertainties:
  1  1.33856e-05
  2  2.95217
  3  2.89168e-05
  4  9.75637e-07
  5  0.000585454
  6  2.73699
  7  0.000483566
  8  3.23431
  9  0.00116991
  10  3.92771
  11  1.32622
  12  20.1945
  13  5.33266e-08
  14  2.93925e-07
  15  8.04155e-05
  16  3.08958
  17  4.26062
  18  9.98224
  19  5.09434e-05
  20  1.72093e-05
  21  30.6981
  22  0.00134381
  23  1.88197e-05
  24  14.1218
  25  4.21189e-07
  26  20.5111
  27  3.83322e-07
  28  3.36507e-06
  29  0.203734
  30  0.220564
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  8.042e-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.122e+00  2.206e-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.507e-01  2.037e-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: 8.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/198629/likelihoodResults_499824001_500083201_4FGL_J0923.5+3852_daily_bin1005.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) = 4867.09603883
delta logL = -0.000229945372666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4867.09580957
delta logL = -6.85392478772e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23289E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4953       1.0000          .0000       5.0000    
     3 'Normalizat'    .75092       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1214       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.

 FCN=   4866.359     FROM MIGRAD    STATUS=CONVERGED    119 CALLS      276 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0488        128.05        .90712E-02    .88796E-04
   2  alpha         .67485        2.6227        .41152        .28891E-04
   3  Normalizat    .75597        .70158E-01    .42966E-01   -.12513E-04
   4  Prefactor     1.1088        .80873E-01    .36826E-01   -.28460E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.04877
  alpha      = 0.674848
  Normalizat = 0.755965
  Prefactor  = 1.10877
 **********
 **   18 **HESSE 
 **********

 FCN=   4866.359     FROM HESSE     STATUS=OK            33 CALLS      309 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0488        6.0514        .12236E-03   -1.5422    
   2  alpha         .67485        1.2300        .25054E-01   -2.3232    
   3  Normalizat    .75597        .19048        .24375E-03   -1.0172    
   4  Prefactor     1.1088        .21639        .23118E-03   -.89187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.0487e-12
Minuit parameter uncertainties:
  1  6.05317
  2  1.37313
  3  0.190651
  4  0.216565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/198629': 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) = 4866.35853938
delta logL = 0.737269501639

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  2.049e+00  6.053e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  6.748e-01  1.373e+00  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.109e+00  2.166e-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.560e-01  1.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.48
Ra Dec: 140.885 38.874
Photon Index (Free Index): 0.67 +/- 1.37
Photon Flux (Free Index): 4.73e-09 +/- 1.95e-08
Energy Flux (Free Index): 1.76e-05 +/- 1.17e-04

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/198629/cmap_HighResolution_499824001_500083201_4FGL_J0923.5+3852_daily_bin1005.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.35e-05', comment='SUCCESS', energy_flux2='1.76e-05', dlogl='7.37e-01', photon_flux2='4.73e-09', job_status='DONE', time_completed='2021-08-31 10:37:14.578702', photon_index_error2='1.37', photon_index2='0.67', ts='-0.00', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='8.84e-08', energy_flux_error2='1.17e-04', EG='0.75', time_epoch_completed='1630431434.58', return_code='0', job_id='198629', GAL2='1.11', EG2='0.76', return_code2='0', photon_flux_error2='1.95e-08', ts2='1.48', photon_index='2.61' WHERE bin_id='1005' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:37:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 198629: <4FGL_J0923.5+3852_daily_bin1005> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1005> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 10:20:44 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:21:19 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:21:19 2021
Terminated at Tue Aug 31 10:37:15 2021
Results reported at Tue Aug 31 10:37:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1005 140.885 38.8743 499824001 500083201 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 :                                   794.19 sec.
    Max Memory :                                 1097 MB
    Average Memory :                             284.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            991 sec.

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

