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


Performing analysis on: 4FGL_J1109.6+3735_daily_bin1692
RA = 167.409, Dec = 37.5868
tmin = 677894401, tmax = 678153601
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='405120', job_status='RUN', time_executed='2022-06-29 04:27:36.760796', time_epoch_executed='1656502056.76' WHERE source_name='4FGL J1109.6+3735' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/405120

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/405120/ft1_4FGL_J1109.6+3735_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/405120/ft2_4FGL_J1109.6+3735_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/405120/ft1_4FGL_J1109.6+3735_daily_bin1692.fits outfile=/scratch/kocevski/405120/ft1_filteredMKT_4FGL_J1109.6+3735_daily_bin1692.fits ra=167.409 dec=37.5868 rad=12.0 tmin=677894401.0 tmax=678153601.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.43
user 4.16
sys 0.24

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

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

Number of photons that the gtmktime cut: 595

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/405120/ft1_filtered_4FGL_J1109.6+3735_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/405120/ft2_4FGL_J1109.6+3735_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/405120/ltcube_677894401_678153601_4FGL_J1109.6+3735_daily_bin1692.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/405120/ft2_4FGL_J1109.6+3735_daily_bin1692.fits
.....................!
real 13.73
user 12.95
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/405120/ft1_filtered_4FGL_J1109.6+3735_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/405120/ft2_4FGL_J1109.6+3735_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/405120/ltcube_677894401_678153601_4FGL_J1109.6+3735_daily_bin1692.fits outfile=/scratch/kocevski/405120/expmap_677894401_678153601_4FGL_J1109.6+3735_daily_bin1692.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/405120/ltcube_677894401_678153601_4FGL_J1109.6+3735_daily_bin1692.fits
.....................!
real 193.51
user 186.28
sys 5.23

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/405120/ft1_filtered_4FGL_J1109.6+3735_daily_bin1692.fits scfile=/scratch/kocevski/405120/ft2_4FGL_J1109.6+3735_daily_bin1692.fits outfile=/scratch/kocevski/405120/cmap_677894401_678153601_4FGL_J1109.6+3735_daily_bin1692.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.54
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/405120/ft1_filtered_4FGL_J1109.6+3735_daily_bin1692.fits scfile=/scratch/kocevski/405120/ft2_4FGL_J1109.6+3735_daily_bin1692.fits outfile=/scratch/kocevski/405120/cmap_HighResolution_677894401_678153601_4FGL_J1109.6+3735_daily_bin1692.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.55
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/405120/ft1_filtered_4FGL_J1109.6+3735_daily_bin1692.fits', '/scratch/kocevski/405120/ft2_4FGL_J1109.6+3735_daily_bin1692.fits', expMap='/scratch/kocevski/405120/expmap_677894401_678153601_4FGL_J1109.6+3735_daily_bin1692.fits', expCube='/scratch/kocevski/405120/ltcube_677894401_678153601_4FGL_J1109.6+3735_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/405120/Model_4FGL_J1109.6+3735_daily_bin1692.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  1.000e-04  1.000e+04 ( 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/405120/ft1_filtered_4FGL_J1109.6+3735_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/405120/ft2_4FGL_J1109.6+3735_daily_bin1692.fits
Exposure map: /scratch/kocevski/405120/expmap_677894401_678153601_4FGL_J1109.6+3735_daily_bin1692.fits
Exposure cube: /scratch/kocevski/405120/ltcube_677894401_678153601_4FGL_J1109.6+3735_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/405120/Model_4FGL_J1109.6+3735_daily_bin1692.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) = 6657.74517978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10549E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    43.120       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.3796       1.0000         .10000E-03   10000.    
     4 'norm      '    8.6548       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.249       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.648       1.0000         .10000E-03   10000.    
    13 'norm      '    1.5533       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.5154       1.0000         .10000E-03   10000.    
    15 'Prefactor '    88.296       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.931       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    46.743       1.0000         .10000E-03   10000.    
    21 'Prefactor '    28.569       1.0000         .10000E-03   10000.    
    22 'norm      '    2.4603       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.9078       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.0502       1.0000         .10000E-03   10000.    
    25 'Prefactor '    81.042       1.0000         .10000E-03   10000.    
    26 'norm      '    .60623       1.0000         .10000E-03   10000.    
    27 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    14.685       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.1630       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .96012       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6657.734     FROM MIGRAD    STATUS=CONVERGED    814 CALLS     4171 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    5.1802       -.51448E-06** at limit **
   2  Prefactor     43.120        37.315       -.91271E-07    .18597E-04
   3  Prefactor     3.3769        5.7358        .27420E-05    .20877E-04
   4  norm          8.6546        11.144        .25852E-06    .24305E-04
   5  Prefactor     .10000E-03    12.123       -.11059E-06** at limit **
   6  Prefactor     19.243        28.980        .21400E-07    .38603E-04
   7  Prefactor     .10000E-03    1.4963       -.39178E-07** at limit **
   8  Prefactor     .10000E-03    3.8878       -.23587E-06** at limit **
   9  Prefactor     .10000E-03    25.783       -.93366E-06** at limit **
  10  Prefactor     .10000E-03    6.3914       -.16979E-08** at limit **
  11  Prefactor     .10000E-03    46.657       -.11912E-05** at limit **
  12  Prefactor     23.648        16.375        .71297E-07    .29198E-04
  13  norm          1.5533        .43569        .11390E-07    .35578E-03
  14  Prefactor     2.5154        3.8450        .89084E-07   -.21633E-04
  15  Prefactor     88.304        28.507       -.15503E-06    .24621E-04
  16  Prefactor     18.930        20.884        .17359E-06    .17928E-04
  17  Prefactor     .10000E-03    68.534        .10002E-05** at limit **
  18  norm          .10000E-03    13.030        .17671E-06** at limit **
  19  Prefactor     .10000E-03    1.6814       -.20214E-06** at limit **
  20  Prefactor     46.734        41.660        .84882E-06    .43569E-04
  21  Prefactor     28.556        23.355       -.12256E-05    .39496E-04
  22  norm          2.4617        3.1393        .34934E-06    .52112E-03
  23  Prefactor     1.9152        29.867        .86434E-05   -.95596E-04
  24  Prefactor     6.0510        6.0038        .54217E-06    .15059E-04
  25  Prefactor     81.071        59.924       -.28060E-06    .79874E-04
  26  norm          .60522        .91924       -.42327E-06    .18883E-03
  27  norm          .10000E-03    3.5874        .11701E-06** at limit **
  28  Prefactor     14.688        34.246        .60046E-08    .21915E-04
  29  Prefactor     .10000E-03    31.589        .20113E-05** at limit **
  30  Normalizat    1.1629        .19798       -.21745E-05    .18999E-04
  31  Prefactor     .96031        .20994        .18946E-05    .24501E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100059
  Prefactor  = 43.1198
  Prefactor  = 3.37686
  norm       = 8.65457
  Prefactor  = 0.0001
  Prefactor  = 19.2434
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.6484
  norm       = 1.55325
  Prefactor  = 2.51539
  Prefactor  = 88.3036
  Prefactor  = 18.9299
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.7342
  Prefactor  = 28.5562
  norm       = 2.46172
  Prefactor  = 1.91517
  Prefactor  = 6.05101
  Prefactor  = 81.0709
  norm       = 0.60522
  norm       = 0.0001
  Prefactor  = 14.6879
  Prefactor  = 0.0001
  Normalizat = 1.16286
  Prefactor  = 0.960311
 **********
 **   18 **HESSE 
 **********

 FCN=   6657.734     FROM HESSE     STATUS=OK           636 CALLS     4807 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10006E-03    6.5204        .50966E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     43.120        37.309        .61051E-04   -1.4394    
   3  Prefactor     3.3769        6.2395        .11005E-02   -1.5340    
   4  norm          8.6546        11.123        .68127E-03   -1.5120    
   5  Prefactor     .10000E-03    12.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.243        28.881        .91289E-04   -1.4830    
   7  Prefactor     .10000E-03    1.5066        .97451E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.9097        .15655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.3929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    46.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.648        16.244        .82372E-04   -1.4735    
  13  norm          1.5533        .43782        .25773E-04   -1.5459    
  14  Prefactor     2.5154        3.7976        .16977E-03   -1.5391    
  15  Prefactor     88.304        28.539        .42758E-04   -1.3826    
  16  Prefactor     18.930        20.950        .92052E-04   -1.4838    
  17  Prefactor     .10000E-03    68.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    13.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.7171        .20621E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     46.734        41.513        .29323E-03   -1.4340    
  21  Prefactor     28.556        23.153        .74955E-04   -1.4639    
  22  norm          2.4617        3.1113        .14431E-03   -1.5394    
  23  Prefactor     1.9152        28.251        .15051E-02   -1.5431    
  24  Prefactor     6.0510        5.9723        .81617E-03   -1.5216    
  25  Prefactor     81.071        60.264        .44615E-04   -1.3905    
  26  norm          .60522        .92435        .10148E-02   -1.5552    
  27  norm          .10000E-03    3.5939        .15096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     14.688        34.336        .10452E-03   -1.4941    
  29  Prefactor     .10000E-03    31.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1629        .23166        .26318E-03   -.87758    
  31  Prefactor     .96031        .24903        .32805E-03   -.94064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.12981e-10
