/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 178 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 = 7278
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2101.4-2935_daily_bin203
RA = 315.366, Dec = -29.5926
tmin = 291945601, tmax = 292204801
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='266735', job_status='RUN', time_executed='2021-09-26 00:48:59.335859', time_epoch_executed='1632642539.34' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='203'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266735

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266735/ft1_4FGL_J2101.4-2935_daily_bin203.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266735/ft2_4FGL_J2101.4-2935_daily_bin203.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266735/ft1_4FGL_J2101.4-2935_daily_bin203.fits outfile=/scratch/kocevski/266735/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin203.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=291945601.0 tmax=292204801.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.78
user 3.53
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/266735/ft1_filtered_4FGL_J2101.4-2935_daily_bin203.fits" evtable="EVENTS" scfile=/scratch/kocevski/266735/ft2_4FGL_J2101.4-2935_daily_bin203.fits sctable="SC_DATA" outfile=/scratch/kocevski/266735/ltcube_291945601_292204801_4FGL_J2101.4-2935_daily_bin203.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/266735/ft2_4FGL_J2101.4-2935_daily_bin203.fits
.....................!
real 12.53
user 12.10
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266735/ft1_filtered_4FGL_J2101.4-2935_daily_bin203.fits evtable="EVENTS" scfile=/scratch/kocevski/266735/ft2_4FGL_J2101.4-2935_daily_bin203.fits sctable="SC_DATA" expcube=/scratch/kocevski/266735/ltcube_291945601_292204801_4FGL_J2101.4-2935_daily_bin203.fits outfile=/scratch/kocevski/266735/expmap_291945601_292204801_4FGL_J2101.4-2935_daily_bin203.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/266735/ltcube_291945601_292204801_4FGL_J2101.4-2935_daily_bin203.fits
.....................!
real 191.54
user 185.59
sys 4.95

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/266735/ft1_filtered_4FGL_J2101.4-2935_daily_bin203.fits scfile=/scratch/kocevski/266735/ft2_4FGL_J2101.4-2935_daily_bin203.fits outfile=/scratch/kocevski/266735/cmap_291945601_292204801_4FGL_J2101.4-2935_daily_bin203.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266735/ft1_filtered_4FGL_J2101.4-2935_daily_bin203.fits scfile=/scratch/kocevski/266735/ft2_4FGL_J2101.4-2935_daily_bin203.fits outfile=/scratch/kocevski/266735/cmap_HighResolution_291945601_292204801_4FGL_J2101.4-2935_daily_bin203.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/266735/ft1_filtered_4FGL_J2101.4-2935_daily_bin203.fits evtable="EVENTS" scfile=/scratch/kocevski/266735/ft2_4FGL_J2101.4-2935_daily_bin203.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/266735/Model_4FGL_J2101.4-2935_daily_bin203.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/266735/ft1_filtered_4FGL_J2101.4-2935_daily_bin203.fits.....................!
real 86.45
user 84.89
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60350       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14079E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .60595E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10975E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.3988       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11450E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.6243       1.0000         .10000E-03   10000.    
    16 'norm      '    11.139       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2338       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93326       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=   10472.97     FROM MIGRAD    STATUS=CONVERGED    360 CALLS     1477 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60657        4.2063       -.11101E-05   -.40028E-03
   2  Prefactor     .10000E-03    21.891       -.18490E-05** at limit **
   3  Prefactor     .10000E-03    1.4472       -.43959E-07** at limit **
   4  Prefactor     .10000E-03    22.569        .40090E-06** at limit **
   5  norm          .10000E-03    5.8345        .29479E-06** at limit **
   6  Prefactor     .10001E-03    4.4703       -.32888E-06** at limit **
   7  Prefactor     .10000E-03    32.545       -.12214E-05** at limit **
   8  Prefactor     .10000E-03    2.3392        .25273E-06** at limit **
   9  norm          .10000E-03    1.8228        .11852E-06** at limit **
  10  Prefactor     5.4004        4.5640       -.43173E-07   -.10540E-03
  11  Prefactor     .10000E-03    4.0396        .23864E-07** at limit **
  12  Prefactor     .10000E-03    4.2461        .82667E-07** at limit **
  13  norm          .10000E-03    2.4948        .28693E-06** at limit **
  14  Prefactor     .10000E-03    10.375       -.72685E-06** at limit **
  15  Prefactor     2.6375        225.18        .66314E-04   -.31860E-05
  16  norm          11.140        4.8447       -.13619E-05   -.77406E-03
  17  Normalizat    1.2339        .17916       -.16655E-05    .81483E-04
  18  Prefactor     .93329        .85884E-01    .57096E-06   -.90524E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.606572
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.40039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 2.63753
  norm       = 11.1398
  Normalizat = 1.23393
  Prefactor  = 0.933293
 **********
 **   18 **HESSE 
 **********

 FCN=   10472.97     FROM HESSE     STATUS=OK           242 CALLS     1719 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60657        13.148        .40528E-02   -1.5552    
   2  Prefactor     .10000E-03    21.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.4557        .12020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    5.8390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    18.145        .41804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    33.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.3816        .15280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.8245        .13493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.4004        4.5634        .17295E-03   -1.5243    
  11  Prefactor     .10000E-03    4.0751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.2586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    11.632        .31333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.6375        218.44        .25175E-03   -1.5383    
  16  norm          11.140        4.8850        .12004E-03   -1.5040    
  17  Normalizat    1.2339        .21366        .31414E-03   -.85561    
  18  Prefactor     .93329        .10345        .17351E-03   -.94987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09678e-09
