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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin22
RA = 214.623, Dec = 35.7192
tmin = 245030401, tmax = 245289601
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='312402', job_status='RUN', time_executed='2021-09-09 07:54:33.163143', time_epoch_executed='1631199273.16' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='22'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/312402

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/312402/ft1_4FGL_J1418.4+3543_daily_bin22.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/312402/ft2_4FGL_J1418.4+3543_daily_bin22.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/312402/ft1_4FGL_J1418.4+3543_daily_bin22.fits outfile=/scratch/kocevski/312402/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin22.fits ra=214.623 dec=35.7192 rad=12.0 tmin=245030401.0 tmax=245289601.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 1.43
user 1.25
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/312402/ft1_filtered_4FGL_J1418.4+3543_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/312402/ft2_4FGL_J1418.4+3543_daily_bin22.fits sctable="SC_DATA" expcube=/scratch/kocevski/312402/ltcube_245030401_245289601_4FGL_J1418.4+3543_daily_bin22.fits outfile=/scratch/kocevski/312402/expmap_245030401_245289601_4FGL_J1418.4+3543_daily_bin22.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/312402/ltcube_245030401_245289601_4FGL_J1418.4+3543_daily_bin22.fits
.....................!
real 190.29
user 185.21
sys 4.70

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/312402/ft1_filtered_4FGL_J1418.4+3543_daily_bin22.fits scfile=/scratch/kocevski/312402/ft2_4FGL_J1418.4+3543_daily_bin22.fits outfile=/scratch/kocevski/312402/cmap_245030401_245289601_4FGL_J1418.4+3543_daily_bin22.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.58
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/312402/ft1_filtered_4FGL_J1418.4+3543_daily_bin22.fits scfile=/scratch/kocevski/312402/ft2_4FGL_J1418.4+3543_daily_bin22.fits outfile=/scratch/kocevski/312402/cmap_HighResolution_245030401_245289601_4FGL_J1418.4+3543_daily_bin22.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.765       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1921       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.347       1.0000         .10000E-03   10000.    
     4 'norm      '    .99934       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.1754       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.158       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .19480E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.617       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.127       1.0000         .10000E-03   10000.    
    18 'norm      '    7.6663       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20353E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    37.956       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5668       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .47665       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=   5602.341     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2774 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.733        81.286        .53714E-05    .33619E-04
   2  Prefactor     1.1897        56.528        .10149E-04   -.56934E-04
   3  Prefactor     30.329        85.225        .22214E-05    .33435E-05
   4  norm          .99933        1.0620        .32633E-07   -.72421E-04
   5  Prefactor     .10000E-03    2.4623        .45216E-07** at limit **
   6  norm          .10000E-03    8.2955        .67730E-07** at limit **
   7  Prefactor     4.1708        11.399       -.65106E-06   -.31234E-04
   8  Prefactor     14.155        23.237        .24711E-06   -.33548E-04
   9  norm          .10000E-03    1.6755        .30628E-07** at limit **
  10  Prefactor     .10000E-03    11.964        .14124E-05** at limit **
  11  Prefactor     18.598        14.294       -.16238E-05   -.16731E-03
  12  Prefactor     .10000E-03    1.4014        .22410E-07** at limit **
  13  norm          .10000E-03    7.2346        .58884E-07** at limit **
  14  Prefactor     .10000E-03    17.532        .48531E-07** at limit **
  15  norm          .10000E-03    1.7356        .30469E-07** at limit **
  16  Prefactor     .10000E-03    14.716        .48497E-07** at limit **
  17  Prefactor     32.122        40.071        .72068E-06   -.17374E-04
  18  norm          7.6668        6.5992        .36172E-07   -.24872E-04
  19  Prefactor     .10000E-03    7.1501        .27605E-07** at limit **
  20  Prefactor     .10001E-03    5.1044        .29369E-06** at limit **
  21  norm          .10000E-03    .45803        .76877E-08** at limit **
  22  Prefactor     37.957        49.249       -.15414E-06   -.22482E-04
  23  Normalizat    1.5668        .19865       -.72051E-06    .40537E-04
  24  Prefactor     .47665        .20693       -.37394E-06   -.22474E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7327
  Prefactor  = 1.18974
  Prefactor  = 30.3293
  norm       = 0.99933
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.17078
  Prefactor  = 14.1553
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 18.5979
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.1221
  norm       = 7.66681
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 37.9573
  Normalizat = 1.5668
  Prefactor  = 0.476647
 **********
 **   18 **HESSE 
 **********

 FCN=   5602.341     FROM HESSE     STATUS=OK           409 CALLS     3183 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.733        81.480        .10796E-03   -1.4967    
   2  Prefactor     1.1897        58.438        .20849E-02   -1.5490    
   3  Prefactor     30.329        85.590        .72731E-04   -1.4606    
   4  norm          .99933        1.0142        .77300E-03   -1.5508    
   5  Prefactor     .10000E-03    2.5416        .22930E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.3320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.1708        11.393        .19724E-03   -1.5299    
   8  Prefactor     14.155        23.315        .10645E-03   -1.4955    
   9  norm          .10000E-03    1.6889        .94589E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    49.108        .45804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.598        14.848        .92826E-04   -1.4845    
  12  Prefactor     .10000E-03    1.4119        .86505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.2546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.7400        .96299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     32.122        40.089        .70693E-04   -1.4574    
  18  norm          7.6668        6.5999        .14483E-03   -1.5154    
  19  Prefactor     .10000E-03    7.1758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    5.6614        .51466E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .46266        .49371E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     37.957        49.254        .65056E-04   -1.4475    
  23  Normalizat    1.5668        .22373        .19386E-03   -.75918    
  24  Prefactor     .47665        .23164        .36371E-03   -1.1306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07979e-09
