/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 199 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 = 7420
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1419.4-0838_daily_bin359
RA = 214.86, Dec = -8.6417
tmin = 332380801, tmax = 332640001
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='332897', job_status='RUN', time_executed='2021-09-09 08:59:14.213645', time_epoch_executed='1631203154.21' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='359'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332897

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332897/ft1_4FGL_J1419.4-0838_daily_bin359.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332897/ft2_4FGL_J1419.4-0838_daily_bin359.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332897/ft1_4FGL_J1419.4-0838_daily_bin359.fits outfile=/scratch/kocevski/332897/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin359.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=332380801.0 tmax=332640001.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.30
user 3.08
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332897/ft1_filtered_4FGL_J1419.4-0838_daily_bin359.fits" evtable="EVENTS" scfile=/scratch/kocevski/332897/ft2_4FGL_J1419.4-0838_daily_bin359.fits sctable="SC_DATA" outfile=/scratch/kocevski/332897/ltcube_332380801_332640001_4FGL_J1419.4-0838_daily_bin359.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/332897/ft2_4FGL_J1419.4-0838_daily_bin359.fits
.....................!
real 11.78
user 11.37
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332897/ft1_filtered_4FGL_J1419.4-0838_daily_bin359.fits evtable="EVENTS" scfile=/scratch/kocevski/332897/ft2_4FGL_J1419.4-0838_daily_bin359.fits sctable="SC_DATA" expcube=/scratch/kocevski/332897/ltcube_332380801_332640001_4FGL_J1419.4-0838_daily_bin359.fits outfile=/scratch/kocevski/332897/expmap_332380801_332640001_4FGL_J1419.4-0838_daily_bin359.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/332897/ltcube_332380801_332640001_4FGL_J1419.4-0838_daily_bin359.fits
.....................!
real 193.04
user 187.05
sys 5.64

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/332897/ft1_filtered_4FGL_J1419.4-0838_daily_bin359.fits scfile=/scratch/kocevski/332897/ft2_4FGL_J1419.4-0838_daily_bin359.fits outfile=/scratch/kocevski/332897/cmap_332380801_332640001_4FGL_J1419.4-0838_daily_bin359.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332897/ft1_filtered_4FGL_J1419.4-0838_daily_bin359.fits scfile=/scratch/kocevski/332897/ft2_4FGL_J1419.4-0838_daily_bin359.fits outfile=/scratch/kocevski/332897/cmap_HighResolution_332380801_332640001_4FGL_J1419.4-0838_daily_bin359.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.56
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/332897/ft1_filtered_4FGL_J1419.4-0838_daily_bin359.fits evtable="EVENTS" scfile=/scratch/kocevski/332897/ft2_4FGL_J1419.4-0838_daily_bin359.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/332897/Model_4FGL_J1419.4-0838_daily_bin359.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/332897/ft1_filtered_4FGL_J1419.4-0838_daily_bin359.fits.....................!
real 52.42
user 50.95
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7170       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.7020       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .85501E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    3.1836       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.6477       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.662       1.0000         .10000E-03   10000.    
    13 'norm      '    19.418       1.0000         .10000E-03   10000.    
    14 'Prefactor '    128.33       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.402       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0476       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0264       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=   6187.934     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     1940 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7226        8.3669        .57818E-06   -.14204E-03
   2  Prefactor     6.7106        6.3798        .18031E-05   -.22047E-03
   3  Prefactor     .10000E-03    15.773       -.72005E-06** at limit **
   4  Prefactor     .10000E-03    19.815        .22463E-05** at limit **
   5  norm          .10000E-03    3.3239       -.29223E-07** at limit **
   6  Prefactor     .63559        14.687       -.16208E-06   -.10333E-03
   7  norm          3.1879        3.2788        .32197E-06   -.46787E-03
   8  Prefactor     .10000E-03    8.3728        .14979E-06** at limit **
   9  norm          .10000E-03    6.7522        .24123E-06** at limit **
  10  norm          7.6509        7.0371        .53084E-06   -.19724E-04
  11  Prefactor     .10000E-03    6.9975       -.27852E-06** at limit **
  12  Prefactor     18.661        21.773        .17188E-04   -.10179E-04
  13  norm          19.425        17.573        .13117E-04   -.17430E-05
  14  Prefactor     128.40        100.70        .66488E-04   -.10020E-04
  15  Prefactor     .10000E-03    3.7787        .95073E-06** at limit **
  16  Prefactor     10.336        79.454       -.81898E-04   -.12132E-04
  17  Prefactor     .10000E-03    31.166       -.26864E-05** at limit **
  18  Normalizat    1.0458        .24919       -.80953E-05    .99771E-04
  19  Prefactor     1.0268        .12212        .63734E-06   -.27228E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.72258
  Prefactor  = 6.71056
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.635592
  norm       = 3.18792
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.65094
  Prefactor  = 0.0001
  Prefactor  = 18.6612
  norm       = 19.4249
  Prefactor  = 128.4
  Prefactor  = 0.000100002
  Prefactor  = 10.3363
  Prefactor  = 0.000100001
  Normalizat = 1.0458
  Prefactor  = 1.02679
 **********
 **   18 **HESSE 
 **********

 FCN=   6187.934     FROM HESSE     STATUS=OK           270 CALLS     2210 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7226        8.3562        .15482E-03   -1.5189    
   2  Prefactor     6.7106        6.3722        .15500E-03   -1.5190    
   3  Prefactor     .10000E-03    15.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.3321        .13999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .63559        92.748        .57472E-02   -1.5549    
   7  norm          3.1879        3.2708        .13550E-03   -1.5351    
   8  Prefactor     .10000E-03    8.3804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.7598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.6509        7.0307        .14501E-03   -1.5155    
  11  Prefactor     .10000E-03    7.0026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.661        21.765        .92714E-04   -1.4844    
  13  norm          19.425        17.587        .90892E-04   -1.4826    
  14  Prefactor     128.40        100.66        .17770E-03   -1.3437    
  15  Prefactor     .10000E-03    3.7981        .14915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.336        79.844        .12423E-03   -1.5065    
  17  Prefactor     .10000E-03    31.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0458        .28740        .36180E-03   -.91512    
  19  Prefactor     1.0268        .14116        .18355E-03   -.91842    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4767e-09