Minuit parameter uncertainties:
  1  5.64901
  2  1.97138e-05
  3  2.21208e-06
  4  6.48313e-06
  5  1.26165e-06
  6  0.00066435
  7  6.70414e-05
  8  1.96601e-06
  9  6.99655e-07
  10  4.5637
  11  3.86709e-06
  12  2.81146e-05
  13  0.00015738
  14  0.000267298
  15  48.1881
  16  4.88517
  17  0.213816
  18  0.103469
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  6.643e-04  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.333e-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.234e+00  2.138e-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: 6.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/266735/likelihoodResults_291945601_292204801_4FGL_J2101.4-2935_daily_bin203.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) = 10472.9655152
delta logL = -0.000260322232862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10472.5172239
delta logL = 0.448031002921

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8091       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5617       1.0000          .0000       10.000    
     3 'Normalizat'    1.2411       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92780       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=   10472.52     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      235 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8091        4.1599        .60675E-02    .14078E-02
   2  Index         1.5617        .43439        .29142       -.98104E-04
   3  Normalizat    1.2411        .17314        .70820E-01    .51630E-04
   4  Prefactor     .92780        .84955E-01    .45358E-01    .64938E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.80912
  Index      = 1.56172
  Normalizat = 1.2411
  Prefactor  = 0.927797
 **********
 **   18 **HESSE 
 **********

 FCN=   10472.52     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8091        5.0778        .24270E-03   -1.5373    
   2  Index         1.5617        .75357        .11970E-01   -.75826    
   3  Normalizat    1.2411        .20713        .31336E-03   -.85342    
   4  Prefactor     .92780        .10175        .17391E-03   -.95176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28388e-09
Minuit parameter uncertainties:
  1  5.07855
  2  0.759088
  3  0.20727
  4  0.101769
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266735': 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) = 10472.5172239
delta logL = 0.448031008971

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  2.809e+00  5.079e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  1.562e+00  7.591e-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:  9.278e-01  1.018e-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.241e+00  2.073e-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/266735/cmap_HighResolution_291945601_292204801_4FGL_J2101.4-2935_daily_bin203.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.11e-03', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2021-09-26 01:00:11.086724', job_id='266735', GAL2='0.93', fit_tolerance='1e-08', EG2='1.24', EG='1.23', time_epoch_completed='1632643211.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.48e-01', ts2='0.90', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='203' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:00:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 266735: <4FGL_J2101.4-2935_daily_bin203> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin203> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 00:45:24 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 00:45:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 00:45:52 2021
Terminated at Sun Sep 26 01:00:11 2021
Results reported at Sun Sep 26 01:00:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin203 315.366 -29.5926 291945601 292204801 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 :                                   668.14 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            887 sec.

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

