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


Performing analysis on: 4FGL_J1419.4-0838_daily_bin378
RA = 214.86, Dec = -8.6417
tmin = 337305601, tmax = 337564801
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='332923', job_status='RUN', time_executed='2021-09-09 08:58:44.382158', time_epoch_executed='1631203124.38' WHERE source_name='4FGL J1419.4-0838' and cadence='daily' and bin_id='378'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332923

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332923/ft1_4FGL_J1419.4-0838_daily_bin378.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332923/ft2_4FGL_J1419.4-0838_daily_bin378.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332923/ft1_4FGL_J1419.4-0838_daily_bin378.fits outfile=/scratch/kocevski/332923/ft1_filteredMKT_4FGL_J1419.4-0838_daily_bin378.fits ra=214.86 dec=-8.6417 rad=12.0 tmin=337305601.0 tmax=337564801.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 7.57
user 7.20
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332923/ft1_filtered_4FGL_J1419.4-0838_daily_bin378.fits" evtable="EVENTS" scfile=/scratch/kocevski/332923/ft2_4FGL_J1419.4-0838_daily_bin378.fits sctable="SC_DATA" outfile=/scratch/kocevski/332923/ltcube_337305601_337564801_4FGL_J1419.4-0838_daily_bin378.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/332923/ft2_4FGL_J1419.4-0838_daily_bin378.fits
.....................!
real 11.54
user 11.18
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332923/ft1_filtered_4FGL_J1419.4-0838_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/332923/ft2_4FGL_J1419.4-0838_daily_bin378.fits sctable="SC_DATA" expcube=/scratch/kocevski/332923/ltcube_337305601_337564801_4FGL_J1419.4-0838_daily_bin378.fits outfile=/scratch/kocevski/332923/expmap_337305601_337564801_4FGL_J1419.4-0838_daily_bin378.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/332923/ltcube_337305601_337564801_4FGL_J1419.4-0838_daily_bin378.fits
.....................!
real 193.30
user 187.60
sys 5.32

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J1419.4-0838 @ 214.86 -8.6417

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/332923/ft1_filtered_4FGL_J1419.4-0838_daily_bin378.fits scfile=/scratch/kocevski/332923/ft2_4FGL_J1419.4-0838_daily_bin378.fits outfile=/scratch/kocevski/332923/cmap_337305601_337564801_4FGL_J1419.4-0838_daily_bin378.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332923/ft1_filtered_4FGL_J1419.4-0838_daily_bin378.fits scfile=/scratch/kocevski/332923/ft2_4FGL_J1419.4-0838_daily_bin378.fits outfile=/scratch/kocevski/332923/cmap_HighResolution_337305601_337564801_4FGL_J1419.4-0838_daily_bin378.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.60
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/332923/ft1_filtered_4FGL_J1419.4-0838_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/332923/ft2_4FGL_J1419.4-0838_daily_bin378.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/332923/Model_4FGL_J1419.4-0838_daily_bin378.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/332923/ft1_filtered_4FGL_J1419.4-0838_daily_bin378.fits.....................!
real 72.37
user 70.93
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8514       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18629E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.801       1.0000         .10000E-03   10000.    
     7 'norm      '    2.4979       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.6078       1.0000         .10000E-03   10000.    
     9 'norm      '    15.894       1.0000         .10000E-03   10000.    
    10 'norm      '    15.539       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.6003       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10290E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.5094       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94733       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=   9062.113     FROM MIGRAD    STATUS=CONVERGED    382 CALLS     1637 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8525        5.8109        .18262E-05   -.72615E-03
   2  Prefactor     .10002E-03    3.0177       -.10833E-05** at limit **
   3  Prefactor     .10000E-03    13.398        .11521E-04** at limit **
   4  Prefactor     .10000E-03    50.721        .16184E-04** at limit **
   5  norm          .10000E-03    2.4926       -.78909E-07** at limit **
   6  Prefactor     13.801        12.288       -.69851E-07   -.62341E-04
   7  norm          2.4981        2.2610       -.12091E-06   -.43947E-03
   8  Prefactor     7.6081        14.820       -.19149E-06   -.43729E-04
   9  norm          15.894        11.161       -.37052E-07   -.38785E-05
  10  norm          15.539        8.0486       -.20809E-07    .19974E-04
  11  Prefactor     8.5996        16.942       -.18061E-06   -.85908E-05
  12  Prefactor     .10000E-03    8.6359        .96008E-06** at limit **
  13  norm          .10000E-03    15.083       -.81850E-05** at limit **
  14  Prefactor     .10000E-03    52.977        .10325E-04** at limit **
  15  Prefactor     .10000E-03    4.8302        .13184E-06** at limit **
  16  Prefactor     .10000E-03    60.676       -.26106E-04** at limit **
  17  Prefactor     .10000E-03    36.612       -.87298E-06** at limit **
  18  Normalizat    1.5094        .21557       -.89063E-07    .14100E-03
  19  Prefactor     .94732        .10526       -.11619E-06    .23048E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.85246
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.8011
  norm       = 2.49806
  Prefactor  = 7.60811
  norm       = 15.8941
  norm       = 15.5391
  Prefactor  = 8.59963
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.50944
  Prefactor  = 0.947319
 **********
 **   18 **HESSE 
 **********

 FCN=   9062.113     FROM HESSE     STATUS=OK           266 CALLS     1903 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8525        5.6796        .30640E-03   -1.5436    
   2  Prefactor     .10002E-03    10.979        .31298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    51.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.5032        .14664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.801        12.298        .10782E-03   -1.4965    
   7  norm          2.4981        2.2531        .12938E-03   -1.5392    
   8  Prefactor     7.6081        14.823        .14539E-03   -1.5156    
   9  norm          15.894        11.161        .10046E-03   -1.4910    
  10  norm          15.539        8.0392        .10160E-03   -1.4919    
  11  Prefactor     8.5996        16.933        .13669E-03   -1.5121    
  12  Prefactor     .10000E-03    8.6443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    15.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    53.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.8912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    60.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    36.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.5094        .25276        .32883E-03   -.77513    
  19  Prefactor     .94732        .12415        .20034E-03   -.94507    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62212e-09
