/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 8 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 = 7416
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1418.4+3543_daily_bin79
RA = 214.623, Dec = 35.7192
tmin = 259804801, tmax = 260064001
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='312487', job_status='RUN', time_executed='2021-09-09 07:51:01.040552', time_epoch_executed='1631199061.04' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='79'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/312487

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/312487/ft1_4FGL_J1418.4+3543_daily_bin79.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/312487/ft2_4FGL_J1418.4+3543_daily_bin79.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/312487/ft1_4FGL_J1418.4+3543_daily_bin79.fits outfile=/scratch/kocevski/312487/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin79.fits ra=214.623 dec=35.7192 rad=12.0 tmin=259804801.0 tmax=260064001.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 2.68
user 2.46
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/312487/ft2_4FGL_J1418.4+3543_daily_bin79.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/312487/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin79.fits evtable="EVENTS" outfile="/scratch/kocevski/312487/ft1_filtered_4FGL_J1418.4+3543_daily_bin79.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/312487/ft1_filtered_4FGL_J1418.4+3543_daily_bin79.fits" evtable="EVENTS" scfile=/scratch/kocevski/312487/ft2_4FGL_J1418.4+3543_daily_bin79.fits sctable="SC_DATA" outfile=/scratch/kocevski/312487/ltcube_259804801_260064001_4FGL_J1418.4+3543_daily_bin79.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/312487/ft2_4FGL_J1418.4+3543_daily_bin79.fits
.....................!
real 12.62
user 12.27
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/312487/ft1_filtered_4FGL_J1418.4+3543_daily_bin79.fits evtable="EVENTS" scfile=/scratch/kocevski/312487/ft2_4FGL_J1418.4+3543_daily_bin79.fits sctable="SC_DATA" expcube=/scratch/kocevski/312487/ltcube_259804801_260064001_4FGL_J1418.4+3543_daily_bin79.fits outfile=/scratch/kocevski/312487/expmap_259804801_260064001_4FGL_J1418.4+3543_daily_bin79.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/312487/ltcube_259804801_260064001_4FGL_J1418.4+3543_daily_bin79.fits
.....................!
real 189.25
user 184.81
sys 4.03

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/312487/ft1_filtered_4FGL_J1418.4+3543_daily_bin79.fits scfile=/scratch/kocevski/312487/ft2_4FGL_J1418.4+3543_daily_bin79.fits outfile=/scratch/kocevski/312487/cmap_259804801_260064001_4FGL_J1418.4+3543_daily_bin79.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/312487/ft1_filtered_4FGL_J1418.4+3543_daily_bin79.fits scfile=/scratch/kocevski/312487/ft2_4FGL_J1418.4+3543_daily_bin79.fits outfile=/scratch/kocevski/312487/cmap_HighResolution_259804801_260064001_4FGL_J1418.4+3543_daily_bin79.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.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10342E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10916E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.906       1.0000         .10000E-03   10000.    
     4 'norm      '    .86701E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.174       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10751E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .92119E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2007       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.762       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.294       1.0000         .10000E-03   10000.    
    15 'norm      '    4.1364       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.6481       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1593       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .45951       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3653       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .75519       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=   7535.075     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2836 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    44.418       -.15291E-05** at limit **
   2  Prefactor     .10000E-03    19.605       -.55721E-06** at limit **
   3  Prefactor     35.881        55.858       -.84258E-06   -.24118E-04
   4  norm          .84091E-01    .59406        .47844E-07   -.47806E-04
   5  Prefactor     .10000E-03    1.6524       -.35856E-06** at limit **
   6  norm          12.171        13.596       -.77296E-06   -.98833E-04
   7  Prefactor     .10000E-03    59.361       -.39164E-05** at limit **
   8  Prefactor     .10000E-03    11.358       -.77485E-08** at limit **
   9  norm          1.1996        3.4999       -.63759E-06   -.26582E-04
  10  Prefactor     .10017E-03    58.654       -.44450E-05** at limit **
  11  Prefactor     12.713        12.957        .42228E-07    .21672E-03
  12  Prefactor     .10000E-03    .79979       -.21784E-06** at limit **
  13  norm          .10000E-03    7.8648       -.30301E-06** at limit **
  14  Prefactor     38.269        22.789        .96598E-07    .34859E-04
  15  norm          4.1377        4.1530        .10859E-06    .10055E-03
  16  Prefactor     .10000E-03    22.772        .29093E-06** at limit **
  17  Prefactor     .10000E-03    7.3401       -.21140E-06** at limit **
  18  norm          2.6470        4.4245       -.20217E-06   -.11967E-04
  19  Prefactor     1.1612        5.7461        .10374E-05    .55266E-03
  20  Prefactor     .10000E-03    3.3402       -.84116E-07** at limit **
  21  norm          .45968        1.1904       -.46771E-06   -.29425E-03
  22  Prefactor     .10000E-03    51.018        .45415E-06** at limit **
  23  Normalizat    1.3653        .18050       -.24797E-05    .41960E-03
  24  Prefactor     .75514        .19732        .45364E-05    .16468E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.8813
  norm       = 0.0840913
  Prefactor  = 0.0001
  norm       = 12.1713
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  norm       = 1.19957
  Prefactor  = 0.000100165
  Prefactor  = 12.7135
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 38.2693
  norm       = 4.1377
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.647
  Prefactor  = 1.16122
  Prefactor  = 0.0001
  norm       = 0.459685
  Prefactor  = 0.0001
  Normalizat = 1.36534
  Prefactor  = 0.755145
 **********
 **   18 **HESSE 
 **********

 FCN=   7535.075     FROM HESSE     STATUS=OK           401 CALLS     3237 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    19.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     35.881        56.268        .66881E-04   -1.4509    
   4  norm          .84091E-01    4.1860        .12858E-02   -1.5650    
   5  Prefactor     .10000E-03    1.6782        .10917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.171        13.708        .11481E-03   -1.5010    
   7  Prefactor     .10000E-03    61.121        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    63.568        .56345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1996        3.5077        .26440E-03   -1.5489    
  10  Prefactor     .10017E-03    109.86        .49826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.713        13.327        .11213E-03   -1.4995    
  12  Prefactor     .10000E-03    .80542        .75909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.8987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     38.269        22.791        .64768E-04   -1.4470    
  15  norm          4.1377        4.1474        .17117E-03   -1.5301    
  16  Prefactor     .10000E-03    22.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.3485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.6470        4.4085        .22962E-03   -1.5383    
  19  Prefactor     1.1612        9.6897        .21410E-02   -1.5492    
  20  Prefactor     .10000E-03    3.3669        .15464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .45968        1.1952        .14712E-03   -1.5572    
  22  Prefactor     .10000E-03    51.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3653        .18762        .21097E-03   -.81636    
  24  Prefactor     .75514        .20368        .30496E-03   -1.0140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1308e-08