Minuit parameter uncertainties:
  1  0.00123685
  2  37.3288
  3  6.24072
  4  11.1259
  5  5.00768e-06
  6  28.9015
  7  3.78634e-06
  8  4.7058e-05
  9  5.55649e-05
  10  2.19428e-06
  11  5.19023e-05
  12  16.2469
  13  0.437817
  14  3.79797
  15  28.5438
  16  20.9579
  17  1.39002e-05
  18  1.83951e-05
  19  2.45122e-05
  20  41.5388
  21  23.1601
  22  3.11152
  23  14.7193
  24  5.97287
  25  60.3092
  26  0.924373
  27  1.67738e-05
  28  34.3824
  29  0.000209623
  30  0.231864
  31  0.249332DDone.

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

Extracting fit parameters...

4FGL J1109.6+3735
   Spectrum: PowerLaw
332    Prefactor:  1.893e+01  2.096e+01  1.000e-04  1.000e+04 ( 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.603e-01  2.493e-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:  1.163e+00  2.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.88
Ra Dec: 167.409 37.587
Photon Index (Fixed Index): 1.85 +/- 0.00
Photon Flux (Fixed Index): 2.90e-08 +/- 3.21e-08
Energy Flux (Fixed Index): 2.96e-05 +/- 3.27e-05

TS (Fixed Index): 1.88
Ra Dec: 167.409 37.587
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/405120/likelihoodResults_677894401_678153601_4FGL_J1109.6+3735_daily_bin1692.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) = 6657.47851433
delta logL = 0.255676827694

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6657.46989257
delta logL = 0.264298589004

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.256       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3740       1.0000          .0000       10.000    
     3 'Normalizat'    1.1328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97604       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=   6657.470     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      291 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.281        153.87        .31279E-02    .22341E-03
   2  Index         2.3722        2.0481        .11188        .20294E-03
   3  Normalizat    1.1330        .68866E-01    .60048E-01    .20729E-03
   4  Prefactor     .97587        .65208E-01    .73497E-01    .17750E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2806
  Index      = 2.37223
  Normalizat = 1.13297
  Prefactor  = 0.975871
 **********
 **   18 **HESSE 
 **********

 FCN=   6657.470     FROM HESSE     STATUS=OK            31 CALLS      322 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.281        20.980        .12511E-03   -1.5067    
   2  Index         2.3722        .87657        .40115E-02   -.55337    
   3  Normalizat    1.1330        .22341        .26557E-03   -.88700    
   4  Prefactor     .97587        .24913        .32519E-03   -.93538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.82762e-11
