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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1011
RA = 323.836, Dec = -50.1015
tmin = 501379201, tmax = 501638401
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='605933', job_status='RUN', time_executed='2021-09-26 19:57:32.783471', time_epoch_executed='1632711452.78' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1011'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/605933

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/605933/ft1_4FGL_J2135.3-5006_daily_bin1011.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/605933/ft2_4FGL_J2135.3-5006_daily_bin1011.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/605933/ft1_4FGL_J2135.3-5006_daily_bin1011.fits outfile=/scratch/kocevski/605933/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1011.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=501379201.0 tmax=501638401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.63
user 3.39
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/605933/ft1_filtered_4FGL_J2135.3-5006_daily_bin1011.fits" evtable="EVENTS" scfile=/scratch/kocevski/605933/ft2_4FGL_J2135.3-5006_daily_bin1011.fits sctable="SC_DATA" outfile=/scratch/kocevski/605933/ltcube_501379201_501638401_4FGL_J2135.3-5006_daily_bin1011.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/605933/ft2_4FGL_J2135.3-5006_daily_bin1011.fits
.....................!
real 16.87
user 15.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/605933/ft1_filtered_4FGL_J2135.3-5006_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/605933/ft2_4FGL_J2135.3-5006_daily_bin1011.fits sctable="SC_DATA" expcube=/scratch/kocevski/605933/ltcube_501379201_501638401_4FGL_J2135.3-5006_daily_bin1011.fits outfile=/scratch/kocevski/605933/expmap_501379201_501638401_4FGL_J2135.3-5006_daily_bin1011.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/605933/ltcube_501379201_501638401_4FGL_J2135.3-5006_daily_bin1011.fits
.....................!
real 194.39
user 188.14
sys 5.59

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/605933/ft1_filtered_4FGL_J2135.3-5006_daily_bin1011.fits scfile=/scratch/kocevski/605933/ft2_4FGL_J2135.3-5006_daily_bin1011.fits outfile=/scratch/kocevski/605933/cmap_501379201_501638401_4FGL_J2135.3-5006_daily_bin1011.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/605933/ft1_filtered_4FGL_J2135.3-5006_daily_bin1011.fits scfile=/scratch/kocevski/605933/ft2_4FGL_J2135.3-5006_daily_bin1011.fits outfile=/scratch/kocevski/605933/cmap_HighResolution_501379201_501638401_4FGL_J2135.3-5006_daily_bin1011.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/605933/ft1_filtered_4FGL_J2135.3-5006_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/605933/ft2_4FGL_J2135.3-5006_daily_bin1011.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/605933/Model_4FGL_J2135.3-5006_daily_bin1011.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/605933/ft1_filtered_4FGL_J2135.3-5006_daily_bin1011.fits.....................!
real 56.13
user 54.75
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .11053E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6718       1.0000         .10000E-03   10000.    
     4 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .77628       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.739       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8847       1.0000         .10000E-03   10000.    
    11 'norm      '    4.3735       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .27249E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .61676       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 '    2.9595       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .61993       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .88151       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2325       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=   7446.562     FROM MIGRAD    STATUS=CONVERGED    597 CALLS     2832 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.465        .81469E-06** at limit **
   2  Prefactor     .12597E-03    1.1579       -.24548E-06** at limit **
   3  Prefactor     5.6791        19.172        .35176E-06   -.18134E-04
   4  norm          .10000E-03    1.0216        .99925E-07** at limit **
   5  Prefactor     .10001E-03    51.823       -.17521E-05** at limit **
   6  Prefactor     .10001E-03    74.343        .18631E-05** at limit **
   7  Prefactor     .75466        4.0866        .90877E-07    .14955E-05
   8  Prefactor     .10000E-03    6.5462        .49571E-08** at limit **
   9  Prefactor     24.733        26.817       -.49532E-07   -.12827E-04
  10  Prefactor     2.8852        3.3394        .21577E-06    .52630E-06
  11  norm          4.3731        3.3980        .53216E-07   -.48051E-05
  12  Prefactor     .10000E-03    4.5127        .33970E-07** at limit **
  13  Prefactor     .10001E-03    176.25        .35005E-05** at limit **
  14  Prefactor     .10000E-03    5.0605        .70764E-09** at limit **
  15  Prefactor     .61650        2.5852        .23610E-05    .27516E-03
  16  Prefactor     .10000E-03    33.573        .73060E-06** at limit **
  17  norm          .10000E-03    1.7047       -.11293E-07** at limit **
  18  Prefactor     2.9591        2.7163        .12338E-05    .66204E-03
  19  Prefactor     .10000E-03    1.9110       -.86113E-08** at limit **
  20  Prefactor     .10000E-03    7.7628       -.26431E-07** at limit **
  21  Prefactor     .61359        9.7699        .31098E-05   -.70606E-03
  22  Prefactor     .10000E-03    22.343       -.10417E-05** at limit **
  23  Normalizat    .88164        .18829       -.14754E-05   -.23577E-03
  24  Prefactor     1.2326        .12750        .11009E-06   -.34319E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.000125968
  Prefactor  = 5.67911
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.000100007
  Prefactor  = 0.754658
  Prefactor  = 0.0001
  Prefactor  = 24.7328
  Prefactor  = 2.88524
  norm       = 4.37314
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.616497
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 2.95914
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.613594
  Prefactor  = 0.000100003
  Normalizat = 0.881635
  Prefactor  = 1.23262
 **********
 **   18 **HESSE 
 **********

 FCN=   7446.562     FROM HESSE     STATUS=OK           407 CALLS     3239 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12597E-03    3.2091        .29966E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.6791        19.141        .16867E-03   -1.5231    
   4  norm          .10000E-03    1.6148        .16736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    52.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    74.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .75466        20.711        .32192E-02   -1.5534    
   8  Prefactor     .10000E-03    6.5509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.733        26.827        .80537E-04   -1.4713    
  10  Prefactor     2.8852        3.3216        .16228E-03   -1.5368    
  11  norm          4.3731        3.3957        .13604E-03   -1.5290    
  12  Prefactor     .10000E-03    4.5391        .17901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    183.50        .42860E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.1223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .61650        2.6317        .26883E-03   -1.5551    
  16  Prefactor     .10000E-03    33.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.7051        .11004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.9591        2.7396        .66500E-03   -1.5364    
  19  Prefactor     .10000E-03    1.9242        .11646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.7743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .61359        30.930        .43237E-02   -1.5551    
  22  Prefactor     .10000E-03    22.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .88164        .21277        .30823E-03   -.97108    
  24  Prefactor     1.2326        .14585        .18803E-03   -.85333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14573e-09
