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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin591
RA = 214.86, Dec = -8.6417
tmin = 392515201, tmax = 392774401
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='334207', job_status='RUN', time_executed='2021-09-09 09:02:35.619241', time_epoch_executed='1631203355.62' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='591'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/334207

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/334207/ft1_4FGL_J1419.4-0838_daily_bin591.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/334207/ft2_4FGL_J1419.4-0838_daily_bin591.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/334207/ft1_4FGL_J1419.4-0838_daily_bin591.fits outfile=/scratch/kocevski/334207/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin591.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=392515201.0 tmax=392774401.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.41
user 3.12
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/334207/ft1_filtered_4FGL_J1419.4-0838_daily_bin591.fits" evtable="EVENTS" scfile=/scratch/kocevski/334207/ft2_4FGL_J1419.4-0838_daily_bin591.fits sctable="SC_DATA" outfile=/scratch/kocevski/334207/ltcube_392515201_392774401_4FGL_J1419.4-0838_daily_bin591.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/334207/ft2_4FGL_J1419.4-0838_daily_bin591.fits
.....................!
real 11.84
user 11.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/334207/ft1_filtered_4FGL_J1419.4-0838_daily_bin591.fits evtable="EVENTS" scfile=/scratch/kocevski/334207/ft2_4FGL_J1419.4-0838_daily_bin591.fits sctable="SC_DATA" expcube=/scratch/kocevski/334207/ltcube_392515201_392774401_4FGL_J1419.4-0838_daily_bin591.fits outfile=/scratch/kocevski/334207/expmap_392515201_392774401_4FGL_J1419.4-0838_daily_bin591.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/334207/ltcube_392515201_392774401_4FGL_J1419.4-0838_daily_bin591.fits
.....................!
real 191.27
user 186.16
sys 4.66

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/334207/ft1_filtered_4FGL_J1419.4-0838_daily_bin591.fits scfile=/scratch/kocevski/334207/ft2_4FGL_J1419.4-0838_daily_bin591.fits outfile=/scratch/kocevski/334207/cmap_392515201_392774401_4FGL_J1419.4-0838_daily_bin591.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/334207/ft1_filtered_4FGL_J1419.4-0838_daily_bin591.fits scfile=/scratch/kocevski/334207/ft2_4FGL_J1419.4-0838_daily_bin591.fits outfile=/scratch/kocevski/334207/cmap_HighResolution_392515201_392774401_4FGL_J1419.4-0838_daily_bin591.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/334207/ft1_filtered_4FGL_J1419.4-0838_daily_bin591.fits evtable="EVENTS" scfile=/scratch/kocevski/334207/ft2_4FGL_J1419.4-0838_daily_bin591.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/334207/Model_4FGL_J1419.4-0838_daily_bin591.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/334207/ft1_filtered_4FGL_J1419.4-0838_daily_bin591.fits.....................!
real 58.88
user 57.55
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3580       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.8251       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.329       1.0000         .10000E-03   10000.    
     7 'norm      '    1.2235       1.0000         .10000E-03   10000.    
     8 'Prefactor '    44.294       1.0000         .10000E-03   10000.    
     9 'norm      '    6.7409       1.0000         .10000E-03   10000.    
    10 'norm      '    19.618       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10256E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .99695       1.0000         .10000E-03   10000.    
    16 'Prefactor '    77.107       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1589       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89874       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=   7223.363     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     1974 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3574        3.7443       -.29854E-07    .11920E-03
   2  Prefactor     .10000E-03    3.0714       -.15765E-06** at limit **
   3  Prefactor     .10000E-03    6.6352        .14279E-07** at limit **
   4  Prefactor     .10000E-03    41.695        .72455E-06** at limit **
   5  norm          4.8245        6.0057       -.71799E-06    .14210E-02
   6  Prefactor     10.330        12.563       -.36747E-07   -.47120E-05
   7  norm          1.2239        2.6798       -.14558E-06    .36931E-03
   8  Prefactor     44.302        24.858       -.13995E-06   -.23444E-03
   9  norm          6.7398        8.0547       -.32006E-07   -.12620E-04
  10  norm          19.621        8.8610       -.26632E-06   -.91910E-04
  11  Prefactor     .10003E-03    53.004       -.16754E-05** at limit **
  12  Prefactor     .10000E-03    11.455        .58382E-07** at limit **
  13  norm          .10000E-03    7.9729       -.57219E-07** at limit **
  14  Prefactor     .10001E-03    68.310        .92816E-06** at limit **
  15  Prefactor     .98141        79.112       -.20169E-04    .44482E-03
  16  Prefactor     77.182        202.11        .31005E-04    .30261E-03
  17  Prefactor     .10000E-03    16.528       -.47811E-06** at limit **
  18  Normalizat    1.1589        .22181       -.49089E-06    .37163E-03
  19  Prefactor     .89872        .10654        .57089E-06    .72969E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.35743
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 4.82447
  Prefactor  = 10.3301
  norm       = 1.22387
  Prefactor  = 44.3022
  norm       = 6.73977
  norm       = 19.6214
  Prefactor  = 0.000100026
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 0.981406
  Prefactor  = 77.1825
  Prefactor  = 0.0001
  Normalizat = 1.1589
  Prefactor  = 0.898723
 **********
 **   18 **HESSE 
 **********

 FCN=   7223.363     FROM HESSE     STATUS=OK           264 CALLS     2238 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3574        3.7256        .20192E-03   -1.5401    
   2  Prefactor     .10000E-03    3.1556        .29092E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.6376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    42.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.8245        6.0679        .91570E-03   -1.5269    
   6  Prefactor     10.330        12.566        .12467E-03   -1.5065    
   7  norm          1.2239        2.6460        .19007E-03   -1.5487    
   8  Prefactor     44.302        24.926        .60239E-04   -1.4376    
   9  norm          6.7398        8.0535        .15455E-03   -1.5189    
  10  norm          19.621        8.8332        .90427E-04   -1.4822    
  11  Prefactor     .10003E-03    54.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.0227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    68.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .98141        457.93        .29184E-02   -1.5510    
  16  Prefactor     77.182        756.53        .45730E-04   -1.3949    
  17  Prefactor     .10000E-03    16.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1589        .26543        .33017E-03   -.87882    
  19  Prefactor     .89872        .12783        .18311E-03   -.96186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.43414e-09
