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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin280
RA = 214.623, Dec = 35.7192
tmin = 311904001, tmax = 312163201
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='315227', job_status='RUN', time_executed='2021-09-09 08:01:17.493909', time_epoch_executed='1631199677.49' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='280'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/315227

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/315227/ft1_4FGL_J1418.4+3543_daily_bin280.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/315227/ft2_4FGL_J1418.4+3543_daily_bin280.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/315227/ft1_4FGL_J1418.4+3543_daily_bin280.fits outfile=/scratch/kocevski/315227/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin280.fits ra=214.623 dec=35.7192 rad=12.0 tmin=311904001.0 tmax=312163201.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.43
user 3.23
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/315227/ft2_4FGL_J1418.4+3543_daily_bin280.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/315227/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin280.fits evtable="EVENTS" outfile="/scratch/kocevski/315227/ft1_filtered_4FGL_J1418.4+3543_daily_bin280.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.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/315227/ft1_filtered_4FGL_J1418.4+3543_daily_bin280.fits evtable="EVENTS" scfile=/scratch/kocevski/315227/ft2_4FGL_J1418.4+3543_daily_bin280.fits sctable="SC_DATA" expcube=/scratch/kocevski/315227/ltcube_311904001_312163201_4FGL_J1418.4+3543_daily_bin280.fits outfile=/scratch/kocevski/315227/expmap_311904001_312163201_4FGL_J1418.4+3543_daily_bin280.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/315227/ltcube_311904001_312163201_4FGL_J1418.4+3543_daily_bin280.fits
.....................!
real 190.70
user 185.87
sys 4.48

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/315227/ft1_filtered_4FGL_J1418.4+3543_daily_bin280.fits scfile=/scratch/kocevski/315227/ft2_4FGL_J1418.4+3543_daily_bin280.fits outfile=/scratch/kocevski/315227/cmap_311904001_312163201_4FGL_J1418.4+3543_daily_bin280.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/315227/ft1_filtered_4FGL_J1418.4+3543_daily_bin280.fits scfile=/scratch/kocevski/315227/ft2_4FGL_J1418.4+3543_daily_bin280.fits outfile=/scratch/kocevski/315227/cmap_HighResolution_311904001_312163201_4FGL_J1418.4+3543_daily_bin280.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/315227/ft1_filtered_4FGL_J1418.4+3543_daily_bin280.fits', '/scratch/kocevski/315227/ft2_4FGL_J1418.4+3543_daily_bin280.fits', expMap='/scratch/kocevski/315227/expmap_311904001_312163201_4FGL_J1418.4+3543_daily_bin280.fits', expCube='/scratch/kocevski/315227/ltcube_311904001_312163201_4FGL_J1418.4+3543_daily_bin280.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/315227/Model_4FGL_J1418.4+3543_daily_bin280.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/315227/ft1_filtered_4FGL_J1418.4+3543_daily_bin280.fits
Spacecraft file(s): /scratch/kocevski/315227/ft2_4FGL_J1418.4+3543_daily_bin280.fits
Exposure map: /scratch/kocevski/315227/expmap_311904001_312163201_4FGL_J1418.4+3543_daily_bin280.fits
Exposure cube: /scratch/kocevski/315227/ltcube_311904001_312163201_4FGL_J1418.4+3543_daily_bin280.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/315227/Model_4FGL_J1418.4+3543_daily_bin280.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) = 6047.70677893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    78.321       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.2798       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .55320       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.614       1.0000         .10000E-03   10000.    
    15 'norm      '    .10677E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10350E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10464E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3460       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86737       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.

 FCN=   6047.705     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2741 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     78.329        61.802        .17040E-05    .19728E-03
   2  Prefactor     .10000E-03    4.8194       -.20390E-06** at limit **
   3  Prefactor     .10000E-03    45.556        .25110E-06** at limit **
   4  norm          5.2803        1.8256        .18407E-07   -.57943E-04
   5  Prefactor     .10000E-03    5.3474        .20558E-07** at limit **
   6  norm          .10000E-03    8.5996       -.28473E-07** at limit **
   7  Prefactor     .10000E-03    28.536        .13787E-05** at limit **
   8  Prefactor     .10000E-03    6.0550       -.77620E-07** at limit **
   9  norm          .55401        4.0080        .24364E-05   -.19160E-03
  10  Prefactor     .10000E-03    4.1887        .22006E-07** at limit **
  11  Prefactor     .10000E-03    5.0157        .11225E-06** at limit **
  12  Prefactor     .10000E-03    2.6512       -.86868E-07** at limit **
  13  norm          .10000E-03    3.9893       -.88187E-07** at limit **
  14  Prefactor     21.623        30.184        .15903E-05    .15242E-03
  15  norm          .10039E-03    7.5922        .19238E-05** at limit **
  16  Prefactor     .10000E-03    15.604       -.86186E-07** at limit **
  17  Prefactor     .10001E-03    34.737       -.36599E-05** at limit **
  18  norm          .10000E-03    3.6450        .19619E-07** at limit **
  19  Prefactor     .10000E-03    43.148       -.63893E-06** at limit **
  20  Prefactor     .10000E-03    5.5633       -.81825E-07** at limit **
  21  norm          .10000E-03    .72161       -.22791E-07** at limit **
  22  Prefactor     .10001E-03    80.694       -.22033E-05** at limit **
  23  Normalizat    1.3455        .17689       -.83240E-06   -.29276E-03
  24  Prefactor     .86773        .19161        .20874E-06   -.24032E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 78.3291
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.28026
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.554005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 21.623
  norm       = 0.000100389
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100005
  Normalizat = 1.34551
  Prefactor  = 0.867728
 **********
 **   18 **HESSE 
 **********

 FCN=   6047.705     FROM HESSE     STATUS=OK           385 CALLS     3126 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     78.329        63.223        .45377E-04   -1.3936    
   2  Prefactor     .10000E-03    4.8297        .16691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    45.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.2803        1.8268        .59860E-04   -1.5248    
   5  Prefactor     .10000E-03    5.5311        .35083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.6308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    29.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.0652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55401        4.6177        .31746E-03   -1.5559    
  10  Prefactor     .10000E-03    4.1937        .15543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.0222        .17011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.7630        .24713E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.9921        .15174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.623        30.791        .86155E-04   -1.4778    
  15  norm          .10039E-03    51.324        .35650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    37.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.6484        .14500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    44.457        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.6161        .17898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.5216        .12813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    81.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3455        .20995        .21836E-03   -.82218    
  24  Prefactor     .86773        .22916        .29592E-03   -.97278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.0613e-09
