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


Performing analysis on: 4FGL_J2136.2+0032_daily_bin1749
RA = 324.062, Dec = 0.5488
tmin = 692668801, tmax = 692928001
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='963232', job_status='RUN', time_executed='2022-12-17 01:25:47.655211', time_epoch_executed='1671269147.66' WHERE source_name='4FGL J2136.2+0032' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963232

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963232/ft1_4FGL_J2136.2+0032_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963232/ft2_4FGL_J2136.2+0032_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963232/ft1_4FGL_J2136.2+0032_daily_bin1749.fits outfile=/scratch/kocevski/963232/ft1_filteredMKT_4FGL_J2136.2+0032_daily_bin1749.fits ra=324.062 dec=0.5488 rad=12.0 tmin=692668801.0 tmax=692928001.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 3.70
user 3.47
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/963232/ft2_4FGL_J2136.2+0032_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/963232/ft2_4FGL_J2136.2+0032_daily_bin1749.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/963232/ft1_filteredMKT_4FGL_J2136.2+0032_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/963232/ft1_filtered_4FGL_J2136.2+0032_daily_bin1749.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.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 567

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963232/ft1_filtered_4FGL_J2136.2+0032_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/963232/ft2_4FGL_J2136.2+0032_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/963232/ltcube_692668801_692928001_4FGL_J2136.2+0032_daily_bin1749.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/963232/ft2_4FGL_J2136.2+0032_daily_bin1749.fits
.....................!
real 11.82
user 11.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963232/ft1_filtered_4FGL_J2136.2+0032_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/963232/ft2_4FGL_J2136.2+0032_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/963232/ltcube_692668801_692928001_4FGL_J2136.2+0032_daily_bin1749.fits outfile=/scratch/kocevski/963232/expmap_692668801_692928001_4FGL_J2136.2+0032_daily_bin1749.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/963232/ltcube_692668801_692928001_4FGL_J2136.2+0032_daily_bin1749.fits
.....................!
real 190.20
user 184.94
sys 4.93

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/963232/ft1_filtered_4FGL_J2136.2+0032_daily_bin1749.fits scfile=/scratch/kocevski/963232/ft2_4FGL_J2136.2+0032_daily_bin1749.fits outfile=/scratch/kocevski/963232/cmap_692668801_692928001_4FGL_J2136.2+0032_daily_bin1749.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963232/ft1_filtered_4FGL_J2136.2+0032_daily_bin1749.fits scfile=/scratch/kocevski/963232/ft2_4FGL_J2136.2+0032_daily_bin1749.fits outfile=/scratch/kocevski/963232/cmap_HighResolution_692668801_692928001_4FGL_J2136.2+0032_daily_bin1749.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/963232/ft1_filtered_4FGL_J2136.2+0032_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/963232/ft2_4FGL_J2136.2+0032_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/963232/Model_4FGL_J2136.2+0032_daily_bin1749.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/963232/ft1_filtered_4FGL_J2136.2+0032_daily_bin1749.fits.....................!
real 62.00
user 60.66
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/963232/ft1_filtered_4FGL_J2136.2+0032_daily_bin1749.fits', '/scratch/kocevski/963232/ft2_4FGL_J2136.2+0032_daily_bin1749.fits', expMap='/scratch/kocevski/963232/expmap_692668801_692928001_4FGL_J2136.2+0032_daily_bin1749.fits', expCube='/scratch/kocevski/963232/ltcube_692668801_692928001_4FGL_J2136.2+0032_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/963232/Model_4FGL_J2136.2+0032_daily_bin1749.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/963232/ft1_filtered_4FGL_J2136.2+0032_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/963232/ft2_4FGL_J2136.2+0032_daily_bin1749.fits
Exposure map: /scratch/kocevski/963232/expmap_692668801_692928001_4FGL_J2136.2+0032_daily_bin1749.fits
Exposure cube: /scratch/kocevski/963232/ltcube_692668801_692928001_4FGL_J2136.2+0032_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/963232/Model_4FGL_J2136.2+0032_daily_bin1749.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) = 6202.16273393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14489E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .67563E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10002E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.5388       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.7481       1.0000          .0000       .10000E+07
     6 'Prefactor '    .75660E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .19242E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .55031E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10947E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    13.475       1.0000          .0000       .10000E+07
    11 'Prefactor '    44.562       1.0000          .0000       .10000E+07
    12 'norm      '    .69403       1.0000          .0000       .10000E+07
    13 'norm      '    .43134E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .62063E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .19315E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    18.815       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.406       1.0000          .0000       .10000E+07
    18 'Prefactor '    17.037       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0736       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88484       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=   6202.091     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1531 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5857        .60264E-06** at limit **
   2  Prefactor     .22204E-09    8.6882        .11632E-05** at limit **
   3  Prefactor      .0000        7.8985       -.33463E-06** at limit **
   4  Prefactor     12.689        45.410       -.68949E-05   -.45805E-03
   5  Prefactor     4.7712        1.2477        .87613E-07    .38680E-03
   6  Prefactor     .44409E-09    20.880       -.10456E-05** at limit **
   7  Prefactor      .0000        3.7940       -.14073E-05** at limit **
   8  Prefactor     .33307E-09    11.731        .35403E-05** at limit **
   9  Prefactor      .0000        .96749        .61834E-07** at limit **
  10  Prefactor     14.716        32.763        .56751E-05   -.25295E-02
  11  Prefactor     45.866        56.247        .74029E-06   -.17651E-02
  12  norm          .70604        2.1181       -.21202E-06    .10120E-02
  13  norm           .0000        18.621        .27299E-05** at limit **
  14  Prefactor     .27756E-09    6.0954        .21352E-05** at limit **
  15  Prefactor      .0000        9.8579        .88216E-06** at limit **
  16  Prefactor     18.809        1.5339        .80609E-07    .40145E-01
  17  Prefactor     15.699        1.6346       -.39714E-07    .20525E-01
  18  Prefactor     17.128        2.4141        .28086E-06    .30453E-01
  19  Normalizat    1.0676        .28827       -.25495E-04   -.37416E-04
  20  Prefactor     .88570        .13801        .12524E-04   -.42267E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 12.689
  Prefactor  = 4.77116
  Prefactor  = 4.44089e-10
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 14.7157
  Prefactor  = 45.8664
  norm       = 0.706038
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 18.8092
  Prefactor  = 15.6993
  Prefactor  = 17.1281
  Normalizat = 1.06764
  Prefactor  = 0.885696
 **********
 **   18 **HESSE 
 **********

 FCN=   6202.091     FROM HESSE     STATUS=OK           329 CALLS     1860 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .22204E-09    8.6949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        7.8907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.689        45.481        .32423E-03   -1.5637    
   5  Prefactor     4.7712        15.710        .46152E-03   -1.5664    
   6  Prefactor     .44409E-09    20.896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        3.7852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33307E-09    11.782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        .96553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.716        32.738        .27261E-03   -1.5631    
  11  Prefactor     45.866        55.748        .14981E-03   -1.5573    
  12  norm          .70604        2.1258        .61194E-03   -1.5691    
  13  norm           .0000        18.547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .27756E-09    6.0482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        9.8477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.809        17.784        .23063E-03   -1.5621    
  17  Prefactor     15.699        19.861        .25491E-03   -1.5629    
  18  Prefactor     17.128        15.527        .24238E-03   -1.5625    
  19  Normalizat    1.0676        .23732        .71535E-01   -.90798    
  20  Prefactor     .88570        .11300        .44811E-01   -.96643    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25795e-08
