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


Performing analysis on: 4FGL_J1109.6+3735_daily_bin1746
RA = 167.409, Dec = 37.5868
tmin = 691891201, tmax = 692150401
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='721370', job_status='RUN', time_executed='2022-12-08 00:43:28.224367', time_epoch_executed='1670489008.22' WHERE source_name='4FGL J1109.6+3735' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/721370

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/721370/ft1_4FGL_J1109.6+3735_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/721370/ft2_4FGL_J1109.6+3735_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/721370/ft1_4FGL_J1109.6+3735_daily_bin1746.fits outfile=/scratch/kocevski/721370/ft1_filteredMKT_4FGL_J1109.6+3735_daily_bin1746.fits ra=167.409 dec=37.5868 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.71
user 4.45
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/721370/ft2_4FGL_J1109.6+3735_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/721370/ft2_4FGL_J1109.6+3735_daily_bin1746.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/721370/ft1_filteredMKT_4FGL_J1109.6+3735_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/721370/ft1_filtered_4FGL_J1109.6+3735_daily_bin1746.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.33
sys 0.14

Number of photons that the gtmktime cut: 591

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/721370/ft1_filtered_4FGL_J1109.6+3735_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/721370/ft2_4FGL_J1109.6+3735_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/721370/ltcube_691891201_692150401_4FGL_J1109.6+3735_daily_bin1746.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/721370/ft2_4FGL_J1109.6+3735_daily_bin1746.fits
.....................!
real 11.70
user 11.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/721370/ft1_filtered_4FGL_J1109.6+3735_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/721370/ft2_4FGL_J1109.6+3735_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/721370/ltcube_691891201_692150401_4FGL_J1109.6+3735_daily_bin1746.fits outfile=/scratch/kocevski/721370/expmap_691891201_692150401_4FGL_J1109.6+3735_daily_bin1746.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/721370/ltcube_691891201_692150401_4FGL_J1109.6+3735_daily_bin1746.fits
.....................!
real 190.57
user 184.97
sys 5.27

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

Setting source of interest to:
4FGL J1109.6+3735 @ 167.409 37.5868

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/721370/ft1_filtered_4FGL_J1109.6+3735_daily_bin1746.fits scfile=/scratch/kocevski/721370/ft2_4FGL_J1109.6+3735_daily_bin1746.fits outfile=/scratch/kocevski/721370/cmap_691891201_692150401_4FGL_J1109.6+3735_daily_bin1746.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=167.409 yref=37.5868 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/721370/ft1_filtered_4FGL_J1109.6+3735_daily_bin1746.fits scfile=/scratch/kocevski/721370/ft2_4FGL_J1109.6+3735_daily_bin1746.fits outfile=/scratch/kocevski/721370/cmap_HighResolution_691891201_692150401_4FGL_J1109.6+3735_daily_bin1746.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=167.409 yref=37.5868 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.54
user 0.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/721370/ft1_filtered_4FGL_J1109.6+3735_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/721370/ft2_4FGL_J1109.6+3735_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/721370/Model_4FGL_J1109.6+3735_daily_bin1746.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/721370/ft1_filtered_4FGL_J1109.6+3735_daily_bin1746.fits.....................!
real 57.15
user 55.77
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/721370/ft1_filtered_4FGL_J1109.6+3735_daily_bin1746.fits', '/scratch/kocevski/721370/ft2_4FGL_J1109.6+3735_daily_bin1746.fits', expMap='/scratch/kocevski/721370/expmap_691891201_692150401_4FGL_J1109.6+3735_daily_bin1746.fits', expCube='/scratch/kocevski/721370/ltcube_691891201_692150401_4FGL_J1109.6+3735_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/721370/Model_4FGL_J1109.6+3735_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1109.6+3735'

4FGL J1109.6+3735
   Spectrum: PowerLaw
