/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 5 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 = 7449
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2136.2+0032_daily_bin844
RA = 324.062, Dec = 0.5488
tmin = 458092801, tmax = 458352001
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='613424', job_status='RUN', time_executed='2021-09-26 20:23:57.206536', time_epoch_executed='1632713037.21' WHERE source_name='4FGL J2136.2+0032' and cadence='daily' and bin_id='844'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/613424

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/613424/ft1_4FGL_J2136.2+0032_daily_bin844.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/613424/ft2_4FGL_J2136.2+0032_daily_bin844.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/613424/ft1_4FGL_J2136.2+0032_daily_bin844.fits outfile=/scratch/kocevski/613424/ft1_filteredMKT_4FGL_J2136.2+0032_daily_bin844.fits ra=324.062 dec=0.5488 rad=12.0 tmin=458092801.0 tmax=458352001.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.63
user 3.40
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/613424/ft2_4FGL_J2136.2+0032_daily_bin844.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/613424/ft1_filteredMKT_4FGL_J2136.2+0032_daily_bin844.fits evtable="EVENTS" outfile="/scratch/kocevski/613424/ft1_filtered_4FGL_J2136.2+0032_daily_bin844.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.35
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/613424/ft1_filtered_4FGL_J2136.2+0032_daily_bin844.fits evtable="EVENTS" scfile=/scratch/kocevski/613424/ft2_4FGL_J2136.2+0032_daily_bin844.fits sctable="SC_DATA" expcube=/scratch/kocevski/613424/ltcube_458092801_458352001_4FGL_J2136.2+0032_daily_bin844.fits outfile=/scratch/kocevski/613424/expmap_458092801_458352001_4FGL_J2136.2+0032_daily_bin844.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/613424/ltcube_458092801_458352001_4FGL_J2136.2+0032_daily_bin844.fits
.....................!
real 191.70
user 185.69
sys 5.25

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/613424/ft1_filtered_4FGL_J2136.2+0032_daily_bin844.fits scfile=/scratch/kocevski/613424/ft2_4FGL_J2136.2+0032_daily_bin844.fits outfile=/scratch/kocevski/613424/cmap_458092801_458352001_4FGL_J2136.2+0032_daily_bin844.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.58
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/613424/ft1_filtered_4FGL_J2136.2+0032_daily_bin844.fits scfile=/scratch/kocevski/613424/ft2_4FGL_J2136.2+0032_daily_bin844.fits outfile=/scratch/kocevski/613424/cmap_HighResolution_458092801_458352001_4FGL_J2136.2+0032_daily_bin844.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.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/613424/ft1_filtered_4FGL_J2136.2+0032_daily_bin844.fits', '/scratch/kocevski/613424/ft2_4FGL_J2136.2+0032_daily_bin844.fits', expMap='/scratch/kocevski/613424/expmap_458092801_458352001_4FGL_J2136.2+0032_daily_bin844.fits', expCube='/scratch/kocevski/613424/ltcube_458092801_458352001_4FGL_J2136.2+0032_daily_bin844.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/613424/Model_4FGL_J2136.2+0032_daily_bin844.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  1.000e-04  1.000e+04 ( 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/613424/ft1_filtered_4FGL_J2136.2+0032_daily_bin844.fits
Spacecraft file(s): /scratch/kocevski/613424/ft2_4FGL_J2136.2+0032_daily_bin844.fits
Exposure map: /scratch/kocevski/613424/expmap_458092801_458352001_4FGL_J2136.2+0032_daily_bin844.fits
Exposure cube: /scratch/kocevski/613424/ltcube_458092801_458352001_4FGL_J2136.2+0032_daily_bin844.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/613424/Model_4FGL_J2136.2+0032_daily_bin844.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) = 6723.19293412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.324       1.0000         .10000E-03   10000.    
     7 'Prefactor '    67.216       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8914       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14212E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    88.774       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13247E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .37081E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.8489       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.036       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .16777E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.966       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    89.008       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.2856       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .95747       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80404       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6723.146     FROM MIGRAD    STATUS=CONVERGED   1029 CALLS     3408 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7876        .15442E-02** at limit **
   2  Prefactor     .10000E-03    34.064        .18142E-02** at limit **
   3  Prefactor     .10000E-03    7.5373        .18142E-02** at limit **
   4  Prefactor     .10000E-03    6.3561        .18142E-02** at limit **
   5  Prefactor     .10000E-03    30.325        .18142E-02** at limit **
   6  Prefactor     13.307        26.683        .10973E-03   -.40405E-04
   7  Prefactor     67.333        48.886        .48956E-04    .42776E-03
   8  Prefactor     .10000E-03    2.2247        .11915E-02** at limit **
   9  Prefactor     5.8944        7.2159        .16545E-03   -.17247E-04
  10  Prefactor     .10001E-03    2.5544        .18627E-02** at limit **
  11  Prefactor     88.846        46.658        .42644E-04    .11213E-03
  12  Prefactor     .10000E-03    22.756        .18142E-02** at limit **
  13  Prefactor     .10000E-03    56.744        .18142E-02** at limit **
  14  Prefactor     .10000E-03    100.66        .21298E-02** at limit **
  15  norm          1.8482        2.2880        .13147E-03   -.13369E-03
  16  norm          .10000E-03    14.337        .18142E-02** at limit **
  17  Prefactor     .10000E-03    13.138        .36285E-03** at limit **
  18  Prefactor     17.038        11.889        .97038E-04   -.64202E-04
  19  Prefactor     .10005E-03    15.959        .95780E-01** at limit **
  20  Prefactor     24.950        18.008        .80172E-04   -.76291E-04
  21  Prefactor     .10000E-03    14.816        .18142E-02** at limit **
  22  Prefactor     89.007        41.003        .42589E-04   -.18472E-03
  23  Prefactor     2.2709        19.107        .13577E-02   -.29344E-03
  24  Normalizat    .95740        .28136        .32988E-03   -.13062E-03
  25  Prefactor     .80420        .12771        .17515E-03   -.51411E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.3067
  Prefactor  = 67.3331
  Prefactor  = 0.0001
  Prefactor  = 5.89436
  Prefactor  = 0.000100006
  Prefactor  = 88.8456
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.84821
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 17.0378
  Prefactor  = 0.000100047
  Prefactor  = 24.95
  Prefactor  = 0.0001
  Prefactor  = 89.0071
  Prefactor  = 2.27092
  Normalizat = 0.957405
  Prefactor  = 0.804196
 **********
 **   18 **HESSE 
 **********

 FCN=   6723.146     FROM HESSE     STATUS=OK           411 CALLS     3819 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7894        .30885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    34.066        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.5376        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.3562        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    30.326        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.307        26.680        .43893E-05   -1.4978    
   7  Prefactor     67.333        48.865        .97911E-05   -1.4065    
   8  Prefactor     .10000E-03    2.2248        .23829E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.8944        7.2154        .66180E-05   -1.5222    
  10  Prefactor     .10001E-03    2.5599        .37254E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     88.846        46.655        .85289E-05   -1.3820    
  12  Prefactor     .10000E-03    22.758        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    56.745        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    100.70        .42596E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8482        2.2876        .52586E-05   -1.5436    
  16  norm          .10000E-03    14.340        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.138        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.038        11.888        .38815E-05   -1.4882    
  19  Prefactor     .10005E-03    15.701        .97015E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     24.950        18.005        .32069E-05   -1.4709    
  21  Prefactor     .10000E-03    14.824        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     89.007        41.004        .85177E-05   -1.3818    
  23  Prefactor     2.2709        19.071        .54310E-04   -1.5407    
  24  Normalizat    .95740        .28149        .13195E-04   -.94471    
  25  Prefactor     .80420        .12782        .35030E-04   -.99574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11511e-09
