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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1040
RA = 214.623, Dec = 35.7192
tmin = 508896001, tmax = 509155201
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='320547', job_status='RUN', time_executed='2021-09-09 08:16:17.120000', time_epoch_executed='1631200577.12' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1040'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/320547

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/320547/ft1_4FGL_J1418.4+3543_daily_bin1040.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/320547/ft2_4FGL_J1418.4+3543_daily_bin1040.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/320547/ft1_4FGL_J1418.4+3543_daily_bin1040.fits outfile=/scratch/kocevski/320547/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1040.fits ra=214.623 dec=35.7192 rad=12.0 tmin=508896001.0 tmax=509155201.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.91
user 3.46
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/320547/ft1_filtered_4FGL_J1418.4+3543_daily_bin1040.fits evtable="EVENTS" scfile=/scratch/kocevski/320547/ft2_4FGL_J1418.4+3543_daily_bin1040.fits sctable="SC_DATA" expcube=/scratch/kocevski/320547/ltcube_508896001_509155201_4FGL_J1418.4+3543_daily_bin1040.fits outfile=/scratch/kocevski/320547/expmap_508896001_509155201_4FGL_J1418.4+3543_daily_bin1040.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/320547/ltcube_508896001_509155201_4FGL_J1418.4+3543_daily_bin1040.fits
.....................!
real 189.56
user 184.79
sys 4.41

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/320547/ft1_filtered_4FGL_J1418.4+3543_daily_bin1040.fits scfile=/scratch/kocevski/320547/ft2_4FGL_J1418.4+3543_daily_bin1040.fits outfile=/scratch/kocevski/320547/cmap_508896001_509155201_4FGL_J1418.4+3543_daily_bin1040.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.53
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    121.57       1.0000         .10000E-03   10000.    
     4 'norm      '    5.4768       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.8718       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .35152E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0225       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.8503       1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.420       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.2383       1.0000         .10000E-03   10000.    
    18 'norm      '    7.1530       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.408       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .48630       1.0000         .10000E-03   10000.    
    22 'Prefactor '    102.76       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3324       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .72352       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=   5900.623     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2695 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.149        .47036E-06** at limit **
   2  Prefactor     .10000E-03    36.895       -.46366E-06** at limit **
   3  Prefactor     121.57        77.267        .25807E-07   -.48176E-05
   4  norm          5.4769        2.0234        .70056E-07   -.31285E-04
   5  Prefactor     .10000E-03    3.1713        .31457E-07** at limit **
   6  norm          .10000E-03    5.7575        .16657E-07** at limit **
   7  Prefactor     9.8712        9.9881       -.36919E-06   -.20584E-04
   8  Prefactor     .10000E-03    7.3161       -.16080E-09** at limit **
   9  norm          .10000E-03    1.7990       -.21863E-07** at limit **
  10  Prefactor     .10000E-03    21.030        .93149E-06** at limit **
  11  Prefactor     3.0206        16.567        .44271E-05   -.65083E-04
  12  Prefactor     4.8501        4.3845        .81017E-07   -.50439E-04
  13  norm          .10000E-03    8.5070        .14510E-06** at limit **
  14  Prefactor     10.418        23.849        .14244E-06   -.89738E-05
  15  norm          .10000E-03    3.8696        .17922E-07** at limit **
  16  Prefactor     .10000E-03    16.470       -.46968E-07** at limit **
  17  Prefactor     5.2297        95.162        .44827E-05   -.20973E-05
  18  norm          7.1533        6.8565        .83345E-08   -.11567E-04
  19  Prefactor     16.413        16.260       -.26305E-06   -.51049E-04
  20  Prefactor     .10000E-03    2.7653        .35490E-07** at limit **
  21  norm          .48444        1.4967        .66927E-06    .21351E-03
  22  Prefactor     102.79        87.186       -.39506E-05   -.22512E-04
  23  Normalizat    1.3322        .18518       -.75050E-06   -.72322E-04
  24  Prefactor     .72363        .19128        .24913E-07   -.77583E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 121.572
  norm       = 5.47693
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.87116
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.02056
  Prefactor  = 4.85011
  norm       = 0.0001
  Prefactor  = 10.4179
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.22968
  norm       = 7.15327
  Prefactor  = 16.4135
  Prefactor  = 0.0001
  norm       = 0.484442
  Prefactor  = 102.792
  Normalizat = 1.33224
  Prefactor  = 0.723633
 **********
 **   18 **HESSE 
 **********

 FCN=   5900.623     FROM HESSE     STATUS=OK           395 CALLS     3090 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    39.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    37.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     121.57        77.655        .36501E-04   -1.3498    
   4  norm          5.4769        2.0250        .31995E-03   -1.5240    
   5  Prefactor     .10000E-03    3.2122        .13349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.7721        .18001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.8712        9.9892        .63769E-03   -1.5079    
   8  Prefactor     .10000E-03    7.3371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    11.914        .19898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.739        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.0206        16.688        .11671E-02   -1.5360    
  12  Prefactor     4.8501        4.3743        .14451E-03   -1.5267    
  13  norm          .10000E-03    8.5572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.418        23.902        .12412E-03   -1.5062    
  15  norm          .10000E-03    3.9166        .14752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.2297        94.944        .17563E-03   -1.5251    
  18  norm          7.1533        6.8571        .14998E-03   -1.5173    
  19  Prefactor     16.413        16.249        .98875E-04   -1.4897    
  20  Prefactor     .10000E-03    2.7677        .12462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .48444        1.4979        .15477E-03   -1.5569    
  22  Prefactor     102.79        87.329        .19832E-03   -1.3677    
  23  Normalizat    1.3322        .22055        .22013E-03   -.82609    
  24  Prefactor     .72363        .22614        .31327E-03   -1.0261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.70349e-11
