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


Performing analysis on: 4FGL_J2101.4-2935_daily_bin1266
RA = 315.366, Dec = -29.5926
tmin = 567475201, tmax = 567734401
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='273862', job_status='RUN', time_executed='2021-09-26 01:12:20.472348', time_epoch_executed='1632643940.47' WHERE source_name='4FGL J2101.4-2935' and cadence='daily' and bin_id='1266'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/273862

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/273862/ft1_4FGL_J2101.4-2935_daily_bin1266.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/273862/ft2_4FGL_J2101.4-2935_daily_bin1266.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/273862/ft1_4FGL_J2101.4-2935_daily_bin1266.fits outfile=/scratch/kocevski/273862/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1266.fits ra=315.366 dec=-29.5926 rad=12.0 tmin=567475201.0 tmax=567734401.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.56
user 2.30
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/273862/ft2_4FGL_J2101.4-2935_daily_bin1266.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/273862/ft1_filteredMKT_4FGL_J2101.4-2935_daily_bin1266.fits evtable="EVENTS" outfile="/scratch/kocevski/273862/ft1_filtered_4FGL_J2101.4-2935_daily_bin1266.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/273862/ft1_filtered_4FGL_J2101.4-2935_daily_bin1266.fits" evtable="EVENTS" scfile=/scratch/kocevski/273862/ft2_4FGL_J2101.4-2935_daily_bin1266.fits sctable="SC_DATA" outfile=/scratch/kocevski/273862/ltcube_567475201_567734401_4FGL_J2101.4-2935_daily_bin1266.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/273862/ft2_4FGL_J2101.4-2935_daily_bin1266.fits
.....................!
real 14.12
user 13.61
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/273862/ft1_filtered_4FGL_J2101.4-2935_daily_bin1266.fits evtable="EVENTS" scfile=/scratch/kocevski/273862/ft2_4FGL_J2101.4-2935_daily_bin1266.fits sctable="SC_DATA" expcube=/scratch/kocevski/273862/ltcube_567475201_567734401_4FGL_J2101.4-2935_daily_bin1266.fits outfile=/scratch/kocevski/273862/expmap_567475201_567734401_4FGL_J2101.4-2935_daily_bin1266.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/273862/ltcube_567475201_567734401_4FGL_J2101.4-2935_daily_bin1266.fits
.....................!
real 194.19
user 187.65
sys 4.72

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/273862/ft1_filtered_4FGL_J2101.4-2935_daily_bin1266.fits scfile=/scratch/kocevski/273862/ft2_4FGL_J2101.4-2935_daily_bin1266.fits outfile=/scratch/kocevski/273862/cmap_567475201_567734401_4FGL_J2101.4-2935_daily_bin1266.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/273862/ft1_filtered_4FGL_J2101.4-2935_daily_bin1266.fits scfile=/scratch/kocevski/273862/ft2_4FGL_J2101.4-2935_daily_bin1266.fits outfile=/scratch/kocevski/273862/cmap_HighResolution_567475201_567734401_4FGL_J2101.4-2935_daily_bin1266.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/273862/ft1_filtered_4FGL_J2101.4-2935_daily_bin1266.fits evtable="EVENTS" scfile=/scratch/kocevski/273862/ft2_4FGL_J2101.4-2935_daily_bin1266.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/273862/Model_4FGL_J2101.4-2935_daily_bin1266.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/273862/ft1_filtered_4FGL_J2101.4-2935_daily_bin1266.fits.....................!
real 57.19
user 55.71
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.492       1.0000         .10000E-03   10000.    
     2 'Prefactor '    74.360       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6045       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    50.358       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3850       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.6670       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2374       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0029       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=   6202.323     FROM MIGRAD    STATUS=CONVERGED    337 CALLS     1675 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.491        19.336        .21115E-02    .63566E-03
   2  Prefactor     74.360        65.848        .11640E-02   -.69648E-03
   3  Prefactor     5.6037        9.6896        .42423E-02    .28801E-03
   4  Prefactor     .10020E-03    27.993        .90712E-02** at limit **
   5  norm          .10000E-03    25.461        .90712E-02** at limit **
   6  Prefactor     50.358        29.074        .14128E-02   -.46650E-03
   7  Prefactor     .10005E-03    35.132        .90712E-02** at limit **
   8  Prefactor     .10000E-03    2.2662        .90712E-02** at limit **
   9  norm          .10000E-03    2.8287        .90712E-02** at limit **
  10  Prefactor     .10000E-03    2.4605        .90712E-02** at limit **
  11  Prefactor     2.3860        8.3656        .66307E-02    .37978E-03
  12  Prefactor     .10000E-03    13.389        .90712E-02** at limit **
  13  norm          .10000E-03    5.0844        .90712E-02** at limit **
  14  Prefactor     .10000E-03    9.3577        .90712E-02** at limit **
  15  Prefactor     .10009E-03    24.068        .90712E-02** at limit **
  16  norm          6.6684        5.9675        .38852E-02   -.96004E-03
  17  Normalizat    1.2371        .26255        .78097E-01    .29165E-03
  18  Prefactor     1.0031        .12511        .44689E-01    .41727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 22.4909
  Prefactor  = 74.36
  Prefactor  = 5.60369
  Prefactor  = 0.000100196
  norm       = 0.000100003
  Prefactor  = 50.3581
  Prefactor  = 0.00010005
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.38597
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010009
  norm       = 6.66839
  Normalizat = 1.23714
  Prefactor  = 1.00306
 **********
 **   18 **HESSE 
 **********

 FCN=   6202.323     FROM HESSE     STATUS=OK           232 CALLS     1907 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.491        19.354        .84458E-04   -1.4759    
   2  Prefactor     74.360        65.785        .23280E-03   -1.3981    
   3  Prefactor     5.6037        9.6679        .16969E-03   -1.5234    
   4  Prefactor     .10020E-03    27.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    25.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     50.358        29.157        .56513E-04   -1.4288    
   7  Prefactor     .10005E-03    35.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.2718        .11576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.8303        .12936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.4668        .12064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3860        8.3697        .26523E-03   -1.5399    
  12  Prefactor     .10000E-03    13.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.1247        .17338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.3704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10009E-03    24.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.6684        6.0216        .15541E-03   -1.5191    
  17  Normalizat    1.2371        .31237        .34568E-03   -.85463    
  18  Prefactor     1.0031        .14916        .18699E-03   -.92628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81274e-08
