/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 209 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 = 7436
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin329
RA = 223.625, Dec = 51.409
tmin = 324604801, tmax = 324864001
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='849335', job_status='RUN', time_executed='2021-09-10 12:49:47.531216', time_epoch_executed='1631303387.53' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='329'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849335

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849335/ft1_4FGL_J1454.4+5124_daily_bin329.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849335/ft2_4FGL_J1454.4+5124_daily_bin329.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849335/ft1_4FGL_J1454.4+5124_daily_bin329.fits outfile=/scratch/kocevski/849335/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin329.fits ra=223.625 dec=51.409 rad=12.0 tmin=324604801.0 tmax=324864001.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 9.48
user 9.10
sys 0.33

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849335/ft1_filtered_4FGL_J1454.4+5124_daily_bin329.fits evtable="EVENTS" scfile=/scratch/kocevski/849335/ft2_4FGL_J1454.4+5124_daily_bin329.fits sctable="SC_DATA" expcube=/scratch/kocevski/849335/ltcube_324604801_324864001_4FGL_J1454.4+5124_daily_bin329.fits outfile=/scratch/kocevski/849335/expmap_324604801_324864001_4FGL_J1454.4+5124_daily_bin329.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/849335/ltcube_324604801_324864001_4FGL_J1454.4+5124_daily_bin329.fits
.....................!
real 193.10
user 187.31
sys 5.43

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/849335/ft1_filtered_4FGL_J1454.4+5124_daily_bin329.fits scfile=/scratch/kocevski/849335/ft2_4FGL_J1454.4+5124_daily_bin329.fits outfile=/scratch/kocevski/849335/cmap_324604801_324864001_4FGL_J1454.4+5124_daily_bin329.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849335/ft1_filtered_4FGL_J1454.4+5124_daily_bin329.fits scfile=/scratch/kocevski/849335/ft2_4FGL_J1454.4+5124_daily_bin329.fits outfile=/scratch/kocevski/849335/cmap_HighResolution_324604801_324864001_4FGL_J1454.4+5124_daily_bin329.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/849335/ft1_filtered_4FGL_J1454.4+5124_daily_bin329.fits evtable="EVENTS" scfile=/scratch/kocevski/849335/ft2_4FGL_J1454.4+5124_daily_bin329.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849335/Model_4FGL_J1454.4+5124_daily_bin329.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/849335/ft1_filtered_4FGL_J1454.4+5124_daily_bin329.fits.....................!
real 37.72
user 36.37
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/849335/ft1_filtered_4FGL_J1454.4+5124_daily_bin329.fits', '/scratch/kocevski/849335/ft2_4FGL_J1454.4+5124_daily_bin329.fits', expMap='/scratch/kocevski/849335/expmap_324604801_324864001_4FGL_J1454.4+5124_daily_bin329.fits', expCube='/scratch/kocevski/849335/ltcube_324604801_324864001_4FGL_J1454.4+5124_daily_bin329.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/849335/Model_4FGL_J1454.4+5124_daily_bin329.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/849335/ft1_filtered_4FGL_J1454.4+5124_daily_bin329.fits
Spacecraft file(s): /scratch/kocevski/849335/ft2_4FGL_J1454.4+5124_daily_bin329.fits
Exposure map: /scratch/kocevski/849335/expmap_324604801_324864001_4FGL_J1454.4+5124_daily_bin329.fits
Exposure cube: /scratch/kocevski/849335/ltcube_324604801_324864001_4FGL_J1454.4+5124_daily_bin329.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/849335/Model_4FGL_J1454.4+5124_daily_bin329.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) = 4064.49856378

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.0683       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .77155E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2287       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .39883E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.150       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.129       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.031       1.0000         .10000E-03   10000.    
    20 'norm      '    5.6172       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    34.359       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10989E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    19.805       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .64614       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.3434       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=   4064.492     FROM MIGRAD    STATUS=CONVERGED    690 CALLS     3437 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    102.69       -.60792E-06** at limit **
   2  norm          9.0673        7.8689        .22206E-05   -.22768E-04
   3  Prefactor     .10002E-03    1064.6       -.33357E-05** at limit **
   4  Prefactor     .10000E-03    40.853       -.84588E-07** at limit **
   5  Prefactor     .10000E-03    42.318       -.12373E-07** at limit **
   6  Prefactor     .10000E-03    1.8550        .57137E-08** at limit **
   7  Prefactor     .10000E-03    41.674       -.17577E-07** at limit **
   8  Prefactor     3.2277        3.4772       -.68957E-07   -.59772E-04
   9  Prefactor     .10000E-03    11.395       -.32600E-07** at limit **
  10  Prefactor     .10000E-03    12.946        .13489E-07** at limit **
  11  Prefactor     .10000E-03    221.16        .32125E-05** at limit **
  12  Prefactor     .10000E-03    13.924       -.36918E-07** at limit **
  13  Prefactor     .10000E-03    33.459        .18187E-06** at limit **
  14  Prefactor     .10000E-03    6.1004        .32861E-07** at limit **
  15  Prefactor     15.144        23.355        .57672E-06   -.55919E-05
  16  norm          .10000E-03    .98709        .71912E-09** at limit **
  17  Prefactor     17.132        16.159        .13237E-06   -.33494E-05
  18  Prefactor     .10000E-03    3.2040       -.34858E-08** at limit **
  19  Prefactor     14.036        11.977        .11497E-06   -.41160E-05
  20  norm          5.6179        4.3900        .70625E-07   -.26101E-05
  21  Prefactor     .10000E-03    5.6025       -.19866E-07** at limit **
  22  Prefactor     34.370        24.039        .17350E-06   -.19203E-05
  23  Prefactor     .10000E-03    17.594       -.65547E-07** at limit **
  24  Prefactor     .10000E-03    14.370       -.60749E-07** at limit **
  25  norm          19.815        12.372        .24526E-06   -.65475E-06
  26  Prefactor     .10000E-03    29.504       -.64251E-07** at limit **
  27  Normalizat    .64585        .21184       -.57140E-06   -.84553E-05
  28  Prefactor     1.3434        .23409       -.32922E-06   -.68073E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.06734
  Prefactor  = 0.000100022
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.22767
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.144
  norm       = 0.0001
  Prefactor  = 17.1322
  Prefactor  = 0.0001
  Prefactor  = 14.0358
  norm       = 5.61786
  Prefactor  = 0.0001
  Prefactor  = 34.37
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.8152
  Prefactor  = 0.0001
  Normalizat = 0.645849
  Prefactor  = 1.34341
 **********
 **   18 **HESSE 
 **********

 FCN=   4064.492     FROM HESSE     STATUS=OK           511 CALLS     3948 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    102.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.0673        7.8799        .66547E-03   -1.5106    
   3  Prefactor     .10002E-03    1069.7        .18539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    40.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    42.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.8559        .84800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    42.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2277        3.4656        .11605E-03   -1.5349    
   9  Prefactor     .10000E-03    11.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    225.35        .19498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    33.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.1030        .15378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.144        23.319        .10290E-03   -1.4929    
  16  norm          .10000E-03    1.0084        .12339E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.132        16.141        .96773E-04   -1.4880    
  18  Prefactor     .10000E-03    3.2090        .11139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.036        11.990        .10693E-03   -1.4959    
  20  norm          5.6179        4.3849        .11361E-03   -1.5234    
  21  Prefactor     .10000E-03    5.6167        .14723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     34.370        23.998        .68365E-04   -1.4535    
  23  Prefactor     .10000E-03    17.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    14.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          19.815        12.299        .90000E-04   -1.4817    
  26  Prefactor     .10000E-03    29.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .64585        .25308        .28071E-03   -1.0607    
  28  Prefactor     1.3434        .28093        .23435E-03   -.82025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70192e-11
