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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin799
RA = 140.885, Dec = 38.8743
tmin = 446428801, tmax = 446688001
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='196523', job_status='RUN', time_executed='2021-08-31 10:16:06.339703', time_epoch_executed='1630430166.34' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='799'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196523

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196523/ft1_4FGL_J0923.5+3852_daily_bin799.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196523/ft2_4FGL_J0923.5+3852_daily_bin799.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196523/ft1_4FGL_J0923.5+3852_daily_bin799.fits outfile=/scratch/kocevski/196523/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin799.fits ra=140.885 dec=38.8743 rad=12.0 tmin=446428801.0 tmax=446688001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.73
user 2.51
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/196523/ft2_4FGL_J0923.5+3852_daily_bin799.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/196523/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin799.fits evtable="EVENTS" outfile="/scratch/kocevski/196523/ft1_filtered_4FGL_J0923.5+3852_daily_bin799.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.53
user 0.27
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196523/ft1_filtered_4FGL_J0923.5+3852_daily_bin799.fits" evtable="EVENTS" scfile=/scratch/kocevski/196523/ft2_4FGL_J0923.5+3852_daily_bin799.fits sctable="SC_DATA" outfile=/scratch/kocevski/196523/ltcube_446428801_446688001_4FGL_J0923.5+3852_daily_bin799.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/196523/ft2_4FGL_J0923.5+3852_daily_bin799.fits
.....................!
real 9.27
user 8.95
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196523/ft1_filtered_4FGL_J0923.5+3852_daily_bin799.fits evtable="EVENTS" scfile=/scratch/kocevski/196523/ft2_4FGL_J0923.5+3852_daily_bin799.fits sctable="SC_DATA" expcube=/scratch/kocevski/196523/ltcube_446428801_446688001_4FGL_J0923.5+3852_daily_bin799.fits outfile=/scratch/kocevski/196523/expmap_446428801_446688001_4FGL_J0923.5+3852_daily_bin799.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/196523/ltcube_446428801_446688001_4FGL_J0923.5+3852_daily_bin799.fits
.....................!
real 146.58
user 142.28
sys 3.73

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/196523/ft1_filtered_4FGL_J0923.5+3852_daily_bin799.fits scfile=/scratch/kocevski/196523/ft2_4FGL_J0923.5+3852_daily_bin799.fits outfile=/scratch/kocevski/196523/cmap_446428801_446688001_4FGL_J0923.5+3852_daily_bin799.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.45
user 0.28
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196523/ft1_filtered_4FGL_J0923.5+3852_daily_bin799.fits scfile=/scratch/kocevski/196523/ft2_4FGL_J0923.5+3852_daily_bin799.fits outfile=/scratch/kocevski/196523/cmap_HighResolution_446428801_446688001_4FGL_J0923.5+3852_daily_bin799.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.45
user 0.30
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.5877       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6580       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9675       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2873       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.6265       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7643       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.667       1.0000         .10000E-03   10000.    
    13 'norm      '    .38192       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10451E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    16.642       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.2942       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.7573       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.9204       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    61.579       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    10.218       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.1522       1.0000         .10000E-03   10000.    
    26 'Prefactor '    13.419       1.0000         .10000E-03   10000.    
    27 'Prefactor '    6.1111       1.0000         .10000E-03   10000.    
    28 'norm      '    .20021E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0536       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .65592       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=   5896.183     FROM MIGRAD    STATUS=CONVERGED    754 CALLS     3356 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4599       -.81046E-07** at limit **
   2  Prefactor     2.5876        2.7145        .13060E-06    .17498E-03
   3  Prefactor     5.6579        13.169        .24230E-06    .19810E-04
   4  Prefactor     4.9672        5.1766       -.26866E-06   -.44531E-03
   5  norm          .10000E-03    1.6331        .15476E-07** at limit **
   6  Prefactor     2.2880        2.7951       -.13550E-07    .24761E-04
   7  Prefactor     .10000E-03    18.994       -.25186E-05** at limit **
   8  Prefactor     9.6263        4.4609        .30816E-07   -.40508E-05
   9  Prefactor     4.7625        86.756        .19163E-05    .21457E-04
  10  Prefactor     .10000E-03    1.2396       -.67392E-07** at limit **
  11  norm          .10000E-03    .41361        .28052E-07** at limit **
  12  Prefactor     31.666        24.341        .95157E-07    .41150E-04
  13  norm          .38210        .34075       -.10069E-07   -.31263E-03
  14  Prefactor     .10000E-03    1.4373        .29937E-07** at limit **
  15  norm          16.643        10.644       -.77468E-07    .87482E-06
  16  Prefactor     5.2949        3.1213        .13878E-07    .50124E-04
  17  Prefactor     2.7572        3.3008       -.30588E-06   -.23167E-03
  18  Prefactor     3.9200        5.6287        .99318E-06    .92562E-03
  19  Prefactor     .10000E-03    14.674        .24536E-05** at limit **
  20  norm          .10000E-03    4.1325        .28521E-07** at limit **
  21  Prefactor     .10000E-03    7.7819       -.33349E-06** at limit **
  22  Prefactor     61.568        33.262        .21642E-05    .38731E-03
  23  Prefactor     .10000E-03    19.848       -.19000E-05** at limit **
  24  norm          10.217        9.5495       -.14673E-07   -.15375E-04
  25  Prefactor     2.1516        4.5007        .50949E-06    .47141E-03
  26  Prefactor     13.418        19.027       -.16257E-07    .66517E-04
  27  Prefactor     6.1111        5.6275        .16620E-09    .32085E-03
  28  norm          .10007E-03    16.113       -.56529E-05** at limit **
  29  Normalizat    1.0537        .16525       -.15337E-06    .18943E-03
  30  Prefactor     .65588        .16800       -.49670E-06   -.88157E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.58765
  Prefactor  = 5.65786
  Prefactor  = 4.96723
  norm       = 0.0001
  Prefactor  = 2.28798
  Prefactor  = 0.000100002
  Prefactor  = 9.62634
  Prefactor  = 4.76246
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 31.6662
  norm       = 0.382103
  Prefactor  = 0.0001
  norm       = 16.6428
  Prefactor  = 5.29486
  Prefactor  = 2.75719
  Prefactor  = 3.92004
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 61.5684
  Prefactor  = 0.0001
  norm       = 10.217
  Prefactor  = 2.15156
  Prefactor  = 13.4177
  Prefactor  = 6.11109
  norm       = 0.00010007
  Normalizat = 1.05367
  Prefactor  = 0.655885
 **********
 **   18 **HESSE 
 **********

 FCN=   5896.183     FROM HESSE     STATUS=OK           596 CALLS     3952 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.4609        .13949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.5876        2.7057        .12477E-03   -1.5386    
   3  Prefactor     5.6579        13.161        .16888E-03   -1.5232    
   4  Prefactor     4.9672        5.2121        .87091E-03   -1.5262    
   5  norm          .10000E-03    1.6342        .95822E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.2880        2.7729        .13172E-03   -1.5405    
   7  Prefactor     .10000E-03    19.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.6263        4.4607        .10606E-03   -1.5087    
   9  Prefactor     4.7625        85.494        .18433E-03   -1.5271    
  10  Prefactor     .10000E-03    1.2513        .83368E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .41465        .48221E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     31.666        24.149        .71203E-04   -1.4582    
  13  norm          .38210        .32724        .38045E-04   -1.5584    
  14  Prefactor     .10000E-03    4.4002        .16153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.643        10.643        .98179E-04   -1.4892    
  16  Prefactor     5.2949        3.0837        .93950E-04   -1.5248    
  17  Prefactor     2.7572        3.2969        .14691E-03   -1.5376    
  18  Prefactor     3.9200        5.9943        .10188E-02   -1.5312    
  19  Prefactor     .10000E-03    14.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.1330        .15244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.8022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     61.568        33.900        .51133E-04   -1.4137    
  23  Prefactor     .10000E-03    20.595        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          10.217        9.5562        .12535E-03   -1.5069    
  25  Prefactor     2.1516        4.4581        .19390E-03   -1.5415    
  26  Prefactor     13.418        18.997        .10934E-03   -1.4975    
  27  Prefactor     6.1111        5.5558        .14402E-03   -1.5214    
  28  norm          .10007E-03    24.842        .32555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0537        .18757        .21567E-03   -.91254    
  30  Prefactor     .65588        .19082        .29116E-03   -1.0528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33481e-09
