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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1372
RA = 223.544, Dec = 16.3747
tmin = 594950401, tmax = 595209601
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='846497', job_status='RUN', time_executed='2021-09-10 12:40:37.784565', time_epoch_executed='1631302837.78' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1372'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846497

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846497/ft1_4FGL_J1454.1+1622_daily_bin1372.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846497/ft2_4FGL_J1454.1+1622_daily_bin1372.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846497/ft1_4FGL_J1454.1+1622_daily_bin1372.fits outfile=/scratch/kocevski/846497/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1372.fits ra=223.544 dec=16.3747 rad=12.0 tmin=594950401.0 tmax=595209601.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.43
user 2.77
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846497/ft1_filtered_4FGL_J1454.1+1622_daily_bin1372.fits evtable="EVENTS" scfile=/scratch/kocevski/846497/ft2_4FGL_J1454.1+1622_daily_bin1372.fits sctable="SC_DATA" expcube=/scratch/kocevski/846497/ltcube_594950401_595209601_4FGL_J1454.1+1622_daily_bin1372.fits outfile=/scratch/kocevski/846497/expmap_594950401_595209601_4FGL_J1454.1+1622_daily_bin1372.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/846497/ltcube_594950401_595209601_4FGL_J1454.1+1622_daily_bin1372.fits
.....................!
real 191.58
user 186.58
sys 4.50

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/846497/ft1_filtered_4FGL_J1454.1+1622_daily_bin1372.fits scfile=/scratch/kocevski/846497/ft2_4FGL_J1454.1+1622_daily_bin1372.fits outfile=/scratch/kocevski/846497/cmap_594950401_595209601_4FGL_J1454.1+1622_daily_bin1372.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846497/ft1_filtered_4FGL_J1454.1+1622_daily_bin1372.fits scfile=/scratch/kocevski/846497/ft2_4FGL_J1454.1+1622_daily_bin1372.fits outfile=/scratch/kocevski/846497/cmap_HighResolution_594950401_595209601_4FGL_J1454.1+1622_daily_bin1372.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    284.94       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.4781       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.0494       1.0000         .10000E-03   10000.    
     6 'Prefactor '    50.636       1.0000         .10000E-03   10000.    
     7 'norm      '    .10200E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.5097       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.108       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.4635       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.936       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.3808       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6436       1.0000         .10000E-03   10000.    
    15 'norm      '    .48322       1.0000         .10000E-03   10000.    
    16 'norm      '    8.9716       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    40.803       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0759       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88146       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=   7800.005     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2502 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     284.92        57.379       -.85538E-05    .12972E-04
   2  Prefactor     .10000E-03    3.1379        .13868E-06** at limit **
   3  norm          6.4779        2.4243       -.32774E-07    .89162E-04
   4  Prefactor     .10000E-03    2.0724        .54518E-07** at limit **
   5  norm          6.0490        2.9280        .82570E-07   -.62266E-04
   6  Prefactor     50.638        58.708        .38323E-05    .57887E-04
   7  norm          .10000E-03    22.571       -.82432E-05** at limit **
   8  norm          5.5093        3.6764       -.11061E-05   -.14828E-03
   9  Prefactor     15.102        25.235       -.38444E-05    .73233E-05
  10  Prefactor     .10000E-03    31.359       -.50209E-05** at limit **
  11  Prefactor     6.4627        11.378        .58281E-06   -.43604E-04
  12  Prefactor     17.922        34.551       -.25540E-04   -.71341E-04
  13  Prefactor     8.4065        61.598        .75445E-04    .29068E-04
  14  Prefactor     3.6436        3.7372       -.18561E-06    .14368E-03
  15  norm          .48322        .23236       -.55442E-07   -.62253E-03
  16  norm          8.9723        8.3006        .15301E-06    .29862E-04
  17  norm          .10000E-03    25.839        .11445E-04** at limit **
  18  Prefactor     .10000E-03    23.680        .16882E-05** at limit **
  19  Prefactor     .10000E-03    4.6829       -.66332E-07** at limit **
  20  Prefactor     40.801        35.674       -.34924E-05    .80301E-06
  21  Prefactor     .10000E-03    10.033        .50955E-07** at limit **
  22  Normalizat    1.0763        .20134        .44004E-05   -.16453E-03
  23  Prefactor     .88125        .12519       -.12661E-05    .25531E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 284.921
  Prefactor  = 0.0001
  norm       = 6.47789
  Prefactor  = 0.0001
  norm       = 6.049
  Prefactor  = 50.6385
  norm       = 0.0001
  norm       = 5.50933
  Prefactor  = 15.102
  Prefactor  = 0.0001
  Prefactor  = 6.4627
  Prefactor  = 17.9217
  Prefactor  = 8.40645
  Prefactor  = 3.64358
  norm       = 0.483224
  norm       = 8.97228
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.8005
  Prefactor  = 0.0001
  Normalizat = 1.07629
  Prefactor  = 0.881252
 **********
 **   18 **HESSE 
 **********

 FCN=   7800.005     FROM HESSE     STATUS=OK           370 CALLS     2872 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     284.92        57.327        .12021E-03   -1.2316    
   2  Prefactor     .10000E-03    3.1503        .15277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.4779        2.4259        .81421E-04   -1.5199    
   4  Prefactor     .10000E-03    2.0864        .12414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.0490        2.9282        .10044E-03   -1.5216    
   6  Prefactor     50.638        58.694        .56358E-04   -1.4284    
   7  norm          .10000E-03    22.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.5093        3.6777        .13311E-03   -1.5238    
   9  Prefactor     15.102        25.157        .10305E-03   -1.4931    
  10  Prefactor     .10000E-03    31.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.4627        11.351        .15786E-03   -1.5199    
  12  Prefactor     17.922        34.498        .94570E-04   -1.4861    
  13  Prefactor     8.4065        61.453        .13848E-03   -1.5128    
  14  Prefactor     3.6436        3.7404        .16831E-03   -1.5326    
  15  norm          .48322        .22935        .28165E-04   -1.5569    
  16  norm          8.9723        8.3058        .13381E-03   -1.5109    
  17  norm          .10000E-03    25.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    23.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.7269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     40.801        35.717        .62753E-04   -1.4430    
  21  Prefactor     .10000E-03    10.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0763        .23706        .31123E-03   -.90517    
  23  Prefactor     .88125        .14767        .21780E-03   -.96799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.30861e-10
