/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 163 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7430
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0112.8+3208_daily_bin1215
RA = 18.2227, Dec = 32.1399
tmin = 554256001, tmax = 554515201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='428070', job_status='RUN', time_executed='2021-08-13 16:51:27.467668', time_epoch_executed='1628898687.47' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='1215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428070

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428070/ft1_4FGL_J0112.8+3208_daily_bin1215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428070/ft2_4FGL_J0112.8+3208_daily_bin1215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428070/ft1_4FGL_J0112.8+3208_daily_bin1215.fits outfile=/scratch/kocevski/428070/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1215.fits ra=18.2227 dec=32.1399 rad=12.0 tmin=554256001.0 tmax=554515201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 13.20
user 3.70
sys 9.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/428070/ft2_4FGL_J0112.8+3208_daily_bin1215.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/428070/ft2_4FGL_J0112.8+3208_daily_bin1215.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/428070/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1215.fits evtable="EVENTS" outfile="/scratch/kocevski/428070/ft1_filtered_4FGL_J0112.8+3208_daily_bin1215.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428070/ft1_filtered_4FGL_J0112.8+3208_daily_bin1215.fits" evtable="EVENTS" scfile=/scratch/kocevski/428070/ft2_4FGL_J0112.8+3208_daily_bin1215.fits sctable="SC_DATA" outfile=/scratch/kocevski/428070/ltcube_554256001_554515201_4FGL_J0112.8+3208_daily_bin1215.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/428070/ft2_4FGL_J0112.8+3208_daily_bin1215.fits
.....................!
real 22.91
user 11.97
sys 10.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428070/ft1_filtered_4FGL_J0112.8+3208_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/428070/ft2_4FGL_J0112.8+3208_daily_bin1215.fits sctable="SC_DATA" expcube=/scratch/kocevski/428070/ltcube_554256001_554515201_4FGL_J0112.8+3208_daily_bin1215.fits outfile=/scratch/kocevski/428070/expmap_554256001_554515201_4FGL_J0112.8+3208_daily_bin1215.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/428070/ltcube_554256001_554515201_4FGL_J0112.8+3208_daily_bin1215.fits
.....................!
real 202.76
user 184.99
sys 16.16

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.8+3208 @ 18.2227 32.1399

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/428070/ft1_filtered_4FGL_J0112.8+3208_daily_bin1215.fits scfile=/scratch/kocevski/428070/ft2_4FGL_J0112.8+3208_daily_bin1215.fits outfile=/scratch/kocevski/428070/cmap_554256001_554515201_4FGL_J0112.8+3208_daily_bin1215.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=18.2227 yref=32.1399 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 9.48
user 0.39
sys 8.94

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428070/ft1_filtered_4FGL_J0112.8+3208_daily_bin1215.fits scfile=/scratch/kocevski/428070/ft2_4FGL_J0112.8+3208_daily_bin1215.fits outfile=/scratch/kocevski/428070/cmap_HighResolution_554256001_554515201_4FGL_J0112.8+3208_daily_bin1215.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=18.2227 yref=32.1399 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 9.52
user 0.38
sys 8.88

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/428070/ft1_filtered_4FGL_J0112.8+3208_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/428070/ft2_4FGL_J0112.8+3208_daily_bin1215.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/428070/Model_4FGL_J0112.8+3208_daily_bin1215.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/428070/ft1_filtered_4FGL_J0112.8+3208_daily_bin1215.fits..........................!
real 27.13
user 14.26
sys 12.58

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/428070/ft1_filtered_4FGL_J0112.8+3208_daily_bin1215.fits', '/scratch/kocevski/428070/ft2_4FGL_J0112.8+3208_daily_bin1215.fits', expMap='/scratch/kocevski/428070/expmap_554256001_554515201_4FGL_J0112.8+3208_daily_bin1215.fits', expCube='/scratch/kocevski/428070/ltcube_554256001_554515201_4FGL_J0112.8+3208_daily_bin1215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/428070/Model_4FGL_J0112.8+3208_daily_bin1215.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0112.8+3208'

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  1.942e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.252e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  6.695e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/428070/ft1_filtered_4FGL_J0112.8+3208_daily_bin1215.fits
Spacecraft file(s): /scratch/kocevski/428070/ft2_4FGL_J0112.8+3208_daily_bin1215.fits
Exposure map: /scratch/kocevski/428070/expmap_554256001_554515201_4FGL_J0112.8+3208_daily_bin1215.fits
Exposure cube: /scratch/kocevski/428070/ltcube_554256001_554515201_4FGL_J0112.8+3208_daily_bin1215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/428070/Model_4FGL_J0112.8+3208_daily_bin1215.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) = 272.520689342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42330E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    100.66       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12740E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    147.51       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12930E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10365E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10204E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    235.97       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.084       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    29.367       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    136.28       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .57984       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .42051       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   272.3147     FROM MIGRAD    STATUS=CONVERGED    601 CALLS     3110 TOTAL
                     EDM=   .46E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    270.55       -.37359E-05** at limit **
   2  norm          .10000E-03    5.7928       -.77440E-07** at limit **
   3  Prefactor     100.66        125.15        .32942E-05   -.89448E-05
   4  Prefactor     .10000E-03    19.665       -.33113E-06** at limit **
   5  Prefactor     .10000E-03    24.127        .11823E-07** at limit **
   6  Prefactor     .10000E-03    103.25       -.24767E-05** at limit **
   7  Prefactor     147.50        125.41        .11591E-06   -.73344E-05
   8  Prefactor     .10000E-03    227.12        .15176E-05** at limit **
   9  Prefactor     .10000E-03    327.59       -.71659E-06** at limit **
  10  norm          .10000E-03    3.1559        .93305E-06** at limit **
  11  norm          .10000E-03    3.9741        .58561E-06** at limit **
  12  Prefactor     236.42        250.71        .24851E-05    .11147E-04
  13  Prefactor     .10000E-03    19.915        .18054E-05** at limit **
  14  Prefactor     24.095        39.564        .11280E-05   -.84933E-05
  15  Prefactor     .10000E-03    47.582        .10751E-05** at limit **
  16  norm          29.368        19.210        .41928E-07    .12235E-06
  17  Prefactor     .10000E-03    125.40        .16958E-06** at limit **
  18  Prefactor     .10000E-03    194.94        .26100E-06** at limit **
  19  norm          .10000E-03    1.5728        .44787E-07** at limit **
  20  Prefactor     .10000E-03    51.478       -.12291E-06** at limit **
  21  Prefactor     .10000E-03    14.164       -.97293E-07** at limit **
  22  Prefactor     136.31        140.28        .94780E-07    .17317E-05
  23  norm          .10000E-03    13.282       -.52009E-09** at limit **
  24  Prefactor     .10000E-03    22.679        .15832E-07** at limit **
  25  Normalizat    .57508        .80471       -.22460E-04    .12983E-05
  26  Prefactor     .42296        .43006        .13094E-04   -.21131E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 100.656
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 147.501
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 236.423
  Prefactor  = 0.0001
  Prefactor  = 24.0953
  Prefactor  = 0.0001
  norm       = 29.3677
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 136.307
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.575077
  Prefactor  = 0.422956
 **********
 **   18 **HESSE 
 **********

 FCN=   272.3147     FROM HESSE     STATUS=OK           440 CALLS     3550 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    271.66        .21237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.7938        .38826E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     100.66        124.93        .40072E-04   -1.3698    
   4  Prefactor     .10000E-03    19.672        .71548E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.128        .79263E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    104.08        .16443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     147.50        125.45        .16590E-03   -1.3273    
   8  Prefactor     .10000E-03    227.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    327.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.3032        .29059E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.9970        .32217E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     236.42        250.95        .13176E-03   -1.2621    
  13  Prefactor     .10000E-03    20.134        .72405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.095        39.492        .81624E-04   -1.4726    
  15  Prefactor     .10000E-03    47.752        .11149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          29.368        19.203        .55497E-04   -1.4624    
  17  Prefactor     .10000E-03    125.40        .18101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    194.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.5737        .20230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    51.487        .11583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    14.167        .60716E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     136.31        140.29        .17250E-03   -1.3368    
  23  norm          .10000E-03    13.282        .58798E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    22.680        .76844E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .57508        .81480        .28447E-03   -1.0905    
  26  Prefactor     .42296        .43434        .19284E-03   -1.1565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.95657e-11
