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


Performing analysis on: 4FGL_J0112.1+2245_daily_bin1118
RA = 18.0294, Dec = 22.7515
tmin = 529113601, tmax = 529372801
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='415953', job_status='RUN', time_executed='2021-08-13 16:10:21.979020', time_epoch_executed='1628896221.98' WHERE source_name='4FGL J0112.1+2245' and cadence='daily' and bin_id='1118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/415953

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/415953/ft1_4FGL_J0112.1+2245_daily_bin1118.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/415953/ft2_4FGL_J0112.1+2245_daily_bin1118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/415953/ft1_4FGL_J0112.1+2245_daily_bin1118.fits outfile=/scratch/kocevski/415953/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1118.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=529113601.0 tmax=529372801.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 8.85
user 3.64
sys 5.13

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/415953/ft2_4FGL_J0112.1+2245_daily_bin1118.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/415953/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1118.fits evtable="EVENTS" outfile="/scratch/kocevski/415953/ft1_filtered_4FGL_J0112.1+2245_daily_bin1118.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 5.64
user 0.33
sys 5.27

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/415953/ft1_filtered_4FGL_J0112.1+2245_daily_bin1118.fits" evtable="EVENTS" scfile=/scratch/kocevski/415953/ft2_4FGL_J0112.1+2245_daily_bin1118.fits sctable="SC_DATA" outfile=/scratch/kocevski/415953/ltcube_529113601_529372801_4FGL_J0112.1+2245_daily_bin1118.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/415953/ft2_4FGL_J0112.1+2245_daily_bin1118.fits
.....................!
real 18.58
user 12.42
sys 6.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/415953/ft1_filtered_4FGL_J0112.1+2245_daily_bin1118.fits evtable="EVENTS" scfile=/scratch/kocevski/415953/ft2_4FGL_J0112.1+2245_daily_bin1118.fits sctable="SC_DATA" expcube=/scratch/kocevski/415953/ltcube_529113601_529372801_4FGL_J0112.1+2245_daily_bin1118.fits outfile=/scratch/kocevski/415953/expmap_529113601_529372801_4FGL_J0112.1+2245_daily_bin1118.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/415953/ltcube_529113601_529372801_4FGL_J0112.1+2245_daily_bin1118.fits
.....................!
real 198.74
user 185.81
sys 12.35

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/415953/ft1_filtered_4FGL_J0112.1+2245_daily_bin1118.fits scfile=/scratch/kocevski/415953/ft2_4FGL_J0112.1+2245_daily_bin1118.fits outfile=/scratch/kocevski/415953/cmap_529113601_529372801_4FGL_J0112.1+2245_daily_bin1118.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 5.37
user 0.38
sys 4.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/415953/ft1_filtered_4FGL_J0112.1+2245_daily_bin1118.fits scfile=/scratch/kocevski/415953/ft2_4FGL_J0112.1+2245_daily_bin1118.fits outfile=/scratch/kocevski/415953/cmap_HighResolution_529113601_529372801_4FGL_J0112.1+2245_daily_bin1118.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 5.57
user 0.40
sys 5.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    11.037       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .84567       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8578       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    32.314       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.2871       1.0000         .10000E-03   10000.    
    11 'norm      '    4.3383       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .18732E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.941       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.2033       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    81.836       1.0000         .10000E-03   10000.    
    19 'norm      '    1.8061       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94651       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0336       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=   7268.173     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2345 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.636        .12716E-04** at limit **
   2  Prefactor     .10000E-03    2.3830       -.52190E-07** at limit **
   3  norm          11.037        10.098       -.11161E-06    .39269E-04
   4  Prefactor     .10000E-03    17.713       -.12583E-04** at limit **
   5  norm          .82044        7.6589       -.21470E-05    .19241E-04
   6  Prefactor     3.8655        17.163       -.34005E-05    .41874E-04
   7  Prefactor     .10000E-03    8.5116        .40904E-05** at limit **
   8  Prefactor     32.299        66.037       -.22497E-04    .16939E-04
   9  Prefactor     .10000E-03    12.275        .13490E-04** at limit **
  10  norm          2.2872        .79465       -.67032E-07    .42547E-03
  11  norm          4.3384        1.6814       -.13116E-06   -.10550E-03
  12  Prefactor     .10026E-03    9.8407       -.16685E-06** at limit **
  13  Prefactor     21.951        33.629        .10240E-04    .44865E-04
  14  Prefactor     9.2033        5.5682       -.30540E-06    .22197E-03
  15  Prefactor     .10000E-03    6.7839       -.53080E-06** at limit **
  16  Prefactor     .10000E-03    10.314       -.14696E-04** at limit **
  17  Prefactor     .10000E-03    11.592        .45399E-05** at limit **
  18  Prefactor     81.803        73.194       -.32180E-04    .44836E-04
  19  norm          1.8062        .73344        .37128E-06    .20744E-04
  20  Prefactor     .10000E-03    5.4234        .88974E-08** at limit **
  21  Normalizat    .94634        .20160        .36338E-05    .16586E-03
  22  Prefactor     1.0337        .12552        .23261E-06    .44087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.0365
  Prefactor  = 0.0001
  norm       = 0.820439
  Prefactor  = 3.86555
  Prefactor  = 0.0001
  Prefactor  = 32.2988
  Prefactor  = 0.0001
  norm       = 2.28716
  norm       = 4.33839
  Prefactor  = 0.000100256
  Prefactor  = 21.9508
  Prefactor  = 9.20327
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 81.803
  norm       = 1.80622
  Prefactor  = 0.0001
  Normalizat = 0.946341
  Prefactor  = 1.03367
 **********
 **   18 **HESSE 
 **********

 FCN=   7268.173     FROM HESSE     STATUS=OK           344 CALLS     2689 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.4465        .25691E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.037        10.099        .12059E-03   -1.5043    
   4  Prefactor     .10000E-03    17.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .82044        21.355        .42854E-02   -1.5527    
   6  Prefactor     3.8655        16.551        .20546E-03   -1.5315    
   7  Prefactor     .10000E-03    8.5669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     32.299        65.636        .70489E-04   -1.4571    
   9  Prefactor     .10000E-03    12.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.2872        .79373        .42843E-04   -1.5405    
  11  norm          4.3384        1.6801        .66083E-04   -1.5291    
  12  Prefactor     .10026E-03    60.434        .50558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.951        33.624        .85511E-04   -1.4771    
  14  Prefactor     9.2033        5.5631        .13211E-03   -1.5101    
  15  Prefactor     .10000E-03    6.8901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     81.803        73.041        .22200E-03   -1.3897    
  19  norm          1.8062        .73389        .44133E-04   -1.5439    
  20  Prefactor     .10000E-03    5.4608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .94634        .23241        .32065E-03   -.94850    
  22  Prefactor     1.0337        .14597        .20086E-03   -.91616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26275e-09
