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


Performing analysis on: 4FGL_J1112.5+3448_daily_bin1282
RA = 168.147, Dec = 34.8022
tmin = 571622401, tmax = 571881601
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='608205', job_status='RUN', time_executed='2021-09-03 13:01:00.331809', time_epoch_executed='1630699260.33' WHERE source_name='4FGL J1112.5+3448' and cadence='daily' and bin_id='1282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/608205

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/608205/ft1_4FGL_J1112.5+3448_daily_bin1282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/608205/ft2_4FGL_J1112.5+3448_daily_bin1282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/608205/ft1_4FGL_J1112.5+3448_daily_bin1282.fits outfile=/scratch/kocevski/608205/ft1_filteredMKT_4FGL_J1112.5+3448_daily_bin1282.fits ra=168.147 dec=34.8022 rad=12.0 tmin=571622401.0 tmax=571881601.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 2.76
user 2.56
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/608205/ft2_4FGL_J1112.5+3448_daily_bin1282.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/608205/ft2_4FGL_J1112.5+3448_daily_bin1282.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/608205/ft1_filteredMKT_4FGL_J1112.5+3448_daily_bin1282.fits evtable="EVENTS" outfile="/scratch/kocevski/608205/ft1_filtered_4FGL_J1112.5+3448_daily_bin1282.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.52
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/608205/ft1_filtered_4FGL_J1112.5+3448_daily_bin1282.fits" evtable="EVENTS" scfile=/scratch/kocevski/608205/ft2_4FGL_J1112.5+3448_daily_bin1282.fits sctable="SC_DATA" outfile=/scratch/kocevski/608205/ltcube_571622401_571881601_4FGL_J1112.5+3448_daily_bin1282.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/608205/ft2_4FGL_J1112.5+3448_daily_bin1282.fits
.....................!
real 18.62
user 18.18
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/608205/ft1_filtered_4FGL_J1112.5+3448_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/608205/ft2_4FGL_J1112.5+3448_daily_bin1282.fits sctable="SC_DATA" expcube=/scratch/kocevski/608205/ltcube_571622401_571881601_4FGL_J1112.5+3448_daily_bin1282.fits outfile=/scratch/kocevski/608205/expmap_571622401_571881601_4FGL_J1112.5+3448_daily_bin1282.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/608205/ltcube_571622401_571881601_4FGL_J1112.5+3448_daily_bin1282.fits
.....................!
real 193.46
user 186.83
sys 4.88

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

