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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin57
RA = 214.623, Dec = 35.7192
tmin = 254102401, tmax = 254361601
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='312453', job_status='RUN', time_executed='2021-09-09 07:54:40.621906', time_epoch_executed='1631199280.62' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='57'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/312453

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/312453/ft1_4FGL_J1418.4+3543_daily_bin57.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/312453/ft2_4FGL_J1418.4+3543_daily_bin57.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/312453/ft1_4FGL_J1418.4+3543_daily_bin57.fits outfile=/scratch/kocevski/312453/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin57.fits ra=214.623 dec=35.7192 rad=12.0 tmin=254102401.0 tmax=254361601.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.07
user 1.87
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/312453/ft1_filtered_4FGL_J1418.4+3543_daily_bin57.fits evtable="EVENTS" scfile=/scratch/kocevski/312453/ft2_4FGL_J1418.4+3543_daily_bin57.fits sctable="SC_DATA" expcube=/scratch/kocevski/312453/ltcube_254102401_254361601_4FGL_J1418.4+3543_daily_bin57.fits outfile=/scratch/kocevski/312453/expmap_254102401_254361601_4FGL_J1418.4+3543_daily_bin57.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/312453/ltcube_254102401_254361601_4FGL_J1418.4+3543_daily_bin57.fits
.....................!
real 189.86
user 184.24
sys 5.27

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/312453/ft1_filtered_4FGL_J1418.4+3543_daily_bin57.fits scfile=/scratch/kocevski/312453/ft2_4FGL_J1418.4+3543_daily_bin57.fits outfile=/scratch/kocevski/312453/cmap_254102401_254361601_4FGL_J1418.4+3543_daily_bin57.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.52
user 0.36
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    78.892       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.7401       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .49566       1.0000         .10000E-03   10000.    
     6 'norm      '    5.3840       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.8883       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.8249       1.0000         .10000E-03   10000.    
    13 'norm      '    22.937       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.817       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.401       1.0000         .10000E-03   10000.    
    17 'Prefactor '    53.718       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.9711       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.0814       1.0000         .10000E-03   10000.    
    21 'norm      '    2.4748       1.0000         .10000E-03   10000.    
    22 'Prefactor '    185.40       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3018       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .46227       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=   4780.259     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2773 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     78.953        77.945        .59139E-04   -.77780E-05
   2  Prefactor     .10000E-03    21.907       -.19410E-06** at limit **
   3  Prefactor     .10000E-03    129.35        .98708E-06** at limit **
   4  norm          1.7404        2.0094        .31603E-06   -.44922E-03
   5  Prefactor     .49574        4.2971       -.20256E-05   -.13093E-02
   6  norm          5.3875        16.923       -.34976E-05   -.61006E-04
   7  Prefactor     .10000E-03    7.0010        .21350E-06** at limit **
   8  Prefactor     7.8925        18.299       -.29358E-05   -.39066E-04
   9  norm          .10000E-03    1.0664        .28596E-07** at limit **
  10  Prefactor     .10000E-03    4.9741       -.15823E-06** at limit **
  11  Prefactor     .10000E-03    5.3026        .58407E-06** at limit **
  12  Prefactor     3.8254        3.1566        .17446E-06   -.90123E-04
  13  norm          22.938        15.684       -.77941E-06   -.76389E-05
  14  Prefactor     20.820        19.617       -.10641E-05   -.79958E-05
  15  norm          .10000E-03    5.7542       -.29673E-06** at limit **
  16  Prefactor     29.402        31.979        .94584E-06   -.35694E-05
  17  Prefactor     53.724        34.342        .36200E-05   -.12498E-04
  18  norm          .10000E-03    3.1950        .33570E-09** at limit **
  19  Prefactor     6.9716        9.4444        .66014E-06   -.35145E-04
  20  Prefactor     7.0820        8.4775        .11264E-05   -.11468E-03
  21  norm          2.4749        1.7612       -.22377E-06   -.21068E-03
  22  Prefactor     185.41        117.93        .79079E-05   -.32036E-05
  23  Normalizat    1.3016        .19595       -.31429E-05    .19607E-03
  24  Prefactor     .46242        .20206       -.48784E-06   -.10809E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 78.953
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.74041
  Prefactor  = 0.495738
  norm       = 5.38754
  Prefactor  = 0.0001
  Prefactor  = 7.89251
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.82541
  norm       = 22.9381
  Prefactor  = 20.8205
  norm       = 0.0001
  Prefactor  = 29.4019
  Prefactor  = 53.7239
  norm       = 0.0001
  Prefactor  = 6.97164
  Prefactor  = 7.08204
  norm       = 2.47489
  Prefactor  = 185.407
  Normalizat = 1.3016
  Prefactor  = 0.462423
 **********
 **   18 **HESSE 
 **********

 FCN=   4780.259     FROM HESSE     STATUS=OK           401 CALLS     3174 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     78.953        77.360        .22607E-03   -1.3929    
   2  Prefactor     .10000E-03    22.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    129.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7404        1.9950        .99654E-04   -1.5444    
   5  Prefactor     .49574        4.4974        .27487E-03   -1.5567    
   6  norm          5.3875        16.975        .17319E-03   -1.5244    
   7  Prefactor     .10000E-03    7.0069        .17867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.8925        18.387        .14276E-03   -1.5146    
   9  norm          .10000E-03    1.0685        .69721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.9820        .15057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.3090        .15549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.8254        3.1611        .10728E-03   -1.5317    
  13  norm          22.938        15.678        .83636E-04   -1.4750    
  14  Prefactor     20.820        19.652        .87786E-04   -1.4795    
  15  norm          .10000E-03    5.8966        .32368E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.402        31.975        .73889E-04   -1.4623    
  17  Prefactor     53.724        34.350        .54725E-04   -1.4241    
  18  norm          .10000E-03    3.1959        .12069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.9716        9.4311        .15195E-03   -1.5180    
  20  Prefactor     7.0820        8.4503        .15075E-03   -1.5176    
  21  norm          2.4749        1.7539        .70005E-04   -1.5393    
  22  Prefactor     185.41        117.71        .14827E-03   -1.2976    
  23  Normalizat    1.3016        .21919        .19608E-03   -.83519    
  24  Prefactor     .46242        .22332        .34396E-03   -1.1373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12292e-09
