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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1212
RA = 223.544, Dec = 16.3747
tmin = 553478401, tmax = 553737601
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='844643', job_status='RUN', time_executed='2021-09-10 12:35:34.472637', time_epoch_executed='1631302534.47' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1212'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844643

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844643/ft1_4FGL_J1454.1+1622_daily_bin1212.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844643/ft2_4FGL_J1454.1+1622_daily_bin1212.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844643/ft1_4FGL_J1454.1+1622_daily_bin1212.fits outfile=/scratch/kocevski/844643/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1212.fits ra=223.544 dec=16.3747 rad=12.0 tmin=553478401.0 tmax=553737601.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 2.67
user 2.41
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/844643/ft2_4FGL_J1454.1+1622_daily_bin1212.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/844643/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1212.fits evtable="EVENTS" outfile="/scratch/kocevski/844643/ft1_filtered_4FGL_J1454.1+1622_daily_bin1212.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.70
user 0.31
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844643/ft1_filtered_4FGL_J1454.1+1622_daily_bin1212.fits evtable="EVENTS" scfile=/scratch/kocevski/844643/ft2_4FGL_J1454.1+1622_daily_bin1212.fits sctable="SC_DATA" expcube=/scratch/kocevski/844643/ltcube_553478401_553737601_4FGL_J1454.1+1622_daily_bin1212.fits outfile=/scratch/kocevski/844643/expmap_553478401_553737601_4FGL_J1454.1+1622_daily_bin1212.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/844643/ltcube_553478401_553737601_4FGL_J1454.1+1622_daily_bin1212.fits
.....................!
real 191.10
user 186.40
sys 4.16

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/844643/ft1_filtered_4FGL_J1454.1+1622_daily_bin1212.fits scfile=/scratch/kocevski/844643/ft2_4FGL_J1454.1+1622_daily_bin1212.fits outfile=/scratch/kocevski/844643/cmap_553478401_553737601_4FGL_J1454.1+1622_daily_bin1212.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.60
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844643/ft1_filtered_4FGL_J1454.1+1622_daily_bin1212.fits scfile=/scratch/kocevski/844643/ft2_4FGL_J1454.1+1622_daily_bin1212.fits outfile=/scratch/kocevski/844643/cmap_HighResolution_553478401_553737601_4FGL_J1454.1+1622_daily_bin1212.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=223.544 yref=16.3747 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10572E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4886       1.0000         .10000E-03   10000.    
     3 'norm      '    5.3356       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.6076       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.596       1.0000         .10000E-03   10000.    
     7 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.7594       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.2207       1.0000         .10000E-03   10000.    
    16 'norm      '    4.7723       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.3561       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    35.860       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4970       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .78105       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=   10007.73     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2481 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.827       -.10748E-04** at limit **
   2  Prefactor     1.4836        1.8203        .33331E-06   -.17944E-02
   3  norm          5.3357        2.0699        .10079E-07    .16813E-04
   4  Prefactor     .10000E-03    1.7489       -.11458E-06** at limit **
   5  norm          4.6079        2.5306       -.90053E-07    .11099E-04
   6  Prefactor     18.593        21.096       -.93464E-06   -.25555E-04
   7  norm          .10000E-03    13.270       -.46343E-06** at limit **
   8  norm          2.7596        2.8357        .62844E-07   -.73384E-03
   9  Prefactor     .10000E-03    7.1409       -.32783E-05** at limit **
  10  Prefactor     .10000E-03    22.821        .20976E-04** at limit **
  11  Prefactor     .10000E-03    4.2350       -.43177E-07** at limit **
  12  Prefactor     .10000E-03    6.5195        .15437E-05** at limit **
  13  Prefactor     .10000E-03    7.5498        .98344E-06** at limit **
  14  Prefactor     .10000E-03    2.5773       -.78554E-07** at limit **
  15  norm          1.2207        .23083       -.99850E-09   -.15467E-02
  16  norm          4.7723        4.6697        .28286E-07   -.94490E-05
  17  norm          .10000E-03    12.192        .84361E-05** at limit **
  18  Prefactor     .10000E-03    16.613       -.82101E-05** at limit **
  19  Prefactor     5.3567        7.1320       -.21226E-07   -.10783E-04
  20  Prefactor     .10000E-03    15.862       -.90959E-05** at limit **
  21  Prefactor     35.861        31.694        .16337E-05    .23111E-04
  22  Normalizat    1.4969        .17424        .33588E-06   -.62522E-05
  23  Prefactor     .78104        .11318       -.33227E-06    .48362E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.48364
  norm       = 5.33568
  Prefactor  = 0.0001
  norm       = 4.60789
  Prefactor  = 18.5933
  norm       = 0.0001
  norm       = 2.75959
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.22069
  norm       = 4.77231
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.35668
  Prefactor  = 0.0001
  Prefactor  = 35.8613
  Normalizat = 1.49693
  Prefactor  = 0.781037
 **********
 **   18 **HESSE 
 **********

 FCN=   10007.73     FROM HESSE     STATUS=OK           368 CALLS     2849 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4836        6.1255        .17573E-02   -1.5464    
   3  norm          5.3357        2.0708        .87170E-04   -1.5246    
   4  Prefactor     .10000E-03    1.7615        .12916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.6079        2.5302        .11309E-03   -1.5279    
   6  Prefactor     18.593        21.073        .92879E-04   -1.4845    
   7  norm          .10000E-03    13.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.7596        2.8656        .83740E-03   -1.5376    
   9  Prefactor     .10000E-03    7.1725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.2450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.5299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.5514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.5856        .15683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.2207        .23102        .19943E-04   -1.5487    
  16  norm          4.7723        4.6740        .18417E-03   -1.5271    
  17  norm          .10000E-03    12.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.3567        7.1321        .17365E-03   -1.5245    
  20  Prefactor     .10000E-03    15.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     35.861        31.725        .66924E-04   -1.4510    
  22  Normalizat    1.4969        .21010        .26954E-03   -.77865    
  23  Prefactor     .78104        .13501        .23286E-03   -1.0043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.8084e-09
