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


Performing analysis on: 4FGL_J1106.7+3623_daily_bin1760
RA = 166.688, Dec = 36.3995
tmin = 695520001, tmax = 695779201
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='734845', job_status='RUN', time_executed='2023-01-19 00:47:04.784347', time_epoch_executed='1674118024.78' WHERE source_name='4FGL J1106.7+3623' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/734845

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/734845/ft1_4FGL_J1106.7+3623_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/734845/ft2_4FGL_J1106.7+3623_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/734845/ft1_4FGL_J1106.7+3623_daily_bin1760.fits outfile=/scratch/kocevski/734845/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1760.fits ra=166.688 dec=36.3995 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.40
user 2.19
sys 0.19

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

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

Number of photons that the gtmktime cut: 341

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/734845/ft1_filtered_4FGL_J1106.7+3623_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/734845/ft2_4FGL_J1106.7+3623_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/734845/ltcube_695520001_695779201_4FGL_J1106.7+3623_daily_bin1760.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/734845/ft2_4FGL_J1106.7+3623_daily_bin1760.fits
.....................!
real 17.28
user 16.70
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/734845/ft1_filtered_4FGL_J1106.7+3623_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/734845/ft2_4FGL_J1106.7+3623_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/734845/ltcube_695520001_695779201_4FGL_J1106.7+3623_daily_bin1760.fits outfile=/scratch/kocevski/734845/expmap_695520001_695779201_4FGL_J1106.7+3623_daily_bin1760.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/734845/ltcube_695520001_695779201_4FGL_J1106.7+3623_daily_bin1760.fits
.....................!
real 194.50
user 186.73
sys 5.54

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/734845/ft1_filtered_4FGL_J1106.7+3623_daily_bin1760.fits scfile=/scratch/kocevski/734845/ft2_4FGL_J1106.7+3623_daily_bin1760.fits outfile=/scratch/kocevski/734845/cmap_695520001_695779201_4FGL_J1106.7+3623_daily_bin1760.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.59
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/734845/ft1_filtered_4FGL_J1106.7+3623_daily_bin1760.fits scfile=/scratch/kocevski/734845/ft2_4FGL_J1106.7+3623_daily_bin1760.fits outfile=/scratch/kocevski/734845/cmap_HighResolution_695520001_695779201_4FGL_J1106.7+3623_daily_bin1760.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/734845/ft1_filtered_4FGL_J1106.7+3623_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/734845/ft2_4FGL_J1106.7+3623_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/734845/Model_4FGL_J1106.7+3623_daily_bin1760.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/734845/ft1_filtered_4FGL_J1106.7+3623_daily_bin1760.fits.....................!
real 41.76
user 40.03
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/734845/ft1_filtered_4FGL_J1106.7+3623_daily_bin1760.fits', '/scratch/kocevski/734845/ft2_4FGL_J1106.7+3623_daily_bin1760.fits', expMap='/scratch/kocevski/734845/expmap_695520001_695779201_4FGL_J1106.7+3623_daily_bin1760.fits', expCube='/scratch/kocevski/734845/ltcube_695520001_695779201_4FGL_J1106.7+3623_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/734845/Model_4FGL_J1106.7+3623_daily_bin1760.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/734845/ft1_filtered_4FGL_J1106.7+3623_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/734845/ft2_4FGL_J1106.7+3623_daily_bin1760.fits
Exposure map: /scratch/kocevski/734845/expmap_695520001_695779201_4FGL_J1106.7+3623_daily_bin1760.fits
Exposure cube: /scratch/kocevski/734845/ltcube_695520001_695779201_4FGL_J1106.7+3623_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/734845/Model_4FGL_J1106.7+3623_daily_bin1760.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) = 3832.23862529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6600       1.0000          .0000       .10000E+07
     2 'Prefactor '    .59049E-03   1.0000          .0000       .10000E+07
     3 'norm      '    2.0379       1.0000          .0000       .10000E+07
     4 'Prefactor '    .60785E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    12.649       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9161       1.0000          .0000       .10000E+07
     7 'Prefactor '    .76353E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15041       1.0000          .0000       .10000E+07
     9 'Prefactor '    .43343E-02   1.0000          .0000       .10000E+07
    10 'norm      '    2.3307       1.0000          .0000       .10000E+07
    11 'Prefactor '    .38868       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18283E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16857E-02   1.0000          .0000       .10000E+07
    14 'norm      '    15.277       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21246E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24712E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13813E-02   1.0000          .0000       .10000E+07
    18 'norm      '    2.3242       1.0000          .0000       .10000E+07
    19 'Prefactor '    27.093       1.0000          .0000       .10000E+07
    20 'Prefactor '    .93389E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    13.592       1.0000          .0000       .10000E+07
    22 'norm      '    1.9838       1.0000          .0000       .10000E+07
    23 'norm      '    .27914E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .42466E-01   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.7144       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .69254       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=   3832.192     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     2266 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6488        15.647        .11013E-05    .53958E-02
   2  Prefactor      .0000        33.634        .17884E-05** at limit **
   3  norm          2.0094        3.4326       -.22758E-06    .32456E-02
   4  Prefactor     .15543E-07    44.273        .22260E-05** at limit **
   5  Prefactor     13.727        59.351        .91097E-06   -.44816E-01
   6  Prefactor     1.9516        10.188       -.20334E-05   -.20676E-03
   7  Prefactor     .70249E-06    17.805        .10833E-05** at limit **
   8  Prefactor     .13434E-07    1.3683        .42051E-06** at limit **
   9  Prefactor     .20933E-06    10.590       -.13175E-06** at limit **
  10  norm          2.3313        .59685       -.51124E-07   -.34070E-02
  11  Prefactor     .38828        4.9819       -.93649E-06   -.70157E-03
  12  Prefactor     .17764E-07    8.3444       -.24265E-05** at limit **
  13  Prefactor     .25541E-06    9.7687        .24497E-05** at limit **
  14  norm          15.260        2.2718        .90841E-07    .71714E-02
  15  Prefactor     .11102E-09    3.8832        .71311E-06** at limit **
  16  Prefactor     .24024E-05    16.244       -.28522E-05** at limit **
  17  Prefactor     .43051E-05    12.816       -.13895E-05** at limit **
  18  norm          2.3299        2.9633       -.53020E-06    .59520E-04
  19  Prefactor     27.185        2.9465        .14889E-06    .10101E-01
  20  Prefactor      .0000        2.7966        .43127E-06** at limit **
  21  Prefactor     12.960        24.282        .60131E-06   -.98668E-01
  22  norm          1.9904        1.5035       -.34431E-06    .44265E-03
  23  norm          .55511E-10    6.3916        .91765E-06** at limit **
  24  Prefactor      .0000        40.866       -.25543E-05** at limit **
  25  Normalizat    1.7146        .34057       -.27878E-04   -.57276E-04
  26  Prefactor     .69192        .36682        .50764E-04   -.20594E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.64878
  Prefactor  = 0
  norm       = 2.00939
  Prefactor  = 1.55431e-08
  Prefactor  = 13.7265
  Prefactor  = 1.9516
  Prefactor  = 7.02494e-07
  Prefactor  = 1.34337e-08
  Prefactor  = 2.09333e-07
  norm       = 2.33125
  Prefactor  = 0.388277
  Prefactor  = 1.77636e-08
  Prefactor  = 2.55407e-07
  norm       = 15.26
  Prefactor  = 1.11022e-10
  Prefactor  = 2.40236e-06
  Prefactor  = 4.30506e-06
  norm       = 2.3299
  Prefactor  = 27.1847
  Prefactor  = 0
  Prefactor  = 12.9602
  norm       = 1.99043
  norm       = 5.55112e-11
  Prefactor  = 0
  Normalizat = 1.71458
  Prefactor  = 0.691924
 **********
 **   18 **HESSE 
 **********

 FCN=   3832.192     FROM HESSE     STATUS=OK           508 CALLS     2774 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6488        15.912        .62470E-03   -1.5675    
   2  Prefactor      .0000        35.200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0094        47.847        .72419E-03   -1.5680    
   4  Prefactor     .15543E-07    44.271        .15134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.727        78.989        .28140E-03   -1.5634    
   6  Prefactor     1.9516        10.620        .75053E-03   -1.5680    
   7  Prefactor     .70249E-06    18.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13434E-07    96.690        .12735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20933E-06    10.958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3313        .59625        .53038E-03   -1.5677    
  11  Prefactor     .38828        4.9341        .90810E-03   -1.5696    
  12  Prefactor     .17764E-07    8.3588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .25541E-06    10.058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.260        15.301        .25599E-03   -1.5630    
  15  Prefactor     .11102E-09    3.8483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .24024E-05    27.686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .43051E-05    23.595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.3299        2.9911        .67250E-03   -1.5677    
  19  Prefactor     27.185        21.681        .19215E-03   -1.5604    
  20  Prefactor      .0000        2.7965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.960        49.072        .27143E-03   -1.5636    
  22  norm          1.9904        1.5709        .73550E-03   -1.5680    
  23  norm          .55511E-10    6.3910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        40.713        .15854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.7146        .29098        .55828E-01   -.71915    
  26  Prefactor     .69192        .31383        .90751E-01   -1.0384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12074e-06
