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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1293
RA = 323.836, Dec = -50.1015
tmin = 574473601, tmax = 574732801
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='607504', job_status='RUN', time_executed='2021-09-26 20:02:24.033150', time_epoch_executed='1632711744.03' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1293'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/607504

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/607504/ft1_4FGL_J2135.3-5006_daily_bin1293.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/607504/ft2_4FGL_J2135.3-5006_daily_bin1293.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/607504/ft1_4FGL_J2135.3-5006_daily_bin1293.fits outfile=/scratch/kocevski/607504/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1293.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=574473601.0 tmax=574732801.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.23
user 3.99
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/607504/ft2_4FGL_J2135.3-5006_daily_bin1293.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/607504/ft2_4FGL_J2135.3-5006_daily_bin1293.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/607504/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1293.fits evtable="EVENTS" outfile="/scratch/kocevski/607504/ft1_filtered_4FGL_J2135.3-5006_daily_bin1293.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.50
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/607504/ft1_filtered_4FGL_J2135.3-5006_daily_bin1293.fits" evtable="EVENTS" scfile=/scratch/kocevski/607504/ft2_4FGL_J2135.3-5006_daily_bin1293.fits sctable="SC_DATA" outfile=/scratch/kocevski/607504/ltcube_574473601_574732801_4FGL_J2135.3-5006_daily_bin1293.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/607504/ft2_4FGL_J2135.3-5006_daily_bin1293.fits
.....................!
real 15.67
user 15.17
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/607504/ft1_filtered_4FGL_J2135.3-5006_daily_bin1293.fits evtable="EVENTS" scfile=/scratch/kocevski/607504/ft2_4FGL_J2135.3-5006_daily_bin1293.fits sctable="SC_DATA" expcube=/scratch/kocevski/607504/ltcube_574473601_574732801_4FGL_J2135.3-5006_daily_bin1293.fits outfile=/scratch/kocevski/607504/expmap_574473601_574732801_4FGL_J2135.3-5006_daily_bin1293.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/607504/ltcube_574473601_574732801_4FGL_J2135.3-5006_daily_bin1293.fits
.....................!
real 191.18
user 185.71
sys 4.61

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

