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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1181
RA = 315.366, Dec = -29.5926
tmin = 545443201, tmax = 545702401
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='273738', job_status='RUN', time_executed='2021-09-26 01:12:30.525477', time_epoch_executed='1632643950.53' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1181'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/273738

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/273738/ft1_4FGL_J2101.4-2935_daily_bin1181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/273738/ft2_4FGL_J2101.4-2935_daily_bin1181.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/273738/ft1_4FGL_J2101.4-2935_daily_bin1181.fits outfile=/scratch/kocevski/273738/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1181.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=545443201.0 tmax=545702401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.27
user 3.93
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/273738/ft2_4FGL_J2101.4-2935_daily_bin1181.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/273738/ft2_4FGL_J2101.4-2935_daily_bin1181.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/273738/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1181.fits evtable="EVENTS" outfile="/scratch/kocevski/273738/ft1_filtered_4FGL_J2101.4-2935_daily_bin1181.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 1.29
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/273738/ft1_filtered_4FGL_J2101.4-2935_daily_bin1181.fits" evtable="EVENTS" scfile=/scratch/kocevski/273738/ft2_4FGL_J2101.4-2935_daily_bin1181.fits sctable="SC_DATA" outfile=/scratch/kocevski/273738/ltcube_545443201_545702401_4FGL_J2101.4-2935_daily_bin1181.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/273738/ft2_4FGL_J2101.4-2935_daily_bin1181.fits
.....................!
real 13.10
user 12.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/273738/ft1_filtered_4FGL_J2101.4-2935_daily_bin1181.fits evtable="EVENTS" scfile=/scratch/kocevski/273738/ft2_4FGL_J2101.4-2935_daily_bin1181.fits sctable="SC_DATA" expcube=/scratch/kocevski/273738/ltcube_545443201_545702401_4FGL_J2101.4-2935_daily_bin1181.fits outfile=/scratch/kocevski/273738/expmap_545443201_545702401_4FGL_J2101.4-2935_daily_bin1181.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/273738/ltcube_545443201_545702401_4FGL_J2101.4-2935_daily_bin1181.fits
.....................!
real 191.54
user 186.37
sys 4.73

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2101.4-2935 @ 315.366 -29.5926

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/273738/ft1_filtered_4FGL_J2101.4-2935_daily_bin1181.fits scfile=/scratch/kocevski/273738/ft2_4FGL_J2101.4-2935_daily_bin1181.fits outfile=/scratch/kocevski/273738/cmap_545443201_545702401_4FGL_J2101.4-2935_daily_bin1181.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=315.366 yref=-29.5926 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/273738/ft1_filtered_4FGL_J2101.4-2935_daily_bin1181.fits scfile=/scratch/kocevski/273738/ft2_4FGL_J2101.4-2935_daily_bin1181.fits outfile=/scratch/kocevski/273738/cmap_HighResolution_545443201_545702401_4FGL_J2101.4-2935_daily_bin1181.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=315.366 yref=-29.5926 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/273738/ft1_filtered_4FGL_J2101.4-2935_daily_bin1181.fits evtable="EVENTS" scfile=/scratch/kocevski/273738/ft2_4FGL_J2101.4-2935_daily_bin1181.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/273738/Model_4FGL_J2101.4-2935_daily_bin1181.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/273738/ft1_filtered_4FGL_J2101.4-2935_daily_bin1181.fits.....................!
real 84.81
user 83.38
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/273738/ft1_filtered_4FGL_J2101.4-2935_daily_bin1181.fits', '/scratch/kocevski/273738/ft2_4FGL_J2101.4-2935_daily_bin1181.fits', expMap='/scratch/kocevski/273738/expmap_545443201_545702401_4FGL_J2101.4-2935_daily_bin1181.fits', expCube='/scratch/kocevski/273738/ltcube_545443201_545702401_4FGL_J2101.4-2935_daily_bin1181.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/273738/Model_4FGL_J2101.4-2935_daily_bin1181.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2101.4-2935'

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  4.572e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.807e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  4.062e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/273738/ft1_filtered_4FGL_J2101.4-2935_daily_bin1181.fits
Spacecraft file(s): /scratch/kocevski/273738/ft2_4FGL_J2101.4-2935_daily_bin1181.fits
Exposure map: /scratch/kocevski/273738/expmap_545443201_545702401_4FGL_J2101.4-2935_daily_bin1181.fits
Exposure cube: /scratch/kocevski/273738/ltcube_545443201_545702401_4FGL_J2101.4-2935_daily_bin1181.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/273738/Model_4FGL_J2101.4-2935_daily_bin1181.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) = 10286.3783017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2488       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.087       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16159E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.207       1.0000         .10000E-03   10000.    
     5 'norm      '    3.1541       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.4658       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5996       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10488E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    69.370       1.0000         .10000E-03   10000.    
    16 'norm      '    4.5329       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2275       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96263       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10286.36     FROM MIGRAD    STATUS=CONVERGED    353 CALLS     1772 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2480        7.8467        .25377E-08    .22275E-04
   2  Prefactor     10.052        34.337        .41080E-05   -.21716E-05
   3  Prefactor     .10000E-03    2.3682       -.63117E-06** at limit **
   4  Prefactor     27.301        85.935       -.10118E-04    .68733E-05
   5  norm          3.1296        48.346        .72865E-05    .35906E-04
   6  Prefactor     .10000E-03    17.489        .86660E-07** at limit **
   7  Prefactor     .10000E-03    7.5033       -.64363E-07** at limit **
   8  Prefactor     .10000E-03    3.4612        .11384E-06** at limit **
   9  norm          8.4661        6.5926        .61819E-10    .22279E-05
  10  Prefactor     .10000E-03    5.9496        .35782E-07** at limit **
  11  Prefactor     3.6014        8.3297        .20404E-05    .35095E-04
  12  Prefactor     .10000E-03    6.3510       -.10351E-06** at limit **
  13  norm          .10000E-03    4.0913        .23913E-06** at limit **
  14  Prefactor     .10000E-03    28.153       -.93960E-06** at limit **
  15  Prefactor     69.351        69.002        .36834E-06   -.21397E-05
  16  norm          4.5344        5.6589        .12165E-05    .53268E-04
  17  Normalizat    1.2273        .20169       -.21010E-05    .11550E-03
  18  Prefactor     .96272        .90750E-01    .83397E-06    .41528E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.24803
  Prefactor  = 10.0518
  Prefactor  = 0.000100001
  Prefactor  = 27.3009
  norm       = 3.12963
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.46607
  Prefactor  = 0.0001
  Prefactor  = 3.60135
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 69.3507
  norm       = 4.53439
  Normalizat = 1.22729
  Prefactor  = 0.962722
 **********
 **   18 **HESSE 
 **********

 FCN=   10286.36     FROM HESSE     STATUS=OK           242 CALLS     2014 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2480        7.8485        .16058E-03   -1.5208    
   2  Prefactor     10.052        34.357        .12616E-03   -1.5074    
   3  Prefactor     .10000E-03    5.1405        .29546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.301        86.019        .76804E-04   -1.4662    
   5  norm          3.1296        49.229        .22823E-03   -1.5354    
   6  Prefactor     .10000E-03    17.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.5188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.4889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.4661        6.5934        .13778E-03   -1.5126    
  10  Prefactor     .10000E-03    6.0575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.6014        8.3170        .10649E-02   -1.5328    
  12  Prefactor     .10000E-03    6.3672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.1180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    28.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     69.351        68.952        .48195E-04   -1.4040    
  16  norm          4.5344        5.6601        .94544E-03   -1.5282    
  17  Normalizat    1.2273        .23278        .33772E-03   -.85764    
  18  Prefactor     .96272        .10660        .17519E-03   -.93983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76067e-10
