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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1026
RA = 323.836, Dec = -50.1015
tmin = 505267201, tmax = 505526401
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='605956', job_status='RUN', time_executed='2021-09-26 19:57:00.458745', time_epoch_executed='1632711420.46' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1026'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/605956

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/605956/ft1_4FGL_J2135.3-5006_daily_bin1026.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/605956/ft2_4FGL_J2135.3-5006_daily_bin1026.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/605956/ft1_4FGL_J2135.3-5006_daily_bin1026.fits outfile=/scratch/kocevski/605956/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1026.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=505267201.0 tmax=505526401.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.60
user 3.38
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/605956/ft1_filtered_4FGL_J2135.3-5006_daily_bin1026.fits" evtable="EVENTS" scfile=/scratch/kocevski/605956/ft2_4FGL_J2135.3-5006_daily_bin1026.fits sctable="SC_DATA" outfile=/scratch/kocevski/605956/ltcube_505267201_505526401_4FGL_J2135.3-5006_daily_bin1026.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/605956/ft2_4FGL_J2135.3-5006_daily_bin1026.fits
.....................!
real 15.33
user 14.96
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/605956/ft1_filtered_4FGL_J2135.3-5006_daily_bin1026.fits evtable="EVENTS" scfile=/scratch/kocevski/605956/ft2_4FGL_J2135.3-5006_daily_bin1026.fits sctable="SC_DATA" expcube=/scratch/kocevski/605956/ltcube_505267201_505526401_4FGL_J2135.3-5006_daily_bin1026.fits outfile=/scratch/kocevski/605956/expmap_505267201_505526401_4FGL_J2135.3-5006_daily_bin1026.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/605956/ltcube_505267201_505526401_4FGL_J2135.3-5006_daily_bin1026.fits
.....................!
real 190.70
user 186.23
sys 3.90

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/605956/ft1_filtered_4FGL_J2135.3-5006_daily_bin1026.fits scfile=/scratch/kocevski/605956/ft2_4FGL_J2135.3-5006_daily_bin1026.fits outfile=/scratch/kocevski/605956/cmap_505267201_505526401_4FGL_J2135.3-5006_daily_bin1026.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/605956/ft1_filtered_4FGL_J2135.3-5006_daily_bin1026.fits scfile=/scratch/kocevski/605956/ft2_4FGL_J2135.3-5006_daily_bin1026.fits outfile=/scratch/kocevski/605956/cmap_HighResolution_505267201_505526401_4FGL_J2135.3-5006_daily_bin1026.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6685       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.6088       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    171.64       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2571       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .65477       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .82005       1.0000         .10000E-03   10000.    
    11 'norm      '    12.376       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    67.313       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .51507       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .62273E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.0273       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .26454E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2449       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89842       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5747.802     FROM MIGRAD    STATUS=CONVERGED    997 CALLS     3192 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.454        .18142E-02** at limit **
   2  Prefactor     3.6666        3.7566        .14030E-03    .16887E-03
   3  Prefactor     .10000E-03    5.3360        .17101E-02** at limit **
   4  norm          2.6077        2.3249        .10395E-03    .24093E-03
   5  Prefactor     .10000E-03    29.209        .18142E-02** at limit **
   6  Prefactor     171.61        105.03        .15399E-03    .10293E-03
   7  Prefactor     4.2615        8.5985        .19528E-03    .30156E-03
   8  Prefactor     .56034        44.838        .11026        .22437E-03
   9  Prefactor     .10000E-03    17.999        .18142E-02** at limit **
  10  Prefactor     .81795        2.8898        .23960E-03   -.56796E-04
  11  norm          12.382        6.3024        .11387E-03    .53124E-03
  12  Prefactor     .10000E-03    10.445        .18142E-02** at limit **
  13  Prefactor     67.374        44.666        .48920E-04   -.31461E-03
  14  Prefactor     .49826        52.213        .42542E-02   -.38938E-03
  15  Prefactor     .11039E-03    2.9562        .37618E-01** at limit **
  16  Prefactor     .10000E-03    36.378        .18142E-02** at limit **
  17  norm          .10000E-03    2.7161        .12194E-02** at limit **
  18  Prefactor     1.0253        1.8661        .17412E-02    .66716E-03
  19  Prefactor     .10000E-03    3.5513        .13835E-02** at limit **
  20  Prefactor     .10000E-03    23.261        .18142E-02** at limit **
  21  Prefactor     .10007E-03    53.812        .34282E-02** at limit **
  22  Prefactor     .10000E-03    36.773        .18142E-02** at limit **
  23  Normalizat    1.2452        .25901        .27688E-03    .94849E-04
  24  Prefactor     .89847        .16627        .21248E-03    .76835E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.6666
  Prefactor  = 0.0001
  norm       = 2.60772
  Prefactor  = 0.000100001
  Prefactor  = 171.613
  Prefactor  = 4.26152
  Prefactor  = 0.560337
  Prefactor  = 0.0001
  Prefactor  = 0.817946
  norm       = 12.3824
  Prefactor  = 0.0001
  Prefactor  = 67.3741
  Prefactor  = 0.498262
  Prefactor  = 0.000110388
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.02529
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100072
  Prefactor  = 0.0001
  Normalizat = 1.24517
  Prefactor  = 0.898471
 **********
 **   18 **HESSE 
 **********

 FCN=   5747.802     FROM HESSE     STATUS=OK           397 CALLS     3589 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.454        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.6666        3.7548        .56119E-05   -1.5325    
   3  Prefactor     .10000E-03    5.3360        .34201E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.6077        2.3240        .41581E-05   -1.5385    
   5  Prefactor     .10000E-03    29.210        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     171.61        105.02        .30798E-04   -1.3080    
   7  Prefactor     4.2615        8.5938        .78112E-05   -1.5295    
   8  Prefactor     .56034        39.866        .11812       -1.5558    
   9  Prefactor     .10000E-03    18.001        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .81795        2.8892        .95841E-05   -1.5527    
  11  norm          12.382        6.2762        .22773E-04   -1.5004    
  12  Prefactor     .10000E-03    10.451        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     67.374        44.376        .97841E-05   -1.4064    
  14  Prefactor     .49826        51.195        .17017E-03   -1.5567    
  15  Prefactor     .11039E-03    2.7239        .40269E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    36.378        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.7162        .24388E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.0253        1.8645        .69648E-04   -1.5505    
  19  Prefactor     .10000E-03    3.5527        .27671E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    23.267        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10007E-03    54.903        .68563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    36.773        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2452        .25825        .11075E-04   -.85218    
  24  Prefactor     .89847        .16640        .42496E-04   -.96195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.47669e-09
