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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin728
RA = 214.623, Dec = 35.7192
tmin = 428025601, tmax = 428284801
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='318898', job_status='RUN', time_executed='2021-09-09 08:11:14.600160', time_epoch_executed='1631200274.6' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318898

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318898/ft1_4FGL_J1418.4+3543_daily_bin728.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318898/ft2_4FGL_J1418.4+3543_daily_bin728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318898/ft1_4FGL_J1418.4+3543_daily_bin728.fits outfile=/scratch/kocevski/318898/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin728.fits ra=214.623 dec=35.7192 rad=12.0 tmin=428025601.0 tmax=428284801.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.57
user 5.31
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/318898/ft2_4FGL_J1418.4+3543_daily_bin728.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318898/ft2_4FGL_J1418.4+3543_daily_bin728.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/318898/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin728.fits evtable="EVENTS" outfile="/scratch/kocevski/318898/ft1_filtered_4FGL_J1418.4+3543_daily_bin728.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318898/ft1_filtered_4FGL_J1418.4+3543_daily_bin728.fits" evtable="EVENTS" scfile=/scratch/kocevski/318898/ft2_4FGL_J1418.4+3543_daily_bin728.fits sctable="SC_DATA" outfile=/scratch/kocevski/318898/ltcube_428025601_428284801_4FGL_J1418.4+3543_daily_bin728.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/318898/ft2_4FGL_J1418.4+3543_daily_bin728.fits
.....................!
real 11.95
user 11.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318898/ft1_filtered_4FGL_J1418.4+3543_daily_bin728.fits evtable="EVENTS" scfile=/scratch/kocevski/318898/ft2_4FGL_J1418.4+3543_daily_bin728.fits sctable="SC_DATA" expcube=/scratch/kocevski/318898/ltcube_428025601_428284801_4FGL_J1418.4+3543_daily_bin728.fits outfile=/scratch/kocevski/318898/expmap_428025601_428284801_4FGL_J1418.4+3543_daily_bin728.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/318898/ltcube_428025601_428284801_4FGL_J1418.4+3543_daily_bin728.fits
.....................!
real 190.51
user 184.75
sys 4.95

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1418.4+3543 @ 214.623 35.7192

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/318898/ft1_filtered_4FGL_J1418.4+3543_daily_bin728.fits scfile=/scratch/kocevski/318898/ft2_4FGL_J1418.4+3543_daily_bin728.fits outfile=/scratch/kocevski/318898/cmap_428025601_428284801_4FGL_J1418.4+3543_daily_bin728.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.623 yref=35.7192 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.34
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318898/ft1_filtered_4FGL_J1418.4+3543_daily_bin728.fits scfile=/scratch/kocevski/318898/ft2_4FGL_J1418.4+3543_daily_bin728.fits outfile=/scratch/kocevski/318898/cmap_HighResolution_428025601_428284801_4FGL_J1418.4+3543_daily_bin728.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.623 yref=35.7192 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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318898/ft1_filtered_4FGL_J1418.4+3543_daily_bin728.fits evtable="EVENTS" scfile=/scratch/kocevski/318898/ft2_4FGL_J1418.4+3543_daily_bin728.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318898/Model_4FGL_J1418.4+3543_daily_bin728.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/318898/ft1_filtered_4FGL_J1418.4+3543_daily_bin728.fits.....................!
real 35.81
user 34.39
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/318898/ft1_filtered_4FGL_J1418.4+3543_daily_bin728.fits', '/scratch/kocevski/318898/ft2_4FGL_J1418.4+3543_daily_bin728.fits', expMap='/scratch/kocevski/318898/expmap_428025601_428284801_4FGL_J1418.4+3543_daily_bin728.fits', expCube='/scratch/kocevski/318898/ltcube_428025601_428284801_4FGL_J1418.4+3543_daily_bin728.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/318898/Model_4FGL_J1418.4+3543_daily_bin728.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1418.4+3543'

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  4.095e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.016e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  6.612e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/318898/ft1_filtered_4FGL_J1418.4+3543_daily_bin728.fits
Spacecraft file(s): /scratch/kocevski/318898/ft2_4FGL_J1418.4+3543_daily_bin728.fits
Exposure map: /scratch/kocevski/318898/expmap_428025601_428284801_4FGL_J1418.4+3543_daily_bin728.fits
Exposure cube: /scratch/kocevski/318898/ltcube_428025601_428284801_4FGL_J1418.4+3543_daily_bin728.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/318898/Model_4FGL_J1418.4+3543_daily_bin728.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) = 3952.63878955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.656       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .22794E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.9315       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.6936       1.0000         .10000E-03   10000.    
     6 'norm      '    .10963E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.249       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .87185E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.4113       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .83699E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3854       1.0000         .10000E-03   10000.    
    13 'norm      '    .21902       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.263       1.0000         .10000E-03   10000.    
    15 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.349       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4889       1.0000         .10000E-03   10000.    
    18 'norm      '    11.707       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10371E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12634       1.0000         .10000E-03   10000.    
    21 'norm      '    1.9433       1.0000         .10000E-03   10000.    
    22 'Prefactor '    82.622       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .57296       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+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=   3952.634     FROM MIGRAD    STATUS=CONVERGED   1027 CALLS     3254 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.610        54.547        .67114E-04    .38114E-04
   2  Prefactor     .10000E-03    45.973        .18142E-02** at limit **
   3  Prefactor     .10000E-03    185.78        .18142E-02** at limit **
   4  norm          4.9310        2.0855        .56775E-04    .10212E-04
   5  Prefactor     6.6933        5.2134        .11993E-03   -.81853E-04
   6  norm          .10000E-03    22.925        .18142E-02** at limit **
   7  Prefactor     14.251        16.954        .10611E-03    .51407E-04
   8  Prefactor     .10000E-03    8.8287        .18142E-02** at limit **
   9  norm          .10107E-03    9.1919        .36769E-01** at limit **
  10  Prefactor     5.4872        15.225        .17275E-03    .47779E-04
  11  Prefactor     .10005E-03    39.787        .74041E-01** at limit **
  12  Prefactor     4.3889        4.9794        .13838E-03   -.79858E-04
  13  norm          .84503E-01    25.453        .82562E-01    .92925E-04
  14  Prefactor     21.267        20.837        .86863E-04    .86381E-05
  15  norm          .10000E-03    3.5702        .11565E-02** at limit **
  16  Prefactor     21.311        56.936        .86686E-04    .12984E-04
  17  Prefactor     6.4870        35.609        .15755E-03   -.26988E-04
  18  norm          11.714        8.3876        .11708E-03   -.62340E-04
  19  Prefactor     .10000E-03    48.858        .36285E-03** at limit **
  20  Prefactor     .95492E-01    12.872        .55314E-01    .39389E-03
  21  norm          1.9457        2.0852        .81903E-04    .50178E-04
  22  Prefactor     82.560        87.933        .22095E-03    .58544E-04
  23  Normalizat    .57302        .23619        .27022E-03    .24086E-04
  24  Prefactor     1.2600        .26508        .22401E-03    .23883E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.6104
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 4.93099
  Prefactor  = 6.69331
  norm       = 0.0001
  Prefactor  = 14.2507
  Prefactor  = 0.0001
  norm       = 0.00010107
  Prefactor  = 5.48716
  Prefactor  = 0.000100049
  Prefactor  = 4.38895
  norm       = 0.0845034
  Prefactor  = 21.267
  norm       = 0.0001
  Prefactor  = 21.3108
  Prefactor  = 6.48696
  norm       = 11.7136
  Prefactor  = 0.000100001
  Prefactor  = 0.0954919
  norm       = 1.94566
  Prefactor  = 82.5598
  Normalizat = 0.573018
  Prefactor  = 1.26005
 **********
 **   18 **HESSE 
 **********

 FCN=   3952.634     FROM HESSE     STATUS=OK           413 CALLS     3667 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.610        54.545        .13423E-04   -1.4514    
   2  Prefactor     .10000E-03    46.006        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    185.85        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.9310        2.0854        .22710E-05   -1.5264    
   5  Prefactor     6.6933        5.2132        .47973E-05   -1.5190    
   6  norm          .10000E-03    22.943        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.251        16.954        .21222E-04   -1.4953    
   8  Prefactor     .10000E-03    8.8292        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10107E-03    6.6821        .45048E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.4872        15.048        .69098E-05   -1.5239    
  11  Prefactor     .10005E-03    34.714        .79800E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.3889        4.9797        .55350E-05   -1.5289    
  13  norm          .84503E-01    24.021        .86016E-01   -1.5650    
  14  Prefactor     21.267        20.836        .34745E-05   -1.4785    
  15  norm          .10000E-03    3.5705        .23131E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.311        56.916        .34675E-05   -1.4784    
  17  Prefactor     6.4870        35.600        .63020E-05   -1.5199    
  18  norm          11.714        8.3875        .46832E-05   -1.5023    
  19  Prefactor     .10000E-03    48.861        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95492E-01    12.255        .57121E-01   -1.5646    
  21  norm          1.9457        2.0814        .32761E-05   -1.5429    
  22  Prefactor     82.560        87.932        .44190E-04   -1.3888    
  23  Normalizat    .57302        .23637        .10809E-04   -1.0914    
  24  Prefactor     1.2600        .26530        .44803E-04   -.84503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29749e-09
