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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1344
RA = 223.544, Dec = 16.3747
tmin = 587692801, tmax = 587952001
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='846450', job_status='RUN', time_executed='2021-09-10 12:41:21.555110', time_epoch_executed='1631302881.56' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1344'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846450

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846450/ft1_4FGL_J1454.1+1622_daily_bin1344.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846450/ft2_4FGL_J1454.1+1622_daily_bin1344.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846450/ft1_4FGL_J1454.1+1622_daily_bin1344.fits outfile=/scratch/kocevski/846450/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1344.fits ra=223.544 dec=16.3747 rad=12.0 tmin=587692801.0 tmax=587952001.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.52
user 3.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/846450/ft2_4FGL_J1454.1+1622_daily_bin1344.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/846450/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1344.fits evtable="EVENTS" outfile="/scratch/kocevski/846450/ft1_filtered_4FGL_J1454.1+1622_daily_bin1344.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.59
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846450/ft1_filtered_4FGL_J1454.1+1622_daily_bin1344.fits" evtable="EVENTS" scfile=/scratch/kocevski/846450/ft2_4FGL_J1454.1+1622_daily_bin1344.fits sctable="SC_DATA" outfile=/scratch/kocevski/846450/ltcube_587692801_587952001_4FGL_J1454.1+1622_daily_bin1344.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/846450/ft2_4FGL_J1454.1+1622_daily_bin1344.fits
.....................!
real 12.41
user 11.90
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846450/ft1_filtered_4FGL_J1454.1+1622_daily_bin1344.fits evtable="EVENTS" scfile=/scratch/kocevski/846450/ft2_4FGL_J1454.1+1622_daily_bin1344.fits sctable="SC_DATA" expcube=/scratch/kocevski/846450/ltcube_587692801_587952001_4FGL_J1454.1+1622_daily_bin1344.fits outfile=/scratch/kocevski/846450/expmap_587692801_587952001_4FGL_J1454.1+1622_daily_bin1344.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/846450/ltcube_587692801_587952001_4FGL_J1454.1+1622_daily_bin1344.fits
.....................!
real 190.57
user 185.83
sys 4.23

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/846450/ft1_filtered_4FGL_J1454.1+1622_daily_bin1344.fits scfile=/scratch/kocevski/846450/ft2_4FGL_J1454.1+1622_daily_bin1344.fits outfile=/scratch/kocevski/846450/cmap_587692801_587952001_4FGL_J1454.1+1622_daily_bin1344.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846450/ft1_filtered_4FGL_J1454.1+1622_daily_bin1344.fits scfile=/scratch/kocevski/846450/ft2_4FGL_J1454.1+1622_daily_bin1344.fits outfile=/scratch/kocevski/846450/cmap_HighResolution_587692801_587952001_4FGL_J1454.1+1622_daily_bin1344.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/846450/ft1_filtered_4FGL_J1454.1+1622_daily_bin1344.fits', '/scratch/kocevski/846450/ft2_4FGL_J1454.1+1622_daily_bin1344.fits', expMap='/scratch/kocevski/846450/expmap_587692801_587952001_4FGL_J1454.1+1622_daily_bin1344.fits', expCube='/scratch/kocevski/846450/ltcube_587692801_587952001_4FGL_J1454.1+1622_daily_bin1344.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/846450/Model_4FGL_J1454.1+1622_daily_bin1344.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/846450/ft1_filtered_4FGL_J1454.1+1622_daily_bin1344.fits
Spacecraft file(s): /scratch/kocevski/846450/ft2_4FGL_J1454.1+1622_daily_bin1344.fits
Exposure map: /scratch/kocevski/846450/expmap_587692801_587952001_4FGL_J1454.1+1622_daily_bin1344.fits
Exposure cube: /scratch/kocevski/846450/ltcube_587692801_587952001_4FGL_J1454.1+1622_daily_bin1344.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/846450/Model_4FGL_J1454.1+1622_daily_bin1344.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) = 7232.34978238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    218.20       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.9591       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.1991       1.0000         .10000E-03   10000.    
     5 'norm      '    4.1964       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21370E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.2561       1.0000         .10000E-03   10000.    
     8 'norm      '    2.4280       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10207E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10476E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.664       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .26281       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15166E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    102.81       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4810       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87744       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.

 FCN=   7232.348     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2612 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     218.20        49.435        .60528E-07    .17700E-04
   2  Prefactor     .10000E-03    6.6786       -.27345E-06** at limit **
   3  norm          3.9591        2.6634        .20916E-07   -.36683E-05
   4  Prefactor     2.2014        5.8238        .81566E-06   -.30711E-04
   5  norm          4.1963        2.2834       -.18729E-07   -.76813E-05
   6  Prefactor     .10000E-03    50.909        .15813E-05** at limit **
   7  norm          1.2343        37.969        .65533E-05   -.22075E-04
   8  norm          2.4280        3.1587        .96190E-07    .59154E-06
   9  Prefactor     .10000E-03    7.8231       -.37900E-07** at limit **
  10  Prefactor     .10000E-03    12.837        .20689E-06** at limit **
  11  Prefactor     .10000E-03    24.848        .73840E-06** at limit **
  12  Prefactor     .10000E-03    39.173       -.33263E-05** at limit **
  13  Prefactor     15.650        34.448       -.79793E-06   -.52671E-05
  14  Prefactor     .10000E-03    3.4927        .28341E-07** at limit **
  15  norm          .26281        .17877        .26536E-07    .51207E-04
  16  norm          .10000E-03    2.0581        .23783E-08** at limit **
  17  norm          .10000E-03    15.530       -.34119E-06** at limit **
  18  Prefactor     .10000E-03    174.31       -.19548E-05** at limit **
  19  Prefactor     .10000E-03    3.0009        .18739E-07** at limit **
  20  Prefactor     102.80        40.685       -.13885E-06   -.24415E-04
  21  Prefactor     .10000E-03    10.215       -.41725E-07** at limit **
  22  Normalizat    1.4811        .21661       -.26267E-06   -.32528E-04
  23  Prefactor     .87736        .13775       -.30115E-06   -.39264E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 218.203
  Prefactor  = 0.0001
  norm       = 3.95911
  Prefactor  = 2.20136
  norm       = 4.19633
  Prefactor  = 0.0001
  norm       = 1.23431
  norm       = 2.42802
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 15.6498
  Prefactor  = 0.0001
  norm       = 0.262813
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 102.797
  Prefactor  = 0.0001
  Normalizat = 1.48107
  Prefactor  = 0.877361
 **********
 **   18 **HESSE 
 **********

 FCN=   7232.348     FROM HESSE     STATUS=OK           368 CALLS     2980 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     218.20        49.478        .13690E-03   -1.2743    
   2  Prefactor     .10000E-03    6.7666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.9591        2.6648        .11026E-03   -1.5310    
   4  Prefactor     2.2014        5.8539        .27747E-03   -1.5411    
   5  norm          4.1963        2.2836        .92016E-04   -1.5298    
   6  Prefactor     .10000E-03    51.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.2343        38.167        .39844E-03   -1.5486    
   8  norm          2.4280        3.1500        .16726E-03   -1.5396    
   9  Prefactor     .10000E-03    7.8297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    25.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    40.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.650        34.408        .10120E-03   -1.4917    
  14  Prefactor     .10000E-03    3.5092        .15521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .26281        .17283        .28356E-03   -1.5605    
  16  norm          .10000E-03    2.0593        .11915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    15.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    177.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.0066        .14388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     102.80        40.776        .39655E-04   -1.3677    
  21  Prefactor     .10000E-03    10.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4811        .25908        .28206E-03   -.78312    
  23  Prefactor     .87736        .16452        .22994E-03   -.96937    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65594e-11
