/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 3 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 = 7655
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1106.0+2813_daily_bin272
RA = 166.502, Dec = 28.2254
tmin = 309830401, tmax = 310089601
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='511901', job_status='RUN', time_executed='2021-09-03 07:49:29.592237', time_epoch_executed='1630680569.59' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='272'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/511901

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/511901/ft1_4FGL_J1106.0+2813_daily_bin272.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/511901/ft2_4FGL_J1106.0+2813_daily_bin272.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/511901/ft1_4FGL_J1106.0+2813_daily_bin272.fits outfile=/scratch/kocevski/511901/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin272.fits ra=166.502 dec=28.2254 rad=12.0 tmin=309830401.0 tmax=310089601.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 3.50
user 3.25
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/511901/ft2_4FGL_J1106.0+2813_daily_bin272.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/511901/ft2_4FGL_J1106.0+2813_daily_bin272.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/511901/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin272.fits evtable="EVENTS" outfile="/scratch/kocevski/511901/ft1_filtered_4FGL_J1106.0+2813_daily_bin272.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 0.68
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/511901/ft1_filtered_4FGL_J1106.0+2813_daily_bin272.fits" evtable="EVENTS" scfile=/scratch/kocevski/511901/ft2_4FGL_J1106.0+2813_daily_bin272.fits sctable="SC_DATA" outfile=/scratch/kocevski/511901/ltcube_309830401_310089601_4FGL_J1106.0+2813_daily_bin272.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/511901/ft2_4FGL_J1106.0+2813_daily_bin272.fits
.....................!
real 14.03
user 13.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/511901/ft1_filtered_4FGL_J1106.0+2813_daily_bin272.fits evtable="EVENTS" scfile=/scratch/kocevski/511901/ft2_4FGL_J1106.0+2813_daily_bin272.fits sctable="SC_DATA" expcube=/scratch/kocevski/511901/ltcube_309830401_310089601_4FGL_J1106.0+2813_daily_bin272.fits outfile=/scratch/kocevski/511901/expmap_309830401_310089601_4FGL_J1106.0+2813_daily_bin272.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/511901/ltcube_309830401_310089601_4FGL_J1106.0+2813_daily_bin272.fits
.....................!
real 192.40
user 186.22
sys 5.67

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 178 point sources and 0 extended sources