Setting source of interest to:
4FGL J1112.5+3448 @ 168.147 34.8022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/608205/ft1_filtered_4FGL_J1112.5+3448_daily_bin1282.fits scfile=/scratch/kocevski/608205/ft2_4FGL_J1112.5+3448_daily_bin1282.fits outfile=/scratch/kocevski/608205/cmap_571622401_571881601_4FGL_J1112.5+3448_daily_bin1282.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=168.147 yref=34.8022 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.67
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/608205/ft1_filtered_4FGL_J1112.5+3448_daily_bin1282.fits scfile=/scratch/kocevski/608205/ft2_4FGL_J1112.5+3448_daily_bin1282.fits outfile=/scratch/kocevski/608205/cmap_HighResolution_571622401_571881601_4FGL_J1112.5+3448_daily_bin1282.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=168.147 yref=34.8022 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/608205/ft1_filtered_4FGL_J1112.5+3448_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/608205/ft2_4FGL_J1112.5+3448_daily_bin1282.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/608205/Model_4FGL_J1112.5+3448_daily_bin1282.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/608205/ft1_filtered_4FGL_J1112.5+3448_daily_bin1282.fits.....................!
real 23.99
user 22.56
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/608205/ft1_filtered_4FGL_J1112.5+3448_daily_bin1282.fits', '/scratch/kocevski/608205/ft2_4FGL_J1112.5+3448_daily_bin1282.fits', expMap='/scratch/kocevski/608205/expmap_571622401_571881601_4FGL_J1112.5+3448_daily_bin1282.fits', expCube='/scratch/kocevski/608205/ltcube_571622401_571881601_4FGL_J1112.5+3448_daily_bin1282.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/608205/Model_4FGL_J1112.5+3448_daily_bin1282.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1112.5+3448'

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  9.204e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
314        alpha:  2.369e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
315         beta:  1.454e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  4.627e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/608205/ft1_filtered_4FGL_J1112.5+3448_daily_bin1282.fits
Spacecraft file(s): /scratch/kocevski/608205/ft2_4FGL_J1112.5+3448_daily_bin1282.fits
Exposure map: /scratch/kocevski/608205/expmap_571622401_571881601_4FGL_J1112.5+3448_daily_bin1282.fits
Exposure cube: /scratch/kocevski/608205/ltcube_571622401_571881601_4FGL_J1112.5+3448_daily_bin1282.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/608205/Model_4FGL_J1112.5+3448_daily_bin1282.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) = 1471.76651259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    110.04       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    60.316       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12328E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    162.53       1.0000         .10000E-03   10000.    
    10 'Prefactor '    110.51       1.0000         .10000E-03   10000.    
    11 'norm      '    .27714       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13484E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    70.974       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    32.108       1.0000         .10000E-03   10000.    
    16 'norm      '    18.511       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.064       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10238E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.2532       1.0000         .10000E-03   10000.    
    23 'Prefactor '    60.459       1.0000         .10000E-03   10000.    
    24 'norm      '    4.7211       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    64.683       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .14336E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .68256       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    32 'Prefactor '    2.3426       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1471.757     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     4262 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     110.04        1.0056       -.44203E-08    .33216E-03
   2  norm          .10152E-03    18.868       -.43644E-05** at limit **
   3  Prefactor     60.318        1.0372        .15545E-07   -.66284E-03
   4  Prefactor     .10118E-03    46.924       -.69860E-05** at limit **
   5  Prefactor     .10000E-03    10.429        .13409E-06** at limit **
   6  Prefactor     .10017E-03    9.2065       -.43884E-05** at limit **
   7  Prefactor     .10009E-03    15.574       -.32458E-05** at limit **
   8  Prefactor     .10008E-03    16.399       -.32123E-05** at limit **
   9  Prefactor     162.53        1.0449        .10556E-07   -.11789E-02
  10  Prefactor     110.51        1.1788       -.26430E-07    .19131E-02
  11  norm          .27718        .50017        .13822E-06    .49623E-04
  12  Prefactor     .10000E-03    9.8918       -.32702E-05** at limit **
  13  Prefactor     70.982        1.7845        .78554E-07   -.32425E-02
  14  Prefactor     .10089E-03    21.592       -.46581E-05** at limit **
  15  norm          32.113        1.3044        .66927E-07   -.12090E-02
  16  norm          18.509        1.0287       -.25851E-07    .20915E-03
  17  Prefactor     10.068        1.0341        .36018E-07    .17486E-03
  18  Prefactor     .10017E-03    15.430       -.32662E-05** at limit **
  19  Prefactor     .10032E-03    12.494       -.53387E-05** at limit **
  20  norm          .10000E-03    4.9188        .26924E-06** at limit **
  21  Prefactor     .10004E-03    14.837       -.31688E-05** at limit **
  22  Prefactor     8.2507        1.0121       -.25221E-07    .43162E-05
  23  Prefactor     60.461        1.1371        .27475E-07   -.12812E-02
  24  norm          4.7220        2.8898       -.10221E-05   -.29742E-03
  25  Prefactor     .10791E-03    22.768       -.44867E-05** at limit **
  26  norm          .10000E-03    8.1601        .33324E-06** at limit **
  27  Prefactor     64.683        1.0083        .60022E-08   -.35209E-03
  28  Prefactor     .11587E-03    73.560       -.84716E-05** at limit **
  29  norm          .68301        2.0856        .84399E-06    .46506E-04
  30  Prefactor     .10007E-03    9.3103       -.33225E-05** at limit **
  31  Normalizat    .10000E-01    1.1985        .56521E-05** at limit **
  32  Prefactor     2.3422        .32857       -.25100E-05   -.29740E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 110.039
  norm       = 0.000101517
  Prefactor  = 60.3178
  Prefactor  = 0.000101184
  Prefactor  = 0.0001
  Prefactor  = 0.000100174
  Prefactor  = 0.00010009
  Prefactor  = 0.000100081
  Prefactor  = 162.528
  Prefactor  = 110.511
  norm       = 0.277175
  Prefactor  = 0.000100005
  Prefactor  = 70.9822
  Prefactor  = 0.000100895
  norm       = 32.1129
  norm       = 18.5093
  Prefactor  = 10.0677
  Prefactor  = 0.000100168
  Prefactor  = 0.000100319
  norm       = 0.0001
  Prefactor  = 0.000100043
  Prefactor  = 8.25074
  Prefactor  = 60.4612
  norm       = 4.72199
  Prefactor  = 0.000107913
  norm       = 0.0001
  Prefactor  = 64.6829
  Prefactor  = 0.000115872
  norm       = 0.683012
  Prefactor  = 0.000100075
  Normalizat = 0.01
  Prefactor  = 2.34223
 **********
 **   18 **HESSE 
 **********

 FCN=   1471.757     FROM HESSE     STATUS=OK           717 CALLS     4979 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     110.04        155.18        .95859E-03   -1.3606    
   2  norm          .10152E-03    44.888        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     60.318        7671.3        .12915E-02   -1.4153    
   4  Prefactor     .10118E-03    122.11        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.422        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10017E-03    19.559        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10009E-03    59.625        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10008E-03    63.678        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     162.53        236.52        .79086E-03   -1.3151    
  10  Prefactor     110.51        98.372        .95655E-03   -1.3602    
  11  norm          .27718        .55250        .80305E-02   -1.5603    
  12  Prefactor     .10000E-03    23.506        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     70.982        68.356        .11913E-02   -1.4021    
  14  Prefactor     .10089E-03    30.614        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          32.113        80.256        .17678E-02   -1.4574    
  16  norm          18.509        44.889        .23273E-02   -1.4847    
  17  Prefactor     10.068        9.5409        .31577E-02   -1.5073    
  18  Prefactor     .10017E-03    58.815        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10032E-03    16.888        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.8878        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10004E-03    15.269        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.2507        25.566        .34888E-02   -1.5133    
  23  Prefactor     60.461        150.32        .12900E-02   -1.4151    
  24  norm          4.7220        3.2543        .46298E-02   -1.5273    
  25  Prefactor     .10791E-03    87.524        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    8.1532        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     64.683        84.317        .12475E-02   -1.4098    
  28  Prefactor     .11587E-03    154.46        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .68301        2.2848        .21687E-01   -1.5543    
  30  Prefactor     .10007E-03    22.423        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .10000E-01    .53142        .32094       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     2.3422        .46391        .61096E-01   -.56043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08382e-06
