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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin114
RA = 214.86, Dec = -8.6417
tmin = 268876801, tmax = 269136001
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='332528', job_status='RUN', time_executed='2021-09-09 08:59:33.233749', time_epoch_executed='1631203173.23' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='114'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332528

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332528/ft1_4FGL_J1419.4-0838_daily_bin114.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332528/ft2_4FGL_J1419.4-0838_daily_bin114.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332528/ft1_4FGL_J1419.4-0838_daily_bin114.fits outfile=/scratch/kocevski/332528/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin114.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=268876801.0 tmax=269136001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 1.69
user 1.50
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332528/ft1_filtered_4FGL_J1419.4-0838_daily_bin114.fits" evtable="EVENTS" scfile=/scratch/kocevski/332528/ft2_4FGL_J1419.4-0838_daily_bin114.fits sctable="SC_DATA" outfile=/scratch/kocevski/332528/ltcube_268876801_269136001_4FGL_J1419.4-0838_daily_bin114.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/332528/ft2_4FGL_J1419.4-0838_daily_bin114.fits
.....................!
real 14.05
user 13.66
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332528/ft1_filtered_4FGL_J1419.4-0838_daily_bin114.fits evtable="EVENTS" scfile=/scratch/kocevski/332528/ft2_4FGL_J1419.4-0838_daily_bin114.fits sctable="SC_DATA" expcube=/scratch/kocevski/332528/ltcube_268876801_269136001_4FGL_J1419.4-0838_daily_bin114.fits outfile=/scratch/kocevski/332528/expmap_268876801_269136001_4FGL_J1419.4-0838_daily_bin114.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/332528/ltcube_268876801_269136001_4FGL_J1419.4-0838_daily_bin114.fits
.....................!
real 189.74
user 184.87
sys 4.54

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/332528/ft1_filtered_4FGL_J1419.4-0838_daily_bin114.fits scfile=/scratch/kocevski/332528/ft2_4FGL_J1419.4-0838_daily_bin114.fits outfile=/scratch/kocevski/332528/cmap_268876801_269136001_4FGL_J1419.4-0838_daily_bin114.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.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332528/ft1_filtered_4FGL_J1419.4-0838_daily_bin114.fits scfile=/scratch/kocevski/332528/ft2_4FGL_J1419.4-0838_daily_bin114.fits outfile=/scratch/kocevski/332528/cmap_HighResolution_268876801_269136001_4FGL_J1419.4-0838_daily_bin114.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/332528/ft1_filtered_4FGL_J1419.4-0838_daily_bin114.fits evtable="EVENTS" scfile=/scratch/kocevski/332528/ft2_4FGL_J1419.4-0838_daily_bin114.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/332528/Model_4FGL_J1419.4-0838_daily_bin114.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/332528/ft1_filtered_4FGL_J1419.4-0838_daily_bin114.fits.....................!
real 83.33
user 81.93
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0496       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10533E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.678       1.0000         .10000E-03   10000.    
     5 'norm      '    2.4460       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4131       1.0000         .10000E-03   10000.    
     9 'norm      '    7.0421       1.0000         .10000E-03   10000.    
    10 'norm      '    3.8894       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.5978       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.023       1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.548       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    33.904       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3497       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94429       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=   11100.34     FROM MIGRAD    STATUS=CONVERGED    376 CALLS     1878 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0493        5.5730        .34403E-07   -.79808E-04
   2  Prefactor     .10000E-03    1.5601        .53901E-07** at limit **
   3  Prefactor     .10001E-03    28.763       -.65997E-05** at limit **
   4  Prefactor     21.674        32.269       -.11768E-05   -.11744E-03
   5  norm          2.4458        2.5567       -.19374E-07    .41463E-04
   6  Prefactor     .10000E-03    12.299       -.40035E-06** at limit **
   7  norm          .10000E-03    .57480        .64848E-08** at limit **
   8  Prefactor     4.4124        11.708        .48871E-05   -.49996E-03
   9  norm          7.0423        6.6775       -.37905E-06    .22303E-03
  10  norm          3.8898        4.7177        .39582E-06    .83811E-04
  11  Prefactor     7.5981        11.567        .13326E-05   -.28107E-03
  12  Prefactor     .10000E-03    7.8148        .60218E-07** at limit **
  13  norm          10.024        10.155        .11613E-07   -.68299E-04
  14  Prefactor     43.553        73.066        .16054E-05    .45460E-04
  15  Prefactor     .10000E-03    4.8778        .72447E-07** at limit **
  16  Prefactor     .10001E-03    26.540        .61462E-05** at limit **
  17  Prefactor     33.905        30.792        .62074E-06    .41857E-04
  18  Normalizat    1.3497        .17745       -.54709E-06    .28551E-04
  19  Prefactor     .94427        .90507E-01   -.46929E-07   -.41150E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.04927
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 21.6744
  norm       = 2.44578
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.41238
  norm       = 7.04229
  norm       = 3.88981
  Prefactor  = 7.59811
  Prefactor  = 0.0001
  norm       = 10.0242
  Prefactor  = 43.5525
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 33.9048
  Normalizat = 1.34966
  Prefactor  = 0.944274
 **********
 **   18 **HESSE 
 **********

 FCN=   11100.34     FROM HESSE     STATUS=OK           268 CALLS     2146 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0493        5.5571        .13323E-03   -1.5106    
   2  Prefactor     .10000E-03    3.2797        .25347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    31.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.674        32.465        .86028E-04   -1.4777    
   5  norm          2.4458        2.5563        .16744E-03   -1.5395    
   6  Prefactor     .10000E-03    12.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .58094        .77948E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.4124        12.636        .95852E-03   -1.5288    
   9  norm          7.0423        6.6948        .75585E-03   -1.5177    
  10  norm          3.8898        4.7085        .20459E-03   -1.5313    
  11  Prefactor     7.5981        11.692        .72744E-03   -1.5157    
  12  Prefactor     .10000E-03    7.8252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.024        10.161        .12657E-03   -1.5075    
  14  Prefactor     43.553        73.329        .60751E-04   -1.4387    
  15  Prefactor     .10000E-03    5.0444        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    28.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     33.905        30.766        .68821E-04   -1.4543    
  18  Normalizat    1.3497        .20591        .31975E-03   -.82096    
  19  Prefactor     .94427        .10573        .19131E-03   -.94611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18918e-09
