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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1164
RA = 323.836, Dec = -50.1015
tmin = 541036801, tmax = 541296001
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='606155', job_status='RUN', time_executed='2021-09-26 19:59:16.738537', time_epoch_executed='1632711556.74' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1164'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/606155

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/606155/ft1_4FGL_J2135.3-5006_daily_bin1164.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/606155/ft2_4FGL_J2135.3-5006_daily_bin1164.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/606155/ft1_4FGL_J2135.3-5006_daily_bin1164.fits outfile=/scratch/kocevski/606155/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1164.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=541036801.0 tmax=541296001.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.65
user 3.42
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/606155/ft2_4FGL_J2135.3-5006_daily_bin1164.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/606155/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1164.fits evtable="EVENTS" outfile="/scratch/kocevski/606155/ft1_filtered_4FGL_J2135.3-5006_daily_bin1164.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/606155/ft1_filtered_4FGL_J2135.3-5006_daily_bin1164.fits" evtable="EVENTS" scfile=/scratch/kocevski/606155/ft2_4FGL_J2135.3-5006_daily_bin1164.fits sctable="SC_DATA" outfile=/scratch/kocevski/606155/ltcube_541036801_541296001_4FGL_J2135.3-5006_daily_bin1164.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/606155/ft2_4FGL_J2135.3-5006_daily_bin1164.fits
.....................!
real 15.31
user 14.92
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/606155/ft1_filtered_4FGL_J2135.3-5006_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/606155/ft2_4FGL_J2135.3-5006_daily_bin1164.fits sctable="SC_DATA" expcube=/scratch/kocevski/606155/ltcube_541036801_541296001_4FGL_J2135.3-5006_daily_bin1164.fits outfile=/scratch/kocevski/606155/expmap_541036801_541296001_4FGL_J2135.3-5006_daily_bin1164.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/606155/ltcube_541036801_541296001_4FGL_J2135.3-5006_daily_bin1164.fits
.....................!
real 192.28
user 186.58
sys 4.56

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/606155/ft1_filtered_4FGL_J2135.3-5006_daily_bin1164.fits scfile=/scratch/kocevski/606155/ft2_4FGL_J2135.3-5006_daily_bin1164.fits outfile=/scratch/kocevski/606155/cmap_541036801_541296001_4FGL_J2135.3-5006_daily_bin1164.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/606155/ft1_filtered_4FGL_J2135.3-5006_daily_bin1164.fits scfile=/scratch/kocevski/606155/ft2_4FGL_J2135.3-5006_daily_bin1164.fits outfile=/scratch/kocevski/606155/cmap_HighResolution_541036801_541296001_4FGL_J2135.3-5006_daily_bin1164.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/606155/ft1_filtered_4FGL_J2135.3-5006_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/606155/ft2_4FGL_J2135.3-5006_daily_bin1164.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/606155/Model_4FGL_J2135.3-5006_daily_bin1164.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/606155/ft1_filtered_4FGL_J2135.3-5006_daily_bin1164.fits.....................!
real 49.72
user 48.47
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/606155/ft1_filtered_4FGL_J2135.3-5006_daily_bin1164.fits', '/scratch/kocevski/606155/ft2_4FGL_J2135.3-5006_daily_bin1164.fits', expMap='/scratch/kocevski/606155/expmap_541036801_541296001_4FGL_J2135.3-5006_daily_bin1164.fits', expCube='/scratch/kocevski/606155/ltcube_541036801_541296001_4FGL_J2135.3-5006_daily_bin1164.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/606155/Model_4FGL_J2135.3-5006_daily_bin1164.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/606155/ft1_filtered_4FGL_J2135.3-5006_daily_bin1164.fits
Spacecraft file(s): /scratch/kocevski/606155/ft2_4FGL_J2135.3-5006_daily_bin1164.fits
Exposure map: /scratch/kocevski/606155/expmap_541036801_541296001_4FGL_J2135.3-5006_daily_bin1164.fits
Exposure cube: /scratch/kocevski/606155/ltcube_541036801_541296001_4FGL_J2135.3-5006_daily_bin1164.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/606155/Model_4FGL_J2135.3-5006_daily_bin1164.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) = 6041.7230124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.301       1.0000         .10000E-03   10000.    
     4 'norm      '    1.7759       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1112       1.0000         .10000E-03   10000.    
    11 'norm      '    17.484       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.0333       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10454E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .45862       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.236       1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.443       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.412       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .24427E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0291       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1823       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=   6041.714     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2759 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    60.929       -.10034E-05** at limit **
   2  Prefactor     .10000E-03    2.1221        .80584E-08** at limit **
   3  Prefactor     29.302        25.036        .92035E-07   -.37044E-04
   4  norm          1.7759        1.7903        .86844E-07   -.60223E-04
   5  Prefactor     .10000E-03    18.417       -.68346E-08** at limit **
   6  Prefactor     .10000E-03    111.17        .27477E-05** at limit **
   7  Prefactor     .10000E-03    4.9974       -.14498E-07** at limit **
   8  Prefactor     .10000E-03    52.952       -.19261E-06** at limit **
   9  Prefactor     .10000E-03    8.1621        .75733E-08** at limit **
  10  Prefactor     2.1110        5.1613        .67538E-06   -.19972E-03
  11  norm          17.484        7.6935       -.37093E-09   -.10397E-03
  12  Prefactor     .10000E-03    3.4815       -.28392E-08** at limit **
  13  Prefactor     .10000E-03    106.36       -.17108E-05** at limit **
  14  Prefactor     6.0340        9.4896        .19030E-05    .39748E-03
  15  Prefactor     .10000E-03    3.6802        .21317E-06** at limit **
  16  Prefactor     .10000E-03    53.802        .10469E-05** at limit **
  17  norm          .10000E-03    5.2329        .11485E-07** at limit **
  18  Prefactor     .45845        4.1933        .20928E-05   -.40427E-03
  19  Prefactor     11.236        7.6255        .69035E-07    .30004E-04
  20  Prefactor     15.441        40.868        .27949E-06    .11476E-04
  21  Prefactor     15.417        17.598        .23312E-06    .41043E-04
  22  Prefactor     .10000E-03    422.61       -.18950E-05** at limit **
  23  Normalizat    1.0291        .24836       -.20764E-05   -.14302E-04
  24  Prefactor     1.1823        .15295        .48112E-06   -.13640E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.302
  norm       = 1.77587
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.11102
  norm       = 17.4841
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 6.03405
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.458454
  Prefactor  = 11.2357
  Prefactor  = 15.4408
  Prefactor  = 15.4167
  Prefactor  = 0.000100002
  Normalizat = 1.02915
  Prefactor  = 1.18229
 **********
 **   18 **HESSE 
 **********

 FCN=   6041.714     FROM HESSE     STATUS=OK           395 CALLS     3154 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    61.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.1948        .22086E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     29.302        25.039        .74015E-04   -1.4625    
   4  norm          1.7759        1.7763        .10020E-03   -1.5441    
   5  Prefactor     .10000E-03    18.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    112.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.0235        .16964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    53.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.1665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.1110        5.2284        .26154E-03   -1.5417    
  11  norm          17.484        7.6956        .95785E-04   -1.4871    
  12  Prefactor     .10000E-03    3.4846        .14164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    109.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.0340        10.173        .16346E-03   -1.5217    
  15  Prefactor     .10000E-03    7.4178        .28283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    53.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.2477        .17365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .45845        4.8942        .33015E-03   -1.5573    
  19  Prefactor     11.236        7.6277        .11952E-03   -1.5037    
  20  Prefactor     15.441        40.779        .10192E-03   -1.4922    
  21  Prefactor     15.417        17.521        .10202E-03   -1.4922    
  22  Prefactor     .10000E-03    426.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0291        .28106        .32084E-03   -.92060    
  24  Prefactor     1.1823        .17674        .20198E-03   -.86878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.32705e-10