332    Prefactor:  1.001e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
333        Index:  1.855e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  4.801e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/721370/ft1_filtered_4FGL_J1109.6+3735_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/721370/ft2_4FGL_J1109.6+3735_daily_bin1746.fits
Exposure map: /scratch/kocevski/721370/expmap_691891201_692150401_4FGL_J1109.6+3735_daily_bin1746.fits
Exposure cube: /scratch/kocevski/721370/ltcube_691891201_692150401_4FGL_J1109.6+3735_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/721370/Model_4FGL_J1109.6+3735_daily_bin1746.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) = 6558.94727526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4775       1.0000          .0000       .10000E+07
     2 'Prefactor '    .26421       1.0000          .0000       .10000E+07
     3 'norm      '    .27219E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    130.17       1.0000          .0000       .10000E+07
     5 'Prefactor '    .86328E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .67311       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14277E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    80.293       1.0000          .0000       .10000E+07
     9 'Prefactor '    .26190E-02   1.0000          .0000       .10000E+07
    10 'norm      '    2.4122       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.0165       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20288E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .71283E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10765       1.0000          .0000       .10000E+07
    15 'norm      '    32.726       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.0526       1.0000          .0000       .10000E+07
    17 'Prefactor '    .38184E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .49708E-03   1.0000          .0000       .10000E+07
    19 'norm      '    2.7736       1.0000          .0000       .10000E+07
    20 'Prefactor '    .10957E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    2.2892       1.0000          .0000       .10000E+07
    22 'Prefactor '    74.873       1.0000          .0000       .10000E+07
    23 'norm      '    .80561       1.0000          .0000       .10000E+07
    24 'norm      '    8.4114       1.0000          .0000       .10000E+07
    25 'Prefactor '    .22624E-02   1.0000          .0000       .10000E+07
    26 'Normalizat'    .91172       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .92566       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6558.940     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     2428 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5410        4.0905        .11695E-06    .51417E-02
   2  Prefactor     .17879        .99281        .79244E-07** at limit **
   3  norm          .46629E-08    9.1091        .17778E-06** at limit **
   4  Prefactor     130.61        22.926        .10670E-07    .10846    
   5  Prefactor     .51126E-07    10.076        .22741E-06** at limit **
   6  Prefactor     .70106        4.5452       -.12896E-06   -.17106E-02
   7  Prefactor     .55511E-10    6.9728       -.49635E-07** at limit **
   8  Prefactor     81.717        77.217        .51527E-07   -.75855E-01
   9  Prefactor     .14420E-05    10.617        .71368E-07** at limit **
  10  norm          2.4125        .40369        .50559E-08    .14794E-01
  11  Prefactor     7.0210        3.4840        .25229E-07    .24501E-02
  12  Prefactor     .25779E-06    8.1793        .46097E-07** at limit **
  13  Prefactor     .32707E-06    30.550       -.13437E-06** at limit **
  14  Prefactor     .16653E-09    50.831       -.66196E-07** at limit **
  15  norm          32.715        2.5932        .10046E-07   -.16800E-01
  16  Prefactor     3.0535        2.2700       -.41194E-07   -.92446E-02
  17  Prefactor     .33851E-06    19.006       -.29672E-07** at limit **
  18  Prefactor     .22204E-09    3.4724       -.10647E-06** at limit **
  19  norm          2.7715        2.6714       -.57516E-07   -.86766E-02
  20  Prefactor     .16653E-09    3.8087       -.84731E-07** at limit **
  21  Prefactor     2.2907        4.0624       -.39797E-07   -.22782E-02
  22  Prefactor     75.183        12.270        .32049E-09    .35621    
  23  norm          .80328        1.0119        .40993E-08   -.24754E-02
  24  norm          8.4269        7.5255        .17928E-08   -.36555E-03
  25  Prefactor     .20323E-06    12.587        .13854E-06** at limit **
  26  Normalizat    .91113        .19404       -.11145E-05   -.10869E-03
  27  Prefactor     .92577        .22087        .10555E-05   -.37237E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.54104
  Prefactor  = 0.17879
  norm       = 4.66294e-09
  Prefactor  = 130.615
  Prefactor  = 5.11258e-08
  Prefactor  = 0.701062
  Prefactor  = 5.55112e-11
  Prefactor  = 81.7171
  Prefactor  = 1.44201e-06
  norm       = 2.41248
  Prefactor  = 7.02105
  Prefactor  = 2.57794e-07
  Prefactor  = 3.27072e-07
  Prefactor  = 1.66533e-10
  norm       = 32.7146
  Prefactor  = 3.0535
  Prefactor  = 3.38507e-07
  Prefactor  = 2.22045e-10
  norm       = 2.7715
  Prefactor  = 1.66533e-10
  Prefactor  = 2.29075
  Prefactor  = 75.1832
  norm       = 0.803284
  norm       = 8.42695
  Prefactor  = 2.03226e-07
  Normalizat = 0.91113
  Prefactor  = 0.925765
 **********
 **   18 **HESSE 
 **********

 FCN=   6558.940     FROM HESSE     STATUS=OK           544 CALLS     2972 TOTAL
                     EDM=   .53E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5410        5.3276        .64928E-03   -1.5676    
   2  Prefactor     .17879        3.6311        .80261E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .46629E-08    9.1035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     130.61        68.970        .87654E-04   -1.5479    
   5  Prefactor     .51126E-07    10.211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .70106        4.5569        .62919E-03   -1.5691    
   7  Prefactor     .55511E-10    6.9737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     81.717        82.958        .11161E-03   -1.5527    
   9  Prefactor     .14420E-05    16.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4125        .40472        .45931E-03   -1.5677    
  11  Prefactor     7.0210        3.4840        .37849E-03   -1.5655    
  12  Prefactor     .25779E-06    18.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .32707E-06    30.601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16653E-09    50.811        .13728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          32.715        16.283        .17483E-03   -1.5594    
  16  Prefactor     3.0535        2.2969        .58042E-03   -1.5673    
  17  Prefactor     .33851E-06    20.852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .22204E-09    3.4758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.7715        2.7457        .61082E-03   -1.5675    
  20  Prefactor     .16653E-09    3.8093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.2907        4.0900        .67818E-03   -1.5678    
  22  Prefactor     75.183        43.127        .11557E-03   -1.5535    
  23  norm          .80328        1.0987        .52518E-03   -1.5690    
  24  norm          8.4269        7.5270        .34541E-03   -1.5650    
  25  Prefactor     .20323E-06    12.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .91113        .16723        .45051E-01   -.96070    
  27  Prefactor     .92577        .18901        .66019E-01   -.95247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.31061e-06
