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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1523
RA = 223.544, Dec = 16.3747
tmin = 634089601, tmax = 634348801
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='846739', job_status='RUN', time_executed='2021-09-10 12:40:46.245938', time_epoch_executed='1631302846.25' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1523'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846739

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846739/ft1_4FGL_J1454.1+1622_daily_bin1523.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846739/ft2_4FGL_J1454.1+1622_daily_bin1523.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846739/ft1_4FGL_J1454.1+1622_daily_bin1523.fits outfile=/scratch/kocevski/846739/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1523.fits ra=223.544 dec=16.3747 rad=12.0 tmin=634089601.0 tmax=634348801.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 4.86
user 4.63
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846739/ft1_filtered_4FGL_J1454.1+1622_daily_bin1523.fits evtable="EVENTS" scfile=/scratch/kocevski/846739/ft2_4FGL_J1454.1+1622_daily_bin1523.fits sctable="SC_DATA" expcube=/scratch/kocevski/846739/ltcube_634089601_634348801_4FGL_J1454.1+1622_daily_bin1523.fits outfile=/scratch/kocevski/846739/expmap_634089601_634348801_4FGL_J1454.1+1622_daily_bin1523.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/846739/ltcube_634089601_634348801_4FGL_J1454.1+1622_daily_bin1523.fits
.....................!
real 189.38
user 184.89
sys 4.05

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/846739/ft1_filtered_4FGL_J1454.1+1622_daily_bin1523.fits scfile=/scratch/kocevski/846739/ft2_4FGL_J1454.1+1622_daily_bin1523.fits outfile=/scratch/kocevski/846739/cmap_634089601_634348801_4FGL_J1454.1+1622_daily_bin1523.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846739/ft1_filtered_4FGL_J1454.1+1622_daily_bin1523.fits scfile=/scratch/kocevski/846739/ft2_4FGL_J1454.1+1622_daily_bin1523.fits outfile=/scratch/kocevski/846739/cmap_HighResolution_634089601_634348801_4FGL_J1454.1+1622_daily_bin1523.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.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.081       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .53001       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.2614       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.642       1.0000         .10000E-03   10000.    
     7 'norm      '    .31387E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.9603       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9125       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .54953E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.7788       1.0000         .10000E-03   10000.    
    15 'norm      '    .45855       1.0000         .10000E-03   10000.    
    16 'norm      '    5.2759       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.984       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0660       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1006       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0120       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=   6711.731     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2226 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.079        25.828        .61053E-06    .61230E-04
   2  Prefactor     .10000E-03    2.2049       -.25890E-07** at limit **
   3  norm          .53000        1.6920        .12073E-06   -.11207E-04
   4  Prefactor     .10000E-03    8.9393       -.61322E-07** at limit **
   5  norm          1.2612        2.6677        .15998E-06    .46998E-04
   6  Prefactor     12.606        30.662       -.74238E-06   -.13205E-03
   7  norm          .10000E-03    25.672        .48441E-05** at limit **
   8  norm          4.9604        4.9099        .16218E-06    .11547E-03
   9  Prefactor     .10000E-03    6.1135       -.45104E-07** at limit **
  10  Prefactor     1.8969        32.073       -.41040E-06   -.83805E-04
  11  Prefactor     .10000E-03    2.6818       -.25718E-08** at limit **
  12  Prefactor     .10001E-03    16.904       -.52312E-05** at limit **
  13  Prefactor     .10000E-03    15.191        .19723E-06** at limit **
  14  Prefactor     5.7789        7.7538        .74037E-07    .74275E-05
  15  norm          .45858        .18442        .11067E-07   -.60647E-03
  16  norm          5.2760        5.7371        .47186E-07   -.89305E-05
  17  norm          .10000E-03    14.232       -.41933E-06** at limit **
  18  Prefactor     26.977        33.181        .11963E-05    .17196E-03
  19  Prefactor     1.0666        7.0013        .80275E-05   -.13812E-03
  20  Prefactor     .10000E-03    50.300       -.91075E-06** at limit **
  21  Prefactor     .10000E-03    17.228        .18510E-06** at limit **
  22  Normalizat    1.1006        .20102        .38828E-06   -.22343E-03
  23  Prefactor     1.0120        .13310       -.10984E-05   -.42934E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.0785
  Prefactor  = 0.0001
  norm       = 0.530003
  Prefactor  = 0.0001
  norm       = 1.26115
  Prefactor  = 12.6061
  norm       = 0.0001
  norm       = 4.96041
  Prefactor  = 0.0001
  Prefactor  = 1.89688
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 5.77889
  norm       = 0.458578
  norm       = 5.27598
  norm       = 0.0001
  Prefactor  = 26.9767
  Prefactor  = 1.06663
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.10062
  Prefactor  = 1.01201
 **********
 **   18 **HESSE 
 **********

 FCN=   6711.731     FROM HESSE     STATUS=OK           370 CALLS     2596 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.079        25.849        .94191E-04   -1.4857    
   2  Prefactor     .10000E-03    2.2082        .11879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .53000        1.6612        .18456E-03   -1.5562    
   4  Prefactor     .10000E-03    9.2660        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.2612        2.6368        .18506E-03   -1.5483    
   6  Prefactor     12.606        30.842        .11266E-03   -1.4998    
   7  norm          .10000E-03    25.695        .21371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.9604        4.9071        .17375E-03   -1.5262    
   9  Prefactor     .10000E-03    6.1167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.8969        32.215        .30058E-03   -1.5433    
  11  Prefactor     .10000E-03    2.6824        .13102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    73.227        .60337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.7789        7.7472        .16708E-03   -1.5227    
  15  norm          .45858        .18382        .21233E-04   -1.5573    
  16  norm          5.2760        5.7381        .17499E-03   -1.5249    
  17  norm          .10000E-03    14.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.977        33.300        .77121E-04   -1.4669    
  19  Prefactor     1.0666        7.2616        .21409E-02   -1.5501    
  20  Prefactor     .10000E-03    51.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    17.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1006        .23993        .28354E-03   -.89732    
  23  Prefactor     1.0120        .15973        .19805E-03   -.92330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.14808e-10
