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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin793
RA = 223.544, Dec = 16.3747
tmin = 444873601, tmax = 445132801
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='842931', job_status='RUN', time_executed='2021-09-10 12:27:26.512424', time_epoch_executed='1631302046.51' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='793'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/842931

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/842931/ft1_4FGL_J1454.1+1622_daily_bin793.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/842931/ft2_4FGL_J1454.1+1622_daily_bin793.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/842931/ft1_4FGL_J1454.1+1622_daily_bin793.fits outfile=/scratch/kocevski/842931/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin793.fits ra=223.544 dec=16.3747 rad=12.0 tmin=444873601.0 tmax=445132801.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.65
user 3.31
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/842931/ft1_filtered_4FGL_J1454.1+1622_daily_bin793.fits evtable="EVENTS" scfile=/scratch/kocevski/842931/ft2_4FGL_J1454.1+1622_daily_bin793.fits sctable="SC_DATA" expcube=/scratch/kocevski/842931/ltcube_444873601_445132801_4FGL_J1454.1+1622_daily_bin793.fits outfile=/scratch/kocevski/842931/expmap_444873601_445132801_4FGL_J1454.1+1622_daily_bin793.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/842931/ltcube_444873601_445132801_4FGL_J1454.1+1622_daily_bin793.fits
.....................!
real 190.90
user 186.42
sys 4.08

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/842931/ft1_filtered_4FGL_J1454.1+1622_daily_bin793.fits scfile=/scratch/kocevski/842931/ft2_4FGL_J1454.1+1622_daily_bin793.fits outfile=/scratch/kocevski/842931/cmap_444873601_445132801_4FGL_J1454.1+1622_daily_bin793.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/842931/ft1_filtered_4FGL_J1454.1+1622_daily_bin793.fits scfile=/scratch/kocevski/842931/ft2_4FGL_J1454.1+1622_daily_bin793.fits outfile=/scratch/kocevski/842931/cmap_HighResolution_444873601_445132801_4FGL_J1454.1+1622_daily_bin793.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.343       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.652       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.003       1.0000         .10000E-03   10000.    
     7 'norm      '    18.250       1.0000         .10000E-03   10000.    
     8 'norm      '    18.048       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11007       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.2030       1.0000         .10000E-03   10000.    
    15 'norm      '    .64011       1.0000         .10000E-03   10000.    
    16 'norm      '    2.9244       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.455       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6044       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10760E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.194       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0257       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2000       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=   9387.437     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2673 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.358        23.086       -.17549E-04    .29778E-03
   2  Prefactor     .10000E-03    2.7167        .67893E-06** at limit **
   3  norm          10.653        3.1903        .13414E-06    .17214E-02
   4  Prefactor     .10000E-03    1.6351        .44307E-07** at limit **
   5  norm          .10000E-03    1.0237       -.11212E-06** at limit **
   6  Prefactor     29.007        27.291       -.51136E-05    .28219E-03
   7  norm          18.253        17.282       -.85794E-05    .45549E-03
   8  norm          18.052        6.5058       -.19888E-05    .53523E-03
   9  Prefactor     .10000E-03    16.825        .30756E-05** at limit **
  10  Prefactor     .10000E-03    19.792        .41647E-05** at limit **
  11  Prefactor     .36257        6.8873       -.12364E-05    .88716E-04
  12  Prefactor     .10000E-03    6.0687       -.15539E-07** at limit **
  13  Prefactor     .10000E-03    18.448       -.70779E-05** at limit **
  14  Prefactor     5.2038        6.2310       -.73946E-06   -.80956E-05
  15  norm          .64005        .17207       -.14525E-07    .32475E-02
  16  norm          2.9248        2.9604        .69333E-07    .35964E-03
  17  norm          .10000E-03    24.789        .64498E-06** at limit **
  18  Prefactor     19.501        43.994        .12642E-04    .73158E-04
  19  Prefactor     1.6075        10.147       -.13610E-04   -.25638E-03
  20  Prefactor     .10466E-03    29.584       -.11029E-04** at limit **
  21  Prefactor     12.234        45.257        .21799E-04    .68728E-04
  22  Normalizat    1.0252        .20524        .29504E-05    .91200E-03
  23  Prefactor     1.2001        .13008        .32994E-06    .14630E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3579
  Prefactor  = 0.000100001
  norm       = 10.6534
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.0069
  norm       = 18.2528
  norm       = 18.0518
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.362568
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.20385
  norm       = 0.640055
  norm       = 2.9248
  norm       = 0.0001
  Prefactor  = 19.5012
  Prefactor  = 1.60751
  Prefactor  = 0.000104664
  Prefactor  = 12.2337
  Normalizat = 1.02522
  Prefactor  = 1.20012
 **********
 **   18 **HESSE 
 **********

 FCN=   9387.437     FROM HESSE     STATUS=OK           378 CALLS     3051 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.358        23.037        .99072E-04   -1.4899    
   2  Prefactor     .10000E-03    8.7049        .30906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.653        3.1950        .45972E-03   -1.5055    
   4  Prefactor     .10000E-03    1.6411        .12095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.1807        .19017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.007        27.327        .37197E-03   -1.4630    
   7  norm          18.253        17.279        .93755E-04   -1.4853    
   8  norm          18.052        6.5183        .94277E-04   -1.4858    
   9  Prefactor     .10000E-03    16.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .36257        126.23        .47957E-02   -1.5588    
  12  Prefactor     .10000E-03    6.0714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.2038        6.2304        .17623E-03   -1.5252    
  15  norm          .64005        .17211        .19979E-04   -1.5548    
  16  norm          2.9248        2.9700        .16375E-03   -1.5366    
  17  norm          .10000E-03    24.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.501        44.084        .90806E-04   -1.4824    
  19  Prefactor     1.6075        10.584        .33459E-03   -1.5454    
  20  Prefactor     .10466E-03    27.919        .13047       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.234        45.334        .11471E-03   -1.5008    
  22  Normalizat    1.0252        .24144        .33481E-03   -.92190    
  23  Prefactor     1.2001        .15324        .20687E-03   -.86328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1459e-09
