/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 232 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 = 7418
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1419.4-0838_daily_bin120
RA = 214.86, Dec = -8.6417
tmin = 270432001, tmax = 270691201
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='332537', job_status='RUN', time_executed='2021-09-09 08:59:25.799090', time_epoch_executed='1631203165.8' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='120'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332537

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332537/ft1_4FGL_J1419.4-0838_daily_bin120.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332537/ft2_4FGL_J1419.4-0838_daily_bin120.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332537/ft1_4FGL_J1419.4-0838_daily_bin120.fits outfile=/scratch/kocevski/332537/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin120.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=270432001.0 tmax=270691201.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 1.64
user 1.46
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/332537/ft2_4FGL_J1419.4-0838_daily_bin120.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/332537/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin120.fits evtable="EVENTS" outfile="/scratch/kocevski/332537/ft1_filtered_4FGL_J1419.4-0838_daily_bin120.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332537/ft1_filtered_4FGL_J1419.4-0838_daily_bin120.fits" evtable="EVENTS" scfile=/scratch/kocevski/332537/ft2_4FGL_J1419.4-0838_daily_bin120.fits sctable="SC_DATA" outfile=/scratch/kocevski/332537/ltcube_270432001_270691201_4FGL_J1419.4-0838_daily_bin120.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/332537/ft2_4FGL_J1419.4-0838_daily_bin120.fits
.....................!
real 12.50
user 12.16
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332537/ft1_filtered_4FGL_J1419.4-0838_daily_bin120.fits evtable="EVENTS" scfile=/scratch/kocevski/332537/ft2_4FGL_J1419.4-0838_daily_bin120.fits sctable="SC_DATA" expcube=/scratch/kocevski/332537/ltcube_270432001_270691201_4FGL_J1419.4-0838_daily_bin120.fits outfile=/scratch/kocevski/332537/expmap_270432001_270691201_4FGL_J1419.4-0838_daily_bin120.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/332537/ltcube_270432001_270691201_4FGL_J1419.4-0838_daily_bin120.fits
.....................!
real 191.45
user 186.36
sys 4.73

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/332537/ft1_filtered_4FGL_J1419.4-0838_daily_bin120.fits scfile=/scratch/kocevski/332537/ft2_4FGL_J1419.4-0838_daily_bin120.fits outfile=/scratch/kocevski/332537/cmap_270432001_270691201_4FGL_J1419.4-0838_daily_bin120.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332537/ft1_filtered_4FGL_J1419.4-0838_daily_bin120.fits scfile=/scratch/kocevski/332537/ft2_4FGL_J1419.4-0838_daily_bin120.fits outfile=/scratch/kocevski/332537/cmap_HighResolution_270432001_270691201_4FGL_J1419.4-0838_daily_bin120.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10108E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    76.379       1.0000         .10000E-03   10000.    
     5 'norm      '    12.288       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10362E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.3290       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5598       1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.144       1.0000         .10000E-03   10000.    
    13 'norm      '    .86736E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.766       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14777       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.104       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3914       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93455       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=   10909.68     FROM MIGRAD    STATUS=CONVERGED    398 CALLS     1974 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.7300        .15846E-06** at limit **
   2  Prefactor     .10000E-03    1.3584       -.36033E-07** at limit **
   3  Prefactor     .10000E-03    6.7613       -.13713E-06** at limit **
   4  Prefactor     76.370        48.096       -.11221E-05   -.21860E-03
   5  norm          12.287        5.6485        .63152E-07   -.21760E-04
   6  Prefactor     .10000E-03    7.8073        .41453E-07** at limit **
   7  norm          .10000E-03    .56817       -.12550E-07** at limit **
   8  Prefactor     .10000E-03    5.8988        .52049E-07** at limit **
   9  norm          .10000E-03    4.0954        .41025E-08** at limit **
  10  norm          2.3289        2.3521       -.10684E-06    .19756E-04
  11  Prefactor     4.5605        8.9949        .42476E-05   -.22972E-03
  12  Prefactor     24.150        18.104        .35630E-06    .11645E-03
  13  norm          .10008E-03    3.8135        .58000E-06** at limit **
  14  Prefactor     37.780        69.685        .33547E-05    .10413E-03
  15  Prefactor     .14084        2.5777       -.10409E-05    .63369E-03
  16  Prefactor     .10000E-03    16.855        .37681E-07** at limit **
  17  Prefactor     25.120        24.255        .22887E-05    .52348E-03
  18  Normalizat    1.3920        .17922       -.33768E-06    .27164E-04
  19  Prefactor     .93422        .90926E-01   -.25938E-06    .60980E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 76.3698
  norm       = 12.2873
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.32894
  Prefactor  = 4.56047
  Prefactor  = 24.1498
  norm       = 0.000100082
  Prefactor  = 37.7796
  Prefactor  = 0.140837
  Prefactor  = 0.0001
  Prefactor  = 25.1197
  Normalizat = 1.39204
  Prefactor  = 0.934221
 **********
 **   18 **HESSE 
 **********

 FCN=   10909.68     FROM HESSE     STATUS=OK           270 CALLS     2244 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.7567        .33433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.3695        .11877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.7714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     76.370        48.597        .45946E-04   -1.3958    
   5  norm          12.287        5.6474        .11427E-03   -1.5007    
   6  Prefactor     .10000E-03    7.8715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.1932        .15311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.9064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.1047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3289        2.3615        .15691E-03   -1.5403    
  11  Prefactor     4.5605        9.2660        .94258E-03   -1.5281    
  12  Prefactor     24.150        18.100        .81522E-04   -1.4725    
  13  norm          .10008E-03    44.769        .39030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     37.780        70.639        .65218E-04   -1.4478    
  15  Prefactor     .14084        13.666        .30535E-02   -1.5633    
  16  Prefactor     .10000E-03    16.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.120        25.485        .79951E-04   -1.4705    
  18  Normalizat    1.3920        .20872        .31726E-03   -.80859    
  19  Prefactor     .93422        .10627        .19183E-03   -.94955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.02302e-09
