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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1600
RA = 214.623, Dec = 35.7192
tmin = 654048001, tmax = 654307201
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='260730', job_status='RUN', time_executed='2021-09-26 00:28:59.692442', time_epoch_executed='1632641339.69' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/260730

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/260730/ft1_4FGL_J1418.4+3543_daily_bin1600.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/260730/ft2_4FGL_J1418.4+3543_daily_bin1600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/260730/ft1_4FGL_J1418.4+3543_daily_bin1600.fits outfile=/scratch/kocevski/260730/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1600.fits ra=214.623 dec=35.7192 rad=12.0 tmin=654048001.0 tmax=654307201.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.68
user 3.42
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/260730/ft1_filtered_4FGL_J1418.4+3543_daily_bin1600.fits" evtable="EVENTS" scfile=/scratch/kocevski/260730/ft2_4FGL_J1418.4+3543_daily_bin1600.fits sctable="SC_DATA" outfile=/scratch/kocevski/260730/ltcube_654048001_654307201_4FGL_J1418.4+3543_daily_bin1600.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/260730/ft2_4FGL_J1418.4+3543_daily_bin1600.fits
.....................!
real 15.07
user 14.58
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/260730/ft1_filtered_4FGL_J1418.4+3543_daily_bin1600.fits evtable="EVENTS" scfile=/scratch/kocevski/260730/ft2_4FGL_J1418.4+3543_daily_bin1600.fits sctable="SC_DATA" expcube=/scratch/kocevski/260730/ltcube_654048001_654307201_4FGL_J1418.4+3543_daily_bin1600.fits outfile=/scratch/kocevski/260730/expmap_654048001_654307201_4FGL_J1418.4+3543_daily_bin1600.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/260730/ltcube_654048001_654307201_4FGL_J1418.4+3543_daily_bin1600.fits
.....................!
real 191.94
user 186.08
sys 5.26

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/260730/ft1_filtered_4FGL_J1418.4+3543_daily_bin1600.fits scfile=/scratch/kocevski/260730/ft2_4FGL_J1418.4+3543_daily_bin1600.fits outfile=/scratch/kocevski/260730/cmap_654048001_654307201_4FGL_J1418.4+3543_daily_bin1600.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.55
user 0.37
sys 0.16

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

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

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11442E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.0571       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5983       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.0532       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.3778       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.0905       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.136       1.0000         .10000E-03   10000.    
    15 'norm      '    4.3644       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.9855       1.0000         .10000E-03   10000.    
    17 'Prefactor '    43.120       1.0000         .10000E-03   10000.    
    18 'norm      '    .62539E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.691       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10386       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98392       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2557       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=   6046.714     FROM MIGRAD    STATUS=CONVERGED    978 CALLS     3175 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    84.081        .18142E-02** at limit **
   2  Prefactor     .10000E-03    6.4968        .18142E-02** at limit **
   3  Prefactor     .10000E-03    39.401        .18142E-02** at limit **
   4  norm          2.0570        1.4297        .74696E-04    .27396E-04
   5  Prefactor     4.5972        4.6162        .15899E-03    .14086E-04
   6  norm          .10000E-03    6.3523        .18142E-02** at limit **
   7  Prefactor     6.0521        12.399        .16319E-03   -.10450E-05
   8  Prefactor     .10000E-03    8.6985        .18142E-02** at limit **
   9  norm          3.3772        3.6046        .14716E-03   -.47125E-05
  10  Prefactor     .10000E-03    3.7132        .14628E-02** at limit **
  11  Prefactor     .10000E-03    5.7873        .18142E-02** at limit **
  12  Prefactor     5.0901        4.5954        .14914E-03   -.49168E-04
  13  norm          .10000E-03    3.5992        .14407E-02** at limit **
  14  Prefactor     12.060        28.661        .11499E-03   -.12457E-04
  15  norm          4.3670        6.2491        .96399E-03   -.75831E-04
  16  Prefactor     4.9840        59.928        .18011E-03   -.11993E-04
  17  Prefactor     43.108        47.065        .61050E-04   -.28491E-04
  18  norm          .37195E-01    8.3935        .67651E-01    .18699E-03
  19  Prefactor     26.714        17.388        .77541E-04   -.28329E-03
  20  Prefactor     .10000E-03    17.047        .36285E-03** at limit **
  21  norm          .91998E-01    6.4370        .13546E-02   -.10324E-02
  22  Prefactor     .10000E-03    46.693        .18142E-02** at limit **
  23  Normalizat    .98375        .22702        .25497E-03   -.13394E-03
  24  Prefactor     1.2560        .24961        .26335E-03   -.12448E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.05701
  Prefactor  = 4.59716
  norm       = 0.0001
  Prefactor  = 6.05215
  Prefactor  = 0.0001
  norm       = 3.37718
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.09011
  norm       = 0.0001
  Prefactor  = 12.06
  norm       = 4.36696
  Prefactor  = 4.98402
  Prefactor  = 43.1077
  norm       = 0.0371948
  Prefactor  = 26.714
  Prefactor  = 0.0001
  norm       = 0.0919976
  Prefactor  = 0.0001
  Normalizat = 0.983755
  Prefactor  = 1.25604
 **********
 **   18 **HESSE 
 **********

 FCN=   6046.714     FROM HESSE     STATUS=OK           387 CALLS     3562 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    84.100        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.4969        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    39.404        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.0570        1.4295        .29879E-05   -1.5421    
   5  Prefactor     4.5972        4.6150        .63597E-05   -1.5279    
   6  norm          .10000E-03    6.3529        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.0521        12.399        .65277E-05   -1.5216    
   8  Prefactor     .10000E-03    8.6992        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.3772        3.6043        .58864E-05   -1.5340    
  10  Prefactor     .10000E-03    3.7133        .29255E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.7877        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.0901        4.5944        .59655E-05   -1.5257    
  13  norm          .10000E-03    3.5992        .28815E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.060        28.658        .45995E-05   -1.5013    
  15  norm          4.3670        6.2464        .38560E-04   -1.5290    
  16  Prefactor     4.9840        59.927        .72044E-05   -1.5261    
  17  Prefactor     43.108        47.039        .24420E-05   -1.4394    
  18  norm          .37195E-01    7.9665        .70728E-01   -1.5669    
  19  Prefactor     26.714        17.362        .15508E-04   -1.4674    
  20  Prefactor     .10000E-03    17.047        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .91998E-01    6.4225        .54183E-04   -1.5647    
  22  Prefactor     .10000E-03    46.694        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .98375        .22697        .10199E-04   -.93577    
  24  Prefactor     1.2560        .24987        .52669E-04   -.84624    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30918e-09