Minuit parameter uncertainties:
  1  0.000373729
  2  0.0182585
  3  19.1614
  4  1.37302e-05
  5  0.00112439
  6  0.00149925
  7  7.90944
  8  1.30396e-06
  9  26.8404
  10  3.32179
  11  3.39583
  12  3.87448e-06
  13  0.00252765
  14  8.96025e-06
  15  2.54749
  16  0.000416301
  17  1.42985e-06
  18  2.7397
  19  2.71844e-06
  20  1.70016e-05
  21  8.71694
  22  0.000500133
  23  0.212975
  24  0.145899
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.885e+00  3.322e+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.233e+00  1.459e-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.816e-01  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.16
Ra Dec: 323.836 -50.102
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 2.52e-08 +/- 2.90e-08
Energy Flux (Fixed Index): 7.94e-06 +/- 9.14e-06

TS (Fixed Index): 1.16
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 9.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/605933/likelihoodResults_501379201_501638401_4FGL_J2135.3-5006_daily_bin1011.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) = 7446.43711006
delta logL = 0.124923402684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7446.43283704
delta logL = 0.12919642372

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1082       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5701       1.0000          .0000       10.000    
     3 'Normalizat'    .89952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2249       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7446.433     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      222 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1067        4.4395         .0000        .27155E-03
   2  Index         1.5701        1.2921         .0000       -.19481E-02
   3  Normalizat    .89953        .17716         .0000        .23647E-04
   4  Prefactor     1.2249        .12579         .0000        .17465E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.10672
  Index      = 1.57014
  Normalizat = 0.899533
  Prefactor  = 1.22489
 **********
 **   18 **HESSE 
 **********

 FCN=   7446.433     FROM HESSE     STATUS=OK            31 CALLS      253 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1067        4.4766        .16595E-03   -1.5355    
   2  Index         1.5701        1.3357        .58112E-02   -.75594    
   3  Normalizat    .89953        .20244        .30543E-03   -.96477    
   4  Prefactor     1.2249        .14405        .18851E-03   -.85569    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15973e-10
Minuit parameter uncertainties:
  1  4.47707
  2  1.36768
  3  0.202607
  4  0.144098
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/605933': 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) = 7446.43283693
delta logL = 0.129196528827

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  3.107e+00  4.477e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  1.570e+00  1.368e+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.225e+00  1.441e-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.995e-01  2.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 323.836 -50.102
Photon Index (Free Index): 1.57 +/- 1.37
Photon Flux (Free Index): 1.21e-08 +/- 2.18e-08
Energy Flux (Free Index): 3.02e-05 +/- 1.01e-04

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/605933/cmap_HighResolution_501379201_501638401_4FGL_J2135.3-5006_daily_bin1011.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.42e-03', comment='SUCCESS', photon_flux='2.52e-08', energy_flux2='3.02e-05', photon_flux_error='2.90e-08', dlogl='1.29e-01', energy_flux='7.94e-06', photon_flux2='1.21e-08', job_status='DONE', time_completed='2021-09-26 20:10:26.876756', photon_index_error2='1.37', photon_index2='1.57', ts='1.16', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='9.59e-08', energy_flux_error2='1.01e-04', EG='0.88', time_epoch_completed='1632712226.88', return_code='0', job_id='605933', GAL2='1.22', EG2='0.90', return_code2='0', energy_flux_error='9.14e-06', photon_flux_error2='2.18e-08', ts2='1.42', photon_index='2.43' WHERE bin_id='1011' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:10:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 605933: <4FGL_J2135.3-5006_daily_bin1011> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1011> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 19:55:21 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:56:16 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:56:16 2021
Terminated at Sun Sep 26 20:10:27 2021
Results reported at Sun Sep 26 20:10:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1011 323.836 -50.1015 501379201 501638401 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 :                                   768.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            906 sec.

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