Minuit parameter uncertainties:
  1  23.0497
  2  0.000196273
  3  3.19501
  4  1.95009e-06
  5  1.63072e-05
  6  27.3387
  7  17.2835
  8  6.5186
  9  0.000116165
  10  5.58775e-05
  11  13.5574
  12  5.12285e-06
  13  0.000171914
  14  6.2312
  15  0.172109
  16  2.97018
  17  3.5464e-05
  18  44.1575
  19  8.25133
  20  0.0228323
  21  45.4623
  22  0.241694
  23  0.153296
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  5.123e-06  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.200e+00  1.533e-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.025e+00  2.417e-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: 4.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/842931/likelihoodResults_444873601_445132801_4FGL_J1454.1+1622_daily_bin793.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) = 9387.43740473
delta logL = -0.000784047564593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9387.43662066
delta logL = 1.96632754523e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3970       1.0000          .0000       10.000    
     3 'Normalizat'    1.0253       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2001       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=   9387.437     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      262 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.021        .18142E-01** at limit **
   2  Index         1.9618        8.6549        .50000       -.20145E-07
   3  Normalizat    1.0252        .11005E-01    .33481E-03    .19287E-04
   4  Prefactor     1.2001        .73337E-02    .20687E-03    .33963E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.96177
  Normalizat = 1.02522
  Prefactor  = 1.20012
 **********
 **   18 **HESSE 
 **********

 FCN=   9387.437     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      291 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    468.40        .24726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9618        6.4784        .50000       -.65309    
   3  Normalizat    1.0252        .43282E-01    .13392E-04   -.92190    
   4  Prefactor     1.2001        .28843E-01    .41374E-04   -.86328    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.80183e-10
Minuit parameter uncertainties:
  1  6.68359e-05
  2  1681.52
  3  0.0432839
  4  0.0288439
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/842931': 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) = 9387.43661976
delta logL = 9.17327270145e-07

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  6.684e-05  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  1.962e+00  1.682e+03  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.200e+00  2.884e-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.025e+00  4.328e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.69e-03', job_status='DONE', photon_flux_upper_limit='4.78e-08', time_completed='2021-09-10 12:39:43.920317', job_id='842931', GAL2='1.20', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1631302783.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='9.17e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='793' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:39:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 842931: <4FGL_J1454.1+1622_daily_bin793> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin793> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 12:27:09 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:27:10 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:27:10 2021
Terminated at Fri Sep 10 12:39:45 2021
Results reported at Fri Sep 10 12:39:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin793 223.544 16.3747 444873601 445132801 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 :                                   737.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            756 sec.

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

