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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1263
RA = 323.836, Dec = -50.1015
tmin = 566697601, tmax = 566956801
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='607457', job_status='RUN', time_executed='2021-09-26 20:05:13.148866', time_epoch_executed='1632711913.15' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1263'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/607457

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/607457/ft1_4FGL_J2135.3-5006_daily_bin1263.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/607457/ft2_4FGL_J2135.3-5006_daily_bin1263.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/607457/ft1_4FGL_J2135.3-5006_daily_bin1263.fits outfile=/scratch/kocevski/607457/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1263.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=566697601.0 tmax=566956801.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 2.01
user 1.81
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/607457/ft1_filtered_4FGL_J2135.3-5006_daily_bin1263.fits" evtable="EVENTS" scfile=/scratch/kocevski/607457/ft2_4FGL_J2135.3-5006_daily_bin1263.fits sctable="SC_DATA" outfile=/scratch/kocevski/607457/ltcube_566697601_566956801_4FGL_J2135.3-5006_daily_bin1263.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/607457/ft2_4FGL_J2135.3-5006_daily_bin1263.fits
.....................!
real 16.91
user 16.50
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/607457/ft1_filtered_4FGL_J2135.3-5006_daily_bin1263.fits evtable="EVENTS" scfile=/scratch/kocevski/607457/ft2_4FGL_J2135.3-5006_daily_bin1263.fits sctable="SC_DATA" expcube=/scratch/kocevski/607457/ltcube_566697601_566956801_4FGL_J2135.3-5006_daily_bin1263.fits outfile=/scratch/kocevski/607457/expmap_566697601_566956801_4FGL_J2135.3-5006_daily_bin1263.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/607457/ltcube_566697601_566956801_4FGL_J2135.3-5006_daily_bin1263.fits
.....................!
real 191.45
user 186.02
sys 4.86

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/607457/ft1_filtered_4FGL_J2135.3-5006_daily_bin1263.fits scfile=/scratch/kocevski/607457/ft2_4FGL_J2135.3-5006_daily_bin1263.fits outfile=/scratch/kocevski/607457/cmap_566697601_566956801_4FGL_J2135.3-5006_daily_bin1263.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/607457/ft1_filtered_4FGL_J2135.3-5006_daily_bin1263.fits scfile=/scratch/kocevski/607457/ft2_4FGL_J2135.3-5006_daily_bin1263.fits outfile=/scratch/kocevski/607457/cmap_HighResolution_566697601_566956801_4FGL_J2135.3-5006_daily_bin1263.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/607457/ft1_filtered_4FGL_J2135.3-5006_daily_bin1263.fits evtable="EVENTS" scfile=/scratch/kocevski/607457/ft2_4FGL_J2135.3-5006_daily_bin1263.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/607457/Model_4FGL_J2135.3-5006_daily_bin1263.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/607457/ft1_filtered_4FGL_J2135.3-5006_daily_bin1263.fits....................!
real 38.13
user 36.74
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18241E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0136       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.594       1.0000         .10000E-03   10000.    
     4 'norm      '    5.5188       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    244.34       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.360       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8402       1.0000         .10000E-03   10000.    
    11 'norm      '    14.610       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4026       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11800E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.7350       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.883       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83701       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0054       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=   4275.094     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2713 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    304.91        .10394E-04** at limit **
   2  Prefactor     2.0068        14.638        .51761E-05   -.20583E-05
   3  Prefactor     18.756        67.102        .51992E-06    .38483E-05
   4  norm          5.5147        4.6155        .15049E-06   -.35818E-04
   5  Prefactor     .10000E-03    27.138        .99989E-06** at limit **
   6  Prefactor     244.35        178.91       -.91657E-06   -.80967E-05
   7  Prefactor     15.358        12.392        .83861E-07   -.17907E-04
   8  Prefactor     .10000E-03    18.468        .15069E-06** at limit **
   9  Prefactor     .10000E-03    21.503       -.20344E-06** at limit **
  10  Prefactor     3.8409        6.5626        .49423E-06   -.19443E-04
  11  norm          14.610        6.8515        .59455E-09   -.33263E-04
  12  Prefactor     4.4020        11.207        .63767E-06   -.80094E-06
  13  Prefactor     .10000E-03    21.846       -.36179E-06** at limit **
  14  Prefactor     .10000E-03    5.6898       -.10970E-06** at limit **
  15  Prefactor     .10002E-03    2.5528       -.77188E-07** at limit **
  16  Prefactor     .10000E-03    37.726       -.46680E-06** at limit **
  17  norm          .10000E-03    1.8855       -.41035E-08** at limit **
  18  Prefactor     1.7338        4.2479        .86167E-06    .13026E-04
  19  Prefactor     .10000E-03    4.8536       -.10080E-06** at limit **
  20  Prefactor     .10000E-03    31.090        .27007E-07** at limit **
  21  Prefactor     12.885        11.204        .35934E-06   -.27613E-06
  22  Prefactor     .10000E-03    40.336        .38343E-07** at limit **
  23  Normalizat    .83729        .23342       -.16848E-05   -.22430E-04
  24  Prefactor     1.0052        .16391       -.14763E-06   -.86455E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 2.00681
  Prefactor  = 18.756
  norm       = 5.51474
  Prefactor  = 0.0001
  Prefactor  = 244.35
  Prefactor  = 15.3579
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.84086
  norm       = 14.6101
  Prefactor  = 4.402
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.73382
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8848
  Prefactor  = 0.0001
  Normalizat = 0.837288
  Prefactor  = 1.00522
 **********
 **   18 **HESSE 
 **********

 FCN=   4275.094     FROM HESSE     STATUS=OK           395 CALLS     3108 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    307.10        .20310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.0068        14.652        .29171E-03   -1.5425    
   3  Prefactor     18.756        67.229        .92883E-04   -1.4842    
   4  norm          5.5147        4.6121        .12263E-03   -1.5238    
   5  Prefactor     .10000E-03    27.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     244.35        178.86        .25908E-04   -1.2569    
   7  Prefactor     15.358        12.370        .10220E-03   -1.4924    
   8  Prefactor     .10000E-03    18.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    21.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.8409        6.5492        .20385E-03   -1.5316    
  11  norm          14.610        6.8422        .10479E-03   -1.4943    
  12  Prefactor     4.4020        11.181        .19194E-03   -1.5288    
  13  Prefactor     .10000E-03    21.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.7337        .15215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10002E-03    20.157        .19220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    37.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.8860        .87681E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.7338        4.2410        .19491E-03   -1.5445    
  19  Prefactor     .10000E-03    5.0206        .28087E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    31.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.885        11.220        .11160E-03   -1.4990    
  22  Prefactor     .10000E-03    40.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .83729        .26200        .28948E-03   -.98700    
  24  Prefactor     1.0052        .19150        .20174E-03   -.92556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.2541e-10
