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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin524
RA = 214.606, Dec = -2.5594
tmin = 375148801, tmax = 375408001
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='326395', job_status='RUN', time_executed='2021-09-09 08:39:33.158059', time_epoch_executed='1631201973.16' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='524'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/326395

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/326395/ft1_4FGL_J1418.4-0233_daily_bin524.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/326395/ft2_4FGL_J1418.4-0233_daily_bin524.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/326395/ft1_4FGL_J1418.4-0233_daily_bin524.fits outfile=/scratch/kocevski/326395/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin524.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=375148801.0 tmax=375408001.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.57
user 4.30
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/326395/ft2_4FGL_J1418.4-0233_daily_bin524.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/326395/ft2_4FGL_J1418.4-0233_daily_bin524.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/326395/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin524.fits evtable="EVENTS" outfile="/scratch/kocevski/326395/ft1_filtered_4FGL_J1418.4-0233_daily_bin524.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/326395/ft1_filtered_4FGL_J1418.4-0233_daily_bin524.fits" evtable="EVENTS" scfile=/scratch/kocevski/326395/ft2_4FGL_J1418.4-0233_daily_bin524.fits sctable="SC_DATA" outfile=/scratch/kocevski/326395/ltcube_375148801_375408001_4FGL_J1418.4-0233_daily_bin524.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/326395/ft2_4FGL_J1418.4-0233_daily_bin524.fits
.....................!
real 11.69
user 11.18
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/326395/ft1_filtered_4FGL_J1418.4-0233_daily_bin524.fits evtable="EVENTS" scfile=/scratch/kocevski/326395/ft2_4FGL_J1418.4-0233_daily_bin524.fits sctable="SC_DATA" expcube=/scratch/kocevski/326395/ltcube_375148801_375408001_4FGL_J1418.4-0233_daily_bin524.fits outfile=/scratch/kocevski/326395/expmap_375148801_375408001_4FGL_J1418.4-0233_daily_bin524.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/326395/ltcube_375148801_375408001_4FGL_J1418.4-0233_daily_bin524.fits
.....................!
real 190.28
user 185.38
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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J1418.4-0233 @ 214.606 -2.5594

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/326395/ft1_filtered_4FGL_J1418.4-0233_daily_bin524.fits scfile=/scratch/kocevski/326395/ft2_4FGL_J1418.4-0233_daily_bin524.fits outfile=/scratch/kocevski/326395/cmap_375148801_375408001_4FGL_J1418.4-0233_daily_bin524.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.606 yref=-2.5594 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.67
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/326395/ft1_filtered_4FGL_J1418.4-0233_daily_bin524.fits scfile=/scratch/kocevski/326395/ft2_4FGL_J1418.4-0233_daily_bin524.fits outfile=/scratch/kocevski/326395/cmap_HighResolution_375148801_375408001_4FGL_J1418.4-0233_daily_bin524.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.606 yref=-2.5594 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/326395/ft1_filtered_4FGL_J1418.4-0233_daily_bin524.fits evtable="EVENTS" scfile=/scratch/kocevski/326395/ft2_4FGL_J1418.4-0233_daily_bin524.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/326395/Model_4FGL_J1418.4-0233_daily_bin524.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/326395/ft1_filtered_4FGL_J1418.4-0233_daily_bin524.fits.....................!
real 61.31
user 59.54
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/326395/ft1_filtered_4FGL_J1418.4-0233_daily_bin524.fits', '/scratch/kocevski/326395/ft2_4FGL_J1418.4-0233_daily_bin524.fits', expMap='/scratch/kocevski/326395/expmap_375148801_375408001_4FGL_J1418.4-0233_daily_bin524.fits', expCube='/scratch/kocevski/326395/ltcube_375148801_375408001_4FGL_J1418.4-0233_daily_bin524.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/326395/Model_4FGL_J1418.4-0233_daily_bin524.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1418.4-0233'

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  7.824e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  8.008e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/326395/ft1_filtered_4FGL_J1418.4-0233_daily_bin524.fits
Spacecraft file(s): /scratch/kocevski/326395/ft2_4FGL_J1418.4-0233_daily_bin524.fits
Exposure map: /scratch/kocevski/326395/expmap_375148801_375408001_4FGL_J1418.4-0233_daily_bin524.fits
Exposure cube: /scratch/kocevski/326395/ltcube_375148801_375408001_4FGL_J1418.4-0233_daily_bin524.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/326395/Model_4FGL_J1418.4-0233_daily_bin524.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) = 7821.89760777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.0311       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.3887       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15816E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13867E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10692E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.2962       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1342       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0309       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7821.862     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1518 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .78011        .90712E-02** at limit **
   2  norm          .10000E-03    6.6441        .90712E-02** at limit **
   3  Prefactor     .10000E-03    1.4058        .90712E-02** at limit **
   4  Prefactor     .10000E-03    7.6570        .90712E-02** at limit **
   5  norm          .10000E-03    3.4965        .90712E-02** at limit **
   6  Prefactor     .10000E-03    7.3560        .90712E-02** at limit **
   7  norm          1.0300        1.6704        .28680E-01    .11733E-02
   8  Prefactor     .10000E-03    5.7806        .90712E-02** at limit **
   9  norm          .10000E-03    3.4112        .90712E-02** at limit **
  10  norm          6.3907        5.3836        .39699E-02    .99511E-03
  11  Prefactor     .10000E-03    32.645        .90712E-02** at limit **
  12  Prefactor     .10000E-03    8.4904        .10214    ** at limit **
  13  norm          .10000E-03    9.2496        .90712E-02** at limit **
  14  Prefactor     .10000E-03    589.50        .90712E-02** at limit **
  15  Prefactor     .10000E-03    19.149        .90712E-02** at limit **
  16  norm          8.3015        14.216        .34796E-02    .36149E-03
  17  Normalizat    1.1343        .18759        .67797E-01    .22371E-04
  18  Prefactor     1.0309        .11040        .41190E-01    .10399E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.03001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.39073
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.3015
  Normalizat = 1.13427
  Prefactor  = 1.03092
 **********
 **   18 **HESSE 
 **********

 FCN=   7821.862     FROM HESSE     STATUS=OK           240 CALLS     1758 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .80739        .76230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.6444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.4111        .10239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.6788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.5922        .32292E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.4348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.0300        1.4553        .13873E-02   -1.5505    
   8  Prefactor     .10000E-03    5.7890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.4142        .15953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.3907        5.3418        .15879E-03   -1.5202    
  11  Prefactor     .10000E-03    33.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    47.662        .49584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    9.2606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    613.95        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    19.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.3015        14.196        .13919E-03   -1.5132    
  17  Normalizat    1.1343        .21902        .29995E-03   -.88659    
  18  Prefactor     1.0309        .12981        .18502E-03   -.91706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02879e-09