Minuit parameter uncertainties:
  1  1.82711e-06
  2  8.33956e-05
  3  1.97789e-05
  4  45.4823
  5  15.7106
  6  0.000186997
  7  9.03151e-06
  8  0.000120523
  9  1.86553e-06
  10  32.7387
  11  55.7481
  12  2.12576
  13  2.78654e-05
  14  8.3301e-05
  15  1.85547e-05
  16  17.7841
  17  19.8611
  18  15.5271
  19  0.237552
  20  0.113031
Done.

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

Extracting fit parameters...

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  1.472e+01  3.274e+01  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:  8.857e-01  1.130e-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:  1.068e+00  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 324.062 0.549
Photon Flux Upper Limit: 1.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/963232/likelihoodResults_692668801_692928001_4FGL_J2136.2+0032_daily_bin1749.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) = 6201.91876603
delta logL = 0.171915322038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6201.9163712
delta logL = 0.17431015266

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.716       1.0000          .0000       .10000E+07
     2 'Index     '    2.0589       1.0000          .0000       10.000    
     3 'Normalizat'    1.0860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87777       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=   6201.916     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      213 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.882        23.544        .26083E-03    .95541E-04
   2  Index         2.0625        .61190        .25460       -.66516E-04
   3  Normalizat    1.0858        .22110        .70990E-01    .14342E-04
   4  Prefactor     .87776        .11202        .44721E-01    .24345E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.8823
  Index      = 2.06248
  Normalizat = 1.08582
  Prefactor  = 0.877759
 **********
 **   18 **HESSE 
 **********

 FCN=   6201.916     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.882        27.441        .10433E-04   -1.5631    
   2  Index         2.0625        1.0062        .11629E-01   -.62797    
   3  Normalizat    1.0858        .26854        .31412E-03   -.90208    
   4  Prefactor     .87776        .13586        .17428E-03   -.96923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48425e-12
Minuit parameter uncertainties:
  1  27.4415
  2  1.01688
  3  0.268875
  4  0.135908
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963232': 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) = 6201.91635426
delta logL = 0.17432708719

Extracting fit parameters...

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  1.488e+01  2.744e+01  0.000e+00  1.000e+06 ( 1.000e-12)
296        Index:  2.062e+00  1.017e+00  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:  8.778e-01  1.359e-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:  1.086e+00  2.689e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
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/963232/cmap_HighResolution_692668801_692928001_4FGL_J2136.2+0032_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', job_status='DONE', photon_flux_upper_limit='1.48e-07', time_completed='2022-12-17 01:34:49.748082', job_id='963232', GAL2='0.88', fit_tolerance='1e-08', EG2='1.09', EG='1.07', time_epoch_completed='1671269689.75', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.74e-01', ts2='0.58', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='1749' AND source_name='4FGL J2136.2+0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:34:49 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 963232: <4FGL_J2136.2+0032_daily_bin1749> in cluster <slac> Done

Job <4FGL_J2136.2+0032_daily_bin1749> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Dec 17 01:25:19 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:25:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:25:21 2022
Terminated at Sat Dec 17 01:34:50 2022
Results reported at Sat Dec 17 01:34:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2136.2+0032_daily_bin1749 324.062 0.5488 692668801 692928001 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 :                                   544.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             379.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   569 sec.
    Turnaround time :                            571 sec.

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

