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


Performing analysis on: 4FGL_J1423.1+3738_daily_bin1558
RA = 215.792, Dec = 37.6452
tmin = 643161601, tmax = 643420801
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='394119', job_status='RUN', time_executed='2021-09-09 12:19:25.857390', time_epoch_executed='1631215165.86' WHERE source_name='4FGL J1423.1+3738' and cadence='daily' and bin_id='1558'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/394119

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/394119/ft1_4FGL_J1423.1+3738_daily_bin1558.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/394119/ft2_4FGL_J1423.1+3738_daily_bin1558.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/394119/ft1_4FGL_J1423.1+3738_daily_bin1558.fits outfile=/scratch/kocevski/394119/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1558.fits ra=215.792 dec=37.6452 rad=12.0 tmin=643161601.0 tmax=643420801.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 4.50
user 3.34
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/394119/ft2_4FGL_J1423.1+3738_daily_bin1558.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/394119/ft2_4FGL_J1423.1+3738_daily_bin1558.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/394119/ft1_filteredMKT_4FGL_J1423.1+3738_daily_bin1558.fits evtable="EVENTS" outfile="/scratch/kocevski/394119/ft1_filtered_4FGL_J1423.1+3738_daily_bin1558.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 2.78
user 0.38
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/394119/ft1_filtered_4FGL_J1423.1+3738_daily_bin1558.fits" evtable="EVENTS" scfile=/scratch/kocevski/394119/ft2_4FGL_J1423.1+3738_daily_bin1558.fits sctable="SC_DATA" outfile=/scratch/kocevski/394119/ltcube_643161601_643420801_4FGL_J1423.1+3738_daily_bin1558.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/394119/ft2_4FGL_J1423.1+3738_daily_bin1558.fits
.....................!
real 18.58
user 17.07
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/394119/ft1_filtered_4FGL_J1423.1+3738_daily_bin1558.fits evtable="EVENTS" scfile=/scratch/kocevski/394119/ft2_4FGL_J1423.1+3738_daily_bin1558.fits sctable="SC_DATA" expcube=/scratch/kocevski/394119/ltcube_643161601_643420801_4FGL_J1423.1+3738_daily_bin1558.fits outfile=/scratch/kocevski/394119/expmap_643161601_643420801_4FGL_J1423.1+3738_daily_bin1558.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/394119/ltcube_643161601_643420801_4FGL_J1423.1+3738_daily_bin1558.fits
.....................!
real 195.43
user 186.03
sys 4.34

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

