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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin1277
RA = 214.86, Dec = -8.6417
tmin = 570326401, tmax = 570585601
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='337349', job_status='RUN', time_executed='2021-09-09 09:11:13.320609', time_epoch_executed='1631203873.32' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='1277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/337349

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/337349/ft1_4FGL_J1419.4-0838_daily_bin1277.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/337349/ft2_4FGL_J1419.4-0838_daily_bin1277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/337349/ft1_4FGL_J1419.4-0838_daily_bin1277.fits outfile=/scratch/kocevski/337349/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin1277.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=570326401.0 tmax=570585601.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.52
user 3.32
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/337349/ft2_4FGL_J1419.4-0838_daily_bin1277.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/337349/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin1277.fits evtable="EVENTS" outfile="/scratch/kocevski/337349/ft1_filtered_4FGL_J1419.4-0838_daily_bin1277.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/337349/ft1_filtered_4FGL_J1419.4-0838_daily_bin1277.fits" evtable="EVENTS" scfile=/scratch/kocevski/337349/ft2_4FGL_J1419.4-0838_daily_bin1277.fits sctable="SC_DATA" outfile=/scratch/kocevski/337349/ltcube_570326401_570585601_4FGL_J1419.4-0838_daily_bin1277.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/337349/ft2_4FGL_J1419.4-0838_daily_bin1277.fits
.....................!
real 12.04
user 11.55
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/337349/ft1_filtered_4FGL_J1419.4-0838_daily_bin1277.fits evtable="EVENTS" scfile=/scratch/kocevski/337349/ft2_4FGL_J1419.4-0838_daily_bin1277.fits sctable="SC_DATA" expcube=/scratch/kocevski/337349/ltcube_570326401_570585601_4FGL_J1419.4-0838_daily_bin1277.fits outfile=/scratch/kocevski/337349/expmap_570326401_570585601_4FGL_J1419.4-0838_daily_bin1277.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/337349/ltcube_570326401_570585601_4FGL_J1419.4-0838_daily_bin1277.fits
.....................!
real 190.63
user 185.28
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/337349/ft1_filtered_4FGL_J1419.4-0838_daily_bin1277.fits scfile=/scratch/kocevski/337349/ft2_4FGL_J1419.4-0838_daily_bin1277.fits outfile=/scratch/kocevski/337349/cmap_570326401_570585601_4FGL_J1419.4-0838_daily_bin1277.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/337349/ft1_filtered_4FGL_J1419.4-0838_daily_bin1277.fits scfile=/scratch/kocevski/337349/ft2_4FGL_J1419.4-0838_daily_bin1277.fits outfile=/scratch/kocevski/337349/cmap_HighResolution_570326401_570585601_4FGL_J1419.4-0838_daily_bin1277.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/337349/ft1_filtered_4FGL_J1419.4-0838_daily_bin1277.fits evtable="EVENTS" scfile=/scratch/kocevski/337349/ft2_4FGL_J1419.4-0838_daily_bin1277.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/337349/Model_4FGL_J1419.4-0838_daily_bin1277.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/337349/ft1_filtered_4FGL_J1419.4-0838_daily_bin1277.fits.....................!
real 72.28
user 70.88
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4079       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.0088       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.2984       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    14.483       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3441       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.2842       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.4212       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12549E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    46.406       1.0000         .10000E-03   10000.    
    17 'Prefactor '    68.974       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .99279       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0655       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=   9686.275     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     2240 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4078        6.9211       -.10749E-06   -.82763E-05
   2  Prefactor     8.0093        4.8897        .88290E-07   -.22079E-05
   3  Prefactor     .10000E-03    13.268       -.24249E-06** at limit **
   4  Prefactor     .10000E-03    13.531        .39634E-06** at limit **
   5  norm          .10000E-03    2.3971       -.17817E-06** at limit **
   6  Prefactor     .10000E-03    8.2072       -.20820E-06** at limit **
   7  norm          5.2984        2.4876       -.10282E-06    .40205E-04
   8  Prefactor     .10000E-03    6.2651       -.11638E-06** at limit **
   9  norm          .10000E-03    4.3772       -.11579E-06** at limit **
  10  norm          14.482        8.0095       -.12843E-07    .20440E-04
  11  Prefactor     1.3426        25.808       -.53983E-05    .11665E-04
  12  Prefactor     .10000E-03    45.013       -.70383E-06** at limit **
  13  norm          7.2809        11.128        .89960E-06   -.29845E-04
  14  Prefactor     8.4215        68.362       -.49712E-06    .80939E-06
  15  Prefactor     .10000E-03    13.314       -.23523E-05** at limit **
  16  Prefactor     46.311        60.552       -.28057E-05    .59984E-05
  17  Prefactor     68.949        56.125       -.72288E-06    .60965E-05
  18  Normalizat    .99276        .19077        .14451E-05    .52874E-04
  19  Prefactor     1.0655        .99651E-01    .16745E-06    .18249E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.40775
  Prefactor  = 8.00925
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.2984
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 14.4822
  Prefactor  = 1.34263
  Prefactor  = 0.000100001
  norm       = 7.28086
  Prefactor  = 8.42146
  Prefactor  = 0.0001
  Prefactor  = 46.3115
  Prefactor  = 68.9486
  Normalizat = 0.992763
  Prefactor  = 1.06552
 **********
 **   18 **HESSE 
 **********

 FCN=   9686.275     FROM HESSE     STATUS=OK           270 CALLS     2510 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4078        6.9136        .15855E-03   -1.5202    
   2  Prefactor     8.0093        4.8803        .14168E-03   -1.5142    
   3  Prefactor     .10000E-03    13.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.4176        .14882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.2860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2984        2.4868        .50194E-03   -1.5248    
   8  Prefactor     .10000E-03    6.2824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.4108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          14.482        8.0080        .52624E-03   -1.4947    
  11  Prefactor     1.3426        25.989        .18891E-02   -1.5476    
  12  Prefactor     .10000E-03    45.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.2809        11.111        .14861E-03   -1.5168    
  14  Prefactor     8.4215        68.411        .13814E-03   -1.5127    
  15  Prefactor     .10000E-03    13.304        .34870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     46.311        60.874        .29429E-03   -1.4346    
  17  Prefactor     68.949        56.121        .24166E-03   -1.4045    
  18  Normalizat    .99276        .21630        .36017E-03   -.93273    
  19  Prefactor     1.0655        .11292        .18319E-03   -.90576    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11293e-11
