/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 64 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7544
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1510
RA = 140.885, Dec = 38.8743
tmin = 630720001, tmax = 630979201
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='202741', job_status='RUN', time_executed='2021-08-31 10:32:35.118315', time_epoch_executed='1630431155.12' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202741

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202741/ft1_4FGL_J0923.5+3852_daily_bin1510.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202741/ft2_4FGL_J0923.5+3852_daily_bin1510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202741/ft1_4FGL_J0923.5+3852_daily_bin1510.fits outfile=/scratch/kocevski/202741/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1510.fits ra=140.885 dec=38.8743 rad=12.0 tmin=630720001.0 tmax=630979201.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.32
user 2.74
sys 0.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/202741/ft2_4FGL_J0923.5+3852_daily_bin1510.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/202741/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1510.fits evtable="EVENTS" outfile="/scratch/kocevski/202741/ft1_filtered_4FGL_J0923.5+3852_daily_bin1510.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.03
user 0.34
sys 0.45

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/202741/ft1_filtered_4FGL_J0923.5+3852_daily_bin1510.fits" evtable="EVENTS" scfile=/scratch/kocevski/202741/ft2_4FGL_J0923.5+3852_daily_bin1510.fits sctable="SC_DATA" outfile=/scratch/kocevski/202741/ltcube_630720001_630979201_4FGL_J0923.5+3852_daily_bin1510.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/202741/ft2_4FGL_J0923.5+3852_daily_bin1510.fits
.....................!
real 13.84
user 13.05
sys 0.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202741/ft1_filtered_4FGL_J0923.5+3852_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/202741/ft2_4FGL_J0923.5+3852_daily_bin1510.fits sctable="SC_DATA" expcube=/scratch/kocevski/202741/ltcube_630720001_630979201_4FGL_J0923.5+3852_daily_bin1510.fits outfile=/scratch/kocevski/202741/expmap_630720001_630979201_4FGL_J0923.5+3852_daily_bin1510.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/202741/ltcube_630720001_630979201_4FGL_J0923.5+3852_daily_bin1510.fits
.....................!
real 191.62
user 186.54
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/202741/ft1_filtered_4FGL_J0923.5+3852_daily_bin1510.fits scfile=/scratch/kocevski/202741/ft2_4FGL_J0923.5+3852_daily_bin1510.fits outfile=/scratch/kocevski/202741/cmap_630720001_630979201_4FGL_J0923.5+3852_daily_bin1510.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.04
user 0.39
sys 0.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/202741/ft1_filtered_4FGL_J0923.5+3852_daily_bin1510.fits scfile=/scratch/kocevski/202741/ft2_4FGL_J0923.5+3852_daily_bin1510.fits outfile=/scratch/kocevski/202741/cmap_HighResolution_630720001_630979201_4FGL_J0923.5+3852_daily_bin1510.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.92
user 0.38
sys 0.45

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    151.86       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.8346       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .23909E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.6272       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.3287       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10567E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11278E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .66675       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .29257       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12203E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.8721       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.0105       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3481       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10307E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10160E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.4264       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    15.688       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.1984       1.0000         .10000E-03   10000.    
    26 'Prefactor '    47.005       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.9187       1.0000         .10000E-03   10000.    
    28 'norm      '    17.849       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .46528       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.4581       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=   2775.412     FROM MIGRAD    STATUS=CONVERGED    764 CALLS     3971 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     151.87        194.44        .11250E-05   -.66182E-04
   2  Prefactor     8.7251        31.173       -.59949E-05   -.27718E-03
   3  Prefactor     .10001E-03    72.005        .52858E-05** at limit **
   4  Prefactor     .10000E-03    17.260       -.89491E-06** at limit **
   5  norm          2.6249        32.456        .17444E-04   -.16769E-03
   6  Prefactor     7.3270        6.5759       -.76420E-06   -.64630E-04
   7  Prefactor     .10000E-03    55.354        .17881E-05** at limit **
   8  Prefactor     .10000E-03    4.6943        .12992E-06** at limit **
   9  Prefactor     .10001E-03    39.901       -.39199E-05** at limit **
  10  Prefactor     .10000E-03    4.0735       -.13350E-07** at limit **
  11  norm          .66523        3.2112        .77152E-06   -.63510E-04
  12  Prefactor     .10000E-03    17.002       -.11143E-05** at limit **
  13  norm          .29308        .78163        .53770E-06    .48055E-03
  14  Prefactor     .10001E-03    4.4143       -.25067E-06** at limit **
  15  norm          2.8704        8.3371        .38409E-06   -.10607E-04
  16  Prefactor     8.0095        4.5220       -.15113E-07   -.17996E-05
  17  Prefactor     4.3449        6.8413       -.36902E-07   -.53619E-04
  18  Prefactor     .10000E-03    4.9420        .20366E-07** at limit **
  19  Prefactor     .10000E-03    9.3291        .31684E-07** at limit **
  20  norm          .10000E-03    8.7444       -.95538E-06** at limit **
  21  Prefactor     .10000E-03    20.255        .21012E-05** at limit **
  22  Prefactor     2.4016        146.88       -.53886E-05   -.58980E-04
  23  Prefactor     .10000E-03    8.2781        .66362E-06** at limit **
  24  norm          15.669        14.853       -.14445E-08   -.30648E-04
  25  Prefactor     1.1984        3.4065        .42331E-06   -.23344E-04
  26  Prefactor     47.000        35.882       -.38468E-06   -.68793E-04
  27  Prefactor     4.9189        5.3006       -.79648E-07   -.45944E-04
  28  norm          17.840        12.926        .46137E-07   -.18325E-04
  29  Normalizat    .46563        .26770       -.46620E-06   -.18840E-04
  30  Prefactor     1.4579        .30935       -.15948E-06   -.19324E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 151.867
  Prefactor  = 8.72512
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  norm       = 2.62491
  Prefactor  = 7.32697
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  norm       = 0.665227
  Prefactor  = 0.0001
  norm       = 0.293081
  Prefactor  = 0.000100014
  norm       = 2.87039
  Prefactor  = 8.00952
  Prefactor  = 4.34492
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 2.40162
  Prefactor  = 0.0001
  norm       = 15.6688
  Prefactor  = 1.19844
  Prefactor  = 46.9997
  Prefactor  = 4.91894
  norm       = 17.8399
  Normalizat = 0.465626
  Prefactor  = 1.45788
 **********
 **   18 **HESSE 
 **********

 FCN=   2775.412     FROM HESSE     STATUS=OK           586 CALLS     4557 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     151.87        193.82        .16354E-03   -1.3237    
   2  Prefactor     8.7251        31.881        .13485E-03   -1.5117    
   3  Prefactor     .10001E-03    73.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6249        32.945        .12580E-02   -1.5384    
   6  Prefactor     7.3270        6.5012        .11678E-03   -1.5167    
   7  Prefactor     .10000E-03    55.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.7260        .11144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    40.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.1291        .10367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .66523        3.1349        .17721E-03   -1.5545    
  12  Prefactor     .10000E-03    17.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .29308        .62922        .59233E-03   -1.5600    
  14  Prefactor     .10001E-03    11.447        .17033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.8704        8.2960        .23985E-03   -1.5369    
  16  Prefactor     8.0095        4.4970        .78157E-04   -1.5142    
  17  Prefactor     4.3449        6.7809        .16010E-03   -1.5291    
  18  Prefactor     .10000E-03    4.9498        .11439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.3443        .15717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    8.7429        .15207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    20.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.4016        149.35        .26273E-03   -1.5398    
  23  Prefactor     .10000E-03    8.3961        .14799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          15.669        14.848        .10112E-03   -1.4916    
  25  Prefactor     1.1984        3.3068        .14688E-03   -1.5489    
  26  Prefactor     47.000        35.957        .58484E-04   -1.4336    
  27  Prefactor     4.9189        5.2266        .11281E-03   -1.5264    
  28  norm          17.840        12.917        .94802E-04   -1.4863    
  29  Normalizat    .46563        .30327        .32263E-03   -1.1404    
  30  Prefactor     1.4579        .35972        .23734E-03   -.78726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11572e-09
