aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 98 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1106.7+3623_daily_bin1750
RA = 166.688, Dec = 36.3995
tmin = 692928001, tmax = 693187201
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='6759', job_status='RUN', time_executed='2022-12-20 00:37:02.408125', time_epoch_executed='1671525422.41' WHERE source_name='4FGL J1106.7+3623' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6759

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6759/ft1_4FGL_J1106.7+3623_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6759/ft2_4FGL_J1106.7+3623_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6759/ft1_4FGL_J1106.7+3623_daily_bin1750.fits outfile=/scratch/kocevski/6759/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1750.fits ra=166.688 dec=36.3995 rad=12.0 tmin=692928001.0 tmax=693187201.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.45
user 3.22
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/6759/ft2_4FGL_J1106.7+3623_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/6759/ft2_4FGL_J1106.7+3623_daily_bin1750.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/6759/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/6759/ft1_filtered_4FGL_J1106.7+3623_daily_bin1750.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 593

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/6759/ft1_filtered_4FGL_J1106.7+3623_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/6759/ft2_4FGL_J1106.7+3623_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/6759/ltcube_692928001_693187201_4FGL_J1106.7+3623_daily_bin1750.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/6759/ft2_4FGL_J1106.7+3623_daily_bin1750.fits
.....................!
real 11.96
user 11.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6759/ft1_filtered_4FGL_J1106.7+3623_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/6759/ft2_4FGL_J1106.7+3623_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/6759/ltcube_692928001_693187201_4FGL_J1106.7+3623_daily_bin1750.fits outfile=/scratch/kocevski/6759/expmap_692928001_693187201_4FGL_J1106.7+3623_daily_bin1750.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/6759/ltcube_692928001_693187201_4FGL_J1106.7+3623_daily_bin1750.fits
.....................!
real 191.64
user 186.10
sys 4.83

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

