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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin756
RA = 140.885, Dec = 38.8743
tmin = 435283201, tmax = 435542401
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='196462', job_status='RUN', time_executed='2021-08-31 10:16:51.880775', time_epoch_executed='1630430211.88' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196462

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196462/ft1_4FGL_J0923.5+3852_daily_bin756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196462/ft2_4FGL_J0923.5+3852_daily_bin756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196462/ft1_4FGL_J0923.5+3852_daily_bin756.fits outfile=/scratch/kocevski/196462/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin756.fits ra=140.885 dec=38.8743 rad=12.0 tmin=435283201.0 tmax=435542401.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.94
sys 0.58

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/196462/ft2_4FGL_J0923.5+3852_daily_bin756.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/196462/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin756.fits evtable="EVENTS" outfile="/scratch/kocevski/196462/ft1_filtered_4FGL_J0923.5+3852_daily_bin756.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.98
user 0.32
sys 0.50

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196462/ft1_filtered_4FGL_J0923.5+3852_daily_bin756.fits" evtable="EVENTS" scfile=/scratch/kocevski/196462/ft2_4FGL_J0923.5+3852_daily_bin756.fits sctable="SC_DATA" outfile=/scratch/kocevski/196462/ltcube_435283201_435542401_4FGL_J0923.5+3852_daily_bin756.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/196462/ft2_4FGL_J0923.5+3852_daily_bin756.fits
.....................!
real 13.29
user 12.44
sys 0.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196462/ft1_filtered_4FGL_J0923.5+3852_daily_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/196462/ft2_4FGL_J0923.5+3852_daily_bin756.fits sctable="SC_DATA" expcube=/scratch/kocevski/196462/ltcube_435283201_435542401_4FGL_J0923.5+3852_daily_bin756.fits outfile=/scratch/kocevski/196462/expmap_435283201_435542401_4FGL_J0923.5+3852_daily_bin756.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/196462/ltcube_435283201_435542401_4FGL_J0923.5+3852_daily_bin756.fits
.....................!
real 191.27
user 185.53
sys 4.87

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/196462/ft1_filtered_4FGL_J0923.5+3852_daily_bin756.fits scfile=/scratch/kocevski/196462/ft2_4FGL_J0923.5+3852_daily_bin756.fits outfile=/scratch/kocevski/196462/cmap_435283201_435542401_4FGL_J0923.5+3852_daily_bin756.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.91
user 0.39
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196462/ft1_filtered_4FGL_J0923.5+3852_daily_bin756.fits scfile=/scratch/kocevski/196462/ft2_4FGL_J0923.5+3852_daily_bin756.fits outfile=/scratch/kocevski/196462/cmap_HighResolution_435283201_435542401_4FGL_J0923.5+3852_daily_bin756.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.88
user 0.38
sys 0.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0022       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10540E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.672       1.0000         .10000E-03   10000.    
     5 'norm      '    15.357       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .50788       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.6626       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .56134       1.0000         .10000E-03   10000.    
     9 'Prefactor '    143.45       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.3287       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   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      '    34.700       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3266       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.612       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.6919       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.456       1.0000         .10000E-03   10000.    
    24 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.8265       1.0000         .10000E-03   10000.    
    26 'Prefactor '    119.95       1.0000         .10000E-03   10000.    
    27 'Prefactor '    16.431       1.0000         .10000E-03   10000.    
    28 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .62149       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1759       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5057.298     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     4689 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.6919       -.20630E-05** at limit **
   2  Prefactor     1.0025        2.5875       -.25904E-06    .10960E-03
   3  Prefactor     .10010E-03    168.70       -.14349E-05** at limit **
   4  Prefactor     10.672        2.3528       -.12611E-05    .31494E-02
   5  norm          15.355        1.5159       -.53853E-06    .12955E-02
   6  Prefactor     .50797        3.2304       -.81418E-06   -.24854E-03
   7  Prefactor     8.6686        1.4807        .36248E-06   -.10569E-02
   8  Prefactor     .56107        2.9179       -.84148E-05   -.13693E-02
   9  Prefactor     143.44        1.3613       -.67457E-07    .30598E-02
  10  Prefactor     2.3288        3.4325       -.13480E-05   -.76872E-03
  11  norm          .10000E-03    .78711        .90964E-08** at limit **
  12  Prefactor     .10000E-03    11.536        .72971E-05** at limit **
  13  norm          .10000E-03    .98840E-01   -.44097E-08** at limit **
  14  Prefactor     .10000E-03    .62811       -.11893E-06** at limit **
  15  norm          34.703        1.7931        .46583E-06   -.43214E-02
  16  Prefactor     .10000E-03    1.9531        .25408E-06** at limit **
  17  Prefactor     4.3263        2.7638        .24265E-05   -.23440E-02
  18  Prefactor     12.612        1.1100        .24601E-06   -.38795E-03
  19  Prefactor     .10000E-03    8.2277        .43930E-06** at limit **
  20  norm          .10000E-03    12.496       -.56728E-05** at limit **
  21  Prefactor     3.6967        1.2342       -.27898E-06    .39589E-03
  22  Prefactor     .10000E-03    51.127        .20368E-05** at limit **
  23  Prefactor     17.456        1.0535       -.18090E-06    .94980E-03
  24  norm          .10000E-03    2.9510        .15098E-06** at limit **
  25  Prefactor     1.8272        1.7253       -.21483E-05    .81332E-03
  26  Prefactor     119.94        1.0889       -.31103E-07    .12919E-02
  27  Prefactor     16.431        1.1769       -.26376E-06    .11083E-02
  28  norm          .10000E-03    4.3686       -.89492E-07** at limit **
  29  Normalizat    .62136        .20497       -.38704E-06   -.87781E-04
  30  Prefactor     1.1761        .23463        .13151E-05   -.80387E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.00252
  Prefactor  = 0.0001001
  Prefactor  = 10.6722
  norm       = 15.3552
  Prefactor  = 0.50797
  Prefactor  = 8.66861
  Prefactor  = 0.561067
  Prefactor  = 143.443
  Prefactor  = 2.3288
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 34.7029
  Prefactor  = 0.0001
  Prefactor  = 4.32632
  Prefactor  = 12.6122
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 3.69669
  Prefactor  = 0.0001
  Prefactor  = 17.4557
  norm       = 0.0001
  Prefactor  = 1.82717
  Prefactor  = 119.943
  Prefactor  = 16.4313
  norm       = 0.0001
  Normalizat = 0.621356
  Prefactor  = 1.17606
 **********
 **   18 **HESSE 
 **********

 FCN=   5057.298     FROM HESSE     STATUS=OK           664 CALLS     5353 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.6756        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.0025        2.6499        .13689E-01   -1.5508    
   3  Prefactor     .10010E-03    26.223        .11362       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.672        12.502        .30661E-02   -1.5054    
   5  norm          15.355        10.173        .25551E-02   -1.4924    
   6  Prefactor     .50797        2.5117        .34780E-01   -1.5565    
   7  Prefactor     8.6686        179.11        .34048E-02   -1.5119    
   8  Prefactor     .56107        4.1231        .11519E-01   -1.5558    
   9  Prefactor     143.44        65.897        .84099E-03   -1.3307    
  10  Prefactor     2.3288        3.6921        .67187E-02   -1.5403    
  11  norm          .10000E-03    .78197        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.182        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .96878E-01    .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .62164        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          34.703        12.909        .17007E-02   -1.4529    
  16  Prefactor     .10000E-03    1.8806        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.3263        4.8172        .48416E-02   -1.5292    
  18  Prefactor     12.612        9.7311        .28199E-02   -1.4998    
  19  Prefactor     .10000E-03    8.2229        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    12.957        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.6967        29.767        .52548E-02   -1.5323    
  22  Prefactor     .10000E-03    50.754        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     17.456        12.445        .23965E-02   -1.4872    
  24  norm          .10000E-03    2.9493        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.8272        6.2149        .77218E-02   -1.5438    
  26  Prefactor     119.94        46.576        .91861E-03   -1.3513    
  27  Prefactor     16.431        8.9742        .24702E-02   -1.4897    
  28  norm          .10000E-03    4.3650        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .62136        .19370        .63565E-01   -1.0708    
  30  Prefactor     1.1761        .20174        .54289E-01   -.87071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82227e-06