Setting source of interest to:
4FGL J2135.3-5006 @ 323.836 -50.1015

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/607504/ft1_filtered_4FGL_J2135.3-5006_daily_bin1293.fits scfile=/scratch/kocevski/607504/ft2_4FGL_J2135.3-5006_daily_bin1293.fits outfile=/scratch/kocevski/607504/cmap_574473601_574732801_4FGL_J2135.3-5006_daily_bin1293.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=323.836 yref=-50.1015 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/607504/ft1_filtered_4FGL_J2135.3-5006_daily_bin1293.fits scfile=/scratch/kocevski/607504/ft2_4FGL_J2135.3-5006_daily_bin1293.fits outfile=/scratch/kocevski/607504/cmap_HighResolution_574473601_574732801_4FGL_J2135.3-5006_daily_bin1293.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=323.836 yref=-50.1015 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/607504/ft1_filtered_4FGL_J2135.3-5006_daily_bin1293.fits evtable="EVENTS" scfile=/scratch/kocevski/607504/ft2_4FGL_J2135.3-5006_daily_bin1293.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/607504/Model_4FGL_J2135.3-5006_daily_bin1293.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/607504/ft1_filtered_4FGL_J2135.3-5006_daily_bin1293.fits.....................!
real 62.40
user 60.90
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/607504/ft1_filtered_4FGL_J2135.3-5006_daily_bin1293.fits', '/scratch/kocevski/607504/ft2_4FGL_J2135.3-5006_daily_bin1293.fits', expMap='/scratch/kocevski/607504/expmap_574473601_574732801_4FGL_J2135.3-5006_daily_bin1293.fits', expCube='/scratch/kocevski/607504/ltcube_574473601_574732801_4FGL_J2135.3-5006_daily_bin1293.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/607504/Model_4FGL_J2135.3-5006_daily_bin1293.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2135.3-5006'

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.639e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.430e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/607504/ft1_filtered_4FGL_J2135.3-5006_daily_bin1293.fits
Spacecraft file(s): /scratch/kocevski/607504/ft2_4FGL_J2135.3-5006_daily_bin1293.fits
Exposure map: /scratch/kocevski/607504/expmap_574473601_574732801_4FGL_J2135.3-5006_daily_bin1293.fits
Exposure cube: /scratch/kocevski/607504/ltcube_574473601_574732801_4FGL_J2135.3-5006_daily_bin1293.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/607504/Model_4FGL_J2135.3-5006_daily_bin1293.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) = 8245.52029632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    98.250       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6844       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    17.015       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.357       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .50248       1.0000         .10000E-03   10000.    
    11 'norm      '    16.374       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.144       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.4958       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .52491E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.192       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.5294       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99170       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0506       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8245.516     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     2804 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     98.243        76.271       -.38493E-05    .23494E-05
   2  Prefactor     2.6843        2.5161       -.16196E-06   -.57817E-03
   3  Prefactor     .10000E-03    6.1995       -.65550E-07** at limit **
   4  norm          17.015        3.1023       -.21218E-07    .18030E-03
   5  Prefactor     .10000E-03    35.039        .27052E-04** at limit **
   6  Prefactor     .10000E-03    70.694        .54953E-04** at limit **
   7  Prefactor     18.359        9.2541        .16573E-05    .18290E-03
   8  Prefactor     .10000E-03    7.0016        .95066E-07** at limit **
   9  Prefactor     .10000E-03    52.170       -.29846E-04** at limit **
  10  Prefactor     .48384        2.2850       -.10912E-05    .42032E-03
  11  norm          16.374        5.7471       -.20503E-06    .29817E-04
  12  Prefactor     .10000E-03    3.6695       -.71960E-09** at limit **
  13  Prefactor     35.144        33.355        .55463E-06    .68874E-04
  14  Prefactor     .10000E-03    3.4995        .31737E-07** at limit **
  15  Prefactor     8.4940        4.8262       -.36452E-06    .33045E-04
  16  Prefactor     .10000E-03    43.757       -.30505E-04** at limit **
  17  norm          .31869E-01    3.4274        .10825E-06   -.39001E-03
  18  Prefactor     13.191        4.6571        .70790E-06    .45107E-04
  19  Prefactor     6.5280        5.5910       -.39442E-06   -.17066E-03
  20  Prefactor     .10000E-03    11.021        .23647E-06** at limit **
  21  Prefactor     .10000E-03    3.4976        .11432E-07** at limit **
  22  Prefactor     .10000E-03    24.788       -.36689E-05** at limit **
  23  Normalizat    .99197        .20100       -.42396E-08    .29085E-03
  24  Prefactor     1.0504        .12735        .22703E-06    .35637E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 98.2434
  Prefactor  = 2.68432
  Prefactor  = 0.0001
  norm       = 17.0146
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.359
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.483836
  norm       = 16.3736
  Prefactor  = 0.0001
  Prefactor  = 35.1436
  Prefactor  = 0.0001
  Prefactor  = 8.49402
  Prefactor  = 0.0001
  norm       = 0.031869
  Prefactor  = 13.1911
  Prefactor  = 6.528
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.991971
  Prefactor  = 1.05044
 **********
 **   18 **HESSE 
 **********

 FCN=   8245.516     FROM HESSE     STATUS=OK           401 CALLS     3205 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     98.243        76.344        .40555E-04   -1.3722    
   2  Prefactor     2.6843        2.5087        .13326E-03   -1.5380    
   3  Prefactor     .10000E-03    6.2065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          17.015        3.1040        .64954E-04   -1.4883    
   5  Prefactor     .10000E-03    35.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    70.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.359        9.2406        .93480E-04   -1.4851    
   8  Prefactor     .10000E-03    7.0064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    52.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .48384        12.880        .25274E-02   -1.5569    
  11  norm          16.374        5.7494        .98978E-04   -1.4898    
  12  Prefactor     .10000E-03    3.6827        .16986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     35.144        33.463        .67600E-04   -1.4522    
  14  Prefactor     .10000E-03    3.5234        .16581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.4940        4.8593        .13753E-03   -1.5125    
  16  Prefactor     .10000E-03    43.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .31869E-01    3.5215        .62377E-01   -1.5672    
  18  Prefactor     13.191        4.6646        .11028E-03   -1.4981    
  19  Prefactor     6.5280        5.6263        .15706E-03   -1.5197    
  20  Prefactor     .10000E-03    11.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.5061        .16584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    24.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .99197        .23197        .32412E-03   -.93300    
  24  Prefactor     1.0504        .14676        .21392E-03   -.91067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27568e-09