Minuit parameter uncertainties:
  1  49.4876
  2  1.07062e-05
  3  2.66487
  4  5.85537
  5  2.28363
  6  6.65279e-05
  7  13.7363
  8  3.15021
  9  1.84267e-06
  10  1.01223e-05
  11  0.000107831
  12  0.000344345
  13  34.452
  14  1.70342e-06
  15  0.172826
  16  1.52792e-08
  17  2.8299e-05
  18  0.00023682
  19  8.53485e-07
  20  40.7868
  21  1.04654e-06
  22  0.25931
  23  0.164611
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  3.443e-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:  8.774e-01  1.646e-01  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:  1.481e+00  2.593e-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: 9.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846450/likelihoodResults_587692801_587952001_4FGL_J1454.1+1622_daily_bin1344.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) = 7232.34842242
delta logL = -0.000117431754006

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7232.34830525
delta logL = -2.5539429771e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3424       1.0000          .0000       10.000    
     3 'Normalizat'    1.4811       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87736       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=   7232.348     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      278 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    7152.9        .18142E-02** at limit **
   2  Index         2.4017        7.6593        .50000       -.16555E-04
   3  Normalizat    1.4811        .75180E-01    .28206E-03   -.22249E-04
   4  Prefactor     .87736        .48996E-01    .22994E-03   -.44992E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100011
  Index      = 2.40171
  Normalizat = 1.48107
  Prefactor  = 0.877361
 **********
 **   18 **HESSE 
 **********

 FCN=   7232.348     FROM HESSE     STATUS=OK            29 CALLS      307 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    58.352        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4017        6.1520        .50000       -.54645    
   3  Normalizat    1.4811        .25118        .11282E-04   -.78312    
   4  Prefactor     .87736        .16377        .91977E-05   -.96937    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.4936e-10
Minuit parameter uncertainties:
  1  0.00160641
  2  5.22185
  3  0.251391
  4  0.163867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846450': 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) = 7232.34830502
delta logL = -2.70820237347e-08

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  1.606e-03  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.402e+00  5.222e+00  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:  8.774e-01  1.639e-01  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:  1.481e+00  2.514e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/846450/cmap_HighResolution_587692801_587952001_4FGL_J1454.1+1622_daily_bin1344.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.99e-03', job_status='DONE', photon_flux_upper_limit='9.04e-08', time_completed='2021-09-10 12:52:16.229747', job_id='846450', GAL2='0.88', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1631303536.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-2.71e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1344' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:52:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 846450: <4FGL_J1454.1+1622_daily_bin1344> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1344> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 12:37:03 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:37:04 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:37:04 2021
Terminated at Fri Sep 10 12:52:16 2021
Results reported at Fri Sep 10 12:52:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1344 223.544 16.3747 587692801 587952001 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 :                                   647.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            913 sec.

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

