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


Performing analysis on: 4FGL_J2136.2+0032_daily_bin1725
RA = 324.062, Dec = 0.5488
tmin = 686448001, tmax = 686707201
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='892791', job_status='RUN', time_executed='2022-10-06 01:07:50.406331', time_epoch_executed='1665043670.41' WHERE source_name='4FGL J2136.2+0032' and cadence='daily' and bin_id='1725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892791

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892791/ft1_4FGL_J2136.2+0032_daily_bin1725.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892791/ft2_4FGL_J2136.2+0032_daily_bin1725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892791/ft1_4FGL_J2136.2+0032_daily_bin1725.fits outfile=/scratch/kocevski/892791/ft1_filteredMKT_4FGL_J2136.2+0032_daily_bin1725.fits ra=324.062 dec=0.5488 rad=12.0 tmin=686448001.0 tmax=686707201.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/892791/ft2_4FGL_J2136.2+0032_daily_bin1725.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892791/ft2_4FGL_J2136.2+0032_daily_bin1725.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/892791/ft1_filteredMKT_4FGL_J2136.2+0032_daily_bin1725.fits evtable="EVENTS" outfile="/scratch/kocevski/892791/ft1_filtered_4FGL_J2136.2+0032_daily_bin1725.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.56
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 567

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892791/ft1_filtered_4FGL_J2136.2+0032_daily_bin1725.fits" evtable="EVENTS" scfile=/scratch/kocevski/892791/ft2_4FGL_J2136.2+0032_daily_bin1725.fits sctable="SC_DATA" outfile=/scratch/kocevski/892791/ltcube_686448001_686707201_4FGL_J2136.2+0032_daily_bin1725.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/892791/ft2_4FGL_J2136.2+0032_daily_bin1725.fits
.....................!
real 15.52
user 15.13
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892791/ft1_filtered_4FGL_J2136.2+0032_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/892791/ft2_4FGL_J2136.2+0032_daily_bin1725.fits sctable="SC_DATA" expcube=/scratch/kocevski/892791/ltcube_686448001_686707201_4FGL_J2136.2+0032_daily_bin1725.fits outfile=/scratch/kocevski/892791/expmap_686448001_686707201_4FGL_J2136.2+0032_daily_bin1725.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/892791/ltcube_686448001_686707201_4FGL_J2136.2+0032_daily_bin1725.fits
.....................!
real 192.47
user 185.24
sys 5.60

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

