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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin655
RA = 214.606, Dec = -2.5594
tmin = 409104001, tmax = 409363201
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='326601', job_status='RUN', time_executed='2021-09-09 08:39:39.518164', time_epoch_executed='1631201979.52' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='655'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/326601

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/326601/ft1_4FGL_J1418.4-0233_daily_bin655.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/326601/ft2_4FGL_J1418.4-0233_daily_bin655.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/326601/ft1_4FGL_J1418.4-0233_daily_bin655.fits outfile=/scratch/kocevski/326601/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin655.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=409104001.0 tmax=409363201.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 5.55
user 5.26
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/326601/ft1_filtered_4FGL_J1418.4-0233_daily_bin655.fits" evtable="EVENTS" scfile=/scratch/kocevski/326601/ft2_4FGL_J1418.4-0233_daily_bin655.fits sctable="SC_DATA" outfile=/scratch/kocevski/326601/ltcube_409104001_409363201_4FGL_J1418.4-0233_daily_bin655.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/326601/ft2_4FGL_J1418.4-0233_daily_bin655.fits
.....................!
real 11.82
user 11.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/326601/ft1_filtered_4FGL_J1418.4-0233_daily_bin655.fits evtable="EVENTS" scfile=/scratch/kocevski/326601/ft2_4FGL_J1418.4-0233_daily_bin655.fits sctable="SC_DATA" expcube=/scratch/kocevski/326601/ltcube_409104001_409363201_4FGL_J1418.4-0233_daily_bin655.fits outfile=/scratch/kocevski/326601/expmap_409104001_409363201_4FGL_J1418.4-0233_daily_bin655.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/326601/ltcube_409104001_409363201_4FGL_J1418.4-0233_daily_bin655.fits
.....................!
real 191.51
user 185.92
sys 5.27

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/326601/ft1_filtered_4FGL_J1418.4-0233_daily_bin655.fits scfile=/scratch/kocevski/326601/ft2_4FGL_J1418.4-0233_daily_bin655.fits outfile=/scratch/kocevski/326601/cmap_409104001_409363201_4FGL_J1418.4-0233_daily_bin655.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.54
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/326601/ft1_filtered_4FGL_J1418.4-0233_daily_bin655.fits scfile=/scratch/kocevski/326601/ft2_4FGL_J1418.4-0233_daily_bin655.fits outfile=/scratch/kocevski/326601/cmap_HighResolution_409104001_409363201_4FGL_J1418.4-0233_daily_bin655.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.56
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/326601/ft1_filtered_4FGL_J1418.4-0233_daily_bin655.fits evtable="EVENTS" scfile=/scratch/kocevski/326601/ft2_4FGL_J1418.4-0233_daily_bin655.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/326601/Model_4FGL_J1418.4-0233_daily_bin655.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/326601/ft1_filtered_4FGL_J1418.4-0233_daily_bin655.fits.....................!
real 73.17
user 70.34
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.4595       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7272       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13482E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10152E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.3884       1.0000         .10000E-03   10000.    
    10 'norm      '    30.456       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    55.540       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3089       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0184       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.

 FCN=   9912.892     FROM MIGRAD    STATUS=CONVERGED    358 CALLS     1703 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.4602        2.8506        .61854E-07   -.17204E-03
   2  norm          .10000E-03    8.0409       -.47941E-05** at limit **
   3  Prefactor     4.7284        5.4249       -.10763E-06   -.35547E-03
   4  Prefactor     .10000E-03    12.737        .18899E-05** at limit **
   5  norm          .10000E-03    1.9942        .12596E-08** at limit **
   6  Prefactor     .10002E-03    8.0371        .58841E-08** at limit **
   7  norm          .10000E-03    1.2640        .69564E-07** at limit **
   8  Prefactor     .10000E-03    14.079       -.82569E-05** at limit **
   9  norm          3.3871        8.1887       -.34395E-06   -.21565E-03
  10  norm          30.453        8.5690        .87555E-07   -.30760E-04
  11  Prefactor     .10000E-03    25.040        .37462E-05** at limit **
  12  Prefactor     .10000E-03    6.0723       -.35645E-06** at limit **
  13  norm          .10000E-03    12.026        .58440E-05** at limit **
  14  Prefactor     55.554        55.999        .16165E-04   -.10590E-04
  15  Prefactor     .10000E-03    7.4578        .36962E-05** at limit **
  16  norm          .10000E-03    4.8457       -.34953E-07** at limit **
  17  Normalizat    1.3086        .19319       -.13399E-05    .67537E-05
  18  Prefactor     1.0187        .10572       -.16032E-06   -.79828E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.46022
  norm       = 0.0001
  Prefactor  = 4.7284
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100017
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.38708
  norm       = 30.4529
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 55.5542
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.30857
  Prefactor  = 1.01867
 **********
 **   18 **HESSE 
 **********

 FCN=   9912.892     FROM HESSE     STATUS=OK           240 CALLS     1943 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.4602        2.8577        .99946E-04   -1.5162    
   2  norm          .10000E-03    8.0406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.7284        5.4251        .18507E-03   -1.5273    
   4  Prefactor     .10000E-03    12.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.0008        .13721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    46.118        .54090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.3091        .21833E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.3871        8.1918        .21980E-03   -1.5340    
  10  norm          30.453        8.5650        .72602E-04   -1.4604    
  11  Prefactor     .10000E-03    25.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.0795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    12.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     55.554        55.888        .53825E-04   -1.4216    
  15  Prefactor     .10000E-03    7.4571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.8547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3086        .22514        .31912E-03   -.83311    
  18  Prefactor     1.0187        .12446        .20001E-03   -.92110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.38204e-10
