/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 25 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 = 7492
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1453.5+3505_daily_bin1506
RA = 223.392, Dec = 35.0884
tmin = 629683201, tmax = 629942401
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='836786', job_status='RUN', time_executed='2021-09-10 12:08:20.198499', time_epoch_executed='1631300900.2' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='1506'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/836786

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/836786/ft1_4FGL_J1453.5+3505_daily_bin1506.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/836786/ft2_4FGL_J1453.5+3505_daily_bin1506.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/836786/ft1_4FGL_J1453.5+3505_daily_bin1506.fits outfile=/scratch/kocevski/836786/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1506.fits ra=223.392 dec=35.0884 rad=12.0 tmin=629683201.0 tmax=629942401.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 3.68
user 3.34
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/836786/ft2_4FGL_J1453.5+3505_daily_bin1506.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/836786/ft2_4FGL_J1453.5+3505_daily_bin1506.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/836786/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin1506.fits evtable="EVENTS" outfile="/scratch/kocevski/836786/ft1_filtered_4FGL_J1453.5+3505_daily_bin1506.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.51
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/836786/ft1_filtered_4FGL_J1453.5+3505_daily_bin1506.fits" evtable="EVENTS" scfile=/scratch/kocevski/836786/ft2_4FGL_J1453.5+3505_daily_bin1506.fits sctable="SC_DATA" outfile=/scratch/kocevski/836786/ltcube_629683201_629942401_4FGL_J1453.5+3505_daily_bin1506.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/836786/ft2_4FGL_J1453.5+3505_daily_bin1506.fits
.....................!
real 12.19
user 11.87
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/836786/ft1_filtered_4FGL_J1453.5+3505_daily_bin1506.fits evtable="EVENTS" scfile=/scratch/kocevski/836786/ft2_4FGL_J1453.5+3505_daily_bin1506.fits sctable="SC_DATA" expcube=/scratch/kocevski/836786/ltcube_629683201_629942401_4FGL_J1453.5+3505_daily_bin1506.fits outfile=/scratch/kocevski/836786/expmap_629683201_629942401_4FGL_J1453.5+3505_daily_bin1506.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/836786/ltcube_629683201_629942401_4FGL_J1453.5+3505_daily_bin1506.fits
.....................!
real 189.67
user 184.86
sys 4.20

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

