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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin235
RA = 214.86, Dec = -8.6417
tmin = 300240001, tmax = 300499201
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='332716', job_status='RUN', time_executed='2021-09-09 08:59:17.912400', time_epoch_executed='1631203157.91' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332716

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332716/ft1_4FGL_J1419.4-0838_daily_bin235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332716/ft2_4FGL_J1419.4-0838_daily_bin235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332716/ft1_4FGL_J1419.4-0838_daily_bin235.fits outfile=/scratch/kocevski/332716/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin235.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=300240001.0 tmax=300499201.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.42
user 3.23
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332716/ft1_filtered_4FGL_J1419.4-0838_daily_bin235.fits" evtable="EVENTS" scfile=/scratch/kocevski/332716/ft2_4FGL_J1419.4-0838_daily_bin235.fits sctable="SC_DATA" outfile=/scratch/kocevski/332716/ltcube_300240001_300499201_4FGL_J1419.4-0838_daily_bin235.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/332716/ft2_4FGL_J1419.4-0838_daily_bin235.fits
.....................!
real 11.65
user 11.32
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332716/ft1_filtered_4FGL_J1419.4-0838_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/332716/ft2_4FGL_J1419.4-0838_daily_bin235.fits sctable="SC_DATA" expcube=/scratch/kocevski/332716/ltcube_300240001_300499201_4FGL_J1419.4-0838_daily_bin235.fits outfile=/scratch/kocevski/332716/expmap_300240001_300499201_4FGL_J1419.4-0838_daily_bin235.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/332716/ltcube_300240001_300499201_4FGL_J1419.4-0838_daily_bin235.fits
.....................!
real 190.14
user 185.64
sys 4.16

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/332716/ft1_filtered_4FGL_J1419.4-0838_daily_bin235.fits scfile=/scratch/kocevski/332716/ft2_4FGL_J1419.4-0838_daily_bin235.fits outfile=/scratch/kocevski/332716/cmap_300240001_300499201_4FGL_J1419.4-0838_daily_bin235.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332716/ft1_filtered_4FGL_J1419.4-0838_daily_bin235.fits scfile=/scratch/kocevski/332716/ft2_4FGL_J1419.4-0838_daily_bin235.fits outfile=/scratch/kocevski/332716/cmap_HighResolution_300240001_300499201_4FGL_J1419.4-0838_daily_bin235.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/332716/ft1_filtered_4FGL_J1419.4-0838_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/332716/ft2_4FGL_J1419.4-0838_daily_bin235.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/332716/Model_4FGL_J1419.4-0838_daily_bin235.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/332716/ft1_filtered_4FGL_J1419.4-0838_daily_bin235.fits.....................!
real 57.13
user 55.79
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4656       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .28016       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.9777       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    17.381       1.0000         .10000E-03   10000.    
    10 'norm      '    4.2588       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .16361E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1809       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3557       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0544       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0092       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=   6895.733     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     1669 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4634        7.1072       -.42920E-06    .13185E-05
   2  Prefactor     .10000E-03    5.3134        .47546E-06** at limit **
   3  Prefactor     .10000E-03    33.057       -.13319E-07** at limit **
   4  Prefactor     .10000E-03    16.743        .22377E-06** at limit **
   5  norm          .23624        21.950        .10777E-04   -.55613E-04
   6  Prefactor     .10000E-03    7.1666       -.18643E-06** at limit **
   7  norm          7.9786        3.3976        .15136E-07   -.24273E-03
   8  Prefactor     .10000E-03    5.8967       -.79364E-07** at limit **
   9  norm          17.380        12.283        .54865E-07    .11663E-04
  10  norm          4.2712        7.9968       -.11339E-05   -.40821E-03
  11  Prefactor     .10001E-03    195.95        .46536E-07** at limit **
  12  Prefactor     .10000E-03    16.882       -.62658E-06** at limit **
  13  norm          .10000E-03    182.27        .16811E-04** at limit **
  14  Prefactor     2.1955        257.83       -.22438E-05    .38471E-05
  15  Prefactor     1.3563        4.7949        .54506E-06   -.12120E-03
  16  Prefactor     .10000E-03    36.337       -.78144E-06** at limit **
  17  Prefactor     .10000E-03    28.598       -.32051E-06** at limit **
  18  Normalizat    1.0546        .22753       -.15084E-05   -.21855E-03
  19  Prefactor     1.0094        .11446        .56007E-06   -.89821E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.46338
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.236245
  Prefactor  = 0.0001
  norm       = 7.9786
  Prefactor  = 0.0001
  norm       = 17.3802
  norm       = 4.27115
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 2.19555
  Prefactor  = 1.35627
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05457
  Prefactor  = 1.00936
 **********
 **   18 **HESSE 
 **********

 FCN=   6895.733     FROM HESSE     STATUS=OK           278 CALLS     1947 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4634        7.0909        .19054E-03   -1.5285    
   2  Prefactor     .10000E-03    5.4587        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    33.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .23624        21.739        .33819E-02   -1.5611    
   6  Prefactor     .10000E-03    7.1875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.9786        3.3940        .94163E-04   -1.5143    
   8  Prefactor     .10000E-03    5.9008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          17.380        12.284        .96068E-04   -1.4874    
  10  norm          4.2712        8.0889        .19524E-03   -1.5295    
  11  Prefactor     .10001E-03    201.30        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.157        .72405E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1955        258.67        .27876E-03   -1.5412    
  15  Prefactor     1.3563        4.8058        .32891E-03   -1.5475    
  16  Prefactor     .10000E-03    36.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    28.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0546        .26626        .35271E-03   -.91224    
  19  Prefactor     1.0094        .13487        .18084E-03   -.92418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52691e-08