Minuit parameter uncertainties:
  1  5.32758
  2  1.61148
  3  0.000411738
  4  68.9706
  5  0.00144482
  6  3.57473
  7  4.68283e-05
  8  82.959
  9  0.00982287
  10  0.404719
  11  3.48396
  12  0.00433289
  13  0.00632746
  14  0.000170389
  15  16.2831
  16  2.29689
  17  0.0053136
  18  5.72458e-05
  19  2.74575
  20  4.87807e-05
  21  4.09
  22  43.1267
  23  1.09869
  24  7.52706
  25  0.00322543
  26  0.167329
  27  0.189145
Done.

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

Extracting fit parameters...

4FGL J1109.6+3735
   Spectrum: PowerLaw
332    Prefactor:  3.271e-07  6.327e-03  0.000e+00  1.000e+06 ( 1.000e-14)
333        Index:  1.855e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  4.801e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.258e-01  1.891e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.111e-01  1.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 167.409 37.587
Photon Flux Upper Limit: 6.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/721370/likelihoodResults_691891201_692150401_4FGL_J1109.6+3735_daily_bin1746.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) = 6558.9565603
delta logL = -0.0169222058194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6558.39098642
delta logL = 0.548651680277

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6558.391     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      258 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25619        3.4745        .88418E-03    .26014E-01
   2  Index         3.4313        1.6753        .66129E-01    .30782E-03
   3  Normalizat    .86308        .32190E-01    .44423E-01    .24683E-04
   4  Prefactor     .95574        .38251E-01    .45719E-01    .17003E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.256185
  Index      = 3.4313
  Normalizat = 0.863076
  Prefactor  = 0.955744
 **********
 **   18 **HESSE 
 **********

 FCN=   6558.391     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      291 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25619        12.593        .39335E-05   -1.5698    
   2  Index         3.4313        3.6299        .38048E-02   -.31913    
   3  Normalizat    .86308        .15611        .25398E-03   -.97770    
   4  Prefactor     .95574        .18085        .28705E-03   -.94220    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.52644e-09
Minuit parameter uncertainties:
  1  3.59231
  2  4.1323
  3  0.156191
  4  0.180962
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/721370': 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) = 6558.39097662
delta logL = 0.548661478649

Extracting fit parameters...

4FGL J1109.6+3735
   Spectrum: PowerLaw
332    Prefactor:  2.562e-01  3.592e+00  0.000e+00  1.000e+06 ( 1.000e-14)
333        Index:  3.431e+00  4.132e+00  0.000e+00  1.000e+01 (-1.000e+00)
334        Scale:  4.801e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.557e-01  1.810e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  8.631e-01  1.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.14
Ra Dec: 167.409 37.587
Photon Index (Free Index): 3.43 +/- 4.13
Photon Flux (Free Index): 6.21e-08 +/- 6.31e-08
Energy Flux (Free Index): 1.05e-05 +/- 1.38e-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/721370/cmap_HighResolution_691891201_692150401_4FGL_J1109.6+3735_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', comment='SUCCESS', energy_flux2='1.05e-05', dlogl='5.49e-01', photon_flux2='6.21e-08', job_status='DONE', time_completed='2022-12-08 00:55:53.935420', photon_index_error2='4.13', photon_index2='3.43', ts='-0.00', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='6.18e-08', energy_flux_error2='1.38e-05', EG='0.91', time_epoch_completed='1670489753.94', return_code='0', job_id='721370', GAL2='0.96', EG2='0.86', return_code2='102', photon_flux_error2='6.31e-08', ts2='1.14', photon_index='1.85' WHERE bin_id='1746' AND source_name='4FGL J1109.6+3735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:55:53 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 721370: <4FGL_J1109.6+3735_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1109.6+3735_daily_bin1746> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Dec  8 00:40:18 2022
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:40:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:40:19 2022
Terminated at Thu Dec  8 00:55:54 2022
Results reported at Thu Dec  8 00:55:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1109.6+3735_daily_bin1746 167.409 37.5868 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1109.6+3735 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   747.50 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             311.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            936 sec.

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

