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


Performing analysis on: 4FGL_J0112.1+2245_daily_bin1318
RA = 18.0294, Dec = 22.7515
tmin = 580953601, tmax = 581212801
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='416249', job_status='RUN', time_executed='2021-08-13 16:10:15.093100', time_epoch_executed='1628896215.09' WHERE source_name='4FGL J0112.1+2245' and cadence='daily' and bin_id='1318'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/416249

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/416249/ft1_4FGL_J0112.1+2245_daily_bin1318.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/416249/ft2_4FGL_J0112.1+2245_daily_bin1318.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/416249/ft1_4FGL_J0112.1+2245_daily_bin1318.fits outfile=/scratch/kocevski/416249/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1318.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=580953601.0 tmax=581212801.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 7.18
user 2.75
sys 4.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/416249/ft2_4FGL_J0112.1+2245_daily_bin1318.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/416249/ft2_4FGL_J0112.1+2245_daily_bin1318.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/416249/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1318.fits evtable="EVENTS" outfile="/scratch/kocevski/416249/ft1_filtered_4FGL_J0112.1+2245_daily_bin1318.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 4.59
user 0.34
sys 4.22

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/416249/ft1_filtered_4FGL_J0112.1+2245_daily_bin1318.fits" evtable="EVENTS" scfile=/scratch/kocevski/416249/ft2_4FGL_J0112.1+2245_daily_bin1318.fits sctable="SC_DATA" outfile=/scratch/kocevski/416249/ltcube_580953601_581212801_4FGL_J0112.1+2245_daily_bin1318.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/416249/ft2_4FGL_J0112.1+2245_daily_bin1318.fits
.....................!
real 19.03
user 14.07
sys 4.83

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/416249/ft1_filtered_4FGL_J0112.1+2245_daily_bin1318.fits evtable="EVENTS" scfile=/scratch/kocevski/416249/ft2_4FGL_J0112.1+2245_daily_bin1318.fits sctable="SC_DATA" expcube=/scratch/kocevski/416249/ltcube_580953601_581212801_4FGL_J0112.1+2245_daily_bin1318.fits outfile=/scratch/kocevski/416249/expmap_580953601_581212801_4FGL_J0112.1+2245_daily_bin1318.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/416249/ltcube_580953601_581212801_4FGL_J0112.1+2245_daily_bin1318.fits
.....................!
real 197.17
user 185.82
sys 10.73

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

