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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin41
RA = 223.625, Dec = 51.409
tmin = 249955201, tmax = 250214401
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='847769', job_status='RUN', time_executed='2021-09-10 12:43:00.803294', time_epoch_executed='1631302980.8' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='41'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847769

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847769/ft1_4FGL_J1454.4+5124_daily_bin41.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847769/ft2_4FGL_J1454.4+5124_daily_bin41.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847769/ft1_4FGL_J1454.4+5124_daily_bin41.fits outfile=/scratch/kocevski/847769/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin41.fits ra=223.625 dec=51.409 rad=12.0 tmin=249955201.0 tmax=250214401.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.58
user 1.29
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847769/ft1_filtered_4FGL_J1454.4+5124_daily_bin41.fits" evtable="EVENTS" scfile=/scratch/kocevski/847769/ft2_4FGL_J1454.4+5124_daily_bin41.fits sctable="SC_DATA" outfile=/scratch/kocevski/847769/ltcube_249955201_250214401_4FGL_J1454.4+5124_daily_bin41.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/847769/ft2_4FGL_J1454.4+5124_daily_bin41.fits
.....................!
real 12.60
user 12.13
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847769/ft1_filtered_4FGL_J1454.4+5124_daily_bin41.fits evtable="EVENTS" scfile=/scratch/kocevski/847769/ft2_4FGL_J1454.4+5124_daily_bin41.fits sctable="SC_DATA" expcube=/scratch/kocevski/847769/ltcube_249955201_250214401_4FGL_J1454.4+5124_daily_bin41.fits outfile=/scratch/kocevski/847769/expmap_249955201_250214401_4FGL_J1454.4+5124_daily_bin41.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/847769/ltcube_249955201_250214401_4FGL_J1454.4+5124_daily_bin41.fits
.....................!
real 191.49
user 185.41
sys 5.21

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/847769/ft1_filtered_4FGL_J1454.4+5124_daily_bin41.fits scfile=/scratch/kocevski/847769/ft2_4FGL_J1454.4+5124_daily_bin41.fits outfile=/scratch/kocevski/847769/cmap_249955201_250214401_4FGL_J1454.4+5124_daily_bin41.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847769/ft1_filtered_4FGL_J1454.4+5124_daily_bin41.fits scfile=/scratch/kocevski/847769/ft2_4FGL_J1454.4+5124_daily_bin41.fits outfile=/scratch/kocevski/847769/cmap_HighResolution_249955201_250214401_4FGL_J1454.4+5124_daily_bin41.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.5462       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11114E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    75.261       1.0000         .10000E-03   10000.    
     5 'Prefactor '    49.525       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3152       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.0545       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10939E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.438       1.0000         .10000E-03   10000.    
    10 'Prefactor '    55.224       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.077       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.758       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.052       1.0000         .10000E-03   10000.    
    25 'norm      '    5.2757       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .62642       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1837       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6220.074     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     2918 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10266E-03    44.162       -.91672E-05** at limit **
   2  norm          3.5476        3.5824       -.28848E-06   -.14303E-03
   3  Prefactor     .10658E-03    51.129       -.28875E-04** at limit **
   4  Prefactor     75.275        2.6137        .11778E-05   -.53874E-02
   5  Prefactor     49.517        2.0454       -.11235E-05    .35099E-02
   6  Prefactor     3.3153        3.5276       -.12742E-05   -.30907E-03
   7  Prefactor     7.0566        1.0267        .34834E-06   -.55522E-04
   8  Prefactor     .10000E-03    2.8866        .11203E-06** at limit **
   9  Prefactor     14.445        1.7505       -.13472E-05    .80047E-03
  10  Prefactor     55.272        4.7214        .19179E-05   -.46301E-02
  11  Prefactor     .10672E-03    26.171        .14025E-04** at limit **
  12  Prefactor     .10004E-03    20.871       -.32915E-05** at limit **
  13  Prefactor     .10039E-03    42.195       -.17978E-04** at limit **
  14  Prefactor     .10000E-03    5.5956       -.35546E-06** at limit **
  15  Prefactor     .10000E-03    10.065        .16215E-05** at limit **
  16  norm          .10000E-03    .43132        .15874E-06** at limit **
  17  Prefactor     .10047E-03    12.604        .23620E-04** at limit **
  18  Prefactor     .10000E-03    1.6573       -.37348E-07** at limit **
  19  Prefactor     15.078        1.0227       -.15719E-06   -.13699E-03
  20  norm          .10000E-03    .85948       -.18246E-06** at limit **
  21  Prefactor     .10000E-03    2.3533       -.62130E-07** at limit **
  22  Prefactor     10.757        1.0247       -.10001E-06    .93661E-04
  23  Prefactor     .10038E-03    12.436       -.21878E-04** at limit **
  24  Prefactor     10.053        2.2915       -.25247E-05   -.33660E-02
  25  norm          5.2753        4.8770       -.30471E-05   -.58467E-03
  26  Prefactor     .10347E-03    26.296        .25521E-04** at limit **
  27  Normalizat    .62644        .17725        .21890E-05   -.60080E-04
  28  Prefactor     1.1837        .20668        .10486E-06   -.34665E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000102661
  norm       = 3.54764
  Prefactor  = 0.000106584
  Prefactor  = 75.2755
  Prefactor  = 49.5171
  Prefactor  = 3.31535
  Prefactor  = 7.05657
  Prefactor  = 0.0001
  Prefactor  = 14.4455
  Prefactor  = 55.2719
  Prefactor  = 0.000106724
  Prefactor  = 0.000100038
  Prefactor  = 0.000100386
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100475
  Prefactor  = 0.0001
  Prefactor  = 15.0776
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.7574
  Prefactor  = 0.000100381
  Prefactor  = 10.0526
  norm       = 5.27532
  Prefactor  = 0.000103473
  Normalizat = 0.626438
  Prefactor  = 1.18372
 **********
 **   18 **HESSE 
 **********

 FCN=   6220.074     FROM HESSE     STATUS=OK           581 CALLS     3499 TOTAL
                     EDM=   .53E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10266E-03    55.334        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5476        3.6124        .53660E-02   -1.5331    
   3  Prefactor     .10658E-03    131.48        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     75.275        59.303        .11571E-02   -1.3971    
   5  Prefactor     49.517        43.415        .14246E-02   -1.4299    
   6  Prefactor     3.3153        3.6108        .55583E-02   -1.5344    
   7  Prefactor     7.0566        13.097        .37759E-02   -1.5177    
   8  Prefactor     .10000E-03    1.9134        .36080E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.445        18.677        .26353E-02   -1.4948    
  10  Prefactor     55.272        30.329        .13495E-02   -1.4220    
  11  Prefactor     .10672E-03    91.317        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10004E-03    20.704        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10039E-03    118.40        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.5666        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.8942        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .42388        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10047E-03    13.853        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.6514        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.078        9.6445        .25788E-02   -1.4931    
  20  norm          .10000E-03    .85622        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.3461        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.757        15.024        .30538E-02   -1.5052    
  23  Prefactor     .10038E-03    13.471        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     10.053        6.4047        .31596E-02   -1.5074    
  25  norm          5.2753        5.4844        .43748E-02   -1.5249    
  26  Prefactor     .10347E-03    72.821        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .62644        .16113        .41300E-01   -1.0687    
  28  Prefactor     1.1837        .17522        .50789E-01   -.86834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32132e-07
