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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1392
RA = 140.895, Dec = 41.4283
tmin = 600134401, tmax = 600393601
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='214177', job_status='RUN', time_executed='2021-08-31 11:08:31.064339', time_epoch_executed='1630433311.06' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214177

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214177/ft1_4FGL_J0923.5+4125_daily_bin1392.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214177/ft2_4FGL_J0923.5+4125_daily_bin1392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214177/ft1_4FGL_J0923.5+4125_daily_bin1392.fits outfile=/scratch/kocevski/214177/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1392.fits ra=140.895 dec=41.4283 rad=12.0 tmin=600134401.0 tmax=600393601.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 5.87
user 4.64
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/214177/ft2_4FGL_J0923.5+4125_daily_bin1392.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/214177/ft2_4FGL_J0923.5+4125_daily_bin1392.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/214177/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1392.fits evtable="EVENTS" outfile="/scratch/kocevski/214177/ft1_filtered_4FGL_J0923.5+4125_daily_bin1392.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.44
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214177/ft1_filtered_4FGL_J0923.5+4125_daily_bin1392.fits" evtable="EVENTS" scfile=/scratch/kocevski/214177/ft2_4FGL_J0923.5+4125_daily_bin1392.fits sctable="SC_DATA" outfile=/scratch/kocevski/214177/ltcube_600134401_600393601_4FGL_J0923.5+4125_daily_bin1392.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/214177/ft2_4FGL_J0923.5+4125_daily_bin1392.fits
.....................!
real 12.00
user 11.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214177/ft1_filtered_4FGL_J0923.5+4125_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/214177/ft2_4FGL_J0923.5+4125_daily_bin1392.fits sctable="SC_DATA" expcube=/scratch/kocevski/214177/ltcube_600134401_600393601_4FGL_J0923.5+4125_daily_bin1392.fits outfile=/scratch/kocevski/214177/expmap_600134401_600393601_4FGL_J0923.5+4125_daily_bin1392.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/214177/ltcube_600134401_600393601_4FGL_J0923.5+4125_daily_bin1392.fits
.....................!
real 196.05
user 185.17
sys 5.50

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 213 point sources and 0 extended sources

