/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 44 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 = 7677
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin23
RA = 223.625, Dec = 51.409
tmin = 245289601, tmax = 245548801
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='847744', job_status='RUN', time_executed='2021-09-10 12:42:02.995325', time_epoch_executed='1631302923.0' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='23'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847744

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847744/ft1_4FGL_J1454.4+5124_daily_bin23.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847744/ft2_4FGL_J1454.4+5124_daily_bin23.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847744/ft1_4FGL_J1454.4+5124_daily_bin23.fits outfile=/scratch/kocevski/847744/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin23.fits ra=223.625 dec=51.409 rad=12.0 tmin=245289601.0 tmax=245548801.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 1.47
user 1.28
sys 0.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/847744/ft2_4FGL_J1454.4+5124_daily_bin23.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847744/ft2_4FGL_J1454.4+5124_daily_bin23.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/847744/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin23.fits evtable="EVENTS" outfile="/scratch/kocevski/847744/ft1_filtered_4FGL_J1454.4+5124_daily_bin23.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.58
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847744/ft1_filtered_4FGL_J1454.4+5124_daily_bin23.fits" evtable="EVENTS" scfile=/scratch/kocevski/847744/ft2_4FGL_J1454.4+5124_daily_bin23.fits sctable="SC_DATA" outfile=/scratch/kocevski/847744/ltcube_245289601_245548801_4FGL_J1454.4+5124_daily_bin23.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/847744/ft2_4FGL_J1454.4+5124_daily_bin23.fits
.....................!
real 12.91
user 12.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847744/ft1_filtered_4FGL_J1454.4+5124_daily_bin23.fits evtable="EVENTS" scfile=/scratch/kocevski/847744/ft2_4FGL_J1454.4+5124_daily_bin23.fits sctable="SC_DATA" expcube=/scratch/kocevski/847744/ltcube_245289601_245548801_4FGL_J1454.4+5124_daily_bin23.fits outfile=/scratch/kocevski/847744/expmap_245289601_245548801_4FGL_J1454.4+5124_daily_bin23.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/847744/ltcube_245289601_245548801_4FGL_J1454.4+5124_daily_bin23.fits
.....................!
real 190.39
user 185.36
sys 4.61

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 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J1454.4+5124 @ 223.625 51.409

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/847744/ft1_filtered_4FGL_J1454.4+5124_daily_bin23.fits scfile=/scratch/kocevski/847744/ft2_4FGL_J1454.4+5124_daily_bin23.fits outfile=/scratch/kocevski/847744/cmap_245289601_245548801_4FGL_J1454.4+5124_daily_bin23.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.625 yref=51.409 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/847744/ft1_filtered_4FGL_J1454.4+5124_daily_bin23.fits scfile=/scratch/kocevski/847744/ft2_4FGL_J1454.4+5124_daily_bin23.fits outfile=/scratch/kocevski/847744/cmap_HighResolution_245289601_245548801_4FGL_J1454.4+5124_daily_bin23.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.625 yref=51.409 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/847744/ft1_filtered_4FGL_J1454.4+5124_daily_bin23.fits evtable="EVENTS" scfile=/scratch/kocevski/847744/ft2_4FGL_J1454.4+5124_daily_bin23.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847744/Model_4FGL_J1454.4+5124_daily_bin23.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/847744/ft1_filtered_4FGL_J1454.4+5124_daily_bin23.fits.....................!
real 50.66
user 49.32
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/847744/ft1_filtered_4FGL_J1454.4+5124_daily_bin23.fits', '/scratch/kocevski/847744/ft2_4FGL_J1454.4+5124_daily_bin23.fits', expMap='/scratch/kocevski/847744/expmap_245289601_245548801_4FGL_J1454.4+5124_daily_bin23.fits', expCube='/scratch/kocevski/847744/ltcube_245289601_245548801_4FGL_J1454.4+5124_daily_bin23.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/847744/Model_4FGL_J1454.4+5124_daily_bin23.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.4+5124'

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.118e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/847744/ft1_filtered_4FGL_J1454.4+5124_daily_bin23.fits
Spacecraft file(s): /scratch/kocevski/847744/ft2_4FGL_J1454.4+5124_daily_bin23.fits
Exposure map: /scratch/kocevski/847744/expmap_245289601_245548801_4FGL_J1454.4+5124_daily_bin23.fits
Exposure cube: /scratch/kocevski/847744/ltcube_245289601_245548801_4FGL_J1454.4+5124_daily_bin23.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/847744/Model_4FGL_J1454.4+5124_daily_bin23.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) = 6063.30620514

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    53.903       1.0000         .10000E-03   10000.    
     2 'norm      '    .10365E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    230.83       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13718E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8345       1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.411       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.2093       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11127E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2662       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.462       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10518E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.1105       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.443       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.112       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.204       1.0000         .10000E-03   10000.    
    20 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12538E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    19.570       1.0000         .10000E-03   10000.    
    23 'Prefactor '    20.561       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .16506E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    131.69       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .93169       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .80799       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6063.178     FROM MIGRAD    STATUS=CONVERGED    671 CALLS     3971 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          53.915        74.976       -.14959E-05   -.63507E-05
   2  norm          .10000E-03    3.3909        .29500E-07** at limit **
   3  Prefactor     230.92        471.47       -.61527E-05   -.28184E-05
   4  Prefactor     .10000E-03    23.519        .15684E-05** at limit **
   5  Prefactor     .10000E-03    59.452        .57531E-05** at limit **
   6  Prefactor     4.8325        6.2197        .13865E-05    .48309E-04
   7  Prefactor     29.408        22.006       -.34301E-06   -.17581E-04
   8  Prefactor     .10000E-03    .83610        .24246E-07** at limit **
   9  Prefactor     .10000E-03    8.0053       -.68722E-08** at limit **
  10  Prefactor     8.2046        15.714        .51394E-06    .42949E-05
  11  Prefactor     .10000E-03    44.939       -.51365E-05** at limit **
  12  Prefactor     2.2618        32.566        .47790E-06   -.26230E-06
  13  Prefactor     32.461        25.652        .25695E-07   -.11562E-05
  14  Prefactor     .10000E-03    9.6914        .13876E-06** at limit **
  15  Prefactor     .10000E-03    25.586       -.17696E-06** at limit **
  16  norm          3.1103        1.8205        .15581E-07    .13222E-04
  17  Prefactor     10.442        9.6310       -.11100E-07   -.32691E-05
  18  Prefactor     13.111        7.1308        .84713E-07   -.14062E-04
  19  Prefactor     13.203        9.4696        .39158E-07   -.39541E-05
  20  norm          .10000E-03    2.2644       -.16652E-07** at limit **
  21  Prefactor     .10001E-03    6.0347        .78408E-06** at limit **
  22  Prefactor     19.569        17.519        .13203E-06   -.39875E-04
  23  Prefactor     20.567        14.043        .24627E-06   -.13902E-03
  24  Prefactor     .10000E-03    2.5074       -.10631E-07** at limit **
  25  norm          .10000E-03    4.0392        .73402E-07** at limit **
  26  Prefactor     131.68        81.445        .79193E-06    .52419E-05
  27  Normalizat    .93195        .16503       -.20763E-06   -.58523E-04
  28  Prefactor     .80781        .17585       -.15226E-06   -.56879E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 53.9148
  norm       = 0.0001
  Prefactor  = 230.923
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.83249
  Prefactor  = 29.4079
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.20458
  Prefactor  = 0.0001
  Prefactor  = 2.26181
  Prefactor  = 32.4614
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.11026
  Prefactor  = 10.4421
  Prefactor  = 13.1112
  Prefactor  = 13.2027
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 19.5695
  Prefactor  = 20.5672
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 131.68
  Normalizat = 0.931947
  Prefactor  = 0.807808
 **********
 **   18 **HESSE 
 **********

 FCN=   6063.178     FROM HESSE     STATUS=OK           523 CALLS     4494 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          53.915        75.017        .54632E-04   -1.4238    
   2  norm          .10000E-03    3.4914        .27974E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     230.92        471.50        .13318E-03   -1.2657    
   4  Prefactor     .10000E-03    23.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    59.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.8325        6.2657        .91480E-03   -1.5268    
   7  Prefactor     29.408        22.093        .73877E-04   -1.4623    
   8  Prefactor     .10000E-03    .84018        .69403E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.0133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.2046        15.718        .69963E-03   -1.5135    
  11  Prefactor     .10000E-03    45.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.2618        32.724        .27284E-03   -1.5407    
  13  Prefactor     32.461        25.654        .70328E-04   -1.4568    
  14  Prefactor     .10000E-03    9.7355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.1103        1.8167        .76761E-04   -1.5355    
  17  Prefactor     10.442        9.6137        .12399E-03   -1.5062    
  18  Prefactor     13.111        7.1293        .11062E-03   -1.4984    
  19  Prefactor     13.203        9.5262        .11023E-03   -1.4981    
  20  norm          .10000E-03    2.3385        .22824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    16.956        .32664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     19.569        17.511        .90539E-04   -1.4823    
  23  Prefactor     20.567        13.060        .88331E-04   -1.4801    
  24  Prefactor     .10000E-03    2.5167        .12034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    9.7060        .30379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     131.68        81.482        .17544E-03   -1.3408    
  27  Normalizat    .93195        .19475        .22314E-03   -.95346    
  28  Prefactor     .80781        .20589        .26677E-03   -.99441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41413e-10
