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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin605
RA = 140.885, Dec = 38.8743
tmin = 396144001, tmax = 396403201
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='194765', job_status='RUN', time_executed='2021-08-31 10:11:36.296321', time_epoch_executed='1630429896.3' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='605'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194765

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194765/ft1_4FGL_J0923.5+3852_daily_bin605.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194765/ft2_4FGL_J0923.5+3852_daily_bin605.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194765/ft1_4FGL_J0923.5+3852_daily_bin605.fits outfile=/scratch/kocevski/194765/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin605.fits ra=140.885 dec=38.8743 rad=12.0 tmin=396144001.0 tmax=396403201.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 3.13
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194765/ft1_filtered_4FGL_J0923.5+3852_daily_bin605.fits" evtable="EVENTS" scfile=/scratch/kocevski/194765/ft2_4FGL_J0923.5+3852_daily_bin605.fits sctable="SC_DATA" outfile=/scratch/kocevski/194765/ltcube_396144001_396403201_4FGL_J0923.5+3852_daily_bin605.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/194765/ft2_4FGL_J0923.5+3852_daily_bin605.fits
.....................!
real 11.86
user 11.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194765/ft1_filtered_4FGL_J0923.5+3852_daily_bin605.fits evtable="EVENTS" scfile=/scratch/kocevski/194765/ft2_4FGL_J0923.5+3852_daily_bin605.fits sctable="SC_DATA" expcube=/scratch/kocevski/194765/ltcube_396144001_396403201_4FGL_J0923.5+3852_daily_bin605.fits outfile=/scratch/kocevski/194765/expmap_396144001_396403201_4FGL_J0923.5+3852_daily_bin605.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/194765/ltcube_396144001_396403201_4FGL_J0923.5+3852_daily_bin605.fits
.....................!
real 190.18
user 185.17
sys 4.53

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/194765/ft1_filtered_4FGL_J0923.5+3852_daily_bin605.fits scfile=/scratch/kocevski/194765/ft2_4FGL_J0923.5+3852_daily_bin605.fits outfile=/scratch/kocevski/194765/cmap_396144001_396403201_4FGL_J0923.5+3852_daily_bin605.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194765/ft1_filtered_4FGL_J0923.5+3852_daily_bin605.fits scfile=/scratch/kocevski/194765/ft2_4FGL_J0923.5+3852_daily_bin605.fits outfile=/scratch/kocevski/194765/cmap_HighResolution_396144001_396403201_4FGL_J0923.5+3852_daily_bin605.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.54
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.671       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.4761       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.0217       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13095       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.0874       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.551       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .39413E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    .88566       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .70316E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .55087       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.727       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .64454       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    5.3572       1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.6275       1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.829       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    11.505       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .99601       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1031       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=   5995.081     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     3277 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.672        1.0198        .41953E-08    .45511E-04
   2  Prefactor     3.4763        3.0931        .23799E-05   -.77340E-04
   3  Prefactor     .10013E-03    6.0782        .13708E-04** at limit **
   4  Prefactor     .10000E-03    2.2879       -.58158E-06** at limit **
   5  norm          6.0226        1.6626        .48480E-05    .77959E-02
   6  Prefactor     .13074        1.5692       -.20808E-06   -.15886E-03
   7  Prefactor     .10002E-03    13.416       -.32921E-04** at limit **
   8  Prefactor     2.0872        1.0965       -.19703E-05   -.32945E-02
   9  Prefactor     22.472        31.855       -.48941E-04    .12470E-02
  10  Prefactor     .81325E-01    44.833        .21969E-05    .24639E-03
  11  norm          .88565        .92530       -.47253E-06   -.36042E-03
  12  Prefactor     .10166E-03    3.4936        .63507E-05** at limit **
  13  norm          .55083        .33897       -.55774E-06    .82886E-04
  14  Prefactor     .10000E-03    1.4668        .24697E-05** at limit **
  15  norm          11.716        1.8718        .31369E-05   -.29470E-03
  16  Prefactor     .63523        2.9003        .36186E-05   -.64242E-04
  17  Prefactor     .10000E-03    2.0488        .12052E-05** at limit **
  18  Prefactor     .10000E-03    2.0733       -.14592E-05** at limit **
  19  Prefactor     .10001E-03    6.0799        .83258E-05** at limit **
  20  norm          .10014E-03    5.8160       -.12287E-04** at limit **
  21  Prefactor     .10009E-03    12.007        .28531E-04** at limit **
  22  Prefactor     .10000E-03    27.073       -.26991E-04** at limit **
  23  Prefactor     .10000E-03    3.5994       -.13786E-06** at limit **
  24  norm          5.3600        1.1190       -.44120E-06   -.21287E-03
  25  Prefactor     8.6293        4.9358        .10923E-05    .12962E-02
  26  Prefactor     10.827        1.4429        .22350E-05    .56349E-04
  27  Prefactor     .10000E-03    2.5196       -.17124E-05** at limit **
  28  norm          11.507        1.0847       -.50372E-06   -.14385E-03
  29  Normalizat    .99579        .19665        .56116E-06    .42132E-04
  30  Prefactor     1.1032        .21839       -.18125E-05    .67858E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6719
  Prefactor  = 3.47629
  Prefactor  = 0.000100135
  Prefactor  = 0.0001
  norm       = 6.02264
  Prefactor  = 0.130744
  Prefactor  = 0.000100024
  Prefactor  = 2.0872
  Prefactor  = 22.4718
  Prefactor  = 0.0813251
  norm       = 0.885645
  Prefactor  = 0.000101664
  norm       = 0.55083
  Prefactor  = 0.0001
  norm       = 11.7158
  Prefactor  = 0.635233
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  norm       = 0.00010014
  Prefactor  = 0.000100088
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.36005
  Prefactor  = 8.62929
  Prefactor  = 10.8271
  Prefactor  = 0.0001
  norm       = 11.5073
  Normalizat = 0.995792
  Prefactor  = 1.10325
 **********
 **   18 **HESSE 
 **********

 FCN=   5995.081     FROM HESSE     STATUS=OK           662 CALLS     3939 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.672        11.871        .30662E-02   -1.5054    
   2  Prefactor     3.4763        3.2088        .54222E-02   -1.5335    
   3  Prefactor     .10013E-03    10.609        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.2841        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.0226        5.6971        .40906E-02   -1.5217    
   6  Prefactor     .13074        .88061        .27474E-01   -1.5636    
   7  Prefactor     .10002E-03    15.840        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.0872        3.4373        .71440E-02   -1.5419    
   9  Prefactor     22.472        32.878        .21087E-02   -1.4760    
  10  Prefactor     .81325E-01    2.1207        .67304E-01   -1.5651    
  11  norm          .88565        .89402        .12755E-01   -1.5520    
  12  Prefactor     .10166E-03    50.252        .10489E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55083        .34830        .77042E-02   -1.5560    
  14  Prefactor     .10000E-03    1.4371        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.716        9.7612        .29246E-02   -1.5023    
  16  Prefactor     .63523        3.3753        .11847E-01   -1.5549    
  17  Prefactor     .10000E-03    2.0116        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.0718        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    16.362        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10014E-03    10.643        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10009E-03    17.355        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.660        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.5919        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          5.3600        9.7554        .43408E-02   -1.5245    
  25  Prefactor     8.6293        4.9685        .34118E-02   -1.5120    
  26  Prefactor     10.827        33.600        .30438E-02   -1.5050    
  27  Prefactor     .10000E-03    2.5060        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          11.507        10.400        .29527E-02   -1.5029    
  29  Normalizat    .99579        .17318        .46117E-01   -.93172    
  30  Prefactor     1.1032        .18563        .58519E-01   -.89363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12247e-07