Minuit parameter uncertainties:
  1  63.2776
  2  2.99365e-05
  3  0.000113822
  4  1.82684
  5  1.04876e-05
  6  4.04327e-06
  7  0.000483147
  8  1.42029e-05
  9  3.19893
  10  1.99615e-06
  11  1.33616e-05
  12  5.50472e-06
  13  1.13748e-05
  14  30.8132
  15  0.00893863
  16  3.79494e-05
  17  0.00146287
  18  4.62888e-08
  19  0.000283169
  20  1.42188e-05
  21  3.49478e-06
  22  0.00131745
  23  0.210085
  24  0.229417
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  5.540e-01  3.199e+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

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  8.677e-01  2.294e-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:  1.346e+00  2.101e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/315227/likelihoodResults_311904001_312163201_4FGL_J1418.4+3543_daily_bin280.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) = 6047.13571099
delta logL = 0.568818963367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6047.04792623
delta logL = 0.656603719734

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66570       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8407       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2695       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91668       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=   6047.048     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      219 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66710        8.3506        .11930E-01    .13555E-02
   2  alpha         3.8391        4.3274        .43473        .58790E-04
   3  Normalizat    1.2696        .37126E-01    .50597E-01   -.97843E-05
   4  Prefactor     .91673        .41555E-01    .65257E-01   -.10696E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.667096
  alpha      = 3.83906
  Normalizat = 1.26957
  Prefactor  = 0.91673
 **********
 **   18 **HESSE 
 **********

 FCN=   6047.048     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      252 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66710        25.755        .55918E-04   -1.5545    
   2  alpha         3.8391        3.2832        .16924E-01    .56525    
   3  Normalizat    1.2696        .22072        .22370E-03   -.84479    
   4  Prefactor     .91673        .23841        .28864E-03   -.95559    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01204e-09
Minuit parameter uncertainties:
  1  8.29323
  2  7.63337
  3  0.220879
  4  0.23868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/315227': 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) = 6047.0479253
delta logL = 0.656604646801

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  6.671e-01  8.293e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  3.839e+00  7.633e+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:  9.167e-01  2.387e-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:  1.270e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.43
Ra Dec: 214.623 35.719
Photon Index (Free Index): 3.84 +/- 7.63
Photon Flux (Free Index): 6.41e-08 +/- 8.14e-08
Energy Flux (Free Index): 1.02e-05 +/- 1.19e-05

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/315227/cmap_HighResolution_311904001_312163201_4FGL_J1418.4+3543_daily_bin280.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.45e-05', comment='SUCCESS', energy_flux2='1.02e-05', dlogl='6.57e-01', photon_flux2='6.41e-08', job_status='DONE', time_completed='2021-09-09 08:12:32.510377', photon_index_error2='7.63', photon_index2='3.84', ts='0.03', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='6.07e-08', energy_flux_error2='1.19e-05', EG='1.35', time_epoch_completed='1631200352.51', return_code='0', job_id='315227', GAL2='0.92', EG2='1.27', return_code2='102', photon_flux_error2='8.14e-08', ts2='1.43', photon_index='2.02' WHERE bin_id='280' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:12:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 315227: <4FGL_J1418.4+3543_daily_bin280> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin280> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 08:00:21 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:00:23 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:00:23 2021
Terminated at Thu Sep  9 08:12:33 2021
Results reported at Thu Sep  9 08:12:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin280 214.623 35.7192 311904001 312163201 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 :                                   672.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            732 sec.

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

