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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin936
RA = 223.392, Dec = 35.0884
tmin = 481939201, tmax = 482198401
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='834259', job_status='RUN', time_executed='2021-09-10 12:04:25.544215', time_epoch_executed='1631300665.54' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='936'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834259

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834259/ft1_4FGL_J1453.5+3505_daily_bin936.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834259/ft2_4FGL_J1453.5+3505_daily_bin936.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834259/ft1_4FGL_J1453.5+3505_daily_bin936.fits outfile=/scratch/kocevski/834259/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin936.fits ra=223.392 dec=35.0884 rad=12.0 tmin=481939201.0 tmax=482198401.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 4.13
user 3.41
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834259/ft1_filtered_4FGL_J1453.5+3505_daily_bin936.fits" evtable="EVENTS" scfile=/scratch/kocevski/834259/ft2_4FGL_J1453.5+3505_daily_bin936.fits sctable="SC_DATA" outfile=/scratch/kocevski/834259/ltcube_481939201_482198401_4FGL_J1453.5+3505_daily_bin936.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/834259/ft2_4FGL_J1453.5+3505_daily_bin936.fits
.....................!
real 13.46
user 11.71
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834259/ft1_filtered_4FGL_J1453.5+3505_daily_bin936.fits evtable="EVENTS" scfile=/scratch/kocevski/834259/ft2_4FGL_J1453.5+3505_daily_bin936.fits sctable="SC_DATA" expcube=/scratch/kocevski/834259/ltcube_481939201_482198401_4FGL_J1453.5+3505_daily_bin936.fits outfile=/scratch/kocevski/834259/expmap_481939201_482198401_4FGL_J1453.5+3505_daily_bin936.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/834259/ltcube_481939201_482198401_4FGL_J1453.5+3505_daily_bin936.fits
.....................!
real 201.94
user 186.25
sys 5.02

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/834259/ft1_filtered_4FGL_J1453.5+3505_daily_bin936.fits scfile=/scratch/kocevski/834259/ft2_4FGL_J1453.5+3505_daily_bin936.fits outfile=/scratch/kocevski/834259/cmap_481939201_482198401_4FGL_J1453.5+3505_daily_bin936.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.58
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834259/ft1_filtered_4FGL_J1453.5+3505_daily_bin936.fits scfile=/scratch/kocevski/834259/ft2_4FGL_J1453.5+3505_daily_bin936.fits outfile=/scratch/kocevski/834259/cmap_HighResolution_481939201_482198401_4FGL_J1453.5+3505_daily_bin936.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.71
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97304E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11657       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3218       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1310       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.238       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10599E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.103       1.0000         .10000E-03   10000.    
     9 'norm      '    7.9539       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    34.802       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.884       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4132       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7213       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.909       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.053       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    5.8553       1.0000         .10000E-03   10000.    
    27 'norm      '    .12829E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.2669       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .54478       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=   5719.892     FROM MIGRAD    STATUS=CONVERGED    788 CALLS     3942 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    11.323        .14154E-05** at limit **
   2  Prefactor     .10000E-03    12.482       -.38954E-05** at limit **
   3  norm          2.3208        4.0316       -.29464E-06    .34919E-03
   4  Prefactor     3.1158        41.587        .26452E-04    .16255E-03
   5  Prefactor     15.239        29.591       -.88993E-05    .75579E-03
   6  Prefactor     .10000E-03    3.1109        .13540E-06** at limit **
   7  norm          .10000E-03    10.038       -.18196E-05** at limit **
   8  Prefactor     12.111        23.707        .36409E-05    .10674E-04
   9  norm          7.9485        7.4105       -.29272E-06   -.79374E-04
  10  Prefactor     .10000E-03    18.203        .22933E-08** at limit **
  11  norm          34.801        8.0238        .36154E-08   -.45334E-04
  12  Prefactor     .10000E-03    51.090        .20051E-05** at limit **
  13  norm          .10000E-03    10.146        .10544E-05** at limit **
  14  Prefactor     22.872        16.875       -.94313E-06   -.10889E-03
  15  Prefactor     .10000E-03    8.3674        .28753E-06** at limit **
  16  norm          2.4121        1.5868        .50839E-07    .15334E-04
  17  norm          .10000E-03    1.1318       -.14818E-07** at limit **
  18  Prefactor     2.7208        4.7169        .26844E-06   -.56923E-05
  19  Prefactor     .10000E-03    28.365       -.19218E-06** at limit **
  20  Prefactor     .10000E-03    5.0242        .41092E-07** at limit **
  21  Prefactor     12.910        15.705       -.34236E-06   -.28819E-04
  22  Prefactor     .10000E-03    5.8041        .13732E-06** at limit **
  23  norm          .10000E-03    .36083        .42382E-08** at limit **
  24  Prefactor     11.049        7.9556        .87343E-07    .56775E-04
  25  Prefactor     .10000E-03    14.596       -.32634E-06** at limit **
  26  Prefactor     5.8368        17.096       -.19230E-05   -.62477E-04
  27  norm          .10001E-03    14.711        .24632E-05** at limit **
  28  Prefactor     .10000E-03    15.314        .41007E-06** at limit **
  29  Normalizat    1.2676        .18627        .23832E-05    .66169E-03
  30  Prefactor     .54421        .16853       -.34542E-05    .81093E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100008
  Prefactor  = 0.000100002
  norm       = 2.32077
  Prefactor  = 3.11583
  Prefactor  = 15.2386
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 12.1106
  norm       = 7.94845
  Prefactor  = 0.0001
  norm       = 34.8012
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 22.8722
  Prefactor  = 0.0001
  norm       = 2.41206
  norm       = 0.0001
  Prefactor  = 2.72081
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.9101
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.0492
  Prefactor  = 0.0001
  Prefactor  = 5.83676
  norm       = 0.000100007
  Prefactor  = 0.0001
  Normalizat = 1.26758
  Prefactor  = 0.54421
 **********
 **   18 **HESSE 
 **********

 FCN=   5719.892     FROM HESSE     STATUS=OK           592 CALLS     4534 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    67.600        .48827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    23.095        .87737E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.3208        4.0106        .18891E-03   -1.5403    
   4  Prefactor     3.1158        45.287        .11456E-02   -1.5355    
   5  Prefactor     15.239        30.402        .10260E-03   -1.4927    
   6  Prefactor     .10000E-03    3.1845        .26014E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    10.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.111        23.481        .11515E-03   -1.5012    
   9  norm          7.9485        7.4203        .14217E-03   -1.5144    
  10  Prefactor     .10000E-03    18.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          34.801        8.0219        .67929E-04   -1.4527    
  12  Prefactor     .10000E-03    51.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.872        16.924        .83733E-04   -1.4751    
  15  Prefactor     .10000E-03    8.4872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4121        1.5777        .73191E-04   -1.5397    
  17  norm          .10000E-03    1.1392        .78521E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.7208        4.6897        .20792E-03   -1.5378    
  19  Prefactor     .10000E-03    28.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.0741        .16551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.910        15.701        .11149E-03   -1.4989    
  22  Prefactor     .10000E-03    5.8304        .17781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .37196        .87933E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.049        7.8970        .12051E-03   -1.5043    
  25  Prefactor     .10000E-03    14.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     5.8368        17.033        .16597E-03   -1.5225    
  27  norm          .10001E-03    14.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    15.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.2676        .21398        .21053E-03   -.84539    
  30  Prefactor     .54421        .19119        .29695E-03   -1.0999    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53823e-09