Minuit parameter uncertainties:
  1  0.000232971
  2  2.94508e-06
  3  125.255
  4  1.51815e-05
  5  2.9645e-06
  6  0.000496437
  7  125.678
  8  0.000521094
  9  0.000694047
  10  3.95945e-05
  11  1.83952e-05
  12  252.108
  13  0.000140075
  14  39.5349
  15  0.00018807
  16  19.2069
  17  9.23444e-05
  18  0.000238333
  19  1.66054e-06
  20  1.63844e-05
  21  1.95401e-08
  22  140.634
  23  9.13093e-07
  24  1.20325e-05
  25  0.832756
  26  0.437783
Done.

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

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  1.000e-04  1.840e-05  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.252e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  6.695e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.230e-01  4.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  5.751e-01  8.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 18.223 32.140
Photon Flux Upper Limit: 5.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.96e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428070/likelihoodResults_554256001_554515201_4FGL_J0112.8+3208_daily_bin1215.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 272.315183548
delta logL = -0.000501560769408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 272.31468202
delta logL = -3.25126734424e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2461       1.0000          .0000       5.0000    
     3 'Normalizat'    .57502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .42291       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+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=   272.3147     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      233 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.4276        .32278E-03** at limit **
   2  alpha         1.9730        2.8846        .16569       -.12697E-06
   3  Normalizat    .57507        .70047        .28453E-03    .79688E-05
   4  Prefactor     .42296        .41810        .19282E-03    .12868E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.97304
  Normalizat = 0.575074
  Prefactor  = 0.422958
 **********
 **   18 **HESSE 
 **********

 FCN=   272.3147     FROM HESSE     STATUS=OK            23 CALLS      256 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.1758        .64556E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9730        3.8252        .66277E-02   -.21238    
   3  Normalizat    .57507        .70084        .11381E-04   -1.0905    
   4  Prefactor     .42296        .41832        .77127E-05   -1.1565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44484e-10
