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


Performing analysis on: 4FGL_J0112.1+2245_daily_bin1483
RA = 18.0294, Dec = 22.7515
tmin = 623721601, tmax = 623980801
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='417576', job_status='RUN', time_executed='2021-08-13 16:12:53.101012', time_epoch_executed='1628896373.1' WHERE source_name='4FGL J0112.1+2245' and cadence='daily' and bin_id='1483'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/417576

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/417576/ft1_4FGL_J0112.1+2245_daily_bin1483.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/417576/ft2_4FGL_J0112.1+2245_daily_bin1483.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/417576/ft1_4FGL_J0112.1+2245_daily_bin1483.fits outfile=/scratch/kocevski/417576/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1483.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=623721601.0 tmax=623980801.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 5.21
user 4.03
sys 1.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/417576/ft2_4FGL_J0112.1+2245_daily_bin1483.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/417576/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1483.fits evtable="EVENTS" outfile="/scratch/kocevski/417576/ft1_filtered_4FGL_J0112.1+2245_daily_bin1483.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.40
user 0.27
sys 1.10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/417576/ft1_filtered_4FGL_J0112.1+2245_daily_bin1483.fits" evtable="EVENTS" scfile=/scratch/kocevski/417576/ft2_4FGL_J0112.1+2245_daily_bin1483.fits sctable="SC_DATA" outfile=/scratch/kocevski/417576/ltcube_623721601_623980801_4FGL_J0112.1+2245_daily_bin1483.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/417576/ft2_4FGL_J0112.1+2245_daily_bin1483.fits
.....................!
real 10.64
user 9.23
sys 1.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/417576/ft1_filtered_4FGL_J0112.1+2245_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/417576/ft2_4FGL_J0112.1+2245_daily_bin1483.fits sctable="SC_DATA" expcube=/scratch/kocevski/417576/ltcube_623721601_623980801_4FGL_J0112.1+2245_daily_bin1483.fits outfile=/scratch/kocevski/417576/expmap_623721601_623980801_4FGL_J0112.1+2245_daily_bin1483.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/417576/ltcube_623721601_623980801_4FGL_J0112.1+2245_daily_bin1483.fits
.....................!
real 156.67
user 150.74
sys 5.50

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/417576/ft1_filtered_4FGL_J0112.1+2245_daily_bin1483.fits scfile=/scratch/kocevski/417576/ft2_4FGL_J0112.1+2245_daily_bin1483.fits outfile=/scratch/kocevski/417576/cmap_623721601_623980801_4FGL_J0112.1+2245_daily_bin1483.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.41
user 0.32
sys 1.07

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/417576/ft1_filtered_4FGL_J0112.1+2245_daily_bin1483.fits scfile=/scratch/kocevski/417576/ft2_4FGL_J0112.1+2245_daily_bin1483.fits outfile=/scratch/kocevski/417576/cmap_HighResolution_623721601_623980801_4FGL_J0112.1+2245_daily_bin1483.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.38
user 0.31
sys 1.06

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    51.190       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.818       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3062       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    41.983       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9935       1.0000         .10000E-03   10000.    
    11 'norm      '    .25506       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.391       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4941       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.3105       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.7754       1.0000         .10000E-03   10000.    
    19 'norm      '    .83323       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .82404E-01   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .49060       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3093       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=   6941.469     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2406 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    48.895        .11050E-05** at limit **
   2  Prefactor     51.190        8.0125        .21865E-06   -.40839E-03
   3  norm          .10000E-03    5.8466       -.81259E-07** at limit **
   4  Prefactor     22.820        31.039        .33234E-05   -.11792E-03
   5  norm          .10000E-03    2.5336       -.57242E-07** at limit **
   6  Prefactor     .10000E-03    3.5030        .88882E-08** at limit **
   7  Prefactor     3.3045        10.999        .52078E-06   -.22562E-03
   8  Prefactor     .10000E-03    134.81       -.17529E-05** at limit **
   9  Prefactor     41.981        33.085        .11806E-05   -.58657E-04
  10  norm          1.9934        .76035       -.51110E-07   -.69993E-04
  11  norm          .25557        .91215        .65884E-06   -.91020E-03
  12  Prefactor     18.389        13.506       -.13081E-05    .11229E-03
  13  Prefactor     .10000E-03    10.508       -.87422E-07** at limit **
  14  Prefactor     .10000E-03    1.3076       -.43243E-07** at limit **
  15  Prefactor     3.4943        5.7376       -.67175E-05    .76611E-05
  16  Prefactor     9.3115        11.833       -.84936E-08   -.79786E-04
  17  Prefactor     .10000E-03    25.213       -.35976E-06** at limit **
  18  Prefactor     9.7772        137.54        .29379E-05   -.47653E-05
  19  norm          .83305        .67781       -.36383E-07   -.55232E-03
  20  Prefactor     .11233        4.5787       -.25828E-06   -.95774E-04
  21  Normalizat    .49057        .21687        .26537E-05   -.76646E-04
  22  Prefactor     1.3092        .14461       -.60252E-06   -.13503E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 51.1902
  norm       = 0.0001
  Prefactor  = 22.8197
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.30454
  Prefactor  = 0.0001
  Prefactor  = 41.9815
  norm       = 1.99341
  norm       = 0.255565
  Prefactor  = 18.3885
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.4943
  Prefactor  = 9.31147
  Prefactor  = 0.0001
  Prefactor  = 9.77719
  norm       = 0.833047
  Prefactor  = 0.112332
  Normalizat = 0.490575
  Prefactor  = 1.30925
 **********
 **   18 **HESSE 
 **********

 FCN=   6941.469     FROM HESSE     STATUS=OK           356 CALLS     2762 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     51.190        8.0004        .56054E-04   -1.4276    
   3  norm          .10000E-03    5.8608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.820        30.906        .83853E-04   -1.4752    
   5  norm          .10000E-03    2.5350        .12952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.5071        .15228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.3045        10.897        .22265E-03   -1.5344    
   8  Prefactor     .10000E-03    136.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     41.981        33.071        .61869E-04   -1.4411    
  10  norm          1.9934        .76003        .41992E-04   -1.5426    
  11  norm          .25557        1.1807        .13434E-02   -1.5607    
  12  Prefactor     18.389        13.492        .93394E-04   -1.4850    
  13  Prefactor     .10000E-03    10.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.3092        .93026E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.4943        5.8088        .21630E-03   -1.5334    
  16  Prefactor     9.3115        11.790        .13134E-03   -1.5098    
  17  Prefactor     .10000E-03    25.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.7772        134.74        .12817E-03   -1.5082    
  19  norm          .83305        .64599        .55777E-03   -1.5525    
  20  Prefactor     .11233        8.8712        .58427E-01   -1.5641    
  21  Normalizat    .49057        .22687        .41303E-03   -1.1285    
  22  Prefactor     1.3092        .15466        .18416E-03   -.83033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52175e-10