Setting source of interest to:
4FGL J0112.1+2245 @ 18.0294 22.7515

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/416249/ft1_filtered_4FGL_J0112.1+2245_daily_bin1318.fits scfile=/scratch/kocevski/416249/ft2_4FGL_J0112.1+2245_daily_bin1318.fits outfile=/scratch/kocevski/416249/cmap_580953601_581212801_4FGL_J0112.1+2245_daily_bin1318.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=18.0294 yref=22.7515 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 4.53
user 0.38
sys 4.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/416249/ft1_filtered_4FGL_J0112.1+2245_daily_bin1318.fits scfile=/scratch/kocevski/416249/ft2_4FGL_J0112.1+2245_daily_bin1318.fits outfile=/scratch/kocevski/416249/cmap_HighResolution_580953601_581212801_4FGL_J0112.1+2245_daily_bin1318.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=18.0294 yref=22.7515 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 4.52
user 0.38
sys 4.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/416249/ft1_filtered_4FGL_J0112.1+2245_daily_bin1318.fits evtable="EVENTS" scfile=/scratch/kocevski/416249/ft2_4FGL_J0112.1+2245_daily_bin1318.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/416249/Model_4FGL_J0112.1+2245_daily_bin1318.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/416249/ft1_filtered_4FGL_J0112.1+2245_daily_bin1318.fits.....................!
real 83.14
user 76.35
sys 6.47

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/416249/ft1_filtered_4FGL_J0112.1+2245_daily_bin1318.fits', '/scratch/kocevski/416249/ft2_4FGL_J0112.1+2245_daily_bin1318.fits', expMap='/scratch/kocevski/416249/expmap_580953601_581212801_4FGL_J0112.1+2245_daily_bin1318.fits', expCube='/scratch/kocevski/416249/ltcube_580953601_581212801_4FGL_J0112.1+2245_daily_bin1318.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/416249/Model_4FGL_J0112.1+2245_daily_bin1318.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0112.1+2245'

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.596e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  2.006e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
250         beta:  5.709e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
251           Eb:  7.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/416249/ft1_filtered_4FGL_J0112.1+2245_daily_bin1318.fits
Spacecraft file(s): /scratch/kocevski/416249/ft2_4FGL_J0112.1+2245_daily_bin1318.fits
Exposure map: /scratch/kocevski/416249/expmap_580953601_581212801_4FGL_J0112.1+2245_daily_bin1318.fits
Exposure cube: /scratch/kocevski/416249/ltcube_580953601_581212801_4FGL_J0112.1+2245_daily_bin1318.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/416249/Model_4FGL_J0112.1+2245_daily_bin1318.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) = 7549.81792274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.232       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .25345E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10436E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5145       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.5744       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10312E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.0310       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.1399       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13757E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.2591       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.0616       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1256       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1218       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7548.938     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2047 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.251        .75671E-05** at limit **
   2  Prefactor     27.232        5.9036        .10134E-07   -.81687E-03
   3  norm          .10000E-03    2.1767       -.28643E-07** at limit **
   4  Prefactor     .10000E-03    30.698        .34893E-04** at limit **
   5  norm          .10000E-03    2.6443       -.11625E-06** at limit **
   6  Prefactor     .10000E-03    5.1550        .23586E-06** at limit **
   7  Prefactor     .10000E-03    4.8171       -.29177E-06** at limit **
   8  Prefactor     .10000E-03    96.692       -.92811E-05** at limit **
   9  Prefactor     .10000E-03    23.260       -.31153E-04** at limit **
  10  norm          1.5146        .73572       -.14629E-07    .89720E-03
  11  norm          .10000E-03    .71730        .18994E-06** at limit **
  12  Prefactor     7.5680        12.330        .20808E-06   -.32198E-04
  13  Prefactor     .10000E-03    18.438        .28445E-05** at limit **
  14  Prefactor     .10000E-03    2.0081        .92122E-07** at limit **
  15  Prefactor     7.0308        7.8752       -.16161E-05   -.18929E-03
  16  Prefactor     .10000E-03    6.4187       -.19421E-06** at limit **
  17  Prefactor     7.1364        67.024       -.12083E-04    .25057E-04
  18  Prefactor     .10000E-03    63.430       -.18406E-04** at limit **
  19  norm          1.2590        .83193        .69228E-07    .26691E-03
  20  Prefactor     1.0882        11.589       -.20354E-05    .24353E-03
  21  Normalizat    1.1255        .20818        .45688E-06    .85782E-04
  22  Prefactor     1.1218        .13470        .59247E-06    .12490E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 27.2325
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.51457
  norm       = 0.0001
  Prefactor  = 7.56798
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.03081
  Prefactor  = 0.0001
  Prefactor  = 7.13641
  Prefactor  = 0.0001
  norm       = 1.25904
  Prefactor  = 1.08821
  Normalizat = 1.12553
  Prefactor  = 1.12176
 **********
 **   18 **HESSE 
 **********

 FCN=   7548.938     FROM HESSE     STATUS=OK           338 CALLS     2385 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.232        5.9122        .76768E-04   -1.4664    
   3  norm          .10000E-03    2.1769        .12519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    30.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.6507        .13798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.1722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.8315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    97.407        .21459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    23.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5146        .73228        .49698E-04   -1.5462    
  11  norm          .10000E-03    1.2093        .14022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.5680        12.333        .14572E-03   -1.5158    
  13  Prefactor     .10000E-03    18.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.0171        .12022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.0308        7.7963        .15129E-03   -1.5178    
  16  Prefactor     .10000E-03    6.4551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.1364        66.885        .15012E-03   -1.5174    
  18  Prefactor     .10000E-03    63.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.2590        .83101        .61850E-04   -1.5484    
  20  Prefactor     1.0882        74.816        .54260E-02   -1.5499    
  21  Normalizat    1.1255        .23981        .31739E-03   -.88936    
  22  Prefactor     1.1218        .15553        .21047E-03   -.88774    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40035e-09