Minuit parameter uncertainties:
  1  20.9952
  2  0.882895
  3  0.223593
  4  0.249423
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/405120': 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) = 6657.46988791
delta logL = 0.2643032482

Extracting fit parameters...

4FGL J1109.6+3735
   Spectrum: PowerLaw
332    Prefactor:  1.028e+01  2.100e+01  1.000e-04  1.000e+04 ( 1.000e-14)
333        Index:  2.372e+00  8.829e-01  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.759e-01  2.494e-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:  1.133e+00  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.46
Ra Dec: 167.409 37.587
Photon Index (Free Index): 2.37 +/- 0.88
Photon Flux (Free Index): 7.30e-08 +/- 8.76e-08
Energy Flux (Free Index): 2.48e-05 +/- 2.15e-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/405120/cmap_HighResolution_677894401_678153601_4FGL_J1109.6+3735_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.77e-03', comment='SUCCESS', photon_flux='2.90e-08', energy_flux2='2.48e-05', photon_flux_error='3.21e-08', dlogl='2.64e-01', energy_flux='2.96e-05', photon_flux2='7.30e-08', job_status='DONE', time_completed='2022-06-29 04:44:44.315538', photon_index_error2='0.88', photon_index2='2.37', ts='1.88', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='2.15e-05', EG='1.16', time_epoch_completed='1656503084.32', return_code='0', job_id='405120', GAL2='0.98', EG2='1.13', return_code2='0', energy_flux_error='3.27e-05', photon_flux_error2='8.76e-08', ts2='2.46', photon_index='1.85' WHERE bin_id='1692' AND source_name='4FGL J1109.6+3735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 04:44:44 PDT 2022

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 405078: <4FGL_J1109.6+3735_daily_bin1692> in cluster <slac> Done

Job <4FGL_J1109.6+3735_daily_bin1692> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jun 29 00:06:29 2022
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:24:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:24:14 2022
Terminated at Wed Jun 29 04:43:00 2022
Results reported at Wed Jun 29 04:43:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1109.6+3735_daily_bin1692 167.409 37.5868 677894401 678153601 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 :                                   1049.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             296.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1128 sec.
    Turnaround time :                            16591 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0177>
Subject: Job 405120: <4FGL_J1109.6+3735_daily_bin1692> in cluster <slac> Done

Job <4FGL_J1109.6+3735_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:06:33 2022
Job was executed on host(s) <bullet0177>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:24:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:24:45 2022
Terminated at Wed Jun 29 04:44:44 2022
Results reported at Wed Jun 29 04:44:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1109.6+3735_daily_bin1692 167.409 37.5868 677894401 678153601 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 :                                   1025.23 sec.
    Max Memory :                                 628 MB
    Average Memory :                             276.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1199 sec.
    Turnaround time :                            16691 sec.

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

