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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin529
RA = 214.623, Dec = 35.7192
tmin = 376444801, tmax = 376704001
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='317442', job_status='RUN', time_executed='2021-09-09 08:05:50.728138', time_epoch_executed='1631199950.73' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='529'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/317442

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/317442/ft1_4FGL_J1418.4+3543_daily_bin529.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/317442/ft2_4FGL_J1418.4+3543_daily_bin529.fits


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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/317442/ft1_filtered_4FGL_J1418.4+3543_daily_bin529.fits" evtable="EVENTS" scfile=/scratch/kocevski/317442/ft2_4FGL_J1418.4+3543_daily_bin529.fits sctable="SC_DATA" outfile=/scratch/kocevski/317442/ltcube_376444801_376704001_4FGL_J1418.4+3543_daily_bin529.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/317442/ft2_4FGL_J1418.4+3543_daily_bin529.fits
.....................!
real 10.07
user 9.73
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/317442/ft1_filtered_4FGL_J1418.4+3543_daily_bin529.fits evtable="EVENTS" scfile=/scratch/kocevski/317442/ft2_4FGL_J1418.4+3543_daily_bin529.fits sctable="SC_DATA" expcube=/scratch/kocevski/317442/ltcube_376444801_376704001_4FGL_J1418.4+3543_daily_bin529.fits outfile=/scratch/kocevski/317442/expmap_376444801_376704001_4FGL_J1418.4+3543_daily_bin529.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/317442/ltcube_376444801_376704001_4FGL_J1418.4+3543_daily_bin529.fits
.....................!
real 156.07
user 151.98
sys 3.75

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/317442/ft1_filtered_4FGL_J1418.4+3543_daily_bin529.fits scfile=/scratch/kocevski/317442/ft2_4FGL_J1418.4+3543_daily_bin529.fits outfile=/scratch/kocevski/317442/cmap_376444801_376704001_4FGL_J1418.4+3543_daily_bin529.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.48
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/317442/ft1_filtered_4FGL_J1418.4+3543_daily_bin529.fits scfile=/scratch/kocevski/317442/ft2_4FGL_J1418.4+3543_daily_bin529.fits outfile=/scratch/kocevski/317442/cmap_HighResolution_376444801_376704001_4FGL_J1418.4+3543_daily_bin529.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.49
user 0.31
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.9845       1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.442       1.0000         .10000E-03   10000.    
     4 'norm      '    9.6322       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .51227E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5677       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .71458       1.0000         .10000E-03   10000.    
     9 'norm      '    29.623       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.868       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11966E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.649       1.0000         .10000E-03   10000.    
    15 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    65.925       1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.762       1.0000         .10000E-03   10000.    
    18 'norm      '    .10168E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    43.144       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.1753       1.0000         .10000E-03   10000.    
    21 'norm      '    .24065E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .73934       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2905       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=   6806.705     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2774 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.266       -.70369E-06** at limit **
   2  Prefactor     4.9707        23.018        .12071E-06    .35426E-04
   3  Prefactor     46.365        71.164       -.12144E-05   -.87190E-04
   4  norm          9.6318        2.1828       -.30048E-07   -.30964E-03
   5  Prefactor     .10000E-03    1.2339        .19947E-06** at limit **
   6  norm          .10003E-03    8.4356       -.81900E-06** at limit **
   7  Prefactor     1.5687        13.652        .40905E-05    .39609E-03
   8  Prefactor     .66808        26.932        .65008E-05   -.63847E-03
   9  norm          29.620        7.1715       -.64780E-07    .25856E-03
  10  Prefactor     19.857        14.757        .11432E-05    .71182E-03
  11  Prefactor     .10000E-03    39.875       -.88356E-06** at limit **
  12  Prefactor     .10000E-03    1.8862        .24462E-06** at limit **
  13  norm          .10000E-03    9.0318       -.19267E-06** at limit **
  14  Prefactor     17.635        27.528       -.60386E-06   -.65303E-04
  15  norm          .10000E-03    3.7627        .79206E-07** at limit **
  16  Prefactor     65.922        44.460       -.24902E-07   -.72257E-05
  17  Prefactor     23.748        28.395       -.20266E-06   -.32545E-04
  18  norm          .10000E-03    15.760       -.13794E-06** at limit **
  19  Prefactor     43.145        18.711       -.38886E-06   -.11611E-03
  20  Prefactor     2.1767        4.8396        .15424E-05    .71092E-03
  21  norm          .20768E-01    .56794       -.73302E-07   -.54346E-04
  22  Prefactor     .10000E-03    26.764        .13074E-06** at limit **
  23  Normalizat    .73992        .18236        .30083E-05    .59448E-04
  24  Prefactor     1.2901        .19989       -.27705E-05   -.44934E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 4.97075
  Prefactor  = 46.3648
  norm       = 9.63179
  Prefactor  = 0.0001
  norm       = 0.000100027
  Prefactor  = 1.56871
  Prefactor  = 0.66808
  norm       = 29.6198
  Prefactor  = 19.857
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.635
  norm       = 0.0001
  Prefactor  = 65.9218
  Prefactor  = 23.748
  norm       = 0.0001
  Prefactor  = 43.1455
  Prefactor  = 2.17668
  norm       = 0.0207677
  Prefactor  = 0.0001
  Normalizat = 0.739922
  Prefactor  = 1.29007
 **********
 **   18 **HESSE 
 **********

 FCN=   6806.705     FROM HESSE     STATUS=OK           405 CALLS     3179 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.9707        23.197        .18013E-03   -1.5262    
   3  Prefactor     46.365        71.810        .58836E-04   -1.4345    
   4  norm          9.6318        2.1832        .55973E-04   -1.5087    
   5  Prefactor     .10000E-03    1.2379        .89479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10003E-03    10.831        .75393E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.5687        14.041        .33962E-03   -1.5457    
   8  Prefactor     .66808        90.880        .49892E-02   -1.5545    
   9  norm          29.620        7.1817        .73612E-04   -1.4619    
  10  Prefactor     19.857        14.859        .89857E-04   -1.4816    
  11  Prefactor     .10000E-03    41.035        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.9112        .11057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    9.0577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.635        27.502        .95337E-04   -1.4868    
  15  norm          .10000E-03    3.7925        .15620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     65.922        44.458        .49429E-04   -1.4082    
  17  Prefactor     23.748        28.438        .82173E-04   -1.4733    
  18  norm          .10000E-03    16.207        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     43.145        18.712        .61034E-04   -1.4393    
  20  Prefactor     2.1767        4.9399        .25982E-03   -1.5413    
  21  norm          .20768E-01    9.9709        .11751E-02   -1.5679    
  22  Prefactor     .10000E-03    26.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .73992        .21642        .28262E-03   -1.0234    
  24  Prefactor     1.2901        .23201        .25527E-03   -.83603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69767e-08
