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


Performing analysis on: 4FGL_J1418.4+3543_daily_bin1422
RA = 214.623, Dec = 35.7192
tmin = 607910401, tmax = 608169601
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='322225', job_status='RUN', time_executed='2021-09-09 08:22:37.703328', time_epoch_executed='1631200957.7' WHERE source_name='4FGL J1418.4+3543' and cadence='daily' and bin_id='1422'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/322225

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/322225/ft1_4FGL_J1418.4+3543_daily_bin1422.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/322225/ft2_4FGL_J1418.4+3543_daily_bin1422.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/322225/ft1_4FGL_J1418.4+3543_daily_bin1422.fits outfile=/scratch/kocevski/322225/ft1_filteredMKT_4FGL_J1418.4+3543_daily_bin1422.fits ra=214.623 dec=35.7192 rad=12.0 tmin=607910401.0 tmax=608169601.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.51
user 3.28
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/322225/ft1_filtered_4FGL_J1418.4+3543_daily_bin1422.fits" evtable="EVENTS" scfile=/scratch/kocevski/322225/ft2_4FGL_J1418.4+3543_daily_bin1422.fits sctable="SC_DATA" outfile=/scratch/kocevski/322225/ltcube_607910401_608169601_4FGL_J1418.4+3543_daily_bin1422.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/322225/ft2_4FGL_J1418.4+3543_daily_bin1422.fits
.....................!
real 11.78
user 11.40
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/322225/ft1_filtered_4FGL_J1418.4+3543_daily_bin1422.fits evtable="EVENTS" scfile=/scratch/kocevski/322225/ft2_4FGL_J1418.4+3543_daily_bin1422.fits sctable="SC_DATA" expcube=/scratch/kocevski/322225/ltcube_607910401_608169601_4FGL_J1418.4+3543_daily_bin1422.fits outfile=/scratch/kocevski/322225/expmap_607910401_608169601_4FGL_J1418.4+3543_daily_bin1422.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/322225/ltcube_607910401_608169601_4FGL_J1418.4+3543_daily_bin1422.fits
.....................!
real 191.85
user 186.94
sys 4.61

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/322225/ft1_filtered_4FGL_J1418.4+3543_daily_bin1422.fits scfile=/scratch/kocevski/322225/ft2_4FGL_J1418.4+3543_daily_bin1422.fits outfile=/scratch/kocevski/322225/cmap_607910401_608169601_4FGL_J1418.4+3543_daily_bin1422.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.52
user 0.38
sys 0.14

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

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

This is gtbin version HEAD
real 0.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    88.075       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.6186       1.0000         .10000E-03   10000.    
     3 'Prefactor '    33.032       1.0000         .10000E-03   10000.    
     4 'norm      '    4.9266       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.6390       1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5983       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .70795       1.0000         .10000E-03   10000.    
     9 'norm      '    3.3640       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.067       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.263       1.0000         .10000E-03   10000.    
    15 'norm      '    6.5270       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12954E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.9311       1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.829       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .20270       1.0000         .10000E-03   10000.    
    22 'Prefactor '    188.96       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0875       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .70559       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=   5840.292     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2702 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     88.052        78.150        .74763E-05    .13721E-03
   2  Prefactor     8.6167        19.116        .82468E-06    .35338E-04
   3  Prefactor     33.023        50.018        .48756E-05    .81237E-04
   4  norm          4.9267        1.6554        .33300E-08    .50040E-04
   5  Prefactor     5.6381        4.2218       -.49020E-06   -.19830E-03
   6  norm          .10000E-03    10.036       -.35492E-06** at limit **
   7  Prefactor     6.6047        15.802        .58921E-06    .79366E-06
   8  Prefactor     .61020        76.198        .43824E-04   -.10208E-04
   9  norm          3.3642        3.1671       -.13706E-06   -.51076E-04
  10  Prefactor     .10000E-03    6.8916        .60960E-06** at limit **
  11  Prefactor     .10000E-03    5.5817        .14496E-06** at limit **
  12  Prefactor     12.065        4.5392        .12047E-06   -.41855E-04
  13  norm          .10000E-03    3.9118        .40707E-07** at limit **
  14  Prefactor     10.239        25.447        .77044E-05    .10931E-03
  15  norm          6.5238        5.0530        .20156E-06   -.16795E-03
  16  Prefactor     .10000E-03    65.780        .11240E-04** at limit **
  17  Prefactor     .10000E-03    23.484        .20130E-05** at limit **
  18  norm          4.9308        6.7785       -.35652E-05    .20779E-03
  19  Prefactor     21.827        15.637        .30914E-05    .12311E-03
  20  Prefactor     .10000E-03    3.0965        .41822E-07** at limit **
  21  norm          .20361        1.1371       -.10330E-06   -.64398E-04
  22  Prefactor     189.00        108.79       -.77619E-06   -.13726E-03
  23  Normalizat    1.0877        .18197       -.19923E-05    .59539E-03
  24  Prefactor     .70547        .19247        .23520E-05   -.11591E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 88.0517
  Prefactor  = 8.61671
  Prefactor  = 33.0226
  norm       = 4.92666
  Prefactor  = 5.63811
  norm       = 0.0001
  Prefactor  = 6.60469
  Prefactor  = 0.610202
  norm       = 3.36416
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.0654
  norm       = 0.0001
  Prefactor  = 10.2388
  norm       = 6.5238
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.93082
  Prefactor  = 21.8274
  Prefactor  = 0.0001
  norm       = 0.203611
  Prefactor  = 188.999
  Normalizat = 1.08772
  Prefactor  = 0.705468
 **********
 **   18 **HESSE 
 **********

 FCN=   5840.292     FROM HESSE     STATUS=OK           403 CALLS     3105 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     88.052        78.596        .42812E-04   -1.3828    
   2  Prefactor     8.6167        19.113        .13654E-03   -1.5121    
   3  Prefactor     33.023        50.236        .69720E-04   -1.4558    
   4  norm          4.9267        1.6564        .55153E-04   -1.5264    
   5  Prefactor     5.6381        4.2336        .12952E-03   -1.5233    
   6  norm          .10000E-03    10.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6047        15.768        .15622E-03   -1.5194    
   8  Prefactor     .61020        76.416        .43713E-02   -1.5552    
   9  norm          3.3642        3.1603        .12735E-03   -1.5341    
  10  Prefactor     .10000E-03    6.9065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.5972        .17624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.065        4.5502        .95026E-04   -1.5013    
  13  norm          .10000E-03    3.9126        .14761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.239        25.505        .12507E-03   -1.5068    
  15  norm          6.5238        5.0522        .14569E-03   -1.5197    
  16  Prefactor     .10000E-03    65.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    23.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.9308        6.8245        .90560E-03   -1.5264    
  19  Prefactor     21.827        15.602        .85730E-04   -1.4773    
  20  Prefactor     .10000E-03    3.1079        .13120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .20361        2.0413        .14363E-02   -1.5618    
  22  Prefactor     189.00        109.14        .14689E-03   -1.2950    
  23  Normalizat    1.0877        .21624        .21704E-03   -.90147    
  24  Prefactor     .70547        .22584        .29759E-03   -1.0331    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93138e-08
