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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin914
RA = 214.86, Dec = -8.6417
tmin = 476236801, tmax = 476496001
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='335703', job_status='RUN', time_executed='2021-09-09 09:09:18.799741', time_epoch_executed='1631203758.8' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='914'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/335703

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/335703/ft1_4FGL_J1419.4-0838_daily_bin914.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/335703/ft2_4FGL_J1419.4-0838_daily_bin914.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/335703/ft1_4FGL_J1419.4-0838_daily_bin914.fits outfile=/scratch/kocevski/335703/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin914.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=476236801.0 tmax=476496001.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.49
user 3.28
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/335703/ft2_4FGL_J1419.4-0838_daily_bin914.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/335703/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin914.fits evtable="EVENTS" outfile="/scratch/kocevski/335703/ft1_filtered_4FGL_J1419.4-0838_daily_bin914.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/335703/ft1_filtered_4FGL_J1419.4-0838_daily_bin914.fits" evtable="EVENTS" scfile=/scratch/kocevski/335703/ft2_4FGL_J1419.4-0838_daily_bin914.fits sctable="SC_DATA" outfile=/scratch/kocevski/335703/ltcube_476236801_476496001_4FGL_J1419.4-0838_daily_bin914.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/335703/ft2_4FGL_J1419.4-0838_daily_bin914.fits
.....................!
real 12.43
user 12.09
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/335703/ft1_filtered_4FGL_J1419.4-0838_daily_bin914.fits evtable="EVENTS" scfile=/scratch/kocevski/335703/ft2_4FGL_J1419.4-0838_daily_bin914.fits sctable="SC_DATA" expcube=/scratch/kocevski/335703/ltcube_476236801_476496001_4FGL_J1419.4-0838_daily_bin914.fits outfile=/scratch/kocevski/335703/expmap_476236801_476496001_4FGL_J1419.4-0838_daily_bin914.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/335703/ltcube_476236801_476496001_4FGL_J1419.4-0838_daily_bin914.fits
.....................!
real 191.77
user 186.57
sys 4.80

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/335703/ft1_filtered_4FGL_J1419.4-0838_daily_bin914.fits scfile=/scratch/kocevski/335703/ft2_4FGL_J1419.4-0838_daily_bin914.fits outfile=/scratch/kocevski/335703/cmap_476236801_476496001_4FGL_J1419.4-0838_daily_bin914.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/335703/ft1_filtered_4FGL_J1419.4-0838_daily_bin914.fits scfile=/scratch/kocevski/335703/ft2_4FGL_J1419.4-0838_daily_bin914.fits outfile=/scratch/kocevski/335703/cmap_HighResolution_476236801_476496001_4FGL_J1419.4-0838_daily_bin914.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/335703/ft1_filtered_4FGL_J1419.4-0838_daily_bin914.fits evtable="EVENTS" scfile=/scratch/kocevski/335703/ft2_4FGL_J1419.4-0838_daily_bin914.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/335703/Model_4FGL_J1419.4-0838_daily_bin914.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/335703/ft1_filtered_4FGL_J1419.4-0838_daily_bin914.fits.....................!
real 78.88
user 77.50
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0852       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9727       1.0000         .10000E-03   10000.    
     7 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.6688       1.0000         .10000E-03   10000.    
    10 'norm      '    11.788       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .19585E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10572E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .26849E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7574       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12338E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.675       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .99059       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0593       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10467.60     FROM MIGRAD    STATUS=CONVERGED    716 CALLS     2016 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7021        .13003E-02** at limit **
   2  Prefactor     1.0862        3.4789        .32379E-03    .14599E-03
   3  Prefactor     .10000E-03    13.758        .18142E-02** at limit **
   4  Prefactor     .10000E-03    19.121        .18142E-02** at limit **
   5  norm          .10000E-03    1.4061        .11829E-02** at limit **
   6  Prefactor     1.9766        12.102        .29519E-03    .16946E-05
   7  norm          .10000E-03    1.3615        .16488E-02** at limit **
   8  Prefactor     .10000E-03    11.088        .18142E-02** at limit **
   9  norm          4.6688        6.5644        .18625E-03    .26980E-04
  10  norm          11.790        6.3717        .11668E-03    .71615E-03
  11  Prefactor     .10182E-03    11.449        .90644E-01** at limit **
  12  Prefactor     .10066E-03    61.067        .52874E-02** at limit **
  13  norm          .10021E-03    77.427        .48281E-02** at limit **
  14  Prefactor     .10000E-03    30.739        .18142E-02** at limit **
  15  Prefactor     3.7619        4.5876        .10414E-02    .59159E-03
  16  Prefactor     .10000E-03    44.208        .18142E-02** at limit **
  17  Prefactor     24.665        26.610        .80641E-04   -.80358E-04
  18  Normalizat    .99071        .20342        .34093E-03    .22509E-03
  19  Prefactor     1.0593        .10542        .17214E-03   -.29182E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.08623
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 1.97657
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.66885
  norm       = 11.7899
  Prefactor  = 0.000101818
  Prefactor  = 0.00010066
  norm       = 0.000100213
  Prefactor  = 0.000100004
  Prefactor  = 3.76186
  Prefactor  = 0.0001
  Prefactor  = 24.6654
  Normalizat = 0.990715
  Prefactor  = 1.05928
 **********
 **   18 **HESSE 
 **********

 FCN=   10467.60     FROM HESSE     STATUS=OK           258 CALLS     2274 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7022        .26007E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.0862        3.4776        .12952E-04   -1.5500    
   3  Prefactor     .10000E-03    13.769        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.123        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.4061        .23658E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.9766        12.100        .11808E-04   -1.5427    
   7  norm          .10000E-03    1.3667        .32977E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.091        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.6688        6.5645        .74500E-05   -1.5276    
  10  norm          11.790        6.3716        .46672E-05   -1.5021    
  11  Prefactor     .10182E-03    10.661        .95306E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10066E-03    62.563        .10575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10021E-03    80.467        .19312E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    30.740        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7619        4.5832        .41656E-04   -1.5320    
  16  Prefactor     .10000E-03    44.210        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.665        26.599        .32257E-05   -1.4714    
  18  Normalizat    .99071        .20354        .13637E-04   -.93342    
  19  Prefactor     1.0593        .10545        .34429E-04   -.90779    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43506e-08