Minuit parameter uncertainties:
  1  0.000147826
  2  4.65964e-05
  3  56.3515
  4  1.18598
  5  9.96011e-06
  6  13.7112
  7  0.000746013
  8  0.000633347
  9  3.50834
  10  0.00853495
  11  13.3306
  12  4.08131e-06
  13  1.59888e-05
  14  22.7967
  15  4.14773
  16  1.72091e-06
  17  1.38192e-05
  18  4.409
  19  6.70996
  20  1.41153e-06
  21  1.19531
  22  7.30623e-05
  23  0.187711
  24  0.203883
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.200e+00  3.508e+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:  7.551e-01  2.039e-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.365e+00  1.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/312487/likelihoodResults_259804801_260064001_4FGL_J1418.4+3543_daily_bin79.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) = 7535.00177792
delta logL = 0.0732693529526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7534.99926196
delta logL = 0.0757853161867

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3882       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4513       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3586       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75781       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7534.999     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      269 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3870        3.0640        .19490E-03   -.27766E-04
   2  alpha         2.4508        1.1039        .82323E-02   -.16820E-05
   3  Normalizat    1.3586        .18278        .21139E-03   -.19533E-04
   4  Prefactor     .75782        .20242        .30442E-03   -.16058E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.38699
  alpha      = 2.45083
  Normalizat = 1.35856
  Prefactor  = 0.757815
 **********
 **   18 **HESSE 
 **********

 FCN=   7534.999     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3870        3.0113        .77960E-05   -1.5472    
   2  alpha         2.4508        1.0860        .32929E-03   -.19668E-01
   3  Normalizat    1.3586        .18294        .42279E-04   -.81835    
   4  Prefactor     .75782        .20257        .12177E-04   -1.0130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53362e-12
Minuit parameter uncertainties:
  1  3.01161
  2  1.12347
  3  0.183027
  4  0.202765
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/312487': 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) = 7534.99926166
delta logL = 0.0757856192022

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.387e+00  3.012e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.451e+00  1.123e+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:  7.578e-01  2.028e-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.359e+00  1.830e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 214.623 35.719

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/312487/cmap_HighResolution_259804801_260064001_4FGL_J1418.4+3543_daily_bin79.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-05', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2021-09-09 08:03:49.740963', job_id='312487', GAL2='0.76', fit_tolerance='1e-08', EG2='1.36', EG='1.37', time_epoch_completed='1631199829.74', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='7.58e-02', ts2='0.29', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='79' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:03:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 312487: <4FGL_J1418.4+3543_daily_bin79> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin79> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 07:50:41 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 07:50:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 07:50:43 2021
Terminated at Thu Sep  9 08:03:50 2021
Results reported at Thu Sep  9 08:03:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin79 214.623 35.7192 259804801 260064001 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 :                                   766.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             374.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            789 sec.

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

