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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin796
RA = 214.86, Dec = -8.6417
tmin = 445651201, tmax = 445910401
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='335533', job_status='RUN', time_executed='2021-09-09 09:08:55.737825', time_epoch_executed='1631203735.74' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='796'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/335533

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/335533/ft1_4FGL_J1419.4-0838_daily_bin796.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/335533/ft2_4FGL_J1419.4-0838_daily_bin796.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/335533/ft1_4FGL_J1419.4-0838_daily_bin796.fits outfile=/scratch/kocevski/335533/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin796.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=445651201.0 tmax=445910401.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.58
user 3.36
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/335533/ft1_filtered_4FGL_J1419.4-0838_daily_bin796.fits" evtable="EVENTS" scfile=/scratch/kocevski/335533/ft2_4FGL_J1419.4-0838_daily_bin796.fits sctable="SC_DATA" outfile=/scratch/kocevski/335533/ltcube_445651201_445910401_4FGL_J1419.4-0838_daily_bin796.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/335533/ft2_4FGL_J1419.4-0838_daily_bin796.fits
.....................!
real 11.93
user 11.61
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/335533/ft1_filtered_4FGL_J1419.4-0838_daily_bin796.fits evtable="EVENTS" scfile=/scratch/kocevski/335533/ft2_4FGL_J1419.4-0838_daily_bin796.fits sctable="SC_DATA" expcube=/scratch/kocevski/335533/ltcube_445651201_445910401_4FGL_J1419.4-0838_daily_bin796.fits outfile=/scratch/kocevski/335533/expmap_445651201_445910401_4FGL_J1419.4-0838_daily_bin796.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/335533/ltcube_445651201_445910401_4FGL_J1419.4-0838_daily_bin796.fits
.....................!
real 191.70
user 186.39
sys 4.96

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/335533/ft1_filtered_4FGL_J1419.4-0838_daily_bin796.fits scfile=/scratch/kocevski/335533/ft2_4FGL_J1419.4-0838_daily_bin796.fits outfile=/scratch/kocevski/335533/cmap_445651201_445910401_4FGL_J1419.4-0838_daily_bin796.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/335533/ft1_filtered_4FGL_J1419.4-0838_daily_bin796.fits scfile=/scratch/kocevski/335533/ft2_4FGL_J1419.4-0838_daily_bin796.fits outfile=/scratch/kocevski/335533/cmap_HighResolution_445651201_445910401_4FGL_J1419.4-0838_daily_bin796.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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/335533/ft1_filtered_4FGL_J1419.4-0838_daily_bin796.fits evtable="EVENTS" scfile=/scratch/kocevski/335533/ft2_4FGL_J1419.4-0838_daily_bin796.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/335533/Model_4FGL_J1419.4-0838_daily_bin796.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/335533/ft1_filtered_4FGL_J1419.4-0838_daily_bin796.fits.....................!
real 68.08
user 66.68
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.319       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.589       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10388E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.8981       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .61102       1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.973       1.0000         .10000E-03   10000.    
     9 'norm      '    3.5514       1.0000         .10000E-03   10000.    
    10 'norm      '    82.093       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.8418       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.285       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .97415       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .97523       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=   8744.839     FROM MIGRAD    STATUS=CONVERGED    383 CALLS     1872 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.318        9.3408       -.60746E-07    .19798E-04
   2  Prefactor     .10000E-03    1.6362        .24236E-07** at limit **
   3  Prefactor     30.591        30.060        .13860E-05    .39510E-05
   4  Prefactor     .10000E-03    58.666       -.92383E-05** at limit **
   5  norm          2.8982        4.1960       -.22134E-06   -.46308E-03
   6  Prefactor     .10000E-03    7.7817       -.12557E-06** at limit **
   7  norm          .60790        2.0907       -.93175E-06   -.70078E-03
   8  Prefactor     24.979        24.941        .27013E-05   -.35743E-05
   9  norm          3.5510        11.286       -.75486E-06   -.12673E-03
  10  norm          82.099        14.027        .25996E-06    .34720E-03
  11  Prefactor     .10000E-03    9.3083       -.54886E-08** at limit **
  12  Prefactor     8.8413        11.464       -.15026E-06   -.26749E-05
  13  norm          .10000E-03    3.4098       -.34610E-08** at limit **
  14  Prefactor     .10000E-03    51.288        .13863E-04** at limit **
  15  Prefactor     16.283        6.1429        .37190E-06    .65787E-04
  16  Prefactor     .10000E-03    41.395       -.52187E-05** at limit **
  17  Prefactor     .10000E-03    15.014        .35912E-07** at limit **
  18  Normalizat    .97398        .21740       -.56608E-06    .13397E-03
  19  Prefactor     .97530        .10341        .13909E-06    .19166E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 25.3184
  Prefactor  = 0.0001
  Prefactor  = 30.5912
  Prefactor  = 0.0001
  norm       = 2.89822
  Prefactor  = 0.0001
  norm       = 0.607897
  Prefactor  = 24.9789
  norm       = 3.55096
  norm       = 82.0988
  Prefactor  = 0.0001
  Prefactor  = 8.84127
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.283
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.973978
  Prefactor  = 0.975299
 **********
 **   18 **HESSE 
 **********

 FCN=   8744.839     FROM HESSE     STATUS=OK           268 CALLS     2140 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.318        9.3442        .79611E-04   -1.4701    
   2  Prefactor     .10000E-03    1.6479        .11673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.591        30.093        .72444E-04   -1.4601    
   4  Prefactor     .10000E-03    58.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.8982        4.2057        .22445E-03   -1.5367    
   6  Prefactor     .10000E-03    7.7963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .60790        3.4124        .23088E-02   -1.5552    
   8  Prefactor     24.979        24.762        .80159E-04   -1.4708    
   9  norm          3.5510        11.354        .21448E-03   -1.5331    
  10  norm          82.099        13.981        .44331E-04   -1.3893    
  11  Prefactor     .10000E-03    9.3282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.8413        11.466        .13480E-03   -1.5113    
  13  norm          .10000E-03    3.4199        .16863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    49.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.283        6.1326        .99250E-04   -1.4901    
  16  Prefactor     .10000E-03    41.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .97398        .24848        .37750E-03   -.93907    
  19  Prefactor     .97530        .11967        .18916E-03   -.93557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91125e-10