Minuit parameter uncertainties:
  1  5.55739
  2  1.53197e-05
  3  0.00135687
  4  32.4915
  5  2.55645
  6  3.9154e-05
  7  1.93562e-07
  8  12.6435
  9  6.69554
  10  4.70892
  11  11.6957
  12  7.70234e-06
  13  10.1631
  14  73.481
  15  7.40616e-06
  16  0.00131222
  17  30.7809
  18  0.206033
  19  0.105758
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.443e-01  1.058e-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.350e+00  2.060e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 1.90e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 8.39e-06 +/- 1.02e-05

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

Saving results to:
/scratch/kocevski/332528/likelihoodResults_268876801_269136001_4FGL_J1419.4-0838_daily_bin114.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) = 11100.3316224
delta logL = 0.00658602381191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11100.3311528
delta logL = 0.00705561787072

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7649       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2526       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3470       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94514       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=   11100.33     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      239 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7648        4.9203        .20807E-03    .38455E-03
   2  alpha         2.2527        .99333        .30585E-01    .47907E-04
   3  Normalizat    1.3470        .20445        .32002E-03   -.68564E-04
   4  Prefactor     .94514        .10465        .19123E-03   -.14125E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.7648
  alpha      = 2.25267
  Normalizat = 1.34704
  Prefactor  = 0.945141
 **********
 **   18 **HESSE 
 **********

 FCN=   11100.33     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7648        4.7697        .83227E-05   -1.5320    
   2  alpha         2.2527        .96475        .12234E-02   -.99093E-01
   3  Normalizat    1.3470        .20450        .12801E-04   -.82173    
   4  Prefactor     .94514        .10468        .76493E-05   -.94581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1987e-10
Minuit parameter uncertainties:
  1  4.77014
  2  0.990727
  3  0.204621
  4  0.104699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332528': 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) = 11100.3311528
delta logL = 0.00705562228541

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  3.765e+00  4.770e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.253e+00  9.907e-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.451e-01  1.047e-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.347e+00  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.05
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 2.25 +/- 0.99
Photon Flux (Free Index): 2.08e-08 +/- 2.88e-08
Energy Flux (Free Index): 7.86e-06 +/- 1.04e-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/332528/cmap_HighResolution_268876801_269136001_4FGL_J1419.4-0838_daily_bin114.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.34e-05', comment='SUCCESS', photon_flux='1.90e-08', energy_flux2='7.86e-06', photon_flux_error='2.30e-08', dlogl='7.06e-03', energy_flux='8.39e-06', photon_flux2='2.08e-08', job_status='DONE', time_completed='2021-09-09 09:11:45.489014', photon_index_error2='0.99', photon_index2='2.25', ts='1.03', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='7.57e-08', energy_flux_error2='1.04e-05', EG='1.35', time_epoch_completed='1631203905.49', return_code='0', job_id='332528', GAL2='0.95', EG2='1.35', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='2.88e-08', ts2='1.05', photon_index='2.14' WHERE bin_id='114' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:11:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 332528: <4FGL_J1419.4-0838_daily_bin114> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin114 214.86 -8.6417 268876801 269136001 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 :                                   728.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            986 sec.

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

