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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1185
RA = 223.544, Dec = 16.3747
tmin = 546480001, tmax = 546739201
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='844574', job_status='RUN', time_executed='2021-09-10 12:36:18.403554', time_epoch_executed='1631302578.4' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1185'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844574

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844574/ft1_4FGL_J1454.1+1622_daily_bin1185.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844574/ft2_4FGL_J1454.1+1622_daily_bin1185.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844574/ft1_4FGL_J1454.1+1622_daily_bin1185.fits outfile=/scratch/kocevski/844574/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1185.fits ra=223.544 dec=16.3747 rad=12.0 tmin=546480001.0 tmax=546739201.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.00
user 2.77
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/844574/ft2_4FGL_J1454.1+1622_daily_bin1185.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/844574/ft2_4FGL_J1454.1+1622_daily_bin1185.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/844574/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1185.fits evtable="EVENTS" outfile="/scratch/kocevski/844574/ft1_filtered_4FGL_J1454.1+1622_daily_bin1185.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.43
user 0.26
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844574/ft1_filtered_4FGL_J1454.1+1622_daily_bin1185.fits" evtable="EVENTS" scfile=/scratch/kocevski/844574/ft2_4FGL_J1454.1+1622_daily_bin1185.fits sctable="SC_DATA" outfile=/scratch/kocevski/844574/ltcube_546480001_546739201_4FGL_J1454.1+1622_daily_bin1185.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/844574/ft2_4FGL_J1454.1+1622_daily_bin1185.fits
.....................!
real 8.77
user 8.46
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844574/ft1_filtered_4FGL_J1454.1+1622_daily_bin1185.fits evtable="EVENTS" scfile=/scratch/kocevski/844574/ft2_4FGL_J1454.1+1622_daily_bin1185.fits sctable="SC_DATA" expcube=/scratch/kocevski/844574/ltcube_546480001_546739201_4FGL_J1454.1+1622_daily_bin1185.fits outfile=/scratch/kocevski/844574/expmap_546480001_546739201_4FGL_J1454.1+1622_daily_bin1185.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/844574/ltcube_546480001_546739201_4FGL_J1454.1+1622_daily_bin1185.fits
.....................!
real 146.53
user 142.40
sys 3.56

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 148 point sources and 0 extended sources

