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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin924
RA = 214.86, Dec = -8.6417
tmin = 478828801, tmax = 479088001
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='335717', job_status='RUN', time_executed='2021-09-09 09:07:37.934286', time_epoch_executed='1631203657.93' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='924'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/335717

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/335717/ft1_4FGL_J1419.4-0838_daily_bin924.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/335717/ft2_4FGL_J1419.4-0838_daily_bin924.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/335717/ft1_4FGL_J1419.4-0838_daily_bin924.fits outfile=/scratch/kocevski/335717/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin924.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=478828801.0 tmax=479088001.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.54
user 3.30
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/335717/ft2_4FGL_J1419.4-0838_daily_bin924.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/335717/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin924.fits evtable="EVENTS" outfile="/scratch/kocevski/335717/ft1_filtered_4FGL_J1419.4-0838_daily_bin924.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/335717/ft1_filtered_4FGL_J1419.4-0838_daily_bin924.fits" evtable="EVENTS" scfile=/scratch/kocevski/335717/ft2_4FGL_J1419.4-0838_daily_bin924.fits sctable="SC_DATA" outfile=/scratch/kocevski/335717/ltcube_478828801_479088001_4FGL_J1419.4-0838_daily_bin924.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/335717/ft2_4FGL_J1419.4-0838_daily_bin924.fits
.....................!
real 11.83
user 11.42
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/335717/ft1_filtered_4FGL_J1419.4-0838_daily_bin924.fits evtable="EVENTS" scfile=/scratch/kocevski/335717/ft2_4FGL_J1419.4-0838_daily_bin924.fits sctable="SC_DATA" expcube=/scratch/kocevski/335717/ltcube_478828801_479088001_4FGL_J1419.4-0838_daily_bin924.fits outfile=/scratch/kocevski/335717/expmap_478828801_479088001_4FGL_J1419.4-0838_daily_bin924.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/335717/ltcube_478828801_479088001_4FGL_J1419.4-0838_daily_bin924.fits
.....................!
real 191.82
user 186.20
sys 5.25

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/335717/ft1_filtered_4FGL_J1419.4-0838_daily_bin924.fits scfile=/scratch/kocevski/335717/ft2_4FGL_J1419.4-0838_daily_bin924.fits outfile=/scratch/kocevski/335717/cmap_478828801_479088001_4FGL_J1419.4-0838_daily_bin924.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/335717/ft1_filtered_4FGL_J1419.4-0838_daily_bin924.fits scfile=/scratch/kocevski/335717/ft2_4FGL_J1419.4-0838_daily_bin924.fits outfile=/scratch/kocevski/335717/cmap_HighResolution_478828801_479088001_4FGL_J1419.4-0838_daily_bin924.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/335717/ft1_filtered_4FGL_J1419.4-0838_daily_bin924.fits evtable="EVENTS" scfile=/scratch/kocevski/335717/ft2_4FGL_J1419.4-0838_daily_bin924.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/335717/Model_4FGL_J1419.4-0838_daily_bin924.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/335717/ft1_filtered_4FGL_J1419.4-0838_daily_bin924.fits.....................!
real 55.64
user 54.23
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.968       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .29611E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10439E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .21619E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    7.6886       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.754       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.799       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12486E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .79530       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1371       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=   6610.659     FROM MIGRAD    STATUS=CONVERGED    399 CALLS     1951 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.9892        .24192E-06** at limit **
   2  Prefactor     .10000E-03    5.3131        .15583E-06** at limit **
   3  Prefactor     23.952        31.592       -.35044E-05    .74631E-05
   4  Prefactor     .10000E-03    17.648       -.21618E-04** at limit **
   5  norm          .10000E-03    5.7077       -.41181E-06** at limit **
   6  Prefactor     .10000E-03    10.610        .55927E-06** at limit **
   7  norm          .10000E-03    1.4382        .74705E-07** at limit **
   8  Prefactor     .10000E-03    12.718       -.77183E-05** at limit **
   9  norm          .10167E-03    9.0997       -.16619E-05** at limit **
  10  norm          7.6904        7.1158       -.21466E-06    .21588E-04
  11  Prefactor     .10000E-03    28.223       -.94344E-05** at limit **
  12  Prefactor     .10000E-03    13.632        .12746E-04** at limit **
  13  norm          11.751        13.573       -.67120E-06   -.10639E-03
  14  Prefactor     .10000E-03    92.085        .10746E-04** at limit **
  15  Prefactor     26.792        9.0874       -.30817E-06   -.37499E-03
  16  Prefactor     .10000E-03    92.205        .11181E-04** at limit **
  17  Prefactor     .10000E-03    20.354        .23728E-04** at limit **
  18  Normalizat    .79504        .23144        .10240E-05    .71308E-04
  19  Prefactor     1.1373        .11906        .11431E-06    .18276E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.9522
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000101668
  norm       = 7.69039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.7514
  Prefactor  = 0.0001
  Prefactor  = 26.7925
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.795045
  Prefactor  = 1.13728
 **********
 **   18 **HESSE 
 **********

 FCN=   6610.659     FROM HESSE     STATUS=OK           270 CALLS     2221 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.0037        .13728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.5171        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.952        31.691        .81820E-04   -1.4729    
   4  Prefactor     .10000E-03    17.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    20.606        .37137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.6430        .18704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10167E-03    9.8071        .84696E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.6904        7.0944        .14462E-03   -1.5153    
  11  Prefactor     .10000E-03    28.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.751        13.582        .11685E-03   -1.5022    
  14  Prefactor     .10000E-03    92.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.792        9.0936        .77386E-04   -1.4672    
  16  Prefactor     .10000E-03    92.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    20.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .79504        .25586        .38841E-03   -1.0025    
  19  Prefactor     1.1373        .13417        .17323E-03   -.88284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.56914e-10
