/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 120 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 = 7404
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1419.4-0838_daily_bin153
RA = 214.86, Dec = -8.6417
tmin = 278985601, tmax = 279244801
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='332587', job_status='RUN', time_executed='2021-09-09 08:57:35.668967', time_epoch_executed='1631203055.67' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='153'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332587

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332587/ft1_4FGL_J1419.4-0838_daily_bin153.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332587/ft2_4FGL_J1419.4-0838_daily_bin153.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332587/ft1_4FGL_J1419.4-0838_daily_bin153.fits outfile=/scratch/kocevski/332587/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin153.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=278985601.0 tmax=279244801.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.79
user 3.53
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/332587/ft2_4FGL_J1419.4-0838_daily_bin153.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/332587/ft2_4FGL_J1419.4-0838_daily_bin153.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/332587/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin153.fits evtable="EVENTS" outfile="/scratch/kocevski/332587/ft1_filtered_4FGL_J1419.4-0838_daily_bin153.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332587/ft1_filtered_4FGL_J1419.4-0838_daily_bin153.fits" evtable="EVENTS" scfile=/scratch/kocevski/332587/ft2_4FGL_J1419.4-0838_daily_bin153.fits sctable="SC_DATA" outfile=/scratch/kocevski/332587/ltcube_278985601_279244801_4FGL_J1419.4-0838_daily_bin153.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/332587/ft2_4FGL_J1419.4-0838_daily_bin153.fits
.....................!
real 11.62
user 11.28
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332587/ft1_filtered_4FGL_J1419.4-0838_daily_bin153.fits evtable="EVENTS" scfile=/scratch/kocevski/332587/ft2_4FGL_J1419.4-0838_daily_bin153.fits sctable="SC_DATA" expcube=/scratch/kocevski/332587/ltcube_278985601_279244801_4FGL_J1419.4-0838_daily_bin153.fits outfile=/scratch/kocevski/332587/expmap_278985601_279244801_4FGL_J1419.4-0838_daily_bin153.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/332587/ltcube_278985601_279244801_4FGL_J1419.4-0838_daily_bin153.fits
.....................!
real 190.36
user 184.81
sys 5.08

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

Setting source of interest to:
4FGL J1419.4-0838 @ 214.86 -8.6417

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/332587/ft1_filtered_4FGL_J1419.4-0838_daily_bin153.fits scfile=/scratch/kocevski/332587/ft2_4FGL_J1419.4-0838_daily_bin153.fits outfile=/scratch/kocevski/332587/cmap_278985601_279244801_4FGL_J1419.4-0838_daily_bin153.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=214.86 yref=-8.6417 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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332587/ft1_filtered_4FGL_J1419.4-0838_daily_bin153.fits scfile=/scratch/kocevski/332587/ft2_4FGL_J1419.4-0838_daily_bin153.fits outfile=/scratch/kocevski/332587/cmap_HighResolution_278985601_279244801_4FGL_J1419.4-0838_daily_bin153.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=214.86 yref=-8.6417 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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/332587/ft1_filtered_4FGL_J1419.4-0838_daily_bin153.fits evtable="EVENTS" scfile=/scratch/kocevski/332587/ft2_4FGL_J1419.4-0838_daily_bin153.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/332587/Model_4FGL_J1419.4-0838_daily_bin153.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/332587/ft1_filtered_4FGL_J1419.4-0838_daily_bin153.fits.....................!
real 81.62
user 80.11
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/332587/ft1_filtered_4FGL_J1419.4-0838_daily_bin153.fits', '/scratch/kocevski/332587/ft2_4FGL_J1419.4-0838_daily_bin153.fits', expMap='/scratch/kocevski/332587/expmap_278985601_279244801_4FGL_J1419.4-0838_daily_bin153.fits', expCube='/scratch/kocevski/332587/ltcube_278985601_279244801_4FGL_J1419.4-0838_daily_bin153.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/332587/Model_4FGL_J1419.4-0838_daily_bin153.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1419.4-0838'

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  7.071e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.138e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  8.011e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  7.019e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/332587/ft1_filtered_4FGL_J1419.4-0838_daily_bin153.fits
Spacecraft file(s): /scratch/kocevski/332587/ft2_4FGL_J1419.4-0838_daily_bin153.fits
Exposure map: /scratch/kocevski/332587/expmap_278985601_279244801_4FGL_J1419.4-0838_daily_bin153.fits
Exposure cube: /scratch/kocevski/332587/ltcube_278985601_279244801_4FGL_J1419.4-0838_daily_bin153.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/332587/Model_4FGL_J1419.4-0838_daily_bin153.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) = 11040.125119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16244E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.305       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.866       1.0000         .10000E-03   10000.    
     5 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .51535       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.0041       1.0000         .10000E-03   10000.    
    10 'norm      '    11.914       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.734       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    245.30       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .88320       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2151       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11040.08     FROM MIGRAD    STATUS=CONVERGED    376 CALLS     1935 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.7936        .57534E-07** at limit **
   2  Prefactor     .10000E-03    2.2889        .43856E-06** at limit **
   3  Prefactor     19.307        21.314        .10509E-06   -.31632E-05
   4  Prefactor     15.863        20.591        .20125E-07   -.20560E-04
   5  norm          .10000E-03    5.7687        .11794E-06** at limit **
   6  Prefactor     .10000E-03    14.981        .37050E-07** at limit **
   7  norm          .51572        1.7431        .15481E-05   -.17222E-03
   8  Prefactor     .10000E-03    5.5728       -.29118E-06** at limit **
   9  norm          9.0047        8.6518        .10514E-07    .44572E-05
  10  norm          11.914        6.3219       -.18038E-06   -.15475E-03
  11  Prefactor     .10000E-03    7.8789       -.90794E-07** at limit **
  12  Prefactor     .10000E-03    5.9092        .32270E-07** at limit **
  13  norm          .10000E-03    2.9051       -.25685E-07** at limit **
  14  Prefactor     .10000E-03    83.560       -.21706E-05** at limit **
  15  Prefactor     33.721        9.1470        .26867E-06   -.13631E-03
  16  Prefactor     .10000E-03    79.759        .16832E-05** at limit **
  17  Prefactor     245.27        59.874       -.15543E-05   -.27431E-03
  18  Normalizat    .88310        .19843       -.99537E-06   -.16812E-03
  19  Prefactor     1.2151        .10368        .15471E-06   -.35096E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 19.3065
  Prefactor  = 15.8627
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.515723
  Prefactor  = 0.0001
  norm       = 9.00469
  norm       = 11.9144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 33.7214
  Prefactor  = 0.000100001
  Prefactor  = 245.267
  Normalizat = 0.883098
  Prefactor  = 1.21515
 **********
 **   18 **HESSE 
 **********

 FCN=   11040.08     FROM HESSE     STATUS=OK           264 CALLS     2199 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.8779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.3774        .29889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.307        21.314        .91158E-04   -1.4829    
   4  Prefactor     15.863        20.581        .10055E-03   -1.4911    
   5  norm          .10000E-03    5.9469        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .51572        1.7922        .24535E-03   -1.5564    
   8  Prefactor     .10000E-03    5.5875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.0047        8.6542        .13357E-03   -1.5108    
  10  norm          11.914        6.3225        .11606E-03   -1.5017    
  11  Prefactor     .10000E-03    7.9008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.9135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.9109        .17489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    84.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     33.721        9.1666        .68994E-04   -1.4546    
  16  Prefactor     .10000E-03    80.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     245.27        62.177        .12929E-03   -1.2563    
  18  Normalizat    .88310        .21909        .40253E-03   -.97057    
  19  Prefactor     1.2151        .11622        .18510E-03   -.85866    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11438e-10