Minuit parameter uncertainties:
  1  11.8736
  2  3.20895
  3  0.00239219
  4  2.19374e-05
  5  5.69765
  6  0.678383
  7  0.00122462
  8  3.4376
  9  32.9049
  10  0.830111
  11  0.894038
  12  0.0183066
  13  0.348298
  14  1.93878e-05
  15  9.76257
  16  2.92857
  17  6.30083e-06
  18  4.02213e-06
  19  0.000822144
  20  0.00244486
  21  0.00247125
  22  0.000227032
  23  1.56353e-05
  24  9.7583
  25  4.96875
  26  33.6591
  27  1.05288e-05
  28  10.4013
  29  0.173274
  30  0.185739
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.172e+01  9.763e+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.103e+00  1.857e-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:  9.958e-01  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.39
Ra Dec: 140.885 38.874
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 4.79e-08 +/- 3.99e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.06e-05

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

Saving results to:
/scratch/kocevski/194765/likelihoodResults_396144001_396403201_4FGL_J0923.5+3852_daily_bin605.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) = 5994.21900273
delta logL = 0.861839635304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5994.21847542
delta logL = 0.862366945364

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3935       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6932       1.0000          .0000       5.0000    
     3 'Normalizat'    .93521       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1471       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=   5994.218     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      295 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3949        8.4083        .10612E-03   -.26147E-02
   2  alpha         3.6934        1.0129        .14634E-01   -.18204E-03
   3  Normalizat    .93516        .19867        .24353E-03    .32618E-03
   4  Prefactor     1.1471        .22098        .25439E-03    .44506E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.39492
  alpha      = 3.69345
  Normalizat = 0.935164
  Prefactor  = 1.14711
 **********
 **   18 **HESSE 
 **********

 FCN=   5994.218     FROM HESSE     STATUS=OK            23 CALLS      318 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3949        7.0747        .42446E-05   -1.5202    
   2  alpha         3.6934        .86076        .58538E-03    .49767    
   3  Normalizat    .93516        .19864        .48706E-04   -.95235    
   4  Prefactor     1.1471        .22083        .50878E-04   -.87975    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08331e-09
