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


Performing analysis on: 4FGL_J1453.5+3505_daily_bin505
RA = 223.392, Dec = 35.0884
tmin = 370224001, tmax = 370483201
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='828572', job_status='RUN', time_executed='2021-09-10 11:46:09.450936', time_epoch_executed='1631299569.45' WHERE source_name='4FGL J1453.5+3505' and cadence='daily' and bin_id='505'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/828572

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/828572/ft1_4FGL_J1453.5+3505_daily_bin505.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/828572/ft2_4FGL_J1453.5+3505_daily_bin505.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/828572/ft1_4FGL_J1453.5+3505_daily_bin505.fits outfile=/scratch/kocevski/828572/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin505.fits ra=223.392 dec=35.0884 rad=12.0 tmin=370224001.0 tmax=370483201.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 16.54
user 15.75
sys 0.46

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/828572/ft2_4FGL_J1453.5+3505_daily_bin505.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/828572/ft1_filteredMKT_4FGL_J1453.5+3505_daily_bin505.fits evtable="EVENTS" outfile="/scratch/kocevski/828572/ft1_filtered_4FGL_J1453.5+3505_daily_bin505.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.60
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/828572/ft1_filtered_4FGL_J1453.5+3505_daily_bin505.fits" evtable="EVENTS" scfile=/scratch/kocevski/828572/ft2_4FGL_J1453.5+3505_daily_bin505.fits sctable="SC_DATA" outfile=/scratch/kocevski/828572/ltcube_370224001_370483201_4FGL_J1453.5+3505_daily_bin505.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/828572/ft2_4FGL_J1453.5+3505_daily_bin505.fits
.....................!
real 10.81
user 10.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/828572/ft1_filtered_4FGL_J1453.5+3505_daily_bin505.fits evtable="EVENTS" scfile=/scratch/kocevski/828572/ft2_4FGL_J1453.5+3505_daily_bin505.fits sctable="SC_DATA" expcube=/scratch/kocevski/828572/ltcube_370224001_370483201_4FGL_J1453.5+3505_daily_bin505.fits outfile=/scratch/kocevski/828572/expmap_370224001_370483201_4FGL_J1453.5+3505_daily_bin505.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/828572/ltcube_370224001_370483201_4FGL_J1453.5+3505_daily_bin505.fits
.....................!
real 191.68
user 185.66
sys 5.19

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/828572/ft1_filtered_4FGL_J1453.5+3505_daily_bin505.fits scfile=/scratch/kocevski/828572/ft2_4FGL_J1453.5+3505_daily_bin505.fits outfile=/scratch/kocevski/828572/cmap_370224001_370483201_4FGL_J1453.5+3505_daily_bin505.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/828572/ft1_filtered_4FGL_J1453.5+3505_daily_bin505.fits scfile=/scratch/kocevski/828572/ft2_4FGL_J1453.5+3505_daily_bin505.fits outfile=/scratch/kocevski/828572/cmap_HighResolution_370224001_370483201_4FGL_J1453.5+3505_daily_bin505.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.58
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/828572/ft1_filtered_4FGL_J1453.5+3505_daily_bin505.fits', '/scratch/kocevski/828572/ft2_4FGL_J1453.5+3505_daily_bin505.fits', expMap='/scratch/kocevski/828572/expmap_370224001_370483201_4FGL_J1453.5+3505_daily_bin505.fits', expCube='/scratch/kocevski/828572/ltcube_370224001_370483201_4FGL_J1453.5+3505_daily_bin505.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/828572/Model_4FGL_J1453.5+3505_daily_bin505.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/828572/ft1_filtered_4FGL_J1453.5+3505_daily_bin505.fits
Spacecraft file(s): /scratch/kocevski/828572/ft2_4FGL_J1453.5+3505_daily_bin505.fits
Exposure map: /scratch/kocevski/828572/expmap_370224001_370483201_4FGL_J1453.5+3505_daily_bin505.fits
Exposure cube: /scratch/kocevski/828572/ltcube_370224001_370483201_4FGL_J1453.5+3505_daily_bin505.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/828572/Model_4FGL_J1453.5+3505_daily_bin505.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3068.66423768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.8370       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    37.822       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3848       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2131       1.0000         .10000E-03   10000.    
     9 'norm      '    .18358E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10693E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    63.303       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10337E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .26200       1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.1287       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.3401       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.4307       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11248E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.254       1.0000         .10000E-03   10000.    
    23 'norm      '    8.5830       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10338E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    45.368       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .13414E-02   1.0000         .10000E-03   10000.    
    27 'norm      '    9.9427       1.0000         .10000E-03   10000.    
    28 'Prefactor '    25.495       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.4203       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .44847       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=   3068.589     FROM MIGRAD    STATUS=CONVERGED    818 CALLS     4054 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.4718       -.27098E-08** at limit **
   2  Prefactor     .10000E-03    7.8390        .19318E-07** at limit **
   3  norm          6.8373        5.0322        .29677E-08    .30982E-03
   4  Prefactor     .10000E-03    59.030       -.26008E-04** at limit **
   5  Prefactor     37.821        22.993       -.60397E-06    .78257E-03
   6  Prefactor     2.3874        4.4848        .37657E-06   -.55931E-04
   7  norm          .10000E-03    11.472        .47815E-06** at limit **
   8  Prefactor     3.2150        20.811       -.13607E-05   -.41088E-04
   9  norm          .12661        6.1737       -.10947E-06    .35909E-04
  10  Prefactor     .10000E-03    20.444        .75099E-06** at limit **
  11  norm          .10000E-03    9.2584        .36268E-06** at limit **
  12  Prefactor     63.218        76.787       -.36263E-04    .48363E-04
  13  norm          .10000E-03    4.9840       -.63227E-08** at limit **
  14  Prefactor     .10000E-03    14.945       -.28437E-06** at limit **
  15  Prefactor     .26316        9.4622       -.79597E-06   -.11378E-03
  16  norm          .10000E-03    .93097        .11078E-07** at limit **
  17  norm          4.1294        4.3498       -.37493E-06    .22671E-03
  18  Prefactor     7.3172        18.935        .97412E-05    .11201E-03
  19  Prefactor     .10000E-03    54.301        .25439E-04** at limit **
  20  Prefactor     2.4381        71.527        .20449E-04   -.34294E-04
  21  Prefactor     .10000E-03    33.128       -.16894E-05** at limit **
  22  Prefactor     13.312        26.540       -.19072E-04   -.11569E-05
  23  norm          8.5857        3.0426       -.51354E-06    .13959E-03
  24  Prefactor     .10000E-03    9.9652       -.86751E-06** at limit **
  25  Prefactor     45.426        58.419        .26538E-04   -.47714E-05
  26  Prefactor     .10018E-03    32.840        .23157E-05** at limit **
  27  norm          9.9517        16.971       -.29337E-05   -.28743E-03
  28  Prefactor     25.467        64.633        .50554E-05    .11025E-04
  29  Normalizat    1.4194        .28012        .10389E-04   -.24748E-03
  30  Prefactor     .44889        .25997       -.99608E-05    .18532E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.8373
  Prefactor  = 0.000100001
  Prefactor  = 37.8215
  Prefactor  = 2.38745
  norm       = 0.0001
  Prefactor  = 3.21503
  norm       = 0.126613
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 63.2185
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.263163
  norm       = 0.0001
  norm       = 4.12942
  Prefactor  = 7.31721
  Prefactor  = 0.0001
  Prefactor  = 2.43806
  Prefactor  = 0.000100001
  Prefactor  = 13.3117
  norm       = 8.58574
  Prefactor  = 0.0001
  Prefactor  = 45.4258
  Prefactor  = 0.000100185
  norm       = 9.95171
  Prefactor  = 25.4666
  Normalizat = 1.41941
  Prefactor  = 0.448891
 **********
 **   18 **HESSE 
 **********

 FCN=   3068.589     FROM HESSE     STATUS=OK           586 CALLS     4640 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.4747        .13764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.8417        .15148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.8373        5.0340        .10289E-03   -1.5185    
   4  Prefactor     .10000E-03    59.577        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     37.821        22.882        .65170E-04   -1.4477    
   6  Prefactor     2.3874        4.4630        .15357E-03   -1.5399    
   7  norm          .10000E-03    11.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2150        20.764        .22601E-03   -1.5349    
   9  norm          .12661        91.077        .26117E-02   -1.5637    
  10  Prefactor     .10000E-03    20.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    9.3504        .16458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     63.218        76.899        .50436E-04   -1.4116    
  13  norm          .10000E-03    4.9874        .12078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .26316        41.884        .32497E-02   -1.5605    
  16  norm          .10000E-03    .93817        .52017E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.1294        4.3565        .10418E-03   -1.5302    
  18  Prefactor     7.3172        18.700        .14804E-03   -1.5167    
  19  Prefactor     .10000E-03    54.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.4381        70.477        .26247E-03   -1.5396    
  21  Prefactor     .10000E-03    33.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.312        26.366        .11002E-03   -1.4978    
  23  norm          8.5857        3.0450        .54262E-04   -1.5122    
  24  Prefactor     .10000E-03    9.9799        .17073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     45.426        58.337        .29763E-03   -1.4359    
  26  Prefactor     .10018E-03    128.60        .51920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          9.9517        14.443        .12708E-03   -1.5077    
  28  Prefactor     25.467        64.600        .79336E-04   -1.4698    
  29  Normalizat    1.4194        .32698        .21594E-03   -.80069    
  30  Prefactor     .44889        .29501        .35170E-03   -1.1438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88623e-09