Minuit parameter uncertainties:
  1  0.000295159
  2  3.89387e-06
  3  25.0479
  4  1.77631
  5  2.19634e-06
  6  0.00119396
  7  2.76156e-06
  8  1.09604e-05
  9  1.5349e-06
  10  5.22956
  11  7.69606
  12  1.38577e-06
  13  0.00102553
  14  10.176
  15  0.000126191
  16  0.000183222
  17  1.17822e-06
  18  2.99584
  19  7.62834
  20  40.8525
  21  17.5267
  22  0.00180568
  23  0.281462
  24  0.17683
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.111e+00  5.230e+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.182e+00  1.768e-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:  1.029e+00  2.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/606155/likelihoodResults_541036801_541296001_4FGL_J2135.3-5006_daily_bin1164.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) = 6040.0710034
delta logL = 1.64304139793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6040.0623099
delta logL = 1.65173489981

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20294       1.0000         .10000E-03   10000.    
     2 'Index     '    5.0953       1.0000          .0000       10.000    
     3 'Normalizat'    .88995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2397       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=   6040.062     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      311 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20281        1.7985        .45835E-02    .15849E-02
   2  Index         5.0960        2.7597        .11595        .14375E-03
   3  Normalizat    .88989        .64603E-01    .77254E-01    .20419E-04
   4  Prefactor     1.2397        .43237E-01    .33754E-01   -.28355E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.202809
  Index      = 5.09598
  Normalizat = 0.889888
  Prefactor  = 1.23967
 **********
 **   18 **HESSE 
 **********

 FCN=   6040.062     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      342 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20281        3.6940        .20716E-04   -1.5618    
   2  Index         5.0960        4.1433        .45148E-02    .19197E-01
   3  Normalizat    .88989        .24109        .34193E-03   -.96816    
   4  Prefactor     1.2397        .15892        .19774E-03   -.85119    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.14768e-07
Minuit parameter uncertainties:
  1  1.7308
  2  4.88405
  3  0.241382
  4  0.158981
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/606155': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6040.06230944
delta logL = 1.6517353617

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.028e-01  1.731e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  5.096e+00  4.884e+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.240e+00  1.590e-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:  8.899e-01  2.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.81
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 5.10 +/- 4.88
Photon Flux (Free Index): 1.24e-07 +/- 7.53e-08
Energy Flux (Free Index): 1.63e-05 +/- 1.18e-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/606155/cmap_HighResolution_541036801_541296001_4FGL_J2135.3-5006_daily_bin1164.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.61e-03', comment='SUCCESS', energy_flux2='1.63e-05', dlogl='1.65e+00', photon_flux2='1.24e-07', job_status='DONE', time_completed='2021-09-26 20:10:47.192356', photon_index_error2='4.88', photon_index2='5.10', ts='0.20', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='1.18e-05', EG='1.03', time_epoch_completed='1632712247.19', return_code='0', job_id='606155', GAL2='1.24', EG2='0.89', return_code2='102', photon_flux_error2='7.53e-08', ts2='3.81', photon_index='2.43' WHERE bin_id='1164' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:10:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 606155: <4FGL_J2135.3-5006_daily_bin1164> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1164> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 19:55:38 2021
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:58:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 19:58:06 2021
Terminated at Sun Sep 26 20:10:47 2021
Results reported at Sun Sep 26 20:10:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1164 323.836 -50.1015 541036801 541296001 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 :                                   677.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            909 sec.

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