Minuit parameter uncertainties:
  1  6.71569e-05
  2  258.037
  3  0.712084
  4  0.421389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428070': 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) = 272.314681451
delta logL = 5.35648212008e-07

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  1.000e-04  6.716e-05  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  1.973e+00  2.580e+02  0.000e+00  5.000e+00 ( 1.000e+00)
245         beta:  6.695e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  4.230e-01  4.214e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  5.751e-01  7.121e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 18.223 32.140

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/428070/cmap_HighResolution_554256001_554515201_4FGL_J0112.8+3208_daily_bin1215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-04', job_status='DONE', photon_flux_upper_limit='5.44e-07', time_completed='2021-08-13 16:59:23.477540', job_id='428070', GAL2='0.42', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1628899163.48', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.42', dlogl='5.36e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1215' AND source_name='4FGL J0112.8+3208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 16:59:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 428070: <4FGL_J0112.8+3208_daily_bin1215> in cluster <slac> Done

Job <4FGL_J0112.8+3208_daily_bin1215> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 13 16:45:25 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:46:09 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:46:09 2021
Terminated at Fri Aug 13 16:59:25 2021
Results reported at Fri Aug 13 16:59:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1215 18.2227 32.1399 554256001 554515201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0112.8+3208 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   608.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             214.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            840 sec.

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