Setting source of interest to:
4FGL J0923.5+4125 @ 140.895 41.4283

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/214177/ft1_filtered_4FGL_J0923.5+4125_daily_bin1392.fits scfile=/scratch/kocevski/214177/ft2_4FGL_J0923.5+4125_daily_bin1392.fits outfile=/scratch/kocevski/214177/cmap_600134401_600393601_4FGL_J0923.5+4125_daily_bin1392.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.895 yref=41.4283 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214177/ft1_filtered_4FGL_J0923.5+4125_daily_bin1392.fits scfile=/scratch/kocevski/214177/ft2_4FGL_J0923.5+4125_daily_bin1392.fits outfile=/scratch/kocevski/214177/cmap_HighResolution_600134401_600393601_4FGL_J0923.5+4125_daily_bin1392.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.895 yref=41.4283 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.56
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/214177/ft1_filtered_4FGL_J0923.5+4125_daily_bin1392.fits', '/scratch/kocevski/214177/ft2_4FGL_J0923.5+4125_daily_bin1392.fits', expMap='/scratch/kocevski/214177/expmap_600134401_600393601_4FGL_J0923.5+4125_daily_bin1392.fits', expCube='/scratch/kocevski/214177/ltcube_600134401_600393601_4FGL_J0923.5+4125_daily_bin1392.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/214177/Model_4FGL_J0923.5+4125_daily_bin1392.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0923.5+4125'

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.066e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/214177/ft1_filtered_4FGL_J0923.5+4125_daily_bin1392.fits
Spacecraft file(s): /scratch/kocevski/214177/ft2_4FGL_J0923.5+4125_daily_bin1392.fits
Exposure map: /scratch/kocevski/214177/expmap_600134401_600393601_4FGL_J0923.5+4125_daily_bin1392.fits
Exposure cube: /scratch/kocevski/214177/ltcube_600134401_600393601_4FGL_J0923.5+4125_daily_bin1392.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/214177/Model_4FGL_J0923.5+4125_daily_bin1392.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) = 5552.72361935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10031E-03   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      '    5.1962       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.6190       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.0601       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9335       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .40694       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .13410E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8310       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.6890       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10136E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11193E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.8702       1.0000         .10000E-03   10000.    
    25 'Prefactor '    15.145       1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.0137       1.0000         .10000E-03   10000.    
    27 'norm      '    .11497E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    6.7400       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .18898E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    6.8236       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .76385       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.2600       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5552.579     FROM MIGRAD    STATUS=CONVERGED    900 CALLS     3964 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.1114        .24026E-07** at limit **
   2  Prefactor     .10000E-03    2.2848        .17541E-08** at limit **
   3  Prefactor     .10000E-03    9.9249       -.12973E-05** at limit **
   4  Prefactor     .10000E-03    2.6634        .17065E-08** at limit **
   5  norm          5.1961        5.4908        .18281E-06    .81221E-04
   6  norm          .10000E-03    2.1061       -.22393E-07** at limit **
   7  Prefactor     5.6191        3.1457        .11910E-06    .21875E-03
   8  Prefactor     5.0609        20.457        .51020E-06    .24345E-04
   9  Prefactor     .10000E-03    52.765       -.34215E-05** at limit **
  10  Prefactor     .10000E-03    1.1222        .23845E-07** at limit **
  11  Prefactor     .10000E-03    52.870       -.29703E-05** at limit **
  12  Prefactor     3.9341        3.8313       -.12948E-06    .15806E-03
  13  norm          .10000E-03    1.4134       -.42928E-08** at limit **
  14  Prefactor     .10000E-03    7.5359        .25677E-06** at limit **
  15  norm          .40685        .36286        .59963E-07    .11656E-02
  16  Prefactor     .10000E-03    1.6446        .35896E-07** at limit **
  17  norm          .10006E-03    11.769       -.77041E-05** at limit **
  18  Prefactor     5.8311        2.9304        .30379E-07    .25922E-03
  19  Prefactor     6.6887        9.3872        .82525E-06    .53833E-04
  20  Prefactor     .10000E-03    4.2734        .96728E-07** at limit **
  21  Prefactor     .10000E-03    10.450        .13468E-05** at limit **
  22  norm          .10000E-03    15.327        .79114E-06** at limit **
  23  Prefactor     .10000E-03    43.002        .16472E-05** at limit **
  24  Prefactor     5.8712        8.2716        .14137E-05    .26397E-03
  25  Prefactor     15.146        34.300       -.14306E-05   -.11974E-03
  26  Prefactor     3.0152        6.4993        .41826E-05    .51054E-03
  27  norm          .10000E-03    19.567       -.16060E-05** at limit **
  28  Prefactor     6.7399        6.1583        .11833E-05    .66027E-03
  29  Prefactor     .10000E-03    4.8233       -.74150E-06** at limit **
  30  Prefactor     .10000E-03    87.811        .45528E-05** at limit **
  31  norm          6.8172        12.370       -.21815E-06   -.19778E-03
  32  Normalizat    .76374        .18706       -.14570E-05    .10413E-03
  33  Prefactor     1.2601        .20237       -.54652E-07    .96344E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.19612
  norm       = 0.0001
  Prefactor  = 5.61912
  Prefactor  = 5.06087
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.93412
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.406849
  Prefactor  = 0.0001
  norm       = 0.000100059
  Prefactor  = 5.83105
  Prefactor  = 6.68867
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.87118
  Prefactor  = 15.1462
  Prefactor  = 3.01525
  norm       = 0.000100001
  Prefactor  = 6.73995
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.81721
  Normalizat = 0.763738
  Prefactor  = 1.26009
 **********
 **   18 **HESSE 
 **********

 FCN=   5552.579     FROM HESSE     STATUS=OK           695 CALLS     4659 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.1293        .17991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.3737        .21985E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.9435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.6652        .11876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.1961        5.4829        .17195E-03   -1.5252    
   6  norm          .10000E-03    2.1096        .10559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.6191        3.1383        .93182E-04   -1.5234    
   8  Prefactor     5.0609        20.401        .17875E-03   -1.5258    
   9  Prefactor     .10000E-03    52.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.1247        .77083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    53.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.9341        3.8092        .13230E-03   -1.5311    
  13  norm          .10000E-03    1.4252        .86508E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.5483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .40685        .32247        .37718E-03   -1.5580    
  16  Prefactor     .10000E-03    2.7520        .16983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10006E-03    25.806        .33499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.8311        2.9051        .83604E-04   -1.5225    
  19  Prefactor     6.6887        9.3951        .77575E-03   -1.5191    
  20  Prefactor     .10000E-03    4.3490        .14996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    15.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    43.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.8712        8.3109        .82875E-03   -1.5223    
  25  Prefactor     15.146        34.544        .10292E-03   -1.4929    
  26  Prefactor     3.0152        6.9237        .11689E-02   -1.5361    
  27  norm          .10000E-03    20.126        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     6.7399        6.1946        .77278E-03   -1.5189    
  29  Prefactor     .10000E-03    23.081        .31102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    88.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          6.8172        12.383        .15360E-03   -1.5186    
  32  Normalizat    .76374        .21690        .26381E-03   -1.0143    
  33  Prefactor     1.2601        .23909        .24604E-03   -.84502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25397e-09