Minuit parameter uncertainties:
  1  2.12648e-07
  2  0.000129219
  3  21.3226
  4  20.5902
  5  9.4817e-06
  6  4.44481e-06
  7  1.79241
  8  1.60722e-05
  9  8.65541
  10  6.3229
  11  4.5829e-06
  12  3.24881e-06
  13  2.27027e-06
  14  0.000463029
  15  9.16698
  16  0.000630063
  17  62.1933
  18  0.219309
  19  0.116247
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.191e+01  6.323e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.138e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  8.011e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  7.019e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.215e+00  1.162e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  8.831e-01  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.85
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 5.83e-08 +/- 3.09e-08
Energy Flux (Fixed Index): 2.57e-05 +/- 1.36e-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) = 11039.3220729
delta logL = 0.761599889518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11039.2696268
delta logL = 0.814045937623

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11039.27     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      213 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2010        5.5609        .33031E-02    .18126E-03
   2  alpha         1.4534        .31147        .37524       -.80923E-04
   3  Normalizat    .91544        .19279        .89429E-01    .46489E-03
   4  Prefactor     1.2087        .10258        .34429E-01    .99050E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.20105
  alpha      = 1.45341
  Normalizat = 0.91544
  Prefactor  = 1.20867
 **********
 **   18 **HESSE 
 **********

 FCN=   11039.27     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2010        7.8623        .13213E-03   -1.5101    
   2  alpha         1.4534        .51821        .14028E-01   -.43194    
   3  Normalizat    .91544        .21658        .39606E-03   -.95920    
   4  Prefactor     1.2087        .11552        .18557E-03   -.86065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36861e-10
Minuit parameter uncertainties:
  1  7.86319
  2  0.522817
  3  0.216786
  4  0.115545
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332587': 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) = 11039.2696268
delta logL = 0.814045977078

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  9.201e+00  7.863e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.453e+00  5.228e-01  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  8.011e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  7.019e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.209e+00  1.155e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.154e-01  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.46
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 1.45 +/- 0.52
Photon Flux (Free Index): 2.77e-08 +/- 2.65e-08
Energy Flux (Free Index): 5.16e-05 +/- 4.57e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/332587/cmap_HighResolution_278985601_279244801_4FGL_J1419.4-0838_daily_bin153.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.83e-08', energy_flux2='5.16e-05', photon_flux_error='3.09e-08', dlogl='8.14e-01', energy_flux='2.57e-05', photon_flux2='2.77e-08', job_status='DONE', time_completed='2021-09-09 09:08:51.041638', photon_index_error2='0.52', photon_index2='1.45', ts='8.85', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='4.57e-05', EG='0.88', time_epoch_completed='1631203731.04', return_code='0', job_id='332587', GAL2='1.21', EG2='0.92', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='2.65e-08', ts2='10.46', photon_index='2.14' WHERE bin_id='153' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:08:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 332587: <4FGL_J1419.4-0838_daily_bin153> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin153> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 08:55:25 2021
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:55:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 08:55:26 2021
Terminated at Thu Sep  9 09:08:53 2021
Results reported at Thu Sep  9 09:08:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin153 214.86 -8.6417 278985601 279244801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1419.4-0838 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   663.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            808 sec.

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

