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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin395
RA = 214.86, Dec = -8.6417
tmin = 341712001, tmax = 341971201
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='332948', job_status='RUN', time_executed='2021-09-09 08:58:31.477807', time_epoch_executed='1631203111.48' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='395'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332948

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332948/ft1_4FGL_J1419.4-0838_daily_bin395.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332948/ft2_4FGL_J1419.4-0838_daily_bin395.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332948/ft1_4FGL_J1419.4-0838_daily_bin395.fits outfile=/scratch/kocevski/332948/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin395.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=341712001.0 tmax=341971201.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.19
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/332948/ft2_4FGL_J1419.4-0838_daily_bin395.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/332948/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin395.fits evtable="EVENTS" outfile="/scratch/kocevski/332948/ft1_filtered_4FGL_J1419.4-0838_daily_bin395.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/332948/ft1_filtered_4FGL_J1419.4-0838_daily_bin395.fits" evtable="EVENTS" scfile=/scratch/kocevski/332948/ft2_4FGL_J1419.4-0838_daily_bin395.fits sctable="SC_DATA" outfile=/scratch/kocevski/332948/ltcube_341712001_341971201_4FGL_J1419.4-0838_daily_bin395.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/332948/ft2_4FGL_J1419.4-0838_daily_bin395.fits
.....................!
real 11.74
user 11.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332948/ft1_filtered_4FGL_J1419.4-0838_daily_bin395.fits evtable="EVENTS" scfile=/scratch/kocevski/332948/ft2_4FGL_J1419.4-0838_daily_bin395.fits sctable="SC_DATA" expcube=/scratch/kocevski/332948/ltcube_341712001_341971201_4FGL_J1419.4-0838_daily_bin395.fits outfile=/scratch/kocevski/332948/expmap_341712001_341971201_4FGL_J1419.4-0838_daily_bin395.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/332948/ltcube_341712001_341971201_4FGL_J1419.4-0838_daily_bin395.fits
.....................!
real 191.13
user 185.65
sys 5.18

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/332948/ft1_filtered_4FGL_J1419.4-0838_daily_bin395.fits scfile=/scratch/kocevski/332948/ft2_4FGL_J1419.4-0838_daily_bin395.fits outfile=/scratch/kocevski/332948/cmap_341712001_341971201_4FGL_J1419.4-0838_daily_bin395.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332948/ft1_filtered_4FGL_J1419.4-0838_daily_bin395.fits scfile=/scratch/kocevski/332948/ft2_4FGL_J1419.4-0838_daily_bin395.fits outfile=/scratch/kocevski/332948/cmap_HighResolution_341712001_341971201_4FGL_J1419.4-0838_daily_bin395.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/332948/ft1_filtered_4FGL_J1419.4-0838_daily_bin395.fits evtable="EVENTS" scfile=/scratch/kocevski/332948/ft2_4FGL_J1419.4-0838_daily_bin395.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/332948/Model_4FGL_J1419.4-0838_daily_bin395.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/332948/ft1_filtered_4FGL_J1419.4-0838_daily_bin395.fits.....................!
real 74.04
user 72.70
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.505       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10562E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.3535       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10508E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    16.121       1.0000         .10000E-03   10000.    
    10 'norm      '    16.044       1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.001       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10593E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10211E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10449E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.560       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10354E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0912       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.5432       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=   8835.477     FROM MIGRAD    STATUS=CONVERGED    407 CALLS     1872 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9636       -.13200E-07** at limit **
   2  Prefactor     32.503        9.1853       -.10681E-06    .41495E-04
   3  Prefactor     .10000E-03    7.3115       -.29424E-07** at limit **
   4  Prefactor     .10000E-03    25.262        .65291E-06** at limit **
   5  norm          5.3516        6.0396       -.50002E-07    .85557E-05
   6  Prefactor     .10000E-03    4.1725       -.15000E-07** at limit **
   7  norm          .10000E-03    1.5956        .17298E-07** at limit **
   8  Prefactor     .10000E-03    6.4592       -.26045E-07** at limit **
   9  norm          16.122        14.618       -.22522E-06   -.29865E-05
  10  norm          16.050        9.4943       -.34032E-06    .45924E-04
  11  Prefactor     40.887        36.687        .36420E-05    .23760E-03
  12  Prefactor     .10000E-03    15.794       -.10087E-07** at limit **
  13  norm          .10000E-03    7.1286       -.63857E-07** at limit **
  14  Prefactor     .10000E-03    33.028        .71365E-07** at limit **
  15  Prefactor     .10030E-03    5.2041       -.23925E-05** at limit **
  16  Prefactor     22.417        48.020        .29401E-05    .17047E-03
  17  Prefactor     .10000E-03    21.613       -.57933E-06** at limit **
  18  Normalizat    1.0914        .28983       -.53062E-06    .30001E-03
  19  Prefactor     1.5429        .14368        .12881E-05    .61355E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 32.5034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.35161
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 16.1221
  norm       = 16.0503
  Prefactor  = 40.8873
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100299
  Prefactor  = 22.4171
  Prefactor  = 0.0001
  Normalizat = 1.09144
  Prefactor  = 1.54295
 **********
 **   18 **HESSE 
 **********

 FCN=   8835.477     FROM HESSE     STATUS=OK           260 CALLS     2132 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9650        .12863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     32.503        9.1933        .70282E-04   -1.4567    
   3  Prefactor     .10000E-03    7.3153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    25.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.3516        6.0323        .17369E-03   -1.5245    
   6  Prefactor     .10000E-03    4.1736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.6636        .23175E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.4624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.122        14.620        .99754E-04   -1.4905    
  10  norm          16.050        9.4983        .99991E-04   -1.4906    
  11  Prefactor     40.887        36.764        .62602E-04   -1.4428    
  12  Prefactor     .10000E-03    15.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.1412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    33.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10030E-03    32.499        .34644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.417        48.774        .84331E-04   -1.4761    
  17  Prefactor     .10000E-03    21.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0914        .32685        .48223E-03   -.90027    
  19  Prefactor     1.5429        .16164        .20984E-03   -.76344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.23379e-09
