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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1635
RA = 315.366, Dec = -29.5926
tmin = 663120001, tmax = 663379201
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='885974', job_status='RUN', time_executed='2022-01-09 03:16:31.050306', time_epoch_executed='1641726991.05' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1635'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/885974

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/885974/ft1_4FGL_J2101.4-2935_daily_bin1635.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/885974/ft2_4FGL_J2101.4-2935_daily_bin1635.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/885974/ft1_4FGL_J2101.4-2935_daily_bin1635.fits outfile=/scratch/kocevski/885974/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1635.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=663120001.0 tmax=663379201.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.78
user 2.58
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/885974/ft2_4FGL_J2101.4-2935_daily_bin1635.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/885974/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1635.fits evtable="EVENTS" outfile="/scratch/kocevski/885974/ft1_filtered_4FGL_J2101.4-2935_daily_bin1635.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/885974/ft1_filtered_4FGL_J2101.4-2935_daily_bin1635.fits" evtable="EVENTS" scfile=/scratch/kocevski/885974/ft2_4FGL_J2101.4-2935_daily_bin1635.fits sctable="SC_DATA" outfile=/scratch/kocevski/885974/ltcube_663120001_663379201_4FGL_J2101.4-2935_daily_bin1635.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/885974/ft2_4FGL_J2101.4-2935_daily_bin1635.fits
.....................!
real 15.92
user 15.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/885974/ft1_filtered_4FGL_J2101.4-2935_daily_bin1635.fits evtable="EVENTS" scfile=/scratch/kocevski/885974/ft2_4FGL_J2101.4-2935_daily_bin1635.fits sctable="SC_DATA" expcube=/scratch/kocevski/885974/ltcube_663120001_663379201_4FGL_J2101.4-2935_daily_bin1635.fits outfile=/scratch/kocevski/885974/expmap_663120001_663379201_4FGL_J2101.4-2935_daily_bin1635.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/885974/ltcube_663120001_663379201_4FGL_J2101.4-2935_daily_bin1635.fits
.....................!
real 192.64
user 186.72
sys 5.39

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/885974/ft1_filtered_4FGL_J2101.4-2935_daily_bin1635.fits scfile=/scratch/kocevski/885974/ft2_4FGL_J2101.4-2935_daily_bin1635.fits outfile=/scratch/kocevski/885974/cmap_663120001_663379201_4FGL_J2101.4-2935_daily_bin1635.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.57
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/885974/ft1_filtered_4FGL_J2101.4-2935_daily_bin1635.fits scfile=/scratch/kocevski/885974/ft2_4FGL_J2101.4-2935_daily_bin1635.fits outfile=/scratch/kocevski/885974/cmap_HighResolution_663120001_663379201_4FGL_J2101.4-2935_daily_bin1635.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/885974/ft1_filtered_4FGL_J2101.4-2935_daily_bin1635.fits evtable="EVENTS" scfile=/scratch/kocevski/885974/ft2_4FGL_J2101.4-2935_daily_bin1635.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/885974/Model_4FGL_J2101.4-2935_daily_bin1635.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/885974/ft1_filtered_4FGL_J2101.4-2935_daily_bin1635.fits.....................!
real 36.74
user 35.42
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/885974/ft1_filtered_4FGL_J2101.4-2935_daily_bin1635.fits', '/scratch/kocevski/885974/ft2_4FGL_J2101.4-2935_daily_bin1635.fits', expMap='/scratch/kocevski/885974/expmap_663120001_663379201_4FGL_J2101.4-2935_daily_bin1635.fits', expCube='/scratch/kocevski/885974/ltcube_663120001_663379201_4FGL_J2101.4-2935_daily_bin1635.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/885974/Model_4FGL_J2101.4-2935_daily_bin1635.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/885974/ft1_filtered_4FGL_J2101.4-2935_daily_bin1635.fits
Spacecraft file(s): /scratch/kocevski/885974/ft2_4FGL_J2101.4-2935_daily_bin1635.fits
Exposure map: /scratch/kocevski/885974/expmap_663120001_663379201_4FGL_J2101.4-2935_daily_bin1635.fits
Exposure cube: /scratch/kocevski/885974/ltcube_663120001_663379201_4FGL_J2101.4-2935_daily_bin1635.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/885974/Model_4FGL_J2101.4-2935_daily_bin1635.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) = 3438.51767059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10471E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.485       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1819       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .48042E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.2669       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .98671       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10510E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    21.026       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .21726E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    111.79       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4554       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .42738       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.3396       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=   3438.484     FROM MIGRAD    STATUS=CONVERGED    380 CALLS     1795 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    39.421       -.13495E-05** at limit **
   2  Prefactor     .10000E-03    71.198       -.44557E-06** at limit **
   3  Prefactor     .10000E-03    6.6509       -.14733E-06** at limit **
   4  Prefactor     .10000E-03    182.20       -.50790E-06** at limit **
   5  norm          .10000E-03    19.937       -.39491E-07** at limit **
   6  Prefactor     40.488        38.759       -.47627E-06   -.15201E-04
   7  Prefactor     5.1464        121.51        .50993E-06    .85884E-05
   8  Prefactor     .10000E-03    11.293       -.55408E-06** at limit **
   9  norm          4.2663        6.8797       -.26764E-07   -.78269E-05
  10  Prefactor     .99122        9.0643        .67282E-06   -.22558E-04
  11  Prefactor     .10000E-03    7.0215       -.22048E-06** at limit **
  12  Prefactor     .10000E-03    11.985       -.34050E-07** at limit **
  13  norm          21.018        12.892       -.55374E-06   -.50795E-04
  14  Prefactor     .10000E-03    43.594        .29194E-05** at limit **
  15  Prefactor     111.76        88.006       -.61617E-06   -.15830E-04
  16  norm          2.4626        7.2392        .17968E-05   -.38598E-06
  17  Normalizat    .42759        .40033        .77650E-05    .27880E-04
  18  Prefactor     1.3397        .20295       -.16903E-05    .10801E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 40.4882
  Prefactor  = 5.14635
  Prefactor  = 0.0001
  norm       = 4.26627
  Prefactor  = 0.991218
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.0176
  Prefactor  = 0.0001
  Prefactor  = 111.762
  norm       = 2.4626
  Normalizat = 0.427585
  Prefactor  = 1.33965
 **********
 **   18 **HESSE 
 **********

 FCN=   3438.484     FROM HESSE     STATUS=OK           246 CALLS     2041 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    39.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    71.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.6652        .14774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    182.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    19.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     40.488        38.745        .62998E-04   -1.4434    
   7  Prefactor     5.1464        123.33        .17660E-03   -1.5254    
   8  Prefactor     .10000E-03    30.015        .36939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.2663        6.8710        .19052E-03   -1.5295    
  10  Prefactor     .99122        24.585        .30532E-02   -1.5509    
  11  Prefactor     .10000E-03    7.0745        .15186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          21.018        12.931        .87351E-04   -1.4791    
  14  Prefactor     .10000E-03    42.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     111.76        87.720        .19023E-03   -1.3590    
  16  norm          2.4626        7.4554        .12115E-02   -1.5394    
  17  Normalizat    .42759        .40546        .53247E-03   -1.1590    
  18  Prefactor     1.3397        .20356        .16781E-03   -.82136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.84369e-09