Setting source of interest to:
4FGL J1423.1+3738 @ 215.792 37.6452

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/394119/ft1_filtered_4FGL_J1423.1+3738_daily_bin1558.fits scfile=/scratch/kocevski/394119/ft2_4FGL_J1423.1+3738_daily_bin1558.fits outfile=/scratch/kocevski/394119/cmap_643161601_643420801_4FGL_J1423.1+3738_daily_bin1558.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=215.792 yref=37.6452 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.76
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/394119/ft1_filtered_4FGL_J1423.1+3738_daily_bin1558.fits scfile=/scratch/kocevski/394119/ft2_4FGL_J1423.1+3738_daily_bin1558.fits outfile=/scratch/kocevski/394119/cmap_HighResolution_643161601_643420801_4FGL_J1423.1+3738_daily_bin1558.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=215.792 yref=37.6452 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.97
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/394119/ft1_filtered_4FGL_J1423.1+3738_daily_bin1558.fits evtable="EVENTS" scfile=/scratch/kocevski/394119/ft2_4FGL_J1423.1+3738_daily_bin1558.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/394119/Model_4FGL_J1423.1+3738_daily_bin1558.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/394119/ft1_filtered_4FGL_J1423.1+3738_daily_bin1558.fits....................!
real 49.84
user 39.84
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/394119/ft1_filtered_4FGL_J1423.1+3738_daily_bin1558.fits', '/scratch/kocevski/394119/ft2_4FGL_J1423.1+3738_daily_bin1558.fits', expMap='/scratch/kocevski/394119/expmap_643161601_643420801_4FGL_J1423.1+3738_daily_bin1558.fits', expCube='/scratch/kocevski/394119/ltcube_643161601_643420801_4FGL_J1423.1+3738_daily_bin1558.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/394119/Model_4FGL_J1423.1+3738_daily_bin1558.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1423.1+3738'

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  3.465e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/394119/ft1_filtered_4FGL_J1423.1+3738_daily_bin1558.fits
Spacecraft file(s): /scratch/kocevski/394119/ft2_4FGL_J1423.1+3738_daily_bin1558.fits
Exposure map: /scratch/kocevski/394119/expmap_643161601_643420801_4FGL_J1423.1+3738_daily_bin1558.fits
Exposure cube: /scratch/kocevski/394119/ltcube_643161601_643420801_4FGL_J1423.1+3738_daily_bin1558.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/394119/Model_4FGL_J1423.1+3738_daily_bin1558.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) = 5034.16337609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.880       1.0000         .10000E-03   10000.    
     3 'norm      '    2.5691       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5874       1.0000         .10000E-03   10000.    
     5 'norm      '    25.699       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.6441       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.568       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.696       1.0000         .10000E-03   10000.    
    15 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.688       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.7998       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20725E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0210       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .69614       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5034.134     FROM MIGRAD    STATUS=CONVERGED    602 CALLS     2639 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.579        .62096E-05** at limit **
   2  Prefactor     11.847        70.954       -.84238E-04    .10803E-04
   3  norm          2.5695        1.5528       -.99449E-07    .34101E-04
   4  Prefactor     3.5880        3.3227       -.58395E-06   -.17148E-03
   5  norm          25.704        15.134        .12859E-05    .69779E-04
   6  Prefactor     .10000E-03    6.3299        .39604E-05** at limit **
   7  Prefactor     .10000E-03    2.1331       -.59563E-07** at limit **
   8  Prefactor     .10000E-03    21.074        .19282E-05** at limit **
   9  norm          1.6442        2.7680       -.47995E-06   -.49412E-03
  10  Prefactor     .10000E-03    4.3064       -.32327E-06** at limit **
  11  Prefactor     .10000E-03    19.734       -.11979E-06** at limit **
  12  Prefactor     10.569        4.4184       -.35316E-06    .13856E-03
  13  norm          .10000E-03    3.7987        .14668E-06** at limit **
  14  Prefactor     24.700        21.037        .27827E-05    .44593E-04
  15  norm          .10000E-03    1.5762        .24373E-06** at limit **
  16  Prefactor     25.661        38.238       -.38267E-04    .29982E-04
  17  Prefactor     .10000E-03    7.7533       -.57580E-05** at limit **
  18  norm          4.7993        4.7712        .18303E-06    .26581E-03
  19  Prefactor     .10000E-03    14.426       -.52726E-05** at limit **
  20  Prefactor     .10001E-03    4.8755       -.13010E-05** at limit **
  21  norm          .10000E-03    .70315       -.68831E-07** at limit **
  22  Prefactor     .10000E-03    6.5978       -.26178E-05** at limit **
  23  Prefactor     .10000E-03    33.502       -.33597E-05** at limit **
  24  Prefactor     .10000E-03    9.5613        .81591E-05** at limit **
  25  Normalizat    1.0206        .16717        .59668E-05   -.25843E-04
  26  Prefactor     .69655        .18630       -.60864E-06    .39183E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.8469
  norm       = 2.56949
  Prefactor  = 3.58795
  norm       = 25.7038
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.64421
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5692
  norm       = 0.0001
  Prefactor  = 24.6999
  norm       = 0.0001
  Prefactor  = 25.6609
  Prefactor  = 0.0001
  norm       = 4.79932
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.02063
  Prefactor  = 0.696553
 **********
 **   18 **HESSE 
 **********

 FCN=   5034.134     FROM HESSE     STATUS=OK           454 CALLS     3093 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.847        71.704        .11622E-03   -1.5019    
   3  norm          2.5695        1.5492        .65801E-04   -1.5387    
   4  Prefactor     3.5880        3.3206        .11997E-03   -1.5329    
   5  norm          25.704        15.144        .79021E-04   -1.4694    
   6  Prefactor     .10000E-03    6.3353        .17433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.1465        .10119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.6442        2.7422        .14812E-03   -1.5452    
  10  Prefactor     .10000E-03    4.3268        .14378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.502        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.569        4.4245        .91746E-04   -1.5058    
  13  norm          .10000E-03    3.7996        .13506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.700        21.054        .80607E-04   -1.4714    
  15  norm          .10000E-03    1.5790        .86987E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.661        38.238        .79038E-04   -1.4694    
  17  Prefactor     .10000E-03    7.7586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.7993        4.7760        .15084E-03   -1.5270    
  19  Prefactor     .10000E-03    14.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    14.034        .30105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .73228        .11573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.6636        .17802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    33.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.5715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0206        .20230        .19978E-03   -.92343    
  26  Prefactor     .69655        .22578        .27483E-03   -1.0366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36208e-09