Minuit parameter uncertainties:
  1  0.00033932
  2  21.4897
  3  71.944
  4  2.18322
  5  1.07348e-05
  6  0.0010898
  7  9.38913
  8  15.607
  9  7.1819
  10  14.8618
  11  0.000504071
  12  1.62304e-05
  13  4.27293e-05
  14  27.5222
  15  5.38222e-06
  16  44.4804
  17  28.4543
  18  2.25392e-05
  19  18.7145
  20  4.94081
  21  0.908065
  22  5.25951e-05
  23  0.216671
  24  0.232198
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  2.962e+01  7.182e+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

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.290e+00  2.322e-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:  7.399e-01  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 62.32
Ra Dec: 214.623 35.719
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.80e-07 +/- 4.36e-08
Energy Flux (Fixed Index): 1.02e-04 +/- 2.48e-05

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) = 6806.61688597
delta logL = 0.0880834260561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6806.58681917
delta logL = 0.1181502263

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.523       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1302       1.0000          .0000       5.0000    
     3 'Normalizat'    .71832       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3059       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=   6806.587     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      216 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 60.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.522        7.0149       -.10993E-05    .32030E-02
   2  alpha         2.1304        .22725        .68504E-05    .47821E-03
   3  Normalizat    .71826        .16681       -.66195E-06   -.93200E-04
   4  Prefactor     1.3059        .19078        .45676E-06   -.11846E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 28.5225
  alpha      = 2.13037
  Normalizat = 0.718262
  Prefactor  = 1.30592
 **********
 **   18 **HESSE 
 **********

 FCN=   6806.587     FROM HESSE     STATUS=OK            29 CALLS      245 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.522        7.2585        .75015E-04   -1.4639    
   2  alpha         2.1304        .23804        .64491E-02   -.14840    
   3  Normalizat    .71826        .20150        .28622E-03   -1.0318    
   4  Prefactor     1.3059        .23006        .25384E-03   -.83131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49293e-09
Minuit parameter uncertainties:
  1  7.25869
  2  0.238412
  3  0.201703
  4  0.230243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/317442': 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) = 6806.58681888
delta logL = 0.118150516046

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  2.852e+01  7.259e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.130e+00  2.384e-01  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:  1.306e+00  2.302e-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:  7.183e-01  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 62.43
Ra Dec: 214.623 35.719
Photon Index (Free Index): 2.13 +/- 0.24
Photon Flux (Free Index): 1.98e-07 +/- 5.76e-08
Energy Flux (Free Index): 9.25e-05 +/- 2.83e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/317442/cmap_HighResolution_376444801_376704001_4FGL_J1418.4+3543_daily_bin529.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.80e-07', energy_flux2='9.25e-05', photon_flux_error='4.36e-08', dlogl='1.18e-01', energy_flux='1.02e-04', photon_flux2='1.98e-07', job_status='DONE', time_completed='2021-09-09 08:14:51.434838', photon_index_error2='0.24', photon_index2='2.13', ts='62.32', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', energy_flux_error2='2.83e-05', EG='0.74', time_epoch_completed='1631200491.43', return_code='0', job_id='317442', GAL2='1.31', EG2='0.72', return_code2='0', energy_flux_error='2.48e-05', photon_flux_error2='5.76e-08', ts2='62.43', photon_index='2.02' WHERE bin_id='529' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:14:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 317442: <4FGL_J1418.4+3543_daily_bin529> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin529> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 08:05:40 2021
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:05:42 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:05:42 2021
Terminated at Thu Sep  9 08:14:52 2021
Results reported at Thu Sep  9 08:14:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin529 214.623 35.7192 376444801 376704001 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 :                                   536.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   549 sec.
    Turnaround time :                            552 sec.

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

