/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 5 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1768
RA = 309.252, Dec = -28.4383
tmin = 697593601, tmax = 697852801
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='280330', job_status='RUN', time_executed='2023-02-12 01:33:28.356745', time_epoch_executed='1676194408.36' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/280330

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/280330/ft1_4FGL_J2037.0-2826_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/280330/ft2_4FGL_J2037.0-2826_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/280330/ft1_4FGL_J2037.0-2826_daily_bin1768.fits outfile=/scratch/kocevski/280330/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1768.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=697593601.0 tmax=697852801.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.67
user 3.44
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/280330/ft2_4FGL_J2037.0-2826_daily_bin1768.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/280330/ft2_4FGL_J2037.0-2826_daily_bin1768.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/280330/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/280330/ft1_filtered_4FGL_J2037.0-2826_daily_bin1768.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 678

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/280330/ft1_filtered_4FGL_J2037.0-2826_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/280330/ft2_4FGL_J2037.0-2826_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/280330/ltcube_697593601_697852801_4FGL_J2037.0-2826_daily_bin1768.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/280330/ft2_4FGL_J2037.0-2826_daily_bin1768.fits
.....................!
real 15.07
user 14.68
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/280330/ft1_filtered_4FGL_J2037.0-2826_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/280330/ft2_4FGL_J2037.0-2826_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/280330/ltcube_697593601_697852801_4FGL_J2037.0-2826_daily_bin1768.fits outfile=/scratch/kocevski/280330/expmap_697593601_697852801_4FGL_J2037.0-2826_daily_bin1768.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/280330/ltcube_697593601_697852801_4FGL_J2037.0-2826_daily_bin1768.fits
.....................!
real 193.60
user 187.26
sys 5.88

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

Setting source of interest to:
4FGL J2037.0-2826 @ 309.252 -28.4383

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/280330/ft1_filtered_4FGL_J2037.0-2826_daily_bin1768.fits scfile=/scratch/kocevski/280330/ft2_4FGL_J2037.0-2826_daily_bin1768.fits outfile=/scratch/kocevski/280330/cmap_697593601_697852801_4FGL_J2037.0-2826_daily_bin1768.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=309.252 yref=-28.4383 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.59
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/280330/ft1_filtered_4FGL_J2037.0-2826_daily_bin1768.fits scfile=/scratch/kocevski/280330/ft2_4FGL_J2037.0-2826_daily_bin1768.fits outfile=/scratch/kocevski/280330/cmap_HighResolution_697593601_697852801_4FGL_J2037.0-2826_daily_bin1768.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=309.252 yref=-28.4383 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.59
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/280330/ft1_filtered_4FGL_J2037.0-2826_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/280330/ft2_4FGL_J2037.0-2826_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/280330/Model_4FGL_J2037.0-2826_daily_bin1768.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/280330/ft1_filtered_4FGL_J2037.0-2826_daily_bin1768.fits.....................!
real 65.35
user 63.90
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/280330/ft1_filtered_4FGL_J2037.0-2826_daily_bin1768.fits', '/scratch/kocevski/280330/ft2_4FGL_J2037.0-2826_daily_bin1768.fits', expMap='/scratch/kocevski/280330/expmap_697593601_697852801_4FGL_J2037.0-2826_daily_bin1768.fits', expCube='/scratch/kocevski/280330/ltcube_697593601_697852801_4FGL_J2037.0-2826_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/280330/Model_4FGL_J2037.0-2826_daily_bin1768.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2037.0-2826'

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.729e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
319        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/280330/ft1_filtered_4FGL_J2037.0-2826_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/280330/ft2_4FGL_J2037.0-2826_daily_bin1768.fits
Exposure map: /scratch/kocevski/280330/expmap_697593601_697852801_4FGL_J2037.0-2826_daily_bin1768.fits
Exposure cube: /scratch/kocevski/280330/ltcube_697593601_697852801_4FGL_J2037.0-2826_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/280330/Model_4FGL_J2037.0-2826_daily_bin1768.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) = 7480.86697812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2771       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17954E-02   1.0000          .0000       .10000E+07
     3 'norm      '    8.4053       1.0000          .0000       .10000E+07
     4 'norm      '    4.0059       1.0000          .0000       .10000E+07
     5 'Prefactor '    9.9316       1.0000          .0000       .10000E+07
     6 'Prefactor '    .60668E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13434E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .81062E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .28657E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    13.836       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.1532       1.0000          .0000       .10000E+07
    12 'norm      '    .17153E-07   1.0000          .0000       .10000E+07
    13 'Normalizat'    1.3271       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .88604       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7479.909     FROM MIGRAD    STATUS=CONVERGED    330 CALLS      969 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2818        5.3758       -.18197E-08   -.11062E-03
   2  Prefactor      .0000        27.311       -.11731E-09** at limit **
   3  norm          8.4124        8.6454       -.13448E-08   -.26038E-03
   4  norm          4.3042        10.994       -.18913E-08    .11382E-03
   5  Prefactor     11.893        43.524       -.34607E-08    .51407E-03
   6  Prefactor      .0000        55.550       -.41356E-09** at limit **
   7  Prefactor      .0000        5.2137       -.79487E-10** at limit **
   8  norm          .55511E-10    18.869       -.29042E-09** at limit **
   9  Prefactor     .27756E-09    14.611        .84243E-09** at limit **
  10  Prefactor     14.140        34.664        .62513E-08   -.43179E-02
  11  Prefactor     5.1791        1.6560       -.14692E-07   -.19227E-02
  12  norm           .0000        4.5672        .61691E-10** at limit **
  13  Normalizat    1.3252        .24445        .43969E-07    .34335E-04
  14  Prefactor     .88580        .94376E-01    .87667E-09    .43504E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.28178
  Prefactor  = 0
  norm       = 8.41241
  norm       = 4.30417
  Prefactor  = 11.8929
  Prefactor  = 0
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 2.77556e-10
  Prefactor  = 14.1396
  Prefactor  = 5.17909
  norm       = 0
  Normalizat = 1.32522
  Prefactor  = 0.885804
 **********
 **   18 **HESSE 
 **********

 FCN=   7479.909     FROM HESSE     STATUS=OK           160 CALLS     1129 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2818        5.4318        .22364E-04   -1.5672    
   2  Prefactor      .0000        27.329        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.4124        8.6995        .69108E-04   -1.5650    
   4  norm          4.3042        11.025        .20145E-04   -1.5666    
   5  Prefactor     11.893        43.537        .12709E-04   -1.5639    
   6  Prefactor      .0000        57.532        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        5.2472        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    18.891        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    14.620        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.140        34.920        .10761E-04   -1.5633    
  11  Prefactor     5.1791        7.9801        .88525E-04   -1.5662    
  12  norm           .0000        4.5695        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.3252        .29799        .35571E-03   -.82817    
  14  Prefactor     .88580        .11338        .16605E-03   -.96639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77567e-09
