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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin394
RA = 214.86, Dec = -8.6417
tmin = 341452801, tmax = 341712001
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='332946', job_status='RUN', time_executed='2021-09-09 08:58:59.012268', time_epoch_executed='1631203139.01' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='394'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332946

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332946/ft1_4FGL_J1419.4-0838_daily_bin394.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332946/ft2_4FGL_J1419.4-0838_daily_bin394.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332946/ft1_4FGL_J1419.4-0838_daily_bin394.fits outfile=/scratch/kocevski/332946/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin394.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=341452801.0 tmax=341712001.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.46
user 3.23
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/332946/ft2_4FGL_J1419.4-0838_daily_bin394.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/332946/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin394.fits evtable="EVENTS" outfile="/scratch/kocevski/332946/ft1_filtered_4FGL_J1419.4-0838_daily_bin394.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.55
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332946/ft1_filtered_4FGL_J1419.4-0838_daily_bin394.fits" evtable="EVENTS" scfile=/scratch/kocevski/332946/ft2_4FGL_J1419.4-0838_daily_bin394.fits sctable="SC_DATA" outfile=/scratch/kocevski/332946/ltcube_341452801_341712001_4FGL_J1419.4-0838_daily_bin394.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/332946/ft2_4FGL_J1419.4-0838_daily_bin394.fits
.....................!
real 13.92
user 13.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332946/ft1_filtered_4FGL_J1419.4-0838_daily_bin394.fits evtable="EVENTS" scfile=/scratch/kocevski/332946/ft2_4FGL_J1419.4-0838_daily_bin394.fits sctable="SC_DATA" expcube=/scratch/kocevski/332946/ltcube_341452801_341712001_4FGL_J1419.4-0838_daily_bin394.fits outfile=/scratch/kocevski/332946/expmap_341452801_341712001_4FGL_J1419.4-0838_daily_bin394.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/332946/ltcube_341452801_341712001_4FGL_J1419.4-0838_daily_bin394.fits
.....................!
real 190.11
user 185.32
sys 4.32

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/332946/ft1_filtered_4FGL_J1419.4-0838_daily_bin394.fits scfile=/scratch/kocevski/332946/ft2_4FGL_J1419.4-0838_daily_bin394.fits outfile=/scratch/kocevski/332946/cmap_341452801_341712001_4FGL_J1419.4-0838_daily_bin394.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332946/ft1_filtered_4FGL_J1419.4-0838_daily_bin394.fits scfile=/scratch/kocevski/332946/ft2_4FGL_J1419.4-0838_daily_bin394.fits outfile=/scratch/kocevski/332946/cmap_HighResolution_341452801_341712001_4FGL_J1419.4-0838_daily_bin394.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.279       1.0000         .10000E-03   10000.    
     3 'Prefactor '    48.722       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    12.409       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11157E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.1998       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.812       1.0000         .10000E-03   10000.    
     9 'norm      '    12.275       1.0000         .10000E-03   10000.    
    10 'norm      '    5.4771       1.0000         .10000E-03   10000.    
    11 'Prefactor '    37.477       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.9774       1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5731       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10783E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .30604       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.5170       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=   7121.605     FROM MIGRAD    STATUS=CONVERGED    382 CALLS     2123 TOTAL
                     EDM=   .93E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.5790       -.33001E-06** at limit **
   2  Prefactor     34.285        11.027        .77028E-07   -.23190E-04
   3  Prefactor     48.751        26.910        .20162E-06    .24117E-05
   4  Prefactor     .10000E-03    42.583       -.67547E-06** at limit **
   5  norm          12.411        13.149        .11331E-06   -.14482E-04
   6  Prefactor     .10000E-03    16.482        .77715E-07** at limit **
   7  norm          6.2016        3.7560       -.13171E-06   -.84212E-04
   8  Prefactor     12.830        27.903        .76073E-06   -.30247E-05
   9  norm          12.276        11.257        .82399E-07   -.54892E-05
  10  norm          5.4775        10.568        .30678E-05   -.25461E-04
  11  Prefactor     37.491        32.594       -.41778E-06   -.19576E-04
  12  Prefactor     7.9803        17.289        .11414E-05   -.55237E-05
  13  norm          .10000E-03    5.1281       -.14872E-06** at limit **
  14  Prefactor     5.9127        558.29       -.60975E-05    .61701E-05
  15  Prefactor     .10000E-03    3.2989       -.23941E-06** at limit **
  16  Prefactor     .10000E-03    68.096       -.21312E-07** at limit **
  17  Prefactor     .10000E-03    24.220       -.20651E-06** at limit **
  18  Normalizat    .30566        .31132        .16040E-05   -.13269E-04
  19  Prefactor     1.5172        .15488       -.54913E-06   -.14244E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 34.2848
  Prefactor  = 48.7512
  Prefactor  = 0.0001
  norm       = 12.4114
  Prefactor  = 0.0001
  norm       = 6.20157
  Prefactor  = 12.83
  norm       = 12.2759
  norm       = 5.47755
  Prefactor  = 37.4911
  Prefactor  = 7.98026
  norm       = 0.0001
  Prefactor  = 5.91274
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.305658
  Prefactor  = 1.51717
 **********
 **   18 **HESSE 
 **********

 FCN=   7121.605     FROM HESSE     STATUS=OK           272 CALLS     2395 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.7311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     34.285        11.025        .68444E-04   -1.4536    
   3  Prefactor     48.751        26.915        .57449E-04   -1.4310    
   4  Prefactor     .10000E-03    42.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          12.411        13.132        .11371E-03   -1.5003    
   6  Prefactor     .10000E-03    16.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.2016        3.7558        .11769E-03   -1.5210    
   8  Prefactor     12.830        27.913        .11191E-03   -1.4991    
   9  norm          12.276        11.260        .11434E-03   -1.5007    
  10  norm          5.4775        10.552        .85844E-03   -1.5240    
  11  Prefactor     37.491        32.660        .65468E-04   -1.4483    
  12  Prefactor     7.9803        17.281        .70980E-03   -1.5143    
  13  norm          .10000E-03    5.1388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.9127        531.25        .17018E-02   -1.5222    
  15  Prefactor     .10000E-03    3.3226        .14965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    68.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    24.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .30566        .31004        .70545E-03   -1.2250    
  19  Prefactor     1.5172        .15463        .17866E-03   -.77060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52034e-11