Setting source of interest to:
4FGL J1106.0+2813 @ 166.502 28.2254

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/511901/ft1_filtered_4FGL_J1106.0+2813_daily_bin272.fits scfile=/scratch/kocevski/511901/ft2_4FGL_J1106.0+2813_daily_bin272.fits outfile=/scratch/kocevski/511901/cmap_309830401_310089601_4FGL_J1106.0+2813_daily_bin272.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=166.502 yref=28.2254 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 0.60
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/511901/ft1_filtered_4FGL_J1106.0+2813_daily_bin272.fits scfile=/scratch/kocevski/511901/ft2_4FGL_J1106.0+2813_daily_bin272.fits outfile=/scratch/kocevski/511901/cmap_HighResolution_309830401_310089601_4FGL_J1106.0+2813_daily_bin272.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=166.502 yref=28.2254 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 0.60
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/511901/ft1_filtered_4FGL_J1106.0+2813_daily_bin272.fits evtable="EVENTS" scfile=/scratch/kocevski/511901/ft2_4FGL_J1106.0+2813_daily_bin272.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/511901/Model_4FGL_J1106.0+2813_daily_bin272.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/511901/ft1_filtered_4FGL_J1106.0+2813_daily_bin272.fits....................!
real 58.55
user 52.96
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/511901/ft1_filtered_4FGL_J1106.0+2813_daily_bin272.fits', '/scratch/kocevski/511901/ft2_4FGL_J1106.0+2813_daily_bin272.fits', expMap='/scratch/kocevski/511901/expmap_309830401_310089601_4FGL_J1106.0+2813_daily_bin272.fits', expCube='/scratch/kocevski/511901/ltcube_309830401_310089601_4FGL_J1106.0+2813_daily_bin272.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/511901/Model_4FGL_J1106.0+2813_daily_bin272.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1106.0+2813'

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.558e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
254        Index:  2.375e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/511901/ft1_filtered_4FGL_J1106.0+2813_daily_bin272.fits
Spacecraft file(s): /scratch/kocevski/511901/ft2_4FGL_J1106.0+2813_daily_bin272.fits
Exposure map: /scratch/kocevski/511901/expmap_309830401_310089601_4FGL_J1106.0+2813_daily_bin272.fits
Exposure cube: /scratch/kocevski/511901/ltcube_309830401_310089601_4FGL_J1106.0+2813_daily_bin272.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/511901/Model_4FGL_J1106.0+2813_daily_bin272.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) = 5944.43231981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10922E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.3261       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .63956E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.4154       1.0000         .10000E-03   10000.    
    11 'norm      '    1.9669       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4586       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    23.565       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11631E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.5028       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.053       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    70.983       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.3797       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .12802E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.8612       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    36.422       1.0000         .10000E-03   10000.    
    28 'norm      '    7.4120       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1622       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .72677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5944.419     FROM MIGRAD    STATUS=CONVERGED    812 CALLS     4032 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.925       -.11477E-06** at limit **
   2  Prefactor     .10000E-03    144.43       -.54013E-06** at limit **
   3  Prefactor     .10000E-03    6.8494       -.14488E-06** at limit **
   4  Prefactor     3.3260        6.9947        .49340E-06   -.10656E-03
   5  Prefactor     .10000E-03    1.3365       -.29668E-06** at limit **
   6  Prefactor     .10150E-03    10.200        .22262E-05** at limit **
   7  Prefactor     .10000E-03    75.436       -.59555E-06** at limit **
   8  Prefactor     .10000E-03    6.6061       -.25718E-07** at limit **
   9  Prefactor     .10000E-03    4.6869       -.19181E-07** at limit **
  10  Prefactor     9.4073        17.017        .69280E-06   -.11981E-03
  11  norm          1.9669        .38049       -.79372E-09   -.14095E-02
  12  Prefactor     1.4583        2.1848        .64618E-07   -.47651E-04
  13  Prefactor     .10000E-03    5.3141       -.25870E-07** at limit **
  14  Prefactor     .10000E-03    3.9444       -.23229E-09** at limit **
  15  norm          23.570        13.973       -.14568E-06   -.36135E-03
  16  Prefactor     .10000E-03    6.7541        .11260E-06** at limit **
  17  norm          3.5040        8.3383        .27405E-05    .27244E-04
  18  Prefactor     11.058        9.5555        .93703E-07    .33704E-03
  19  Prefactor     .10000E-03    2.5869        .26426E-05** at limit **
  20  Prefactor     71.037        42.166       -.28309E-05   -.43930E-03
  21  Prefactor     .10000E-03    2.9901       -.13135E-07** at limit **
  22  norm          1.3807        2.3330        .18952E-06   -.85810E-03
  23  Prefactor     .10000E-03    4.8413       -.14745E-06** at limit **
  24  Prefactor     3.8639        4.3399       -.25151E-06   -.12211E-02
  25  Prefactor     .10000E-03    32.705        .59210E-08** at limit **
  26  Prefactor     .10000E-03    .52074       -.35461E-08** at limit **
  27  Prefactor     36.409        26.272        .21066E-07   -.90944E-04
  28  norm          7.4122        1.9772        .12220E-07   -.60048E-04
  29  Normalizat    1.1623        .17832       -.74470E-06   -.50110E-03
  30  Prefactor     .72678        .19509        .31103E-06   -.33161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.326
  Prefactor  = 0.0001
  Prefactor  = 0.000101501
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.40733
  norm       = 1.96695
  Prefactor  = 1.45831
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.57
  Prefactor  = 0.0001
  norm       = 3.50396
  Prefactor  = 11.0577
  Prefactor  = 0.000100001
  Prefactor  = 71.0371
  Prefactor  = 0.0001
  norm       = 1.38072
  Prefactor  = 0.0001
  Prefactor  = 3.86392
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.4094
  norm       = 7.41221
  Normalizat = 1.16227
  Prefactor  = 0.726778
 **********
 **   18 **HESSE 
 **********

 FCN=   5944.419     FROM HESSE     STATUS=OK           594 CALLS     4626 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    39.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    148.82        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.1567        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3260        6.8665        .22195E-03   -1.5343    
   5  Prefactor     .10000E-03    2.0484        .16710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10150E-03    11.984        .55010E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    77.889        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.6347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.6955        .16292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.4073        17.051        .13061E-03   -1.5094    
  11  norm          1.9669        .38094        .20215E-04   -1.5427    
  12  Prefactor     1.4583        2.1566        .13333E-03   -1.5466    
  13  Prefactor     .10000E-03    5.3250        .17354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9455        .14954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          23.570        13.985        .82516E-04   -1.4737    
  16  Prefactor     .10000E-03    7.0336        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.5040        8.8094        .10801E-02   -1.5334    
  18  Prefactor     11.058        9.5647        .12051E-03   -1.5043    
  19  Prefactor     .10000E-03    4.2474        .19071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     71.037        44.238        .23824E-03   -1.4020    
  21  Prefactor     .10000E-03    2.9912        .13020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.3807        2.2811        .13862E-03   -1.5473    
  23  Prefactor     .10000E-03    13.491        .32881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.8639        4.3503        .16261E-03   -1.5315    
  25  Prefactor     .10000E-03    33.746        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    .52481        .54318E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     36.409        26.263        .66407E-04   -1.4500    
  28  norm          7.4122        1.9774        .54181E-04   -1.5163    
  29  Normalizat    1.1623        .20475        .22139E-03   -.87777    
  30  Prefactor     .72678        .22390        .31190E-03   -1.0249    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26884e-09