Minuit parameter uncertainties:
  1  3.33852e-05
  2  1.32656e-06
  3  1.45876e-05
  4  48.6219
  5  5.64761
  6  7.86936e-06
  7  2.75926e-06
  8  6.02078e-06
  9  1.19436e-06
  10  2.36162
  11  9.26891
  12  18.1045
  13  0.00382492
  14  70.7959
  15  2.77435
  16  2.56594e-06
  17  25.4956
  18  0.208845
  19  0.106295
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  2.329e+00  2.362e+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:  9.342e-01  1.063e-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.392e+00  2.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.57
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 1.14e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 5.02e-06 +/- 5.09e-06

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) = 10907.9104942
delta logL = 1.7732144381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10907.3780693
delta logL = 2.30563934371

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41329       1.0000         .10000E-03   10000.    
     2 'alpha     '    .53400       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3986       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93360       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=   10907.38     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      225 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41308        .41036        .10911E-01   -.99001E-03
   2  alpha         .53380        .44034        .50000       -.42090E-04
   3  Normalizat    1.3986        .17619        .71549E-01    .14175E-04
   4  Prefactor     .93361        .89916E-01    .45432E-01    .72953E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.413078
  alpha      = 0.533803
  Normalizat = 1.39864
  Prefactor  = 0.933611
 **********
 **   18 **HESSE 
 **********

 FCN=   10907.38     FROM HESSE     STATUS=OK            35 CALLS      260 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41308        .79815        .56849E-03   -1.5579    
   2  alpha         .53380        .63949        .25746E-01   -.90509    
   3  Normalizat    1.3986        .20541        .31658E-03   -.80668    
   4  Prefactor     .93361        .10492        .19186E-03   -.94976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.4228e-09
Minuit parameter uncertainties:
  1  0.798175
  2  0.659347
  3  0.205529
  4  0.104946
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332537': 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) = 10907.3780692
delta logL = 2.3056393908

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  4.131e-01  7.982e-01  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  5.338e-01  6.593e-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.336e-01  1.049e-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.399e+00  2.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.17
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 0.53 +/- 0.66
Photon Flux (Free Index): 2.75e-09 +/- 2.82e-09
Energy Flux (Free Index): 4.88e-05 +/- 6.70e-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/332537/cmap_HighResolution_270432001_270691201_4FGL_J1419.4-0838_daily_bin120.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-08', energy_flux2='4.88e-05', photon_flux_error='1.15e-08', dlogl='2.31e+00', energy_flux='5.02e-06', photon_flux2='2.75e-09', job_status='DONE', time_completed='2021-09-09 09:10:33.852150', photon_index_error2='0.66', photon_index2='0.53', ts='4.57', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.70e-05', EG='1.39', time_epoch_completed='1631203833.85', return_code='0', job_id='332537', GAL2='0.93', EG2='1.40', return_code2='0', energy_flux_error='5.09e-06', photon_flux_error2='2.82e-09', ts2='9.17', photon_index='2.14' WHERE bin_id='120' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:10:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 332537: <4FGL_J1419.4-0838_daily_bin120> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin120 214.86 -8.6417 270432001 270691201 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 :                                   667.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

