/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 52 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 = 7538
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1418.4-0233_daily_bin707
RA = 214.606, Dec = -2.5594
tmin = 422582401, tmax = 422841601
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='327910', job_status='RUN', time_executed='2021-09-09 08:41:37.929529', time_epoch_executed='1631202097.93' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/327910

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/327910/ft1_4FGL_J1418.4-0233_daily_bin707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/327910/ft2_4FGL_J1418.4-0233_daily_bin707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/327910/ft1_4FGL_J1418.4-0233_daily_bin707.fits outfile=/scratch/kocevski/327910/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin707.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=422582401.0 tmax=422841601.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.61
user 3.31
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/327910/ft2_4FGL_J1418.4-0233_daily_bin707.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/327910/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin707.fits evtable="EVENTS" outfile="/scratch/kocevski/327910/ft1_filtered_4FGL_J1418.4-0233_daily_bin707.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/327910/ft1_filtered_4FGL_J1418.4-0233_daily_bin707.fits" evtable="EVENTS" scfile=/scratch/kocevski/327910/ft2_4FGL_J1418.4-0233_daily_bin707.fits sctable="SC_DATA" outfile=/scratch/kocevski/327910/ltcube_422582401_422841601_4FGL_J1418.4-0233_daily_bin707.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/327910/ft2_4FGL_J1418.4-0233_daily_bin707.fits
.....................!
real 11.63
user 11.25
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/327910/ft1_filtered_4FGL_J1418.4-0233_daily_bin707.fits evtable="EVENTS" scfile=/scratch/kocevski/327910/ft2_4FGL_J1418.4-0233_daily_bin707.fits sctable="SC_DATA" expcube=/scratch/kocevski/327910/ltcube_422582401_422841601_4FGL_J1418.4-0233_daily_bin707.fits outfile=/scratch/kocevski/327910/expmap_422582401_422841601_4FGL_J1418.4-0233_daily_bin707.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/327910/ltcube_422582401_422841601_4FGL_J1418.4-0233_daily_bin707.fits
.....................!
real 189.51
user 185.16
sys 3.87

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/327910/ft1_filtered_4FGL_J1418.4-0233_daily_bin707.fits scfile=/scratch/kocevski/327910/ft2_4FGL_J1418.4-0233_daily_bin707.fits outfile=/scratch/kocevski/327910/cmap_422582401_422841601_4FGL_J1418.4-0233_daily_bin707.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/327910/ft1_filtered_4FGL_J1418.4-0233_daily_bin707.fits scfile=/scratch/kocevski/327910/ft2_4FGL_J1418.4-0233_daily_bin707.fits outfile=/scratch/kocevski/327910/cmap_HighResolution_422582401_422841601_4FGL_J1418.4-0233_daily_bin707.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.60
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/327910/ft1_filtered_4FGL_J1418.4-0233_daily_bin707.fits evtable="EVENTS" scfile=/scratch/kocevski/327910/ft2_4FGL_J1418.4-0233_daily_bin707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/327910/Model_4FGL_J1418.4-0233_daily_bin707.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/327910/ft1_filtered_4FGL_J1418.4-0233_daily_bin707.fits.....................!
real 50.96
user 49.60
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/327910/ft1_filtered_4FGL_J1418.4-0233_daily_bin707.fits', '/scratch/kocevski/327910/ft2_4FGL_J1418.4-0233_daily_bin707.fits', expMap='/scratch/kocevski/327910/expmap_422582401_422841601_4FGL_J1418.4-0233_daily_bin707.fits', expCube='/scratch/kocevski/327910/ltcube_422582401_422841601_4FGL_J1418.4-0233_daily_bin707.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/327910/Model_4FGL_J1418.4-0233_daily_bin707.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/327910/ft1_filtered_4FGL_J1418.4-0233_daily_bin707.fits
Spacecraft file(s): /scratch/kocevski/327910/ft2_4FGL_J1418.4-0233_daily_bin707.fits
Exposure map: /scratch/kocevski/327910/expmap_422582401_422841601_4FGL_J1418.4-0233_daily_bin707.fits
Exposure cube: /scratch/kocevski/327910/ltcube_422582401_422841601_4FGL_J1418.4-0233_daily_bin707.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/327910/Model_4FGL_J1418.4-0233_daily_bin707.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) = 6383.34371433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3090       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.3520       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.889       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8708       1.0000         .10000E-03   10000.    
     7 'norm      '    3.4825       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10111       1.0000         .10000E-03   10000.    
     9 'norm      '    .12390E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.6547       1.0000         .10000E-03   10000.    
    13 'norm      '    15.191       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10611E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.355       1.0000         .10000E-03   10000.    
    16 'norm      '    .38595E-02   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1838       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .79079       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6383.292     FROM MIGRAD    STATUS=CONVERGED     89 CALLS     1545 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3087        1.8841        .16666E-05   -.38313E-04
   2  norm          .10000E-03    12.754       -.50148E-05** at limit **
   3  Prefactor     3.3514        5.0336        .14118E-04   -.50170E-04
   4  Prefactor     26.899        6.3743       -.82714E-05   -.11568E-01
   5  norm          .10000E-03    2.1098       -.19454E-05** at limit **
   6  Prefactor     3.8697        10.354        .10671E-04    .57620E-03
   7  norm          3.4823        2.7142       -.39393E-05    .93572E-04
   8  Prefactor     .10984E-03    302.41       -.19419E-03** at limit **
   9  norm          .10001E-03    45.016        .10846E-04** at limit **
  10  norm          .10000E-03    1.8364       -.21567E-06** at limit **
  11  Prefactor     .10000E-03    8.3653        .23645E-05** at limit **
  12  Prefactor     7.6516        1.5288        .23020E-05    .13512E-02
  13  norm          15.202        5.5029       -.95060E-05   -.35055E-02
  14  Prefactor     .13020E-03    34.499       -.70859E-05** at limit **
  15  Prefactor     27.377        4.2350       -.46142E-05   -.20961E-04
  16  norm          .10230E-03    122.79        .12999E-03** at limit **
  17  Normalizat    1.1839        .23830        .13788E-04    .43924E-04
  18  Prefactor     .79075        .13107       -.24334E-04   -.47881E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.30867
  norm       = 0.0001
  Prefactor  = 3.35145
  Prefactor  = 26.8989
  norm       = 0.0001
  Prefactor  = 3.86967
  norm       = 3.48229
  Prefactor  = 0.000109838
  norm       = 0.000100011
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.65157
  norm       = 15.2018
  Prefactor  = 0.000130197
  Prefactor  = 27.3773
  norm       = 0.000102304
  Normalizat = 1.1839
  Prefactor  = 0.790752
 **********
 **   18 **HESSE 
 **********

 FCN=   6383.292     FROM HESSE     STATUS=OK           294 CALLS     1839 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3087        1.8885        .67504E-02   -1.5404    
   2  norm          .10000E-03    12.734        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.3514        5.0474        .55262E-02   -1.5342    
   4  Prefactor     26.899        17.544        .19314E-02   -1.4670    
   5  norm          .10000E-03    2.1082        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.8697        10.611        .51275E-02   -1.5315    
   7  norm          3.4823        2.7219        .54170E-02   -1.5335    
   8  Prefactor     .10984E-03    20.485        .11503       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10001E-03    43.148        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.8344        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.3632        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.6516        18.744        .36236E-02   -1.5155    
  13  norm          15.202        20.957        .25691E-02   -1.4928    
  14  Prefactor     .13020E-03    226.58        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.377        34.407        .19149E-02   -1.4661    
  16  norm          .10230E-03    25.622        .97692E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1839        .20444        .63447E-01   -.87102    
  18  Prefactor     .79075        .11115        .43597E-01   -1.0007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33862e-07
