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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1525
RA = 140.885, Dec = 38.8743
tmin = 634608001, tmax = 634867201
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='203916', job_status='RUN', time_executed='2021-08-31 10:41:22.589622', time_epoch_executed='1630431682.59' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1525'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/203916

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/203916/ft1_4FGL_J0923.5+3852_daily_bin1525.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/203916/ft2_4FGL_J0923.5+3852_daily_bin1525.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/203916/ft1_4FGL_J0923.5+3852_daily_bin1525.fits outfile=/scratch/kocevski/203916/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1525.fits ra=140.885 dec=38.8743 rad=12.0 tmin=634608001.0 tmax=634867201.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 12.94
user 2.87
sys 9.42

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/203916/ft1_filtered_4FGL_J0923.5+3852_daily_bin1525.fits" evtable="EVENTS" scfile=/scratch/kocevski/203916/ft2_4FGL_J0923.5+3852_daily_bin1525.fits sctable="SC_DATA" outfile=/scratch/kocevski/203916/ltcube_634608001_634867201_4FGL_J0923.5+3852_daily_bin1525.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/203916/ft2_4FGL_J0923.5+3852_daily_bin1525.fits
.....................!
real 25.91
user 12.49
sys 10.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/203916/ft1_filtered_4FGL_J0923.5+3852_daily_bin1525.fits evtable="EVENTS" scfile=/scratch/kocevski/203916/ft2_4FGL_J0923.5+3852_daily_bin1525.fits sctable="SC_DATA" expcube=/scratch/kocevski/203916/ltcube_634608001_634867201_4FGL_J0923.5+3852_daily_bin1525.fits outfile=/scratch/kocevski/203916/expmap_634608001_634867201_4FGL_J0923.5+3852_daily_bin1525.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/203916/ltcube_634608001_634867201_4FGL_J0923.5+3852_daily_bin1525.fits
.....................!
real 206.69
user 185.56
sys 16.20

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/203916/ft1_filtered_4FGL_J0923.5+3852_daily_bin1525.fits scfile=/scratch/kocevski/203916/ft2_4FGL_J0923.5+3852_daily_bin1525.fits outfile=/scratch/kocevski/203916/cmap_634608001_634867201_4FGL_J0923.5+3852_daily_bin1525.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 13.17
user 0.37
sys 9.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/203916/ft1_filtered_4FGL_J0923.5+3852_daily_bin1525.fits scfile=/scratch/kocevski/203916/ft2_4FGL_J0923.5+3852_daily_bin1525.fits outfile=/scratch/kocevski/203916/cmap_HighResolution_634608001_634867201_4FGL_J0923.5+3852_daily_bin1525.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 9.86
user 0.39
sys 9.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/203916/ft1_filtered_4FGL_J0923.5+3852_daily_bin1525.fits', '/scratch/kocevski/203916/ft2_4FGL_J0923.5+3852_daily_bin1525.fits', expMap='/scratch/kocevski/203916/expmap_634608001_634867201_4FGL_J0923.5+3852_daily_bin1525.fits', expCube='/scratch/kocevski/203916/ltcube_634608001_634867201_4FGL_J0923.5+3852_daily_bin1525.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/203916/Model_4FGL_J0923.5+3852_daily_bin1525.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/203916/ft1_filtered_4FGL_J0923.5+3852_daily_bin1525.fits
Spacecraft file(s): /scratch/kocevski/203916/ft2_4FGL_J0923.5+3852_daily_bin1525.fits
Exposure map: /scratch/kocevski/203916/expmap_634608001_634867201_4FGL_J0923.5+3852_daily_bin1525.fits
Exposure cube: /scratch/kocevski/203916/ltcube_634608001_634867201_4FGL_J0923.5+3852_daily_bin1525.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/203916/Model_4FGL_J0923.5+3852_daily_bin1525.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 138.522079686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 131.867412764

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13135E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.603       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .61388E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    121.66       1.0000         .10000E-03   10000.    
     5 'norm      '    .19566E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .77032E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18451E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5709       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .82762E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    1.0628       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7172       1.0000         .10000E-03   10000.    
    13 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .67352       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .43332E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.2265       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .70215E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    463.52       1.0000         .10000E-03   10000.    
    20 'norm      '    2.2050       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.9172       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.1921       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.4647       1.0000         .10000E-03   10000.    
    24 'norm      '    6.0756       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.1622       1.0000         .10000E-03   10000.    
    26 'Prefactor '    5.8976       1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.7987       1.0000         .10000E-03   10000.    
    28 'norm      '    9.8877       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    30 'Prefactor '    .57495E-06   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=   131.2303     FROM MIGRAD    STATUS=CONVERGED    411 CALLS      742 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.842        .12196E-05** at limit **
   2  Prefactor     12.642        10.804       -.69677E-07    .77648E-04
   3  Prefactor     .10000E-03    84.128       -.99835E-05** at limit **
   4  Prefactor     114.06        53.190        .19566E-05   -.62558E-04
   5  norm          .10000E-03    9.2778        .85635E-07** at limit **
   6  Prefactor     .10000E-03    6.8445       -.14899E-06** at limit **
   7  Prefactor     .10000E-03    128.16        .88699E-06** at limit **
   8  Prefactor     .10000E-03    88.522        .21607E-05** at limit **
   9  Prefactor     .10003E-03    330.14       -.68094E-05** at limit **
  10  Prefactor     .10000E-03    21.257       -.43790E-07** at limit **
  11  norm          1.0628        8373.3         .0000         .0000    
  12  Prefactor     .10000E-03    254.58        .24622E-05** at limit **
  13  norm          .10000E-03    2.6940       -.35896E-08** at limit **
  14  Prefactor     .10000E-03    16.499        .10509E-06** at limit **
  15  norm          .10002E-03    489.13       -.40945E-05** at limit **
  16  Prefactor     .10000E-03    37.499       -.21523E-06** at limit **
  17  Prefactor     1.2265        8376.8         .0000         .0000    
  18  Prefactor     .10000E-03    123.67       -.32039E-05** at limit **
  19  Prefactor     425.32        331.64       -.10233E-04   -.49360E-04
  20  norm         10000.0        9444.5       -.40315E-03** at limit **
  21  Prefactor    10000.0        9988.8        .27268E-03** at limit **
  22  Prefactor     7.1921        8447.1         .0000         .0000    
  23  Prefactor     1.4647        8381.5         .0000         .0000    
  24  norm          .10001E-03    2277.4       -.91013E-05** at limit **
  25  Prefactor     1.1622        8375.5         .0000         .0000    
  26  Prefactor     5.8976        8436.1         .0000         .0000    
  27  Prefactor     1.7987        8387.5         .0000         .0000    
  28  norm          9.8877        8467.2         .0000         .0000    
  29  Normalizat    .10000E-01    .35190       -.17699E-06** at limit **
  30  Prefactor     .10607E-10    .32814        .85659E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.6421
  Prefactor  = 0.000100001
  Prefactor  = 114.06
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100029
  Prefactor  = 0.0001
  norm       = 1.06285
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100019
  Prefactor  = 0.0001
  Prefactor  = 1.22652
  Prefactor  = 0.000100002
  Prefactor  = 425.321
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 7.19212
  Prefactor  = 1.46472
  norm       = 0.000100005
  Prefactor  = 1.16222
  Prefactor  = 5.89762
  Prefactor  = 1.79868
  norm       = 9.88767
  Normalizat = 0.01
  Prefactor  = 1.06071e-11
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   131.2303     FROM HESSE     STATUS=FAILED        49 CALLS      791 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.761        .10286E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.642        10.740        .28208E-02   -1.4997    
   3  Prefactor     .10000E-03    78.170        .94527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     114.06        53.637        .91219E-03   -1.3568    
   5  norm          .10000E-03    9.1121        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.2659        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    126.75        .94012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    88.227        .91149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10003E-03    322.21        .84793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.915        .92091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          586.88        585.47         .0000       -1.5502    
  12  Prefactor     .10000E-03    .16065        .24622E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .20571       -.35896E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .20571        .10509E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10002E-03    .35759       -.40945E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .21333       -.21523E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.2265        1.1254         .0000       -1.5486    
  18  Prefactor     .10000E-03    .21843       -.32039E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     425.32        .95983       -.10233E-04   -1.1553    
  20  norm         10000.0        .11993       -.40315E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor    10000.0        .88404E-01    .27268E-03    1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.1921        1.0024         .0000       -1.5172    
  23  Prefactor     1.4647        1.0750         .0000       -1.5466    
  24  norm          .10001E-03    .41456E-01   -.91013E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.1622        1.1510         .0000       -1.5492    
  26  Prefactor     5.8976        1.0036         .0000       -1.5222    
  27  Prefactor     1.7987        1.0451         .0000       -1.5440    
  28  norm          9.8877        1.0013         .0000       -1.5079    
  29  Normalizat    .10000E-01    .25505       -.17699E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10607E-10    .25737        .85659E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.11631e-10