Setting source of interest to:
4FGL J2136.2+0032 @ 324.062 0.5488

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/892791/ft1_filtered_4FGL_J2136.2+0032_daily_bin1725.fits scfile=/scratch/kocevski/892791/ft2_4FGL_J2136.2+0032_daily_bin1725.fits outfile=/scratch/kocevski/892791/cmap_686448001_686707201_4FGL_J2136.2+0032_daily_bin1725.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=324.062 yref=0.5488 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892791/ft1_filtered_4FGL_J2136.2+0032_daily_bin1725.fits scfile=/scratch/kocevski/892791/ft2_4FGL_J2136.2+0032_daily_bin1725.fits outfile=/scratch/kocevski/892791/cmap_HighResolution_686448001_686707201_4FGL_J2136.2+0032_daily_bin1725.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=324.062 yref=0.5488 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/892791/ft1_filtered_4FGL_J2136.2+0032_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/892791/ft2_4FGL_J2136.2+0032_daily_bin1725.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892791/Model_4FGL_J2136.2+0032_daily_bin1725.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/892791/ft1_filtered_4FGL_J2136.2+0032_daily_bin1725.fits.....................!
real 64.69
user 63.13
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892791/ft1_filtered_4FGL_J2136.2+0032_daily_bin1725.fits', '/scratch/kocevski/892791/ft2_4FGL_J2136.2+0032_daily_bin1725.fits', expMap='/scratch/kocevski/892791/expmap_686448001_686707201_4FGL_J2136.2+0032_daily_bin1725.fits', expCube='/scratch/kocevski/892791/ltcube_686448001_686707201_4FGL_J2136.2+0032_daily_bin1725.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892791/Model_4FGL_J2136.2+0032_daily_bin1725.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2136.2+0032'

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  8.984e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  2.877e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  3.302e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/892791/ft1_filtered_4FGL_J2136.2+0032_daily_bin1725.fits
Spacecraft file(s): /scratch/kocevski/892791/ft2_4FGL_J2136.2+0032_daily_bin1725.fits
Exposure map: /scratch/kocevski/892791/expmap_686448001_686707201_4FGL_J2136.2+0032_daily_bin1725.fits
Exposure cube: /scratch/kocevski/892791/ltcube_686448001_686707201_4FGL_J2136.2+0032_daily_bin1725.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892791/Model_4FGL_J2136.2+0032_daily_bin1725.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) = 6518.83689561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8596       1.0000          .0000       .10000E+07
     2 'Prefactor '    .73420E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .72942E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    112.37       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.9296       1.0000          .0000       .10000E+07
     6 'Prefactor '    .82865E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13615E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11882E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3308       1.0000          .0000       .10000E+07
    10 'Prefactor '    .39839E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .36434E-01   1.0000          .0000       .10000E+07
    12 'norm      '    5.0757       1.0000          .0000       .10000E+07
    13 'norm      '    8.8592       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60542E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .50798E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.2118       1.0000          .0000       .10000E+07
    17 'Prefactor '    .32194E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    49.405       1.0000          .0000       .10000E+07
    19 'Normalizat'    .42862       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1181       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6518.820     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1559 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8545        5.1811       -.48420E-07   -.75406E-03
   2  Prefactor     .10492E-07    15.120        .44987E-06** at limit **
   3  Prefactor     .31690E-03    178.22       -.16115E-07** at limit **
   4  Prefactor     114.01        40.315       -.54334E-07   -.24770    
   5  Prefactor     2.8835        3.6213       -.78213E-08   -.10210E-01
   6  Prefactor     .14988E-08    15.013        .32899E-06** at limit **
   7  Prefactor     .11757E-04    75.944       -.76721E-06** at limit **
   8  Prefactor      .0000        2.2387        .63657E-09** at limit **
   9  Prefactor     4.3300        2.3806        .27527E-07    .28574E-03
  10  Prefactor      .0000        43.694        .29236E-06** at limit **
  11  Prefactor     .55511E-10    42.334        .15348E-06** at limit **
  12  norm          5.0774        2.6826        .44347E-08   -.88407E-03
  13  norm          8.8859        1.8667       -.13844E-07   -.79983E-03
  14  Prefactor     .10547E-08    8.8643       -.36843E-07** at limit **
  15  Prefactor     .11102E-09    6.1484        .74767E-07** at limit **
  16  Prefactor     5.1985        5.4258        .26010E-07   -.98268E-02
  17  Prefactor     .11851E-04    8.3296       -.24086E-06** at limit **
  18  Prefactor     49.373        21.212       -.54306E-07   -.49147E-01
  19  Normalizat    .42787        .26320       -.33262E-05   -.85086E-04
  20  Prefactor     1.1182        .13512       -.93539E-06   -.25817E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.85451
  Prefactor  = 1.04916e-08
  Prefactor  = 0.000316904
  Prefactor  = 114.007
  Prefactor  = 2.88355
  Prefactor  = 1.4988e-09
  Prefactor  = 1.17566e-05
  Prefactor  = 0
  Prefactor  = 4.33003
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 5.07743
  norm       = 8.88593
  Prefactor  = 1.05471e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.19846
  Prefactor  = 1.18509e-05
  Prefactor  = 49.3733
  Normalizat = 0.427868
  Prefactor  = 1.11824
 **********
 **   18 **HESSE 
 **********

 FCN=   6518.820     FROM HESSE     STATUS=OK           351 CALLS     1910 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8545        5.2516        .76388E-03   -1.5681    
   2  Prefactor     .10492E-07    15.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .31690E-03    12.858        .92034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     114.01        69.636        .94343E-04   -1.5494    
   5  Prefactor     2.8835        30.977        .59322E-03   -1.5674    
   6  Prefactor     .14988E-08    15.221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11757E-04    5.3448        .59442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.2404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3300        2.3914        .48380E-03   -1.5666    
  10  Prefactor      .0000        42.282        .15971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    41.865        .16129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.0774        2.7689        .44606E-03   -1.5663    
  13  norm          8.8859        19.521        .33651E-03   -1.5648    
  14  Prefactor     .10547E-08    8.9047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11102E-09    6.1601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.1985        20.439        .44008E-03   -1.5662    
  17  Prefactor     .11851E-04    15.579        .10019E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     49.373        22.036        .14228E-03   -1.5567    
  19  Normalizat    .42787        .26480        .10862       -1.1588    
  20  Prefactor     1.1182        .12955        .36936E-01   -.88886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48309e-06
