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


Performing analysis on: 4FGL_J0112.8+3208_daily_bin1495
RA = 18.2227, Dec = 32.1399
tmin = 626832001, tmax = 627091201
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='429658', job_status='RUN', time_executed='2021-08-13 16:56:31.722894', time_epoch_executed='1628898991.72' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='1495'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429658

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429658/ft1_4FGL_J0112.8+3208_daily_bin1495.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429658/ft2_4FGL_J0112.8+3208_daily_bin1495.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429658/ft1_4FGL_J0112.8+3208_daily_bin1495.fits outfile=/scratch/kocevski/429658/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1495.fits ra=18.2227 dec=32.1399 rad=12.0 tmin=626832001.0 tmax=627091201.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 11.98
user 2.78
sys 9.01

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429658/ft2_4FGL_J0112.8+3208_daily_bin1495.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/429658/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1495.fits evtable="EVENTS" outfile="/scratch/kocevski/429658/ft1_filtered_4FGL_J0112.8+3208_daily_bin1495.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.47
user 0.31
sys 9.11

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429658/ft1_filtered_4FGL_J0112.8+3208_daily_bin1495.fits" evtable="EVENTS" scfile=/scratch/kocevski/429658/ft2_4FGL_J0112.8+3208_daily_bin1495.fits sctable="SC_DATA" outfile=/scratch/kocevski/429658/ltcube_626832001_627091201_4FGL_J0112.8+3208_daily_bin1495.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/429658/ft2_4FGL_J0112.8+3208_daily_bin1495.fits
.....................!
real 26.37
user 15.86
sys 10.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429658/ft1_filtered_4FGL_J0112.8+3208_daily_bin1495.fits evtable="EVENTS" scfile=/scratch/kocevski/429658/ft2_4FGL_J0112.8+3208_daily_bin1495.fits sctable="SC_DATA" expcube=/scratch/kocevski/429658/ltcube_626832001_627091201_4FGL_J0112.8+3208_daily_bin1495.fits outfile=/scratch/kocevski/429658/expmap_626832001_627091201_4FGL_J0112.8+3208_daily_bin1495.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/429658/ltcube_626832001_627091201_4FGL_J0112.8+3208_daily_bin1495.fits
.....................!
real 201.04
user 185.02
sys 15.39

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/429658/ft1_filtered_4FGL_J0112.8+3208_daily_bin1495.fits scfile=/scratch/kocevski/429658/ft2_4FGL_J0112.8+3208_daily_bin1495.fits outfile=/scratch/kocevski/429658/cmap_626832001_627091201_4FGL_J0112.8+3208_daily_bin1495.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.31
user 0.37
sys 8.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429658/ft1_filtered_4FGL_J0112.8+3208_daily_bin1495.fits scfile=/scratch/kocevski/429658/ft2_4FGL_J0112.8+3208_daily_bin1495.fits outfile=/scratch/kocevski/429658/cmap_HighResolution_626832001_627091201_4FGL_J0112.8+3208_daily_bin1495.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.40
user 0.38
sys 8.89

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/429658/ft1_filtered_4FGL_J0112.8+3208_daily_bin1495.fits evtable="EVENTS" scfile=/scratch/kocevski/429658/ft2_4FGL_J0112.8+3208_daily_bin1495.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/429658/Model_4FGL_J0112.8+3208_daily_bin1495.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/429658/ft1_filtered_4FGL_J0112.8+3208_daily_bin1495.fits......................!
real 41.49
user 28.30
sys 12.76

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/429658/ft1_filtered_4FGL_J0112.8+3208_daily_bin1495.fits', '/scratch/kocevski/429658/ft2_4FGL_J0112.8+3208_daily_bin1495.fits', expMap='/scratch/kocevski/429658/expmap_626832001_627091201_4FGL_J0112.8+3208_daily_bin1495.fits', expCube='/scratch/kocevski/429658/ltcube_626832001_627091201_4FGL_J0112.8+3208_daily_bin1495.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/429658/Model_4FGL_J0112.8+3208_daily_bin1495.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/429658/ft1_filtered_4FGL_J0112.8+3208_daily_bin1495.fits
Spacecraft file(s): /scratch/kocevski/429658/ft2_4FGL_J0112.8+3208_daily_bin1495.fits
Exposure map: /scratch/kocevski/429658/expmap_626832001_627091201_4FGL_J0112.8+3208_daily_bin1495.fits
Exposure cube: /scratch/kocevski/429658/ltcube_626832001_627091201_4FGL_J0112.8+3208_daily_bin1495.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/429658/Model_4FGL_J0112.8+3208_daily_bin1495.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) = 1992.74409516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    75.872       1.0000         .10000E-03   10000.    
     2 'norm      '    4.2271       1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.470       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23596E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.365       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12275E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.6488       1.0000         .10000E-03   10000.    
    11 'norm      '    5.3713       1.0000         .10000E-03   10000.    
    12 'Prefactor '    168.54       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13247E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4138       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    214.02       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10462E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .22829E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10342E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10839E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .73799       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0584       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=   1992.647     FROM MIGRAD    STATUS=CONVERGED    629 CALLS     3166 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     75.892        55.423        .15896E-05    .57397E-04
   2  norm          4.2272        3.6613        .22079E-06   -.53363E-05
   3  Prefactor     29.471        33.286        .21113E-06   -.11011E-04
   4  Prefactor     .10010E-03    11.298       -.22288E-05** at limit **
   5  Prefactor     .10000E-03    33.649        .22977E-05** at limit **
   6  Prefactor     .10000E-03    5.4056        .12604E-08** at limit **
   7  Prefactor     22.376        48.481        .22284E-05    .16054E-04
   8  Prefactor     .10000E-03    252.16        .41011E-04** at limit **
   9  Prefactor     .10000E-03    35.115        .60434E-06** at limit **
  10  norm          1.6509        2.1833       -.21427E-05   -.69427E-03
  11  norm          5.3715        4.1098        .28750E-06   -.16303E-03
  12  Prefactor     168.89        164.50       -.44199E-06   -.53706E-04
  13  Prefactor     .10000E-03    45.257        .88322E-05** at limit **
  14  Prefactor     .10000E-03    13.038       -.24672E-06** at limit **
  15  Prefactor     1.1456        1078.2        .57372E-04   -.13518E-04
  16  norm          .10000E-03    2.0286       -.24783E-07** at limit **
  17  Prefactor     214.42        313.22       -.20280E-04   -.27719E-05
  18  Prefactor     .10000E-03    860.94       -.83692E-04** at limit **
  19  norm          .54784E-02    3.0992        .64522E-06   -.10195E-03
  20  Prefactor     .10000E-03    48.976        .12348E-06** at limit **
  21  Prefactor     .10000E-03    61.726        .80082E-05** at limit **
  22  Prefactor     .10000E-03    98.435       -.61671E-05** at limit **
  23  norm          .10000E-03    20.529       -.75492E-07** at limit **
  24  Prefactor     .10000E-03    105.05       -.59835E-05** at limit **
  25  Normalizat    .73809        .43791       -.13666E-05   -.61075E-04
  26  Prefactor     1.0582        .25747       -.37476E-05   -.21668E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 75.8921
  norm       = 4.22725
  Prefactor  = 29.471
  Prefactor  = 0.000100105
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.3765
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 1.65085
  norm       = 5.37147
  Prefactor  = 168.892
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.14561
  norm       = 0.0001
  Prefactor  = 214.42
  Prefactor  = 0.0001
  norm       = 0.0054784
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.738087
  Prefactor  = 1.05825
 **********
 **   18 **HESSE 
 **********

 FCN=   1992.647     FROM HESSE     STATUS=OK           460 CALLS     3626 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     75.892        55.280        .46098E-04   -1.3963    
   2  norm          4.2272        3.6599        .76669E-04   -1.5297    
   3  Prefactor     29.471        33.341        .73803E-04   -1.4622    
   4  Prefactor     .10010E-03    31.396        .28576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    33.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.4085        .10137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.376        48.544        .84697E-04   -1.4762    
   8  Prefactor     .10000E-03    253.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    35.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6509        2.1830        .71187E-04   -1.5451    
  11  norm          5.3715        4.1085        .37405E-03   -1.5244    
  12  Prefactor     168.89        167.59        .15537E-03   -1.3101    
  13  Prefactor     .10000E-03    45.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.051        .15743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1456        1249.6        .36418E-02   -1.5494    
  16  norm          .10000E-03    2.0510        .62083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     214.42        319.11        .13820E-03   -1.2769    
  18  Prefactor     .10000E-03    857.33        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .54784E-02    10.999        .25848E-01   -1.5693    
  20  Prefactor     .10000E-03    49.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    63.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    98.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    20.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    105.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .73809        .50369        .38192E-03   -1.0241    
  26  Prefactor     1.0582        .30249        .19423E-03   -.90812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69093e-08