Minuit parameter uncertainties:
  1  0.000149755
  2  8.00057
  3  3.54378e-06
  4  30.9278
  5  1.13683e-06
  6  6.75604e-06
  7  10.9035
  8  0.000259998
  9  33.0859
  10  0.760034
  11  1.09845
  12  13.4944
  13  3.97709e-06
  14  1.77966e-08
  15  5.80974
  16  11.7934
  17  1.31594e-05
  18  72.7911
  19  0.645991
  20  1.99594
  21  0.2273
  22  0.154715
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.993e+00  7.600e-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.309e+00  1.547e-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:  4.906e-01  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 26.47
Ra Dec: 18.029 22.752
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 1.02e-07 +/- 3.90e-08
Energy Flux (Fixed Index): 5.90e-05 +/- 2.25e-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) = 6940.87736262
delta logL = 0.591803375458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6940.85858234
delta logL = 0.610583658344

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7904       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6349       1.0000          .0000       5.0000    
     3 'Normalizat'    .52478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2997       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=   6940.859     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      211 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7904        .71550        .78150E-02   -.33027E-02
   2  alpha         1.6349        .27403        .22740       -.37440E-04
   3  Normalizat    .52478        .20183        .90350E-01   -.64748E-05
   4  Prefactor     1.2997        .14108        .32615E-01    .28597E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.79039
  alpha      = 1.63494
  Normalizat = 0.524778
  Prefactor  = 1.29969
 **********
 **   18 **HESSE 
 **********

 FCN=   6940.859     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7904        .81953        .43198E-04   -1.5440    
   2  alpha         1.6349        .33278        .94285E-02   -.35333    
   3  Normalizat    .52478        .21693        .40033E-03   -1.1128    
   4  Prefactor     1.2997        .15207        .18489E-03   -.83316    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25974e-09
Minuit parameter uncertainties:
  1  0.819532
  2  0.333907
  3  0.217284
  4  0.15212
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/417576': 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) = 6940.85858233
delta logL = 0.610583668969

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.790e+00  8.195e-01  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  1.635e+00  3.339e-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.300e+00  1.521e-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:  5.248e-01  2.173e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.66
Ra Dec: 18.029 22.752
Photon Index (Free Index): 1.63 +/- 0.33
Photon Flux (Free Index): 6.78e-08 +/- 3.93e-08
Energy Flux (Free Index): 9.19e-05 +/- 5.71e-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/417576/cmap_HighResolution_623721601_623980801_4FGL_J0112.1+2245_daily_bin1483.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.02e-07', energy_flux2='9.19e-05', photon_flux_error='3.90e-08', dlogl='6.11e-01', energy_flux='5.90e-05', photon_flux2='6.78e-08', job_status='DONE', time_completed='2021-08-13 16:21:45.530203', photon_index_error2='0.33', photon_index2='1.63', ts='26.47', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', energy_flux_error2='5.71e-05', EG='0.49', time_epoch_completed='1628896905.53', return_code='0', job_id='417576', GAL2='1.30', EG2='0.52', return_code2='0', energy_flux_error='2.25e-05', photon_flux_error2='3.93e-08', ts2='27.66', photon_index='2.01' WHERE bin_id='1483' AND source_name='4FGL J0112.1+2245' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 16:21:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 417576: <4FGL_J0112.1+2245_daily_bin1483> in cluster <slac> Done

Job <4FGL_J0112.1+2245_daily_bin1483> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 13 16:10:38 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:12:28 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:12:28 2021
Terminated at Fri Aug 13 16:21:46 2021
Results reported at Fri Aug 13 16:21:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_daily_bin1483 18.0294 22.7515 623721601 623980801 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 :                                   533.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   557 sec.
    Turnaround time :                            668 sec.

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