Setting source of interest to:
4FGL J1453.5+3505 @ 223.392 35.0884

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/836786/ft1_filtered_4FGL_J1453.5+3505_daily_bin1506.fits scfile=/scratch/kocevski/836786/ft2_4FGL_J1453.5+3505_daily_bin1506.fits outfile=/scratch/kocevski/836786/cmap_629683201_629942401_4FGL_J1453.5+3505_daily_bin1506.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.392 yref=35.0884 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.79
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/836786/ft1_filtered_4FGL_J1453.5+3505_daily_bin1506.fits scfile=/scratch/kocevski/836786/ft2_4FGL_J1453.5+3505_daily_bin1506.fits outfile=/scratch/kocevski/836786/cmap_HighResolution_629683201_629942401_4FGL_J1453.5+3505_daily_bin1506.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.392 yref=35.0884 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.61
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/836786/ft1_filtered_4FGL_J1453.5+3505_daily_bin1506.fits evtable="EVENTS" scfile=/scratch/kocevski/836786/ft2_4FGL_J1453.5+3505_daily_bin1506.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/836786/Model_4FGL_J1453.5+3505_daily_bin1506.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/836786/ft1_filtered_4FGL_J1453.5+3505_daily_bin1506.fits.....................!
real 42.31
user 40.65
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/836786/ft1_filtered_4FGL_J1453.5+3505_daily_bin1506.fits', '/scratch/kocevski/836786/ft2_4FGL_J1453.5+3505_daily_bin1506.fits', expMap='/scratch/kocevski/836786/expmap_629683201_629942401_4FGL_J1453.5+3505_daily_bin1506.fits', expCube='/scratch/kocevski/836786/ltcube_629683201_629942401_4FGL_J1453.5+3505_daily_bin1506.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/836786/Model_4FGL_J1453.5+3505_daily_bin1506.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1453.5+3505'

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.970e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/836786/ft1_filtered_4FGL_J1453.5+3505_daily_bin1506.fits
Spacecraft file(s): /scratch/kocevski/836786/ft2_4FGL_J1453.5+3505_daily_bin1506.fits
Exposure map: /scratch/kocevski/836786/expmap_629683201_629942401_4FGL_J1453.5+3505_daily_bin1506.fits
Exposure cube: /scratch/kocevski/836786/ltcube_629683201_629942401_4FGL_J1453.5+3505_daily_bin1506.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/836786/Model_4FGL_J1453.5+3505_daily_bin1506.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) = 5223.64146724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.5357       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16275E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1571       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .73479       1.0000         .10000E-03   10000.    
     7 'norm      '    6.4918       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.467       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5762       1.0000         .10000E-03   10000.    
    12 'Prefactor '    54.690       1.0000         .10000E-03   10000.    
    13 'norm      '    1.8491       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8465       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11789E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.7840       1.0000         .10000E-03   10000.    
    23 'norm      '    .69193       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.3514       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    7.5039       1.0000         .10000E-03   10000.    
    27 'norm      '    .13508E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .74017       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1680       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5223.560     FROM MIGRAD    STATUS=CONVERGED    756 CALLS     3957 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.7248       -.23150E-07** at limit **
   2  Prefactor     .10000E-03    5.1888        .27609E-07** at limit **
   3  norm          6.5362        4.5754       -.21658E-07   -.20845E-04
   4  Prefactor     .10000E-03    13.376       -.11696E-06** at limit **
   5  Prefactor     2.1359        19.298        .28131E-05   -.67809E-05
   6  Prefactor     .73730        4.2710        .35734E-06   -.23854E-04
   7  norm          6.4972        9.8589        .35519E-07   -.76775E-05
   8  Prefactor     .10000E-03    25.537        .41525E-07** at limit **
   9  norm          .10000E-03    2.7460       -.40050E-07** at limit **
  10  Prefactor     30.476        30.383       -.21543E-06   -.40741E-04
  11  norm          1.5755        3.0955        .19799E-07   -.26119E-05
  12  Prefactor     54.672        37.327        .74037E-06    .83571E-04
  13  norm          1.8490        5.2995        .32344E-07   -.24043E-05
  14  Prefactor     .10000E-03    3.1004        .81708E-07** at limit **
  15  Prefactor     2.8472        5.8753        .84767E-06   -.84441E-04
  16  norm          .10000E-03    .54245        .85051E-07** at limit **
  17  norm          .10000E-03    2.8664       -.38307E-07** at limit **
  18  Prefactor     .10000E-03    3.9392       -.18533E-07** at limit **
  19  Prefactor     .10000E-03    51.538        .91466E-06** at limit **
  20  Prefactor     .10000E-03    7.7096        .32876E-06** at limit **
  21  Prefactor     .10000E-03    6.6057       -.19920E-06** at limit **
  22  Prefactor     2.7812        8.6643        .74015E-06    .26287E-05
  23  norm          .69173        1.1794        .70602E-07    .19485E-03
  24  Prefactor     1.3523        10.797        .17111E-07   -.15632E-04
  25  Prefactor     .10000E-03    10.908       -.16377E-06** at limit **
  26  Prefactor     7.5131        15.782       -.28940E-05   -.41097E-05
  27  norm          .10000E-03    37.041        .86402E-06** at limit **
  28  Prefactor     .10000E-03    10.668       -.14299E-06** at limit **
  29  Normalizat    .73951        .19100       -.12836E-05    .16708E-05
  30  Prefactor     1.1687        .18834        .74474E-06   -.10921E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.53617
  Prefactor  = 0.0001
  Prefactor  = 2.13592
  Prefactor  = 0.737296
  norm       = 6.49721
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 30.4756
  norm       = 1.57547
  Prefactor  = 54.6716
  norm       = 1.84901
  Prefactor  = 0.0001
  Prefactor  = 2.84723
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.78115
  norm       = 0.691725
  Prefactor  = 1.35226
  Prefactor  = 0.0001
  Prefactor  = 7.51315
  norm       = 0.000100004
  Prefactor  = 0.0001
  Normalizat = 0.73951
  Prefactor  = 1.16874
 **********
 **   18 **HESSE 
 **********

 FCN=   5223.560     FROM HESSE     STATUS=OK           586 CALLS     4543 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.7433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.1899        .16079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.5362        4.5595        .12264E-03   -1.5197    
   4  Prefactor     .10000E-03    13.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.1359        19.087        .14025E-02   -1.5416    
   6  Prefactor     .73730        4.3713        .27520E-02   -1.5536    
   7  norm          6.4972        9.8481        .78758E-03   -1.5198    
   8  Prefactor     .10000E-03    25.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.7595        .11694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.476        30.423        .72588E-04   -1.4603    
  11  norm          1.5755        3.0588        .17252E-03   -1.5457    
  12  Prefactor     54.672        37.616        .54240E-04   -1.4228    
  13  norm          1.8490        5.2574        .27448E-03   -1.5436    
  14  Prefactor     .10000E-03    3.1015        .12427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.8472        5.8266        .12027E-02   -1.5370    
  16  norm          .10000E-03    .82570        .10140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.9762        .23849E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.9601        .13996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    51.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.8462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.6206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.7812        8.6249        .12194E-02   -1.5374    
  23  norm          .69173        .97711        .79392E-03   -1.5542    
  24  Prefactor     1.3523        8.9139        .36891E-03   -1.5475    
  25  Prefactor     .10000E-03    10.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     7.5131        15.863        .14640E-03   -1.5160    
  27  norm          .10000E-03    38.544        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    10.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .73951        .22045        .25109E-03   -1.0235    
  30  Prefactor     1.1687        .21840        .21281E-03   -.87299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.22208e-08
