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


Performing analysis on: 4FGL_J1109.6+3735_weekly_bin760
RA = 167.409, Dec = 37.5868
tmin = 698630401, tmax = 699235201
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='20029', job_status='RUN', time_executed='2023-02-28 01:00:58.582517', time_epoch_executed='1677574858.58' WHERE source_name='4FGL J1109.6+3735' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/20029

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/20029/ft1_4FGL_J1109.6+3735_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/20029/ft2_4FGL_J1109.6+3735_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/20029/ft1_4FGL_J1109.6+3735_weekly_bin760.fits outfile=/scratch/kocevski/20029/ft1_filteredMKT_4FGL_J1109.6+3735_weekly_bin760.fits ra=167.409 dec=37.5868 rad=12.0 tmin=698630401.0 tmax=699235201.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 6.25
user 5.94
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/20029/ft2_4FGL_J1109.6+3735_weekly_bin760.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/20029/ft1_filteredMKT_4FGL_J1109.6+3735_weekly_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/20029/ft1_filtered_4FGL_J1109.6+3735_weekly_bin760.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.54
user 0.37
sys 0.17

Number of photons that the gtmktime cut: 47

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/20029/ft1_filtered_4FGL_J1109.6+3735_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/20029/ft2_4FGL_J1109.6+3735_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/20029/ltcube_698630401_699235201_4FGL_J1109.6+3735_weekly_bin760.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/20029/ft2_4FGL_J1109.6+3735_weekly_bin760.fits
.....................!
real 32.23
user 31.80
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/20029/ft1_filtered_4FGL_J1109.6+3735_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/20029/ft2_4FGL_J1109.6+3735_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/20029/ltcube_698630401_699235201_4FGL_J1109.6+3735_weekly_bin760.fits outfile=/scratch/kocevski/20029/expmap_698630401_699235201_4FGL_J1109.6+3735_weekly_bin760.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/20029/ltcube_698630401_699235201_4FGL_J1109.6+3735_weekly_bin760.fits
.....................!
real 190.63
user 185.51
sys 4.71

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/20029/ft1_filtered_4FGL_J1109.6+3735_weekly_bin760.fits scfile=/scratch/kocevski/20029/ft2_4FGL_J1109.6+3735_weekly_bin760.fits outfile=/scratch/kocevski/20029/cmap_698630401_699235201_4FGL_J1109.6+3735_weekly_bin760.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/20029/ft1_filtered_4FGL_J1109.6+3735_weekly_bin760.fits scfile=/scratch/kocevski/20029/ft2_4FGL_J1109.6+3735_weekly_bin760.fits outfile=/scratch/kocevski/20029/cmap_HighResolution_698630401_699235201_4FGL_J1109.6+3735_weekly_bin760.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.57
user 0.42
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/20029/ft1_filtered_4FGL_J1109.6+3735_weekly_bin760.fits', '/scratch/kocevski/20029/ft2_4FGL_J1109.6+3735_weekly_bin760.fits', expMap='/scratch/kocevski/20029/expmap_698630401_699235201_4FGL_J1109.6+3735_weekly_bin760.fits', expCube='/scratch/kocevski/20029/ltcube_698630401_699235201_4FGL_J1109.6+3735_weekly_bin760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/20029/Model_4FGL_J1109.6+3735_weekly_bin760.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/20029/ft1_filtered_4FGL_J1109.6+3735_weekly_bin760.fits
Spacecraft file(s): /scratch/kocevski/20029/ft2_4FGL_J1109.6+3735_weekly_bin760.fits
Exposure map: /scratch/kocevski/20029/expmap_698630401_699235201_4FGL_J1109.6+3735_weekly_bin760.fits
Exposure cube: /scratch/kocevski/20029/ltcube_698630401_699235201_4FGL_J1109.6+3735_weekly_bin760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/20029/Model_4FGL_J1109.6+3735_weekly_bin760.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 601.084703028

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 598.181585346

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1622       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.9031       1.0000          .0000       .10000E+07
     3 'norm      '    10.098       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.5719       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.9769       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.1747       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.3037       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.0706       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6120       1.0000          .0000       .10000E+07
    10 'norm      '    .23670E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .29980E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .44869E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .28540E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .26891E-01   1.0000          .0000       .10000E+07
    15 'norm      '    8.9661       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.977       1.0000          .0000       .10000E+07
    17 'Prefactor '    .78763       1.0000          .0000       .10000E+07
    18 'Prefactor '    .33201E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .57232E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .60840       1.0000          .0000       .10000E+07
    21 'Prefactor '    11.122       1.0000          .0000       .10000E+07
    22 'Prefactor '    .29747E-01   1.0000          .0000       .10000E+07
    23 'norm      '    .19762E-07   1.0000          .0000       .10000E+07
    24 'norm      '    45.182       1.0000          .0000       .10000E+07
    25 'Prefactor '    63.686       1.0000          .0000       .10000E+07
    26 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.5916       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   578.4435     FROM MIGRAD    STATUS=CONVERGED    588 CALLS      910 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1622        1.1510         .0000         .0000    
   2  Prefactor     .10000E+07    .14196       -.36390E-04** at limit **
   3  norm          .10000E+07    .24818E-01    .33850E-04** at limit **
   4  Prefactor     4.5719        1.0061         .0000         .0000    
   5  Prefactor     .10000E+07    .31465E-01   -.13094E-04** at limit **
   6  Prefactor     41.904        2.8591       -.10136E-03   -.41859E-06
   7  Prefactor     .10000E+07    .23362       -.36183E-04** at limit **
   8  Prefactor     .36637E-08    .62373E-01   -.43276E-06** at limit **
   9  Prefactor     .20539E-08    .99504E-01   -.95377E-07** at limit **
  10  norm           .0000        .44347E-01    .35593E-08** at limit **
  11  Prefactor     .16653E-09    .67663       -.13603E-06** at limit **
  12  Prefactor     .94369E-09    .62024       -.34531E-06** at limit **
  13  Prefactor      .0000        .44347E-01   -.36430E-06** at limit **
  14  Prefactor     .16653E-09    .69052        .84749E-07** at limit **
  15  norm          15.966        1.3365        .52535E-06   -.28785E-03
  16  Prefactor     5.4262        .70381        .24741E-06    .56288E-03
  17  Prefactor     .49960E-09    .72527E-01   -.92621E-06** at limit **
  18  Prefactor     .38858E-09    .66309       -.13480E-06** at limit **
  19  norm           .0000        .44347E-01   -.14310E-07** at limit **
  20  Prefactor     27.837        3.6129        .61973E-07   -.17960E-04
  21  Prefactor     13.991        1.1227       -.24938E-07    .41239E-03
  22  Prefactor     .22204E-09    .67764        .12270E-06** at limit **
  23  norm           .0000        .44347E-01   -.80362E-08** at limit **
  24  norm          48.087        1.0317       -.22116E-09   -.83026E-03
  25  Prefactor     60.062        .97116        .89850E-07   -.66147E-04
  26  Normalizat    .10000E-01    .25765        .58257E-08** at limit **
  27  Prefactor     1.2054        .92610        .13796E-05    .68093E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16222
  Prefactor  = 1e+06
  norm       = 1e+06
  Prefactor  = 4.57191
  Prefactor  = 1e+06
  Prefactor  = 41.9036
  Prefactor  = 1e+06
  Prefactor  = 3.66374e-09
  Prefactor  = 2.05391e-09
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 9.4369e-10
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  norm       = 15.9655
  Prefactor  = 5.42621
  Prefactor  = 4.996e-10
  Prefactor  = 3.88578e-10
  norm       = 0
  Prefactor  = 27.8365
  Prefactor  = 13.9912
  Prefactor  = 2.22045e-10
  norm       = 0
  norm       = 48.0868
  Prefactor  = 60.0617
  Normalizat = 0.01
  Prefactor  = 1.20538
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   578.4435     FROM HESSE     STATUS=FAILED        11 CALLS      921 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63102.        63101.         .0000       -1.5686    
   2  Prefactor     .10000E+07    .14196       -.36390E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E+07    .24818E-01    .33850E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.5719        1.0061         .0000       -1.5665    
   5  Prefactor     .10000E+07    .31465E-01   -.13094E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     41.904        2.8591       -.10136E-03   -1.5578    
   7  Prefactor     .10000E+07    .23362       -.36183E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .36637E-08    .62373E-01   -.43276E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20539E-08    .99504E-01   -.95377E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .44347E-01    .35593E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    .67663       -.13603E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .94369E-09    .62024       -.34531E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .44347E-01   -.36430E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16653E-09    .69052        .84749E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.966        1.3365        .52535E-06   -1.5628    
  16  Prefactor     5.4262        .70381        .24741E-06   -1.5661    
  17  Prefactor     .49960E-09    .72527E-01   -.92621E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38858E-09    .66309       -.13480E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .44347E-01   -.14310E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     27.837        3.6129        .61973E-07   -1.5813    
  21  Prefactor     13.991        1.1227       -.24938E-07   -1.5633    
  22  Prefactor     .22204E-09    .67764        .12270E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        .44347E-01   -.80362E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          48.087        1.0317       -.22116E-09   -1.5569    
  25  Prefactor     60.062        .97116        .89850E-07   -1.5553    
  26  Normalizat    .10000E-01    .25765        .58257E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.2054        .92610        .13796E-05   -.86166    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.68775e-10
