/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 74 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 = 7581
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.1+1622_daily_bin623
RA = 223.544, Dec = 16.3747
tmin = 400809601, tmax = 401068801
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='841556', job_status='RUN', time_executed='2021-09-10 12:26:08.252041', time_epoch_executed='1631301968.25' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='623'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/841556

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/841556/ft1_4FGL_J1454.1+1622_daily_bin623.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/841556/ft2_4FGL_J1454.1+1622_daily_bin623.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/841556/ft1_4FGL_J1454.1+1622_daily_bin623.fits outfile=/scratch/kocevski/841556/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin623.fits ra=223.544 dec=16.3747 rad=12.0 tmin=400809601.0 tmax=401068801.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.41
user 3.16
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/841556/ft2_4FGL_J1454.1+1622_daily_bin623.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/841556/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin623.fits evtable="EVENTS" outfile="/scratch/kocevski/841556/ft1_filtered_4FGL_J1454.1+1622_daily_bin623.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/841556/ft1_filtered_4FGL_J1454.1+1622_daily_bin623.fits" evtable="EVENTS" scfile=/scratch/kocevski/841556/ft2_4FGL_J1454.1+1622_daily_bin623.fits sctable="SC_DATA" outfile=/scratch/kocevski/841556/ltcube_400809601_401068801_4FGL_J1454.1+1622_daily_bin623.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/841556/ft2_4FGL_J1454.1+1622_daily_bin623.fits
.....................!
real 14.74
user 14.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/841556/ft1_filtered_4FGL_J1454.1+1622_daily_bin623.fits evtable="EVENTS" scfile=/scratch/kocevski/841556/ft2_4FGL_J1454.1+1622_daily_bin623.fits sctable="SC_DATA" expcube=/scratch/kocevski/841556/ltcube_400809601_401068801_4FGL_J1454.1+1622_daily_bin623.fits outfile=/scratch/kocevski/841556/expmap_400809601_401068801_4FGL_J1454.1+1622_daily_bin623.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/841556/ltcube_400809601_401068801_4FGL_J1454.1+1622_daily_bin623.fits
.....................!
real 191.61
user 186.81
sys 4.42

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/841556/ft1_filtered_4FGL_J1454.1+1622_daily_bin623.fits scfile=/scratch/kocevski/841556/ft2_4FGL_J1454.1+1622_daily_bin623.fits outfile=/scratch/kocevski/841556/cmap_400809601_401068801_4FGL_J1454.1+1622_daily_bin623.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/841556/ft1_filtered_4FGL_J1454.1+1622_daily_bin623.fits scfile=/scratch/kocevski/841556/ft2_4FGL_J1454.1+1622_daily_bin623.fits outfile=/scratch/kocevski/841556/cmap_HighResolution_400809601_401068801_4FGL_J1454.1+1622_daily_bin623.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.64
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    12.460       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0910       1.0000         .10000E-03   10000.    
     5 'norm      '    1.2112       1.0000         .10000E-03   10000.    
     6 'Prefactor '    82.602       1.0000         .10000E-03   10000.    
     7 'norm      '    2.9792       1.0000         .10000E-03   10000.    
     8 'norm      '    3.9970       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.654       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10386E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    43.674       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .35254       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    75.026       1.0000         .10000E-03   10000.    
    18 'Prefactor '    61.510       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.4861       1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.539       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.607       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4305       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .72968       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6865.786     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     2159 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.3407       -.27614E-05** at limit **
   2  Prefactor     .10000E-03    1.9560        .12971E-06** at limit **
   3  norm          12.461        3.7633       -.47055E-06    .10051E-03
   4  Prefactor     6.0937        5.4669        .22233E-06   -.10312E-03
   5  norm          1.2119        2.7182       -.18723E-05    .57322E-04
   6  Prefactor     82.359        60.999       -.31594E-04    .14829E-02
   7  norm          3.1355        54.669        .37833E-04   -.36488E-03
   8  norm          3.9981        3.9689       -.19276E-06    .43597E-05
   9  Prefactor     .10000E-03    11.301       -.19441E-05** at limit **
  10  Prefactor     24.668        11.351        .20985E-04    .11313E-01
  11  Prefactor     .10004E-03    44.290        .17982E-04** at limit **
  12  Prefactor     .10000E-03    36.826       -.78127E-06** at limit **
  13  Prefactor     43.684        3.6000       -.25230E-05    .24361E-02
  14  Prefactor     .10000E-03    2.2440        .11822E-05** at limit **
  15  norm          .35255        .17131       -.55929E-07   -.49012E-03
  16  norm          .10000E-03    2.4194       -.12184E-05** at limit **
  17  norm          75.107        18.587        .96808E-05   -.36667E-03
  18  Prefactor     61.541        7.6355       -.90204E-06    .36443E-02
  19  Prefactor     7.4874        7.1101       -.16859E-04   -.65356E-03
  20  Prefactor     20.573        24.487       -.44910E-04    .38124E-02
  21  Prefactor     19.612        5.1374       -.98011E-05    .54068E-03
  22  Normalizat    1.4296        .25135        .84846E-05   -.48365E-05
  23  Prefactor     .73017        .16231       -.14691E-05    .51986E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.4614
  Prefactor  = 6.0937
  norm       = 1.21189
  Prefactor  = 82.3587
  norm       = 3.13552
  norm       = 3.99813
  Prefactor  = 0.0001
  Prefactor  = 24.6681
  Prefactor  = 0.000100041
  Prefactor  = 0.0001
  Prefactor  = 43.6843
  Prefactor  = 0.0001
  norm       = 0.352552
  norm       = 0.0001
  norm       = 75.1065
  Prefactor  = 61.5413
  Prefactor  = 7.48739
  Prefactor  = 20.5731
  Prefactor  = 19.612
  Normalizat = 1.42962
  Prefactor  = 0.730175
 **********
 **   18 **HESSE 
 **********

 FCN=   6865.786     FROM HESSE     STATUS=OK           426 CALLS     2585 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.3305        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.9537        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.461        3.7663        .28370E-02   -1.5002    
   4  Prefactor     6.0937        5.4658        .40670E-02   -1.5214    
   5  norm          1.2119        2.7485        .10276E-01   -1.5488    
   6  Prefactor     82.359        71.446        .11049E-02   -1.3890    
   7  norm          3.1355        87.222        .58805E-02   -1.5354    
   8  norm          3.9981        3.9796        .50432E-02   -1.5308    
   9  Prefactor     .10000E-03    11.257        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.668        20.059        .20169E-02   -1.4714    
  11  Prefactor     .10004E-03    11.580        .10369       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    36.485        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     43.684        39.144        .15166E-02   -1.4385    
  14  Prefactor     .10000E-03    2.2386        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .35255        .17258        .51820E-02   -1.5589    
  16  norm          .10000E-03    2.4161        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          75.107        69.705        .11589E-02   -1.3973    
  18  Prefactor     61.541        50.370        .12790E-02   -1.4137    
  19  Prefactor     7.4874        7.1154        .36645E-02   -1.5161    
  20  Prefactor     20.573        30.609        .22095E-02   -1.4801    
  21  Prefactor     19.612        35.853        .22613E-02   -1.4822    
  22  Normalizat    1.4296        .21453        .59777E-01   -.79776    
  23  Prefactor     .73017        .13726        .42795E-01   -1.0236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11153e-07