Minuit parameter uncertainties:
  1  7.07564
  2  0.884465
  3  0.198798
  4  0.22101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194765': 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) = 5994.21847501
delta logL = 0.86236735792

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  6.395e+00  7.076e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  3.693e+00  8.845e-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.147e+00  2.210e-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:  9.352e-01  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.30
Ra Dec: 140.885 38.874
Photon Index (Free Index): 3.69 +/- 0.88
Photon Flux (Free Index): 9.37e-08 +/- 5.85e-08
Energy Flux (Free Index): 1.61e-05 +/- 9.48e-06

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/194765/cmap_HighResolution_396144001_396403201_4FGL_J0923.5+3852_daily_bin605.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-05', comment='SUCCESS', photon_flux='4.79e-08', energy_flux2='1.61e-05', photon_flux_error='3.99e-08', dlogl='8.62e-01', energy_flux='1.27e-05', photon_flux2='9.37e-08', job_status='DONE', time_completed='2021-08-31 10:26:05.842909', photon_index_error2='0.88', photon_index2='3.69', ts='2.39', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.27e-07', energy_flux_error2='9.48e-06', EG='1.00', time_epoch_completed='1630430765.84', return_code='0', job_id='194765', GAL2='1.15', EG2='0.94', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='5.85e-08', ts2='4.30', photon_index='2.61' WHERE bin_id='605' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:26:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0256>
Subject: Job 194765: <4FGL_J0923.5+3852_daily_bin605> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin605> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 10:10:46 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:10:48 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:10:48 2021
Terminated at Tue Aug 31 10:26:06 2021
Results reported at Tue Aug 31 10:26:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin605 140.885 38.8743 396144001 396403201 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 :                                   864.39 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             360.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            920 sec.

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

