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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin887
RA = 214.86, Dec = -8.6417
tmin = 469238401, tmax = 469497601
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='335663', job_status='RUN', time_executed='2021-09-09 09:09:18.164588', time_epoch_executed='1631203758.16' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='887'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/335663

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/335663/ft1_4FGL_J1419.4-0838_daily_bin887.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/335663/ft2_4FGL_J1419.4-0838_daily_bin887.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/335663/ft1_4FGL_J1419.4-0838_daily_bin887.fits outfile=/scratch/kocevski/335663/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin887.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=469238401.0 tmax=469497601.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.44
user 3.22
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/335663/ft2_4FGL_J1419.4-0838_daily_bin887.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/335663/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin887.fits evtable="EVENTS" outfile="/scratch/kocevski/335663/ft1_filtered_4FGL_J1419.4-0838_daily_bin887.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/335663/ft1_filtered_4FGL_J1419.4-0838_daily_bin887.fits" evtable="EVENTS" scfile=/scratch/kocevski/335663/ft2_4FGL_J1419.4-0838_daily_bin887.fits sctable="SC_DATA" outfile=/scratch/kocevski/335663/ltcube_469238401_469497601_4FGL_J1419.4-0838_daily_bin887.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/335663/ft2_4FGL_J1419.4-0838_daily_bin887.fits
.....................!
real 11.74
user 11.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/335663/ft1_filtered_4FGL_J1419.4-0838_daily_bin887.fits evtable="EVENTS" scfile=/scratch/kocevski/335663/ft2_4FGL_J1419.4-0838_daily_bin887.fits sctable="SC_DATA" expcube=/scratch/kocevski/335663/ltcube_469238401_469497601_4FGL_J1419.4-0838_daily_bin887.fits outfile=/scratch/kocevski/335663/expmap_469238401_469497601_4FGL_J1419.4-0838_daily_bin887.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/335663/ltcube_469238401_469497601_4FGL_J1419.4-0838_daily_bin887.fits
.....................!
real 190.26
user 185.25
sys 4.57

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/335663/ft1_filtered_4FGL_J1419.4-0838_daily_bin887.fits scfile=/scratch/kocevski/335663/ft2_4FGL_J1419.4-0838_daily_bin887.fits outfile=/scratch/kocevski/335663/cmap_469238401_469497601_4FGL_J1419.4-0838_daily_bin887.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/335663/ft1_filtered_4FGL_J1419.4-0838_daily_bin887.fits scfile=/scratch/kocevski/335663/ft2_4FGL_J1419.4-0838_daily_bin887.fits outfile=/scratch/kocevski/335663/cmap_HighResolution_469238401_469497601_4FGL_J1419.4-0838_daily_bin887.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=214.86 yref=-8.6417 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/335663/ft1_filtered_4FGL_J1419.4-0838_daily_bin887.fits evtable="EVENTS" scfile=/scratch/kocevski/335663/ft2_4FGL_J1419.4-0838_daily_bin887.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/335663/Model_4FGL_J1419.4-0838_daily_bin887.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/335663/ft1_filtered_4FGL_J1419.4-0838_daily_bin887.fits.....................!
real 56.77
user 55.35
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5189       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3676       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.2763       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    51.057       1.0000         .10000E-03   10000.    
     9 'norm      '    5.0812       1.0000         .10000E-03   10000.    
    10 'norm      '    10.261       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.346       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    15.336       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .77263       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2285       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=   6916.359     FROM MIGRAD    STATUS=CONVERGED    401 CALLS     1872 TOTAL
                     EDM=   .55E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5193        7.0800       -.40225E-06   -.24166E-05
   2  Prefactor     3.3673        3.7381        .19075E-07    .57109E-05
   3  Prefactor     .10000E-03    15.169        .41188E-05** at limit **
   4  Prefactor     .10000E-03    14.833       -.38542E-05** at limit **
   5  norm          2.2770        .42240        .10032E-07   -.22029E-03
   6  Prefactor     .10000E-03    4.2559        .17630E-07** at limit **
   7  norm          .10000E-03    1.2145        .27125E-07** at limit **
   8  Prefactor     51.058        26.163        .16923E-06   -.42695E-05
   9  norm          5.0811        11.404       -.29214E-07   -.18009E-05
  10  norm          10.261        8.9981       -.51161E-07   -.77020E-05
  11  Prefactor     16.347        27.659        .40255E-06   -.13254E-05
  12  Prefactor     .10000E-03    11.811        .10237E-06** at limit **
  13  norm          15.334        16.240        .23101E-06   -.98101E-06
  14  Prefactor     .10000E-03    104.16       -.38548E-06** at limit **
  15  Prefactor     .10000E-03    2.4376        .16876E-07** at limit **
  16  Prefactor     .10000E-03    40.019        .46658E-06** at limit **
  17  Prefactor     .10000E-03    21.952       -.44303E-06** at limit **
  18  Normalizat    .77245        .24413       -.38732E-07   -.11332E-04
  19  Prefactor     1.2286        .12496       -.52732E-07   -.10771E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.51934
  Prefactor  = 3.36726
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.27702
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 51.0581
  norm       = 5.08108
  norm       = 10.2608
  Prefactor  = 16.3467
  Prefactor  = 0.0001
  norm       = 15.3338
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.772447
  Prefactor  = 1.22855
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5193        7.0613        .21551E-03   -1.5333    
   2  Prefactor     3.3673        3.7840        .16287E-03   -1.5341    
   3  Prefactor     .10000E-03    15.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.2770        6.3267        .13608E-02   -1.5406    
   6  Prefactor     .10000E-03    4.2579        .16756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.0300        .17680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     51.058        26.183        .56126E-04   -1.4278    
   9  norm          5.0811        11.397        .17837E-03   -1.5257    
  10  norm          10.261        8.9613        .12509E-03   -1.5067    
  11  Prefactor     16.347        27.626        .99065E-04   -1.4899    
  12  Prefactor     .10000E-03    11.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          15.334        16.263        .10228E-03   -1.4925    
  14  Prefactor     .10000E-03    104.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.4479        .12678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    40.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .77245        .26802        .41583E-03   -1.0110    
  19  Prefactor     1.2286        .13895        .17576E-03   -.85457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.90513e-11