Minuit parameter uncertainties:
  1  1.88856
  2  2.53339e-05
  3  5.04801
  4  17.5478
  5  7.02244e-06
  6  10.6165
  7  2.72201
  8  0.028402
  9  0.00137313
  10  7.14244e-06
  11  3.59799e-06
  12  18.7584
  13  20.967
  14  0.166065
  15  34.4317
  16  0.0153747
  17  0.204574
  18  0.111184
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.000e-04  1.373e-03  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:  7.908e-01  1.112e-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.184e+00  2.046e-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: 5.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/327910/likelihoodResults_422582401_422841601_4FGL_J1418.4-0233_daily_bin707.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6383.29253626
delta logL = -0.000105762441308

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6383.18134
delta logL = 0.111090503473

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5113       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6631       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1697       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78911       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=   6383.181     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      293 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5113        13.811        .25783E-03    .10494E-04
   2  alpha         2.6631        1.8966        .15548E-01    .96832E-05
   3  Normalizat    1.1698        .23481        .28216E-03   -.40695E-04
   4  Prefactor     .78911        .13226        .19039E-03   -.66163E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.51127
  alpha      = 2.66306
  Normalizat = 1.16975
  Prefactor  = 0.789109
 **********
 **   18 **HESSE 
 **********

 FCN=   6383.181     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5113        8.5577        .10313E-04   -1.5391    
   2  alpha         2.6631        1.4629        .62193E-03    .65271E-01
   3  Normalizat    1.1698        .23349        .11286E-04   -.87543    
   4  Prefactor     .78911        .13125        .76154E-05   -1.0013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.41662e-12
Minuit parameter uncertainties:
  1  8.56184
  2  1.56324
  3  0.233694
  4  0.1313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/327910': 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) = 6383.18134
delta logL = 0.111090503856

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  2.511e+00  8.562e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  2.663e+00  1.563e+00  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:  7.891e-01  1.313e-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.170e+00  2.337e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/327910/cmap_HighResolution_422582401_422841601_4FGL_J1418.4-0233_daily_bin707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.62e-05', job_status='DONE', photon_flux_upper_limit='5.03e-08', time_completed='2021-09-09 08:51:22.635269', job_id='327910', GAL2='0.79', fit_tolerance='1e-08', EG2='1.17', EG='1.18', time_epoch_completed='1631202682.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.11e-01', ts2='0.22', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='707' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:51:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 327910: <4FGL_J1418.4-0233_daily_bin707> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin707> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Sep  9 08:40:28 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:40:29 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:40:29 2021
Terminated at Thu Sep  9 08:51:23 2021
Results reported at Thu Sep  9 08:51:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin707 214.606 -2.5594 422582401 422841601 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 :                                   523.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            655 sec.

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

