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


Performing analysis on: 4FGL_J0112.1+2245_daily_bin1252
RA = 18.0294, Dec = 22.7515
tmin = 563846401, tmax = 564105601
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='416165', job_status='RUN', time_executed='2021-08-13 16:13:33.529631', time_epoch_executed='1628896413.53' WHERE source_name='4FGL J0112.1+2245' and cadence='daily' and bin_id='1252'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/416165

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/416165/ft1_4FGL_J0112.1+2245_daily_bin1252.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/416165/ft2_4FGL_J0112.1+2245_daily_bin1252.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/416165/ft1_4FGL_J0112.1+2245_daily_bin1252.fits outfile=/scratch/kocevski/416165/ft1_filteredMKT_4FGL_J0112.1+2245_daily_bin1252.fits ra=18.0294 dec=22.7515 rad=12.0 tmin=563846401.0 tmax=564105601.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.06
user 2.62
sys 10.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/416165/ft1_filtered_4FGL_J0112.1+2245_daily_bin1252.fits" evtable="EVENTS" scfile=/scratch/kocevski/416165/ft2_4FGL_J0112.1+2245_daily_bin1252.fits sctable="SC_DATA" outfile=/scratch/kocevski/416165/ltcube_563846401_564105601_4FGL_J0112.1+2245_daily_bin1252.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/416165/ft2_4FGL_J0112.1+2245_daily_bin1252.fits
.....................!
real 26.91
user 14.47
sys 12.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/416165/ft1_filtered_4FGL_J0112.1+2245_daily_bin1252.fits evtable="EVENTS" scfile=/scratch/kocevski/416165/ft2_4FGL_J0112.1+2245_daily_bin1252.fits sctable="SC_DATA" expcube=/scratch/kocevski/416165/ltcube_563846401_564105601_4FGL_J0112.1+2245_daily_bin1252.fits outfile=/scratch/kocevski/416165/expmap_563846401_564105601_4FGL_J0112.1+2245_daily_bin1252.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/416165/ltcube_563846401_564105601_4FGL_J0112.1+2245_daily_bin1252.fits
.....................!
real 206.15
user 187.15
sys 18.61

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/416165/ft1_filtered_4FGL_J0112.1+2245_daily_bin1252.fits scfile=/scratch/kocevski/416165/ft2_4FGL_J0112.1+2245_daily_bin1252.fits outfile=/scratch/kocevski/416165/cmap_563846401_564105601_4FGL_J0112.1+2245_daily_bin1252.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.70
user 0.38
sys 10.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/416165/ft1_filtered_4FGL_J0112.1+2245_daily_bin1252.fits scfile=/scratch/kocevski/416165/ft2_4FGL_J0112.1+2245_daily_bin1252.fits outfile=/scratch/kocevski/416165/cmap_HighResolution_563846401_564105601_4FGL_J0112.1+2245_daily_bin1252.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 10.67
user 0.39
sys 10.23

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.2621       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10624E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    24.797       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3737       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    100.02       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5940       1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.771       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.9674       1.0000         .10000E-03   10000.    
    15 'Prefactor '    82.226       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10501E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.6222       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .50412       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=   988.0164     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2725 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    56.676        .16622E-05** at limit **
   2  Prefactor     2.2619        5.5107        .47685E-06    .12042E-04
   3  norm          .10000E-03    7.2499       -.10308E-07** at limit **
   4  Prefactor     .10000E-03    76.839        .14790E-05** at limit **
   5  norm          24.809        29.210        .14064E-06    .15096E-04
   6  Prefactor     1.3510        160.61        .10189E-04    .15991E-05
   7  Prefactor     .10000E-03    26.664       -.27292E-07** at limit **
   8  Prefactor     100.22        246.12       -.69722E-05    .11219E-05
   9  Prefactor     .10000E-03    50.101       -.17624E-05** at limit **
  10  norm          1.5944        2.5110        .63442E-07    .22331E-04
  11  norm          .10000E-03    4.2448       -.15455E-06** at limit **
  12  Prefactor     30.731        99.524        .30725E-05    .33993E-05
  13  Prefactor     .10000E-03    121.69       -.51149E-05** at limit **
  14  Prefactor     7.9727        18.031        .17663E-06    .10961E-04
  15  Prefactor     82.202        85.857        .78190E-06    .28432E-05
  16  Prefactor     .10000E-03    53.203        .18985E-06** at limit **
  17  Prefactor     .10000E-03    190.20       -.21061E-05** at limit **
  18  Prefactor     .10000E-03    345.46        .14477E-04** at limit **
  19  norm          8.6243        8.1662        .23170E-07   -.38197E-05
  20  Prefactor     .10000E-03    84.202        .82912E-07** at limit **
  21  Normalizat    1.4238        .53179        .70547E-06    .10683E-04
  22  Prefactor     .50364        .34233       -.80274E-06    .11119E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.26192
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 24.8085
  Prefactor  = 1.351
  Prefactor  = 0.0001
  Prefactor  = 100.22
  Prefactor  = 0.0001
  norm       = 1.59441
  norm       = 0.0001
  Prefactor  = 30.7306
  Prefactor  = 0.0001
  Prefactor  = 7.97269
  Prefactor  = 82.2018
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.62429
  Prefactor  = 0.0001
  Normalizat = 1.42383
  Prefactor  = 0.503636
 **********
 **   18 **HESSE 
 **********

 FCN=   988.0164     FROM HESSE     STATUS=OK           338 CALLS     3063 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    56.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2619        5.4893        .54253E-03   -1.5407    
   3  norm          .10000E-03    7.2500        .82682E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    76.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          24.809        29.427        .80444E-04   -1.4711    
   6  Prefactor     1.3510        163.76        .18590E-02   -1.5476    
   7  Prefactor     .10000E-03    26.670        .15861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     100.22        246.16        .20099E-03   -1.3702    
   9  Prefactor     .10000E-03    50.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5944        2.4786        .58129E-04   -1.5455    
  11  norm          .10000E-03    4.2528        .63230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     30.731        100.63        .72229E-04   -1.4599    
  13  Prefactor     .10000E-03    121.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9727        18.024        .14205E-03   -1.5143    
  15  Prefactor     82.202        85.951        .22148E-03   -1.3892    
  16  Prefactor     .10000E-03    53.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    190.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    344.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.6243        8.1740        .84892E-04   -1.5121    
  20  Prefactor     .10000E-03    84.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4238        .63857        .25584E-03   -.79942    
  22  Prefactor     .50364        .40505        .26321E-03   -1.1181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92436e-12
