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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin743
RA = 214.86, Dec = -8.6417
tmin = 431913601, tmax = 432172801
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='334423', job_status='RUN', time_executed='2021-09-09 09:02:42.495305', time_epoch_executed='1631203362.5' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/334423

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/334423/ft1_4FGL_J1419.4-0838_daily_bin743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/334423/ft2_4FGL_J1419.4-0838_daily_bin743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/334423/ft1_4FGL_J1419.4-0838_daily_bin743.fits outfile=/scratch/kocevski/334423/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin743.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=431913601.0 tmax=432172801.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 5.24
user 4.97
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/334423/ft1_filtered_4FGL_J1419.4-0838_daily_bin743.fits" evtable="EVENTS" scfile=/scratch/kocevski/334423/ft2_4FGL_J1419.4-0838_daily_bin743.fits sctable="SC_DATA" outfile=/scratch/kocevski/334423/ltcube_431913601_432172801_4FGL_J1419.4-0838_daily_bin743.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/334423/ft2_4FGL_J1419.4-0838_daily_bin743.fits
.....................!
real 11.75
user 11.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/334423/ft1_filtered_4FGL_J1419.4-0838_daily_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/334423/ft2_4FGL_J1419.4-0838_daily_bin743.fits sctable="SC_DATA" expcube=/scratch/kocevski/334423/ltcube_431913601_432172801_4FGL_J1419.4-0838_daily_bin743.fits outfile=/scratch/kocevski/334423/expmap_431913601_432172801_4FGL_J1419.4-0838_daily_bin743.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/334423/ltcube_431913601_432172801_4FGL_J1419.4-0838_daily_bin743.fits
.....................!
real 191.57
user 184.58
sys 6.54

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/334423/ft1_filtered_4FGL_J1419.4-0838_daily_bin743.fits scfile=/scratch/kocevski/334423/ft2_4FGL_J1419.4-0838_daily_bin743.fits outfile=/scratch/kocevski/334423/cmap_431913601_432172801_4FGL_J1419.4-0838_daily_bin743.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/334423/ft1_filtered_4FGL_J1419.4-0838_daily_bin743.fits scfile=/scratch/kocevski/334423/ft2_4FGL_J1419.4-0838_daily_bin743.fits outfile=/scratch/kocevski/334423/cmap_HighResolution_431913601_432172801_4FGL_J1419.4-0838_daily_bin743.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.439       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.8268       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    10.032       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.8454       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    16.031       1.0000         .10000E-03   10000.    
    10 'norm      '    15.665       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.417       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0203       1.0000         .10000E-03   10000.    
    13 'norm      '    .49525E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0128       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98898       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=   10935.02     FROM MIGRAD    STATUS=CONVERGED    663 CALLS     1907 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.439        9.2897        .73842E-04   -.24634E-04
   2  Prefactor     4.8266        4.9140        .18311E-03    .18601E-03
   3  Prefactor     .10000E-03    9.5829        .18142E-02** at limit **
   4  Prefactor     .10000E-03    19.911        .18142E-02** at limit **
   5  norm          10.032        8.8170        .12651E-03    .11125E-03
   6  Prefactor     .10000E-03    8.2922        .18142E-02** at limit **
   7  norm          9.8453        3.1661        .98573E-04    .18938E-03
   8  Prefactor     .10000E-03    13.101        .18142E-02** at limit **
   9  norm          16.031        10.079        .10003E-03    .18866E-04
  10  norm          15.666        7.2866        .50597E-03    .80238E-03
  11  Prefactor     15.411        16.434        .10201E-03    .14489E-03
  12  Prefactor     1.0387        44.042        .57498E-02    .59882E-03
  13  norm          .10004E-03    7.7181        .70338E-01** at limit **
  14  Prefactor     .10000E-03    22.342        .18142E-02** at limit **
  15  Prefactor     .10000E-03    2.8033        .16918E-02** at limit **
  16  Prefactor     .10000E-03    35.119        .18142E-02** at limit **
  17  Prefactor     .10000E-03    13.554        .18142E-02** at limit **
  18  Normalizat    1.0130        .22116        .36720E-03    .16911E-03
  19  Prefactor     .98892        .10748        .18208E-03    .22755E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.4392
  Prefactor  = 4.8266
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 10.0321
  Prefactor  = 0.0001
  norm       = 9.84533
  Prefactor  = 0.0001
  norm       = 16.0307
  norm       = 15.6662
  Prefactor  = 15.4111
  Prefactor  = 1.03875
  norm       = 0.000100037
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Normalizat = 1.01295
  Prefactor  = 0.988925
 **********
 **   18 **HESSE 
 **********

 FCN=   10935.02     FROM HESSE     STATUS=OK           260 CALLS     2167 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.439        9.2896        .29537E-05   -1.4622    
   2  Prefactor     4.8266        4.9124        .73244E-05   -1.5269    
   3  Prefactor     .10000E-03    9.5833        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.912        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.032        8.8146        .50605E-05   -1.5074    
   6  Prefactor     .10000E-03    8.2933        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.8453        3.1660        .39429E-05   -1.5080    
   8  Prefactor     .10000E-03    13.103        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.031        10.079        .40014E-05   -1.4907    
  10  norm          15.666        7.2859        .20239E-04   -1.4916    
  11  Prefactor     15.411        16.434        .40803E-05   -1.4923    
  12  Prefactor     1.0387        44.172        .22999E-03   -1.5504    
  13  norm          .10004E-03    6.6573        .77872E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.342        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.8053        .33837E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    35.122        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.555        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0130        .22122        .14688E-04   -.92598    
  19  Prefactor     .98892        .10734        .36416E-04   -.93100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.34286e-09