Minuit parameter uncertainties:
  1  5.43181
  2  2.57242e-05
  3  8.69953
  4  11.0252
  5  43.5382
  6  6.15566e-05
  7  2.75589e-06
  8  5.86572e-05
  9  0.000123311
  10  34.9207
  11  7.9801
  12  5.20585e-06
  13  0.298382
  14  0.113407
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  0.000e+00  6.156e-05  0.000e+00  1.000e+06 ( 1.000e-12)
319        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  8.858e-01  1.134e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.325e+00  2.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 309.252 -28.438
Photon Flux Upper Limit: 1.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.12e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/280330/likelihoodResults_697593601_697852801_4FGL_J2037.0-2826_daily_bin1768.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) = 7479.33349574
delta logL = 0.575584573015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7479.33054498
delta logL = 0.578535326161

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40804       1.0000          .0000       .10000E+07
     2 'Index     '    4.8675       1.0000          .0000       10.000    
     3 'Normalizat'    1.2173       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91061       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7479.331     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      265 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41919        6.5717        .88561E-03    .35933E-01
   2  Index         4.8513        3.3829        .15274        .20024E-03
   3  Normalizat    1.2172        .55979E-01    .83294E-01    .15706E-03
   4  Prefactor     .91057        .21984E-01    .45140E-01    .17977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.419187
  Index      = 4.85129
  Normalizat = 1.21715
  Prefactor  = 0.910566
 **********
 **   18 **HESSE 
 **********

 FCN=   7479.331     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      296 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41919        19.604        .53405E-05   -1.5695    
   2  Index         4.8513        7.4088        .77453E-02   -.29746E-01
   3  Normalizat    1.2172        .25262        .36878E-03   -.86074    
   4  Prefactor     .91057        .96731E-01    .16395E-03   -.95773    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.71197e-10
Minuit parameter uncertainties:
  1  5.73327
  2  8.28165
  3  0.252874
  4  0.0967495
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/280330': 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): 102
logL (Free Index) = 7479.33051844
delta logL = 0.578561870324

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  4.192e-01  5.733e+00  0.000e+00  1.000e+06 ( 1.000e-12)
319        Index:  4.851e+00  8.282e+00  0.000e+00  1.000e+01 (-1.000e+00)
320        Scale:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  9.106e-01  9.675e-02  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.217e+00  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.28
Ra Dec: 309.252 -28.438
Photon Index (Free Index): 4.85 +/- 8.28
Photon Flux (Free Index): 9.24e-08 +/- 9.62e-08
Energy Flux (Free Index): 1.24e-05 +/- 1.84e-05

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/280330/cmap_HighResolution_697593601_697852801_4FGL_J2037.0-2826_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', comment='SUCCESS', energy_flux2='1.24e-05', dlogl='5.79e-01', photon_flux2='9.24e-08', job_status='DONE', time_completed='2023-02-12 01:42:21.569832', photon_index_error2='8.28', photon_index2='4.85', ts='0.00', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='1.43e-07', energy_flux_error2='1.84e-05', EG='1.33', time_epoch_completed='1676194941.57', return_code='0', job_id='280330', GAL2='0.91', EG2='1.22', return_code2='102', photon_flux_error2='9.62e-08', ts2='1.28', photon_index='2.57' WHERE bin_id='1768' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:42:21 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0137>
Subject: Job 280330: <4FGL_J2037.0-2826_daily_bin1768> in cluster <slac> Done

Job <4FGL_J2037.0-2826_daily_bin1768> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Feb 12 01:30:17 2023
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:33:11 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:33:11 2023
Terminated at Sun Feb 12 01:42:22 2023
Results reported at Sun Feb 12 01:42:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1768 309.252 -28.4383 697593601 697852801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2037.0-2826 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   535.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             338.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   550 sec.
    Turnaround time :                            725 sec.

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