Minuit parameter uncertainties:
  1  55.3174
  2  3.66008
  3  33.3623
  4  0.00363317
  5  7.92234e-05
  6  7.09055e-06
  7  48.6299
  8  0.00150916
  9  9.99997e-06
  10  2.1831
  11  4.10871
  12  168.064
  13  0.000484893
  14  1.22333e-05
  15  77.3444
  16  7.6302e-06
  17  321.748
  18  0.000468995
  19  0.486531
  20  4.6236e-05
  21  0.000240216
  22  1.69531e-05
  23  9.06853e-06
  24  8.23805e-05
  25  0.506901
  26  0.302983
Done.

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

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  5.371e+00  4.109e+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

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.058e+00  3.030e-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:  7.381e-01  5.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.32
Ra Dec: 18.223 32.140
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 1.13e-07
Energy Flux (Fixed Index): 5.32e-05 +/- 4.07e-05

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

Saving results to:
/scratch/kocevski/429658/likelihoodResults_626832001_627091201_4FGL_J0112.8+3208_daily_bin1495.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) = 1992.64650452
delta logL = 4.49390040558e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1992.64650426
delta logL = 4.75611773254e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3715       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2547       1.0000          .0000       5.0000    
     3 'Normalizat'    .73806       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0582       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.

 FCN=   1992.647     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      185 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3736        4.0948        .43349E-02   -.96506E-03
   2  alpha         2.2553        1.0633        .41405E-01   -.18312E-03
   3  Normalizat    .73752        .43677        .86255E-01   -.39256E-04
   4  Prefactor     1.0585        .25442        .39452E-01   -.76826E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.37356
  alpha      = 2.25528
  Normalizat = 0.737522
  Prefactor  = 1.05847
 **********
 **   18 **HESSE 
 **********

 FCN=   1992.647     FROM HESSE     STATUS=OK            27 CALLS      212 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3736        4.1297        .74782E-04   -1.5244    
   2  alpha         2.2553        1.0878        .82809E-02   -.98044E-01
   3  Normalizat    .73752        .50959        .38204E-03   -1.0243    
   4  Prefactor     1.0585        .29673        .19421E-03   -.90805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02976e-10
