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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin46
RA = 214.623, Dec = 35.7192
tmin = 251251201, tmax = 251510401
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='312437', job_status='RUN', time_executed='2021-09-09 07:50:49.306482', time_epoch_executed='1631199049.31' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='46'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/312437

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/312437/ft1_4FGL_J1418.4+3543_daily_bin46.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/312437/ft2_4FGL_J1418.4+3543_daily_bin46.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/312437/ft1_4FGL_J1418.4+3543_daily_bin46.fits outfile=/scratch/kocevski/312437/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin46.fits ra=214.623 dec=35.7192 rad=12.0 tmin=251251201.0 tmax=251510401.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.49
user 1.29
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/312437/ft1_filtered_4FGL_J1418.4+3543_daily_bin46.fits" evtable="EVENTS" scfile=/scratch/kocevski/312437/ft2_4FGL_J1418.4+3543_daily_bin46.fits sctable="SC_DATA" outfile=/scratch/kocevski/312437/ltcube_251251201_251510401_4FGL_J1418.4+3543_daily_bin46.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/312437/ft2_4FGL_J1418.4+3543_daily_bin46.fits
.....................!
real 12.61
user 12.22
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/312437/ft1_filtered_4FGL_J1418.4+3543_daily_bin46.fits evtable="EVENTS" scfile=/scratch/kocevski/312437/ft2_4FGL_J1418.4+3543_daily_bin46.fits sctable="SC_DATA" expcube=/scratch/kocevski/312437/ltcube_251251201_251510401_4FGL_J1418.4+3543_daily_bin46.fits outfile=/scratch/kocevski/312437/expmap_251251201_251510401_4FGL_J1418.4+3543_daily_bin46.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/312437/ltcube_251251201_251510401_4FGL_J1418.4+3543_daily_bin46.fits
.....................!
real 190.20
user 185.00
sys 4.88

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/312437/ft1_filtered_4FGL_J1418.4+3543_daily_bin46.fits scfile=/scratch/kocevski/312437/ft2_4FGL_J1418.4+3543_daily_bin46.fits outfile=/scratch/kocevski/312437/cmap_251251201_251510401_4FGL_J1418.4+3543_daily_bin46.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/312437/ft1_filtered_4FGL_J1418.4+3543_daily_bin46.fits scfile=/scratch/kocevski/312437/ft2_4FGL_J1418.4+3543_daily_bin46.fits outfile=/scratch/kocevski/312437/cmap_HighResolution_251251201_251510401_4FGL_J1418.4+3543_daily_bin46.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=214.623 yref=35.7192 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    101.50       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.7850       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20176E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.246       1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.3887       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6105       1.0000         .10000E-03   10000.    
    15 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1360       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.0264       1.0000         .10000E-03   10000.    
    18 'norm      '    10.307       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.0938       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.5145       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0078       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1134       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=   8153.208     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2718 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     101.50        59.115       -.19872E-05   -.18714E-04
   2  Prefactor     .10000E-03    6.7760        .86572E-07** at limit **
   3  Prefactor     .10000E-03    66.780        .14138E-05** at limit **
   4  norm          2.7852        1.4684        .54246E-08   -.41872E-04
   5  Prefactor     .10000E-03    1.9199        .71782E-07** at limit **
   6  norm          .10000E-03    6.4355       -.18804E-07** at limit **
   7  Prefactor     .10000E-03    12.542        .12793E-06** at limit **
   8  Prefactor     27.251        20.176        .53329E-06    .90308E-05
   9  norm          .10000E-03    1.4260        .60663E-07** at limit **
  10  Prefactor     .10000E-03    9.3210       -.70521E-07** at limit **
  11  Prefactor     .10000E-03    6.7584        .10820E-06** at limit **
  12  Prefactor     .10000E-03    .87215        .65083E-08** at limit **
  13  norm          7.3910        9.3724        .41022E-06    .79218E-05
  14  Prefactor     3.6122        21.082        .24653E-05   -.22679E-03
  15  norm          .10000E-03    1.8333        .90137E-07** at limit **
  16  Prefactor     5.1204        47.883       -.26626E-04   -.42557E-04
  17  Prefactor     8.0339        27.498        .69493E-05    .22646E-04
  18  norm          10.307        7.3981        .32774E-07    .18004E-04
  19  Prefactor     2.0944        4.5146        .35528E-06   -.14842E-02
  20  Prefactor     5.5159        6.9037        .37399E-06   -.91375E-03
  21  norm          .10000E-03    .63236       -.11486E-06** at limit **
  22  Prefactor     .10000E-03    22.571       -.15208E-06** at limit **
  23  Normalizat    1.0076        .14970       -.41417E-06    .62800E-04
  24  Prefactor     1.1135        .16668        .54066E-06   -.28332E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 101.499
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.7852
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.251
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.39103
  Prefactor  = 3.61216
  norm       = 0.0001
  Prefactor  = 5.12041
  Prefactor  = 8.03393
  norm       = 10.307
  Prefactor  = 2.09436
  Prefactor  = 5.5159
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.00765
  Prefactor  = 1.11349
 **********
 **   18 **HESSE 
 **********

 FCN=   8153.208     FROM HESSE     STATUS=OK           399 CALLS     3117 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     101.50        59.215        .39906E-04   -1.3690    
   2  Prefactor     .10000E-03    6.7922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    67.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.7852        1.4681        .76584E-04   -1.5374    
   5  Prefactor     .10000E-03    4.6495        .24099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.4981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.251        20.223        .76749E-04   -1.4663    
   9  norm          .10000E-03    1.4589        .10524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.4210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.7917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    .87814        .82319E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.3910        9.3600        .14755E-03   -1.5164    
  14  Prefactor     3.6122        22.461        .10632E-02   -1.5328    
  15  norm          .10000E-03    1.8412        .11939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.1204        48.017        .17740E-03   -1.5255    
  17  Prefactor     8.0339        27.516        .14152E-03   -1.5141    
  18  norm          10.307        7.4911        .12481E-03   -1.5066    
  19  Prefactor     2.0944        7.9699        .14263E-02   -1.5419    
  20  Prefactor     5.5159        6.8393        .85547E-03   -1.5238    
  21  norm          .10000E-03    .93213        .13467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    22.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0076        .18233        .23552E-03   -.92775    
  24  Prefactor     1.1135        .20323        .25731E-03   -.89037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.50826e-09
