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


Performing analysis on: 4FGL_J0112.1+2245_daily_bin1215
RA = 18.0294, Dec = 22.7515
tmin = 554256001, tmax = 554515201
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='416106', job_status='RUN', time_executed='2021-08-13 16:12:21.376560', time_epoch_executed='1628896341.38' WHERE source_name='4FGL J0112.1+2245' and cadence='daily' and bin_id='1215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/416106

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/416106/ft1_4FGL_J0112.1+2245_daily_bin1215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/416106/ft2_4FGL_J0112.1+2245_daily_bin1215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/416106/ft1_4FGL_J0112.1+2245_daily_bin1215.fits outfile=/scratch/kocevski/416106/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1215.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=554256001.0 tmax=554515201.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 13.83
user 3.83
sys 9.91

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/416106/ft1_filtered_4FGL_J0112.1+2245_daily_bin1215.fits" evtable="EVENTS" scfile=/scratch/kocevski/416106/ft2_4FGL_J0112.1+2245_daily_bin1215.fits sctable="SC_DATA" outfile=/scratch/kocevski/416106/ltcube_554256001_554515201_4FGL_J0112.1+2245_daily_bin1215.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/416106/ft2_4FGL_J0112.1+2245_daily_bin1215.fits
.....................!
real 24.36
user 13.33
sys 10.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/416106/ft1_filtered_4FGL_J0112.1+2245_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/416106/ft2_4FGL_J0112.1+2245_daily_bin1215.fits sctable="SC_DATA" expcube=/scratch/kocevski/416106/ltcube_554256001_554515201_4FGL_J0112.1+2245_daily_bin1215.fits outfile=/scratch/kocevski/416106/expmap_554256001_554515201_4FGL_J0112.1+2245_daily_bin1215.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/416106/ltcube_554256001_554515201_4FGL_J0112.1+2245_daily_bin1215.fits
.....................!
real 204.87
user 185.63
sys 18.69

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/416106/ft1_filtered_4FGL_J0112.1+2245_daily_bin1215.fits scfile=/scratch/kocevski/416106/ft2_4FGL_J0112.1+2245_daily_bin1215.fits outfile=/scratch/kocevski/416106/cmap_554256001_554515201_4FGL_J0112.1+2245_daily_bin1215.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 10.01
user 0.38
sys 9.58

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/416106/ft1_filtered_4FGL_J0112.1+2245_daily_bin1215.fits scfile=/scratch/kocevski/416106/ft2_4FGL_J0112.1+2245_daily_bin1215.fits outfile=/scratch/kocevski/416106/cmap_HighResolution_554256001_554515201_4FGL_J0112.1+2245_daily_bin1215.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 9.86
user 0.39
sys 9.43

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/416106/ft1_filtered_4FGL_J0112.1+2245_daily_bin1215.fits', '/scratch/kocevski/416106/ft2_4FGL_J0112.1+2245_daily_bin1215.fits', expMap='/scratch/kocevski/416106/expmap_554256001_554515201_4FGL_J0112.1+2245_daily_bin1215.fits', expCube='/scratch/kocevski/416106/ltcube_554256001_554515201_4FGL_J0112.1+2245_daily_bin1215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/416106/Model_4FGL_J0112.1+2245_daily_bin1215.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/416106/ft1_filtered_4FGL_J0112.1+2245_daily_bin1215.fits
Spacecraft file(s): /scratch/kocevski/416106/ft2_4FGL_J0112.1+2245_daily_bin1215.fits
Exposure map: /scratch/kocevski/416106/expmap_554256001_554515201_4FGL_J0112.1+2245_daily_bin1215.fits
Exposure cube: /scratch/kocevski/416106/ltcube_554256001_554515201_4FGL_J0112.1+2245_daily_bin1215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/416106/Model_4FGL_J0112.1+2245_daily_bin1215.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) = 267.102181566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    118.41       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10121E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10412E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    48.972       1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.843       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    430.37       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11533E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .18947E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    182.66       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.488       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11064E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10355E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6768       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .54512E-01   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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   267.0879     FROM MIGRAD    STATUS=CONVERGED    811 CALLS     2674 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     117.81        260.69        .18489E-03    .20445E-05
   2  Prefactor     .10000E-03    16.350        .64503E-03** at limit **
   3  norm          .10000E-03    41.154        .10255E-02** at limit **
   4  Prefactor     .10000E-03    282.63        .18142E-02** at limit **
   5  norm          48.974        82.792        .28651E-03    .77871E-06
   6  Prefactor     31.646        124.50        .71006E-04    .24517E-05
   7  Prefactor     .10000E-03    29.123        .86251E-03** at limit **
   8  Prefactor     429.88        410.61        .98552E-04    .16958E-05
   9  Prefactor     .10000E-03    150.46        .18142E-02** at limit **
  10  norm          .10000E-03    2.1390        .23312E-03** at limit **
  11  norm          .10000E-03    4.1483        .32500E-03** at limit **
  12  Prefactor     .10000E-03    180.04        .18142E-02** at limit **
  13  Prefactor     182.53        218.39        .14935E-03    .14872E-05
  14  Prefactor     .10000E-03    18.136        .68043E-03** at limit **
  15  Prefactor     13.480        35.907        .10906E-03    .15897E-05
  16  Prefactor     .10000E-03    31.741        .90042E-03** at limit **
  17  Prefactor     .10000E-03    103.82        .16306E-02** at limit **
  18  Prefactor     .10000E-03    184.35        .18142E-02** at limit **
  19  norm          .10000E-03    1.5668        .19993E-03** at limit **
  20  Prefactor     .10000E-03    40.400        .10159E-02** at limit **
  21  Normalizat    1.6773        .97024        .19689E-03    .17070E-04
  22  Prefactor     .54635E-01    1.0177        .52723E-02    .74848E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 117.813
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 48.9736
  Prefactor  = 31.6456
  Prefactor  = 0.0001
  Prefactor  = 429.882
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 182.532
  Prefactor  = 0.0001
  Prefactor  = 13.48
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.6773
  Prefactor  = 0.0546345
 **********
 **   18 **HESSE 
 **********

 FCN=   267.0879     FROM HESSE     STATUS=OK           322 CALLS     2996 TOTAL
                     EDM=   .91E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     117.81        260.52        .73958E-05   -1.3533    
   2  Prefactor     .10000E-03    16.350        .12901E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    41.154        .20510E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    282.65        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          48.974        82.655        .11461E-04   -1.4307    
   6  Prefactor     31.646        123.90        .28402E-05   -1.4582    
   7  Prefactor     .10000E-03    29.123        .17250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     429.88        410.61        .19710E-04   -1.1531    
   9  Prefactor     .10000E-03    150.46        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.1390        .46624E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.1483        .65001E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    180.05        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     182.53        218.36        .29870E-04   -1.2998    
  14  Prefactor     .10000E-03    18.136        .13609E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.480        35.907        .43625E-05   -1.4973    
  16  Prefactor     .10000E-03    31.741        .18008E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    103.82        .32612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    184.35        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.5668        .39986E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    40.400        .20317E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.6773        .94324        .39378E-04   -.72911    
  22  Prefactor     .54635E-01    .95883        .21089E-03   -1.4228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.09787e-12