Minuit parameter uncertainties:
  1  12.9843
  2  3.51633e-05
  3  19.6106
  4  0.00165778
  5  65.857
  6  9.10526
  7  0.00730134
  8  0.0022784
  9  0.00302903
  10  0.596246
  11  2.76824
  12  0.000770474
  13  0.00320566
  14  15.3007
  15  4.26981e-05
  16  0.0163109
  17  0.0201572
  18  2.9911
  19  21.6809
  20  9.91153e-07
  21  49.0731
  22  1.57093
  23  4.49848e-05
  24  5.09774e-05
  25  0.291271
  26  0.314633
Done.

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

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  1.776e-08  7.705e-04  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:  6.919e-01  3.146e-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.715e+00  2.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/734845/likelihoodResults_695520001_695779201_4FGL_J1106.7+3623_daily_bin1760.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): 102
logL (Free Index) = 3832.24884314
delta logL = -0.0571336873709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3832.19171095
delta logL = -1.49630841406e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48411E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.2013       1.0000          .0000       10.000    
     3 'Normalizat'    1.7142       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69205       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3832.192     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      220 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.3626        .42118E-03** at limit **
   2  Index         2.6060        1.4887        .30328E-05     .0000    
   3  Normalizat    1.7146        1.0330        .15177E-05   -.26728E-04
   4  Prefactor     .69192        1.0417        .13962E-05   -.15244E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.60597
  Normalizat = 1.71458
  Prefactor  = 0.691923
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3832.192     FROM HESSE     STATUS=FAILED         9 CALLS      229 TOTAL
                     EDM=   .17E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.3626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76772        1.9801        .30328E-05   -.49929    
   3  Normalizat    1.7146        1.0330        .15177E-05   -.71915    
   4  Prefactor     .69192        1.0417        .13962E-05   -1.0384    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.68481e-12
Minuit parameter uncertainties:
  1  1.98222e-05
  2  1.51877
  3  1.04645
  4  1.07338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/734845': 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): 101
logL (Free Index) = 3832.19170945
delta logL = 1.06547304313e-09

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  1.982e-05  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.606e+00  1.519e+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:  6.919e-01  1.073e+00  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.715e+00  1.046e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 166.688 36.400

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/734845/cmap_HighResolution_695520001_695779201_4FGL_J1106.7+3623_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.32e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2023-01-19 00:56:25.020892', job_id='734845', GAL2='0.69', fit_tolerance='1e-08', EG2='1.71', EG='1.71', time_epoch_completed='1674118585.02', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='1.07e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1760' AND source_name='4FGL J1106.7+3623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 00:56:25 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 734845: <4FGL_J1106.7+3623_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1106.7+3623_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 00:45:12 2023
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:45:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:45:17 2023
Terminated at Thu Jan 19 00:56:25 2023
Results reported at Thu Jan 19 00:56:25 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.7+3623_daily_bin1760 166.688 36.3995 695520001 695779201 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 :                                   557.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             300.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            673 sec.

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