Setting source of interest to:
4FGL J1454.1+1622 @ 223.544 16.3747

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/844574/ft1_filtered_4FGL_J1454.1+1622_daily_bin1185.fits scfile=/scratch/kocevski/844574/ft2_4FGL_J1454.1+1622_daily_bin1185.fits outfile=/scratch/kocevski/844574/cmap_546480001_546739201_4FGL_J1454.1+1622_daily_bin1185.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=223.544 yref=16.3747 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.61
user 0.31
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844574/ft1_filtered_4FGL_J1454.1+1622_daily_bin1185.fits scfile=/scratch/kocevski/844574/ft2_4FGL_J1454.1+1622_daily_bin1185.fits outfile=/scratch/kocevski/844574/cmap_HighResolution_546480001_546739201_4FGL_J1454.1+1622_daily_bin1185.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=223.544 yref=16.3747 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.30
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/844574/ft1_filtered_4FGL_J1454.1+1622_daily_bin1185.fits evtable="EVENTS" scfile=/scratch/kocevski/844574/ft2_4FGL_J1454.1+1622_daily_bin1185.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/844574/Model_4FGL_J1454.1+1622_daily_bin1185.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/844574/ft1_filtered_4FGL_J1454.1+1622_daily_bin1185.fits.................................!
real 15.89
user 12.05
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/844574/ft1_filtered_4FGL_J1454.1+1622_daily_bin1185.fits', '/scratch/kocevski/844574/ft2_4FGL_J1454.1+1622_daily_bin1185.fits', expMap='/scratch/kocevski/844574/expmap_546480001_546739201_4FGL_J1454.1+1622_daily_bin1185.fits', expCube='/scratch/kocevski/844574/ltcube_546480001_546739201_4FGL_J1454.1+1622_daily_bin1185.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/844574/Model_4FGL_J1454.1+1622_daily_bin1185.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.1+1622'

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  7.482e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/844574/ft1_filtered_4FGL_J1454.1+1622_daily_bin1185.fits
Spacecraft file(s): /scratch/kocevski/844574/ft2_4FGL_J1454.1+1622_daily_bin1185.fits
Exposure map: /scratch/kocevski/844574/expmap_546480001_546739201_4FGL_J1454.1+1622_daily_bin1185.fits
Exposure cube: /scratch/kocevski/844574/ltcube_546480001_546739201_4FGL_J1454.1+1622_daily_bin1185.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/844574/Model_4FGL_J1454.1+1622_daily_bin1185.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 427.067990332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 425.340362603

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.458       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .17598E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .39356       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11890E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .19104E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13279       1.0000         .10000E-03   10000.    
     7 'norm      '    47.402       1.0000         .10000E-03   10000.    
     8 'norm      '    5.7500       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .31994E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .31001       1.0000         .10000E-03   10000.    
    11 'Prefactor '    133.79       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .27139       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .27920       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.2588       1.0000         .10000E-03   10000.    
    15 'norm      '    1.3631       1.0000         .10000E-03   10000.    
    16 'norm      '    .12107E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    11.163       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.6642       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0467       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .91951       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.8911       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .18961       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .86865       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   425.1636     FROM MIGRAD    STATUS=CONVERGED    314 CALLS      798 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.203        116.63        .12461E-04    .13519E-04
   2  Prefactor     .10000E-03    34.576       -.55312E-05** at limit **
   3  norm          .10000E-03    69.758        .19510E-05** at limit **
   4  Prefactor     .10000E-03    17.048       -.98948E-06** at limit **
   5  norm          .10000E-03    19.191       -.16622E-05** at limit **
   6  Prefactor     .10000E-03    218.54       -.55435E-05** at limit **
   7  norm          52.446        63.667       -.14698E-06   -.32740E-05
   8  norm          .10176E-03    1317.1        .92355E-04** at limit **
   9  Prefactor     .10000E-03    92.862        .85700E-05** at limit **
  10  Prefactor     .10000E-03    43.588       -.11604E-04** at limit **
  11  Prefactor     130.77        123.70        .29146E-04   -.37529E-03
  12  Prefactor     .10000E-03    163.49       -.80775E-04** at limit **
  13  Prefactor     .10000E-03    228.19       -.43583E-04** at limit **
  14  Prefactor     .10001E-03    1196.6       -.13499E-04** at limit **
  15  norm          1.4232        1.0152       -.84953E-06    .51774E-04
  16  norm          .10000E-03    12.329       -.80549E-06** at limit **
  17  norm          680.01        1326.4        .66102E-04    .95949E-04
  18  Prefactor     .55463E-03    6613.4       -.43196E-03** at limit **
  19  Prefactor     1.0467        1.2427         .0000         .0000    
  20  Prefactor     .10000E-03    531.61        .51087E-04** at limit **
  21  Prefactor     .41215        187.03        .10183E-03    .12969E-02
  22  Normalizat    .31091        .89719       -.16908E-03   -.15405E-05
  23  Prefactor     .74215        .64811        .88895E-04   -.72893E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.2027
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 52.4465
  norm       = 0.00010176
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 130.767
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  norm       = 1.42318
  norm       = 0.0001
  norm       = 680.012
  Prefactor  = 0.000554627
  Prefactor  = 1.04667
  Prefactor  = 0.0001
  Prefactor  = 0.412154
  Normalizat = 0.310914
  Prefactor  = 0.742149
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   425.1636     FROM HESSE     STATUS=FAILED        81 CALLS      879 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.203        100.52        .18454E-02   -1.4423    
   2  Prefactor     .10000E-03    34.298        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    70.791        .10828E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.338        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    19.211        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    217.28        .96664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          52.446        55.187        .14560E-02   -1.4258    
   8  norm          .10176E-03    1304.2        .41875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    92.189        .98788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    43.192        .10469E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     130.77        121.35        .87038E-03   -1.3416    
  12  Prefactor     .10000E-03    163.26        .10299E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    226.95        .10333E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    1189.0        .99434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4232        .93050        .35499E-02   -1.5469    
  16  norm          .10000E-03    12.405        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          680.01        1290.4        .29978E-02   -1.0432    
  18  Prefactor     .55463E-03    6622.8        .38860E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     587.25        585.84         .0000       -1.5503    
  20  Prefactor     .10000E-03    .41461        .51087E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .41215        .32824        .10183E-03   -1.5580    
  22  Normalizat    .31091        .58518       -.16908E-03   -1.2219    
  23  Prefactor     .74215        1.1308        .88895E-04   -1.0190    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.45835e-11