Minuit parameter uncertainties:
  1  3.17401e-06
  2  2.7922e-06
  3  4.11514e-05
  4  1.10392e-06
  5  5.48342
  6  9.17712e-07
  7  3.13837
  8  20.3339
  9  0.000276061
  10  7.72972e-07
  11  4.61565e-05
  12  3.80944
  13  4.90905e-08
  14  3.31388e-05
  15  0.322467
  16  9.3759e-06
  17  0.00247787
  18  2.90521
  19  9.39714
  20  1.25909e-06
  21  4.94344e-05
  22  5.69255e-05
  23  0.000172413
  24  8.31251
  25  34.5893
  26  6.92556
  27  0.000262854
  28  6.19522
  29  0.000167254
  30  0.0002032
  31  12.3873
  32  0.217146
  33  0.239297
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  5.831e+00  2.905e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.260e+00  2.393e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  7.637e-01  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.92
Ra Dec: 140.895 41.428
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 8.12e-08 +/- 4.04e-08
Energy Flux (Fixed Index): 2.83e-05 +/- 1.41e-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) = 5552.5781698
delta logL = 0.000433022146353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5552.57791225
delta logL = 0.000690571718224

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7557       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3707       1.0000          .0000       10.000    
     3 'Normalizat'    .76276       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2609       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5552.578     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      195 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7557        56.388        .41854E-02    .87707E-04
   2  Index         2.3708        3.3671        .12605        .91983E-04
   3  Normalizat    .76276        .10226        .43122E-01    .39115E-04
   4  Prefactor     1.2609        .10008        .55630E-01   -.30684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.7557
  Index      = 2.37076
  Normalizat = 0.762757
  Prefactor  = 1.26086
 **********
 **   18 **HESSE 
 **********

 FCN=   5552.578     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7557        3.5603        .82901E-04   -1.5228    
   2  Index         2.3708        .42791        .50110E-02   -.55371    
   3  Normalizat    .76276        .20479        .26396E-03   -1.0147    
   4  Prefactor     1.2609        .23765        .24598E-03   -.84479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91085e-11
Minuit parameter uncertainties:
  1  3.56038
  2  0.428638
  3  0.204996
  4  0.23785
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214177': 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) = 5552.57791225
delta logL = 0.000690574621331

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  5.756e+00  3.560e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        Index:  2.371e+00  4.286e-01  0.000e+00  1.000e+01 (-1.000e+00)
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.261e+00  2.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  7.628e-01  2.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.95
Ra Dec: 140.895 41.428
Photon Index (Free Index): 2.37 +/- 0.43
Photon Flux (Free Index): 8.21e-08 +/- 4.49e-08
Energy Flux (Free Index): 2.80e-05 +/- 1.65e-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/214177/cmap_HighResolution_600134401_600393601_4FGL_J0923.5+4125_daily_bin1392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.12e-08', energy_flux2='2.80e-05', photon_flux_error='4.04e-08', dlogl='6.91e-04', energy_flux='2.83e-05', photon_flux2='8.21e-08', job_status='DONE', time_completed='2021-08-31 11:22:00.028662', photon_index_error2='0.43', photon_index2='2.37', ts='8.92', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', energy_flux_error2='1.65e-05', EG='0.76', time_epoch_completed='1630434120.03', return_code='0', job_id='214177', GAL2='1.26', EG2='0.76', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='4.49e-08', ts2='8.95', photon_index='2.36' WHERE bin_id='1392' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:22:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 214177: <4FGL_J0923.5+4125_daily_bin1392> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1392> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 11:05:51 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:05:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:05:52 2021
Terminated at Tue Aug 31 11:22:02 2021
Results reported at Tue Aug 31 11:22:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1392 140.895 41.4283 600134401 600393601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+4125 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   791.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             282.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            971 sec.

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

