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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1530
RA = 223.544, Dec = 16.3747
tmin = 635904001, tmax = 636163201
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='846750', job_status='RUN', time_executed='2021-09-10 12:37:36.898991', time_epoch_executed='1631302656.9' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1530'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846750

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846750/ft1_4FGL_J1454.1+1622_daily_bin1530.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846750/ft2_4FGL_J1454.1+1622_daily_bin1530.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846750/ft1_4FGL_J1454.1+1622_daily_bin1530.fits outfile=/scratch/kocevski/846750/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1530.fits ra=223.544 dec=16.3747 rad=12.0 tmin=635904001.0 tmax=636163201.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.91
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846750/ft1_filtered_4FGL_J1454.1+1622_daily_bin1530.fits" evtable="EVENTS" scfile=/scratch/kocevski/846750/ft2_4FGL_J1454.1+1622_daily_bin1530.fits sctable="SC_DATA" outfile=/scratch/kocevski/846750/ltcube_635904001_636163201_4FGL_J1454.1+1622_daily_bin1530.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/846750/ft2_4FGL_J1454.1+1622_daily_bin1530.fits
.....................!
real 11.94
user 11.60
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846750/ft1_filtered_4FGL_J1454.1+1622_daily_bin1530.fits evtable="EVENTS" scfile=/scratch/kocevski/846750/ft2_4FGL_J1454.1+1622_daily_bin1530.fits sctable="SC_DATA" expcube=/scratch/kocevski/846750/ltcube_635904001_636163201_4FGL_J1454.1+1622_daily_bin1530.fits outfile=/scratch/kocevski/846750/expmap_635904001_636163201_4FGL_J1454.1+1622_daily_bin1530.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/846750/ltcube_635904001_636163201_4FGL_J1454.1+1622_daily_bin1530.fits
.....................!
real 192.16
user 186.85
sys 4.93

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/846750/ft1_filtered_4FGL_J1454.1+1622_daily_bin1530.fits scfile=/scratch/kocevski/846750/ft2_4FGL_J1454.1+1622_daily_bin1530.fits outfile=/scratch/kocevski/846750/cmap_635904001_636163201_4FGL_J1454.1+1622_daily_bin1530.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.59
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    75.025       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.5546       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14091E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .44793       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.837       1.0000         .10000E-03   10000.    
     7 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.1524       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.445       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11189E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .14836       1.0000         .10000E-03   10000.    
    16 'norm      '    2.9955       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    44.739       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8407       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9812       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .86481E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .81124       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2883       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=   7840.089     FROM MIGRAD    STATUS=CONVERGED    910 CALLS     2962 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     75.038        34.887        .46356E-04   -.13386E-03
   2  Prefactor     .10000E-03    2.1695        .12723E-02** at limit **
   3  norm          5.5539        2.9925        .10869E-03   -.70812E-04
   4  Prefactor     .10000E-03    17.287        .34712E-02** at limit **
   5  norm          .44790        2.4813        .26400E-03    .48748E-04
   6  Prefactor     13.825        24.906        .10768E-03   -.22806E-04
   7  norm          .10000E-03    5.6828        .18142E-02** at limit **
   8  norm          6.1512        4.7958        .16185E-03   -.73752E-05
   9  Prefactor     .10000E-03    15.488        .18142E-02** at limit **
  10  Prefactor     .10000E-03    9.4044        .18142E-02** at limit **
  11  Prefactor     23.431        15.979        .82726E-04   -.28859E-04
  12  Prefactor     .10000E-03    11.305        .18142E-02** at limit **
  13  Prefactor     .10000E-03    27.963        .14494    ** at limit **
  14  Prefactor     .10000E-03    3.2191        .15492E-02** at limit **
  15  norm          .14838        .12339        .28956E-03    .17537E-02
  16  norm          2.9955        3.0398        .15138E-03    .58879E-04
  17  norm          .10000E-03    17.350        .18142E-02** at limit **
  18  Prefactor     44.755        49.242        .59940E-04   -.38199E-04
  19  Prefactor     1.8406        9.9337        .15372E-02    .36348E-03
  20  Prefactor     2.9630        97.482        .23513E-03   -.19437E-04
  21  Prefactor     .10000E-03    203.88        .20855E-02** at limit **
  22  Normalizat    .81163        .25505        .35777E-03   -.16514E-03
  23  Prefactor     1.2882        .16427        .19327E-03   -.64181E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 75.0378
  Prefactor  = 0.0001
  norm       = 5.5539
  Prefactor  = 0.000100002
  norm       = 0.447901
  Prefactor  = 13.8253
  norm       = 0.0001
  norm       = 6.15121
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4308
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.148375
  norm       = 2.99552
  norm       = 0.0001
  Prefactor  = 44.755
  Prefactor  = 1.84057
  Prefactor  = 2.96299
  Prefactor  = 0.000100002
  Normalizat = 0.811627
  Prefactor  = 1.28815
 **********
 **   18 **HESSE 
 **********

 FCN=   7840.089     FROM HESSE     STATUS=OK           360 CALLS     3322 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     75.038        34.885        .92711E-05   -1.3973    
   2  Prefactor     .10000E-03    2.1696        .25447E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.5539        2.9925        .43476E-05   -1.5237    
   4  Prefactor     .10000E-03    17.484        .69424E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .44790        2.4802        .10560E-04   -1.5574    
   6  Prefactor     13.825        24.908        .43070E-05   -1.4964    
   7  norm          .10000E-03    5.6830        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.1512        4.7956        .64742E-05   -1.5212    
   9  Prefactor     .10000E-03    15.491        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.4053        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     23.431        15.979        .33090E-05   -1.4739    
  12  Prefactor     .10000E-03    11.305        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    27.686        .14617       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.2194        .30984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .14838        .12335        .11582E-04   -1.5631    
  16  norm          2.9955        3.0398        .60552E-05   -1.5362    
  17  norm          .10000E-03    17.351        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     44.755        49.240        .11988E-04   -1.4369    
  19  Prefactor     1.8406        9.9282        .30745E-03   -1.5437    
  20  Prefactor     2.9630        97.419        .94054E-05   -1.5364    
  21  Prefactor     .10000E-03    204.03        .41710E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .81163        .25517        .14311E-04   -.99639    
  23  Prefactor     1.2882        .16440        .38653E-04   -.83660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04656e-10