Minuit parameter uncertainties:
  1  4.95515e-06
  2  2.70582
  3  13.1676
  4  5.21263
  5  1.55312e-06
  6  2.77301
  7  0.000342894
  8  4.46088
  9  40.4235
  10  2.87261e-06
  11  1.42921e-06
  12  24.1565
  13  0.327241
  14  6.3644e-06
  15  10.6443
  16  3.08376
  17  3.29711
  18  5.99525
  19  0.00030664
  20  3.03397e-06
  21  5.12151e-05
  22  33.9106
  23  0.000183936
  24  9.55767
  25  4.45875
  26  19.0057
  27  5.55627
  28  0.00263641
  29  0.187692
  30  0.191008
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.664e+01  1.064e+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:  6.559e-01  1.910e-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:  1.054e+00  1.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.07
Ra Dec: 140.885 38.874
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 6.81e-08 +/- 4.35e-08
Energy Flux (Fixed Index): 1.81e-05 +/- 1.16e-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) = 5896.11759243
delta logL = 0.065503881644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5896.1138022
delta logL = 0.0692941149337

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.411       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8815       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0409       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66591       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=   5896.114     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      267 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.415        11.313        .10551E-03    .45578E-04
   2  alpha         2.8818        .76706        .14083E-01    .16063E-03
   3  Normalizat    1.0407        .17748        .21675E-03   -.24651E-04
   4  Prefactor     .66607        .19002        .28914E-03   -.57839E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.4146
  alpha      = 2.88175
  Normalizat = 1.04069
  Prefactor  = 0.666075
 **********
 **   18 **HESSE 
 **********

 FCN=   5896.114     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.415        10.828        .42204E-05   -1.4948    
   2  alpha         2.8818        .73458        .28167E-02    .15330    
   3  Normalizat    1.0407        .17747        .86702E-05   -.91679    
   4  Prefactor     .66607        .19001        .11566E-04   -1.0487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45587e-11
