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


Performing analysis on: 4FGL_J0112.8+3208_daily_bin1496
RA = 18.2227, Dec = 32.1399
tmin = 627091201, tmax = 627350401
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='429659', job_status='RUN', time_executed='2021-08-13 16:53:11.033550', time_epoch_executed='1628898791.03' WHERE source_name='4FGL J0112.8+3208' and cadence='daily' and bin_id='1496'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429659

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429659/ft1_4FGL_J0112.8+3208_daily_bin1496.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429659/ft2_4FGL_J0112.8+3208_daily_bin1496.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429659/ft1_4FGL_J0112.8+3208_daily_bin1496.fits outfile=/scratch/kocevski/429659/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1496.fits ra=18.2227 dec=32.1399 rad=12.0 tmin=627091201.0 tmax=627350401.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.77
user 2.74
sys 8.98

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429659/ft2_4FGL_J0112.8+3208_daily_bin1496.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/429659/ft1_filteredMKT_4FGL_J0112.8+3208_daily_bin1496.fits evtable="EVENTS" outfile="/scratch/kocevski/429659/ft1_filtered_4FGL_J0112.8+3208_daily_bin1496.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.42
user 0.33
sys 9.01

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429659/ft1_filtered_4FGL_J0112.8+3208_daily_bin1496.fits" evtable="EVENTS" scfile=/scratch/kocevski/429659/ft2_4FGL_J0112.8+3208_daily_bin1496.fits sctable="SC_DATA" outfile=/scratch/kocevski/429659/ltcube_627091201_627350401_4FGL_J0112.8+3208_daily_bin1496.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/429659/ft2_4FGL_J0112.8+3208_daily_bin1496.fits
.....................!
real 25.03
user 14.65
sys 10.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429659/ft1_filtered_4FGL_J0112.8+3208_daily_bin1496.fits evtable="EVENTS" scfile=/scratch/kocevski/429659/ft2_4FGL_J0112.8+3208_daily_bin1496.fits sctable="SC_DATA" expcube=/scratch/kocevski/429659/ltcube_627091201_627350401_4FGL_J0112.8+3208_daily_bin1496.fits outfile=/scratch/kocevski/429659/expmap_627091201_627350401_4FGL_J0112.8+3208_daily_bin1496.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/429659/ltcube_627091201_627350401_4FGL_J0112.8+3208_daily_bin1496.fits
.....................!
real 203.40
user 186.42
sys 16.60

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/429659/ft1_filtered_4FGL_J0112.8+3208_daily_bin1496.fits scfile=/scratch/kocevski/429659/ft2_4FGL_J0112.8+3208_daily_bin1496.fits outfile=/scratch/kocevski/429659/cmap_627091201_627350401_4FGL_J0112.8+3208_daily_bin1496.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.16
user 0.34
sys 8.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429659/ft1_filtered_4FGL_J0112.8+3208_daily_bin1496.fits scfile=/scratch/kocevski/429659/ft2_4FGL_J0112.8+3208_daily_bin1496.fits outfile=/scratch/kocevski/429659/cmap_HighResolution_627091201_627350401_4FGL_J0112.8+3208_daily_bin1496.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.17
user 0.38
sys 8.72

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.070       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.6751       1.0000         .10000E-03   10000.    
     5 'Prefactor '    61.636       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0175       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.266       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14264E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.573       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .13401E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10721E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.3140       1.0000         .10000E-03   10000.    
    20 'Prefactor '    51.964       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10284E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .41858E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .61012       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0644       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=   2306.764     FROM MIGRAD    STATUS=CONVERGED    617 CALLS     3100 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.073        38.628       -.79835E-06    .11735E-04
   2  norm          .10000E-03    1.8252       -.35182E-07** at limit **
   3  Prefactor     .10000E-03    106.40        .13270E-04** at limit **
   4  Prefactor     5.6757        6.8737        .14314E-07   -.13837E-05
   5  Prefactor     61.638        36.512       -.79592E-06    .73874E-04
   6  Prefactor     3.0178        11.118       -.10972E-05   -.10978E-03
   7  Prefactor     22.265        28.959       -.26409E-06    .18573E-04
   8  Prefactor     .10000E-03    159.31        .15929E-03** at limit **
   9  Prefactor     .10000E-03    92.950       -.47348E-04** at limit **
  10  norm          .10000E-03    1.1294       -.56571E-06** at limit **
  11  norm          .10000E-03    2.4719       -.12645E-07** at limit **
  12  Prefactor     .10002E-03    854.33       -.28949E-03** at limit **
  13  Prefactor     25.600        19.391        .20578E-05    .57969E-03
  14  Prefactor     .10000E-03    12.755       -.23369E-07** at limit **
  15  Prefactor     .10000E-03    60.841        .45802E-04** at limit **
  16  norm          .10000E-03    2.8030        .68829E-06** at limit **
  17  Prefactor     .10000E-03    73.892       -.61707E-04** at limit **
  18  Prefactor     .10000E-03    269.17        .27758E-04** at limit **
  19  norm          2.3101        3.6283       -.25554E-07    .23084E-03
  20  Prefactor     51.939        68.377       -.16071E-04    .26011E-03
  21  Prefactor     .10000E-03    25.196        .43531E-05** at limit **
  22  Prefactor     .10003E-03    422.23       -.32854E-03** at limit **
  23  norm          .10000E-03    27.287       -.47070E-05** at limit **
  24  Prefactor     .10074E-03    1035.6       -.14511E-03** at limit **
  25  Normalizat    .61020        .37834        .26643E-05    .17845E-03
  26  Prefactor     1.0644        .22400        .82737E-06    .37932E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.0728
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 5.67569
  Prefactor  = 61.6382
  Prefactor  = 3.01782
  Prefactor  = 22.2655
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 25.5996
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.31006
  Prefactor  = 51.939
  Prefactor  = 0.000100002
  Prefactor  = 0.00010003
  norm       = 0.0001
  Prefactor  = 0.000100741
  Normalizat = 0.610197
  Prefactor  = 1.06436
 **********
 **   18 **HESSE 
 **********

 FCN=   2306.764     FROM HESSE     STATUS=OK           446 CALLS     3546 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.073        38.628        .59072E-04   -1.4349    
   2  norm          .10000E-03    1.8424        .63323E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    108.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.6757        6.8670        .13352E-03   -1.5231    
   5  Prefactor     61.638        36.431        .51109E-04   -1.4136    
   6  Prefactor     3.0178        11.097        .23363E-03   -1.5361    
   7  Prefactor     22.265        28.939        .84886E-04   -1.4764    
   8  Prefactor     .10000E-03    159.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    93.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.7046        .96653E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.5156        .73600E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10002E-03    860.07        .20510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.600        18.911        .79215E-04   -1.4696    
  14  Prefactor     .10000E-03    12.774        .16753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    60.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    12.325        .15489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    73.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    269.19        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.3101        3.6177        .10966E-03   -1.5404    
  20  Prefactor     51.939        67.585        .55636E-04   -1.4265    
  21  Prefactor     .10000E-03    25.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10003E-03    421.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    27.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10074E-03    1060.0        .42485E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .61020        .41611        .39234E-03   -1.0755    
  26  Prefactor     1.0644        .25090        .18631E-03   -.90614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57391e-09