Minuit parameter uncertainties:
  1  0.00121231
  2  10.8484
  3  67.5029
  4  4.61244
  5  5.39178e-06
  6  179.259
  7  12.3721
  8  1.43698e-05
  9  1.78075e-05
  10  6.55043
  11  6.84257
  12  11.1866
  13  7.06905e-06
  14  9.82835e-06
  15  0.00121914
  16  3.69448e-06
  17  5.50863e-07
  18  4.24169
  19  1.24883e-05
  20  2.82018e-05
  21  11.2215
  22  8.69943e-07
  23  0.262401
  24  0.191627
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  3.841e+00  6.550e+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.005e+00  1.916e-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.373e-01  2.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/607457/likelihoodResults_566697601_566956801_4FGL_J2135.3-5006_daily_bin1263.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) = 4274.47296483
delta logL = 0.620964060819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4274.40515598
delta logL = 0.688772901926

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14044       1.0000         .10000E-03   10000.    
     2 'Index     '    5.2103       1.0000          .0000       10.000    
     3 'Normalizat'    .75773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0468       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=   4274.405     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      327 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13924        2.0608        .44979E-02   -.46907E-02
   2  Index         5.2173        3.2394        .13518       -.90374E-04
   3  Normalizat    .75802        .55691E-01    .68359E-01   -.27189E-04
   4  Prefactor     1.0465        .42358E-01    .40103E-01   -.81906E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.139241
  Index      = 5.21727
  Normalizat = 0.758016
  Prefactor  = 1.04648
 **********
 **   18 **HESSE 
 **********

 FCN=   4274.405     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      360 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13924        4.9042        .20440E-03   -1.5633    
   2  Index         5.2173        7.5119        .50226E-02    .43468E-01
   3  Normalizat    .75802        .19851        .30248E-03   -1.0165    
   4  Prefactor     1.0465        .14931        .19802E-03   -.91196    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.42315e-09
Minuit parameter uncertainties:
  1  1.65226
  2  6.66965
  3  0.198701
  4  0.149373
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/607457': 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) = 4274.40514261
delta logL = 0.688786275364

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.392e-01  1.652e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  5.217e+00  6.670e+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.046e+00  1.494e-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:  7.580e-01  1.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.90
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 5.22 +/- 6.67
Photon Flux (Free Index): 1.05e-07 +/- 8.84e-08
Energy Flux (Free Index): 1.37e-05 +/- 1.45e-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/607457/cmap_HighResolution_566697601_566956801_4FGL_J2135.3-5006_daily_bin1263.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', comment='SUCCESS', energy_flux2='1.37e-05', dlogl='6.89e-01', photon_flux2='1.05e-07', job_status='DONE', time_completed='2021-09-26 20:15:07.630167', photon_index_error2='6.67', photon_index2='5.22', ts='0.42', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.61e-07', energy_flux_error2='1.45e-05', EG='0.84', time_epoch_completed='1632712507.63', return_code='0', job_id='607457', GAL2='1.05', EG2='0.76', return_code2='102', photon_flux_error2='8.84e-08', ts2='1.90', photon_index='2.43' WHERE bin_id='1263' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:15:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 607457: <4FGL_J2135.3-5006_daily_bin1263> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1263 323.836 -50.1015 566697601 566956801 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 :                                   554.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             229.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            873 sec.

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

