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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin675
RA = 214.86, Dec = -8.6417
tmin = 414288001, tmax = 414547201
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='334326', job_status='RUN', time_executed='2021-09-09 09:02:48.690056', time_epoch_executed='1631203368.69' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/334326

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/334326/ft1_4FGL_J1419.4-0838_daily_bin675.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/334326/ft2_4FGL_J1419.4-0838_daily_bin675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/334326/ft1_4FGL_J1419.4-0838_daily_bin675.fits outfile=/scratch/kocevski/334326/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin675.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=414288001.0 tmax=414547201.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.50
user 5.22
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/334326/ft1_filtered_4FGL_J1419.4-0838_daily_bin675.fits" evtable="EVENTS" scfile=/scratch/kocevski/334326/ft2_4FGL_J1419.4-0838_daily_bin675.fits sctable="SC_DATA" outfile=/scratch/kocevski/334326/ltcube_414288001_414547201_4FGL_J1419.4-0838_daily_bin675.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/334326/ft2_4FGL_J1419.4-0838_daily_bin675.fits
.....................!
real 12.03
user 11.68
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/334326/ft1_filtered_4FGL_J1419.4-0838_daily_bin675.fits evtable="EVENTS" scfile=/scratch/kocevski/334326/ft2_4FGL_J1419.4-0838_daily_bin675.fits sctable="SC_DATA" expcube=/scratch/kocevski/334326/ltcube_414288001_414547201_4FGL_J1419.4-0838_daily_bin675.fits outfile=/scratch/kocevski/334326/expmap_414288001_414547201_4FGL_J1419.4-0838_daily_bin675.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/334326/ltcube_414288001_414547201_4FGL_J1419.4-0838_daily_bin675.fits
.....................!
real 189.90
user 185.54
sys 4.01

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/334326/ft1_filtered_4FGL_J1419.4-0838_daily_bin675.fits scfile=/scratch/kocevski/334326/ft2_4FGL_J1419.4-0838_daily_bin675.fits outfile=/scratch/kocevski/334326/cmap_414288001_414547201_4FGL_J1419.4-0838_daily_bin675.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/334326/ft1_filtered_4FGL_J1419.4-0838_daily_bin675.fits scfile=/scratch/kocevski/334326/ft2_4FGL_J1419.4-0838_daily_bin675.fits outfile=/scratch/kocevski/334326/cmap_HighResolution_414288001_414547201_4FGL_J1419.4-0838_daily_bin675.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.338       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3271       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.106       1.0000         .10000E-03   10000.    
     9 'norm      '    16.251       1.0000         .10000E-03   10000.    
    10 'norm      '    27.262       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.833       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.7640       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.518       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4861       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89263       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=   10871.67     FROM MIGRAD    STATUS=CONVERGED    367 CALLS     1577 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.336        7.2589       -.15754E-06   -.10061E-05
   2  Prefactor     1.3285        1.0113        .21124E-06   -.26251E-02
   3  Prefactor     .10000E-03    6.9812        .33114E-05** at limit **
   4  Prefactor     .10000E-03    15.271       -.53658E-05** at limit **
   5  norm          .10000E-03    6.4668        .87721E-06** at limit **
   6  Prefactor     .10000E-03    7.2698       -.16238E-05** at limit **
   7  norm          .10000E-03    .72367        .49339E-07** at limit **
   8  Prefactor     27.104        17.051       -.77798E-06    .81558E-05
   9  norm          16.251        9.9980       -.57344E-08    .33329E-05
  10  norm          27.262        8.5994        .27932E-07   -.13106E-04
  11  Prefactor     24.833        17.726       -.60242E-06   -.13916E-04
  12  Prefactor     .10000E-03    6.4914       -.26086E-05** at limit **
  13  norm          4.7643        8.9038       -.10627E-06   -.33093E-04
  14  Prefactor     .10000E-03    30.303       -.30712E-04** at limit **
  15  Prefactor     .10000E-03    1.7060       -.43633E-07** at limit **
  16  Prefactor     .10000E-03    25.111        .31910E-04** at limit **
  17  Prefactor     24.517        23.440       -.47309E-06   -.86007E-04
  18  Normalizat    1.4862        .19188        .27469E-06   -.45177E-04
  19  Prefactor     .89258        .92350E-01    .94615E-07   -.66937E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.3363
  Prefactor  = 1.3285
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.1041
  norm       = 16.251
  norm       = 27.2618
  Prefactor  = 24.8325
  Prefactor  = 0.0001
  norm       = 4.76429
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.5169
  Normalizat = 1.48618
  Prefactor  = 0.892583
 **********
 **   18 **HESSE 
 **********

 FCN=   10871.67     FROM HESSE     STATUS=OK           264 CALLS     1841 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.336        7.3211        .10227E-03   -1.4925    
   2  Prefactor     1.3285        4.9419        .19073E-02   -1.5477    
   3  Prefactor     .10000E-03    6.9852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    6.6451        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.3095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .73130        .86549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.104        17.066        .76947E-04   -1.4666    
   9  norm          16.251        9.9997        .99353E-04   -1.4901    
  10  norm          27.262        8.6063        .76727E-04   -1.4663    
  11  Prefactor     24.833        17.743        .80384E-04   -1.4711    
  12  Prefactor     .10000E-03    6.5002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.7643        8.9179        .18434E-03   -1.5271    
  14  Prefactor     .10000E-03    30.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.7252        .13292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    25.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.517        23.451        .80899E-04   -1.4717    
  18  Normalizat    1.4862        .22548        .32827E-03   -.78167    
  19  Prefactor     .89258        .10790        .19803E-03   -.96401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20338e-08
