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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin925
RA = 140.885, Dec = 38.8743
tmin = 479088001, tmax = 479347201
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='198466', job_status='RUN', time_executed='2021-08-31 10:22:11.959598', time_epoch_executed='1630430531.96' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='925'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/198466

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/198466/ft1_4FGL_J0923.5+3852_daily_bin925.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/198466/ft2_4FGL_J0923.5+3852_daily_bin925.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/198466/ft1_4FGL_J0923.5+3852_daily_bin925.fits outfile=/scratch/kocevski/198466/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin925.fits ra=140.885 dec=38.8743 rad=12.0 tmin=479088001.0 tmax=479347201.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.92
user 3.27
sys 0.51

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/198466/ft1_filtered_4FGL_J0923.5+3852_daily_bin925.fits evtable="EVENTS" scfile=/scratch/kocevski/198466/ft2_4FGL_J0923.5+3852_daily_bin925.fits sctable="SC_DATA" expcube=/scratch/kocevski/198466/ltcube_479088001_479347201_4FGL_J0923.5+3852_daily_bin925.fits outfile=/scratch/kocevski/198466/expmap_479088001_479347201_4FGL_J0923.5+3852_daily_bin925.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/198466/ltcube_479088001_479347201_4FGL_J0923.5+3852_daily_bin925.fits
.....................!
real 192.13
user 184.84
sys 5.88

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/198466/ft1_filtered_4FGL_J0923.5+3852_daily_bin925.fits scfile=/scratch/kocevski/198466/ft2_4FGL_J0923.5+3852_daily_bin925.fits outfile=/scratch/kocevski/198466/cmap_479088001_479347201_4FGL_J0923.5+3852_daily_bin925.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.87
user 0.37
sys 0.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/198466/ft1_filtered_4FGL_J0923.5+3852_daily_bin925.fits scfile=/scratch/kocevski/198466/ft2_4FGL_J0923.5+3852_daily_bin925.fits outfile=/scratch/kocevski/198466/cmap_HighResolution_479088001_479347201_4FGL_J0923.5+3852_daily_bin925.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.84
user 0.39
sys 0.44

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11461E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.503       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .17439E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .74588       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2294       1.0000         .10000E-03   10000.    
    11 'norm      '    1.6685       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .40169       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .16999E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.7428       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.2082       1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.487       1.0000         .10000E-03   10000.    
    20 'norm      '    7.1389       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.276       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10824E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    7.5709       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.6528       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    12.820       1.0000         .10000E-03   10000.    
    28 'norm      '    1.3687       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .66254       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0868       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=   5688.712     FROM MIGRAD    STATUS=CONVERGED    762 CALLS     3411 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0614        .12984E-06** at limit **
   2  Prefactor     .10000E-03    1.2378        .24781E-07** at limit **
   3  Prefactor     19.512        22.166        .23518E-06    .24213E-03
   4  Prefactor     .10000E-03    12.837        .91402E-06** at limit **
   5  norm          .10000E-03    1.6809        .25203E-08** at limit **
   6  Prefactor     .10012E-03    .96062        .41667E-06** at limit **
   7  Prefactor     .10000E-03    26.277       -.26476E-06** at limit **
   8  Prefactor     .74594        3.7226        .25329E-05    .31358E-03
   9  Prefactor     .10000E-03    12.551       -.65629E-07** at limit **
  10  Prefactor     5.2297        3.0749        .11756E-06   -.19158E-03
  11  norm          1.6686        1.3944       -.32612E-07   -.12825E-03
  12  Prefactor     .10000E-03    8.0626        .42363E-07** at limit **
  13  norm          .40168        .29180        .10907E-07   -.42222E-03
  14  Prefactor     .10000E-03    .59126       -.15120E-07** at limit **
  15  norm          .10006E-03    4.6085        .12928E-05** at limit **
  16  Prefactor     .10000E-03    .92482       -.10455E-06** at limit **
  17  Prefactor     1.7430        2.9424        .39360E-06   -.15233E-04
  18  Prefactor     9.2082        8.4609        .36438E-07   -.19622E-04
  19  Prefactor     27.487        19.753        .22454E-06   -.46445E-05
  20  norm          7.1369        11.196        .19669E-06    .11317E-04
  21  Prefactor     .10000E-03    23.952       -.24993E-06** at limit **
  22  Prefactor     11.272        22.426        .32021E-06   -.11402E-03
  23  Prefactor     .10001E-03    6.6986        .11787E-05** at limit **
  24  norm          7.5719        12.624        .30602E-06   -.18865E-04
  25  Prefactor     1.6529        2.8511        .32008E-06   -.96477E-05
  26  Prefactor     .10000E-03    6.0961       -.63669E-07** at limit **
  27  Prefactor     12.821        5.6957       -.74066E-07   -.19501E-03
  28  norm          1.3562        13.198        .32613E-05    .54511E-04
  29  Normalizat    .66246        .15604       -.39066E-06   -.44952E-03
  30  Prefactor     1.0868        .17106       -.46109E-06   -.39156E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.5121
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100124
  Prefactor  = 0.000100002
  Prefactor  = 0.745938
  Prefactor  = 0.0001
  Prefactor  = 5.22974
  norm       = 1.66856
  Prefactor  = 0.0001
  norm       = 0.401678
  Prefactor  = 0.0001
  norm       = 0.000100064
  Prefactor  = 0.0001
  Prefactor  = 1.74297
  Prefactor  = 9.20818
  Prefactor  = 27.4873
  norm       = 7.13686
  Prefactor  = 0.0001
  Prefactor  = 11.2716
  Prefactor  = 0.000100014
  norm       = 7.57193
  Prefactor  = 1.65293
  Prefactor  = 0.0001
  Prefactor  = 12.8213
  norm       = 1.35623
  Normalizat = 0.662458
  Prefactor  = 1.08684
 **********
 **   18 **HESSE 
 **********

 FCN=   5688.712     FROM HESSE     STATUS=OK           592 CALLS     4003 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0670        .14844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.3198        .16314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.512        22.033        .90695E-04   -1.4824    
   4  Prefactor     .10000E-03    13.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.6844        .95493E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10012E-03    20.880        .13464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    26.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .74594        3.8408        .27558E-03   -1.5535    
   9  Prefactor     .10000E-03    12.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.2297        2.9921        .93226E-04   -1.5251    
  11  norm          1.6686        1.3933        .78366E-04   -1.5450    
  12  Prefactor     .10000E-03    8.0816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .40168        .28728        .33374E-04   -1.5581    
  14  Prefactor     .10000E-03    .59471        .56545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10006E-03    21.508        .27284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.5015        .13531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.7430        2.9174        .16017E-03   -1.5444    
  18  Prefactor     9.2082        8.4552        .13207E-03   -1.5101    
  19  Prefactor     27.487        19.761        .38207E-03   -1.4659    
  20  norm          7.1369        11.179        .15013E-03   -1.5174    
  21  Prefactor     .10000E-03    24.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.272        22.414        .11930E-03   -1.5036    
  23  Prefactor     .10001E-03    23.894        .35546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          7.5719        12.642        .14575E-03   -1.5158    
  25  Prefactor     1.6529        2.7984        .15367E-03   -1.5451    
  26  Prefactor     .10000E-03    6.0981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     12.821        5.6535        .10942E-03   -1.4992    
  28  norm          1.3562        13.533        .37278E-03   -1.5475    
  29  Normalizat    .66246        .17468        .24007E-03   -1.0539    
  30  Prefactor     1.0868        .19569        .22396E-03   -.89888    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8008e-09