Minuit parameter uncertainties:
  1  67.0385
  2  16.6931
  3  85.9396
  4  1.01422
  5  1.11779e-05
  6  3.84882e-06
  7  11.3985
  8  23.3304
  9  5.03153e-06
  10  0.000579142
  11  14.8508
  12  5.64457e-06
  13  4.62706e-06
  14  3.9064e-05
  15  3.55512e-06
  16  1.32435e-05
  17  40.1226
  18  6.60054
  19  1.33232e-05
  20  0.00034081
  21  2.11507e-06
  22  49.3067
  23  0.223875
  24  0.2321
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.000e-04  5.032e-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.766e-01  2.321e-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.567e+00  2.239e-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.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.56e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/312402/likelihoodResults_245030401_245289601_4FGL_J1418.4+3543_daily_bin22.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) = 5602.34387864
delta logL = -0.00275779778985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5601.9038081
delta logL = 0.437312745006

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54693E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9998       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .51952       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5601.904     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      453 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54771E-01    2.5664        .43645E-02    .42021E-02
   2  alpha         5.0000        3.7060        .46273    ** at limit **
   3  Normalizat    1.5079        .68597E-01    .44516E-01    .98913E-06
   4  Prefactor     .51964        .71473E-01    .78886E-01    .34787E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0547714
  alpha      = 5
  Normalizat = 1.50789
  Prefactor  = 0.51964
 **********
 **   18 **HESSE 
 **********

 FCN=   5601.904     FROM HESSE     STATUS=OK            37 CALLS      490 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54771E-01    .79184E-01    .19958E-03   -1.5661    
   2  alpha         5.0000        3.6432        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5079        .21848        .19677E-03   -.77557    
   4  Prefactor     .51964        .23427        .34936E-03   -1.1108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.49842e-12
Minuit parameter uncertainties:
  1  0.0791838
  2  3.87208e-06
  3  0.218619
  4  0.234708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/312402': 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) = 5601.90379815
delta logL = 0.437322690917

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  5.477e-02  7.918e-02  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  5.000e+00  3.872e-06  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:  5.196e-01  2.347e-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.508e+00  2.186e-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/312402/cmap_HighResolution_245030401_245289601_4FGL_J1418.4+3543_daily_bin22.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.56e-05', job_status='DONE', photon_flux_upper_limit='4.50e-08', time_completed='2021-09-09 08:05:28.956266', job_id='312402', GAL2='0.52', fit_tolerance='1e-08', EG2='1.51', EG='1.57', time_epoch_completed='1631199928.96', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.48', dlogl='4.37e-01', ts2='0.93', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='22' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:05:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 312402: <4FGL_J1418.4+3543_daily_bin22> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin22 214.623 35.7192 245030401 245289601 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 :                                   654.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             264.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            895 sec.

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