Minuit parameter uncertainties:
  1  1.48992e-06
  2  11.0254
  3  26.9218
  4  1.00871e-05
  5  13.135
  6  1.74968e-05
  7  3.75592
  8  27.9417
  9  11.262
  10  10.5555
  11  32.6751
  12  17.2918
  13  7.90249e-08
  14  113.143
  15  8.44569e-07
  16  4.19742e-05
  17  4.46463e-06
  18  0.3118
  19  0.154677
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.517e+00  1.547e-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:  3.057e-01  3.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/332946/likelihoodResults_341452801_341712001_4FGL_J1419.4-0838_daily_bin394.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) = 7120.21562588
delta logL = 1.38896261484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7120.1669131
delta logL = 1.43767540279

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9488       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8936       1.0000          .0000       5.0000    
     3 'Normalizat'    .15590       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5611       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=   7120.167     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      240 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9583        31.838        .59126E-02    .32654E-02
   2  alpha         3.8913        4.4119        .33714        .22846E-03
   3  Normalizat    .15600        .87092E-01    .22446        .66914E-04
   4  Prefactor     1.5609        .48427E-01    .29148E-01   -.55710E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.95827
  alpha      = 3.89128
  Normalizat = 0.156004
  Prefactor  = 1.56093
 **********
 **   18 **HESSE 
 **********

 FCN=   7120.167     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9583        52.749        .84807E-04   -1.5364    
   2  alpha         3.8913        4.3440        .14465E-01    .59018    
   3  Normalizat    .15600        .30830        .94493E-02   -1.3284    
   4  Prefactor     1.5609        .16891        .17623E-03   -.75847    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.71059e-09
Minuit parameter uncertainties:
  1  25.0089
  2  5.332
  3  0.311807
  4  0.168972
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332946': 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): 102
logL (Free Index) = 7120.16691049
delta logL = 1.43767800374

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  2.958e+00  2.501e+01  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  3.891e+00  5.332e+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.561e+00  1.690e-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.560e-01  3.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.56
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 3.89 +/- 5.33
Photon Flux (Free Index): 1.63e-07 +/- 1.03e-07
Energy Flux (Free Index): 2.57e-05 +/- 3.22e-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/332946/cmap_HighResolution_341452801_341712001_4FGL_J1419.4-0838_daily_bin394.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.23e-05', comment='SUCCESS', energy_flux2='2.57e-05', dlogl='1.44e+00', photon_flux2='1.63e-07', job_status='DONE', time_completed='2021-09-09 09:08:51.093553', photon_index_error2='5.33', photon_index2='3.89', ts='0.35', fit_tolerance='1e-08', GAL='1.52', photon_index_error='0.00', photon_flux_upper_limit='1.41e-07', energy_flux_error2='3.22e-05', EG='0.31', time_epoch_completed='1631203731.09', return_code='0', job_id='332946', GAL2='1.56', EG2='0.16', return_code2='102', photon_flux_error2='1.03e-07', ts2='3.56', photon_index='2.14' WHERE bin_id='394' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:08:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 332946: <4FGL_J1419.4-0838_daily_bin394> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin394 214.86 -8.6417 341452801 341712001 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 :                                   590.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             239.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            782 sec.

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