Minuit parameter uncertainties:
  1  9.3447
  2  2.83825e-06
  3  30.1079
  4  7.90646e-05
  5  4.20613
  6  1.99631e-05
  7  2.88056
  8  24.7726
  9  11.3607
  10  13.9819
  11  1.35729e-06
  12  11.469
  13  6.2188e-07
  14  5.94636e-06
  15  6.13283
  16  5.60949e-05
  17  6.62312e-06
  18  0.248779
  19  0.119698
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  8.210e+01  1.398e+01  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.138e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  8.011e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  7.019e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.753e-01  1.197e-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:  9.740e-01  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 151.86
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 4.02e-07 +/- 6.84e-08
Energy Flux (Fixed Index): 1.77e-04 +/- 3.01e-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) = 8744.35241252
delta logL = 0.486578318591

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8744.32374424
delta logL = 0.51524659737

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    85.087       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9768       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0175       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96401       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=   8744.324     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      206 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          85.090        14.362        .27749E-05   -.12685E-02
   2  alpha         1.9767        .14570       -.43317E-05   -.80382E-03
   3  Normalizat    1.0175        .20678       -.59344E-06    .24143E-04
   4  Prefactor     .96406        .10211       -.12143E-06    .35558E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 85.0895
  alpha      = 1.97671
  Normalizat = 1.01754
  Prefactor  = 0.964065
 **********
 **   18 **HESSE 
 **********

 FCN=   8744.324     FROM HESSE     STATUS=OK            27 CALLS      233 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          85.090        14.464        .43550E-04   -1.3860    
   2  alpha         1.9767        .15738        .55775E-03   -.21088    
   3  Normalizat    1.0175        .23786        .37067E-03   -.92445    
   4  Prefactor     .96406        .11772        .19023E-03   -.93937    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92117e-09
Minuit parameter uncertainties:
  1  14.4643
  2  0.157491
  3  0.238113
  4  0.117746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/335533': 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) = 8744.32374364
delta logL = 0.515247194928

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  8.509e+01  1.446e+01  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.977e+00  1.575e-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.641e-01  1.177e-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.018e+00  2.381e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 152.19
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 1.98 +/- 0.16
Photon Flux (Free Index): 3.56e-07 +/- 7.55e-08
Energy Flux (Free Index): 2.03e-04 +/- 4.59e-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/335533/cmap_HighResolution_445651201_445910401_4FGL_J1419.4-0838_daily_bin796.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.02e-07', energy_flux2='2.03e-04', photon_flux_error='6.84e-08', dlogl='5.15e-01', energy_flux='1.77e-04', photon_flux2='3.56e-07', job_status='DONE', time_completed='2021-09-09 09:18:29.643119', photon_index_error2='0.16', photon_index2='1.98', ts='151.86', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='4.59e-05', EG='0.97', time_epoch_completed='1631204309.64', return_code='0', job_id='335533', GAL2='0.96', EG2='1.02', return_code2='0', energy_flux_error='3.01e-05', photon_flux_error2='7.55e-08', ts2='152.19', photon_index='2.14' WHERE bin_id='796' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:18:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 335533: <4FGL_J1419.4-0838_daily_bin796> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin796> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 09:05:15 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:05:16 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:05:16 2021
Terminated at Thu Sep  9 09:18:31 2021
Results reported at Thu Sep  9 09:18:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin796 214.86 -8.6417 445651201 445910401 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 :                                   573.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            796 sec.

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

