/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 59 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 = 7469
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.1+1622_daily_bin346
RA = 223.544, Dec = 16.3747
tmin = 329011201, tmax = 329270401
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='839867', job_status='RUN', time_executed='2021-09-10 12:17:58.631552', time_epoch_executed='1631301478.63' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='346'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/839867

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/839867/ft1_4FGL_J1454.1+1622_daily_bin346.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/839867/ft2_4FGL_J1454.1+1622_daily_bin346.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/839867/ft1_4FGL_J1454.1+1622_daily_bin346.fits outfile=/scratch/kocevski/839867/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin346.fits ra=223.544 dec=16.3747 rad=12.0 tmin=329011201.0 tmax=329270401.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.81
user 3.33
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/839867/ft2_4FGL_J1454.1+1622_daily_bin346.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/839867/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin346.fits evtable="EVENTS" outfile="/scratch/kocevski/839867/ft1_filtered_4FGL_J1454.1+1622_daily_bin346.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 2.05
user 0.34
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/839867/ft1_filtered_4FGL_J1454.1+1622_daily_bin346.fits" evtable="EVENTS" scfile=/scratch/kocevski/839867/ft2_4FGL_J1454.1+1622_daily_bin346.fits sctable="SC_DATA" outfile=/scratch/kocevski/839867/ltcube_329011201_329270401_4FGL_J1454.1+1622_daily_bin346.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/839867/ft2_4FGL_J1454.1+1622_daily_bin346.fits
.....................!
real 12.88
user 11.88
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/839867/ft1_filtered_4FGL_J1454.1+1622_daily_bin346.fits evtable="EVENTS" scfile=/scratch/kocevski/839867/ft2_4FGL_J1454.1+1622_daily_bin346.fits sctable="SC_DATA" expcube=/scratch/kocevski/839867/ltcube_329011201_329270401_4FGL_J1454.1+1622_daily_bin346.fits outfile=/scratch/kocevski/839867/expmap_329011201_329270401_4FGL_J1454.1+1622_daily_bin346.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/839867/ltcube_329011201_329270401_4FGL_J1454.1+1622_daily_bin346.fits
.....................!
real 190.84
user 185.80
sys 4.25

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/839867/ft1_filtered_4FGL_J1454.1+1622_daily_bin346.fits scfile=/scratch/kocevski/839867/ft2_4FGL_J1454.1+1622_daily_bin346.fits outfile=/scratch/kocevski/839867/cmap_329011201_329270401_4FGL_J1454.1+1622_daily_bin346.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.60
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/839867/ft1_filtered_4FGL_J1454.1+1622_daily_bin346.fits scfile=/scratch/kocevski/839867/ft2_4FGL_J1454.1+1622_daily_bin346.fits outfile=/scratch/kocevski/839867/cmap_HighResolution_329011201_329270401_4FGL_J1454.1+1622_daily_bin346.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.57
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.5697       1.0000         .10000E-03   10000.    
     3 'norm      '    9.3331       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7145       1.0000         .10000E-03   10000.    
     5 'norm      '    6.2495       1.0000         .10000E-03   10000.    
     6 'Prefactor '    41.442       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.2501       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.062       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.8807       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .96205       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .93010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.431       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10580E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5877       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .61265       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=   7269.837     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2515 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.477        .30738E-06** at limit **
   2  Prefactor     8.5703        7.2336       -.70515E-06    .19013E-04
   3  norm          9.3333        3.3408       -.40352E-08    .27522E-04
   4  Prefactor     3.7153        5.9058        .43668E-05    .11045E-02
   5  norm          6.2500        3.8365       -.63142E-07    .14601E-03
   6  Prefactor     41.443        26.262       -.70048E-07    .30713E-05
   7  norm          .10000E-03    5.8127       -.86160E-08** at limit **
   8  norm          4.2500        3.5664       -.25880E-06   -.34010E-04
   9  Prefactor     .10000E-03    13.432       -.19140E-05** at limit **
  10  Prefactor     15.064        18.373        .65573E-07    .22771E-05
  11  Prefactor     .10000E-03    12.296        .22603E-05** at limit **
  12  Prefactor     .10000E-03    16.449        .20815E-05** at limit **
  13  Prefactor     5.9081        66.565       -.12748E-04   -.35422E-04
  14  Prefactor     .10000E-03    4.5230       -.61711E-07** at limit **
  15  norm          .96207        .22098        .93114E-08    .50551E-03
  16  norm          .10000E-03    2.1360        .17585E-07** at limit **
  17  norm          .10000E-03    12.819       -.20097E-06** at limit **
  18  Prefactor     .10000E-03    24.156        .41773E-06** at limit **
  19  Prefactor     .10034E-03    14.093        .80342E-05** at limit **
  20  Prefactor     33.432        30.986        .17606E-07    .38910E-05
  21  Prefactor     .10000E-03    84.752        .14509E-06** at limit **
  22  Normalizat    1.5876        .21058       -.84975E-06   -.13452E-03
  23  Prefactor     .61263        .12593        .10012E-05   -.84746E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.57032
  norm       = 9.33326
  Prefactor  = 3.7153
  norm       = 6.25004
  Prefactor  = 41.4432
  norm       = 0.0001
  norm       = 4.24998
  Prefactor  = 0.0001
  Prefactor  = 15.0643
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 5.90806
  Prefactor  = 0.0001
  norm       = 0.962071
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100344
  Prefactor  = 33.4322
  Prefactor  = 0.0001
  Normalizat = 1.58763
  Prefactor  = 0.61263
 **********
 **   18 **HESSE 
 **********

 FCN=   7269.837     FROM HESSE     STATUS=OK           368 CALLS     2883 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.5703        7.2436        .13693E-03   -1.5122    
   3  norm          9.3333        3.3405        .90462E-04   -1.5097    
   4  Prefactor     3.7153        6.2695        .10476E-02   -1.5322    
   5  norm          6.2500        3.8383        .12395E-03   -1.5208    
   6  Prefactor     41.443        26.254        .62269E-04   -1.4420    
   7  norm          .10000E-03    5.8200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.2500        3.5702        .14321E-03   -1.5296    
   9  Prefactor     .10000E-03    13.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.064        18.378        .10320E-03   -1.4932    
  11  Prefactor     .10000E-03    12.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.9081        67.004        .16560E-03   -1.5222    
  14  Prefactor     .10000E-03    4.5600        .17707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .96207        .22106        .18354E-04   -1.5512    
  16  norm          .10000E-03    2.1397        .12169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    12.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10034E-03    40.397        .43194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     33.432        31.026        .69304E-04   -1.4551    
  21  Prefactor     .10000E-03    85.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.5876        .24826        .26466E-03   -.75345    
  23  Prefactor     .61263        .14797        .24732E-03   -1.0706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.83724e-09
