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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin323
RA = 214.86, Dec = -8.6417
tmin = 323049601, tmax = 323308801
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='332845', job_status='RUN', time_executed='2021-09-09 08:57:58.002876', time_epoch_executed='1631203078.0' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='323'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332845

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332845/ft1_4FGL_J1419.4-0838_daily_bin323.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332845/ft2_4FGL_J1419.4-0838_daily_bin323.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332845/ft1_4FGL_J1419.4-0838_daily_bin323.fits outfile=/scratch/kocevski/332845/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin323.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=323049601.0 tmax=323308801.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.33
user 3.10
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332845/ft1_filtered_4FGL_J1419.4-0838_daily_bin323.fits" evtable="EVENTS" scfile=/scratch/kocevski/332845/ft2_4FGL_J1419.4-0838_daily_bin323.fits sctable="SC_DATA" outfile=/scratch/kocevski/332845/ltcube_323049601_323308801_4FGL_J1419.4-0838_daily_bin323.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/332845/ft2_4FGL_J1419.4-0838_daily_bin323.fits
.....................!
real 12.45
user 12.12
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332845/ft1_filtered_4FGL_J1419.4-0838_daily_bin323.fits evtable="EVENTS" scfile=/scratch/kocevski/332845/ft2_4FGL_J1419.4-0838_daily_bin323.fits sctable="SC_DATA" expcube=/scratch/kocevski/332845/ltcube_323049601_323308801_4FGL_J1419.4-0838_daily_bin323.fits outfile=/scratch/kocevski/332845/expmap_323049601_323308801_4FGL_J1419.4-0838_daily_bin323.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/332845/ltcube_323049601_323308801_4FGL_J1419.4-0838_daily_bin323.fits
.....................!
real 189.75
user 185.60
sys 3.77

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/332845/ft1_filtered_4FGL_J1419.4-0838_daily_bin323.fits scfile=/scratch/kocevski/332845/ft2_4FGL_J1419.4-0838_daily_bin323.fits outfile=/scratch/kocevski/332845/cmap_323049601_323308801_4FGL_J1419.4-0838_daily_bin323.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/332845/ft1_filtered_4FGL_J1419.4-0838_daily_bin323.fits scfile=/scratch/kocevski/332845/ft2_4FGL_J1419.4-0838_daily_bin323.fits outfile=/scratch/kocevski/332845/cmap_HighResolution_323049601_323308801_4FGL_J1419.4-0838_daily_bin323.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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/332845/ft1_filtered_4FGL_J1419.4-0838_daily_bin323.fits evtable="EVENTS" scfile=/scratch/kocevski/332845/ft2_4FGL_J1419.4-0838_daily_bin323.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/332845/Model_4FGL_J1419.4-0838_daily_bin323.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/332845/ft1_filtered_4FGL_J1419.4-0838_daily_bin323.fits.....................!
real 49.98
user 48.60
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.468       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.8164       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10412E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    20.545       1.0000         .10000E-03   10000.    
    10 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.9653       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .23265E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .78829       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10394E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11781E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    118.66       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .64568E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1848       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89448       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=   5892.072     FROM MIGRAD    STATUS=CONVERGED    413 CALLS     1983 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.706       -.41731E-06** at limit **
   2  Prefactor     .10000E-03    2.7111       -.45514E-06** at limit **
   3  Prefactor     22.486        39.163       -.87746E-06   -.35297E-04
   4  Prefactor     .10000E-03    24.607       -.15603E-06** at limit **
   5  norm          5.8147        6.7070       -.28730E-06    .38775E-04
   6  Prefactor     .10039E-03    51.326        .65640E-05** at limit **
   7  norm          .10000E-03    1.4487       -.39726E-06** at limit **
   8  Prefactor     .10000E-03    15.032        .73700E-09** at limit **
   9  norm          20.543        16.100       -.24387E-06    .41454E-05
  10  norm          .10000E-03    2.3438       -.22864E-07** at limit **
  11  Prefactor     7.9702        20.758       -.41988E-06    .41148E-04
  12  Prefactor     .10001E-03    81.828       -.74974E-05** at limit **
  13  norm          .77661        18.855        .85498E-06    .40165E-03
  14  Prefactor     .10000E-03    53.310       -.81001E-06** at limit **
  15  Prefactor     .10000E-03    7.5450        .13085E-05** at limit **
  16  Prefactor     118.53        88.838       -.15791E-05    .70852E-04
  17  Prefactor     .10000E-03    445.88       -.96775E-05** at limit **
  18  Normalizat    1.1850        .25649        .37682E-05    .38693E-03
  19  Prefactor     .89446        .12183       -.58031E-06    .84398E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.4859
  Prefactor  = 0.0001
  norm       = 5.81465
  Prefactor  = 0.000100389
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 20.5432
  norm       = 0.0001
  Prefactor  = 7.97021
  Prefactor  = 0.000100014
  norm       = 0.776607
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 118.534
  Prefactor  = 0.000100001
  Normalizat = 1.18503
  Prefactor  = 0.894457
 **********
 **   18 **HESSE 
 **********

 FCN=   5892.072     FROM HESSE     STATUS=OK           268 CALLS     2251 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.053        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.7496        .12378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     22.486        37.539        .84503E-04   -1.4759    
   4  Prefactor     .10000E-03    24.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.8147        6.7100        .83264E-03   -1.5226    
   6  Prefactor     .10039E-03    113.10        .47431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.1130        .17738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          20.543        16.108        .88366E-04   -1.4801    
  10  norm          .10000E-03    2.3469        .11476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.9702        20.750        .14207E-03   -1.5143    
  12  Prefactor     .10001E-03    167.29        .72999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .77661        39.341        .46729E-02   -1.5532    
  14  Prefactor     .10000E-03    53.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.6725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     118.53        88.220        .18470E-03   -1.3526    
  17  Prefactor     .10000E-03    446.10        .42049E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1850        .28588        .32390E-03   -.87067    
  19  Prefactor     .89446        .14057        .18145E-03   -.96335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88192e-09