Minuit parameter uncertainties:
  1  263.12
  2  2.08066e-05
  3  1.12894e-06
  4  0.000223303
  5  82.849
  6  124.93
  7  7.09082e-07
  8  413.47
  9  7.03485e-06
  10  2.01431e-06
  11  1.33239e-05
  12  3.73107e-05
  13  219.344
  14  2.09244e-06
  15  35.9647
  16  1.38499e-05
  17  2.48025e-05
  18  4.93555e-06
  19  1.26174e-06
  20  2.34531e-05
  21  0.953625
  22  0.466779
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.000e-04  2.014e-06  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:  5.463e-02  4.668e-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.677e+00  9.536e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 18.029 22.752
Photon Flux Upper Limit: 5.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.12e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/416106/likelihoodResults_554256001_554515201_4FGL_J0112.1+2245_daily_bin1215.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) = 267.088168434
delta logL = -0.000249152392939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 267.087919453
delta logL = -1.70790599441e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0118       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6777       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54371E-01   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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   266.8705     FROM MIGRAD    STATUS=CONVERGED    391 CALLS      542 TOTAL
                     EDM=   .48E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41884E-01    .76974E-01    .12356E-02   -.46325E-03
   2  alpha         5.0000        3.6057        .50000    ** at limit **
   3  Normalizat    1.4321        .89125        .19685E-02    .12612E-05
   4  Prefactor     .13836        .45516        .52847E-02    .29484E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0418835
  alpha      = 5
  Normalizat = 1.43211
  Prefactor  = 0.138363
 **********
 **   18 **HESSE 
 **********

 FCN=   266.8705     FROM HESSE     STATUS=OK            29 CALLS      571 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41884E-01    .76427E-01    .55088E-05   -1.5749    
   2  alpha         5.0000        3.9313        .22002E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.4321        .85152        .78739E-04   -.79704    
   4  Prefactor     .13836        .44549        .21139E-03   -1.3350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68738e-12
Minuit parameter uncertainties:
  1  0.0764267
  2  6.49001e-06
  3  0.860204
  4  0.457065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/416106': 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) = 266.870511973
delta logL = 0.217407308571

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  4.188e-02  7.643e-02  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  5.000e+00  6.490e-06  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.384e-01  4.571e-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.432e+00  8.602e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 18.029 22.752

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/416106/cmap_HighResolution_554256001_554515201_4FGL_J0112.1+2245_daily_bin1215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.12e-04', job_status='DONE', photon_flux_upper_limit='5.42e-07', time_completed='2021-08-13 16:20:27.455979', job_id='416106', GAL2='0.14', fit_tolerance='1e-08', EG2='1.43', EG='1.68', time_epoch_completed='1628896827.46', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.05', dlogl='2.17e-01', ts2='0.48', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1215' AND source_name='4FGL J0112.1+2245' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 16:20:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 416106: <4FGL_J0112.1+2245_daily_bin1215> in cluster <slac> Done

Job <4FGL_J0112.1+2245_daily_bin1215> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 16:05:41 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:07:22 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:07:22 2021
Terminated at Fri Aug 13 16:20:29 2021
Results reported at Fri Aug 13 16:20:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_daily_bin1215 18.0294 22.7515 554256001 554515201 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 :                                   635.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            888 sec.

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