Minuit parameter uncertainties:
  1  5.92481e-05
  2  10.7413
  3  0.000587022
  4  53.6595
  5  9.15566e-06
  6  6.21404e-05
  7  3.39082e-06
  8  0.000659048
  9  0.00616793
  10  4.91566e-06
  11  1.22236
  12  3.68732e-05
  13  8.42177e-07
  14  1.67114e-06
  15  0.00016405
  16  3.21843e-06
  17  1.12546
  18  3.97691e-05
  19  0.959829
  20  0.000551937
  21  0.00141091
  22  1.00244
  23  1.075
  24  3.01023e-05
  25  1.15107
  26  1.00364
  27  1.04507
  28  1.00128
  29  7.1345e-06
  30  3.31887e-06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 131.230303573

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.000e-04  1.641e-04  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.061e-11  3.319e-06  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.000e-02  7.135e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.885 38.874
Photon Flux Upper Limit: 1.14e-05 ph cm-2 s-1
Energy Flux Upper Limit: 3.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/203916/likelihoodResults_634608001_634867201_4FGL_J0923.5+3852_daily_bin1525.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 131.230313518
delta logL = -9.94460887682e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 131.230303766
delta logL = -1.93595468545e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.9254       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56410E-09   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=   131.2303     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      271 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10005E-03    8205.6        .14837E-01** at limit **
   2  alpha         1.9735        3.4766        .50000        .16264E-08
   3  Normalizat    .10000E-01    .10088E-01    .39469E-03** at limit **
   4  Prefactor     .72164E-14    .99153E-02    .39002E-03** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100053
  alpha      = 1.97354
  Normalizat = 0.01
  Prefactor  = 7.21645e-15
 **********
 **   18 **HESSE 
 **********

 FCN=   131.2303     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      296 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10005E-03    5137.8        .26518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9735        3.4261        .20000       -.21217    
   3  Normalizat    .10000E-01    .14598        .78937E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .72164E-14    .14349        .78004E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.34824e-09
Minuit parameter uncertainties:
  1  0.136817
  2  46378.4
  3  8.66666e-08
  4  6.50646e-08
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/203916': 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): 102
logL (Free Index) = 131.230303558
delta logL = 1.50268988364e-08

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.001e-04  1.368e-01  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  1.974e+00  4.638e+04  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:  7.216e-15  6.506e-08  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.000e-02  8.667e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.885 38.874

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/203916/cmap_HighResolution_634608001_634867201_4FGL_J0923.5+3852_daily_bin1525.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='1.14e-05', time_completed='2021-08-31 10:49:54.195012', job_id='203916', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630432194.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='1.50e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1525' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:49:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 203916: <4FGL_J0923.5+3852_daily_bin1525> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1525 140.885 38.8743 634608001 634867201 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 :                                   610.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             183.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            880 sec.

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