Minuit parameter uncertainties:
  1  5.24162e-06
  2  1.50303e-06
  3  22.0426
  4  2.89859e-05
  5  5.60029e-07
  6  0.00322491
  7  0.000466188
  8  3.38537
  9  9.92351e-05
  10  2.99222
  11  1.39329
  12  1.92473e-05
  13  0.28728
  14  1.13055e-06
  15  0.00235546
  16  1.37778e-05
  17  2.91761
  18  8.45634
  19  19.7657
  20  11.182
  21  0.000145323
  22  22.4306
  23  0.00115459
  24  12.6464
  25  2.7986
  26  1.38132e-05
  27  5.65369
  28  8.57057
  29  0.174823
  30  0.195822
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.001e-04  2.355e-03  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.087e+00  1.958e-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.625e-01  1.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/198466/likelihoodResults_479088001_479347201_4FGL_J0923.5+3852_daily_bin925.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) = 5688.71269594
delta logL = -0.0002205296787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5688.71247552
delta logL = -1.1253177945e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15975E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7113       1.0000          .0000       5.0000    
     3 'Normalizat'    .66262       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0867       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5688.685     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      271 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46304        142.35        .90712E-02    .16664E-02
   2  alpha         3.7287        4.3557        .41339        .42622E-04
   3  Normalizat    .65305        .34512E-01    .41789E-01   -.20130E-05
   4  Prefactor     1.0925        .40069E-01    .38116E-01   -.26848E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.463037
  alpha      = 3.72866
  Normalizat = 0.653051
  Prefactor  = 1.09253
 **********
 **   18 **HESSE 
 **********

 FCN=   5688.685     FROM HESSE     STATUS=OK            33 CALLS      304 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46304        66.782        .20752E-03   -1.5572    
   2  alpha         3.7287        2.8453        .73676E-01    .51377    
   3  Normalizat    .65305        .17375        .24171E-03   -1.0578    
   4  Prefactor     1.0925        .19467        .22345E-03   -.89706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69366e-09
Minuit parameter uncertainties:
  1  11.1331
  2  12.893
  3  0.173895
  4  0.194794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/198466': 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) = 5688.68475589
delta logL = 0.0277195113822

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  4.630e-01  1.113e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  3.729e+00  1.289e+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.093e+00  1.948e-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.531e-01  1.739e-01  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/198466/cmap_HighResolution_479088001_479347201_4FGL_J0923.5+3852_daily_bin925.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.65e-05', job_status='DONE', photon_flux_upper_limit='6.22e-08', time_completed='2021-08-31 10:36:14.536426', job_id='198466', GAL2='1.09', fit_tolerance='1e-08', EG2='0.65', EG='0.66', time_epoch_completed='1630431374.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.77e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='925' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:36:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 198466: <4FGL_J0923.5+3852_daily_bin925> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin925 140.885 38.8743 479088001 479347201 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 :                                   842.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            941 sec.

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

