/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 0 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 = 7449
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1453.5+3505_daily_bin727
RA = 223.392, Dec = 35.0884
tmin = 427766401, tmax = 428025601
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='831599', job_status='RUN', time_executed='2021-09-10 11:53:14.282170', time_epoch_executed='1631299994.28' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831599

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831599/ft1_4FGL_J1453.5+3505_daily_bin727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831599/ft2_4FGL_J1453.5+3505_daily_bin727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831599/ft1_4FGL_J1453.5+3505_daily_bin727.fits outfile=/scratch/kocevski/831599/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin727.fits ra=223.392 dec=35.0884 rad=12.0 tmin=427766401.0 tmax=428025601.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 5.40
user 5.13
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/831599/ft2_4FGL_J1453.5+3505_daily_bin727.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/831599/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin727.fits evtable="EVENTS" outfile="/scratch/kocevski/831599/ft1_filtered_4FGL_J1453.5+3505_daily_bin727.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.62
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/831599/ft1_filtered_4FGL_J1453.5+3505_daily_bin727.fits" evtable="EVENTS" scfile=/scratch/kocevski/831599/ft2_4FGL_J1453.5+3505_daily_bin727.fits sctable="SC_DATA" outfile=/scratch/kocevski/831599/ltcube_427766401_428025601_4FGL_J1453.5+3505_daily_bin727.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/831599/ft2_4FGL_J1453.5+3505_daily_bin727.fits
.....................!
real 12.14
user 11.78
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831599/ft1_filtered_4FGL_J1453.5+3505_daily_bin727.fits evtable="EVENTS" scfile=/scratch/kocevski/831599/ft2_4FGL_J1453.5+3505_daily_bin727.fits sctable="SC_DATA" expcube=/scratch/kocevski/831599/ltcube_427766401_428025601_4FGL_J1453.5+3505_daily_bin727.fits outfile=/scratch/kocevski/831599/expmap_427766401_428025601_4FGL_J1453.5+3505_daily_bin727.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/831599/ltcube_427766401_428025601_4FGL_J1453.5+3505_daily_bin727.fits
.....................!
real 202.62
user 186.28
sys 4.49

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/831599/ft1_filtered_4FGL_J1453.5+3505_daily_bin727.fits scfile=/scratch/kocevski/831599/ft2_4FGL_J1453.5+3505_daily_bin727.fits outfile=/scratch/kocevski/831599/cmap_427766401_428025601_4FGL_J1453.5+3505_daily_bin727.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 19.20
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831599/ft1_filtered_4FGL_J1453.5+3505_daily_bin727.fits scfile=/scratch/kocevski/831599/ft2_4FGL_J1453.5+3505_daily_bin727.fits outfile=/scratch/kocevski/831599/cmap_HighResolution_427766401_428025601_4FGL_J1453.5+3505_daily_bin727.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 14.50
user 0.39
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/831599/ft1_filtered_4FGL_J1453.5+3505_daily_bin727.fits', '/scratch/kocevski/831599/ft2_4FGL_J1453.5+3505_daily_bin727.fits', expMap='/scratch/kocevski/831599/expmap_427766401_428025601_4FGL_J1453.5+3505_daily_bin727.fits', expCube='/scratch/kocevski/831599/ltcube_427766401_428025601_4FGL_J1453.5+3505_daily_bin727.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/831599/Model_4FGL_J1453.5+3505_daily_bin727.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/831599/ft1_filtered_4FGL_J1453.5+3505_daily_bin727.fits
Spacecraft file(s): /scratch/kocevski/831599/ft2_4FGL_J1453.5+3505_daily_bin727.fits
Exposure map: /scratch/kocevski/831599/expmap_427766401_428025601_4FGL_J1453.5+3505_daily_bin727.fits
Exposure cube: /scratch/kocevski/831599/ltcube_427766401_428025601_4FGL_J1453.5+3505_daily_bin727.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/831599/Model_4FGL_J1453.5+3505_daily_bin727.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) = 5058.50813319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11662E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.5754       1.0000         .10000E-03   10000.    
     3 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.5045       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .57866       1.0000         .10000E-03   10000.    
     7 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.9471       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.2818       1.0000         .10000E-03   10000.    
    12 'Prefactor '    63.564       1.0000         .10000E-03   10000.    
    13 'norm      '    9.9804       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16191       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .47975       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4773       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.883       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .35780E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.759       1.0000         .10000E-03   10000.    
    23 'norm      '    4.6140       1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.9241       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    6.6389       1.0000         .10000E-03   10000.    
    27 'norm      '    .16060E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.3298       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .49245       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=   5058.456     FROM MIGRAD    STATUS=CONVERGED    804 CALLS     4025 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    51.787        .43302E-06** at limit **
   2  Prefactor     5.5706        16.373       -.58269E-06   -.10408E-04
   3  norm          .10000E-03    2.0760       -.15059E-06** at limit **
   4  Prefactor     .10000E-03    8.4245        .44681E-06** at limit **
   5  Prefactor     3.4954        11.733        .32602E-05   -.82091E-04
   6  Prefactor     .57539        3.2043        .55999E-06   -.19460E-04
   7  norm          .10000E-03    7.7789       -.30493E-07** at limit **
   8  Prefactor     .10000E-03    8.8345       -.87534E-06** at limit **
   9  norm          4.9500        6.9854        .16019E-05   -.10139E-03
  10  Prefactor     .10000E-03    11.601       -.73055E-07** at limit **
  11  norm          1.2799        4.3994        .35991E-06   -.24293E-04
  12  Prefactor     63.567        38.798       -.61079E-06    .11991E-03
  13  norm          9.9950        9.9887       -.49349E-06    .10584E-03
  14  Prefactor     .84681E-01    15.485       -.72744E-06    .10582E-03
  15  Prefactor     .48079        5.5143       -.49862E-06    .10543E-03
  16  norm          2.4785        1.8040        .12663E-07    .85421E-04
  17  norm          .10000E-03    2.4112       -.37503E-06** at limit **
  18  Prefactor     .10000E-03    5.3058       -.51331E-08** at limit **
  19  Prefactor     .10000E-03    26.568       -.33288E-07** at limit **
  20  Prefactor     12.881        9.0881        .90457E-07   -.30132E-04
  21  Prefactor     .10001E-03    16.665       -.48153E-06** at limit **
  22  Prefactor     12.753        15.185        .19607E-06    .12088E-03
  23  norm          4.6136        1.5747        .21342E-07   -.19763E-04
  24  Prefactor     9.9213        8.7043        .10887E-06   -.35615E-04
  25  Prefactor     .10000E-03    9.2889        .43502E-06** at limit **
  26  Prefactor     6.5971        19.329       -.20973E-05    .24147E-04
  27  norm          .10002E-03    37.868        .64206E-05** at limit **
  28  Prefactor     .10000E-03    14.526        .37124E-07** at limit **
  29  Normalizat    1.3308        .19578       -.18940E-05    .25463E-04
  30  Prefactor     .49188        .17670        .19086E-05   -.28289E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.57063
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.49535
  Prefactor  = 0.57539
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.95003
  Prefactor  = 0.0001
  norm       = 1.27992
  Prefactor  = 63.5672
  norm       = 9.99497
  Prefactor  = 0.0846811
  Prefactor  = 0.480789
  norm       = 2.47855
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8809
  Prefactor  = 0.000100008
  Prefactor  = 12.7533
  norm       = 4.6136
  Prefactor  = 9.92134
  Prefactor  = 0.0001
  Prefactor  = 6.59714
  norm       = 0.000100017
  Prefactor  = 0.0001
  Normalizat = 1.33078
  Prefactor  = 0.491877
 **********
 **   18 **HESSE 
 **********

 FCN=   5058.456     FROM HESSE     STATUS=OK           602 CALLS     4627 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    52.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.5706        16.344        .17014E-03   -1.5236    
   3  norm          .10000E-03    4.1026        .19892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.4500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4954        11.777        .10798E-02   -1.5334    
   6  Prefactor     .57539        3.2790        .24271E-03   -1.5556    
   7  norm          .10000E-03    7.7908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.7971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.9500        6.9777        .90411E-03   -1.5263    
  10  Prefactor     .10000E-03    11.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.2799        4.3876        .26166E-03   -1.5482    
  12  Prefactor     63.567        38.885        .50333E-04   -1.4112    
  13  norm          9.9950        10.006        .12684E-03   -1.5076    
  14  Prefactor     .84681E-01    24.717        .72838E-01   -1.5650    
  15  Prefactor     .48079        26.361        .28907E-02   -1.5569    
  16  norm          2.4785        1.8116        .72288E-04   -1.5393    
  17  norm          .10000E-03    8.4550        .20451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.3139        .15957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    26.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.881        9.0848        .11160E-03   -1.4990    
  21  Prefactor     .10001E-03    66.952        .49142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.753        13.048        .11214E-03   -1.4994    
  23  norm          4.6136        1.5798        .46685E-04   -1.5278    
  24  Prefactor     9.9213        8.7316        .12720E-03   -1.5078    
  25  Prefactor     .10000E-03    9.2765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     6.5971        19.427        .15574E-03   -1.5194    
  27  norm          .10002E-03    41.666        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    14.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.3308        .22209        .20692E-03   -.82652    
  30  Prefactor     .49188        .19916        .30969E-03   -1.1235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39156e-09