Minuit parameter uncertainties:
  1  4.87521e-09
  2  3.93607e-06
  3  1.55015e-07
  4  9.2064e-06
  5  1.69812e-07
  6  1.10916e-05
  7  1.45531
  8  3.01248e-06
  9  1.41532e-07
  10  5.34221
  11  2.18956e-05
  12  0.000189869
  13  8.14155e-07
  14  0.000190712
  15  1.50028e-07
  16  14.2014
  17  0.219194
  18  0.129849
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.000e-04  1.415e-07  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  8.008e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.031e+00  1.298e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.134e+00  2.192e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 214.606 -2.559
Photon Flux Upper Limit: 2.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/326395/likelihoodResults_375148801_375408001_4FGL_J1418.4-0233_daily_bin524.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) = 7821.86322203
delta logL = -0.00138032905215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7821.86184179
delta logL = -9.64582795859e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6467       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1343       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0309       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+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=   7821.862     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      241 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    277.66        .15981E-02** at limit **
   2  alpha         1.9320        3.7468        .50000       -.10687E-07
   3  Normalizat    1.1343        .48003E-01    .29995E-03   -.39532E-04
   4  Prefactor     1.0309        .28551E-01    .18502E-03   -.76389E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.932
  Normalizat = 1.13427
  Prefactor  = 1.03092
 **********
 **   18 **HESSE 
 **********

 FCN=   7821.862     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    838.23        .31963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9320        2.6669        .50000       -.22920    
   3  Normalizat    1.1343        .18376        .11998E-04   -.88659    
   4  Prefactor     1.0309        .10930        .37004E-04   -.91706    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.48659e-10
Minuit parameter uncertainties:
  1  0.000186083
  2  3242.67
  3  0.183868
  4  0.109324
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/326395': 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): 102
logL (Free Index) = 7821.86184114
delta logL = 5.53174686502e-07

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.000e-04  1.861e-04  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  1.932e+00  3.243e+03  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  8.008e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.031e+00  1.093e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.134e+00  1.839e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 214.606 -2.559

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/326395/cmap_HighResolution_375148801_375408001_4FGL_J1418.4-0233_daily_bin524.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.35e-05', job_status='DONE', photon_flux_upper_limit='2.54e-08', time_completed='2021-09-09 08:49:01.303013', job_id='326395', GAL2='1.03', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1631202541.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='5.53e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='524' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:49:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 326395: <4FGL_J1418.4-0233_daily_bin524> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin524> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 08:35:27 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:35:28 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:35:28 2021
Terminated at Thu Sep  9 08:49:02 2021
Results reported at Thu Sep  9 08:49:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin524 214.606 -2.5594 375148801 375408001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1418.4-0233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   564.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            815 sec.

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