Minuit parameter uncertainties:
  1  2.85772
  2  1.17421e-06
  3  5.42566
  4  1.28561e-05
  5  3.07151e-06
  6  0.00176035
  7  4.15051e-06
  8  2.52131e-05
  9  8.19448
  10  8.56533
  11  1.25627e-05
  12  5.57813e-06
  13  1.07781e-05
  14  55.9413
  15  6.15931e-06
  16  4.19183e-06
  17  0.225311
  18  0.124495
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  3.387e+00  8.194e+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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.019e+00  1.245e-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.309e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/326601/likelihoodResults_409104001_409363201_4FGL_J1418.4-0233_daily_bin655.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) = 9912.62901042
delta logL = 0.262521733073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9912.62749752
delta logL = 0.264034630045

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6442       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3897       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2996       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0183       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=   9912.627     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      245 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6438        7.3920        .21162E-03    .15042E-04
   2  alpha         2.3899        1.0502        .17572E-01    .12365E-04
   3  Normalizat    1.2995        .22008        .32004E-03    .33107E-04
   4  Prefactor     1.0183        .12392        .20000E-03    .22099E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.64381
  alpha      = 2.38992
  Normalizat = 1.29955
  Prefactor  = 1.01827
 **********
 **   18 **HESSE 
 **********

 FCN=   9912.627     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6438        6.6248        .84647E-05   -1.5326    
   2  alpha         2.3899        .94703        .70289E-03   -.44047E-01
   3  Normalizat    1.2995        .22001        .12802E-04   -.83580    
   4  Prefactor     1.0183        .12393        .39999E-04   -.92123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.41393e-11
Minuit parameter uncertainties:
  1  6.62613
  2  0.971334
  3  0.220173
  4  0.123963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/326601': 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) = 9912.62749748
delta logL = 0.264034664035

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  3.644e+00  6.626e+00  1.000e-04  1.000e+04 ( 1.000e-13)
270        alpha:  2.390e+00  9.713e-01  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.018e+00  1.240e-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.300e+00  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
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/326601/cmap_HighResolution_409104001_409363201_4FGL_J1418.4-0233_daily_bin655.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.44e-05', job_status='DONE', photon_flux_upper_limit='3.76e-08', time_completed='2021-09-09 08:50:31.318728', job_id='326601', GAL2='1.02', fit_tolerance='1e-08', EG2='1.30', EG='1.31', time_epoch_completed='1631202631.32', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.64e-01', ts2='0.74', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='655' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:50:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 326601: <4FGL_J1418.4-0233_daily_bin655> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin655> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 08:35:40 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:35:41 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:41 2021
Terminated at Thu Sep  9 08:50:31 2021
Results reported at Thu Sep  9 08:50:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin655 214.606 -2.5594 409104001 409363201 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 :                                   649.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            891 sec.

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

