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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin7
RA = 214.623, Dec = 35.7192
tmin = 241142401, tmax = 241401601
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='312379', job_status='RUN', time_executed='2021-09-09 07:53:59.433794', time_epoch_executed='1631199239.43' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='7'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/312379

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/312379/ft1_4FGL_J1418.4+3543_daily_bin7.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/312379/ft2_4FGL_J1418.4+3543_daily_bin7.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/312379/ft1_4FGL_J1418.4+3543_daily_bin7.fits outfile=/scratch/kocevski/312379/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin7.fits ra=214.623 dec=35.7192 rad=12.0 tmin=241142401.0 tmax=241401601.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.51
user 1.29
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/312379/ft2_4FGL_J1418.4+3543_daily_bin7.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/312379/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin7.fits evtable="EVENTS" outfile="/scratch/kocevski/312379/ft1_filtered_4FGL_J1418.4+3543_daily_bin7.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.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/312379/ft1_filtered_4FGL_J1418.4+3543_daily_bin7.fits" evtable="EVENTS" scfile=/scratch/kocevski/312379/ft2_4FGL_J1418.4+3543_daily_bin7.fits sctable="SC_DATA" outfile=/scratch/kocevski/312379/ltcube_241142401_241401601_4FGL_J1418.4+3543_daily_bin7.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/312379/ft2_4FGL_J1418.4+3543_daily_bin7.fits
.....................!
real 12.58
user 12.25
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/312379/ft1_filtered_4FGL_J1418.4+3543_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/312379/ft2_4FGL_J1418.4+3543_daily_bin7.fits sctable="SC_DATA" expcube=/scratch/kocevski/312379/ltcube_241142401_241401601_4FGL_J1418.4+3543_daily_bin7.fits outfile=/scratch/kocevski/312379/expmap_241142401_241401601_4FGL_J1418.4+3543_daily_bin7.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/312379/ltcube_241142401_241401601_4FGL_J1418.4+3543_daily_bin7.fits
.....................!
real 191.81
user 186.58
sys 4.77

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/312379/ft1_filtered_4FGL_J1418.4+3543_daily_bin7.fits scfile=/scratch/kocevski/312379/ft2_4FGL_J1418.4+3543_daily_bin7.fits outfile=/scratch/kocevski/312379/cmap_241142401_241401601_4FGL_J1418.4+3543_daily_bin7.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/312379/ft1_filtered_4FGL_J1418.4+3543_daily_bin7.fits scfile=/scratch/kocevski/312379/ft2_4FGL_J1418.4+3543_daily_bin7.fits outfile=/scratch/kocevski/312379/cmap_HighResolution_241142401_241401601_4FGL_J1418.4+3543_daily_bin7.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    18.009       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.770       1.0000         .10000E-03   10000.    
     4 'norm      '    .60279       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9176       1.0000         .10000E-03   10000.    
     6 'norm      '    2.9508       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .40075       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10797E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .13271E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    49.479       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4101       1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.609       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.8842       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0994       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92679       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=   7777.909     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     2800 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.751       -.34173E-05** at limit **
   2  Prefactor     18.008        18.105        .22314E-06    .11320E-04
   3  Prefactor     10.737        62.779       -.47839E-04   -.16874E-04
   4  norm          .60270        1.1268       -.51252E-08   -.75261E-04
   5  Prefactor     9.9178        4.7454       -.10307E-05    .89369E-05
   6  norm          2.9535        16.472        .76600E-05    .33787E-04
   7  Prefactor     .10000E-03    5.1338       -.48408E-08** at limit **
   8  Prefactor     .10000E-03    7.4255       -.25172E-06** at limit **
   9  norm          .10000E-03    2.0985       -.45865E-08** at limit **
  10  Prefactor     .10000E-03    2.6441        .14083E-07** at limit **
  11  Prefactor     .40136        5.9570        .18062E-06   -.26659E-03
  12  Prefactor     .10000E-03    1.4136       -.18296E-06** at limit **
  13  norm          .10000E-03    3.9436       -.21778E-06** at limit **
  14  Prefactor     .10000E-03    14.354        .40380E-05** at limit **
  15  norm          .10001E-03    3.2847       -.98667E-06** at limit **
  16  Prefactor     .10000E-03    11.211        .45831E-06** at limit **
  17  Prefactor     49.480        31.844       -.88099E-06    .40164E-04
  18  norm          1.4099        1.3462        .32627E-06   -.24941E-02
  19  Prefactor     19.610        12.344        .85449E-06    .11144E-03
  20  Prefactor     .10000E-03    1.6287        .15043E-07** at limit **
  21  norm          3.8838        1.5462       -.10073E-06    .11163E-03
  22  Prefactor     .10000E-03    38.858        .18003E-06** at limit **
  23  Normalizat    1.0992        .16640        .19129E-05    .59416E-04
  24  Prefactor     .92705        .17563       -.46230E-06    .19908E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.0084
  Prefactor  = 10.7366
  norm       = 0.602702
  Prefactor  = 9.91784
  norm       = 2.95346
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.401358
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 49.4798
  norm       = 1.40993
  Prefactor  = 19.6104
  Prefactor  = 0.0001
  norm       = 3.88383
  Prefactor  = 0.0001
  Normalizat = 1.09925
  Prefactor  = 0.927048
 **********
 **   18 **HESSE 
 **********

 FCN=   7777.909     FROM HESSE     STATUS=OK           413 CALLS     3213 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.008        18.106        .94378E-04   -1.4859    
   3  Prefactor     10.737        63.277        .12208E-03   -1.5053    
   4  norm          .60270        1.0193        .12257E-02   -1.5553    
   5  Prefactor     9.9178        4.7558        .12473E-03   -1.5078    
   6  norm          2.9535        16.599        .23642E-03   -1.5364    
   7  Prefactor     .10000E-03    5.1389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.4556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.1978        .24933E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.6460        .14002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .40136        29.754        .41295E-02   -1.5581    
  12  Prefactor     .10000E-03    3.9285        .33543E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.9485        .17104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10001E-03    15.177        .30679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     49.480        31.878        .57010E-04   -1.4300    
  18  norm          1.4099        4.8190        .17493E-02   -1.5470    
  19  Prefactor     19.610        12.394        .90448E-04   -1.4822    
  20  Prefactor     .10000E-03    1.6307        .10989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.8838        1.5458        .66261E-04   -1.5314    
  22  Prefactor     .10000E-03    38.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0992        .19613        .22665E-03   -.89776    
  24  Prefactor     .92705        .20809        .27660E-03   -.95202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80729e-08