Minuit parameter uncertainties:
  1  194.636
  2  31.9429
  3  0.00193034
  4  0.000125979
  5  18.6111
  6  6.50187
  7  0.000497916
  8  3.88305e-07
  9  0.000964531
  10  1.36348e-06
  11  2.88823
  12  0.000173277
  13  0.629233
  14  0.000799271
  15  8.29936
  16  4.49722
  17  6.78212
  18  3.15077e-06
  19  4.6013e-06
  20  4.65132e-05
  21  0.00048236
  22  37.9771
  23  3.98603e-05
  24  14.8512
  25  3.30727
  26  35.9739
  27  5.22706
  28  12.9189
  29  0.304345
  30  0.36035
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  2.870e+00  8.299e+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

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.458e+00  3.604e-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:  4.656e-01  3.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 140.885 38.874
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/202741/likelihoodResults_630720001_630979201_4FGL_J0923.5+3852_daily_bin1510.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) = 2775.01636478
delta logL = 0.395794837081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2774.96406089
delta logL = 0.448098725438

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0332       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .34847       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5580       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=   2774.964     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      330 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0326        1.1187        .52737E-04   -.69630E-04
   2  alpha         5.0000        3.2718        .50810E-01** at limit **
   3  Normalizat    .34881        .30506        .37112E-03   -.38077E-04
   4  Prefactor     1.5575        .36726        .23086E-03   -.45119E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.03265
  alpha      = 5
  Normalizat = 0.348811
  Prefactor  = 1.55754
 **********
 **   18 **HESSE 
 **********

 FCN=   2774.964     FROM HESSE     STATUS=OK            23 CALLS      353 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0326        1.1153        .21095E-05   -1.5505    
   2  alpha         5.0000        3.2716        .10162E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .34881        .30509        .14845E-04   -1.2004    
   4  Prefactor     1.5575        .36733        .46172E-04   -.75941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14571e-11