Minuit parameter uncertainties:
  1  2.74764e-05
  2  58.3958
  3  1.54926
  4  3.32079
  5  15.1464
  6  6.76792e-06
  7  1.12237e-05
  8  0.000202303
  9  2.74242
  10  1.41667e-06
  11  2.02798e-05
  12  4.42461
  13  2.94346e-06
  14  21.0603
  15  2.30621e-05
  16  38.2748
  17  1.29087e-05
  18  4.77635
  19  3.51577e-05
  20  0.000753352
  21  4.28162e-06
  22  2.97946e-05
  23  4.53498e-05
  24  2.00477e-05
  25  0.202452
  26  0.226081
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.000e-04  2.943e-06  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  6.966e-01  2.261e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  1.021e+00  2.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 215.792 37.645
Photon Flux Upper Limit: 2.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.87e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/394119/likelihoodResults_643161601_643420801_4FGL_J1423.1+3738_daily_bin1558.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) = 5034.13501652
delta logL = -0.00121844564364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5034.13379801
delta logL = 6.57810232951e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9134       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69652       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+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=   5034.134     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      237 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    164.81        .13619E-01** at limit **
   2  alpha         1.4953        3.0906        .17073       -.64590E-08
   3  Normalizat    1.0206        .25006E-01    .19978E-03   -.10210E-03
   4  Prefactor     .69655        .29036E-01    .27483E-03   -.47984E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.49525
  Normalizat = 1.02063
  Prefactor  = 0.696546
 **********
 **   18 **HESSE 
 **********

 FCN=   5034.134     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.3513        .14436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4953        4.0294        .68293E-02   -.41359    
   3  Normalizat    1.0206        .19279        .39956E-04   -.92342    
   4  Prefactor     .69655        .22373        .10993E-04   -1.0366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00018e-11
Minuit parameter uncertainties:
  1  3.67439e-05
  2  238.589
  3  0.192927
  4  0.224021
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/394119': 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) = 5034.13379643
delta logL = 1.64211724041e-06

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  1.000e-04  3.674e-05  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.495e+00  2.386e+02  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.446e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  6.965e-01  2.240e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  1.021e+00  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 215.792 37.645

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/394119/cmap_HighResolution_643161601_643420801_4FGL_J1423.1+3738_daily_bin1558.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.87e-05', job_status='DONE', photon_flux_upper_limit='2.40e-08', time_completed='2021-09-09 12:30:22.926157', job_id='394119', GAL2='0.70', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1631215822.93', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='1.64e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1558' AND source_name='4FGL J1423.1+3738' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 12:30:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 394119: <4FGL_J1423.1+3738_daily_bin1558> in cluster <slac> Done

Job <4FGL_J1423.1+3738_daily_bin1558> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 12:17:11 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 12:17:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 12:17:12 2021
Terminated at Thu Sep  9 12:30:23 2021
Results reported at Thu Sep  9 12:30:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1423.1+3738_daily_bin1558 215.792 37.6452 643161601 643420801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1423.1+3738 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   631.58 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            792 sec.

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