Minuit parameter uncertainties:
  1  0.000325828
  2  7.88085
  3  0.00977427
  4  3.23415e-05
  5  4.40796e-05
  6  1.15194e-07
  7  4.77501e-06
  8  3.46577
  9  8.82655e-06
  10  3.46454e-06
  11  0.000620583
  12  4.81631e-06
  13  5.4645e-05
  14  6.23306e-07
  15  23.3327
  16  4.99937e-07
  17  16.1447
  18  5.69988e-07
  19  11.9925
  20  4.38516
  21  3.48246e-07
  22  24.0049
  23  4.02467e-06
  24  1.23629e-05
  25  12.3009
  26  3.53497e-05
  27  0.253534
  28  0.281253
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  4.999e-07  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:  1.343e+00  2.813e-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:  6.458e-01  2.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 5.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849335/likelihoodResults_324604801_324864001_4FGL_J1454.4+5124_daily_bin329.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) = 4064.49608993
delta logL = -0.00457992791007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4064.49151023
delta logL = -2.25878011406e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9642       1.0000          .0000       5.0000    
     3 'Normalizat'    .64589       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3434       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=   4064.492     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      248 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8843        .12350E-03** at limit **
   2  alpha         1.8927        3.0033        .50000        .11845E-06
   3  Normalizat    .64585        .23896        .28071E-03   -.21108E-03
   4  Prefactor     1.3434        .27946        .23435E-03   -.25670E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.89273
  Normalizat = 0.645848
  Prefactor  = 1.34341
 **********
 **   18 **HESSE 
 **********

 FCN=   4064.492     FROM HESSE     STATUS=OK            29 CALLS      277 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0341        .24700E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8927        4.0522        .50000       -.24536    
   3  Normalizat    .64585        .23917        .11228E-04   -1.0607    
   4  Prefactor     1.3434        .27971        .46870E-04   -.82025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09495e-10
Minuit parameter uncertainties:
  1  7.30931e-07
  2  71.6688
  3  0.239554
  4  0.28002
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849335': 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) = 4064.49150968
delta logL = 3.20058006764e-07

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  7.309e-07  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.893e+00  7.167e+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:  1.343e+00  2.800e-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:  6.458e-01  2.396e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.625 51.409

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/849335/cmap_HighResolution_324604801_324864001_4FGL_J1454.4+5124_daily_bin329.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.26e-05', job_status='DONE', photon_flux_upper_limit='5.95e-08', time_completed='2021-09-10 13:01:10.016249', job_id='849335', GAL2='1.34', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1631304070.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.34', dlogl='3.20e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='329' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 849335: <4FGL_J1454.4+5124_daily_bin329> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin329> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:07 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46: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:46:08 2021
Terminated at Fri Sep 10 13:01:10 2021
Results reported at Fri Sep 10 13:01:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin329 223.625 51.409 324604801 324864001 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 :                                   681.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             241.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            903 sec.

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