Minuit parameter uncertainties:
  1  6.91444
  2  4.88049
  3  3.575e-05
  4  2.59153e-05
  5  1.15942e-05
  6  2.64419e-05
  7  2.48684
  8  1.25193e-05
  9  8.63372e-06
  10  8.00855
  11  11.8196
  12  0.000315365
  13  11.1146
  14  48.08
  15  5.61404e-06
  16  60.9559
  17  56.1644
  18  0.216493
  19  0.11295
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.448e+01  8.009e+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.066e+00  1.130e-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.928e-01  2.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.39
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 7.08e-08 +/- 3.92e-08
Energy Flux (Fixed Index): 3.12e-05 +/- 1.73e-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) = 9683.76007053
delta logL = 2.51534905129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9683.75606584
delta logL = 2.51935374279

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5081       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4342       1.0000          .0000       5.0000    
     3 'Normalizat'    .86618       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1056       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=   9683.756     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      245 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5082        32.536        .39329E-02    .12449E-02
   2  alpha         3.4348        3.9630        .24046        .92310E-04
   3  Normalizat    .86602        .90988E-01    .86211E-01    .36843E-04
   4  Prefactor     1.1057        .44107E-01    .37377E-01   -.33992E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.50818
  alpha      = 3.43479
  Normalizat = 0.866024
  Prefactor  = 1.10569
 **********
 **   18 **HESSE 
 **********

 FCN=   9683.756     FROM HESSE     STATUS=OK            33 CALLS      278 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5082        8.9145        .89032E-04   -1.5198    
   2  alpha         3.4348        .95254        .10138E-01    .38323    
   3  Normalizat    .86602        .22264        .38176E-03   -.97664    
   4  Prefactor     1.1057        .11494        .18007E-03   -.89285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.628e-08
Minuit parameter uncertainties:
  1  8.91629
  2  0.9816
  3  0.222875
  4  0.114961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/337349': 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) = 9683.75606364
delta logL = 2.51935594481

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  6.508e+00  8.916e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  3.435e+00  9.816e-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.106e+00  1.150e-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.660e-01  2.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.92
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 3.43 +/- 0.98
Photon Flux (Free Index): 1.77e-07 +/- 7.30e-08
Energy Flux (Free Index): 3.12e-05 +/- 1.26e-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/337349/cmap_HighResolution_570326401_570585601_4FGL_J1419.4-0838_daily_bin1277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.08e-08', energy_flux2='3.12e-05', photon_flux_error='3.92e-08', dlogl='2.52e+00', energy_flux='3.12e-05', photon_flux2='1.77e-07', job_status='DONE', time_completed='2021-09-09 09:22:07.703039', photon_index_error2='0.98', photon_index2='3.43', ts='5.39', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='0.99', time_epoch_completed='1631204527.7', return_code='0', job_id='337349', GAL2='1.11', EG2='0.87', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='7.30e-08', ts2='10.92', photon_index='2.14' WHERE bin_id='1277' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:22:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 337349: <4FGL_J1419.4-0838_daily_bin1277> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin1277> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 09:10:56 2021
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:10:57 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:10:57 2021
Terminated at Thu Sep  9 09:22:08 2021
Results reported at Thu Sep  9 09:22:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin1277 214.86 -8.6417 570326401 570585601 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 :                                   650.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             357.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            672 sec.

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

