/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 20 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 = 7489
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1419.4-0838_daily_bin517
RA = 214.86, Dec = -8.6417
tmin = 373334401, tmax = 373593601
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='333096', job_status='RUN', time_executed='2021-09-09 08:56:39.455639', time_epoch_executed='1631202999.46' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='517'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/333096

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/333096/ft1_4FGL_J1419.4-0838_daily_bin517.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/333096/ft2_4FGL_J1419.4-0838_daily_bin517.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/333096/ft1_4FGL_J1419.4-0838_daily_bin517.fits outfile=/scratch/kocevski/333096/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin517.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=373334401.0 tmax=373593601.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 4.48
user 4.25
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/333096/ft2_4FGL_J1419.4-0838_daily_bin517.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/333096/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin517.fits evtable="EVENTS" outfile="/scratch/kocevski/333096/ft1_filtered_4FGL_J1419.4-0838_daily_bin517.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/333096/ft1_filtered_4FGL_J1419.4-0838_daily_bin517.fits" evtable="EVENTS" scfile=/scratch/kocevski/333096/ft2_4FGL_J1419.4-0838_daily_bin517.fits sctable="SC_DATA" outfile=/scratch/kocevski/333096/ltcube_373334401_373593601_4FGL_J1419.4-0838_daily_bin517.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/333096/ft2_4FGL_J1419.4-0838_daily_bin517.fits
.....................!
real 12.16
user 11.85
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/333096/ft1_filtered_4FGL_J1419.4-0838_daily_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/333096/ft2_4FGL_J1419.4-0838_daily_bin517.fits sctable="SC_DATA" expcube=/scratch/kocevski/333096/ltcube_373334401_373593601_4FGL_J1419.4-0838_daily_bin517.fits outfile=/scratch/kocevski/333096/expmap_373334401_373593601_4FGL_J1419.4-0838_daily_bin517.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/333096/ltcube_373334401_373593601_4FGL_J1419.4-0838_daily_bin517.fits
.....................!
real 190.27
user 185.61
sys 4.35

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/333096/ft1_filtered_4FGL_J1419.4-0838_daily_bin517.fits scfile=/scratch/kocevski/333096/ft2_4FGL_J1419.4-0838_daily_bin517.fits outfile=/scratch/kocevski/333096/cmap_373334401_373593601_4FGL_J1419.4-0838_daily_bin517.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/333096/ft1_filtered_4FGL_J1419.4-0838_daily_bin517.fits scfile=/scratch/kocevski/333096/ft2_4FGL_J1419.4-0838_daily_bin517.fits outfile=/scratch/kocevski/333096/cmap_HighResolution_373334401_373593601_4FGL_J1419.4-0838_daily_bin517.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/333096/ft1_filtered_4FGL_J1419.4-0838_daily_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/333096/ft2_4FGL_J1419.4-0838_daily_bin517.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/333096/Model_4FGL_J1419.4-0838_daily_bin517.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/333096/ft1_filtered_4FGL_J1419.4-0838_daily_bin517.fits....................!
real 56.05
user 54.80
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12253E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.170       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10162E-03   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      '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    37.441       1.0000         .10000E-03   10000.    
     9 'norm      '    1.6546       1.0000         .10000E-03   10000.    
    10 'norm      '    .17819E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.009       1.0000         .10000E-03   10000.    
    13 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10658E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    95.861       1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.415       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2798       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1601       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=   6601.705     FROM MIGRAD    STATUS=CONVERGED    692 CALLS     2244 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10009E-03    4.9291        .58959E-01** at limit **
   2  Prefactor     .10000E-03    1.8423        .10754E-02** at limit **
   3  Prefactor     10.167        29.976        .12565E-03   -.85052E-05
   4  Prefactor     .10000E-03    12.450        .18142E-02** at limit **
   5  norm          12.288        8.9426        .11427E-03   -.12237E-04
   6  Prefactor     .10000E-03    15.709        .18142E-02** at limit **
   7  norm          .10000E-03    1.2809        .89295E-03** at limit **
   8  Prefactor     37.435        28.924        .65500E-04   -.97198E-05
   9  norm          1.6522        16.569        .16406E-02   -.28155E-04
  10  norm          .42811E-01    6.0278        .59823E-01   -.78931E-04
  11  Prefactor     .10000E-03    22.433        .18142E-02** at limit **
  12  Prefactor     43.044        35.015        .61129E-04    .89270E-05
  13  norm          .10000E-03    4.9991        .17737E-02** at limit **
  14  Prefactor     .10000E-03    50.881        .18142E-02** at limit **
  15  Prefactor     .10000E-03    10.875        .18142E-02** at limit **
  16  Prefactor     95.845        123.51        .41052E-04   -.12185E-04
  17  Prefactor     27.392        84.278        .76513E-04   -.11887E-05
  18  Normalizat    1.2800        .30193        .36754E-03   -.54688E-04
  19  Prefactor     1.1600        .15243        .19587E-03   -.20224E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100092
  Prefactor  = 0.0001
  Prefactor  = 10.1668
  Prefactor  = 0.0001
  norm       = 12.2884
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 37.4345
  norm       = 1.65218
  norm       = 0.0428107
  Prefactor  = 0.0001
  Prefactor  = 43.0441
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 95.8451
  Prefactor  = 27.3917
  Normalizat = 1.27996
  Prefactor  = 1.16002
 **********
 **   18 **HESSE 
 **********

 FCN=   6601.705     FROM HESSE     STATUS=OK           270 CALLS     2514 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10009E-03    4.9029        .59240E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.8423        .21509E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.167        29.976        .50259E-05   -1.5070    
   4  Prefactor     .10000E-03    12.450        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          12.288        8.9427        .45710E-05   -1.5007    
   6  Prefactor     .10000E-03    15.712        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.2810        .17859E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     37.435        28.924        .26200E-05   -1.4484    
   9  norm          1.6522        16.561        .65624E-04   -1.5451    
  10  norm          .42811E-01    5.6375        .63473E-01   -1.5667    
  11  Prefactor     .10000E-03    22.437        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     43.044        35.015        .12226E-04   -1.4395    
  13  norm          .10000E-03    4.9992        .35474E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    50.882        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.875        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     95.845        123.41        .82104E-05   -1.3747    
  17  Prefactor     27.392        84.250        .30605E-05   -1.4661    
  18  Normalizat    1.2800        .30217        .14701E-04   -.84167    
  19  Prefactor     1.1600        .15253        .39173E-04   -.87571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06301e-10