Minuit parameter uncertainties:
  1  0.000114634
  2  0.000715737
  3  1.03125e-05
  4  6.86817
  5  2.46055e-05
  6  0.00848406
  7  0.000544061
  8  1.49448e-05
  9  5.16711e-07
  10  17.0599
  11  0.380945
  12  2.15667
  13  4.03521e-06
  14  6.55185e-07
  15  13.9866
  16  4.22151e-06
  17  8.81267
  18  9.56602
  19  9.88208e-05
  20  44.2587
  21  6.88755e-07
  22  2.28126
  23  4.18134e-05
  24  4.35068
  25  8.33871e-05
  26  5.87776e-08
  27  26.2717
  28  1.97741
  29  0.204888
  30  0.22418
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.458e+00  2.157e+00  1.000e-04  1.000e+04 ( 1.000e-12)
254        Index:  2.375e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  7.268e-01  2.242e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.162e+00  2.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.59
Ra Dec: 166.502 28.225
Photon Flux Upper Limit: 7.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/511901/likelihoodResults_309830401_310089601_4FGL_J1106.0+2813_daily_bin272.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) = 5944.29019948
delta logL = 0.128701643443

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5944.28987192
delta logL = 0.129029199718

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0305       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9511       1.0000          .0000       10.000    
     3 'Normalizat'    1.1712       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5944.290     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      263 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0364        132.47        .72579E-02    .52724E-03
   2  Index         1.9531        5.0495        .26078        .30740E-04
   3  Normalizat    1.1712        .78364E-01    .35640E-01   -.48123E-04
   4  Prefactor     .71741        .89444E-01    .70872E-01   -.18849E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.03637
  Index      = 1.9531
  Normalizat = 1.17115
  Prefactor  = 0.717414
 **********
 **   18 **HESSE 
 **********

 FCN=   5944.290     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0364        2.6454        .13819E-03   -1.5423    
   2  Index         1.9531        .73821        .10811E-01   -.65528    
   3  Normalizat    1.1712        .19587        .22062E-03   -.87499    
   4  Prefactor     .71741        .22407        .31365E-03   -1.0285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96502e-11
Minuit parameter uncertainties:
  1  2.64554
  2  0.74254
  3  0.195994
  4  0.224351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/511901': 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) = 5944.28986518
delta logL = 0.129035946474

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  2.036e+00  2.646e+00  1.000e-04  1.000e+04 ( 1.000e-12)
254        Index:  1.953e+00  7.425e-01  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  7.174e-01  2.244e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.171e+00  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.59
Ra Dec: 166.502 28.225

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/511901/cmap_HighResolution_309830401_310089601_4FGL_J1106.0+2813_daily_bin272.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='7.99e-08', time_completed='2021-09-03 08:04:02.319894', job_id='511901', GAL2='0.72', fit_tolerance='1e-08', EG2='1.17', EG='1.16', time_epoch_completed='1630681442.32', return_code2='0', ts='0.59', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.29e-01', ts2='0.85', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='272' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:04:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 511901: <4FGL_J1106.0+2813_daily_bin272> in cluster <slac> Done

Job <4FGL_J1106.0+2813_daily_bin272> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 07:47:29 2021
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 07:49:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 07:49:14 2021
Terminated at Fri Sep  3 08:04:03 2021
Results reported at Fri Sep  3 08:04:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin272 166.502 28.2254 309830401 310089601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1106.0+2813 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   860.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            994 sec.

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

