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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin549
RA = 214.86, Dec = -8.6417
tmin = 381628801, tmax = 381888001
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='334146', job_status='RUN', time_executed='2021-09-09 09:02:26.699142', time_epoch_executed='1631203346.7' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='549'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/334146

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/334146/ft1_4FGL_J1419.4-0838_daily_bin549.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/334146/ft2_4FGL_J1419.4-0838_daily_bin549.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/334146/ft1_4FGL_J1419.4-0838_daily_bin549.fits outfile=/scratch/kocevski/334146/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin549.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=381628801.0 tmax=381888001.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.96
user 3.71
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/334146/ft1_filtered_4FGL_J1419.4-0838_daily_bin549.fits" evtable="EVENTS" scfile=/scratch/kocevski/334146/ft2_4FGL_J1419.4-0838_daily_bin549.fits sctable="SC_DATA" outfile=/scratch/kocevski/334146/ltcube_381628801_381888001_4FGL_J1419.4-0838_daily_bin549.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/334146/ft2_4FGL_J1419.4-0838_daily_bin549.fits
.....................!
real 12.11
user 11.72
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/334146/ft1_filtered_4FGL_J1419.4-0838_daily_bin549.fits evtable="EVENTS" scfile=/scratch/kocevski/334146/ft2_4FGL_J1419.4-0838_daily_bin549.fits sctable="SC_DATA" expcube=/scratch/kocevski/334146/ltcube_381628801_381888001_4FGL_J1419.4-0838_daily_bin549.fits outfile=/scratch/kocevski/334146/expmap_381628801_381888001_4FGL_J1419.4-0838_daily_bin549.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/334146/ltcube_381628801_381888001_4FGL_J1419.4-0838_daily_bin549.fits
.....................!
real 189.55
user 185.07
sys 3.99

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/334146/ft1_filtered_4FGL_J1419.4-0838_daily_bin549.fits scfile=/scratch/kocevski/334146/ft2_4FGL_J1419.4-0838_daily_bin549.fits outfile=/scratch/kocevski/334146/cmap_381628801_381888001_4FGL_J1419.4-0838_daily_bin549.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/334146/ft1_filtered_4FGL_J1419.4-0838_daily_bin549.fits scfile=/scratch/kocevski/334146/ft2_4FGL_J1419.4-0838_daily_bin549.fits outfile=/scratch/kocevski/334146/cmap_HighResolution_381628801_381888001_4FGL_J1419.4-0838_daily_bin549.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/334146/ft1_filtered_4FGL_J1419.4-0838_daily_bin549.fits evtable="EVENTS" scfile=/scratch/kocevski/334146/ft2_4FGL_J1419.4-0838_daily_bin549.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/334146/Model_4FGL_J1419.4-0838_daily_bin549.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/334146/ft1_filtered_4FGL_J1419.4-0838_daily_bin549.fits.....................!
real 62.68
user 61.29
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9149       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9649       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.396       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3363       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    27.291       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.9795       1.0000         .10000E-03   10000.    
    13 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.964       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.794       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2905       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .97654       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=   7738.281     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1622 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9154        5.2277        .14529E-06    .73706E-05
   2  Prefactor     2.9647        1.9520        .25348E-06   -.20312E-02
   3  Prefactor     15.399        29.399        .52821E-05    .15045E-04
   4  Prefactor     .10000E-03    32.693       -.77205E-05** at limit **
   5  norm          .10000E-03    1.9345       -.88592E-08** at limit **
   6  Prefactor     .10000E-03    5.5322       -.11122E-06** at limit **
   7  norm          .10000E-03    .95223        .43666E-07** at limit **
   8  Prefactor     4.3363        26.771       -.60661E-07   -.10922E-03
   9  norm          .10000E-03    4.3051        .38238E-07** at limit **
  10  norm          27.291        10.519       -.12969E-06   -.13091E-03
  11  Prefactor     .10000E-03    29.944        .90315E-05** at limit **
  12  Prefactor     8.9775        24.265       -.23603E-05   -.72803E-05
  13  norm          .10000E-03    9.1133       -.91344E-08** at limit **
  14  Prefactor     .10000E-03    21.816       -.12254E-05** at limit **
  15  Prefactor     .10000E-03    3.1964        .26892E-06** at limit **
  16  Prefactor     24.959        42.237       -.55406E-05   -.23167E-04
  17  Prefactor     20.788        42.255       -.82222E-05   -.19018E-04
  18  Normalizat    1.2905        .22418       -.26527E-06   -.93907E-05
  19  Prefactor     .97651        .11057        .50092E-06   -.11076E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.91539
  Prefactor  = 2.96473
  Prefactor  = 15.3994
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.33632
  norm       = 0.0001
  norm       = 27.2911
  Prefactor  = 0.0001
  Prefactor  = 8.97748
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.959
  Prefactor  = 20.7877
  Normalizat = 1.2905
  Prefactor  = 0.976506
 **********
 **   18 **HESSE 
 **********

 FCN=   7738.281     FROM HESSE     STATUS=OK           266 CALLS     1888 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9154        5.2501        .18143E-03   -1.5265    
   2  Prefactor     2.9647        5.0889        .11791E-02   -1.5364    
   3  Prefactor     15.399        29.468        .10208E-03   -1.4923    
   4  Prefactor     .10000E-03    32.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.9379        .11948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.5367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .96628        .83769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.3363        28.122        .96719E-03   -1.5291    
   9  norm          .10000E-03    4.3098        .17826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          27.291        10.542        .76687E-04   -1.4663    
  11  Prefactor     .10000E-03    30.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.9775        24.280        .13375E-03   -1.5109    
  13  norm          .10000E-03    9.1473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.2288        .15335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.959        42.150        .80174E-04   -1.4708    
  17  Prefactor     20.788        42.275        .87836E-04   -1.4796    
  18  Normalizat    1.2905        .26828        .33842E-03   -.83850    
  19  Prefactor     .97651        .12997        .19096E-03   -.93517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89411e-09