Minuit parameter uncertainties:
  1  59.2494
  2  1.17066e-06
  3  4.53639e-05
  4  1.46813
  5  2.33802e-05
  6  8.86304e-07
  7  9.88373e-07
  8  20.2284
  9  1.31963e-08
  10  8.94861e-06
  11  9.65291e-06
  12  1.13161e-06
  13  9.3618
  14  18.0244
  15  8.6615e-06
  16  31.3931
  17  27.5597
  18  7.49181
  19  7.97395
  20  6.84023
  21  5.24447e-06
  22  1.44722e-06
  23  0.182447
  24  0.203367
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.000e-04  1.320e-08  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.113e+00  2.034e-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.008e+00  1.824e-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.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.87e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/312437/likelihoodResults_251251201_251510401_4FGL_J1418.4+3543_daily_bin46.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) = 8153.21094749
delta logL = -0.00325967272329

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8153.20765301
delta logL = 3.48077528542e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17943E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4212       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1135       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=   8153.208     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      495 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15184E-02    2.8147        .15530E-01** at limit **
   2  alpha         3.4211        3.2883        .50000        .75574E-05
   3  Normalizat    1.0076        .64978E-02    .23553E-03    .78926E-03
   4  Prefactor     1.1135        .74512E-02    .25730E-03    .45526E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00151839
  alpha      = 3.42113
  Normalizat = 1.00756
  Prefactor  = 1.11354
 **********
 **   18 **HESSE 
 **********

 FCN=   8153.208     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      534 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15184E-02    1.3563        .20378E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.4211        3.9384        .50000        .37734    
   3  Normalizat    1.0076        .55962E-02    .47106E-04   -.92778    
   4  Prefactor     1.1135        .64182E-02    .51461E-04   -.89035    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.14265e-08
Minuit parameter uncertainties:
  1  0.0877221
  2  35.2965
  3  0.00559619
  4  0.00641824
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/312437': 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): 102
logL (Free Index) = 8153.20765107
delta logL = 3.67471902791e-05

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.518e-03  8.772e-02  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  3.421e+00  3.530e+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.114e+00  6.418e-03  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.008e+00  5.596e-03  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/312437/cmap_HighResolution_251251201_251510401_4FGL_J1418.4+3543_daily_bin46.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.87e-05', job_status='DONE', photon_flux_upper_limit='3.28e-08', time_completed='2021-09-09 08:04:11.832634', job_id='312437', GAL2='1.11', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1631199851.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.67e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='46' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:04:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 312437: <4FGL_J1418.4+3543_daily_bin46> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin46 214.623 35.7192 251251201 251510401 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 :                                   799.23 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             370.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            815 sec.

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