Minuit parameter uncertainties:
  1  75.1491
  2  3.14226e-06
  3  479.613
  4  2.72552e-05
  5  0.000119358
  6  6.26656
  7  22.0995
  8  1.19785e-07
  9  3.22574e-07
  10  15.7259
  11  0.000144094
  12  17.2175
  13  25.6626
  14  1.49413e-06
  15  1.84128e-05
  16  1.81674
  17  9.6151
  18  7.12972
  19  9.52726
  20  5.6474e-06
  21  0.000702985
  22  17.5151
  23  13.0617
  24  2.48265e-07
  25  9.36779e-07
  26  81.5512
  27  0.1949
  28  0.206082
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.110e+00  1.817e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.078e-01  2.061e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.319e-01  1.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.74
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.68e-08 +/- 2.73e-08
Energy Flux (Fixed Index): 3.35e-05 +/- 1.95e-05

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) = 6062.61274549
delta logL = 0.564849233439

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6062.60771698
delta logL = 0.569877750579

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3023       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4918       1.0000          .0000       5.0000    
     3 'Normalizat'    .89139       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82902       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+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=   6062.608     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      263 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3024        1.7326        .27045E-04   -.57085E-03
   2  alpha         2.4918        .50738        .77365E-02   -.58558E-04
   3  Normalizat    .89140        .18498        .22722E-03    .10727E-03
   4  Prefactor     .82902        .20375        .26324E-03    .74887E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.30239
  alpha      = 2.49178
  Normalizat = 0.8914
  Prefactor  = 0.829018
 **********
 **   18 **HESSE 
 **********

 FCN=   6062.608     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3024        1.6106        .10818E-05   -1.5404    
   2  alpha         2.4918        .47154        .30946E-03   -.32863E-02
   3  Normalizat    .89140        .18462        .90889E-05   -.96763    
   4  Prefactor     .82902        .20365        .10530E-04   -.98667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28869e-10