Minuit parameter uncertainties:
  1  5.25054
  2  5.08961
  3  29.4957
  4  6.95696e-05
  5  8.35481e-07
  6  1.13765e-05
  7  7.67124e-07
  8  22.1007
  9  1.0554e-06
  10  10.5432
  11  3.59806e-05
  12  24.3066
  13  3.69346e-05
  14  9.83693e-06
  15  6.64401e-05
  16  42.2008
  17  42.336
  18  0.26857
  19  0.130009
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  2.729e+01  1.054e+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:  9.765e-01  1.300e-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.291e+00  2.686e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.89
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 1.33e-07 +/- 5.16e-08
Energy Flux (Fixed Index): 5.88e-05 +/- 2.27e-05

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) = 7738.06023869
delta logL = 0.220792275148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7738.05882944
delta logL = 0.222201528619

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.444       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3887       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2525       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98753       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=   7738.059     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      263 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.431        148.39        .19854E-02   -.63538E-04
   2  alpha         2.3882        3.6872        .25267        .13260E-04
   3  Normalizat    1.2531        .21235        .77392E-01    .86994E-04
   4  Prefactor     .98745        .79481E-01    .46111E-01   -.37978E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 25.4313
  alpha      = 2.38816
  Normalizat = 1.25311
  Prefactor  = 0.987452
 **********
 **   18 **HESSE 
 **********

 FCN=   7738.059     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.431        10.601        .79415E-04   -1.4699    
   2  alpha         2.3882        .38716        .10150E-01   -.44751E-01
   3  Normalizat    1.2531        .26442        .34254E-03   -.84977    
   4  Prefactor     .98745        .12979        .18999E-03   -.93149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.19033e-11
Minuit parameter uncertainties:
  1  10.6014
  2  0.388723
  3  0.264707
  4  0.129834
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/334146': 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) = 7738.05882196
delta logL = 0.222209008854

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  2.543e+01  1.060e+01  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.388e+00  3.887e-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.875e-01  1.298e-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.253e+00  2.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.35
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 2.39 +/- 0.39
Photon Flux (Free Index): 1.64e-07 +/- 7.38e-08
Energy Flux (Free Index): 5.31e-05 +/- 2.09e-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/334146/cmap_HighResolution_381628801_381888001_4FGL_J1419.4-0838_daily_bin549.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.33e-07', energy_flux2='5.31e-05', photon_flux_error='5.16e-08', dlogl='2.22e-01', energy_flux='5.88e-05', photon_flux2='1.64e-07', job_status='DONE', time_completed='2021-09-09 09:11:32.959214', photon_index_error2='0.39', photon_index2='2.39', ts='14.89', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.09e-05', EG='1.29', time_epoch_completed='1631203892.96', return_code='0', job_id='334146', GAL2='0.99', EG2='1.25', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='7.38e-08', ts2='15.35', photon_index='2.14' WHERE bin_id='549' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:11:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 334146: <4FGL_J1419.4-0838_daily_bin549> in cluster <slac> Done

Job <4FGL_J1419.4-0838_daily_bin549> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 09:00:25 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:00:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 09:00:26 2021
Terminated at Thu Sep  9 09:11:33 2021
Results reported at Thu Sep  9 09:11:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin549 214.86 -8.6417 381628801 381888001 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 :                                   544.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             256.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            668 sec.

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