Minuit parameter uncertainties:
  1  0.000266455
  2  16.3575
  3  1.39362e-05
  4  5.23969e-05
  5  11.785
  6  2.74716
  7  8.858e-07
  8  0.000100284
  9  6.97882
  10  9.88604e-06
  11  4.38869
  12  38.9002
  13  10.0079
  14  2.89301
  15  7.12276
  16  1.8116
  17  0.000172219
  18  2.68598e-06
  19  2.30888e-05
  20  9.08573
  21  0.00143046
  22  13.0514
  23  1.5798
  24  8.73268
  25  5.54447e-05
  26  19.4453
  27  0.0016987
  28  1.94273e-06
  29  0.222253
  30  0.199446
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  8.468e-02  2.893e+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

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  4.919e-01  1.994e-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:  1.331e+00  2.223e-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: 9.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/831599/likelihoodResults_427766401_428025601_4FGL_J1453.5+3505_daily_bin727.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) = 5058.42339826
delta logL = 0.032463582178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5058.38605758
delta logL = 0.0698042630975

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1758       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4050       1.0000          .0000       10.000    
     3 'Normalizat'    1.3093       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50258       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.

 FCN=   5058.386     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      248 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1798        69.944        .10559E-01    .96179E-03
   2  Index         3.4067        3.1811        .21320        .49129E-04
   3  Normalizat    1.3092        .27950E-01    .47117E-01   -.24824E-05
   4  Prefactor     .50276        .26765E-01    .69239E-01    .19172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.17985
  Index      = 3.40674
  Normalizat = 1.30916
  Prefactor  = 0.502759
 **********
 **   18 **HESSE 
 **********

 FCN=   5058.386     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      279 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1798        412.84        .19505E-03   -1.5491    
   2  Index         3.4067        7.7990        .85699E-02   -.32431    
   3  Normalizat    1.3092        .19284        .20828E-03   -.83293    
   4  Prefactor     .50276        .18477        .30650E-03   -1.1185    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.34139e-10
Minuit parameter uncertainties:
  1  44.4502
  2  17.7544
  3  0.192945
  4  0.184986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831599': 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) = 5058.38605409
delta logL = 0.0698077570341

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.180e+00  4.445e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  3.407e+00  1.775e+01  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:  5.028e-01  1.850e-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:  1.309e+00  1.929e-01  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/831599/cmap_HighResolution_427766401_428025601_4FGL_J1453.5+3505_daily_bin727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.97e-03', job_status='DONE', photon_flux_upper_limit='9.04e-08', time_completed='2021-09-10 12:07:44.356770', job_id='831599', GAL2='0.50', fit_tolerance='1e-08', EG2='1.31', EG='1.33', time_epoch_completed='1631300864.36', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.49', dlogl='6.98e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='727' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:07:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 831599: <4FGL_J1453.5+3505_daily_bin727> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 11:53:02 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:53:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 11:53:04 2021
Terminated at Fri Sep 10 12:07:45 2021
Results reported at Fri Sep 10 12:07:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin727 223.392 35.0884 427766401 428025601 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 :                                   786.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            884 sec.

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