Minuit parameter uncertainties:
  1  3.72596
  2  6.36024e-06
  3  4.12241e-07
  4  0.000809185
  5  6.06864
  6  12.569
  7  2.64627
  8  24.9316
  9  8.05482
  10  8.83378
  11  0.00239417
  12  6.03704e-06
  13  1.76156e-05
  14  0.00182758
  15  42.7291
  16  491.612
  17  0.000107507
  18  0.26574
  19  0.12787
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.962e+01  8.834e+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:  8.987e-01  1.279e-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.159e+00  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.39
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 9.60e-08 +/- 4.32e-08
Energy Flux (Fixed Index): 4.23e-05 +/- 1.90e-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) = 7223.01700778
delta logL = 0.346114967228

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7223.01488827
delta logL = 0.348234471956

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.765       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4841       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1225       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90845       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=   7223.015     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      265 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.743        139.44        .23756E-02   -.10314E-03
   2  alpha         2.4829        3.7027        .26867        .74485E-05
   3  Normalizat    1.1230        .19517        .75613E-01    .25518E-04
   4  Prefactor     .90855        .69793E-01    .45113E-01   -.20545E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 17.7435
  alpha      = 2.48287
  Normalizat = 1.12295
  Prefactor  = 0.908546
 **********
 **   18 **HESSE 
 **********

 FCN=   7223.015     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.743        8.6349        .95025E-04   -1.4865    
   2  alpha         2.4829        .42729        .10874E-01   -.68532E-02
   3  Normalizat    1.1230        .25479        .33465E-03   -.89018    
   4  Prefactor     .90855        .12467        .18218E-03   -.95843    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22258e-11
Minuit parameter uncertainties:
  1  8.63554
  2  0.4294
  3  0.255074
  4  0.124706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/334207': 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) = 7223.0148662
delta logL = 0.34825654183

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.774e+01  8.636e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.483e+00  4.294e-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.085e-01  1.247e-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.123e+00  2.551e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.12
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 2.48 +/- 0.43
Photon Flux (Free Index): 1.29e-07 +/- 6.53e-08
Energy Flux (Free Index): 3.79e-05 +/- 1.65e-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/334207/cmap_HighResolution_392515201_392774401_4FGL_J1419.4-0838_daily_bin591.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.60e-08', energy_flux2='3.79e-05', photon_flux_error='4.32e-08', dlogl='3.48e-01', energy_flux='4.23e-05', photon_flux2='1.29e-07', job_status='DONE', time_completed='2021-09-09 09:11:37.940699', photon_index_error2='0.43', photon_index2='2.48', ts='12.39', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.65e-05', EG='1.16', time_epoch_completed='1631203897.94', return_code='0', job_id='334207', GAL2='0.91', EG2='1.12', return_code2='0', energy_flux_error='1.90e-05', photon_flux_error2='6.53e-08', ts2='13.12', photon_index='2.14' WHERE bin_id='591' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:11:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 334207: <4FGL_J1419.4-0838_daily_bin591> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin591> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 09:00:29 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:00:30 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:30 2021
Terminated at Thu Sep  9 09:11:38 2021
Results reported at Thu Sep  9 09:11:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin591 214.86 -8.6417 392515201 392774401 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 :                                   541.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            669 sec.

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

