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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1048
RA = 223.544, Dec = 16.3747
tmin = 510969601, tmax = 511228801
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='844225', job_status='RUN', time_executed='2021-09-10 12:32:17.172487', time_epoch_executed='1631302337.17' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1048'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844225

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844225/ft1_4FGL_J1454.1+1622_daily_bin1048.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844225/ft2_4FGL_J1454.1+1622_daily_bin1048.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844225/ft1_4FGL_J1454.1+1622_daily_bin1048.fits outfile=/scratch/kocevski/844225/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1048.fits ra=223.544 dec=16.3747 rad=12.0 tmin=510969601.0 tmax=511228801.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.68
user 3.27
sys 0.35

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/844225/ft2_4FGL_J1454.1+1622_daily_bin1048.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/844225/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1048.fits evtable="EVENTS" outfile="/scratch/kocevski/844225/ft1_filtered_4FGL_J1454.1+1622_daily_bin1048.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844225/ft1_filtered_4FGL_J1454.1+1622_daily_bin1048.fits" evtable="EVENTS" scfile=/scratch/kocevski/844225/ft2_4FGL_J1454.1+1622_daily_bin1048.fits sctable="SC_DATA" outfile=/scratch/kocevski/844225/ltcube_510969601_511228801_4FGL_J1454.1+1622_daily_bin1048.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/844225/ft2_4FGL_J1454.1+1622_daily_bin1048.fits
.....................!
real 12.25
user 11.58
sys 0.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844225/ft1_filtered_4FGL_J1454.1+1622_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/844225/ft2_4FGL_J1454.1+1622_daily_bin1048.fits sctable="SC_DATA" expcube=/scratch/kocevski/844225/ltcube_510969601_511228801_4FGL_J1454.1+1622_daily_bin1048.fits outfile=/scratch/kocevski/844225/expmap_510969601_511228801_4FGL_J1454.1+1622_daily_bin1048.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/844225/ltcube_510969601_511228801_4FGL_J1454.1+1622_daily_bin1048.fits
.....................!
real 193.15
user 185.29
sys 7.31

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/844225/ft1_filtered_4FGL_J1454.1+1622_daily_bin1048.fits scfile=/scratch/kocevski/844225/ft2_4FGL_J1454.1+1622_daily_bin1048.fits outfile=/scratch/kocevski/844225/cmap_510969601_511228801_4FGL_J1454.1+1622_daily_bin1048.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844225/ft1_filtered_4FGL_J1454.1+1622_daily_bin1048.fits scfile=/scratch/kocevski/844225/ft2_4FGL_J1454.1+1622_daily_bin1048.fits outfile=/scratch/kocevski/844225/cmap_HighResolution_510969601_511228801_4FGL_J1454.1+1622_daily_bin1048.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.55
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.535       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.1881       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.9084       1.0000         .10000E-03   10000.    
     5 'norm      '    9.5916       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.842       1.0000         .10000E-03   10000.    
     7 'norm      '    .12906E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.7735       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10330E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11131E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    49.091       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7958       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.4214       1.0000         .10000E-03   10000.    
    16 'norm      '    3.9566       1.0000         .10000E-03   10000.    
    17 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.564       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    41.267       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0390       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0291       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=   6952.646     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2990 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.535        20.316       -.18979E-06   -.16145E-05
   2  Prefactor     .10000E-03    1.7900        .87937E-07** at limit **
   3  norm          3.1881        2.1810       -.33797E-07    .12404E-04
   4  Prefactor     7.9083        5.3478       -.71961E-07   -.10983E-04
   5  norm          9.5922        3.6878       -.58476E-07    .15699E-04
   6  Prefactor     26.845        36.360       -.40966E-05   -.19647E-03
   7  norm          .10003E-03    19.158        .24913E-05** at limit **
   8  norm          4.7739        2.5000        .21762E-06   -.13770E-02
   9  Prefactor     .10010E-03    16.850        .79510E-07** at limit **
  10  Prefactor     .10000E-03    14.284        .14031E-07** at limit **
  11  Prefactor     .10000E-03    9.9366        .23142E-06** at limit **
  12  Prefactor     49.092        30.562       -.87050E-06    .11273E-03
  13  Prefactor     9.7968        49.064       -.18197E-05    .27934E-04
  14  Prefactor     .10000E-03    10.109       -.84372E-07** at limit **
  15  norm          1.4214        .28903       -.21553E-08   -.28534E-03
  16  norm          3.9565        4.0872       -.21116E-07    .36331E-04
  17  norm          .10000E-03    24.633       -.19590E-06** at limit **
  18  Prefactor     26.581        49.778       -.24502E-05    .63368E-04
  19  Prefactor     .10000E-03    2.9446        .67871E-07** at limit **
  20  Prefactor     41.273        37.396       -.17623E-05    .12099E-03
  21  Prefactor     .10000E-03    30.686        .26597E-06** at limit **
  22  Normalizat    1.0389        .22439        .93456E-06   -.14155E-03
  23  Prefactor     1.0291        .14311        .91016E-07   -.14249E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.5353
  Prefactor  = 0.0001
  norm       = 3.18809
  Prefactor  = 7.90832
  norm       = 9.59225
  Prefactor  = 26.8447
  norm       = 0.000100026
  norm       = 4.7739
  Prefactor  = 0.000100103
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 49.0924
  Prefactor  = 9.79684
  Prefactor  = 0.0001
  norm       = 1.42137
  norm       = 3.95645
  norm       = 0.0001
  Prefactor  = 26.5812
  Prefactor  = 0.0001
  Prefactor  = 41.2725
  Prefactor  = 0.0001
  Normalizat = 1.03889
  Prefactor  = 1.0291
 **********
 **   18 **HESSE 
 **********

 FCN=   6952.646     FROM HESSE     STATUS=OK           382 CALLS     3372 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.535        20.330        .11314E-03   -1.5000    
   2  Prefactor     .10000E-03    1.7929        .10891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.1881        2.1811        .98977E-04   -1.5351    
   4  Prefactor     7.9083        5.3502        .14258E-03   -1.5145    
   5  norm          9.5922        3.6882        .94728E-04   -1.5088    
   6  Prefactor     26.845        36.241        .77323E-04   -1.4671    
   7  norm          .10003E-03    122.53        .61805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.7739        5.5602        .92075E-03   -1.5271    
   9  Prefactor     .10010E-03    20.039        .10102       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    64.943        .50057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     49.092        30.142        .57234E-04   -1.4305    
  13  Prefactor     9.7968        48.327        .12803E-03   -1.5082    
  14  Prefactor     .10000E-03    10.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4214        .28931        .19226E-04   -1.5470    
  16  norm          3.9565        4.0933        .16728E-03   -1.5310    
  17  norm          .10000E-03    24.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.581        49.147        .77726E-04   -1.4676    
  19  Prefactor     .10000E-03    2.9497        .13972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     41.273        36.651        .62400E-04   -1.4422    
  21  Prefactor     .10000E-03    30.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0389        .26502        .31600E-03   -.91739    
  23  Prefactor     1.0291        .16966        .21286E-03   -.91766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69849e-09