Minuit parameter uncertainties:
  1  7.84977
  2  34.425
  3  0.000103402
  4  86.4131
  5  24.8489
  6  9.52547e-07
  7  9.2275e-07
  8  8.69059e-06
  9  6.59395
  10  3.39135e-06
  11  8.31967
  12  2.51758e-06
  13  3.75761e-06
  14  0.00012794
  15  69.0318
  16  5.6608
  17  0.232979
  18  0.10662
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  9.525e-07  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.807e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  4.062e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  9.627e-01  1.066e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.227e+00  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 315.366 -29.593
Photon Flux Upper Limit: 8.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/273738/likelihoodResults_545443201_545702401_4FGL_J2101.4-2935_daily_bin1181.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): 102
logL (Free Index) = 10286.3618681
delta logL = -0.00026807364884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10286.3616
delta logL = 5.98047336098e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10735E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7546       1.0000          .0000       10.000    
     3 'Normalizat'    1.2274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96269       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10286.35     FROM MIGRAD    STATUS=FAILED       206 CALLS      361 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2863        959.19        .95980E-01    .72070E-03
   2  Index         1.9425        5.3504        .50000       -.29606E-04
   3  Normalizat    1.2285        .75094E-01    .33773E-03   -.64632E-05
   4  Prefactor     .96138        .39870E-01    .17519E-03   -.10513E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10286.35     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      445 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2863        959.19        .53774E-03    .72070E-03
   2  Index         1.9425        5.3504        .26949E-02   -.29606E-04
   3  Normalizat    1.2285        .75094E-01    .86042E-04   -.64632E-05
   4  Prefactor     .96138        .39870E-01    .44802E-04   -.10513E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10286.35     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      495 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2863        22.105         .0000        .28616E-02
   2  Index         1.9425        1.8327         .0000       -.54060E-05
   3  Normalizat    1.2285        .22006         .0000       -.60592E-05
   4  Prefactor     .96138        .10373         .0000       -.11681E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.28631
  Index      = 1.94252
  Normalizat = 1.22846
  Prefactor  = 0.961378
 **********
 **   18 **HESSE 
 **********

 FCN=   10286.35     FROM HESSE     STATUS=OK            27 CALLS      522 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2863        22.683        .11176E-02   -1.5481    
   2  Index         1.9425        1.8552        .70862E-03   -.65795    
   3  Normalizat    1.2285        .21975        .27018E-05   -.85728    
   4  Prefactor     .96138        .10352        .14015E-05   -.94028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09764e-10
Minuit parameter uncertainties:
  1  10.8077
  2  1.93096
  3  0.219914
  4  0.10354
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/273738': 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) = 10286.3538545
delta logL = 0.00774559702222

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  1.286e+00  1.081e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  1.943e+00  1.931e+00  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  4.062e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  9.614e-01  1.035e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.228e+00  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 315.366 -29.593

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/273738/cmap_HighResolution_545443201_545702401_4FGL_J2101.4-2935_daily_bin1181.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.80e-03', job_status='DONE', photon_flux_upper_limit='8.59e-08', time_completed='2021-09-26 01:25:23.764340', job_id='273738', GAL2='0.96', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1632644723.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='7.75e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1181' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:25:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 273738: <4FGL_J2101.4-2935_daily_bin1181> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1181> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 26 01:10:32 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 01:10:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 01:10:57 2021
Terminated at Sun Sep 26 01:25:24 2021
Results reported at Sun Sep 26 01:25:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1181 315.366 -29.5926 545443201 545702401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2101.4-2935 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   712.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            892 sec.

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