Minuit parameter uncertainties:
  1  1.53734e-05
  2  2.65023
  3  0.00323805
  4  12.5055
  5  10.1744
  6  2.25903
  7  79.0789
  8  3.04195
  9  65.9303
  10  3.69244
  11  4.3144e-06
  12  0.000419613
  13  9.34946e-07
  14  3.22479e-06
  15  12.9103
  16  1.78848e-05
  17  4.81759
  18  9.73232
  19  3.67187e-05
  20  0.000338258
  21  20.994
  22  0.000272246
  23  12.4467
  24  1.63216e-05
  25  6.21706
  26  46.5899
  27  8.97489
  28  6.2088e-06
  29  0.19391
  30  0.201872
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.470e+01  1.291e+01  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.176e+00  2.019e-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:  6.214e-01  1.939e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.63
Ra Dec: 140.885 38.874
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.42e-07 +/- 5.28e-08
Energy Flux (Fixed Index): 3.77e-05 +/- 1.40e-05

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) = 5057.06041396
delta logL = 0.237575775604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5057.04899949
delta logL = 0.248990239774

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.937       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9679       1.0000          .0000       5.0000    
     3 'Normalizat'    .58831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2057       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=   5057.049     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      263 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.939        16.296        .77188E-04   -.16282E-02
   2  alpha         2.9682        .55866        .84513E-02   -.24402E-03
   3  Normalizat    .58807        .21082        .28841E-03    .10363E-03
   4  Prefactor     1.2058        .23732        .23754E-03    .23467E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 26.9388
  alpha      = 2.96817
  Normalizat = 0.588065
  Prefactor  = 1.20584
 **********
 **   18 **HESSE 
 **********

 FCN=   5057.049     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.939        15.461        .15438E-04   -1.4669    
   2  alpha         2.9682        .53013        .33805E-03    .18838    
   3  Normalizat    .58807        .21071        .11536E-04   -1.0849    
   4  Prefactor     1.2058        .23717        .47508E-04   -.86152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21606e-09
