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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1520
RA = 223.544, Dec = 16.3747
tmin = 633312001, tmax = 633571201
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='846734', job_status='RUN', time_executed='2021-09-10 12:41:07.609668', time_epoch_executed='1631302867.61' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1520'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846734

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846734/ft1_4FGL_J1454.1+1622_daily_bin1520.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846734/ft2_4FGL_J1454.1+1622_daily_bin1520.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846734/ft1_4FGL_J1454.1+1622_daily_bin1520.fits outfile=/scratch/kocevski/846734/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1520.fits ra=223.544 dec=16.3747 rad=12.0 tmin=633312001.0 tmax=633571201.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.14
user 3.45
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/846734/ft2_4FGL_J1454.1+1622_daily_bin1520.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/846734/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1520.fits evtable="EVENTS" outfile="/scratch/kocevski/846734/ft1_filtered_4FGL_J1454.1+1622_daily_bin1520.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/846734/ft1_filtered_4FGL_J1454.1+1622_daily_bin1520.fits" evtable="EVENTS" scfile=/scratch/kocevski/846734/ft2_4FGL_J1454.1+1622_daily_bin1520.fits sctable="SC_DATA" outfile=/scratch/kocevski/846734/ltcube_633312001_633571201_4FGL_J1454.1+1622_daily_bin1520.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/846734/ft2_4FGL_J1454.1+1622_daily_bin1520.fits
.....................!
real 12.17
user 11.59
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846734/ft1_filtered_4FGL_J1454.1+1622_daily_bin1520.fits evtable="EVENTS" scfile=/scratch/kocevski/846734/ft2_4FGL_J1454.1+1622_daily_bin1520.fits sctable="SC_DATA" expcube=/scratch/kocevski/846734/ltcube_633312001_633571201_4FGL_J1454.1+1622_daily_bin1520.fits outfile=/scratch/kocevski/846734/expmap_633312001_633571201_4FGL_J1454.1+1622_daily_bin1520.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/846734/ltcube_633312001_633571201_4FGL_J1454.1+1622_daily_bin1520.fits
.....................!
real 191.38
user 185.20
sys 5.64

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/846734/ft1_filtered_4FGL_J1454.1+1622_daily_bin1520.fits scfile=/scratch/kocevski/846734/ft2_4FGL_J1454.1+1622_daily_bin1520.fits outfile=/scratch/kocevski/846734/cmap_633312001_633571201_4FGL_J1454.1+1622_daily_bin1520.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846734/ft1_filtered_4FGL_J1454.1+1622_daily_bin1520.fits scfile=/scratch/kocevski/846734/ft2_4FGL_J1454.1+1622_daily_bin1520.fits outfile=/scratch/kocevski/846734/cmap_HighResolution_633312001_633571201_4FGL_J1454.1+1622_daily_bin1520.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.1440       1.0000         .10000E-03   10000.    
     3 'norm      '    5.6092       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    12.785       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19170       1.0000         .10000E-03   10000.    
     7 'norm      '    .49023E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    42.665       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8344       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.745       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16690E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .40496       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10110E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.926       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.0391       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12458E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    37.225       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93541       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0900       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=   7452.474     FROM MIGRAD    STATUS=CONVERGED    907 CALLS     2973 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.5877        .18142E-02** at limit **
   2  Prefactor     5.1445        5.5743        .17726E-03    .99604E-04
   3  norm          5.6090        2.6219        .92764E-04    .64709E-04
   4  Prefactor     .10000E-03    4.2053        .17102E-02** at limit **
   5  norm          12.784        3.8055        .87986E-04    .28090E-03
   6  Prefactor     .63190E-01    34.813        .13357        .43877E-04
   7  norm          .10000E-03    56.706        .42334E-03** at limit **
   8  norm          .10000E-03    .96715        .82814E-03** at limit **
   9  Prefactor     .10000E-03    6.1196        .18142E-02** at limit **
  10  Prefactor     42.728        28.687        .61374E-04    .13848E-03
  11  Prefactor     2.8301        9.9597        .24154E-03   -.11720E-04
  12  Prefactor     25.754        20.920        .78951E-04    .36431E-04
  13  Prefactor     .10000E-03    11.998        .18142E-02** at limit **
  14  Prefactor     .10000E-03    15.355        .32179E-02** at limit **
  15  norm          .40478        .17015        .22154E-04    .12978E-02
  16  norm          .10000E-03    1.9562        .11789E-02** at limit **
  17  norm          .10000E-03    33.778        .18142E-02** at limit **
  18  Prefactor     40.894        42.341        .62659E-04   -.39082E-04
  19  Prefactor     3.0389        6.6737        .11638E-02    .15005E-04
  20  Prefactor     .10001E-03    84.218        .18142E-02** at limit **
  21  Prefactor     37.248        35.487        .65689E-04    .61786E-04
  22  Normalizat    .93578        .23844        .31633E-03    .32503E-03
  23  Prefactor     1.0897        .15532        .19837E-03    .46600E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.14447
  norm       = 5.60903
  Prefactor  = 0.0001
  norm       = 12.7842
  Prefactor  = 0.0631901
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.7284
  Prefactor  = 2.83012
  Prefactor  = 25.7539
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.404781
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 40.8936
  Prefactor  = 3.03887
  Prefactor  = 0.000100006
  Prefactor  = 37.2481
  Normalizat = 0.93578
  Prefactor  = 1.08972
 **********
 **   18 **HESSE 
 **********

 FCN=   7452.474     FROM HESSE     STATUS=OK           358 CALLS     3331 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.5880        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.1445        5.5741        .70903E-05   -1.5254    
   3  norm          5.6090        2.6219        .37105E-05   -1.5234    
   4  Prefactor     .10000E-03    4.2082        .34205E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          12.784        3.8055        .35194E-05   -1.4993    
   6  Prefactor     .63190E-01    34.249        .13499       -1.5658    
   7  norm          .10000E-03    56.707        .84669E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .96716        .16563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.1198        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.728        28.687        .12275E-04   -1.4400    
  11  Prefactor     2.8301        9.9586        .96618E-05   -1.5371    
  12  Prefactor     25.754        20.917        .31580E-05   -1.4693    
  13  Prefactor     .10000E-03    11.998        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.459        .64359E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .40478        .17015        .88614E-06   -1.5581    
  16  norm          .10000E-03    1.9562        .23578E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    33.782        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.894        42.340        .12532E-04   -1.4428    
  19  Prefactor     3.0389        6.6723        .46550E-04   -1.5359    
  20  Prefactor     .10001E-03    84.288        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     37.248        35.487        .13138E-04   -1.4487    
  22  Normalizat    .93578        .23863        .12653E-04   -.95214    
  23  Prefactor     1.0897        .15546        .39674E-04   -.89796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21713e-10