Minuit parameter uncertainties:
  1  3.11752e-06
  2  2.6158e-06
  3  5.03433
  4  0.000462765
  5  22.8869
  6  4.46362
  7  1.3641e-05
  8  16.3489
  9  6.79936
  10  1.09569e-06
  11  2.43697e-05
  12  77.0202
  13  1.38094e-06
  14  6.60013e-05
  15  6.64344
  16  1.28942e-06
  17  4.35679
  18  18.7153
  19  8.72834e-06
  20  26.2501
  21  0.000406574
  22  26.3887
  23  3.04506
  24  0.000104609
  25  58.4099
  26  0.00977291
  27  14.4476
  28  64.7782
  29  0.327461
  30  0.296012
Done.

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

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  6.600e-05  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.489e-01  2.960e-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.419e+00  3.275e-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: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/828572/likelihoodResults_370224001_370483201_4FGL_J1453.5+3505_daily_bin505.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) = 3068.58891048
delta logL = -0.000316986346206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3068.5885964
delta logL = -2.90521666102e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0595       1.0000          .0000       10.000    
     3 'Normalizat'    1.4194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .44888       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=   3068.589     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      289 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11363E-03    2.3279        .15513E-01** at limit **
   2  Index         2.7718        8.6141        .50000        .22363E-04
   3  Normalizat    1.4194        .29004E-02    .21594E-03   -.27246E-04
   4  Prefactor     .44888        .28054E-02    .35171E-03   -.12170E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000113626
  Index      = 2.77179
  Normalizat = 1.41942
  Prefactor  = 0.448879
 **********
 **   18 **HESSE 
 **********

 FCN=   3068.589     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      318 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11363E-03    163.15        .17649E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7718        7.3720        .50000       -.46189    
   3  Normalizat    1.4194        .24441E-01    .43187E-04   -.80069    
   4  Prefactor     .44888        .23638E-01    .14068E-04   -1.1438    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.10325e-08
Minuit parameter uncertainties:
  1  0.0945596
  2  858.071
  3  0.0244415
  4  0.0236389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/828572': 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) = 3068.58859538
delta logL = -1.88310013982e-06

Extracting fit parameters...

4FGL J1453.5+3505
   Spectrum: PowerLaw
273    Prefactor:  1.136e-04  9.456e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.772e+00  8.581e+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:  4.489e-01  2.364e-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:  1.419e+00  2.444e-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/828572/cmap_HighResolution_370224001_370483201_4FGL_J1453.5+3505_daily_bin505.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.22e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-09-10 11:56:47.520742', job_id='828572', GAL2='0.45', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1631300207.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.45', dlogl='-1.88e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='505' AND source_name='4FGL J1453.5+3505' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:56:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 828572: <4FGL_J1453.5+3505_daily_bin505> in cluster <slac> Done

Job <4FGL_J1453.5+3505_daily_bin505> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 11:42:08 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:42:09 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:42:09 2021
Terminated at Fri Sep 10 11:56:49 2021
Results reported at Fri Sep 10 11:56:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1453.5+3505_daily_bin505 223.392 35.0884 370224001 370483201 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 :                                   632.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            881 sec.

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