Setting source of interest to:
4FGL J1106.7+3623 @ 166.688 36.3995

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/6759/ft1_filtered_4FGL_J1106.7+3623_daily_bin1750.fits scfile=/scratch/kocevski/6759/ft2_4FGL_J1106.7+3623_daily_bin1750.fits outfile=/scratch/kocevski/6759/cmap_692928001_693187201_4FGL_J1106.7+3623_daily_bin1750.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.688 yref=36.3995 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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6759/ft1_filtered_4FGL_J1106.7+3623_daily_bin1750.fits scfile=/scratch/kocevski/6759/ft2_4FGL_J1106.7+3623_daily_bin1750.fits outfile=/scratch/kocevski/6759/cmap_HighResolution_692928001_693187201_4FGL_J1106.7+3623_daily_bin1750.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.688 yref=36.3995 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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/6759/ft1_filtered_4FGL_J1106.7+3623_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/6759/ft2_4FGL_J1106.7+3623_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/6759/Model_4FGL_J1106.7+3623_daily_bin1750.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/6759/ft1_filtered_4FGL_J1106.7+3623_daily_bin1750.fits.....................!
real 56.25
user 54.95
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/6759/ft1_filtered_4FGL_J1106.7+3623_daily_bin1750.fits', '/scratch/kocevski/6759/ft2_4FGL_J1106.7+3623_daily_bin1750.fits', expMap='/scratch/kocevski/6759/expmap_692928001_693187201_4FGL_J1106.7+3623_daily_bin1750.fits', expCube='/scratch/kocevski/6759/ltcube_692928001_693187201_4FGL_J1106.7+3623_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/6759/Model_4FGL_J1106.7+3623_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1106.7+3623'

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  2.571e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.509e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  1.089e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/6759/ft1_filtered_4FGL_J1106.7+3623_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/6759/ft2_4FGL_J1106.7+3623_daily_bin1750.fits
Exposure map: /scratch/kocevski/6759/expmap_692928001_693187201_4FGL_J1106.7+3623_daily_bin1750.fits
Exposure cube: /scratch/kocevski/6759/ltcube_692928001_693187201_4FGL_J1106.7+3623_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/6759/Model_4FGL_J1106.7+3623_daily_bin1750.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6344.25189392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9049       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.6762       1.0000          .0000       .10000E+07
     3 'norm      '    .80109E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25924       1.0000          .0000       .10000E+07
     5 'Prefactor '    .22405E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .29992E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .33793E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .29655E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .31277E-03   1.0000          .0000       .10000E+07
    10 'norm      '    1.4773       1.0000          .0000       .10000E+07
    11 'Prefactor '    .24890       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.7890       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26259E-03   1.0000          .0000       .10000E+07
    14 'norm      '    1.6965       1.0000          .0000       .10000E+07
    15 'Prefactor '    .66601E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .46429E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10268E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .22566E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .54330E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    6.1794       1.0000          .0000       .10000E+07
    21 'Prefactor '    .32551E-01   1.0000          .0000       .10000E+07
    22 'norm      '    2.5537       1.0000          .0000       .10000E+07
    23 'norm      '    10.004       1.0000          .0000       .10000E+07
    24 'Prefactor '    .24889E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.2633       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .79463       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6344.059     FROM MIGRAD    STATUS=CONVERGED    198 CALLS     1829 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8693        5.2859       -.14344E-06   -.78626E-03
   2  Prefactor     8.7066        6.4349        .30032E-06   -.41304E-02
   3  norm          .11102E-09    5.8842        .23122E-06** at limit **
   4  Prefactor     .25923E-05    10.809        .33107E-05** at limit **
   5  Prefactor     .21982E-07    7.0965       -.15128E-05** at limit **
   6  Prefactor      .0000        1.7180       -.66501E-06** at limit **
   7  Prefactor     .22060E-06    7.1572        .63309E-06** at limit **
   8  Prefactor     .12049E-05    13.252        .28858E-05** at limit **
   9  Prefactor     .33989E-06    6.4053        .33081E-05** at limit **
  10  norm          1.4767        .34087       -.15855E-07   -.20688E-01
  11  Prefactor     .23510        4.8865       -.86719E-06** at limit **
  12  Prefactor     5.8643        1.7577       -.43911E-06   -.31793E-01
  13  Prefactor     .11502E-05    4.4880        .27337E-07** at limit **
  14  norm          1.7176        3.4043       -.19464E-05   -.24444E-01
  15  Prefactor     .55511E-10    1.6935       -.49658E-06** at limit **
  16  Prefactor     .99143E-07    239.21        .92468E-06** at limit **
  17  Prefactor     .18023E-05    7.2448       -.21278E-05** at limit **
  18  norm          .61062E-08    6.3008       -.26906E-05** at limit **
  19  Prefactor     .23126E-06    8.1212        .40457E-06** at limit **
  20  Prefactor     6.1862        5.7054       -.12436E-05   -.72762E-02
  21  Prefactor     .52292E-07    .91253       -.29341E-06** at limit **
  22  norm          2.5538        1.1281       -.36224E-07   -.87509E-02
  23  norm          9.9512        9.6419       -.35918E-06   -.52012E-02
  24  Prefactor     .97788E-06    11.274        .22105E-05** at limit **
  25  Normalizat    1.2632        .19587       -.59215E-05   -.84314E-03
  26  Prefactor     .79493        .22230       -.17142E-05   -.57574E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86928
  Prefactor  = 8.70661
  norm       = 1.11022e-10
  Prefactor  = 2.59232e-06
  Prefactor  = 2.19824e-08
  Prefactor  = 0
  Prefactor  = 2.20601e-07
  Prefactor  = 1.20487e-06
  Prefactor  = 3.39895e-07
  norm       = 1.47669
  Prefactor  = 0.235098
  Prefactor  = 5.86432
  Prefactor  = 1.15019e-06
  norm       = 1.71757
  Prefactor  = 5.55112e-11
  Prefactor  = 9.91429e-08
  Prefactor  = 1.80228e-06
  norm       = 6.10623e-09
  Prefactor  = 2.31259e-07
  Prefactor  = 6.18616
  Prefactor  = 5.22915e-08
  norm       = 2.55378
  norm       = 9.95115
  Prefactor  = 9.77884e-07
  Normalizat = 1.26322
  Prefactor  = 0.794935
 **********
 **   18 **HESSE 
 **********

 FCN=   6344.059     FROM HESSE     STATUS=OK           518 CALLS     2347 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8693        5.5126        .75312E-03   -1.5681    
   2  Prefactor     8.7066        6.6721        .34006E-03   -1.5649    
   3  norm          .11102E-09    5.9039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .25923E-05    69.345        .10804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .21982E-07    16.493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.7189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22060E-06    19.719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12049E-05    20.406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33989E-06    8.0208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4767        .35366        .48700E-03   -1.5684    
  11  Prefactor     .23510        1.3273        .49080E-02   -1.5718    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.8643        18.369        .41719E-03   -1.5660    
  13  Prefactor     .11502E-05    8.3535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.7176        36.734        .80753E-03   -1.5682    
  15  Prefactor     .55511E-10    1.7023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .99143E-07    236.92        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .18023E-05    18.172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .61062E-08    1.0251        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .23126E-06    9.5703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.1862        5.7293        .40361E-03   -1.5658    
  21  Prefactor     .52292E-07    30.559        .16319E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.5538        1.2396        .63865E-03   -1.5676    
  23  norm          9.9512        9.6623        .31657E-03   -1.5645    
  24  Prefactor     .97788E-06    14.946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.2632        .16906        .49457E-01   -.84671    
  26  Prefactor     .79493        .18975        .71035E-01   -.99915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.46692e-07