Minuit parameter uncertainties:
  1  77.4587
  2  7.23725e-05
  3  0.0005514
  4  1.99509
  5  2.98631
  6  16.9897
  7  1.61958e-05
  8  18.4002
  9  2.87824e-06
  10  1.89551e-05
  11  1.74433e-05
  12  3.16124
  13  15.6805
  14  19.6585
  15  2.92698e-05
  16  31.9937
  17  34.363
  18  8.75317e-08
  19  9.43314
  20  8.4517
  21  1.75395
  22  117.861
  23  0.219347
  24  0.223741
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.000e-04  2.878e-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:  4.624e-01  2.237e-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.302e+00  2.193e-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.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/312453/likelihoodResults_254102401_254361601_4FGL_J1418.4+3543_daily_bin57.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) = 4780.26262721
delta logL = -0.00379801428153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4780.25882915
delta logL = 4.61714080302e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0113       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3016       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .46243       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=   4780.259     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      226 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5439        .69802E-03** at limit **
   2  alpha         1.8272        3.5493        .16877       -.25463E-07
   3  Normalizat    1.3016        .20144        .19608E-03    .38150E-04
   4  Prefactor     .46243        .22052        .34396E-03    .25550E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.8272
  Normalizat = 1.30159
  Prefactor  = 0.462428
 **********
 **   18 **HESSE 
 **********

 FCN=   4780.259     FROM HESSE     STATUS=OK            27 CALLS      253 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0947        .13960E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8272        2.9915        .67507E-01   -.27248    
   3  Normalizat    1.3016        .20155        .39216E-04   -.83519    
   4  Prefactor     .46243        .22064        .13758E-04   -1.1373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1477e-12
Minuit parameter uncertainties:
  1  4.74446e-07
  2  128.235
  3  0.201669
  4  0.221049
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/312453': 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) = 4780.25882817
delta logL = 1.02527974377e-06

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.000e-04  4.744e-07  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  1.827e+00  1.282e+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:  4.624e-01  2.210e-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.302e+00  2.017e-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/312453/cmap_HighResolution_254102401_254361601_4FGL_J1418.4+3543_daily_bin57.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.03e-05', job_status='DONE', photon_flux_upper_limit='3.57e-08', time_completed='2021-09-09 08:04:33.135733', job_id='312453', GAL2='0.46', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1631199873.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.46', dlogl='1.03e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='57' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:04:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 312453: <4FGL_J1418.4+3543_daily_bin57> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin57> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 07:50:38 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 07:50:40 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:40 2021
Terminated at Thu Sep  9 08:04:33 2021
Results reported at Thu Sep  9 08:04:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin57 214.623 35.7192 254102401 254361601 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 :                                   591.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            835 sec.

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