Minuit parameter uncertainties:
  1  4.25029e-05
  2  5.49057
  3  5.59021e-07
  4  0.000123601
  5  29.4438
  6  29.8306
  7  9.0358e-06
  8  248.733
  9  5.50952e-06
  10  2.47879
  11  6.99067e-06
  12  101.191
  13  3.08316e-05
  14  18.0358
  15  86.0816
  16  2.69969e-05
  17  6.12748e-06
  18  0.000331302
  19  8.17508
  20  9.33312e-06
  21  0.642207
  22  0.4074
Done.

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

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.594e+00  2.479e+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

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  5.036e-01  4.074e-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.424e+00  6.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/416165/likelihoodResults_563846401_564105601_4FGL_J0112.1+2245_daily_bin1252.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) = 987.996178097
delta logL = 0.0201877913142

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 987.995819563
delta logL = 0.0205463255126

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5654       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1976       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4151       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50557       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=   987.9958     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      234 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5653        2.3946        .55603E-04    .83384E-03
   2  alpha         2.1979        .94619        .10846E-01    .45915E-04
   3  Normalizat    1.4151        .60135        .25645E-03   -.32564E-04
   4  Prefactor     .50557        .39035        .26268E-03   -.10971E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.56534
  alpha      = 2.19793
  Normalizat = 1.41509
  Prefactor  = 0.505566
 **********
 **   18 **HESSE 
 **********

 FCN=   987.9958     FROM HESSE     STATUS=OK            23 CALLS      257 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5653        2.3795        .22241E-05   -1.5458    
   2  alpha         2.1979        .94038        .43384E-03   -.12113    
   3  Normalizat    1.4151        .60173        .51290E-04   -.80193    
   4  Prefactor     .50557        .39057        .10507E-04   -1.1172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74098e-10
Minuit parameter uncertainties:
  1  2.37965
  2  0.964475
  3  0.60478
  4  0.392672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/416165': 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) = 987.995819502
delta logL = 0.0205463868259

Extracting fit parameters...

4FGL J0112.1+2245
   Spectrum: LogParabola
248         norm:  1.565e+00  2.380e+00  1.000e-04  1.000e+04 ( 1.000e-11)
249        alpha:  2.198e+00  9.645e-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:  5.056e-01  3.927e-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.415e+00  6.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.62
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/416165/cmap_HighResolution_563846401_564105601_4FGL_J0112.1+2245_daily_bin1252.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.43e-04', job_status='DONE', photon_flux_upper_limit='4.21e-07', time_completed='2021-08-13 16:22:16.385235', job_id='416165', GAL2='0.51', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1628896936.39', return_code2='0', ts='0.62', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='2.05e-02', ts2='0.65', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1252' AND source_name='4FGL J0112.1+2245' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 16:22:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 416165: <4FGL_J0112.1+2245_daily_bin1252> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.1+2245_daily_bin1252 18.0294 22.7515 563846401 564105601 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 :                                   687.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             198.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            992 sec.

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