Minuit parameter uncertainties:
  1  7.32151
  2  4.94345
  3  1.90506e-06
  4  6.32583e-06
  5  9.72831e-06
  6  2.44456e-06
  7  4.23232e-07
  8  17.069
  9  10.0007
  10  8.60674
  11  17.7463
  12  1.75758e-06
  13  8.92033
  14  4.04239e-05
  15  5.34138e-06
  16  9.24889e-06
  17  23.4597
  18  0.225629
  19  0.107924
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  2.726e+01  8.607e+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.926e-01  1.079e-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.486e+00  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.20
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 1.33e-07 +/- 4.21e-08
Energy Flux (Fixed Index): 5.88e-05 +/- 1.86e-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) = 10871.5577444
delta logL = 0.113097808739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10871.5527982
delta logL = 0.118044006647

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.440       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2873       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89869       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=   10871.55     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      232 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.440        114.02        .19477E-02    .31835E-03
   2  alpha         2.2873        3.6430        .26019        .55755E-04
   3  Normalizat    1.4640        .22687        .74616E-01    .16224E-03
   4  Prefactor     .89869        .79304E-01    .44988E-01    .36093E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 26.44
  alpha      = 2.28729
  Normalizat = 1.46402
  Prefactor  = 0.898691
 **********
 **   18 **HESSE 
 **********

 FCN=   10871.55     FROM HESSE     STATUS=OK            31 CALLS      263 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.440        8.5312        .77908E-04   -1.4679    
   2  alpha         2.2873        .31164        .10365E-01   -.85186E-01
   3  Normalizat    1.4640        .22653        .33018E-03   -.78794    
   4  Prefactor     .89869        .10769        .19741E-03   -.96187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51999e-11
Minuit parameter uncertainties:
  1  8.5316
  2  0.312456
  3  0.226687
  4  0.107716
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/334326': 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) = 10871.5527982
delta logL = 0.118044007757

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  2.644e+01  8.532e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.287e+00  3.125e-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:  8.987e-01  1.077e-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.464e+00  2.267e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.46
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 2.29 +/- 0.31
Photon Flux (Free Index): 1.52e-07 +/- 5.89e-08
Energy Flux (Free Index): 5.50e-05 +/- 1.82e-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/334326/cmap_HighResolution_414288001_414547201_4FGL_J1419.4-0838_daily_bin675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.33e-07', energy_flux2='5.50e-05', photon_flux_error='4.21e-08', dlogl='1.18e-01', energy_flux='5.88e-05', photon_flux2='1.52e-07', job_status='DONE', time_completed='2021-09-09 09:13:09.514155', photon_index_error2='0.31', photon_index2='2.29', ts='25.20', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='1.82e-05', EG='1.49', time_epoch_completed='1631203989.51', return_code='0', job_id='334326', GAL2='0.90', EG2='1.46', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='5.89e-08', ts2='25.46', photon_index='2.14' WHERE bin_id='675' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:13:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 334326: <4FGL_J1419.4-0838_daily_bin675> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin675 214.86 -8.6417 414288001 414547201 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 :                                   619.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            753 sec.

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