Minuit parameter uncertainties:
  1  25.8645
  2  1.70627e-06
  3  1.66139
  4  2.70986e-05
  5  2.63707
  6  30.8806
  7  0.00013269
  8  4.90745
  9  4.3993e-06
  10  15.6438
  11  7.559e-07
  12  0.00200054
  13  6.45652e-05
  14  7.74856
  15  0.183816
  16  5.73866
  17  0.000117103
  18  33.323
  19  5.56681
  20  0.000312209
  21  7.00631e-05
  22  0.240165
  23  0.159802
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  2.001e-03  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:  1.012e+00  1.598e-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.101e+00  2.402e-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.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846739/likelihoodResults_634089601_634348801_4FGL_J1454.1+1622_daily_bin1523.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) = 6711.73137439
delta logL = -6.38872606942e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6711.73131106
delta logL = -5.50711774849e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5927       1.0000          .0000       10.000    
     3 'Normalizat'    1.1006       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0120       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=   6711.731     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      297 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11255E-03    173.76        .36285E-02** at limit **
   2  Index         2.4441        7.9994        .50000        .12103E-04
   3  Normalizat    1.1006        .80330E-02    .28354E-03    .12069E-04
   4  Prefactor     1.0120        .54366E-02    .19805E-03    .76919E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000112549
  Index      = 2.44407
  Normalizat = 1.10062
  Prefactor  = 1.01201
 **********
 **   18 **HESSE 
 **********

 FCN=   6711.731     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      326 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11255E-03    757.45        .72569E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4441        5.8100        .50000       -.53656    
   3  Normalizat    1.1006        .17047E-01    .11342E-04   -.89732    
   4  Prefactor     1.0120        .11537E-01    .79221E-05   -.92330    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.85351e-08
Minuit parameter uncertainties:
  1  0.197541
  2  484.522
  3  0.0170472
  4  0.0115373
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846739': 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) = 6711.73131068
delta logL = -1.7706406652e-07

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.125e-04  1.975e-01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.444e+00  4.845e+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:  1.012e+00  1.154e-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:  1.101e+00  1.705e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/846739/cmap_HighResolution_634089601_634348801_4FGL_J1454.1+1622_daily_bin1523.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.51e-03', job_status='DONE', photon_flux_upper_limit='7.13e-08', time_completed='2021-09-10 12:50:43.490377', job_id='846739', GAL2='1.01', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631303443.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-1.77e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1523' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:50:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 846739: <4FGL_J1454.1+1622_daily_bin1523> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1523 223.544 16.3747 634089601 634348801 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 :                                   591.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             226.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            799 sec.

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