Minuit parameter uncertainties:
  1  1.04305e-05
  2  5.91238
  3  6.34718e-07
  4  0.000177503
  5  1.76779e-06
  6  5.90665e-06
  7  1.26225e-06
  8  8.08164e-05
  9  1.51914e-05
  10  0.732279
  11  5.1616e-06
  12  12.3373
  13  1.79817e-06
  14  9.42895e-07
  15  7.79742
  16  1.3015e-05
  17  43.7594
  18  4.29596e-05
  19  0.831021
  20  18.0689
  21  0.240047
  22  0.155598
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.515e+00  7.323e-01  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  2.006e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
250         beta:  5.709e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
251           Eb:  7.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.122e+00  1.556e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.126e+00  2.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.80
Ra Dec: 18.029 22.752
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 7.77e-08 +/- 3.76e-08
Energy Flux (Fixed Index): 4.48e-05 +/- 2.17e-05

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) = 7548.91847393
delta logL = 0.0193005435285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7548.91805257
delta logL = 0.0197219051433

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5183       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0922       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1171       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1244       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7548.918     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5176        14.035        .86709E-02    .29142E-03
   2  alpha         2.0922        3.4059        .32802        .14998E-04
   3  Normalizat    1.1174        .13515        .71946E-01    .17158E-04
   4  Prefactor     1.1243        .71463E-01    .36726E-01    .75768E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.51756
  alpha      = 2.09219
  Normalizat = 1.11742
  Prefactor  = 1.12429
 **********
 **   18 **HESSE 
 **********

 FCN=   7548.918     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5176        .71744        .48498E-04   -1.5462    
   2  alpha         2.0922        .43381        .12130E-01   -.16386    
   3  Normalizat    1.1174        .23491        .31837E-03   -.89195    
   4  Prefactor     1.1243        .15410        .21024E-03   -.88694    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14624e-10
Minuit parameter uncertainties:
  1  0.717446
  2  0.436076
  3  0.235131
  4  0.154164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/416249': 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) = 7548.91805125
delta logL = 0.0197232209875

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.518e+00  7.174e-01  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  2.092e+00  4.361e-01  0.000e+00  5.000e+00 ( 1.000e+00)
250         beta:  5.709e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
251           Eb:  7.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.124e+00  1.542e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.117e+00  2.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.80
Ra Dec: 18.029 22.752
Photon Index (Free Index): 2.09 +/- 0.44
Photon Flux (Free Index): 8.53e-08 +/- 5.42e-08
Energy Flux (Free Index): 4.21e-05 +/- 2.38e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/416249/cmap_HighResolution_580953601_581212801_4FGL_J0112.1+2245_daily_bin1318.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.77e-08', energy_flux2='4.21e-05', photon_flux_error='3.76e-08', dlogl='1.97e-02', energy_flux='4.48e-05', photon_flux2='8.53e-08', job_status='DONE', time_completed='2021-08-13 16:21:17.200054', photon_index_error2='0.44', photon_index2='2.09', ts='12.80', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='2.38e-05', EG='1.13', time_epoch_completed='1628896877.2', return_code='0', job_id='416249', GAL2='1.12', EG2='1.12', return_code2='0', energy_flux_error='2.17e-05', photon_flux_error2='5.42e-08', ts2='12.80', photon_index='2.01' WHERE bin_id='1318' AND source_name='4FGL J0112.1+2245' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 16:21:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 416249: <4FGL_J0112.1+2245_daily_bin1318> in cluster <slac> Done

Job <4FGL_J0112.1+2245_daily_bin1318> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 16:05:53 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:09:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 16:09:00 2021
Terminated at Fri Aug 13 16:21:18 2021
Results reported at Fri Aug 13 16:21:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_daily_bin1318 18.0294 22.7515 580953601 581212801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0112.1+2245 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   719.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            925 sec.

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