Minuit parameter uncertainties:
  1  7.09539e-05
  2  6.03014
  3  2.07083
  4  5.56752e-07
  5  2.53022
  6  21.0809
  7  2.57087e-05
  8  2.86569
  9  8.55644e-07
  10  4.59719e-05
  11  6.46498e-07
  12  1.97677e-06
  13  1.27405e-06
  14  1.14851e-08
  15  0.231021
  16  4.67435
  17  1.66414e-05
  18  1.58222e-05
  19  7.13324
  20  1.62145e-05
  21  31.7394
  22  0.210225
  23  0.135064
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  1.977e-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:  7.810e-01  1.351e-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.497e+00  2.102e-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.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/844643/likelihoodResults_553478401_553737601_4FGL_J1454.1+1622_daily_bin1212.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) = 10007.7344831
delta logL = -0.000728926061129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10007.7337548
delta logL = -5.8139085013e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4002       1.0000          .0000       10.000    
     3 'Normalizat'    1.4969       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78101       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=   10007.73     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      252 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.283        .18142E-01** at limit **
   2  Index         1.9969        7.9991        .50000       -.25329E-07
   3  Normalizat    1.4969        .86488E-02    .26954E-03   -.10882E-04
   4  Prefactor     .78104        .56393E-02    .23286E-03   -.99595E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.99691
  Normalizat = 1.49693
  Prefactor  = 0.781037
 **********
 **   18 **HESSE 
 **********

 FCN=   10007.73     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      281 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    451.56        .25955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9969        9.0007        .50000       -.64427    
   3  Normalizat    1.4969        .38118E-01    .10782E-04   -.77865    
   4  Prefactor     .78104        .24855E-01    .93146E-05   -1.0043    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.85072e-10
Minuit parameter uncertainties:
  1  0.000132145
  2  1623.93
  3  0.0381192
  4  0.0248551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844643': 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) = 10007.7337536
delta logL = 5.87237082073e-07

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  1.321e-04  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  1.997e+00  1.624e+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:  7.810e-01  2.486e-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.497e+00  3.812e-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/844643/cmap_HighResolution_553478401_553737601_4FGL_J1454.1+1622_daily_bin1212.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-03', job_status='DONE', photon_flux_upper_limit='4.51e-08', time_completed='2021-09-10 12:47:53.007019', job_id='844643', GAL2='0.78', fit_tolerance='1e-08', EG2='1.50', EG='1.50', time_epoch_completed='1631303273.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='5.87e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1212' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:47:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 844643: <4FGL_J1454.1+1622_daily_bin1212> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1212> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep 10 12:32:22 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:32:23 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:32:23 2021
Terminated at Fri Sep 10 12:47:53 2021
Results reported at Fri Sep 10 12:47:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1212 223.544 16.3747 553478401 553737601 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 :                                   738.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            931 sec.

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