Minuit parameter uncertainties:
  1  78.6893
  2  19.127
  3  50.3002
  4  1.65641
  5  4.23385
  6  6.98847e-05
  7  15.7779
  8  13.6739
  9  3.16047
  10  5.2901e-05
  11  4.00287e-05
  12  4.55031
  13  7.35049e-06
  14  25.5319
  15  5.0525
  16  7.39082e-06
  17  6.43836e-05
  18  6.82557
  19  15.6049
  20  2.87266e-05
  21  1.28914
  22  109.257
  23  0.216412
  24  0.226138
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.364e+00  3.160e+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:  7.055e-01  2.261e-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.088e+00  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.97
Ra Dec: 214.623 35.719
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.04e-08 +/- 1.92e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 1.09e-05

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

Saving results to:
/scratch/kocevski/322225/likelihoodResults_607910401_608169601_4FGL_J1418.4+3543_daily_bin1422.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) = 5840.15499174
delta logL = 0.137169371198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5840.14716827
delta logL = 0.144992848685

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0040       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3945       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0778       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71183       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=   5840.147     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      209 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0037        69.197        .58547E-02    .33325E-03
   2  alpha         2.3948        3.4248        .41198        .31941E-04
   3  Normalizat    1.0778        .59623E-01    .38983E-01    .61976E-05
   4  Prefactor     .71186        .63288E-01    .66967E-01    .20058E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.00366
  alpha      = 2.39478
  Normalizat = 1.0778
  Prefactor  = 0.711859
 **********
 **   18 **HESSE 
 **********

 FCN=   5840.147     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0037        3.0470        .10983E-03   -1.5361    
   2  alpha         2.3948        .72411        .14497E-01   -.42100E-01
   3  Normalizat    1.0778        .19824        .21785E-03   -.90468    
   4  Prefactor     .71186        .22300        .29630E-03   -1.0306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3483e-12
Minuit parameter uncertainties:
  1  3.04717
  2  0.734661
  3  0.198372
  4  0.223276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/322225': 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) = 5840.14716818
delta logL = 0.14499293852

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  3.004e+00  3.047e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.395e+00  7.347e-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:  7.119e-01  2.233e-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.078e+00  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.25
Ra Dec: 214.623 35.719
Photon Index (Free Index): 2.39 +/- 0.73
Photon Flux (Free Index): 2.91e-08 +/- 2.81e-08
Energy Flux (Free Index): 9.59e-06 +/- 8.92e-06

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/322225/cmap_HighResolution_607910401_608169601_4FGL_J1418.4+3543_daily_bin1422.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-05', comment='SUCCESS', photon_flux='2.04e-08', energy_flux2='9.59e-06', photon_flux_error='1.92e-08', dlogl='1.45e-01', energy_flux='1.16e-05', photon_flux2='2.91e-08', job_status='DONE', time_completed='2021-09-09 08:34:58.225792', photon_index_error2='0.73', photon_index2='2.39', ts='1.97', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='6.79e-08', energy_flux_error2='8.92e-06', EG='1.09', time_epoch_completed='1631201698.23', return_code='0', job_id='322225', GAL2='0.71', EG2='1.08', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='2.81e-08', ts2='2.25', photon_index='2.02' WHERE bin_id='1422' AND source_name='4FGL J1418.4+3543' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 08:34:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 322225: <4FGL_J1418.4+3543_daily_bin1422> in cluster <slac> Done

Job <4FGL_J1418.4+3543_daily_bin1422> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 08:21:01 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 08:21:03 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:21:03 2021
Terminated at Thu Sep  9 08:34:58 2021
Results reported at Thu Sep  9 08:34:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_daily_bin1422 214.623 35.7192 607910401 608169601 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 :                                   649.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            837 sec.

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