Minuit parameter uncertainties:
  1  54.6218
  2  7.33055e-07
  3  0.00108903
  4  2.08547
  5  5.21351
  6  3.90697e-05
  7  16.96
  8  2.83146e-07
  9  0.00534951
  10  15.0588
  11  0.00262136
  12  4.98016
  13  2.84893
  14  20.8429
  15  2.23527e-06
  16  57.0613
  17  30.421
  18  8.38831
  19  0.000480279
  20  2.16284
  21  2.08147
  22  88.0713
  23  0.236783
  24  0.265587
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.011e-04  5.350e-03  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.016e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  6.612e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.260e+00  2.656e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  5.730e-01  2.368e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 214.623 35.719
Photon Flux Upper Limit: 8.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318898/likelihoodResults_428025601_428284801_4FGL_J1418.4+3543_daily_bin728.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) = 3952.63414681
delta logL = -3.79624107154e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3952.33198804
delta logL = 0.302120814991

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92420       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2666       1.0000          .0000       5.0000    
     3 'Normalizat'    .53565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2804       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3952.332     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      283 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92432        28.330        .12895E-01    .78443E-03
   2  alpha         3.2677        4.1182        .43912        .37964E-04
   3  Normalizat    .53558        .37845E-01    .63006E-01   -.13451E-04
   4  Prefactor     1.2805        .45253E-01    .50291E-01   -.31883E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.92432
  alpha      = 3.26769
  Normalizat = 0.535577
  Prefactor  = 1.28054
 **********
 **   18 **HESSE 
 **********

 FCN=   3952.332     FROM HESSE     STATUS=OK            31 CALLS      314 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92432        3.6175        .84266E-04   -1.5516    
   2  alpha         3.2677        1.9023        .16152E-01    .31212    
   3  Normalizat    .53558        .22477        .27880E-03   -1.1079    
   4  Prefactor     1.2805        .26483        .22233E-03   -.83888    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.86712e-11
Minuit parameter uncertainties:
  1  3.61835
  2  2.20447
  3  0.22515
  4  0.265109
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318898': 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) = 3952.33198677
delta logL = 0.302122076203

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  9.243e-01  3.618e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  3.268e+00  2.204e+00  0.000e+00  5.000e+00 ( 1.000e+00)
285         beta:  6.612e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.281e+00  2.651e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  5.356e-01  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 214.623 35.719

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/318898/cmap_HighResolution_428025601_428284801_4FGL_J1418.4+3543_daily_bin728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-05', job_status='DONE', photon_flux_upper_limit='8.12e-08', time_completed='2021-09-09 08:21:09.903975', job_id='318898', GAL2='1.28', fit_tolerance='1e-08', EG2='0.54', EG='0.57', time_epoch_completed='1631200869.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='3.02e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='728' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:21:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 318898: <4FGL_J1418.4+3543_daily_bin728> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin728> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 08:10:35 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:10:37 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:10:37 2021
Terminated at Thu Sep  9 08:21:10 2021
Results reported at Thu Sep  9 08:21:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin728 214.623 35.7192 428025601 428284801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1418.4+3543 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   580.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            635 sec.

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