Minuit parameter uncertainties:
  1  1.15103
  2  0.0034542
  3  0.00156566
  4  1.00611
  5  0.00381034
  6  2.85912
  7  0.00558326
  8  3.01295e-05
  9  2.87541e-05
  10  1.07016e-07
  11  2.01315e-05
  12  4.85996e-05
  13  1.0731e-06
  14  2.08032e-05
  15  1.3365
  16  0.703813
  17  1.19449e-05
  18  3.30627e-05
  19  6.95168e-07
  20  3.6129
  21  1.12275
  22  2.47005e-05
  23  3.49743e-07
  24  1.03171
  25  0.97116
  26  1.11148e-06
  27  0.939068
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 578.443462789

Extracting fit parameters...

4FGL J1109.6+3735
   Spectrum: PowerLaw
332    Prefactor:  0.000e+00  1.073e-06  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:  1.205e+00  9.391e-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.000e-02  1.111e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 167.409 37.587
Photon Flux Upper Limit: 8.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/20029/likelihoodResults_698630401_699235201_4FGL_J1109.6+3735_weekly_bin760.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) = 578.448353436
delta logL = -0.0048906476793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 578.443463105
delta logL = -3.16521777677e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14931E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.4626       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2054       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=   578.4435     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      269 TOTAL
                     EDM=   .61E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    12.352        .42118E-03** at limit **
   2  Index         .42964        5.0330        .50000       -.22737E-11
   3  Normalizat    .10000E-01    .31870E-04    .14312    ** at limit **
   4  Prefactor     1.2054        .42315E-02    .49564E-01    .49199E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 0.429644
  Normalizat = 0.01
  Prefactor  = 1.20538
 **********
 **   18 **HESSE 
 **********

 FCN=   578.4435     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      296 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    51.202        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .42964        5.0679        .51000       -1.1532    
   3  Normalizat    .10000E-01    .14666E-03    .60216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2054        .86152E-02    .21908E-03   -.86166    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.58551e-12