Minuit parameter uncertainties:
  1  8.35767
  2  6.37285
  3  4.71281e-05
  4  1.35775e-05
  5  3.51579e-06
  6  15.3789
  7  3.27097
  8  4.02071e-06
  9  6.50857e-06
  10  7.03145
  11  1.24408e-05
  12  21.7741
  13  17.5915
  14  100.796
  15  0.000186402
  16  57.5621
  17  0.000278023
  18  0.287827
  19  0.141207
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  7.651e+00  7.031e+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.027e+00  1.412e-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.046e+00  2.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.00
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 3.74e-08 +/- 3.44e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.52e-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) = 6187.84923394
delta logL = 0.0849849179913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6187.8481523
delta logL = 0.0860665517494

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3757       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8483       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0544       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0251       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=   6187.848     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3757        8.1655        .36920E-02    .19811E-02
   2  alpha         1.8482        .65629        .43075       -.15444E-04
   3  Normalizat    1.0543        .23854        .81434E-01    .17129E-04
   4  Prefactor     1.0252        .12037        .41664E-01    .74518E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 7.37565
  alpha      = 1.84821
  Normalizat = 1.05435
  Prefactor  = 1.02515
 **********
 **   18 **HESSE 
 **********

 FCN=   6187.848     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3757        7.1336        .14768E-03   -1.5165    
   2  alpha         1.8482        .67831        .17674E-01   -.26376    
   3  Normalizat    1.0543        .27212        .36051E-03   -.91231    
   4  Prefactor     1.0252        .13774        .18369E-03   -.91896    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7178e-09
Minuit parameter uncertainties:
  1  7.13445
  2  0.68757
  3  0.272482
  4  0.137792
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332897': 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) = 6187.84815225
delta logL = 0.0860666045055

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  7.376e+00  7.134e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.848e+00  6.876e-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.025e+00  1.378e-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.054e+00  2.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.17
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 1.85 +/- 0.69
Photon Flux (Free Index): 2.76e-08 +/- 3.40e-08
Energy Flux (Free Index): 2.01e-05 +/- 2.22e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/332897/cmap_HighResolution_332380801_332640001_4FGL_J1419.4-0838_daily_bin359.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.74e-08', energy_flux2='2.01e-05', photon_flux_error='3.44e-08', dlogl='8.61e-02', energy_flux='1.65e-05', photon_flux2='2.76e-08', job_status='DONE', time_completed='2021-09-09 09:07:38.251992', photon_index_error2='0.69', photon_index2='1.85', ts='4.00', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.22e-05', EG='1.05', time_epoch_completed='1631203658.25', return_code='0', job_id='332897', GAL2='1.03', EG2='1.05', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='3.40e-08', ts2='4.17', photon_index='2.14' WHERE bin_id='359' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:07:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 332897: <4FGL_J1419.4-0838_daily_bin359> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin359> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 08:55:45 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:55:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 08:55:46 2021
Terminated at Thu Sep  9 09:07:38 2021
Results reported at Thu Sep  9 09:07:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin359 214.86 -8.6417 332380801 332640001 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 :                                   501.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            713 sec.

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