Minuit parameter uncertainties:
  1  4.12991
  2  1.12578
  3  0.512922
  4  0.297191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429658': 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) = 1992.64650363
delta logL = 5.38391259397e-06

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  5.374e+00  4.130e+00  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.255e+00  1.126e+00  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:  1.058e+00  2.972e-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:  7.375e-01  5.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.29
Ra Dec: 18.223 32.140
Photon Index (Free Index): 2.26 +/- 1.13
Photon Flux (Free Index): 1.49e-07 +/- 1.88e-07
Energy Flux (Free Index): 5.32e-05 +/- 4.49e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/429658/cmap_HighResolution_626832001_627091201_4FGL_J0112.8+3208_daily_bin1495.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-04', comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='5.32e-05', photon_flux_error='1.13e-07', dlogl='5.38e-06', energy_flux='5.32e-05', photon_flux2='1.49e-07', job_status='DONE', time_completed='2021-08-13 17:06:04.696339', photon_index_error2='1.13', photon_index2='2.26', ts='3.32', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='4.05e-07', energy_flux_error2='4.49e-05', EG='0.74', time_epoch_completed='1628899564.7', return_code='0', job_id='429658', GAL2='1.06', EG2='0.74', return_code2='0', energy_flux_error='4.07e-05', photon_flux_error2='1.88e-07', ts2='3.29', photon_index='2.25' WHERE bin_id='1495' AND source_name='4FGL J0112.8+3208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:06:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 429658: <4FGL_J0112.8+3208_daily_bin1495> in cluster <slac> Done

Job <4FGL_J0112.8+3208_daily_bin1495> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 13 16:50:34 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 16:50:36 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:50:36 2021
Terminated at Fri Aug 13 17:06:06 2021
Results reported at Fri Aug 13 17:06:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1495 18.2227 32.1399 626832001 627091201 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 :                                   700.47 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             203.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            932 sec.

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