Minuit parameter uncertainties:
  1  0.000185678
  2  615918
  3  2.78683e-07
  4  0.00861519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/20029': 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) = 578.443462789
delta logL = -3.54930307367e-10

Extracting fit parameters...

4FGL J1109.6+3735
   Spectrum: PowerLaw
332    Prefactor:  1.665e-10  1.857e-04  0.000e+00  1.000e+06 ( 1.000e-14)
333        Index:  4.296e-01  6.159e+05  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:  1.205e+00  8.615e-03  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.000e-02  2.787e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 167.409 37.587

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/20029/cmap_HighResolution_698630401_699235201_4FGL_J1109.6+3735_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-02', job_status='DONE', photon_flux_upper_limit='8.33e-07', time_completed='2023-02-28 01:07:24.788454', job_id='20029', GAL2='1.21', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677575244.79', return_code2='102', ts='0.00', comment='SUCCESS', return_code='101', GAL='1.21', dlogl='-3.55e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='760' AND source_name='4FGL J1109.6+3735' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 01:07:24 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 20029: <4FGL_J1109.6+3735_weekly_bin760> in cluster <slac> Done

Job <4FGL_J1109.6+3735_weekly_bin760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 28 01:00:31 2023
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 01:00:32 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 01:00:32 2023
Terminated at Tue Feb 28 01:07:25 2023
Results reported at Tue Feb 28 01:07:25 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1109.6+3735_weekly_bin760 167.409 37.5868 698630401 699235201 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 :                                   387.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             435.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   413 sec.
    Turnaround time :                            414 sec.

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