Minuit parameter uncertainties:
  1  1.12966e-06
  2  3.72175e-06
  3  31.7128
  4  7.84011e-07
  5  0.000242379
  6  2.56505e-05
  7  1.66443e-05
  8  8.81275e-06
  9  0.00809102
  10  7.09514
  11  1.24778e-05
  12  9.61004e-06
  13  13.5854
  14  3.97003e-05
  15  9.09411
  16  4.2907e-05
  17  2.36481e-06
  18  0.256246
  19  0.134206
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  7.690e+00  7.095e+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.137e+00  1.342e-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:  7.950e-01  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.89
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 3.76e-08 +/- 3.47e-08
Energy Flux (Fixed Index): 1.66e-05 +/- 1.53e-05

TS (Fixed Index): 2.89
Ra Dec: 214.860 -8.642
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/335717/likelihoodResults_478828801_479088001_4FGL_J1419.4-0838_daily_bin924.txt

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) = 6610.60132998
delta logL = 0.0579178160242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6610.59968844
delta logL = 0.0595593477128

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.7637       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4143       1.0000          .0000       5.0000    
     3 'Normalizat'    .77953       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1410       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6610.600     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      269 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.7967        6.8850        .71957E-03   -.82630E-05
   2  alpha         2.4194        .79805        .18538E-01    .95540E-04
   3  Normalizat    .77948        .25467        .39193E-03   -.18303E-04
   4  Prefactor     1.1408        .13215        .17298E-03   -.21556E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.79665
  alpha      = 2.41937
  Normalizat = 0.779482
  Prefactor  = 1.14081
 **********
 **   18 **HESSE 
 **********

 FCN=   6610.600     FROM HESSE     STATUS=OK            27 CALLS      296 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.7967        6.7900        .28783E-04   -1.5149    
   2  alpha         2.4194        .78682        .37076E-02   -.32258E-01
   3  Normalizat    .77948        .25477        .15677E-04   -1.0083    
   4  Prefactor     1.1408        .13220        .69194E-05   -.88173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18316e-12
Minuit parameter uncertainties:
  1  6.79064
  2  0.800442
  3  0.255157
  4  0.13224
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/335717': 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) = 6610.59964609
delta logL = 0.0596016991503

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  7.797e+00  6.791e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.419e+00  8.004e-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.141e+00  1.322e-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:  7.795e-01  2.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.01
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 2.42 +/- 0.80
Photon Flux (Free Index): 5.23e-08 +/- 5.98e-08
Energy Flux (Free Index): 1.64e-05 +/- 1.39e-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/335717/cmap_HighResolution_478828801_479088001_4FGL_J1419.4-0838_daily_bin924.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.47e-05', comment='SUCCESS', photon_flux='3.76e-08', energy_flux2='1.64e-05', photon_flux_error='3.47e-08', dlogl='5.96e-02', energy_flux='1.66e-05', photon_flux2='5.23e-08', job_status='DONE', time_completed='2021-09-09 09:17:01.859770', photon_index_error2='0.80', photon_index2='2.42', ts='2.89', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='1.39e-05', EG='0.80', time_epoch_completed='1631204221.86', return_code='0', job_id='335717', GAL2='1.14', EG2='0.78', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='5.98e-08', ts2='3.01', photon_index='2.14' WHERE bin_id='924' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:17:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 335717: <4FGL_J1419.4-0838_daily_bin924> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin924> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 09:05:28 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:05:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 09:05:30 2021
Terminated at Thu Sep  9 09:17:02 2021
Results reported at Thu Sep  9 09:17:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin924 214.86 -8.6417 478828801 479088001 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 :                                   560.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            694 sec.

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