Minuit parameter uncertainties:
  1  1.91395e-06
  2  3.21447e-06
  3  4.55974
  4  1.85474e-05
  5  12.775
  6  3.59065
  7  9.85057
  8  6.67414e-05
  9  8.011e-07
  10  30.4388
  11  3.05911
  12  37.6323
  13  5.25867
  14  6.02513e-07
  15  5.82778
  16  6.50572e-06
  17  4.2871e-06
  18  4.47501e-06
  19  0.00026013
  20  1.75158e-05
  21  1.42602e-05
  22  8.62876
  23  0.977131
  24  6.94501
  25  1.92963e-05
  26  15.8716
  27  0.000823987
  28  1.38383e-05
  29  0.220715
  30  0.218573
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  6.025e-07  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.363e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.169e+00  2.186e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  7.395e-01  2.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 223.392 35.088
Photon Flux Upper Limit: 3.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/836786/likelihoodResults_629683201_629942401_4FGL_J1453.5+3505_daily_bin1506.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) = 5223.56147282
delta logL = -0.00150146508804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5223.559971
delta logL = 3.54571966454e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3380       1.0000          .0000       10.000    
     3 'Normalizat'    .73952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1687       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+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=   5223.560     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      235 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10311E-03    4.5898        .12759E-01** at limit **
   2  Index         2.2489        5.2315        .50000        .58098E-04
   3  Normalizat    .73951        .47509E-02    .25109E-03   -.36675E-05
   4  Prefactor     1.1687        .49799E-02    .21281E-03   -.53357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103111
  Index      = 2.24889
  Normalizat = 0.73951
  Prefactor  = 1.16874
 **********
 **   18 **HESSE 
 **********

 FCN=   5223.560     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      264 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10311E-03    46.256        .13158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2489        8.6179        .50000       -.58263    
   3  Normalizat    .73951        .15275E-01    .10043E-04   -1.0235    
   4  Prefactor     1.1687        .16011E-01    .42563E-04   -.87299    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.70249e-08
Minuit parameter uncertainties:
  1  0.0240114
  2  251.426
  3  0.0152747
  4  0.0160109
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/836786': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5223.55997006
delta logL = 1.29837826535e-06

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.031e-04  2.401e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.249e+00  2.514e+02  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.135e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.169e+00  1.601e-02  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  7.395e-01  1.527e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.392 35.088

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/836786/cmap_HighResolution_629683201_629942401_4FGL_J1453.5+3505_daily_bin1506.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='3.94e-08', time_completed='2021-09-10 12:20:59.227444', job_id='836786', GAL2='1.17', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1631301659.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.30e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1506' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:20:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 836786: <4FGL_J1453.5+3505_daily_bin1506> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin1506> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Sep 10 12:07:32 2021
Job was executed on host(s) <bullet0293>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:07:32 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:07:32 2021
Terminated at Fri Sep 10 12:20:59 2021
Results reported at Fri Sep 10 12:20:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin1506 223.392 35.0884 629683201 629942401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1453.5+3505 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   755.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             357.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            807 sec.

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

