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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin931
RA = 214.86, Dec = -8.6417
tmin = 480643201, tmax = 480902401
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='335727', job_status='RUN', time_executed='2021-09-09 09:08:39.643340', time_epoch_executed='1631203719.64' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/335727

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/335727/ft1_4FGL_J1419.4-0838_daily_bin931.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/335727/ft2_4FGL_J1419.4-0838_daily_bin931.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/335727/ft1_4FGL_J1419.4-0838_daily_bin931.fits outfile=/scratch/kocevski/335727/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin931.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=480643201.0 tmax=480902401.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.55
user 3.30
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/335727/ft2_4FGL_J1419.4-0838_daily_bin931.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/335727/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin931.fits evtable="EVENTS" outfile="/scratch/kocevski/335727/ft1_filtered_4FGL_J1419.4-0838_daily_bin931.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/335727/ft1_filtered_4FGL_J1419.4-0838_daily_bin931.fits" evtable="EVENTS" scfile=/scratch/kocevski/335727/ft2_4FGL_J1419.4-0838_daily_bin931.fits sctable="SC_DATA" outfile=/scratch/kocevski/335727/ltcube_480643201_480902401_4FGL_J1419.4-0838_daily_bin931.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/335727/ft2_4FGL_J1419.4-0838_daily_bin931.fits
.....................!
real 12.40
user 11.97
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/335727/ft1_filtered_4FGL_J1419.4-0838_daily_bin931.fits evtable="EVENTS" scfile=/scratch/kocevski/335727/ft2_4FGL_J1419.4-0838_daily_bin931.fits sctable="SC_DATA" expcube=/scratch/kocevski/335727/ltcube_480643201_480902401_4FGL_J1419.4-0838_daily_bin931.fits outfile=/scratch/kocevski/335727/expmap_480643201_480902401_4FGL_J1419.4-0838_daily_bin931.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/335727/ltcube_480643201_480902401_4FGL_J1419.4-0838_daily_bin931.fits
.....................!
real 191.42
user 185.30
sys 4.77

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/335727/ft1_filtered_4FGL_J1419.4-0838_daily_bin931.fits scfile=/scratch/kocevski/335727/ft2_4FGL_J1419.4-0838_daily_bin931.fits outfile=/scratch/kocevski/335727/cmap_480643201_480902401_4FGL_J1419.4-0838_daily_bin931.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/335727/ft1_filtered_4FGL_J1419.4-0838_daily_bin931.fits scfile=/scratch/kocevski/335727/ft2_4FGL_J1419.4-0838_daily_bin931.fits outfile=/scratch/kocevski/335727/cmap_HighResolution_480643201_480902401_4FGL_J1419.4-0838_daily_bin931.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.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/335727/ft1_filtered_4FGL_J1419.4-0838_daily_bin931.fits', '/scratch/kocevski/335727/ft2_4FGL_J1419.4-0838_daily_bin931.fits', expMap='/scratch/kocevski/335727/expmap_480643201_480902401_4FGL_J1419.4-0838_daily_bin931.fits', expCube='/scratch/kocevski/335727/ltcube_480643201_480902401_4FGL_J1419.4-0838_daily_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/335727/Model_4FGL_J1419.4-0838_daily_bin931.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/335727/ft1_filtered_4FGL_J1419.4-0838_daily_bin931.fits
Spacecraft file(s): /scratch/kocevski/335727/ft2_4FGL_J1419.4-0838_daily_bin931.fits
Exposure map: /scratch/kocevski/335727/expmap_480643201_480902401_4FGL_J1419.4-0838_daily_bin931.fits
Exposure cube: /scratch/kocevski/335727/ltcube_480643201_480902401_4FGL_J1419.4-0838_daily_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/335727/Model_4FGL_J1419.4-0838_daily_bin931.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) = 8731.22000585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9107       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.9718       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.4259       1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    42.697       1.0000         .10000E-03   10000.    
     9 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.7399       1.0000         .10000E-03   10000.    
    11 'Prefactor '    44.525       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.3860       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.665       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1023       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90583       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=   8731.170     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1885 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9111        6.4413       -.38981E-06   -.16462E-03
   2  Prefactor     6.9707        4.4166       -.21655E-05   -.26047E-03
   3  Prefactor     .10000E-03    7.6218       -.46188E-05** at limit **
   4  Prefactor     9.4250        26.454       -.12562E-05   -.83059E-05
   5  norm          .10000E-03    5.0114        .26005E-06** at limit **
   6  Prefactor     .10000E-03    9.3004        .53188E-05** at limit **
   7  norm          .10000E-03    1.4244        .17158E-07** at limit **
   8  Prefactor     42.698        25.530        .10391E-05   -.32703E-04
   9  norm          .10000E-03    12.564       -.50569E-05** at limit **
  10  norm          6.7407        7.1051       -.16588E-06   -.15964E-03
  11  Prefactor     44.526        24.987        .42435E-06   -.49189E-05
  12  Prefactor     .10000E-03    5.8619        .18496E-05** at limit **
  13  norm          .10000E-03    3.4328        .53743E-06** at limit **
  14  Prefactor     .10000E-03    20.124        .31498E-05** at limit **
  15  Prefactor     6.3863        5.0278        .10009E-06   -.31187E-03
  16  Prefactor     .10000E-03    53.298       -.18748E-05** at limit **
  17  Prefactor     19.665        29.178        .76013E-06   -.48526E-05
  18  Normalizat    1.1021        .19457       -.41395E-06   -.21998E-04
  19  Prefactor     .90593        .95165E-01    .13826E-06   -.32388E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.91106
  Prefactor  = 6.97066
  Prefactor  = 0.0001
  Prefactor  = 9.42503
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 42.6985
  norm       = 0.0001
  norm       = 6.74065
  Prefactor  = 44.5255
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.38631
  Prefactor  = 0.0001
  Prefactor  = 19.6652
  Normalizat = 1.10211
  Prefactor  = 0.905933
 **********
 **   18 **HESSE 
 **********

 FCN=   8731.170     FROM HESSE     STATUS=OK           270 CALLS     2155 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9111        6.4412        .15262E-03   -1.5182    
   2  Prefactor     6.9707        4.4612        .14924E-03   -1.5180    
   3  Prefactor     .10000E-03    7.6096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.4250        26.466        .13053E-03   -1.5094    
   5  norm          .10000E-03    5.1132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.2892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.1389        .21240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     42.698        25.538        .61351E-04   -1.4400    
   9  norm          .10000E-03    12.938        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.7407        7.0575        .15456E-03   -1.5189    
  11  Prefactor     44.526        25.013        .60084E-04   -1.4372    
  12  Prefactor     .10000E-03    5.8648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.4478        .16905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    20.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.3863        5.0139        .15883E-03   -1.5202    
  16  Prefactor     .10000E-03    53.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.665        29.147        .90321E-04   -1.4821    
  18  Normalizat    1.1021        .22449        .32835E-03   -.89684    
  19  Prefactor     .90593        .11074        .18119E-03   -.95934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76382e-10