Minuit parameter uncertainties:
  1  0.0242933
  2  3.61264
  3  0.0589742
  4  59.3497
  5  43.4426
  6  3.61103
  7  13.102
  8  5.85282e-06
  9  18.685
  10  30.3376
  11  0.0496336
  12  0.00176642
  13  0.0135462
  14  3.24749e-05
  15  0.000109438
  16  7.54075e-07
  17  0.00512919
  18  3.35632e-06
  19  9.64552
  20  4.4866e-06
  21  9.42135e-08
  22  15.0292
  23  0.00453127
  24  6.40518
  25  5.48497
  26  0.0318458
  27  0.161251
  28  0.175303
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  7.541e-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.184e+00  1.753e-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.264e-01  1.613e-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.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847769/likelihoodResults_249955201_250214401_4FGL_J1454.4+5124_daily_bin41.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) = 6220.07379216
delta logL = -3.28887290379e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6220.07378846
delta logL = 4.17754563387e-07

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.9548       1.0000          .0000       5.0000    
     3 'Normalizat'    .62644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1837       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6220.074     FROM MIGRAD    STATUS=FAILED        85 CALLS      227 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    95.813        .50274E-03** at limit **
   2  alpha         1.7799        2.5409        .50000       -.39572E-06
   3  Normalizat    .62644        .96192E-01    .25830E-03   -.18617E-03
   4  Prefactor     1.1837        .11236        .22453E-03   -.19802E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6220.074     FROM SIMPLEX   STATUS=UNCHANGED    184 CALLS      411 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    95.813        .12361E-03** at limit **
   2  alpha         1.7799        2.5409        .13498E-05   -.39572E-06
   3  Normalizat    .62644        .96192E-01    .16737E-06   -.18617E-03
   4  Prefactor     1.1837        .11236        .72576E-07   -.19802E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6220.074     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      445 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .47510        .10055E-03** at limit **
   2  alpha         1.7808        2.8319        .50000       -.15210E-05
   3  Normalizat    .62644        .17670        .10332E-04   -.18617E-03
   4  Prefactor     1.1837        .20652        .44907E-04   -.19818E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.78078
  Normalizat = 0.626438
  Prefactor  = 1.18372
 **********
 **   18 **HESSE 
 **********

 FCN=   6220.074     FROM HESSE     STATUS=OK            27 CALLS      472 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .44396        .20110E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7808        3.3872        .50000       -.29181    
   3  Normalizat    .62644        .17673        .20664E-05   -1.0687    
   4  Prefactor     1.1837        .20655        .89813E-05   -.86834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66401e-09
Minuit parameter uncertainties:
  1  6.94091e-07
  2  63.4091
  3  0.176889
  4  0.206694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847769': 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) = 6220.07378584
delta logL = 3.03750312014e-06

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  6.941e-07  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.781e+00  6.341e+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.184e+00  2.067e-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.264e-01  1.769e-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/847769/cmap_HighResolution_249955201_250214401_4FGL_J1454.4+5124_daily_bin41.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.26e-05', job_status='DONE', photon_flux_upper_limit='3.16e-08', time_completed='2021-09-10 12:56:19.445873', job_id='847769', GAL2='1.18', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1631303779.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='3.04e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='41' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:56:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 847769: <4FGL_J1454.4+5124_daily_bin41> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin41 223.625 51.409 249955201 250214401 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 :                                   793.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             309.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            913 sec.

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