Minuit parameter uncertainties:
  1  4.3793e-05
  2  3.75508
  3  5.09984e-06
  4  2.32411
  5  0.000249768
  6  105.135
  7  8.59628
  8  9.45846
  9  8.31848e-05
  10  2.88974
  11  6.2765
  12  7.70982e-05
  13  44.3981
  14  10.1091
  15  0.0106389
  16  0.000103898
  17  4.6495e-06
  18  1.86456
  19  3.53308e-05
  20  7.76058e-05
  21  0.003983
  22  0.000151342
  23  0.258512
  24  0.166489
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  8.179e-01  2.890e+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:  8.985e-01  1.665e-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.245e+00  2.585e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/605956/likelihoodResults_505267201_505526401_4FGL_J2135.3-5006_daily_bin1026.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) = 5747.74343295
delta logL = 0.058157529762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5747.72482523
delta logL = 0.076765257264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4141       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9201       1.0000          .0000       10.000    
     3 'Normalizat'    1.2484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89572       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5747.725     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      261 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4178        3.3254        .20903E-03   -.10823E-04
   2  Index         1.9204        1.0872        .13516E-01   -.66414E-05
   3  Normalizat    1.2489        .24627        .27651E-03   -.10279E-03
   4  Prefactor     .89539        .16464        .21277E-03   -.31364E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.41782
  Index      = 1.92038
  Normalizat = 1.24893
  Prefactor  = 0.895386
 **********
 **   18 **HESSE 
 **********

 FCN=   5747.725     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4178        3.3320        .83613E-05   -1.5470    
   2  Index         1.9204        1.0898        .54065E-03   -.66356    
   3  Normalizat    1.2489        .24648        .11060E-04   -.85104    
   4  Prefactor     .89539        .16478        .85109E-05   -.96303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.98448e-11
Minuit parameter uncertainties:
  1  3.33244
  2  1.10425
  3  0.24671
  4  0.164867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/605956': 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) = 5747.72482246
delta logL = 0.0767680259269

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  1.418e+00  3.332e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  1.920e+00  1.104e+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:  8.954e-01  1.649e-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.249e+00  2.467e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/605956/cmap_HighResolution_505267201_505526401_4FGL_J2135.3-5006_daily_bin1026.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='9.04e-08', time_completed='2021-09-26 20:08:27.689985', job_id='605956', GAL2='0.90', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1632712107.69', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='7.68e-02', ts2='0.25', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1026' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:08:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 605956: <4FGL_J2135.3-5006_daily_bin1026> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1026 323.836 -50.1015 505267201 505526401 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 :                                   683.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            785 sec.

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