Minuit parameter uncertainties:
  1  6.34531e-07
  2  9.19371
  3  2.05395e-06
  4  3.46476e-05
  5  6.03303
  6  9.81083e-07
  7  6.11511e-06
  8  2.00678e-06
  9  14.6227
  10  9.49923
  11  36.7841
  12  1.0698e-05
  13  4.12036e-06
  14  2.54213e-06
  15  0.006236
  16  48.861
  17  3.06758e-05
  18  0.327461
  19  0.161691
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.605e+01  9.499e+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.543e+00  1.617e-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.091e+00  3.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.39
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 7.85e-08 +/- 4.65e-08
Energy Flux (Fixed Index): 3.46e-05 +/- 2.05e-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) = 8835.18221666
delta logL = 0.294463366588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8835.04782974
delta logL = 0.428850278236

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.279       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5059       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1387       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5346       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=   8835.048     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      214 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.279        6.9645        .31243E-02   -.28961E-02
   2  alpha         1.5058        .38038        .37999       -.59337E-04
   3  Normalizat    1.1387        .27893        .10681        .29460E-04
   4  Prefactor     1.5346        .14105        .47592E-01   -.67575E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2794
  alpha      = 1.50583
  Normalizat = 1.13869
  Prefactor  = 1.53458
 **********
 **   18 **HESSE 
 **********

 FCN=   8835.048     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.279        9.6819        .12497E-03   -1.5067    
   2  alpha         1.5058        .60084        .14677E-01   -.40898    
   3  Normalizat    1.1387        .31740        .47346E-03   -.88519    
   4  Prefactor     1.5346        .16105        .21037E-03   -.76576    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.92396e-09
Minuit parameter uncertainties:
  1  9.68337
  2  0.607935
  3  0.317936
  4  0.161102
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332948': 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) = 8835.04782971
delta logL = 0.42885031685

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.028e+01  9.683e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.506e+00  6.079e-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.535e+00  1.611e-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.139e+00  3.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.15
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 1.51 +/- 0.61
Photon Flux (Free Index): 3.15e-08 +/- 3.48e-08
Energy Flux (Free Index): 5.11e-05 +/- 4.86e-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/332948/cmap_HighResolution_341712001_341971201_4FGL_J1419.4-0838_daily_bin395.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.85e-08', energy_flux2='5.11e-05', photon_flux_error='4.65e-08', dlogl='4.29e-01', energy_flux='3.46e-05', photon_flux2='3.15e-08', job_status='DONE', time_completed='2021-09-09 09:08:24.645281', photon_index_error2='0.61', photon_index2='1.51', ts='9.39', fit_tolerance='1e-08', GAL='1.54', photon_index_error='0.00', energy_flux_error2='4.86e-05', EG='1.09', time_epoch_completed='1631203704.65', return_code='0', job_id='332948', GAL2='1.53', EG2='1.14', return_code2='0', energy_flux_error='2.05e-05', photon_flux_error2='3.48e-08', ts2='10.15', photon_index='2.14' WHERE bin_id='395' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:08:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 332948: <4FGL_J1419.4-0838_daily_bin395> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin395> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 08:55:49 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:55:50 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:50 2021
Terminated at Thu Sep  9 09:08:25 2021
Results reported at Thu Sep  9 09:08:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin395 214.86 -8.6417 341712001 341971201 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 :                                   590.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            756 sec.

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