Minuit parameter uncertainties:
  1  20.3411
  2  3.14596e-06
  3  2.1812
  4  5.35051
  5  3.68832
  6  36.2702
  7  0.00359392
  8  5.56078
  9  0.00287817
  10  4.18495e-06
  11  4.18408e-05
  12  30.1515
  13  43.5743
  14  4.15617e-06
  15  0.289314
  16  4.09364
  17  2.23986e-05
  18  49.2222
  19  3.66889e-06
  20  36.671
  21  2.16817e-05
  22  0.265356
  23  0.169749
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  4.909e+01  3.015e+01  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.029e+00  1.697e-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.039e+00  2.654e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.43
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 7.36e-08 +/- 4.52e-08
Energy Flux (Fixed Index): 2.39e-05 +/- 1.46e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6952.2494886
delta logL = 0.396029420255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6952.24916714
delta logL = 0.396350885499

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.453       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9775       1.0000          .0000       10.000    
     3 'Normalizat'    1.0682       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0177       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.

 FCN=   6952.249     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      261 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.306        995.28        .12901E-02    .20929E-04
   2  Index         1.9750        5.8059        .21067        .58146E-04
   3  Normalizat    1.0684        .22342        .70558E-01    .60772E-04
   4  Prefactor     1.0177        .94531E-01    .42379E-01    .76318E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.3064
  Index      = 1.97498
  Normalizat = 1.06841
  Prefactor  = 1.01769
 **********
 **   18 **HESSE 
 **********

 FCN=   6952.249     FROM HESSE     STATUS=OK            31 CALLS      292 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.306        35.900        .51604E-04   -1.4153    
   2  Index         1.9750        .46197        .74602E-02   -.64977    
   3  Normalizat    1.0684        .25224        .31220E-03   -.90772    
   4  Prefactor     1.0177        .16919        .21389E-03   -.92142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65606e-11
Minuit parameter uncertainties:
  1  35.9131
  2  0.463009
  3  0.252528
  4  0.169281
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844225': 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) = 6952.24914391
delta logL = 0.396374106651

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  6.031e+01  3.591e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  1.975e+00  4.630e-01  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.018e+00  1.693e-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.068e+00  2.525e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.21
Ra Dec: 223.544 16.375
Photon Index (Free Index): 1.97 +/- 0.46
Photon Flux (Free Index): 4.98e-08 +/- 3.97e-08
Energy Flux (Free Index): 3.66e-05 +/- 3.21e-05

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/844225/cmap_HighResolution_510969601_511228801_4FGL_J1454.1+1622_daily_bin1048.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.36e-08', energy_flux2='3.66e-05', photon_flux_error='4.52e-08', dlogl='3.96e-01', energy_flux='2.39e-05', photon_flux2='4.98e-08', job_status='DONE', time_completed='2021-09-10 12:42:35.813606', photon_index_error2='0.46', photon_index2='1.97', ts='6.43', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='3.21e-05', EG='1.04', time_epoch_completed='1631302955.81', return_code='0', job_id='844225', GAL2='1.02', EG2='1.07', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='3.97e-08', ts2='7.21', photon_index='2.41' WHERE bin_id='1048' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:42:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 844225: <4FGL_J1454.1+1622_daily_bin1048> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1048 223.544 16.3747 510969601 511228801 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 :                                   617.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            633 sec.

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