Minuit parameter uncertainties:
  1  15.4629
  2  0.53434
  3  0.210994
  4  0.237384
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196462': 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) = 5057.04899802
delta logL = 0.248991716456

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  2.694e+01  1.546e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.968e+00  5.343e-01  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.206e+00  2.374e-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:  5.881e-01  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.35
Ra Dec: 140.885 38.874
Photon Index (Free Index): 2.97 +/- 0.53
Photon Flux (Free Index): 1.62e-07 +/- 6.19e-08
Energy Flux (Free Index): 3.56e-05 +/- 1.29e-05

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/196462/cmap_HighResolution_435283201_435542401_4FGL_J0923.5+3852_daily_bin756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.42e-07', energy_flux2='3.56e-05', photon_flux_error='5.28e-08', dlogl='2.49e-01', energy_flux='3.77e-05', photon_flux2='1.62e-07', job_status='DONE', time_completed='2021-08-31 10:30:47.968435', photon_index_error2='0.53', photon_index2='2.97', ts='16.63', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='0.62', time_epoch_completed='1630431047.97', return_code='0', job_id='196462', GAL2='1.21', EG2='0.59', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='6.19e-08', ts2='17.35', photon_index='2.61' WHERE bin_id='756' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:30:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 196462: <4FGL_J0923.5+3852_daily_bin756> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin756> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Aug 31 10:15:43 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:15:45 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:15:45 2021
Terminated at Tue Aug 31 10:30:48 2021
Results reported at Tue Aug 31 10:30:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin756 140.885 38.8743 435283201 435542401 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 :                                   811.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            905 sec.

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

