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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin69
RA = 223.625, Dec = 51.409
tmin = 257212801, tmax = 257472001
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='847810', job_status='RUN', time_executed='2021-09-10 12:43:54.522352', time_epoch_executed='1631303034.52' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='69'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847810

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847810/ft1_4FGL_J1454.4+5124_daily_bin69.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847810/ft2_4FGL_J1454.4+5124_daily_bin69.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847810/ft1_4FGL_J1454.4+5124_daily_bin69.fits outfile=/scratch/kocevski/847810/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin69.fits ra=223.625 dec=51.409 rad=12.0 tmin=257212801.0 tmax=257472001.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.31
user 2.10
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847810/ft1_filtered_4FGL_J1454.4+5124_daily_bin69.fits" evtable="EVENTS" scfile=/scratch/kocevski/847810/ft2_4FGL_J1454.4+5124_daily_bin69.fits sctable="SC_DATA" outfile=/scratch/kocevski/847810/ltcube_257212801_257472001_4FGL_J1454.4+5124_daily_bin69.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/847810/ft2_4FGL_J1454.4+5124_daily_bin69.fits
.....................!
real 12.38
user 12.00
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847810/ft1_filtered_4FGL_J1454.4+5124_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/847810/ft2_4FGL_J1454.4+5124_daily_bin69.fits sctable="SC_DATA" expcube=/scratch/kocevski/847810/ltcube_257212801_257472001_4FGL_J1454.4+5124_daily_bin69.fits outfile=/scratch/kocevski/847810/expmap_257212801_257472001_4FGL_J1454.4+5124_daily_bin69.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/847810/ltcube_257212801_257472001_4FGL_J1454.4+5124_daily_bin69.fits
.....................!
real 195.77
user 188.89
sys 5.41

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/847810/ft1_filtered_4FGL_J1454.4+5124_daily_bin69.fits scfile=/scratch/kocevski/847810/ft2_4FGL_J1454.4+5124_daily_bin69.fits outfile=/scratch/kocevski/847810/cmap_257212801_257472001_4FGL_J1454.4+5124_daily_bin69.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847810/ft1_filtered_4FGL_J1454.4+5124_daily_bin69.fits scfile=/scratch/kocevski/847810/ft2_4FGL_J1454.4+5124_daily_bin69.fits outfile=/scratch/kocevski/847810/cmap_HighResolution_257212801_257472001_4FGL_J1454.4+5124_daily_bin69.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.7399       1.0000         .10000E-03   10000.    
     3 'Prefactor '    205.84       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11926E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.7734       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16835E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.9408       1.0000         .10000E-03   10000.    
    10 'Prefactor '    38.949       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.242       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.5545       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.830       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .52766       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    19.317       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    31.454       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .93811       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .75137       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=   5381.638     FROM MIGRAD    STATUS=CONVERGED    698 CALLS     3497 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.756       -.30293E-05** at limit **
   2  norm          3.7382        3.6654       -.32506E-06   -.46680E-03
   3  Prefactor     205.78        523.47       -.59964E-05   -.13076E-04
   4  Prefactor     .10000E-03    256.19       -.69802E-05** at limit **
   5  Prefactor     .10000E-03    20.066       -.18515E-05** at limit **
   6  Prefactor     .10000E-03    1.5443        .35887E-07** at limit **
   7  Prefactor     6.7727        19.039        .12467E-05   -.24045E-04
   8  Prefactor     .10001E-03    1.9507        .16334E-05** at limit **
   9  Prefactor     9.9181        25.690        .30762E-06   -.12968E-03
  10  Prefactor     38.911        24.918       -.75710E-06   -.37792E-03
  11  Prefactor     29.217        34.335        .26849E-06   -.24337E-04
  12  Prefactor     8.5550        13.378        .33379E-06   -.13956E-05
  13  Prefactor     .10000E-03    12.813        .39721E-06** at limit **
  14  Prefactor     .10000E-03    4.4984        .65172E-07** at limit **
  15  Prefactor     21.829        14.750        .18195E-06   -.71340E-04
  16  norm          .10000E-03    .38642        .29567E-07** at limit **
  17  Prefactor     .10000E-03    3.4199        .79163E-07** at limit **
  18  Prefactor     .10000E-03    3.7386       -.27813E-07** at limit **
  19  Prefactor     .10000E-03    3.0895        .75140E-07** at limit **
  20  norm          .52827        3.7964        .18862E-05   -.88458E-04
  21  Prefactor     .10000E-03    7.6754        .38366E-07** at limit **
  22  Prefactor     .10000E-03    57.423        .60254E-06** at limit **
  23  Prefactor     19.319        13.477        .27841E-07   -.10876E-03
  24  Prefactor     .10000E-03    8.7665        .79358E-07** at limit **
  25  norm          31.456        13.840        .46997E-06    .35011E-04
  26  Prefactor     .10000E-03    23.276        .44227E-05** at limit **
  27  Normalizat    .93806        .17043       -.26989E-05   -.37675E-03
  28  Prefactor     .75137        .17982        .12337E-05   -.41913E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 3.73825
  Prefactor  = 205.783
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.77271
  Prefactor  = 0.000100013
  Prefactor  = 9.91807
  Prefactor  = 38.9112
  Prefactor  = 29.2172
  Prefactor  = 8.55495
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.8291
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.528272
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.3186
  Prefactor  = 0.0001
  norm       = 31.4562
  Prefactor  = 0.000100002
  Normalizat = 0.938062
  Prefactor  = 0.751374
 **********
 **   18 **HESSE 
 **********

 FCN=   5381.638     FROM HESSE     STATUS=OK           509 CALLS     4006 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    28.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7382        3.6656        .13341E-03   -1.5321    
   3  Prefactor     205.78        524.58        .14086E-03   -1.2829    
   4  Prefactor     .10000E-03    264.18        .36330E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.5473        .89008E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.7727        19.166        .15417E-03   -1.5187    
   8  Prefactor     .10001E-03    4.8608        .17085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9181        25.581        .12709E-03   -1.5078    
  10  Prefactor     38.911        24.921        .64224E-04   -1.4460    
  11  Prefactor     29.217        34.333        .74090E-04   -1.4626    
  12  Prefactor     8.5550        13.375        .13706E-03   -1.5123    
  13  Prefactor     .10000E-03    12.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.5035        .15194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.829        14.732        .85729E-04   -1.4773    
  16  norm          .10000E-03    .38951        .44497E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.4335        .13250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.7907        .13837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.1092        .12593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .52827        3.7410        .26244E-03   -1.5563    
  21  Prefactor     .10000E-03    7.7429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    58.662        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     19.319        13.170        .91130E-04   -1.4829    
  24  Prefactor     .10000E-03    8.7906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          31.456        13.827        .71443E-04   -1.4586    
  26  Prefactor     .10000E-03    23.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .93806        .19796        .21044E-03   -.95135    
  28  Prefactor     .75137        .21066        .26144E-03   -1.0155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16137e-09