Minuit parameter uncertainties:
  1  34.8947
  2  7.07921e-07
  3  2.99254
  4  0.000385985
  5  2.10786
  6  24.9269
  7  3.80344e-06
  8  4.79589
  9  8.76988e-05
  10  1.23755e-05
  11  15.9824
  12  6.02919e-05
  13  0.000604872
  14  1.20642e-05
  15  0.123351
  16  3.04001
  17  1.2155e-05
  18  49.2846
  19  8.55152
  20  34.0394
  21  0.00132069
  22  0.255546
  23  0.16447
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  6.029e-05  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.288e+00  1.645e-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:  8.116e-01  2.555e-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: 6.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846750/likelihoodResults_635904001_636163201_4FGL_J1454.1+1622_daily_bin1530.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) = 7840.08991796
delta logL = -0.00042120713897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7840.08949674
delta logL = 6.73844624544e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10567E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3720       1.0000          .0000       10.000    
     3 'Normalizat'    .81164       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2881       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7840.089     FROM MIGRAD    STATUS=FAILED       165 CALLS      318 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46414        592.98        .11705        .38048E-03
   2  Index         1.3640        9.3180        .50000       -.36331E-04
   3  Normalizat    .81200        .37268E-01    .35777E-03   -.14395E-04
   4  Prefactor     1.2877        .25059E-01    .19327E-03    .31218E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7840.089     FROM SIMPLEX   STATUS=UNCHANGED     90 CALLS      408 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46414        592.98        .12518E-02    .38048E-03
   2  Index         1.3640        9.3180        .24419E-02   -.36331E-04
   3  Normalizat    .81200        .37268E-01    .75877E-04   -.14395E-04
   4  Prefactor     1.2877        .25059E-01    .18705E-04    .31218E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7840.089     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      454 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46418        84.468       -.20962E-06    .51280E-04
   2  Index         1.3640        .38336        .18502E-05    .66643E-05
   3  Normalizat    .81200        .24496        .54472E-08   -.12438E-04
   4  Prefactor     1.2877        .16422       -.17102E-08    .31918E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.464183
  Index      = 1.364
  Normalizat = 0.812005
  Prefactor  = 1.28773
 **********
 **   18 **HESSE 
 **********

 FCN=   7840.089     FROM HESSE     STATUS=OK            27 CALLS      481 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46418        92.656        .24232E-03   -1.5572    
   2  Index         1.3640        2.7421        .95981E-02   -.81423    
   3  Normalizat    .81200        .24502        .28622E-05   -.99625    
   4  Prefactor     1.2877        .16418        .77306E-05   -.83673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88905e-10
Minuit parameter uncertainties:
  1  13.1355
  2  3.17658
  3  0.245359
  4  0.164248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846750': 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) = 7840.08885376
delta logL = 0.000642993276415

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  4.642e-01  1.314e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  1.364e+00  3.177e+00  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  1.288e+00  1.642e-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:  8.120e-01  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.544 16.375

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/846750/cmap_HighResolution_635904001_636163201_4FGL_J1454.1+1622_daily_bin1530.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e-03', job_status='DONE', photon_flux_upper_limit='6.63e-08', time_completed='2021-09-10 12:49:16.385269', job_id='846750', GAL2='1.29', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1631303356.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='6.43e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1530' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:49:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 846750: <4FGL_J1454.1+1622_daily_bin1530> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1530> 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) <bullet0293>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:37:26 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:26 2021
Terminated at Fri Sep 10 12:49:17 2021
Results reported at Fri Sep 10 12:49:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1530 223.544 16.3747 635904001 636163201 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 :                                   696.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            712 sec.

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