Minuit parameter uncertainties:
  1  1.61067
  2  0.474381
  3  0.184751
  4  0.203832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847744': 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) = 6062.60771698
delta logL = 0.569877752215

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.302e+00  1.611e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.492e+00  4.744e-01  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.290e-01  2.038e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  8.914e-01  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.86
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.49 +/- 0.47
Photon Flux (Free Index): 8.55e-08 +/- 5.05e-08
Energy Flux (Free Index): 2.69e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/847744/cmap_HighResolution_245289601_245548801_4FGL_J1454.4+5124_daily_bin23.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.68e-08', energy_flux2='2.69e-05', photon_flux_error='2.73e-08', dlogl='5.70e-01', energy_flux='3.35e-05', photon_flux2='8.55e-08', job_status='DONE', time_completed='2021-09-10 12:54:38.963886', photon_index_error2='0.47', photon_index2='2.49', ts='11.74', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='0.93', time_epoch_completed='1631303678.96', return_code='0', job_id='847744', GAL2='0.83', EG2='0.89', return_code2='0', energy_flux_error='1.95e-05', photon_flux_error2='5.05e-08', ts2='12.86', photon_index='1.97' WHERE bin_id='23' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:54:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 847744: <4FGL_J1454.4+5124_daily_bin23> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin23> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:05 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:07 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:41:07 2021
Terminated at Fri Sep 10 12:54:39 2021
Results reported at Fri Sep 10 12:54:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin23 223.625 51.409 245289601 245548801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.4+5124 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   755.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            814 sec.

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