Minuit parameter uncertainties:
  1  2.33721e-05
  2  7.24436
  3  3.34057
  4  6.27058
  5  3.83845
  6  26.2611
  7  1.66079e-06
  8  3.57033
  9  2.57003e-05
  10  18.3848
  11  0.000165864
  12  0.000346506
  13  39.8488
  14  1.08603e-05
  15  0.221059
  16  2.1219e-06
  17  8.10523e-06
  18  1.6981e-05
  19  0.00746372
  20  31.0411
  21  0.000274933
  22  0.248455
  23  0.148065
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  3.465e-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:  6.126e-01  1.481e-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.588e+00  2.485e-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: 7.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/839867/likelihoodResults_329011201_329270401_4FGL_J1454.1+1622_daily_bin346.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) = 7269.83718285
delta logL = -0.00028645202292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7269.83689889
delta logL = -2.49253935181e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8610       1.0000          .0000       10.000    
     3 'Normalizat'    1.5876       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61263       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=   7269.837     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      276 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10574E-03    5.8394        .18142E-01** at limit **
   2  Index         2.7419        5.1845        .50000        .27249E-04
   3  Normalizat    1.5876        .38550E-02    .26466E-03   -.91486E-04
   4  Prefactor     .61263        .23712E-02    .24732E-03   -.12351E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105738
  Index      = 2.74189
  Normalizat = 1.58763
  Prefactor  = 0.612629
 **********
 **   18 **HESSE 
 **********

 FCN=   7269.837     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10574E-03    65.370        .27005E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7419        6.0494        .50000       -.46858    
   3  Normalizat    1.5876        .12887E-01    .52933E-04   -.75345    
   4  Prefactor     .61263        .79269E-02    .98929E-05   -1.0706    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.40509e-08
Minuit parameter uncertainties:
  1  0.0387766
  2  310.955
  3  0.0128871
  4  0.00792688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/839867': 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) = 7269.83689834
delta logL = -1.94522453967e-06

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.057e-04  3.878e-02  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.742e+00  3.110e+02  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:  6.126e-01  7.927e-03  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.588e+00  1.289e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/839867/cmap_HighResolution_329011201_329270401_4FGL_J1454.1+1622_daily_bin346.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.16e-03', job_status='DONE', photon_flux_upper_limit='7.97e-08', time_completed='2021-09-10 12:28:35.236439', job_id='839867', GAL2='0.61', fit_tolerance='1e-08', EG2='1.59', EG='1.59', time_epoch_completed='1631302115.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='-1.95e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='346' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:28:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 839867: <4FGL_J1454.1+1622_daily_bin346> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin346 223.544 16.3747 329011201 329270401 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 :                                   629.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            719 sec.

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