Minuit parameter uncertainties:
  1  7.06294
  2  3.78428
  3  7.50397e-06
  4  1.59606e-06
  5  6.32853
  6  4.08608e-07
  7  2.21429e-06
  8  26.1892
  9  11.4016
  10  8.96246
  11  27.6473
  12  1.41097e-06
  13  16.2677
  14  3.5576e-06
  15  2.90278e-07
  16  1.46801e-06
  17  7.9632e-07
  18  0.268475
  19  0.138994
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.026e+01  8.962e+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.229e+00  1.390e-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.724e-01  2.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.07
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 5.02e-08 +/- 4.38e-08
Energy Flux (Fixed Index): 2.21e-05 +/- 1.93e-05

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

Saving results to:
/scratch/kocevski/335663/likelihoodResults_469238401_469497601_4FGL_J1419.4-0838_daily_bin887.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) = 6916.27974857
delta logL = 0.0793506524687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6916.27579091
delta logL = 0.0833083123562

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8090       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7506       1.0000          .0000       5.0000    
     3 'Normalizat'    .79253       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2225       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=   6916.276     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      210 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8025        9.3808        .31987E-02    .96958E-04
   2  alpha         1.7487        .58907        .43773       -.51965E-04
   3  Normalizat    .79264        .23883        .92751E-01    .22483E-04
   4  Prefactor     1.2226        .12434        .34120E-01   -.55798E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.80251
  alpha      = 1.74866
  Normalizat = 0.792639
  Prefactor  = 1.2226
 **********
 **   18 **HESSE 
 **********

 FCN=   6916.276     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8025        9.0302        .12795E-03   -1.5082    
   2  alpha         1.7487        .78614        .17737E-01   -.30525    
   3  Normalizat    .79264        .26381        .41091E-03   -1.0034    
   4  Prefactor     1.2226        .13772        .17611E-03   -.85639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74149e-11
Minuit parameter uncertainties:
  1  9.03148
  2  0.801127
  3  0.26424
  4  0.137759
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/335663': 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) = 6916.27578533
delta logL = 0.0833138964408

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  9.803e+00  9.031e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.749e+00  8.011e-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.223e+00  1.378e-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.926e-01  2.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.21
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 1.75 +/- 0.80
Photon Flux (Free Index): 3.41e-08 +/- 4.23e-08
Energy Flux (Free Index): 3.07e-05 +/- 3.74e-05

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/335663/cmap_HighResolution_469238401_469497601_4FGL_J1419.4-0838_daily_bin887.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.33e-05', comment='SUCCESS', photon_flux='5.02e-08', energy_flux2='3.07e-05', photon_flux_error='4.38e-08', dlogl='8.33e-02', energy_flux='2.21e-05', photon_flux2='3.41e-08', job_status='DONE', time_completed='2021-09-09 09:18:39.730837', photon_index_error2='0.80', photon_index2='1.75', ts='2.07', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='1.44e-07', energy_flux_error2='3.74e-05', EG='0.77', time_epoch_completed='1631204319.73', return_code='0', job_id='335663', GAL2='1.22', EG2='0.79', return_code2='0', energy_flux_error='1.93e-05', photon_flux_error2='4.23e-08', ts2='2.21', photon_index='2.14' WHERE bin_id='887' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:18:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 335663: <4FGL_J1419.4-0838_daily_bin887> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin887 214.86 -8.6417 469238401 469497601 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 :                                   561.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            797 sec.

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