Minuit parameter uncertainties:
  1  0.00143153
  2  0.000427655
  3  4.01107
  4  23.7789
  5  30.4327
  6  1.112e-05
  7  0.000217067
  8  23.499
  9  7.42112
  10  0.000118784
  11  8.02212
  12  0.000249408
  13  2.76686e-05
  14  16.9279
  15  7.45099e-05
  16  1.57774
  17  3.7432e-07
  18  4.69037
  19  4.92902e-05
  20  1.73836e-05
  21  15.7062
  22  1.80707e-05
  23  8.8168e-07
  24  7.89778
  25  5.78347e-07
  26  17.047
  27  0.000663681
  28  2.38945e-05
  29  0.214127
  30  0.191414
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  2.287e+01  1.693e+01  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:  5.442e-01  1.914e-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.268e+00  2.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.99
Ra Dec: 223.392 35.088
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 5.23e-08 +/- 3.86e-08
Energy Flux (Fixed Index): 1.80e-05 +/- 1.33e-05

TS (Fixed Index): 2.99
Ra Dec: 223.392 35.088
Photon Flux Upper Limit: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/834259/likelihoodResults_481939201_482198401_4FGL_J1453.5+3505_daily_bin936.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): 0
logL (Free Index) = 5719.54869448
delta logL = 0.342991615934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5719.53756923
delta logL = 0.354116864401

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.424       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9006       1.0000          .0000       10.000    
     3 'Normalizat'    1.2383       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56383       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=   5719.538     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      294 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.428        19.038        .11364E-03    .40295E-03
   2  Index         2.9000        .84443        .45626E-02    .12706E-03
   3  Normalizat    1.2383        .20104        .21249E-03    .45031E-03
   4  Prefactor     .56373        .19005        .29215E-03    .34797E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4278
  Index      = 2.89998
  Normalizat = 1.23826
  Prefactor  = 0.563729
 **********
 **   18 **HESSE 
 **********

 FCN=   5719.538     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.428        15.730        .45458E-05   -1.5003    
   2  Index         2.9000        .69819        .18251E-03   -.43345    
   3  Normalizat    1.2383        .20082        .42498E-04   -.85429    
   4  Prefactor     .56373        .18978        .11686E-04   -1.0914    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2997e-10
Minuit parameter uncertainties:
  1  15.735
  2  0.700977
  3  0.200946
  4  0.189996
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834259': 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) = 5719.53756692
delta logL = 0.35411917688

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.243e+01  1.574e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.900e+00  7.010e-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.637e-01  1.900e-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.238e+00  2.009e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.74
Ra Dec: 223.392 35.088
Photon Index (Free Index): 2.90 +/- 0.70
Photon Flux (Free Index): 7.51e-08 +/- 5.10e-08
Energy Flux (Free Index): 1.58e-05 +/- 1.04e-05

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/834259/cmap_HighResolution_481939201_482198401_4FGL_J1453.5+3505_daily_bin936.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', comment='SUCCESS', photon_flux='5.23e-08', energy_flux2='1.58e-05', photon_flux_error='3.86e-08', dlogl='3.54e-01', energy_flux='1.80e-05', photon_flux2='7.51e-08', job_status='DONE', time_completed='2021-09-10 12:18:12.869160', photon_index_error2='0.70', photon_index2='2.90', ts='2.99', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='1.04e-05', EG='1.27', time_epoch_completed='1631301492.87', return_code='0', job_id='834259', GAL2='0.56', EG2='1.24', return_code2='0', energy_flux_error='1.33e-05', photon_flux_error2='5.10e-08', ts2='3.74', photon_index='2.36' WHERE bin_id='936' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:18:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 834259: <4FGL_J1453.5+3505_daily_bin936> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin936> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:02:42 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:02:43 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:02:43 2021
Terminated at Fri Sep 10 12:18:13 2021
Results reported at Fri Sep 10 12:18:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin936 223.392 35.0884 481939201 482198401 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 :                                   807.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            931 sec.

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