Minuit parameter uncertainties:
  1  4.82794e-05
  2  5.43805e-06
  3  10.1002
  4  3.59021e-07
  5  8.37423
  6  16.0048
  7  2.82206e-05
  8  65.7833
  9  1.03533e-05
  10  0.793734
  11  1.68009
  12  0.00787896
  13  33.6535
  14  5.5634
  15  7.50614e-06
  16  7.45113e-05
  17  1.39421e-05
  18  73.1213
  19  0.73389
  20  6.22974e-07
  21  0.232657
  22  0.146022
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  2.287e+00  7.937e-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.034e+00  1.460e-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.463e-01  2.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 28.05
Ra Dec: 18.029 22.752
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 1.17e-07 +/- 4.07e-08
Energy Flux (Fixed Index): 6.77e-05 +/- 2.35e-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) = 7268.16719426
delta logL = 0.00583786943571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7268.16698391
delta logL = 0.00604822049081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2848       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9728       1.0000          .0000       5.0000    
     3 'Normalizat'    .95008       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0325       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=   7268.167     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      201 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2853        1.0843        .67901E-02    .72303E-04
   2  alpha         1.9728        .38115        .22569       -.39807E-06
   3  Normalizat    .94993        .19236        .72352E-01    .19988E-04
   4  Prefactor     1.0326        .12471        .41066E-01    .26588E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.28525
  alpha      = 1.97284
  Normalizat = 0.949927
  Prefactor  = 1.03259
 **********
 **   18 **HESSE 
 **********

 FCN=   7268.167     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .44E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2853        .79391        .43121E-04   -1.5406    
   2  alpha         1.9728        .29783        .93217E-02   -.21246    
   3  Normalizat    .94993        .22138        .32014E-03   -.94727    
   4  Prefactor     1.0326        .14375        .20097E-03   -.91651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4141e-14
Minuit parameter uncertainties:
  1  0.793918
  2  0.298569
  3  0.221594
  4  0.143799
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/415953': 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) = 7268.16698349
delta logL = 0.00604863207172

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  2.285e+00  7.939e-01  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  1.973e+00  2.986e-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.033e+00  1.438e-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.499e-01  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 28.04
Ra Dec: 18.029 22.752
Photon Index (Free Index): 1.97 +/- 0.30
Photon Flux (Free Index): 1.13e-07 +/- 5.23e-08
Energy Flux (Free Index): 6.98e-05 +/- 3.13e-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/415953/cmap_HighResolution_529113601_529372801_4FGL_J0112.1+2245_daily_bin1118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.17e-07', energy_flux2='6.98e-05', photon_flux_error='4.07e-08', dlogl='6.05e-03', energy_flux='6.77e-05', photon_flux2='1.13e-07', job_status='DONE', time_completed='2021-08-13 16:21:51.695634', photon_index_error2='0.30', photon_index2='1.97', ts='28.05', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='3.13e-05', EG='0.95', time_epoch_completed='1628896911.7', return_code='0', job_id='415953', GAL2='1.03', EG2='0.95', return_code2='0', energy_flux_error='2.35e-05', photon_flux_error2='5.23e-08', ts2='28.04', photon_index='2.01' WHERE bin_id='1118' AND source_name='4FGL J0112.1+2245' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 16:21:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 415953: <4FGL_J0112.1+2245_daily_bin1118> in cluster <slac> Done

Job <4FGL_J0112.1+2245_daily_bin1118> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 16:05:30 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:06:08 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:06:08 2021
Terminated at Fri Aug 13 16:21:53 2021
Results reported at Fri Aug 13 16:21:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_daily_bin1118 18.0294 22.7515 529113601 529372801 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 :                                   762.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            983 sec.

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