Minuit parameter uncertainties:
  1  57.3388
  2  2.65842e-05
  3  2.42594
  4  1.11227e-05
  5  2.92822
  6  58.7612
  7  9.9807e-05
  8  3.67783
  9  25.1745
  10  3.70397e-05
  11  11.3552
  12  34.5361
  13  45.5235
  14  3.74066
  15  0.229351
  16  8.30685
  17  5.17837e-05
  18  1.87821e-05
  19  1.28664e-05
  20  35.7353
  21  2.67199e-06
  22  0.237295
  23  0.14774
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.792e+01  3.454e+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:  8.813e-01  1.477e-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.076e+00  2.373e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/846497/likelihoodResults_594950401_595209601_4FGL_J1454.1+1622_daily_bin1372.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) = 7798.54271023
delta logL = 1.46187340955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7798.52627167
delta logL = 1.47831197382

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4265       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3017       1.0000          .0000       10.000    
     3 'Normalizat'    .95334       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92735       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7798.526     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      263 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4231        30.548        .54630E-02    .69152E-03
   2  Index         4.3026        2.4850        .11649        .21366E-03
   3  Normalizat    .95316        .63264E-01    .74062E-01    .25255E-04
   4  Prefactor     .92754        .40107E-01    .45353E-01    .27468E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.42311
  Index      = 4.30261
  Normalizat = 0.953163
  Prefactor  = 0.927537
 **********
 **   18 **HESSE 
 **********

 FCN=   7798.526     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      296 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4231        55.017        .90580E-04   -1.5338    
   2  Index         4.3026        3.7180        .43010E-02   -.13993    
   3  Normalizat    .95316        .22090        .32773E-03   -.94616    
   4  Prefactor     .92754        .14010        .21264E-03   -.95185    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.19053e-10
Minuit parameter uncertainties:
  1  27.4763
  2  4.20591
  3  0.221112
  4  0.140157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846497': 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) = 7798.52626929
delta logL = 1.47831434884

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  3.423e+00  2.748e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  4.303e+00  4.206e+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:  9.275e-01  1.402e-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.532e-01  2.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.65
Ra Dec: 223.544 16.375
Photon Index (Free Index): 4.30 +/- 4.21
Photon Flux (Free Index): 1.48e-07 +/- 8.87e-08
Energy Flux (Free Index): 2.11e-05 +/- 1.63e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.93e-03', comment='SUCCESS', energy_flux2='2.11e-05', dlogl='1.48e+00', photon_flux2='1.48e-07', job_status='DONE', time_completed='2021-09-10 12:51:20.783957', photon_index_error2='4.21', photon_index2='4.30', ts='0.41', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='1.63e-05', EG='1.08', time_epoch_completed='1631303480.78', return_code='0', job_id='846497', GAL2='0.93', EG2='0.95', return_code2='102', photon_flux_error2='8.87e-08', ts2='3.65', photon_index='2.41' WHERE bin_id='1372' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:51:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 846497: <4FGL_J1454.1+1622_daily_bin1372> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1372> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 12:37:06 2021
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:37:08 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:08 2021
Terminated at Fri Sep 10 12:51:21 2021
Results reported at Fri Sep 10 12:51:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1372 223.544 16.3747 594950401 595209601 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 :                                   637.31 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             232.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            855 sec.

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