Minuit parameter uncertainties:
  1  38.6491
  2  2.18563e-06
  3  0.000854332
  4  6.86796
  5  36.4438
  6  11.1043
  7  28.9573
  8  0.000873235
  9  9.61087e-05
  10  7.38255e-05
  11  2.41412e-06
  12  0.00736112
  13  18.9156
  14  2.43191e-05
  15  0.000229656
  16  0.000200321
  17  6.41149e-06
  18  7.04212e-06
  19  3.61804
  20  67.6845
  21  0.000481178
  22  0.00716041
  23  0.000132306
  24  0.0570817
  25  0.418271
  26  0.251175
Done.

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

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  1.000e-04  2.414e-06  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.064e+00  2.512e-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:  6.102e-01  4.183e-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: 2.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/429659/likelihoodResults_627091201_627350401_4FGL_J0112.8+3208_daily_bin1496.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) = 2306.76542965
delta logL = -0.00188706151221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2306.7635427
delta logL = -1.05710569187e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2635       1.0000          .0000       5.0000    
     3 'Normalizat'    .61023       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0644       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=   2306.764     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      233 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    144.05        .73974E-02** at limit **
   2  alpha         2.4958        2.7871        .16555       -.45840E-07
   3  Normalizat    .61019        .70646E-01    .39234E-03   -.37904E-03
   4  Prefactor     1.0644        .43650E-01    .18631E-03   -.80105E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.49581
  Normalizat = 0.610192
  Prefactor  = 1.06436
 **********
 **   18 **HESSE 
 **********

 FCN=   2306.764     FROM HESSE     STATUS=OK            23 CALLS      256 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6731        .75890E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4958        2.7713        .66219E-02   -.16746E-02
   3  Normalizat    .61019        .39818        .78467E-04   -1.0755    
   4  Prefactor     1.0644        .24724        .37263E-04   -.90614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09691e-09
Minuit parameter uncertainties:
  1  1.94571e-05
  2  164.378
  3  0.400068
  4  0.247507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429659': 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) = 2306.76354144
delta logL = 1.15455713967e-06

Extracting fit parameters...

4FGL J0112.8+3208
   Spectrum: LogParabola
243         norm:  1.000e-04  1.946e-05  1.000e-04  1.000e+04 ( 1.000e-11)
244        alpha:  2.496e+00  1.644e+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:  1.064e+00  2.475e-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:  6.102e-01  4.001e-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/429659/cmap_HighResolution_627091201_627350401_4FGL_J0112.8+3208_daily_bin1496.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-05', job_status='DONE', photon_flux_upper_limit='2.15e-07', time_completed='2021-08-13 17:03:08.901531', job_id='429659', GAL2='1.06', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1628899388.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.15e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1496' AND source_name='4FGL J0112.8+3208' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 17:03:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 429659: <4FGL_J0112.8+3208_daily_bin1496> in cluster <slac> Done

Job <4FGL_J0112.8+3208_daily_bin1496> 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) <bullet0266>, 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:03:11 2021
Results reported at Fri Aug 13 17:03:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0112.8+3208_daily_bin1496 18.2227 32.1399 627091201 627350401 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 :                                   721.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             212.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            757 sec.

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

