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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1606
RA = 323.836, Dec = -50.1015
tmin = 655603201, tmax = 655862401
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='472357', job_status='RUN', time_executed='2021-12-08 07:49:50.065984', time_epoch_executed='1638978590.07' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1606'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/472357

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/472357/ft1_4FGL_J2135.3-5006_daily_bin1606.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/472357/ft2_4FGL_J2135.3-5006_daily_bin1606.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/472357/ft1_4FGL_J2135.3-5006_daily_bin1606.fits outfile=/scratch/kocevski/472357/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1606.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=655603201.0 tmax=655862401.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.27
user 4.05
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/472357/ft2_4FGL_J2135.3-5006_daily_bin1606.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/472357/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1606.fits evtable="EVENTS" outfile="/scratch/kocevski/472357/ft1_filtered_4FGL_J2135.3-5006_daily_bin1606.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.53
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/472357/ft1_filtered_4FGL_J2135.3-5006_daily_bin1606.fits" evtable="EVENTS" scfile=/scratch/kocevski/472357/ft2_4FGL_J2135.3-5006_daily_bin1606.fits sctable="SC_DATA" outfile=/scratch/kocevski/472357/ltcube_655603201_655862401_4FGL_J2135.3-5006_daily_bin1606.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/472357/ft2_4FGL_J2135.3-5006_daily_bin1606.fits
.....................!
real 14.08
user 13.69
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/472357/ft1_filtered_4FGL_J2135.3-5006_daily_bin1606.fits evtable="EVENTS" scfile=/scratch/kocevski/472357/ft2_4FGL_J2135.3-5006_daily_bin1606.fits sctable="SC_DATA" expcube=/scratch/kocevski/472357/ltcube_655603201_655862401_4FGL_J2135.3-5006_daily_bin1606.fits outfile=/scratch/kocevski/472357/expmap_655603201_655862401_4FGL_J2135.3-5006_daily_bin1606.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/472357/ltcube_655603201_655862401_4FGL_J2135.3-5006_daily_bin1606.fits
.....................!
real 193.20
user 186.83
sys 4.49

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/472357/ft1_filtered_4FGL_J2135.3-5006_daily_bin1606.fits scfile=/scratch/kocevski/472357/ft2_4FGL_J2135.3-5006_daily_bin1606.fits outfile=/scratch/kocevski/472357/cmap_655603201_655862401_4FGL_J2135.3-5006_daily_bin1606.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/472357/ft1_filtered_4FGL_J2135.3-5006_daily_bin1606.fits scfile=/scratch/kocevski/472357/ft2_4FGL_J2135.3-5006_daily_bin1606.fits outfile=/scratch/kocevski/472357/cmap_HighResolution_655603201_655862401_4FGL_J2135.3-5006_daily_bin1606.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/472357/ft1_filtered_4FGL_J2135.3-5006_daily_bin1606.fits evtable="EVENTS" scfile=/scratch/kocevski/472357/ft2_4FGL_J2135.3-5006_daily_bin1606.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/472357/Model_4FGL_J2135.3-5006_daily_bin1606.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/472357/ft1_filtered_4FGL_J2135.3-5006_daily_bin1606.fits.....................!
real 50.19
user 48.59
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8144       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.728       1.0000         .10000E-03   10000.    
     4 'norm      '    3.9230       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.501       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.357       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2023       1.0000         .10000E-03   10000.    
    11 'norm      '    .15008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11661E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11750E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9918       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.4771       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2325       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.8031       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11171E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0414       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99617       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=   6185.089     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2358 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.717       -.67010E-05** at limit **
   2  Prefactor     1.8140        1.9068       -.29060E-07   -.15108E-03
   3  Prefactor     10.724        15.449       -.78159E-06   -.51852E-04
   4  norm          3.9226        2.0989       -.15477E-06   -.24982E-03
   5  Prefactor     .10000E-03    13.660        .52432E-05** at limit **
   6  Prefactor     .10000E-03    35.545        .23609E-05** at limit **
   7  Prefactor     12.498        9.0919       -.42575E-06   -.11532E-03
   8  Prefactor     12.310        27.028       -.19608E-05   -.18509E-04
   9  Prefactor     .10000E-03    31.964        .24816E-04** at limit **
  10  Prefactor     5.2029        4.4236       -.36361E-06   -.49750E-03
  11  norm          .10000E-03    7.8651       -.44474E-07** at limit **
  12  Prefactor     .10000E-03    4.9863       -.14006E-06** at limit **
  13  Prefactor     .10000E-03    151.51        .58774E-05** at limit **
  14  Prefactor     .10103E-03    6.2520        .23149E-05** at limit **
  15  Prefactor     2.9922        3.2429        .86190E-08   -.30064E-03
  16  Prefactor     .10000E-03    158.57       -.11226E-04** at limit **
  17  norm          .10000E-03    2.8569        .24828E-07** at limit **
  18  Prefactor     6.4743        5.6283       -.84157E-06   -.17000E-03
  19  Prefactor     4.2315        4.5904        .94615E-06    .29974E-03
  20  Prefactor     1.7128        148.56       -.55994E-04   -.26933E-04
  21  Prefactor     .10001E-03    13.296       -.31940E-05** at limit **
  22  Prefactor     .10000E-03    40.513       -.31733E-04** at limit **
  23  Normalizat    1.0422        .21474        .42487E-05   -.35017E-03
  24  Prefactor     .99574        .13306       -.13077E-05   -.64447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.81399
  Prefactor  = 10.7239
  norm       = 3.92257
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4984
  Prefactor  = 12.3104
  Prefactor  = 0.0001
  Prefactor  = 5.20287
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000101026
  Prefactor  = 2.99219
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.47433
  Prefactor  = 4.23146
  Prefactor  = 1.71284
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Normalizat = 1.04222
  Prefactor  = 0.99574
 **********
 **   18 **HESSE 
 **********

 FCN=   6185.089     FROM HESSE     STATUS=OK           401 CALLS     2759 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.8140        1.9036        .10750E-03   -1.5439    
   3  Prefactor     10.724        15.442        .12232E-03   -1.5053    
   4  norm          3.9226        2.0959        .79891E-04   -1.5312    
   5  Prefactor     .10000E-03    13.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    35.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.498        9.0935        .11329E-03   -1.5001    
   8  Prefactor     12.310        26.940        .11396E-03   -1.5006    
   9  Prefactor     .10000E-03    32.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.2029        4.4168        .14601E-03   -1.5252    
  11  norm          .10000E-03    8.1413        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.0212        .17150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    152.50        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10103E-03    76.525        .36642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9922        3.2283        .14149E-03   -1.5362    
  16  Prefactor     .10000E-03    158.78        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.8609        .12982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.4743        5.6514        .15770E-03   -1.5199    
  19  Prefactor     4.2315        4.5759        .16703E-03   -1.5297    
  20  Prefactor     1.7128        151.08        .31127E-03   -1.5446    
  21  Prefactor     .10001E-03    13.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    40.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0422        .24944        .29321E-03   -.91629    
  24  Prefactor     .99574        .15749        .19925E-03   -.92872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35613e-08