Minuit parameter uncertainties:
  1  1.11529
  2  1.99454e-05
  3  0.30656
  4  0.367962
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202741': 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) = 2774.96406021
delta logL = 0.44809940229

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.033e+00  1.115e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  5.000e+00  1.995e-05  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.558e+00  3.680e-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:  3.488e-01  3.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.23
Ra Dec: 140.885 38.874
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 9.19e-08 +/- 9.88e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.38e-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/202741/cmap_HighResolution_630720001_630979201_4FGL_J0923.5+3852_daily_bin1510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-05', comment='SUCCESS', energy_flux2='1.28e-05', dlogl='4.48e-01', photon_flux2='9.19e-08', job_status='DONE', time_completed='2021-08-31 10:42:31.350789', photon_index_error2='0.00', photon_index2='5.00', ts='0.16', fit_tolerance='1e-08', GAL='1.46', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='1.38e-05', EG='0.47', time_epoch_completed='1630431751.35', return_code='0', job_id='202741', GAL2='1.56', EG2='0.35', return_code2='0', photon_flux_error2='9.88e-08', ts2='1.23', photon_index='2.61' WHERE bin_id='1510' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:42:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 202741: <4FGL_J0923.5+3852_daily_bin1510> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1510> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 10:31:04 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:31:06 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:31:06 2021
Terminated at Tue Aug 31 10:42:33 2021
Results reported at Tue Aug 31 10:42:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1510 140.885 38.8743 630720001 630979201 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 :                                   595.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             287.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            689 sec.

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