Minuit parameter uncertainties:
  1  5.68122
  2  0.000870307
  3  8.01066e-06
  4  6.73544e-05
  5  6.23509e-06
  6  12.2998
  7  2.25317
  8  14.83
  9  11.1629
  10  8.03975
  11  16.9427
  12  3.56253e-06
  13  5.73081e-05
  14  6.60615e-07
  15  1.37017e-05
  16  5.30766e-05
  17  3.14039e-05
  18  0.252977
  19  0.124183
Done.

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

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.554e+01  8.040e+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.473e-01  1.242e-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.509e+00  2.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.36
Ra Dec: 214.860 -8.642
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 7.60e-08 +/- 3.93e-08
Energy Flux (Fixed Index): 3.35e-05 +/- 1.73e-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) = 9061.77279875
delta logL = 0.339817929089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9061.74878616
delta logL = 0.36383052368

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.191       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7486       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5381       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94020       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=   9061.749     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.191        7.7341        .26581E-02    .49714E-02
   2  alpha         1.7486        .35513        .35198       -.50749E-04
   3  Normalizat    1.5381        .21104        .73764E-01    .11157E-04
   4  Prefactor     .94023        .10509        .45515E-01    .76412E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 14.1908
  alpha      = 1.74855
  Normalizat = 1.53808
  Prefactor  = 0.940228
 **********
 **   18 **HESSE 
 **********

 FCN=   9061.749     FROM HESSE     STATUS=OK            29 CALLS      237 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.191        8.3947        .10633E-03   -1.4954    
   2  alpha         1.7486        .43968        .13575E-01   -.30530    
   3  Normalizat    1.5381        .24847        .32639E-03   -.76714    
   4  Prefactor     .94023        .12379        .20103E-03   -.94749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20504e-08
Minuit parameter uncertainties:
  1  8.3954
  2  0.442211
  3  0.248672
  4  0.123822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332923': 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) = 9061.74878613
delta logL = 0.363830551732

Extracting fit parameters...

4FGL J1419.4-0838
   Spectrum: LogParabola
286         norm:  1.419e+01  8.395e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.749e+00  4.422e-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.402e-01  1.238e-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.538e+00  2.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.11
Ra Dec: 214.860 -8.642
Photon Index (Free Index): 1.75 +/- 0.44
Photon Flux (Free Index): 4.94e-08 +/- 3.80e-08
Energy Flux (Free Index): 4.44e-05 +/- 3.06e-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/332923/cmap_HighResolution_337305601_337564801_4FGL_J1419.4-0838_daily_bin378.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.60e-08', energy_flux2='4.44e-05', photon_flux_error='3.93e-08', dlogl='3.64e-01', energy_flux='3.35e-05', photon_flux2='4.94e-08', job_status='DONE', time_completed='2021-09-09 09:08:32.770143', photon_index_error2='0.44', photon_index2='1.75', ts='12.36', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='3.06e-05', EG='1.51', time_epoch_completed='1631203712.77', return_code='0', job_id='332923', GAL2='0.94', EG2='1.54', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='3.80e-08', ts2='13.11', photon_index='2.14' WHERE bin_id='378' AND source_name='4FGL J1419.4-0838' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:08:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 332923: <4FGL_J1419.4-0838_daily_bin378> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.4-0838_daily_bin378 214.86 -8.6417 337305601 337564801 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 :                                   582.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            766 sec.

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