Minuit parameter uncertainties:
  1  19.3596
  2  65.8496
  3  9.67056
  4  0.00468586
  5  0.000582797
  6  29.1649
  7  0.00265654
  8  4.36616e-05
  9  2.99472e-05
  10  3.73893e-05
  11  8.37384
  12  6.30744e-05
  13  2.61056e-05
  14  1.05517e-05
  15  0.00294812
  16  6.02214
  17  0.312841
  18  0.149219
Done.

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

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  5.036e+01  2.916e+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.003e+00  1.492e-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.237e+00  3.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.48
Ra Dec: 315.366 -29.593
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 1.43e-07 +/- 8.25e-08
Energy Flux (Fixed Index): 3.18e-05 +/- 1.84e-05

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) = 6201.9275534
delta logL = 0.395262911339

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6201.92265592
delta logL = 0.400160389426

Fit tolerance = 1e-08

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

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

 FCN=   6201.923     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      297 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.080        30.133        .64128E-04    .43611E-04
   2  Index         3.3665        .71981        .68327E-02    .30185E-03
   3  Normalizat    1.1922        .30194        .35105E-03    .53694E-04
   4  Prefactor     1.0173        .14690        .18577E-03   -.94732E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.0802
  Index      = 3.36648
  Normalizat = 1.19216
  Prefactor  = 1.01734
 **********
 **   18 **HESSE 
 **********

 FCN=   6201.923     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.080        28.848        .25651E-05   -1.4457    
   2  Index         3.3665        .68882        .13665E-02   -.33281    
   3  Normalizat    1.1922        .30216        .14042E-04   -.86846    
   4  Prefactor     1.0173        .14695        .37155E-04   -.92154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.54029e-11
Minuit parameter uncertainties:
  1  28.8582
  2  0.691288
  3  0.3026
  4  0.147003
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/273862': 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) = 6201.92265568
delta logL = 0.400160630331

Extracting fit parameters...

4FGL J2101.4-2935
   Spectrum: PowerLaw
284    Prefactor:  3.908e+01  2.886e+01  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  3.366e+00  6.913e-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.017e+00  1.470e-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.192e+00  3.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.34
Ra Dec: 315.366 -29.593
Photon Index (Free Index): 3.37 +/- 0.69
Photon Flux (Free Index): 1.85e-07 +/- 1.02e-07
Energy Flux (Free Index): 3.21e-05 +/- 1.70e-05

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/273862/cmap_HighResolution_567475201_567734401_4FGL_J2101.4-2935_daily_bin1266.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.43e-07', energy_flux2='3.21e-05', photon_flux_error='8.25e-08', dlogl='4.00e-01', energy_flux='3.18e-05', photon_flux2='1.85e-07', job_status='DONE', time_completed='2021-09-26 01:20:47.134982', photon_index_error2='0.69', photon_index2='3.37', ts='4.48', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.70e-05', EG='1.24', time_epoch_completed='1632644447.14', return_code='0', job_id='273862', GAL2='1.02', EG2='1.19', return_code2='0', energy_flux_error='1.84e-05', photon_flux_error2='1.02e-07', ts2='5.34', photon_index='2.81' WHERE bin_id='1266' AND source_name='4FGL J2101.4-2935' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:20:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 273862: <4FGL_J2101.4-2935_daily_bin1266> in cluster <slac> Done

Job <4FGL_J2101.4-2935_daily_bin1266> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 26 01:10:41 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 01:11:19 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:11:19 2021
Terminated at Sun Sep 26 01:20:47 2021
Results reported at Sun Sep 26 01:20:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2101.4-2935_daily_bin1266 315.366 -29.5926 567475201 567734401 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 :                                   497.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             311.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   568 sec.
    Turnaround time :                            606 sec.

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