Minuit parameter uncertainties:
  1  155.762
  2  0.0165154
  3  1399.13
  4  0.0240954
  5  1.64644e-05
  6  0.00368796
  7  0.00463117
  8  0.00453549
  9  237.917
  10  98.5182
  11  0.552511
  12  0.000668846
  13  68.4315
  14  0.0104722
  15  80.5279
  16  44.9707
  17  9.54231
  18  0.00628969
  19  0.00464586
  20  2.18115e-06
  21  0.00162604
  22  25.5997
  23  151.278
  24  3.25446
  25  0.052712
  26  2.39288e-06
  27  84.4735
  28  0.0992855
  29  2.28514
  30  0.00258614
  31  7.46501e-07
  32  0.464848
Done.

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

Extracting fit parameters...

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  3.211e+01  8.053e+01  1.000e-04  1.000e+04 ( 1.000e-12)
314        alpha:  2.369e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
315         beta:  1.454e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  4.627e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  2.342e+00  4.648e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.000e-02  7.465e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 168.147 34.802
Photon Flux Upper Limit: 4.76e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.42e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/608205/likelihoodResults_571622401_571881601_4FGL_J1112.5+3448_daily_bin1282.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) = 1471.73314063
delta logL = 0.0243207789038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1471.73270345
delta logL = 0.0247579555651

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    30.797       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7025       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    2.3383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+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=   1471.733     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      263 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          30.799        67.036        .72199E-04   -.12898E-03
   2  alpha         2.7023        1.4629        .19653E-01   -.29450E-04
   3  Normalizat    .10000E-01    1.0845        .11126E-01** at limit **
   4  Prefactor     2.3383        .31535        .27005E-03    .29669E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 30.7989
  alpha      = 2.70235
  Normalizat = 0.01
  Prefactor  = 2.33826
 **********
 **   18 **HESSE 
 **********

 FCN=   1471.733     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          30.799        65.735        .14440E-04   -1.4597    
   2  alpha         2.7023        1.4381        .78614E-03    .81027E-01
   3  Normalizat    .10000E-01    1.0856        .22252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.3383        .31475        .10802E-04   -.56137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97392e-10
Minuit parameter uncertainties:
  1  65.8904
  2  1.53304
  3  4.3996e-07
  4  0.315044
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/608205': 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) = 1471.73270327
delta logL = 0.0247581418289

Extracting fit parameters...

4FGL J1112.5+3448
   Spectrum: LogParabola
313         norm:  3.080e+01  6.589e+01  1.000e-04  1.000e+04 ( 1.000e-12)
314        alpha:  2.702e+00  1.533e+00  0.000e+00  5.000e+00 ( 1.000e+00)
315         beta:  1.454e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
316           Eb:  4.627e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
617    Prefactor:  2.338e+00  3.150e-01  0.000e+00  1.000e+01 ( 1.000e+00)
618        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
619        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
616   Normalization:  1.000e-02  4.400e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
Ra Dec: 168.147 34.802

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/608205/cmap_HighResolution_571622401_571881601_4FGL_J1112.5+3448_daily_bin1282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.42e-04', job_status='DONE', photon_flux_upper_limit='4.76e-07', time_completed='2021-09-03 13:10:03.727771', job_id='608205', GAL2='2.34', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630699803.73', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='2.34', dlogl='2.48e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1282' AND source_name='4FGL J1112.5+3448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:10:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 608205: <4FGL_J1112.5+3448_daily_bin1282> in cluster <slac> Done

Job <4FGL_J1112.5+3448_daily_bin1282> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 12:56:28 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 12:58:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 12:58:03 2021
Terminated at Fri Sep  3 13:10:04 2021
Results reported at Fri Sep  3 13:10:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1112.5+3448_daily_bin1282 168.147 34.8022 571622401 571881601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1112.5+3448 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   481.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             234.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            816 sec.

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