Minuit parameter uncertainties:
  1  0.000115346
  2  5.78897e-05
  3  4.82578e-06
  4  4.75941e-05
  5  1.35631e-06
  6  38.7687
  7  50.5033
  8  0.000185665
  9  6.8723
  10  9.87695
  11  1.23513e-05
  12  3.09105e-05
  13  12.9322
  14  0.000281696
  15  87.8223
  16  7.45822
  17  0.408296
  18  0.203685
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  4.049e+01  3.877e+01  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:  1.340e+00  2.037e-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:  4.276e-01  4.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.89
Ra Dec: 315.366 -29.593
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 1.15e-07 +/- 1.10e-07
Energy Flux (Fixed Index): 2.56e-05 +/- 2.45e-05

TS (Fixed Index): 1.89
Ra Dec: 315.366 -29.593
Photon Flux Upper Limit: 3.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.84e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/885974/likelihoodResults_663120001_663379201_4FGL_J2101.4-2935_daily_bin1635.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) = 3438.05730139
delta logL = 0.426707814059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3438.00563913
delta logL = 0.478370082104

Fit tolerance = 1e-08

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

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

 FCN=   3438.006     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      214 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.986        29.090        .18604E-02    .24278E-02
   2  Index         1.7086        .42733        .18626       -.51784E-04
   3  Normalizat    .50146        .35755        .11127        .24988E-04
   4  Prefactor     1.3173        .19269        .32314E-01   -.39760E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.9862
  Index      = 1.7086
  Normalizat = 0.501463
  Prefactor  = 1.31733
 **********
 **   18 **HESSE 
 **********

 FCN=   3438.006     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.986        38.651        .74415E-04   -1.4631    
   2  Index         1.7086        .73265        .63963E-02   -.71853    
   3  Normalizat    .50146        .37125        .49331E-03   -1.1235    
   4  Prefactor     1.3173        .20082        .16893E-03   -.82793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25188e-08
Minuit parameter uncertainties:
  1  38.6845
  2  0.737358
  3  0.373105
  4  0.200934
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/885974': 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) = 3438.00563907
delta logL = 0.478370138441

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  2.899e+01  3.868e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  1.709e+00  7.374e-01  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:  1.317e+00  2.009e-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:  5.015e-01  3.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.85
Ra Dec: 315.366 -29.593
Photon Index (Free Index): 1.71 +/- 0.74
Photon Flux (Free Index): 4.45e-08 +/- 6.04e-08
Energy Flux (Free Index): 7.07e-05 +/- 1.22e-04

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/885974/cmap_HighResolution_663120001_663379201_4FGL_J2101.4-2935_daily_bin1635.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-02', comment='SUCCESS', photon_flux='1.15e-07', energy_flux2='7.07e-05', photon_flux_error='1.10e-07', dlogl='4.78e-01', energy_flux='2.56e-05', photon_flux2='4.45e-08', job_status='DONE', time_completed='2022-01-09 03:23:47.378448', photon_index_error2='0.74', photon_index2='1.71', ts='1.89', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', photon_flux_upper_limit='3.58e-07', energy_flux_error2='1.22e-04', EG='0.43', time_epoch_completed='1641727427.38', return_code='0', job_id='885974', GAL2='1.32', EG2='0.50', return_code2='0', energy_flux_error='2.45e-05', photon_flux_error2='6.04e-08', ts2='2.85', photon_index='2.81' WHERE bin_id='1635' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  9 03:23:47 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 885974: <4FGL_J2101.4-2935_daily_bin1635> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1635> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Jan  9 03:10:39 2022
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  9 03:14:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  9 03:14:47 2022
Terminated at Sun Jan  9 03:23:48 2022
Results reported at Sun Jan  9 03:23:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1635 315.366 -29.5926 663120001 663379201 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 :                                   439.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   541 sec.
    Turnaround time :                            789 sec.

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