Minuit parameter uncertainties:
  1  0.0002933
  2  8.66918e-07
  3  5.80254e-05
  4  1.42952
  5  4.61537
  6  3.16645e-06
  7  12.4041
  8  1.50045e-06
  9  3.60452
  10  1.67645e-07
  11  1.60832e-06
  12  4.59472
  13  1.79053e-07
  14  28.6909
  15  6.24733
  16  34.6074
  17  47.0799
  18  1.08738
  19  17.365
  20  3.32553e-05
  21  1.53667
  22  5.41471e-05
  23  0.227193
  24  0.250108
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.377e+00  3.605e+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.256e+00  2.501e-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:  9.838e-01  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.87
Ra Dec: 214.623 35.719
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.05e-08 +/- 2.19e-08
Energy Flux (Fixed Index): 1.17e-05 +/- 1.25e-05

TS (Fixed Index): 1.87
Ra Dec: 214.623 35.719
Photon Flux Upper Limit: 7.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/260730/likelihoodResults_654048001_654307201_4FGL_J1418.4+3543_daily_bin1600.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) = 6046.6092115
delta logL = 0.105208368873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6046.60466053
delta logL = 0.109759345006

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2162       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5405       1.0000          .0000       5.0000    
     3 'Normalizat'    .96005       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2726       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=   6046.605     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      203 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2147        72.822        .56475E-02    .24330E-03
   2  alpha         2.5403        3.2675        .41158        .29431E-04
   3  Normalizat    .96030        .70835E-01    .45664E-01   -.32167E-04
   4  Prefactor     1.2722        .64083E-01    .59215E-01   -.46116E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.21467
  alpha      = 2.54029
  Normalizat = 0.960299
  Prefactor  = 1.27221
 **********
 **   18 **HESSE 
 **********

 FCN=   6046.605     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2147        3.7690        .12409E-03   -1.5349    
   2  alpha         2.5403        1.1538        .18201E-01    .16115E-01
   3  Normalizat    .96030        .22430        .25763E-03   -.94373    
   4  Prefactor     1.2722        .25248        .26187E-03   -.84137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88141e-09
Minuit parameter uncertainties:
  1  3.76923
  2  1.19927
  3  0.22452
  4  0.252727
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/260730': 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) = 6046.60465922
delta logL = 0.109760658119

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.215e+00  3.769e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.540e+00  1.199e+00  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.272e+00  2.527e-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:  9.603e-01  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.13
Ra Dec: 214.623 35.719
Photon Index (Free Index): 2.54 +/- 1.20
Photon Flux (Free Index): 3.81e-08 +/- 5.17e-08
Energy Flux (Free Index): 1.09e-05 +/- 1.01e-05

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/260730/cmap_HighResolution_654048001_654307201_4FGL_J1418.4+3543_daily_bin1600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-05', comment='SUCCESS', photon_flux='2.05e-08', energy_flux2='1.09e-05', photon_flux_error='2.19e-08', dlogl='1.10e-01', energy_flux='1.17e-05', photon_flux2='3.81e-08', job_status='DONE', time_completed='2021-09-26 00:40:43.906400', photon_index_error2='1.20', photon_index2='2.54', ts='1.87', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='7.80e-08', energy_flux_error2='1.01e-05', EG='0.98', time_epoch_completed='1632642043.91', return_code='0', job_id='260730', GAL2='1.27', EG2='0.96', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='5.17e-08', ts2='2.13', photon_index='2.02' WHERE bin_id='1600' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 00:40:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 260730: <4FGL_J1418.4+3543_daily_bin1600> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1600> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 26 00:25:29 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 00:26:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 00:26:18 2021
Terminated at Sun Sep 26 00:40:44 2021
Results reported at Sun Sep 26 00:40:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1600 214.623 35.7192 654048001 654307201 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 :                                   706.04 sec.
    Max Memory :                                 1114 MB
    Average Memory :                             308.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            915 sec.

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