Minuit parameter uncertainties:
  1  1.80506e-05
  2  5.57466
  3  2.62196
  4  3.34468e-05
  5  3.80557
  6  2.94159
  7  0.000235118
  8  3.42085e-06
  9  1.72175e-05
  10  28.696
  11  9.96444
  12  20.9234
  13  3.60378e-05
  14  0.000124188
  15  0.170152
  16  4.84387e-06
  17  0.000133565
  18  42.3713
  19  6.67396
  20  0.0013873
  21  35.5067
  22  0.238901
  23  0.155522
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  2.575e+01  2.092e+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.090e+00  1.555e-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:  9.358e-01  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.86e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 1.25e-05 +/- 1.02e-05

TS (Fixed Index): 2.54
Ra Dec: 223.544 16.375
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846734/likelihoodResults_633312001_633571201_4FGL_J1454.1+1622_daily_bin1520.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): 0
logL (Free Index) = 7452.25508912
delta logL = 0.219342921387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7452.24324463
delta logL = 0.23118741544

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.268       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9286       1.0000          .0000       10.000    
     3 'Normalizat'    .91484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0977       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=   7452.243     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      278 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.270        23.348        .99302E-04    .13624E-04
   2  Index         2.9286        .94916        .72345E-02    .51709E-03
   3  Normalizat    .91471        .23332        .31952E-03    .33585E-03
   4  Prefactor     1.0979        .15559        .19768E-03    .59557E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.2701
  Index      = 2.92864
  Normalizat = 0.914709
  Prefactor  = 1.09786
 **********
 **   18 **HESSE 
 **********

 FCN=   7452.243     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.270        20.496        .39721E-05   -1.4901    
   2  Index         2.9286        .83388        .14469E-02   -.42714    
   3  Normalizat    .91471        .23306        .12781E-04   -.95945    
   4  Prefactor     1.0979        .15553        .39537E-04   -.89535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23463e-10
Minuit parameter uncertainties:
  1  20.505
  2  0.838614
  3  0.233316
  4  0.155598
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846734': 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) = 7452.24324333
delta logL = 0.231188714351

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.627e+01  2.051e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.929e+00  8.386e-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.098e+00  1.556e-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:  9.147e-01  2.333e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.02
Ra Dec: 223.544 16.375
Photon Index (Free Index): 2.93 +/- 0.84
Photon Flux (Free Index): 5.66e-08 +/- 4.69e-08
Energy Flux (Free Index): 1.17e-05 +/- 8.55e-06

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/846734/cmap_HighResolution_633312001_633571201_4FGL_J1454.1+1622_daily_bin1520.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.46e-03', comment='SUCCESS', photon_flux='3.86e-08', energy_flux2='1.17e-05', photon_flux_error='3.14e-08', dlogl='2.31e-01', energy_flux='1.25e-05', photon_flux2='5.66e-08', job_status='DONE', time_completed='2021-09-10 12:52:34.035460', photon_index_error2='0.84', photon_index2='2.93', ts='2.54', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='8.55e-06', EG='0.94', time_epoch_completed='1631303554.04', return_code='0', job_id='846734', GAL2='1.10', EG2='0.91', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='4.69e-08', ts2='3.02', photon_index='2.41' WHERE bin_id='1520' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:52:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 846734: <4FGL_J1454.1+1622_daily_bin1520> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1520> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 12:37:24 2021
Job was executed on host(s) <bullet0269>, 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:52:34 2021
Results reported at Fri Sep 10 12:52:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1520 223.544 16.3747 633312001 633571201 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 :                                   681.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            910 sec.

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

