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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin300
RA = 214.623, Dec = 35.7192
tmin = 317088001, tmax = 317347201
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='315258', job_status='RUN', time_executed='2021-09-09 08:00:42.677910', time_epoch_executed='1631199642.68' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='300'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/315258

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/315258/ft1_4FGL_J1418.4+3543_daily_bin300.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/315258/ft2_4FGL_J1418.4+3543_daily_bin300.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/315258/ft1_4FGL_J1418.4+3543_daily_bin300.fits outfile=/scratch/kocevski/315258/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin300.fits ra=214.623 dec=35.7192 rad=12.0 tmin=317088001.0 tmax=317347201.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.86
user 3.63
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/315258/ft1_filtered_4FGL_J1418.4+3543_daily_bin300.fits" evtable="EVENTS" scfile=/scratch/kocevski/315258/ft2_4FGL_J1418.4+3543_daily_bin300.fits sctable="SC_DATA" outfile=/scratch/kocevski/315258/ltcube_317088001_317347201_4FGL_J1418.4+3543_daily_bin300.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/315258/ft2_4FGL_J1418.4+3543_daily_bin300.fits
.....................!
real 12.17
user 11.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/315258/ft1_filtered_4FGL_J1418.4+3543_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/315258/ft2_4FGL_J1418.4+3543_daily_bin300.fits sctable="SC_DATA" expcube=/scratch/kocevski/315258/ltcube_317088001_317347201_4FGL_J1418.4+3543_daily_bin300.fits outfile=/scratch/kocevski/315258/expmap_317088001_317347201_4FGL_J1418.4+3543_daily_bin300.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/315258/ltcube_317088001_317347201_4FGL_J1418.4+3543_daily_bin300.fits
.....................!
real 190.52
user 185.15
sys 4.88

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/315258/ft1_filtered_4FGL_J1418.4+3543_daily_bin300.fits scfile=/scratch/kocevski/315258/ft2_4FGL_J1418.4+3543_daily_bin300.fits outfile=/scratch/kocevski/315258/cmap_317088001_317347201_4FGL_J1418.4+3543_daily_bin300.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/315258/ft1_filtered_4FGL_J1418.4+3543_daily_bin300.fits scfile=/scratch/kocevski/315258/ft2_4FGL_J1418.4+3543_daily_bin300.fits outfile=/scratch/kocevski/315258/cmap_HighResolution_317088001_317347201_4FGL_J1418.4+3543_daily_bin300.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.371       1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.232       1.0000         .10000E-03   10000.    
     4 'norm      '    4.0382       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.755       1.0000         .10000E-03   10000.    
     6 'norm      '    .34303E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.8418       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5252       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .90908       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.065       1.0000         .10000E-03   10000.    
    15 'norm      '    .10141E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    49.495       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7741       1.0000         .10000E-03   10000.    
    21 'norm      '    .12616E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1026       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .72087       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=   5522.678     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2362 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.667       -.12746E-06** at limit **
   2  Prefactor     41.368        25.541       -.25274E-07   -.23313E-04
   3  Prefactor     27.226        37.976        .15377E-07   -.50800E-04
   4  norm          4.0381        1.6437        .24065E-07   -.11185E-03
   5  Prefactor     11.755        5.5824        .52486E-08   -.10166E-03
   6  norm          .10000E-03    37.032        .24775E-05** at limit **
   7  Prefactor     8.8395        13.016        .27360E-06   -.17713E-04
   8  Prefactor     .10000E-03    3.9708       -.13979E-06** at limit **
   9  norm          .10000E-03    1.4198        .85066E-08** at limit **
  10  Prefactor     6.5243        8.0072        .98987E-07   -.31003E-04
  11  Prefactor     .10000E-03    4.1162        .63424E-07** at limit **
  12  Prefactor     .91002        3.3292        .10714E-05   -.24217E-03
  13  norm          .10000E-03    3.9276        .97805E-07** at limit **
  14  Prefactor     10.060        21.190        .16996E-06    .53037E-05
  15  norm          .10000E-03    1.9264       -.39686E-07** at limit **
  16  Prefactor     49.491        40.597       -.20340E-06   -.26445E-04
  17  Prefactor     .10000E-03    12.878        .61940E-07** at limit **
  18  norm          .10000E-03    2.8106       -.35043E-07** at limit **
  19  Prefactor     .10000E-03    6.6085       -.15085E-06** at limit **
  20  Prefactor     1.7786        8.5758        .25332E-05    .16150E-04
  21  norm          .10000E-03    .80637       -.31778E-06** at limit **
  22  Prefactor     .10000E-03    104.80       -.16353E-06** at limit **
  23  Normalizat    1.1026        .17096        .69550E-07   -.59476E-04
  24  Prefactor     .72074        .18424       -.34268E-06   -.19847E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 41.3676
  Prefactor  = 27.2263
  norm       = 4.03811
  Prefactor  = 11.7552
  norm       = 0.000100001
  Prefactor  = 8.8395
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.52432
  Prefactor  = 0.0001
  Prefactor  = 0.910015
  norm       = 0.0001
  Prefactor  = 10.0601
  norm       = 0.0001
  Prefactor  = 49.4907
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.77858
  norm       = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 1.10259
  Prefactor  = 0.720741
 **********
 **   18 **HESSE 
 **********

 FCN=   5522.678     FROM HESSE     STATUS=OK           397 CALLS     2759 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     41.368        25.573        .62323E-04   -1.4421    
   3  Prefactor     27.226        38.151        .76769E-04   -1.4664    
   4  norm          4.0381        1.6443        .58592E-04   -1.5306    
   5  Prefactor     11.755        5.5942        .11416E-03   -1.5022    
   6  norm          .10000E-03    38.433        .42665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.8395        12.980        .13480E-03   -1.5113    
   8  Prefactor     .10000E-03    4.0016        .14514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.4316        .86440E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.5243        7.9992        .15711E-03   -1.5197    
  11  Prefactor     .10000E-03    4.1207        .14724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .91002        3.2714        .23759E-03   -1.5517    
  13  norm          .10000E-03    3.9383        .14399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.060        21.226        .12630E-03   -1.5074    
  15  norm          .10000E-03    1.9346        .10073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     49.491        40.639        .57001E-04   -1.4300    
  17  Prefactor     .10000E-03    12.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.8136        .12169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.6511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.7786        8.5804        .31433E-03   -1.5441    
  21  norm          .10000E-03    8.5299        .11774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    105.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1026        .20222        .20578E-03   -.89669    
  24  Prefactor     .72074        .21735        .28371E-03   -1.0272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37986e-10
