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


Performing analysis on: 4FGL_J0112.1+2245_daily_bin1410
RA = 18.0294, Dec = 22.7515
tmin = 604800001, tmax = 605059201
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='416424', job_status='RUN', time_executed='2021-08-13 16:13:20.184569', time_epoch_executed='1628896400.18' WHERE source_name='4FGL J0112.1+2245' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/416424

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/416424/ft1_4FGL_J0112.1+2245_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/416424/ft2_4FGL_J0112.1+2245_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/416424/ft1_4FGL_J0112.1+2245_daily_bin1410.fits outfile=/scratch/kocevski/416424/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1410.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=604800001.0 tmax=605059201.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 6.28
user 4.87
sys 1.00

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/416424/ft2_4FGL_J0112.1+2245_daily_bin1410.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/416424/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1410.fits evtable="EVENTS" outfile="/scratch/kocevski/416424/ft1_filtered_4FGL_J0112.1+2245_daily_bin1410.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.26
user 0.32
sys 0.88

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/416424/ft1_filtered_4FGL_J0112.1+2245_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/416424/ft2_4FGL_J0112.1+2245_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/416424/ltcube_604800001_605059201_4FGL_J0112.1+2245_daily_bin1410.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/416424/ft2_4FGL_J0112.1+2245_daily_bin1410.fits
.....................!
real 12.67
user 11.41
sys 1.15

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/416424/ft1_filtered_4FGL_J0112.1+2245_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/416424/ft2_4FGL_J0112.1+2245_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/416424/ltcube_604800001_605059201_4FGL_J0112.1+2245_daily_bin1410.fits outfile=/scratch/kocevski/416424/expmap_604800001_605059201_4FGL_J0112.1+2245_daily_bin1410.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/416424/ltcube_604800001_605059201_4FGL_J0112.1+2245_daily_bin1410.fits
.....................!
real 191.73
user 185.40
sys 5.84

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/416424/ft1_filtered_4FGL_J0112.1+2245_daily_bin1410.fits scfile=/scratch/kocevski/416424/ft2_4FGL_J0112.1+2245_daily_bin1410.fits outfile=/scratch/kocevski/416424/cmap_604800001_605059201_4FGL_J0112.1+2245_daily_bin1410.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 1.26
user 0.37
sys 0.86

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/416424/ft1_filtered_4FGL_J0112.1+2245_daily_bin1410.fits scfile=/scratch/kocevski/416424/ft2_4FGL_J0112.1+2245_daily_bin1410.fits outfile=/scratch/kocevski/416424/cmap_HighResolution_604800001_605059201_4FGL_J0112.1+2245_daily_bin1410.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 1.25
user 0.37
sys 0.86

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25748E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    28.970       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10367E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.359       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2649       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11708E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8344       1.0000         .10000E-03   10000.    
    11 'norm      '    .84278       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1817       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4659       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.559       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .70924E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    1.5588       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .92565       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92644       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=   6311.358     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     1721 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    52.172        .27149E-05** at limit **
   2  Prefactor     28.968        6.3240        .22027E-07   -.24242E-04
   3  norm          .10000E-03    4.2207       -.20903E-07** at limit **
   4  Prefactor     .10000E-03    9.2435        .18595E-06** at limit **
   5  norm          .10000E-03    2.3965        .66909E-08** at limit **
   6  Prefactor     15.364        10.969       -.26524E-06   -.11836E-05
   7  Prefactor     .10000E-03    3.8849       -.19041E-07** at limit **
   8  Prefactor     6.1189        52.310       -.85167E-05   -.17833E-05
   9  Prefactor     .10000E-03    16.445       -.51551E-06** at limit **
  10  norm          1.8341        .71995        .10693E-07    .77723E-04
  11  norm          .84236        .83429        .34362E-09    .28747E-04
  12  Prefactor     3.2324        8.7735       -.46842E-06    .13042E-04
  13  Prefactor     .10000E-03    9.4666       -.23053E-06** at limit **
  14  Prefactor     .10000E-03    2.8343       -.31846E-07** at limit **
  15  Prefactor     4.4643        6.8679        .15635E-05    .18061E-04
  16  Prefactor     .10000E-03    4.3198       -.58632E-07** at limit **
  17  Prefactor     12.536        43.561        .16792E-05    .22726E-05
  18  Prefactor     .10000E-03    47.208       -.39219E-06** at limit **
  19  norm          1.5591        .68025       -.12316E-07    .32317E-06
  20  Prefactor     .10000E-03    4.5868       -.98804E-07** at limit **
  21  Normalizat    .92577        .19238       -.11668E-05    .23106E-04
  22  Prefactor     .92678        .12364        .70921E-06   -.19781E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 28.9683
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.3644
  Prefactor  = 0.0001
  Prefactor  = 6.11893
  Prefactor  = 0.0001
  norm       = 1.8341
  norm       = 0.842363
  Prefactor  = 3.23239
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.46431
  Prefactor  = 0.0001
  Prefactor  = 12.536
  Prefactor  = 0.0001
  norm       = 1.55909
  Prefactor  = 0.0001
  Normalizat = 0.925771
  Prefactor  = 0.92678
 **********
 **   18 **HESSE 
 **********

 FCN=   6311.358     FROM HESSE     STATUS=OK           342 CALLS     2063 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    52.454        .21453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     28.968        6.3351        .74435E-04   -1.4631    
   3  norm          .10000E-03    4.2316        .15940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.2541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.3977        .12011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.364        10.987        .10220E-03   -1.4924    
   7  Prefactor     .10000E-03    3.8952        .15292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.1189        52.359        .16038E-03   -1.5213    
   9  Prefactor     .10000E-03    16.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.8341        .71699        .40559E-04   -1.5437    
  11  norm          .84236        .81894        .69465E-04   -1.5524    
  12  Prefactor     3.2324        8.7446        .22718E-03   -1.5348    
  13  Prefactor     .10000E-03    9.4723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.9471        .26113E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.4643        6.8771        .95269E-03   -1.5285    
  16  Prefactor     .10000E-03    4.3398        .16120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.536        43.622        .10878E-03   -1.5000    
  18  Prefactor     .10000E-03    47.248        .18678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.5591        .68123        .41607E-04   -1.5458    
  20  Prefactor     .10000E-03    4.6231        .16614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .92577        .22026        .28800E-03   -.95560    
  22  Prefactor     .92678        .14324        .19344E-03   -.95212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.81303e-12