Minuit parameter uncertainties:
  1  4.20549e-06
  2  1.90371
  3  15.4475
  4  2.0959
  5  8.18449e-06
  6  1.79529e-05
  7  9.09452
  8  26.9666
  9  0.000170494
  10  4.41703
  11  7.34139e-06
  12  5.29882e-06
  13  0.000720827
  14  0.0177421
  15  3.22852
  16  4.81477e-05
  17  7.87325e-06
  18  5.65183
  19  4.57631
  20  32.256
  21  0.000522245
  22  0.000143736
  23  0.249724
  24  0.157562
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  5.203e+00  4.417e+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:  9.957e-01  1.576e-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.042e+00  2.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.56
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 4.54e-08 +/- 3.85e-08
Energy Flux (Fixed Index): 1.43e-05 +/- 1.21e-05

TS (Fixed Index): 2.56
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/472357/likelihoodResults_655603201_655862401_4FGL_J2135.3-5006_daily_bin1606.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) = 6184.86822304
delta logL = 0.220634941168

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6184.79648678
delta logL = 0.292371205273

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1781       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9473       1.0000          .0000       10.000    
     3 'Normalizat'    1.0624       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98377       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=   6184.796     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      205 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1740        229.94        .37430E-02    .11283E-03
   2  Index         1.9474        5.4867        .23072       -.17943E-04
   3  Normalizat    1.0622        .19450        .65726E-01    .14791E-04
   4  Prefactor     .98385        .14043        .46064E-01    .90685E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.17399
  Index      = 1.94743
  Normalizat = 1.06223
  Prefactor  = 0.983853
 **********
 **   18 **HESSE 
 **********

 FCN=   6184.796     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1740        5.6770        .14972E-03   -1.5172    
   2  Index         1.9474        .53112        .81552E-02   -.65671    
   3  Normalizat    1.0622        .22894        .29075E-03   -.90974    
   4  Prefactor     .98385        .15310        .20023E-03   -.93270    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96053e-13
Minuit parameter uncertainties:
  1  5.67741
  2  0.532722
  3  0.229148
  4  0.153172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/472357': 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) = 6184.79648631
delta logL = 0.292371674071

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  7.174e+00  5.677e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  1.947e+00  5.327e-01  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:  9.839e-01  1.532e-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.062e+00  2.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.15
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 1.95 +/- 0.53
Photon Flux (Free Index): 3.62e-08 +/- 3.24e-08
Energy Flux (Free Index): 2.86e-05 +/- 3.56e-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/472357/cmap_HighResolution_655603201_655862401_4FGL_J2135.3-5006_daily_bin1606.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', comment='SUCCESS', photon_flux='4.54e-08', energy_flux2='2.86e-05', photon_flux_error='3.85e-08', dlogl='2.92e-01', energy_flux='1.43e-05', photon_flux2='3.62e-08', job_status='DONE', time_completed='2021-12-08 08:00:36.020935', photon_index_error2='0.53', photon_index2='1.95', ts='2.56', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='3.56e-05', EG='1.04', time_epoch_completed='1638979236.02', return_code='0', job_id='472357', GAL2='0.98', EG2='1.06', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='3.24e-08', ts2='3.15', photon_index='2.43' WHERE bin_id='1606' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 08:00:36 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 472357: <4FGL_J2135.3-5006_daily_bin1606> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1606> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Dec  8 07:45:25 2021
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 07:46:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 07:46:39 2021
Terminated at Wed Dec  8 08:00:36 2021
Results reported at Wed Dec  8 08:00:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1606 323.836 -50.1015 655603201 655862401 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 :                                   641.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             273.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            911 sec.

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