Minuit parameter uncertainties:
  1  6.44182
  2  4.46143
  3  2.0002e-08
  4  26.4987
  5  9.38046e-05
  6  1.17994e-05
  7  6.05424e-05
  8  25.5441
  9  7.39801e-05
  10  7.05837
  11  25.0186
  12  3.46003e-07
  13  1.11803e-06
  14  4.82295e-08
  15  5.01427
  16  4.30809e-05
  17  29.1679
  18  0.224683
  19  0.110768
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  6.741e+00  7.058e+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:  9.059e-01  1.108e-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:  1.102e+00  2.247e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.46
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 3.30e-08 +/- 3.45e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 1.52e-05

TS (Fixed Index): 1.46
Ra Dec: 214.860 -8.642
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/335727/likelihoodResults_480643201_480902401_4FGL_J1419.4-0838_daily_bin931.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) = 8728.38709192
delta logL = 2.78334354505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8728.37111669
delta logL = 2.79931877465

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0103       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.5969       1.0000          .0000       5.0000    
     3 'Normalizat'    .90708       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96868       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8728.371     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      313 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0082        8.6043        .38707E-04   -.45760E-03
   2  alpha         4.5982        4.7970        .99057E-01   -.46464E-05
   3  Normalizat    .90707        .16138        .35724E-03   -.32460E-04
   4  Prefactor     .96871        .80814E-01    .17576E-03   -.46158E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.00818
  alpha      = 4.59815
  Normalizat = 0.907072
  Prefactor  = 0.968712
 **********
 **   18 **HESSE 
 **********

 FCN=   8728.371     FROM HESSE     STATUS=OK            25 CALLS      338 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0082        2.3198        .15483E-05   -1.5507    
   2  alpha         4.5982        3.5858        .17090E-02    .99592    
   3  Normalizat    .90707        .23123        .14290E-04   -.96212    
   4  Prefactor     .96871        .11357        .35152E-04   -.93780    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42174e-12
Minuit parameter uncertainties:
  1  2.32005
  2  1.3937
  3  0.231486
  4  0.113599
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/335727': 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) = 8728.37111614
delta logL = 2.79931932965

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.008e+00  2.320e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  4.598e+00  1.394e+00  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:  9.687e-01  1.136e-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.071e-01  2.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.89
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 4.60 +/- 1.39
Photon Flux (Free Index): 1.74e-07 +/- 7.88e-08
Energy Flux (Free Index): 2.47e-05 +/- 1.15e-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/335727/cmap_HighResolution_480643201_480902401_4FGL_J1419.4-0838_daily_bin931.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-05', comment='SUCCESS', photon_flux='3.30e-08', energy_flux2='2.47e-05', photon_flux_error='3.45e-08', dlogl='2.80e+00', energy_flux='1.45e-05', photon_flux2='1.74e-07', job_status='DONE', time_completed='2021-09-09 09:19:32.297562', photon_index_error2='1.39', photon_index2='4.60', ts='1.46', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.15e-05', EG='1.10', time_epoch_completed='1631204372.3', return_code='0', job_id='335727', GAL2='0.97', EG2='0.91', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='7.88e-08', ts2='7.89', photon_index='2.14' WHERE bin_id='931' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:19:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 335727: <4FGL_J1419.4-0838_daily_bin931> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin931> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 09:05:29 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:05:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 09:05:33 2021
Terminated at Thu Sep  9 09:19:33 2021
Results reported at Thu Sep  9 09:19:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin931 214.86 -8.6417 480643201 480902401 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 :                                   648.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            844 sec.

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