Minuit parameter uncertainties:
  1  2.64523e-05
  2  6.3352
  3  2.97348e-07
  4  6.35379e-07
  5  4.77408e-07
  6  10.9884
  7  1.31596e-06
  8  35.8404
  9  1.21023e-06
  10  0.716997
  11  0.818948
  12  8.74804
  13  1.79241e-06
  14  2.28454e-06
  15  6.87829
  16  4.75322e-06
  17  43.733
  18  1.85306e-05
  19  0.681233
  20  4.7933e-06
  21  0.220475
  22  0.143296
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.834e+00  7.170e-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:  9.268e-01  1.433e-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:  9.258e-01  2.205e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.14
Ra Dec: 18.029 22.752
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 9.41e-08 +/- 3.68e-08
Energy Flux (Fixed Index): 5.43e-05 +/- 2.12e-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) = 6311.17939683
delta logL = 0.178621746956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6311.17894175
delta logL = 0.17907682616

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7019       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1983       1.0000          .0000       5.0000    
     3 'Normalizat'    .90989       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93282       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=   6311.179     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      207 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7020        11.274        .80603E-02    .13011E-02
   2  alpha         2.1984        3.5956        .20459        .91540E-04
   3  Normalizat    .90991        .12020        .65592E-01    .13411E-03
   4  Prefactor     .93280        .77724E-01    .45422E-01    .11047E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.70201
  alpha      = 2.19837
  Normalizat = 0.909911
  Prefactor  = 0.932804
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7020        .72695        .37803E-04   -1.5447    
   2  alpha         2.1984        .33301        .85701E-02   -.12095    
   3  Normalizat    .90991        .21116        .29014E-03   -.96113    
   4  Prefactor     .93280        .14172        .19285E-03   -.95004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07665e-10
Minuit parameter uncertainties:
  1  0.726957
  2  0.334019
  3  0.211354
  4  0.141779
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/416424': 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) = 6311.17894173
delta logL = 0.179076852025

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.702e+00  7.270e-01  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  2.198e+00  3.340e-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:  9.328e-01  1.418e-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:  9.099e-01  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.42
Ra Dec: 18.029 22.752
Photon Index (Free Index): 2.20 +/- 0.33
Photon Flux (Free Index): 1.08e-07 +/- 4.54e-08
Energy Flux (Free Index): 4.50e-05 +/- 2.18e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/416424/cmap_HighResolution_604800001_605059201_4FGL_J0112.1+2245_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.41e-08', energy_flux2='4.50e-05', photon_flux_error='3.68e-08', dlogl='1.79e-01', energy_flux='5.43e-05', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-08-13 16:22:35.561667', photon_index_error2='0.33', photon_index2='2.20', ts='15.14', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='2.18e-05', EG='0.93', time_epoch_completed='1628896955.56', return_code='0', job_id='416424', GAL2='0.93', EG2='0.91', return_code2='0', energy_flux_error='2.12e-05', photon_flux_error2='4.54e-08', ts2='15.42', photon_index='2.01' WHERE bin_id='1410' AND source_name='4FGL J0112.1+2245' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 16:22:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 416424: <4FGL_J0112.1+2245_daily_bin1410> in cluster <slac> Done

Job <4FGL_J0112.1+2245_daily_bin1410> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 16:06:19 2021
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:10:48 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:10:48 2021
Terminated at Fri Aug 13 16:22:36 2021
Results reported at Fri Aug 13 16:22:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_daily_bin1410 18.0294 22.7515 604800001 605059201 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 :                                   557.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            977 sec.

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