Minuit parameter uncertainties:
  1  8.1834e-05
  2  0.000214861
  3  1.03036e-05
  4  3.1993e-06
  5  0.000102943
  6  26.7035
  7  48.8942
  8  1.01217e-05
  9  7.21643
  10  0.000250261
  11  46.6743
  12  0.000116869
  13  1.01708e-05
  14  0.000681061
  15  2.28774
  16  7.12027e-05
  17  0.000210249
  18  11.8901
  19  0.00172068
  20  18.0091
  21  7.06049e-05
  22  41.0168
  23  13.1673
  24  0.281922
  25  0.127866
Done.

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

Extracting fit parameters...

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  8.885e+01  4.667e+01  1.000e-04  1.000e+04 ( 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.042e-01  1.279e-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:  9.574e-01  2.819e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 324.062 0.549
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 1.47e-07 +/- 7.73e-08
Energy Flux (Fixed Index): 3.14e-05 +/- 1.65e-05

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) = 6723.05211447
delta logL = 0.0937217260835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6723.05136995
delta logL = 0.0944662460779

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    90.389       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5951       1.0000          .0000       10.000    
     3 'Normalizat'    .98742       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79274       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6723.051     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      230 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 27.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     90.385        41.974       -.42651E-05    .68324E-03
   2  Index         2.5956        .40768        .65782E-05    .46905E-03
   3  Normalizat    .98741        .21798        .17352E-06   -.11979E-03
   4  Prefactor     .79292        .10542        .21082E-06   -.14570E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 90.3853
  Index      = 2.59555
  Normalizat = 0.987409
  Prefactor  = 0.792919
 **********
 **   18 **HESSE 
 **********

 FCN=   6723.051     FROM HESSE     STATUS=OK            29 CALLS      259 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     90.385        47.720        .42265E-04   -1.3804    
   2  Index         2.5956        .59442        .80709E-02   -.50167    
   3  Normalizat    .98741        .27027        .32539E-03   -.93453    
   4  Prefactor     .79292        .12886        .17623E-03   -.99990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10908e-09