Minuit parameter uncertainties:
  1  3.21536e-05
  2  9.10356e-07
  3  3.76638
  4  5.46629
  5  2.74874
  6  71.5204
  7  33.1278
  8  3.9799
  9  2.83067e-05
  10  20.0643
  11  0.00137144
  12  0.000107405
  13  39.1668
  14  7.57104e-06
  15  0.172577
  16  7.57635e-06
  17  69.7807
  18  50.4052
  19  7.1162
  20  30.6326
  21  35.8924
  22  0.214669
  23  0.137321
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  1.074e-04  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:  7.302e-01  1.373e-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.430e+00  2.147e-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: 8.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/841556/likelihoodResults_400809601_401068801_4FGL_J1454.1+1622_daily_bin623.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) = 6865.78647955
delta logL = -0.00012940709712

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6865.78635046
delta logL = -3.1417766877e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3391       1.0000          .0000       10.000    
     3 'Normalizat'    1.4296       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73018       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=   6865.786     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      279 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    7320.4        .18142E-02** at limit **
   2  Index         2.4017        5.0264        .50000       -.19431E-04
   3  Normalizat    1.4296        .84761E-01    .26437E-03   -.46315E-04
   4  Prefactor     .73018        .55730E-01    .23307E-03   -.17560E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Index      = 2.40172
  Normalizat = 1.42962
  Prefactor  = 0.730175
 **********
 **   18 **HESSE 
 **********

 FCN=   6865.786     FROM HESSE     STATUS=OK            29 CALLS      308 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    44.178        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4017        6.1903        .50000       -.54645    
   3  Normalizat    1.4296        .24454        .10575E-04   -.79776    
   4  Prefactor     .73018        .16087        .93229E-05   -1.0236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.34663e-10
Minuit parameter uncertainties:
  1  0.00156811
  2  4.76821
  3  0.244739
  4  0.160974
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/841556': 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) = 6865.78635017
delta logL = -3.17859303323e-08

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  1.568e-03  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.402e+00  4.768e+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:  7.302e-01  1.610e-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.430e+00  2.447e-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/841556/cmap_HighResolution_400809601_401068801_4FGL_J1454.1+1622_daily_bin623.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-03', job_status='DONE', photon_flux_upper_limit='8.35e-08', time_completed='2021-09-10 12:36:21.525678', job_id='841556', GAL2='0.73', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1631302581.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='-3.18e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='623' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:36:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 841556: <4FGL_J1454.1+1622_daily_bin623> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin623> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 12:22:34 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:22:35 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:22:35 2021
Terminated at Fri Sep 10 12:36:22 2021
Results reported at Fri Sep 10 12:36:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin623 223.544 16.3747 400809601 401068801 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 :                                   611.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            828 sec.

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