Minuit parameter uncertainties:
  1  100.94
  2  4.59264e-06
  3  1.10626e-05
  4  5.97739e-07
  5  8.04655e-06
  6  1.88735e-05
  7  55.241
  8  0.0980307
  9  0.00011022
  10  7.44665e-05
  11  121.577
  12  0.000672889
  13  0.000408017
  14  0.00772131
  15  0.930513
  16  3.41499e-06
  17  1354.91
  18  2.58571
  19  1.24273
  20  1.72852e-05
  21  0.328245
  22  0.597284
  23  1.16917
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 425.163554432

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  6.729e-04  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  7.421e-01  1.169e+00  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  3.109e-01  5.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 223.544 16.375
Photon Flux Upper Limit: 1.17e-06 ph cm-2 s-1
Energy Flux Upper Limit: 9.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/844574/likelihoodResults_546480001_546739201_4FGL_J1454.1+1622_daily_bin1185.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): 102
logL (Free Index) = 425.163582531
delta logL = -2.809932829e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 425.163554809
delta logL = -3.77143578589e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11202E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8471       1.0000          .0000       10.000    
     3 'Normalizat'    .31093       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+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=   425.1636     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      281 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11341E-03    131.28        .18142E-01** at limit **
   2  Index         2.6560        8.3386        .50000        .32027E-05
   3  Normalizat    .31091        .17802E-01    .44069E-03   -.10238E-05
   4  Prefactor     .74215        .11543E-01    .18564E-03   -.26869E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000113406
  Index      = 2.65602
  Normalizat = 0.310913
  Prefactor  = 0.742149
 **********
 **   18 **HESSE 
 **********

 FCN=   425.1636     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      310 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11341E-03    993.43        .21642E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6560        8.0748        .50000       -.48793    
   3  Normalizat    .31091        .50097E-01    .17628E-04   -1.2219    
   4  Prefactor     .74215        .32489E-01    .74258E-05   -1.0190    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.71315e-09
Minuit parameter uncertainties:
  1  0.234814
  2  1298.27
  3  0.0501047
  4  0.0324895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844574': 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) = 425.163554618
delta logL = -1.8680748326e-07

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.134e-04  2.348e-01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.656e+00  1.298e+03  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  7.421e-01  3.249e-02  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  3.109e-01  5.010e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.544 16.375

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/844574/cmap_HighResolution_546480001_546739201_4FGL_J1454.1+1622_daily_bin1185.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.05e-02', job_status='DONE', photon_flux_upper_limit='1.17e-06', time_completed='2021-09-10 12:40:41.661538', job_id='844574', GAL2='0.74', fit_tolerance='1e-08', EG2='0.31', EG='0.31', time_epoch_completed='1631302841.66', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.74', dlogl='-1.87e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1185' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:40:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 844574: <4FGL_J1454.1+1622_daily_bin1185> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1185> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep 10 12:32:19 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:32:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:32:20 2021
Terminated at Fri Sep 10 12:40:42 2021
Results reported at Fri Sep 10 12:40:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1185 223.544 16.3747 546480001 546739201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.1+1622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   247.49 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             369.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   501 sec.
    Turnaround time :                            503 sec.

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