Minuit parameter uncertainties:
  1  0.000318306
  2  3.66584
  3  537.318
  4  0.00188227
  5  0.000154203
  6  1.35212e-06
  7  19.183
  8  0.000494976
  9  25.6094
  10  24.9277
  11  34.3562
  12  13.3794
  13  1.53337e-05
  14  2.20868e-06
  15  14.734
  16  4.19172e-07
  17  5.78914e-06
  18  3.72618e-06
  19  8.30265e-06
  20  2.81157
  21  2.86867e-05
  22  4.38876e-05
  23  13.1722
  24  9.06726e-06
  25  13.8287
  26  0.000440544
  27  0.198117
  28  0.210885
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  4.192e-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:  7.514e-01  2.109e-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.381e-01  1.981e-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: 3.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847810/likelihoodResults_257212801_257472001_4FGL_J1454.4+5124_daily_bin69.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) = 5381.63763059
delta logL = -1.4820544493e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5381.63761316
delta logL = 2.60744036495e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9362       1.0000          .0000       5.0000    
     3 'Normalizat'    .93805       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75139       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.

 FCN=   5381.638     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      201 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.4996        .90712E-02** at limit **
   2  alpha         1.6193        2.9742        .42559       -.55029E-07
   3  Normalizat    .93806        .16050E-01    .45386E-01    .70188E-05
   4  Prefactor     .75138        .18126E-01    .43081E-01    .24167E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.61931
  Normalizat = 0.938061
  Prefactor  = 0.751376
 **********
 **   18 **HESSE 
 **********

 FCN=   5381.638     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .58484        .47377E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6193        3.5299        .17023       -.36000    
   3  Normalizat    .93806        .18242        .21044E-03   -.95135    
   4  Prefactor     .75138        .20593        .26144E-03   -1.0155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03913e-11
Minuit parameter uncertainties:
  1  3.15073e-06
  2  71.5137
  3  0.182538
  4  0.206135
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847810': 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) = 5381.63760104
delta logL = 1.47295741044e-05

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  3.151e-06  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.619e+00  7.151e+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:  7.514e-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.381e-01  1.825e-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/847810/cmap_HighResolution_257212801_257472001_4FGL_J1454.4+5124_daily_bin69.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-05', job_status='DONE', photon_flux_upper_limit='3.10e-08', time_completed='2021-09-10 12:56:47.002828', job_id='847810', GAL2='0.75', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1631303807.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.47e-05', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='69' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:56:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 847810: <4FGL_J1454.4+5124_daily_bin69> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin69 223.625 51.409 257212801 257472001 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 :                                   771.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            937 sec.

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