Minuit parameter uncertainties:
  1  76.4203
  2  2.50882
  3  7.15332e-07
  4  3.10401
  5  1.35606e-05
  6  5.65677e-05
  7  9.24133
  8  3.54077e-06
  9  0.000413625
  10  4.99348
  11  5.74962
  12  8.36035e-07
  13  33.4808
  14  5.17609e-06
  15  4.85957
  16  3.31102e-05
  17  0.668992
  18  4.66469
  19  5.62678
  20  5.9761e-06
  21  1.14632e-06
  22  7.98369e-07
  23  0.232207
  24  0.146814
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  4.838e-01  4.993e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.430e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.050e+00  1.468e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  9.920e-01  2.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/607504/likelihoodResults_574473601_574732801_4FGL_J2135.3-5006_daily_bin1293.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) = 8245.50195212
delta logL = 0.0140601524054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8245.50126555
delta logL = 0.0147467238949

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57617       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9175       1.0000          .0000       10.000    
     3 'Normalizat'    .98595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0521       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8245.501     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      254 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .57526        10.371        .38777E-01    .12270E-02
   2  Index         2.9182        1.1164        .50000        .59409E-05
   3  Normalizat    .98600        .11922E-01    .73450E-01    .33847E-04
   4  Prefactor     1.0521        .81136E-02    .39787E-01   -.23064E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.575263
  Index      = 2.91824
  Normalizat = 0.986005
  Prefactor  = 1.0521
 **********
 **   18 **HESSE 
 **********

 FCN=   8245.501     FROM HESSE     STATUS=OK            35 CALLS      289 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .57526        38.805        .23424E-02   -1.5556    
   2  Index         2.9182        6.1124        .90216E-02   -.42943    
   3  Normalizat    .98600        .21550        .32500E-03   -.93501    
   4  Prefactor     1.0521        .14365        .21377E-03   -.91012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25795e-07
Minuit parameter uncertainties:
  1  9.455
  2  7.61136
  3  0.215689
  4  0.143706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/607504': 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) = 8245.50126547
delta logL = 0.0147467987226

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  5.753e-01  9.455e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.918e+00  7.611e+00  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.052e+00  1.437e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  9.860e-01  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 323.836 -50.102

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/607504/cmap_HighResolution_574473601_574732801_4FGL_J2135.3-5006_daily_bin1293.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.92e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-26 20:16:14.141683', job_id='607504', GAL2='1.05', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1632712574.14', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.47e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1293' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:16:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 607504: <4FGL_J2135.3-5006_daily_bin1293> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1293> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep 26 20:00:39 2021
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 20:01:42 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:01:42 2021
Terminated at Sun Sep 26 20:16:14 2021
Results reported at Sun Sep 26 20:16:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1293 323.836 -50.1015 574473601 574732801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2135.3-5006 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   823.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            935 sec.

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