Minuit parameter uncertainties:
  1  0.00134469
  2  7.76483e-07
  3  30.0202
  4  2.66756e-06
  5  8.94367
  6  0.000127298
  7  1.68856e-06
  8  28.9348
  9  10.4651
  10  0.98148
  11  3.00175e-05
  12  35.0312
  13  1.03993e-06
  14  2.86314e-05
  15  1.39688e-05
  16  123.74
  17  84.6194
  18  0.302591
  19  0.152586
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  4.281e-02  9.815e-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.160e+00  1.526e-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.280e+00  3.026e-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: 9.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.04e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/333096/likelihoodResults_373334401_373593601_4FGL_J1419.4-0838_daily_bin517.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): 102
logL (Free Index) = 6601.70511633
delta logL = 0.000332150530085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6601.68243149
delta logL = 0.0230169915367

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .83144       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5482       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1581       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=   6601.682     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      243 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .84514        7.7997        .12557E-01    .13074E-02
   2  alpha         1.5489        1.5553        .45755       -.36768E-04
   3  Normalizat    1.2817        .25711        .82970E-01    .13711E-04
   4  Prefactor     1.1579        .13230        .35706E-01    .76092E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.845143
  alpha      = 1.54888
  Normalizat = 1.2817
  Prefactor  = 1.15787
 **********
 **   18 **HESSE 
 **********

 FCN=   6601.682     FROM HESSE     STATUS=OK            31 CALLS      274 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .84514        5.3738        .36730E-03   -1.5524    
   2  alpha         1.5489        1.6370        .48698E-01   -.39028    
   3  Normalizat    1.2817        .29242        .36732E-03   -.84114    
   4  Prefactor     1.1579        .15059        .19602E-03   -.87638    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31862e-11
Minuit parameter uncertainties:
  1  4.26254
  2  1.81885
  3  0.292797
  4  0.15065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/333096': 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) = 6601.68242493
delta logL = 0.0230235528588

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  8.451e-01  4.263e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.549e+00  1.819e+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.158e+00  1.507e-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.282e+00  2.928e-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/333096/cmap_HighResolution_373334401_373593601_4FGL_J1419.4-0838_daily_bin517.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.04e-05', job_status='DONE', photon_flux_upper_limit='9.17e-08', time_completed='2021-09-09 09:06:56.151927', job_id='333096', GAL2='1.16', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1631203616.15', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='2.30e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.14' WHERE bin_id='517' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:06:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 333096: <4FGL_J1419.4-0838_daily_bin517> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin517 214.86 -8.6417 373334401 373593601 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 :                                   585.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             358.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            655 sec.

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