Minuit parameter uncertainties:
  1  10.8291
  2  0.745858
  3  0.177571
  4  0.190193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196523': 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) = 5896.11380131
delta logL = 0.0692950071543

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.441e+01  1.083e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.882e+00  7.459e-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:  6.661e-01  1.902e-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:  1.041e+00  1.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.32
Ra Dec: 140.885 38.874
Photon Index (Free Index): 2.88 +/- 0.75
Photon Flux (Free Index): 7.89e-08 +/- 5.11e-08
Energy Flux (Free Index): 1.80e-05 +/- 1.01e-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/196523/cmap_HighResolution_446428801_446688001_4FGL_J0923.5+3852_daily_bin799.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.81e-08', energy_flux2='1.80e-05', photon_flux_error='4.35e-08', dlogl='6.93e-02', energy_flux='1.81e-05', photon_flux2='7.89e-08', job_status='DONE', time_completed='2021-08-31 10:25:57.545269', photon_index_error2='0.75', photon_index2='2.88', ts='5.07', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='1.01e-05', EG='1.05', time_epoch_completed='1630430757.55', return_code='0', job_id='196523', GAL2='0.67', EG2='1.04', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='5.11e-08', ts2='5.32', photon_index='2.61' WHERE bin_id='799' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:25:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 196523: <4FGL_J0923.5+3852_daily_bin799> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin799 140.885 38.8743 446428801 446688001 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 :                                   584.45 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             277.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            611 sec.

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

