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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin1565
RA = 323.836, Dec = -50.1015
tmin = 644976001, tmax = 645235201
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='608887', job_status='RUN', time_executed='2021-09-26 20:07:23.232424', time_epoch_executed='1632712043.23' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='1565'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/608887

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/608887/ft1_4FGL_J2135.3-5006_daily_bin1565.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/608887/ft2_4FGL_J2135.3-5006_daily_bin1565.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/608887/ft1_4FGL_J2135.3-5006_daily_bin1565.fits outfile=/scratch/kocevski/608887/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin1565.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=644976001.0 tmax=645235201.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.98
user 2.80
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/608887/ft1_filtered_4FGL_J2135.3-5006_daily_bin1565.fits" evtable="EVENTS" scfile=/scratch/kocevski/608887/ft2_4FGL_J2135.3-5006_daily_bin1565.fits sctable="SC_DATA" outfile=/scratch/kocevski/608887/ltcube_644976001_645235201_4FGL_J2135.3-5006_daily_bin1565.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/608887/ft2_4FGL_J2135.3-5006_daily_bin1565.fits
.....................!
real 15.59
user 15.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/608887/ft1_filtered_4FGL_J2135.3-5006_daily_bin1565.fits evtable="EVENTS" scfile=/scratch/kocevski/608887/ft2_4FGL_J2135.3-5006_daily_bin1565.fits sctable="SC_DATA" expcube=/scratch/kocevski/608887/ltcube_644976001_645235201_4FGL_J2135.3-5006_daily_bin1565.fits outfile=/scratch/kocevski/608887/expmap_644976001_645235201_4FGL_J2135.3-5006_daily_bin1565.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/608887/ltcube_644976001_645235201_4FGL_J2135.3-5006_daily_bin1565.fits
.....................!
real 191.23
user 186.13
sys 4.56

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J2135.3-5006 @ 323.836 -50.1015

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/608887/ft1_filtered_4FGL_J2135.3-5006_daily_bin1565.fits scfile=/scratch/kocevski/608887/ft2_4FGL_J2135.3-5006_daily_bin1565.fits outfile=/scratch/kocevski/608887/cmap_644976001_645235201_4FGL_J2135.3-5006_daily_bin1565.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/608887/ft1_filtered_4FGL_J2135.3-5006_daily_bin1565.fits scfile=/scratch/kocevski/608887/ft2_4FGL_J2135.3-5006_daily_bin1565.fits outfile=/scratch/kocevski/608887/cmap_HighResolution_644976001_645235201_4FGL_J2135.3-5006_daily_bin1565.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/608887/ft1_filtered_4FGL_J2135.3-5006_daily_bin1565.fits evtable="EVENTS" scfile=/scratch/kocevski/608887/ft2_4FGL_J2135.3-5006_daily_bin1565.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/608887/Model_4FGL_J2135.3-5006_daily_bin1565.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/608887/ft1_filtered_4FGL_J2135.3-5006_daily_bin1565.fits....................!
real 63.36
user 62.05
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.668       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.485       1.0000         .10000E-03   10000.    
     4 'norm      '    6.2836       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.063       1.0000         .10000E-03   10000.    
     8 'Prefactor '    54.768       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6456       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7975       1.0000         .10000E-03   10000.    
    11 'norm      '    8.0459       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.5334       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.2087       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.0197       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .24012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.979       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6773       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .71578       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=   8235.226     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2736 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.667        50.924        .19041E-02    .18114E-03
   2  Prefactor     .10000E-03    1.1058        .90712E-02** at limit **
   3  Prefactor     19.486        21.244        .22684E-02   -.68070E-04
   4  norm          6.2839        2.5509        .40034E-02    .51163E-02
   5  Prefactor     .10000E-03    113.56        .90712E-02** at limit **
   6  Prefactor     .10007E-03    31.538        .90712E-02** at limit **
   7  Prefactor     12.064        9.6432        .28835E-02    .17297E-02
   8  Prefactor     54.767        35.490        .13550E-02    .16757E-03
   9  Prefactor     7.6449        13.131        .36257E-02    .74330E-03
  10  Prefactor     2.7981        3.6731        .60811E-02    .55759E-03
  11  norm          8.0464        4.8741        .35337E-02    .15820E-02
  12  Prefactor     9.5344        7.6144        .32448E-02   -.79646E-04
  13  Prefactor     .10000E-03    17.169        .90712E-02** at limit **
  14  Prefactor     .10000E-03    1.5792        .90712E-02** at limit **
  15  Prefactor     .10000E-03    1.0294        .90712E-02** at limit **
  16  Prefactor     .10003E-03    34.091        .90712E-02** at limit **
  17  norm          3.2088        3.5758        .56544E-02   -.39476E-03
  18  Prefactor     3.0203        3.3482        .58385E-02    .64459E-03
  19  Prefactor     .10000E-03    2.4898        .47415E-01** at limit **
  20  Prefactor     .10000E-03    9.3486        .90712E-02** at limit **
  21  Prefactor     10.982        10.387        .30229E-02    .17856E-03
  22  Prefactor     .10000E-03    26.513        .90712E-02** at limit **
  23  Normalizat    1.6770        .19567        .59038E-01   -.44352E-03
  24  Prefactor     .71591        .12483        .42611E-01   -.62773E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.6672
  Prefactor  = 0.0001
  Prefactor  = 19.4857
  norm       = 6.28389
  Prefactor  = 0.000100001
  Prefactor  = 0.000100069
  Prefactor  = 12.0642
  Prefactor  = 54.7675
  Prefactor  = 7.64489
  Prefactor  = 2.79809
  norm       = 8.04642
  Prefactor  = 9.53436
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100027
  norm       = 3.20881
  Prefactor  = 3.02025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9818
  Prefactor  = 0.000100003
  Normalizat = 1.67704
  Prefactor  = 0.71591
 **********
 **   18 **HESSE 
 **********

 FCN=   8235.226     FROM HESSE     STATUS=OK           395 CALLS     3131 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.667        50.947        .76163E-04   -1.4655    
   2  Prefactor     .10000E-03    1.1174        .93128E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.486        21.252        .90735E-04   -1.4825    
   4  norm          6.2839        2.5491        .43960E-03   -1.5207    
   5  Prefactor     .10000E-03    114.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10007E-03    31.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.064        9.6416        .57670E-03   -1.5013    
   8  Prefactor     54.767        35.495        .54201E-04   -1.4227    
   9  Prefactor     7.6449        13.126        .72515E-03   -1.5155    
  10  Prefactor     2.7981        3.6614        .19036E-03   -1.5373    
  11  norm          8.0464        4.8713        .70675E-03   -1.5141    
  12  Prefactor     9.5344        7.6151        .12979E-03   -1.5090    
  13  Prefactor     .10000E-03    17.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.5813        .11136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.0354        .89887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10003E-03    34.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.2088        3.5779        .17679E-03   -1.5350    
  18  Prefactor     3.0203        3.3519        .16800E-03   -1.5360    
  19  Prefactor     .10000E-03    9.6137        .27721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.3584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.982        10.426        .12092E-03   -1.5045    
  22  Prefactor     .10000E-03    26.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.6770        .22731        .26106E-03   -.72918    
  24  Prefactor     .71591        .14423        .25005E-03   -1.0291    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0976e-09