Minuit parameter uncertainties:
  1  1.08298e-05
  2  3.36564e-05
  3  77.7203
  4  2.02502
  5  3.4324e-06
  6  1.88054e-06
  7  9.99088
  8  1.23575e-06
  9  6.45599e-05
  10  1.25769e-05
  11  14.2055
  12  4.3746
  13  1.28519e-06
  14  23.9237
  15  8.57503e-08
  16  9.99898e-07
  17  44.6478
  18  6.85785
  19  16.2535
  20  1.69951e-06
  21  1.49797
  22  87.4387
  23  0.220706
  24  0.226432
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.000e-04  6.456e-05  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.236e-01  2.264e-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.332e+00  2.207e-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: 4.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.81e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/320547/likelihoodResults_508896001_509155201_4FGL_J1418.4+3543_daily_bin1040.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) = 5900.62335315
delta logL = -0.000399829212256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5900.6229631
delta logL = -9.77427043836e-06

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.0622       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3331       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72266       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=   5900.577     FROM MIGRAD    STATUS=CONVERGED    172 CALLS      346 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53563E-01    .17866        .19790E-02   -.54653E-02
   2  alpha         4.4830        2.5747        .16791       -.26093E-04
   3  Normalizat    1.3137        .21871        .22013E-03    .21718E-03
   4  Prefactor     .73577        .22967        .31327E-03    .10811E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0535633
  alpha      = 4.48298
  Normalizat = 1.31368
  Prefactor  = 0.735772
 **********
 **   18 **HESSE 
 **********

 FCN=   5900.577     FROM HESSE     STATUS=OK            27 CALLS      373 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53563E-01    .60526        .55968E-04   -1.5754    
   2  alpha         4.4830        3.6399        .67166E-02    21.075    
   3  Normalizat    1.3137        .21573        .44027E-04   -.83159    
   4  Prefactor     .73577        .22852        .12531E-04   -1.0214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.45171e-11
Minuit parameter uncertainties:
  1  0.359777
  2  3.56944
  3  0.215875
  4  0.228814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/320547': 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) = 5900.57690191
delta logL = 0.0460514080642

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  5.356e-02  3.598e-01  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  4.483e+00  3.569e+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.358e-01  2.288e-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.314e+00  2.159e-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/320547/cmap_HighResolution_508896001_509155201_4FGL_J1418.4+3543_daily_bin1040.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.81e-05', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2021-09-09 08:27:21.473010', job_id='320547', GAL2='0.74', fit_tolerance='1e-08', EG2='1.31', EG='1.33', time_epoch_completed='1631201241.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='4.61e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1040' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:27:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 320547: <4FGL_J1418.4+3543_daily_bin1040> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1040> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 08:15:41 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:15: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 08:15:43 2021
Terminated at Thu Sep  9 08:27:22 2021
Results reported at Thu Sep  9 08:27:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1040 214.623 35.7192 508896001 509155201 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 :                                   652.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            701 sec.

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