Minuit parameter uncertainties:
  1  47.7399
  2  0.596261
  3  0.270646
  4  0.128912
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/613424': 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) = 6723.05136526
delta logL = 0.0944709344176

Extracting fit parameters...

4FGL J2136.2+0032
   Spectrum: PowerLaw
295    Prefactor:  9.039e+01  4.774e+01  1.000e-04  1.000e+04 ( 1.000e-12)
296        Index:  2.596e+00  5.963e-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:  7.929e-01  1.289e-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:  9.874e-01  2.706e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.73
Ra Dec: 324.062 0.549
Photon Index (Free Index): 2.60 +/- 0.60
Photon Flux (Free Index): 1.26e-07 +/- 8.40e-08
Energy Flux (Free Index): 3.32e-05 +/- 1.80e-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/613424/cmap_HighResolution_458092801_458352001_4FGL_J2136.2+0032_daily_bin844.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-07', energy_flux2='3.32e-05', photon_flux_error='7.73e-08', dlogl='9.45e-02', energy_flux='3.14e-05', photon_flux2='1.26e-07', job_status='DONE', time_completed='2021-09-26 20:35:48.265718', photon_index_error2='0.60', photon_index2='2.60', ts='5.61', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.80e-05', EG='0.96', time_epoch_completed='1632713748.27', return_code='0', job_id='613424', GAL2='0.79', EG2='0.99', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='8.40e-08', ts2='5.73', photon_index='2.88' WHERE bin_id='844' AND source_name='4FGL J2136.2+0032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:35:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 613424: <4FGL_J2136.2+0032_daily_bin844> in cluster <slac> Done

Job <4FGL_J2136.2+0032_daily_bin844> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 20:20:15 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 20:23:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 20:23:43 2021
Terminated at Sun Sep 26 20:35:49 2021
Results reported at Sun Sep 26 20:35:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2136.2+0032_daily_bin844 324.062 0.5488 458092801 458352001 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 :                                   708.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             383.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            934 sec.

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