Minuit parameter uncertainties:
  1  9.48231e-06
  2  3.47825
  3  4.03638e-05
  4  0.000251983
  5  1.47771e-05
  6  9.78375
  7  1.23732e-06
  8  7.2123e-05
  9  6.56546
  10  6.37196
  11  0.0088057
  12  0.012868
  13  0.00829431
  14  0.000664377
  15  4.58363
  16  0.000139962
  17  26.6115
  18  0.203699
  19  0.105475
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.179e+01  6.372e+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.059e+00  1.055e-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.907e-01  2.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.64
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 5.77e-08 +/- 3.12e-08
Energy Flux (Fixed Index): 2.54e-05 +/- 1.37e-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) = 10467.6032125
delta logL = 0.000133743142214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10467.6032069
delta logL = 0.000139360230605

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.794       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1460       1.0000          .0000       5.0000    
     3 'Normalizat'    .98991       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0595       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=   10467.60     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      229 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.792        143.99        .29162E-02    .12974E-03
   2  alpha         2.1458        3.4033        .41685        .21102E-04
   3  Normalizat    .99014        .12674        .77057E-01    .89818E-04
   4  Prefactor     1.0594        .49337E-01    .39384E-01    .17689E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7918
  alpha      = 2.14581
  Normalizat = 0.990137
  Prefactor  = 1.05942
 **********
 **   18 **HESSE 
 **********

 FCN=   10467.60     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.792        6.3196        .11665E-03   -1.5021    
   2  alpha         2.1458        .47320        .14573E-01   -.14215    
   3  Normalizat    .99014        .20314        .34101E-03   -.93362    
   4  Prefactor     1.0594        .10477        .17213E-03   -.90774    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22849e-11
Minuit parameter uncertainties:
  1  6.31993
  2  0.476135
  3  0.203298
  4  0.104792
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/335703': 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) = 10467.603206
delta logL = 0.000140237414598

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.179e+01  6.320e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.146e+00  4.761e-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.059e+00  1.048e-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.901e-01  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.64
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 2.15 +/- 0.48
Photon Flux (Free Index): 5.82e-08 +/- 4.19e-08
Energy Flux (Free Index): 2.53e-05 +/- 1.45e-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/335703/cmap_HighResolution_476236801_476496001_4FGL_J1419.4-0838_daily_bin914.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.77e-08', energy_flux2='2.53e-05', photon_flux_error='3.12e-08', dlogl='1.40e-04', energy_flux='2.54e-05', photon_flux2='5.82e-08', job_status='DONE', time_completed='2021-09-09 09:20:13.621256', photon_index_error2='0.48', photon_index2='2.15', ts='11.64', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.45e-05', EG='0.99', time_epoch_completed='1631204413.62', return_code='0', job_id='335703', GAL2='1.06', EG2='0.99', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='4.19e-08', ts2='11.64', photon_index='2.14' WHERE bin_id='914' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:20:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 335703: <4FGL_J1419.4-0838_daily_bin914> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin914> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 09:05:27 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:05:28 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:28 2021
Terminated at Thu Sep  9 09:20:14 2021
Results reported at Thu Sep  9 09:20:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin914 214.86 -8.6417 476236801 476496001 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 :                                   654.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            887 sec.

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