Minuit parameter uncertainties:
  1  51.0274
  2  4.47238e-06
  3  21.2605
  4  2.54917
  5  0.000747863
  6  0.00295565
  7  9.64283
  8  35.5084
  9  13.1305
  10  3.66164
  11  4.87157
  12  7.6159
  13  0.000168602
  14  9.35178e-06
  15  1.68984e-06
  16  0.00193406
  17  3.5781
  18  3.35213
  19  2.5204e-05
  20  2.81673e-05
  21  10.428
  22  0.000609205
  23  0.227453
  24  0.144309
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.798e+00  3.662e+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:  7.159e-01  1.443e-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.677e+00  2.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/608887/likelihoodResults_644976001_645235201_4FGL_J2135.3-5006_daily_bin1565.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) = 8235.18018489
delta logL = 0.0456843739321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8235.17295915
delta logL = 0.052910114031

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3924       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7176       1.0000          .0000       10.000    
     3 'Normalizat'    1.6702       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71832       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=   8235.173     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3901        82.508        .66193E-02    .83528E-03
   2  Index         2.7177        6.3447        .22838        .88756E-04
   3  Normalizat    1.6699        .56951E-01    .59134E-01    .11815E-03
   4  Prefactor     .71857        .36617E-01    .42645E-01    .22007E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.39006
  Index      = 2.71768
  Normalizat = 1.66993
  Prefactor  = 0.718569
 **********
 **   18 **HESSE 
 **********

 FCN=   8235.173     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3901        3.7543        .16389E-03   -1.5399    
   2  Index         2.7177        .97109        .10830E-01   -.47402    
   3  Normalizat    1.6699        .21751        .26149E-03   -.73109    
   4  Prefactor     .71857        .14280        .24962E-03   -1.0280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.08635e-11
Minuit parameter uncertainties:
  1  3.75463
  2  0.978973
  3  0.217639
  4  0.142875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/608887': 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) = 8235.17295729
delta logL = 0.0529119720268

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.390e+00  3.755e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.718e+00  9.790e-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:  7.186e-01  1.429e-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.670e+00  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/608887/cmap_HighResolution_644976001_645235201_4FGL_J2135.3-5006_daily_bin1565.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.64e-03', job_status='DONE', photon_flux_upper_limit='9.86e-08', time_completed='2021-09-26 20:20:42.038046', job_id='608887', GAL2='0.72', fit_tolerance='1e-08', EG2='1.67', EG='1.68', time_epoch_completed='1632712842.04', return_code2='0', ts='0.76', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='5.29e-02', ts2='0.87', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1565' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 20:20:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 608887: <4FGL_J2135.3-5006_daily_bin1565> in cluster <slac> Done

Job <4FGL_J2135.3-5006_daily_bin1565> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 20:05:11 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 20:06:24 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:06:24 2021
Terminated at Sun Sep 26 20:20:42 2021
Results reported at Sun Sep 26 20:20:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2135.3-5006_daily_bin1565 323.836 -50.1015 644976001 645235201 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 :                                   795.40 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             329.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            931 sec.

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