Minuit parameter uncertainties:
  1  9.29008
  2  4.91284
  3  4.67831e-05
  4  0.000435166
  5  8.81575
  6  1.44561e-05
  7  3.16607
  8  0.000127805
  9  10.0799
  10  7.28636
  11  16.4389
  12  13.5575
  13  0.000992329
  14  0.00018897
  15  3.99877e-06
  16  0.000633754
  17  1.05554e-05
  18  0.22142
  19  0.107363
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.567e+01  7.286e+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.889e-01  1.074e-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.013e+00  2.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.45
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 7.66e-08 +/- 3.56e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 1.57e-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) = 10934.7499518
delta logL = 0.267346806955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10934.7386498
delta logL = 0.278648784479

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.517       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8102       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0353       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98281       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=   10934.74     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      211 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.517        8.5497        .25419E-02    .39901E-03
   2  alpha         1.8103        .38530        .38110       -.47577E-04
   3  Normalizat    1.0353        .18420        .82160E-01    .32971E-04
   4  Prefactor     .98280        .90231E-01    .46052E-01    .14794E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.5172
  alpha      = 1.81026
  Normalizat = 1.03534
  Prefactor  = 0.982804
 **********
 **   18 **HESSE 
 **********

 FCN=   10934.74     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.517        7.4767        .10168E-03   -1.4920    
   2  alpha         1.8103        .41507        .13593E-01   -.27952    
   3  Normalizat    1.0353        .21488        .36373E-03   -.91856    
   4  Prefactor     .98280        .10541        .18259E-03   -.93305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01877e-09
Minuit parameter uncertainties:
  1  7.47712
  2  0.417165
  3  0.215055
  4  0.105436
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/334423': 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) = 10934.7386498
delta logL = 0.278648790905

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.552e+01  7.477e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.810e+00  4.172e-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:  9.828e-01  1.054e-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.035e+00  2.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.04
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 1.81 +/- 0.42
Photon Flux (Free Index): 5.65e-08 +/- 3.64e-08
Energy Flux (Free Index): 4.44e-05 +/- 2.80e-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/334423/cmap_HighResolution_431913601_432172801_4FGL_J1419.4-0838_daily_bin743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.66e-08', energy_flux2='4.44e-05', photon_flux_error='3.56e-08', dlogl='2.79e-01', energy_flux='3.38e-05', photon_flux2='5.65e-08', job_status='DONE', time_completed='2021-09-09 09:13:39.879218', photon_index_error2='0.42', photon_index2='1.81', ts='9.45', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='2.80e-05', EG='1.01', time_epoch_completed='1631204019.88', return_code='0', job_id='334423', GAL2='0.98', EG2='1.04', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='3.64e-08', ts2='10.04', photon_index='2.14' WHERE bin_id='743' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:13:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 334423: <4FGL_J1419.4-0838_daily_bin743> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin743> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 09:00:47 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:00:48 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:00:48 2021
Terminated at Thu Sep  9 09:13:40 2021
Results reported at Thu Sep  9 09:13:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin743 214.86 -8.6417 431913601 432172801 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 :                                   657.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            773 sec.

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