Minuit parameter uncertainties:
  1  5.89441e-05
  2  2.5015e-05
  3  37.5787
  4  3.48637e-05
  5  6.71085
  6  0.0132944
  7  7.3294e-06
  8  2.6281e-05
  9  16.1117
  10  3.63478e-06
  11  20.7689
  12  0.0031116
  13  11.0619
  14  0.00017248
  15  0.000125069
  16  88.3177
  17  0.00149751
  18  0.286259
  19  0.140625
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.000e-04  3.635e-06  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:  8.945e-01  1.406e-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.185e+00  2.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 214.860 -8.642
Photon Flux Upper Limit: 6.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.69e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/332845/likelihoodResults_323049601_323308801_4FGL_J1419.4-0838_daily_bin323.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) = 5892.07371329
delta logL = -0.00201789921266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5892.07169539
delta logL = 2.18915374717e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1413       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1850       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89446       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5892.072     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      234 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.6683        .11481E-02** at limit **
   2  alpha         2.2898        2.8623        .16680       -.17721E-07
   3  Normalizat    1.1850        .27491        .32390E-03   -.52333E-04
   4  Prefactor     .89446        .13683        .18145E-03   -.97941E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.28976
  Normalizat = 1.18503
  Prefactor  = 0.894456
 **********
 **   18 **HESSE 
 **********

 FCN=   5892.072     FROM HESSE     STATUS=OK            23 CALLS      257 TOTAL
                     EDM=   .94E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.3724        .22963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2898        3.0582        .66720E-02   -.84196E-01
   3  Normalizat    1.1850        .27513        .12956E-04   -.87067    
   4  Prefactor     .89446        .13694        .36290E-04   -.96335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.38891e-12
Minuit parameter uncertainties:
  1  4.87e-06
  2  227.673
  3  0.275468
  4  0.136992
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332845': 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) = 5892.07169516
delta logL = 2.28020326176e-07

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.000e-04  4.870e-06  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.290e+00  2.277e+02  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:  8.945e-01  1.370e-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.185e+00  2.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/332845/cmap_HighResolution_323049601_323308801_4FGL_J1419.4-0838_daily_bin323.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-05', job_status='DONE', photon_flux_upper_limit='6.09e-08', time_completed='2021-09-09 09:06:52.601446', job_id='332845', GAL2='0.89', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1631203612.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.28e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='323' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:06:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 332845: <4FGL_J1419.4-0838_daily_bin323> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin323 214.86 -8.6417 323049601 323308801 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 :                                   530.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            672 sec.

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