Minuit parameter uncertainties:
  1  5.91137e-05
  2  25.5802
  3  38.1855
  4  1.64436
  5  5.59449
  6  0.0004581
  7  12.9838
  8  3.02185e-05
  9  1.18287e-06
  10  8.00055
  11  6.40643e-06
  12  3.27208
  13  1.68303e-05
  14  21.2421
  15  2.61686e-06
  16  40.6621
  17  1.4766e-05
  18  3.95882e-06
  19  2.24485e-05
  20  7.81465
  21  0.000234622
  22  0.000206672
  23  0.202363
  24  0.217608
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.000e-04  1.183e-06  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.207e-01  2.176e-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.103e+00  2.024e-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: 3.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/315258/likelihoodResults_317088001_317347201_4FGL_J1418.4+3543_daily_bin300.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) = 5522.68153582
delta logL = -0.00329009016423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5522.67824576
delta logL = -3.41633494827e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0195       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1026       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72075       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=   5522.678     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      238 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.5673        .86475E-03** at limit **
   2  alpha         2.1167        3.5555        .16862       -.23597E-08
   3  Normalizat    1.1026        .18925        .20578E-03   -.10800E-03
   4  Prefactor     .72074        .21600        .28371E-03   -.81987E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.11674
  Normalizat = 1.10259
  Prefactor  = 0.720741
 **********
 **   18 **HESSE 
 **********

 FCN=   5522.678     FROM HESSE     STATUS=OK            27 CALLS      265 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4472        .17295E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1167        3.5494        .67449E-01   -.15391    
   3  Normalizat    1.1026        .18942        .41155E-04   -.89669    
   4  Prefactor     .72074        .21619        .11348E-04   -1.0272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05025e-11
Minuit parameter uncertainties:
  1  1.14744e-07
  2  143.497
  3  0.189536
  4  0.216447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/315258': 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) = 5522.67824548
delta logL = 2.47791831498e-07

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.000e-04  1.147e-07  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.117e+00  1.435e+02  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.207e-01  2.164e-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.103e+00  1.895e-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/315258/cmap_HighResolution_317088001_317347201_4FGL_J1418.4+3543_daily_bin300.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.21e-05', job_status='DONE', photon_flux_upper_limit='3.89e-08', time_completed='2021-09-09 08:11:07.064030', job_id='315258', GAL2='0.72', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631200267.06', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='2.48e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='300' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:11:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 315258: <4FGL_J1418.4+3543_daily_bin300> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin300> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 08:00:24 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:00:25 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:25 2021
Terminated at Thu Sep  9 08:11:07 2021
Results reported at Thu Sep  9 08:11:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin300 214.623 35.7192 317088001 317347201 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 :                                   620.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            643 sec.

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