Minuit parameter uncertainties:
  1  7.09225
  2  5.97009e-05
  3  0.000326298
  4  1.41592e-05
  5  4.53321
  6  2.6378e-05
  7  3.39408
  8  9.25323e-06
  9  12.286
  10  8.09097
  11  0.00281901
  12  9.53252e-06
  13  0.000192381
  14  47.8743
  15  4.80714
  16  0.000234904
  17  0.000154632
  18  0.266595
  19  0.134917
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  4.271e+00  8.091e+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.009e+00  1.349e-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.055e+00  2.666e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/332716/likelihoodResults_300240001_300499201_4FGL_J1419.4-0838_daily_bin235.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) = 6895.6451923
delta logL = 0.0878472463064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6895.64346089
delta logL = 0.08957866522

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1770       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6216       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0381       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0135       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=   6895.643     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      228 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1693        262.08        .49300E-02    .36439E-03
   2  alpha         2.6183        2.6732        .41213        .30913E-04
   3  Normalizat    1.0383        .78879E-01    .80215E-01    .49918E-04
   4  Prefactor     1.0135        .39043E-01    .42858E-01    .69328E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.16934
  alpha      = 2.6183
  Normalizat = 1.03832
  Prefactor  = 1.01354
 **********
 **   18 **HESSE 
 **********

 FCN=   6895.643     FROM HESSE     STATUS=OK            31 CALLS      259 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1693        7.9679        .19720E-03   -1.5300    
   2  alpha         2.6183        1.2249        .25548E-01    .47338E-01
   3  Normalizat    1.0383        .26738        .35508E-03   -.91758    
   4  Prefactor     1.0135        .13375        .18048E-03   -.92279    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19911e-09
Minuit parameter uncertainties:
  1  7.96996
  2  1.28024
  3  0.267732
  4  0.133798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332716': 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) = 6895.64345192
delta logL = 0.0895876321647

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  4.169e+00  7.970e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.618e+00  1.280e+00  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.014e+00  1.338e-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.038e+00  2.677e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
Ra Dec: 214.860 -8.642

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/332716/cmap_HighResolution_300240001_300499201_4FGL_J1419.4-0838_daily_bin235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.07e-05', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-09-09 09:08:23.837904', job_id='332716', GAL2='1.01', fit_tolerance='1e-08', EG2='1.04', EG='1.05', time_epoch_completed='1631203703.84', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='8.96e-02', ts2='0.53', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='235' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:08:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 332716: <4FGL_J1419.4-0838_daily_bin235> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin235 214.86 -8.6417 300240001 300499201 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 :                                   543.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            771 sec.

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