Minuit parameter uncertainties:
  1  5.25161
  2  0.00080071
  3  0.127666
  4  69.637
  5  18.9023
  6  0.000300929
  7  0.015854
  8  3.69037e-06
  9  2.39136
  10  5.88128e-05
  11  0.00011732
  12  2.76886
  13  19.5207
  14  0.000194672
  15  5.74494e-05
  16  20.4396
  17  0.0271754
  18  22.0364
  19  0.265584
  20  0.129591
Done.

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

Extracting fit parameters...

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  0.000e+00  5.881e-05  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  2.877e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  3.302e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.118e+00  1.296e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  4.279e-01  2.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/892791/likelihoodResults_686448001_686707201_4FGL_J2136.2+0032_daily_bin1725.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) = 6518.83110274
delta logL = -0.0114762691619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6518.45823881
delta logL = 0.36138766086

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6518.458     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      237 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1776        13.641        .33059E-03    .25214E-01
   2  Index         1.6102        .46042        .17368       -.10782E-03
   3  Normalizat    .43512        .24658        .10772        .52576E-04
   4  Prefactor     1.1096        .12785        .37229E-01   -.59875E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.17758
  Index      = 1.61018
  Normalizat = 0.435125
  Prefactor  = 1.10965
 **********
 **   18 **HESSE 
 **********

 FCN=   6518.458     FROM HESSE     STATUS=OK            31 CALLS      268 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1776        16.007        .13223E-04   -1.5647    
   2  Index         1.6102        .67162        .98994E-02   -.74499    
   3  Normalizat    .43512        .26030        .47741E-03   -1.1552    
   4  Prefactor     1.1096        .13545        .15843E-03   -.89159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69889e-08
Minuit parameter uncertainties:
  1  16.0073
  2  0.675417
  3  0.261031
  4  0.135495
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892791': 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) = 6518.45823875
delta logL = 0.3613877265

Extracting fit parameters...

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  9.178e+00  1.601e+01  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  1.610e+00  6.754e-01  0.000e+00  1.000e+01 (-1.000e+00)
297        Scale:  3.302e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.110e+00  1.355e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  4.351e-01  2.610e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 324.062 0.549

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/892791/cmap_HighResolution_686448001_686707201_4FGL_J2136.2+0032_daily_bin1725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.54e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2022-10-06 01:17:38.702199', job_id='892791', GAL2='1.11', fit_tolerance='1e-08', EG2='0.44', EG='0.43', time_epoch_completed='1665044258.7', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.61e-01', ts2='0.73', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='1725' AND source_name='4FGL J2136.2+0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  6 01:17:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 892791: <4FGL_J2136.2+0032_daily_bin1725> in cluster <slac> Done

Job <4FGL_J2136.2+0032_daily_bin1725> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Oct  6 01:05:36 2022
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 01:06:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 01:06:18 2022
Terminated at Thu Oct  6 01:17:39 2022
Results reported at Thu Oct  6 01:17:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2136.2+0032_daily_bin1725 324.062 0.5488 686448001 686707201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2136.2+0032 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   589.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             298.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   681 sec.
    Turnaround time :                            723 sec.

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