Minuit parameter uncertainties:
  1  5.51266
  2  6.67213
  3  4.85805e-05
  4  0.0268157
  5  0.0012048
  6  4.73166e-06
  7  0.00417119
  8  0.0099169
  9  0.0033022
  10  0.353662
  11  1.11721
  12  18.3692
  13  0.00619947
  14  15.8863
  15  1.47935e-05
  16  0.00969283
  17  0.0114456
  18  0.000158058
  19  0.00297553
  20  5.72928
  21  0.0025287
  22  1.23956
  23  9.66233
  24  0.00764609
  25  0.169138
  26  0.189907
Done.

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

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  5.864e+00  1.837e+01  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.509e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  1.089e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
643    Prefactor:  7.949e-01  1.899e-01  0.000e+00  1.000e+01 ( 1.000e+00)
644        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
645        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
642   Normalization:  1.263e+00  1.691e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 166.688 36.400
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/6759/likelihoodResults_692928001_693187201_4FGL_J1106.7+3623_daily_bin1750.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) = 6343.4749853
delta logL = 0.584344893145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6343.44735018
delta logL = 0.611980016402

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36035       1.0000          .0000       .10000E+07
     2 'Index     '    4.7001       1.0000          .0000       10.000    
     3 'Normalizat'    1.1934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84881       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6343.447     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      318 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36124        4.4136        .90186E-03    .17563E-01
   2  Index         4.7001        2.5134        .98718E-01    .18389E-03
   3  Normalizat    1.1934        .36413E-01    .50595E-01   -.45884E-05
   4  Prefactor     .84885        .42866E-01    .68991E-01    .12963E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.361243
  Index      = 4.70006
  Normalizat = 1.19341
  Prefactor  = 0.848846
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.447     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      351 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36124        13.249        .40463E-05   -1.5696    
   2  Index         4.7001        7.1709        .50823E-02   -.60025E-01
   3  Normalizat    1.1934        .16280        .22369E-03   -.86807    
   4  Prefactor     .84885        .18664        .30523E-03   -.97952    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.32522e-07
Minuit parameter uncertainties:
  1  4.37548
  2  5.63949
  3  0.162873
  4  0.186784
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6759': 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): 102
logL (Free Index) = 6343.4473462
delta logL = 0.611983991145

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  3.612e-01  4.375e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  4.700e+00  5.639e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  1.089e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
643    Prefactor:  8.488e-01  1.868e-01  0.000e+00  1.000e+01 ( 1.000e+00)
644        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
645        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
642   Normalization:  1.193e+00  1.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.50
Ra Dec: 166.688 36.400
Photon Index (Free Index): 4.70 +/- 5.64
Photon Flux (Free Index): 7.34e-08 +/- 6.45e-08
Energy Flux (Free Index): 1.00e-05 +/- 1.12e-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/6759/cmap_HighResolution_692928001_693187201_4FGL_J1106.7+3623_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.47e-03', comment='SUCCESS', energy_flux2='1.00e-05', dlogl='6.12e-01', photon_flux2='7.34e-08', job_status='DONE', time_completed='2022-12-20 00:48:21.052990', photon_index_error2='5.64', photon_index2='4.70', ts='0.15', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.12e-05', EG='1.26', time_epoch_completed='1671526101.05', return_code='0', job_id='6759', GAL2='0.85', EG2='1.19', return_code2='102', photon_flux_error2='6.45e-08', ts2='1.50', photon_index='2.51' WHERE bin_id='1750' AND source_name='4FGL J1106.7+3623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:48:21 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 6759: <4FGL_J1106.7+3623_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1106.7+3623_daily_bin1750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 00:35:15 2022
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:35:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:35:15 2022
Terminated at Tue Dec 20 00:48:21 2022
Results reported at Tue Dec 20 00:48:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.7+3623_daily_bin1750 166.688 36.3995 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1106.7+3623 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            786 sec.

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