Minuit parameter uncertainties:
  1  9.03596e-07
  2  18.1116
  3  52.2129
  4  1.01936
  5  4.75597
  6  14.0092
  7  9.22148e-06
  8  1.2135e-05
  9  5.58589e-06
  10  4.10334e-06
  11  6.91418
  12  7.03962e-05
  13  2.99004e-06
  14  2.51016e-05
  15  0.000746916
  16  4.14932e-06
  17  31.889
  18  4.82032
  19  12.3957
  20  1.84637e-06
  21  1.54582
  22  1.0685e-05
  23  0.196255
  24  0.208272
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.000e-04  5.586e-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:  9.270e-01  2.083e-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.099e+00  1.963e-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.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.14e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/312379/likelihoodResults_241142401_241401601_4FGL_J1418.4+3543_daily_bin7.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) = 7777.91080781
delta logL = -0.00217425157552

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7777.90863388
delta logL = -3.27469933836e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0235       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0992       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92720       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=   7777.909     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      235 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    250.04        .24976E-02** at limit **
   2  alpha         2.1140        2.9752        .16855       -.12680E-07
   3  Normalizat    1.0992        .45962E-01    .22665E-03   -.40307E-03
   4  Prefactor     .92704        .52239E-01    .27660E-03   -.33086E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.11404
  Normalizat = 1.09925
  Prefactor  = 0.927045
 **********
 **   18 **HESSE 
 **********

 FCN=   7777.909     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2324        .49951E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1140        3.9073        .67421E-02   -.15501    
   3  Normalizat    1.0992        .18137        .45329E-04   -.89776    
   4  Prefactor     .92704        .20605        .11064E-04   -.95202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1968e-10
Minuit parameter uncertainties:
  1  2.07708e-06
  2  119.303
  3  0.181469
  4  0.206219
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/312379': 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) = 7777.90863321
delta logL = 3.40030055668e-07

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.000e-04  2.077e-06  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.114e+00  1.193e+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:  9.270e-01  2.062e-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.099e+00  1.815e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/312379/cmap_HighResolution_241142401_241401601_4FGL_J1418.4+3543_daily_bin7.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.14e-05', job_status='DONE', photon_flux_upper_limit='3.76e-08', time_completed='2021-09-09 08:06:44.091973', job_id='312379', GAL2='0.93', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631200004.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='7' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:06:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0016>
Subject: Job 312379: <4FGL_J1418.4+3543_daily_bin7> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin7 214.623 35.7192 241142401 241401601 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 :                                   761.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            971 sec.

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

