aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 85 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 = 7680
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1780
RA = 309.252, Dec = -28.4383
tmin = 700704001, tmax = 700963201
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='75807', job_status='RUN', time_executed='2023-03-20 01:41:48.254984', time_epoch_executed='1679301708.26' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75807

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75807/ft1_4FGL_J2037.0-2826_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75807/ft2_4FGL_J2037.0-2826_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75807/ft1_4FGL_J2037.0-2826_daily_bin1780.fits outfile=/scratch/kocevski/75807/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1780.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=700704001.0 tmax=700963201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.10
user 3.88
sys 0.20

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

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

Number of photons that the gtmktime cut: 959

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75807/ft1_filtered_4FGL_J2037.0-2826_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/75807/ft2_4FGL_J2037.0-2826_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/75807/ltcube_700704001_700963201_4FGL_J2037.0-2826_daily_bin1780.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/75807/ft2_4FGL_J2037.0-2826_daily_bin1780.fits
.....................!
real 12.07
user 11.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75807/ft1_filtered_4FGL_J2037.0-2826_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/75807/ft2_4FGL_J2037.0-2826_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/75807/ltcube_700704001_700963201_4FGL_J2037.0-2826_daily_bin1780.fits outfile=/scratch/kocevski/75807/expmap_700704001_700963201_4FGL_J2037.0-2826_daily_bin1780.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/75807/ltcube_700704001_700963201_4FGL_J2037.0-2826_daily_bin1780.fits
.....................!
real 192.61
user 187.64
sys 4.62

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/75807/ft1_filtered_4FGL_J2037.0-2826_daily_bin1780.fits scfile=/scratch/kocevski/75807/ft2_4FGL_J2037.0-2826_daily_bin1780.fits outfile=/scratch/kocevski/75807/cmap_700704001_700963201_4FGL_J2037.0-2826_daily_bin1780.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75807/ft1_filtered_4FGL_J2037.0-2826_daily_bin1780.fits scfile=/scratch/kocevski/75807/ft2_4FGL_J2037.0-2826_daily_bin1780.fits outfile=/scratch/kocevski/75807/cmap_HighResolution_700704001_700963201_4FGL_J2037.0-2826_daily_bin1780.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.54
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/75807/ft1_filtered_4FGL_J2037.0-2826_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/75807/ft2_4FGL_J2037.0-2826_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/75807/Model_4FGL_J2037.0-2826_daily_bin1780.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/75807/ft1_filtered_4FGL_J2037.0-2826_daily_bin1780.fits.....................!
real 84.96
user 83.70
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/75807/ft1_filtered_4FGL_J2037.0-2826_daily_bin1780.fits', '/scratch/kocevski/75807/ft2_4FGL_J2037.0-2826_daily_bin1780.fits', expMap='/scratch/kocevski/75807/expmap_700704001_700963201_4FGL_J2037.0-2826_daily_bin1780.fits', expCube='/scratch/kocevski/75807/ltcube_700704001_700963201_4FGL_J2037.0-2826_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/75807/Model_4FGL_J2037.0-2826_daily_bin1780.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/75807/ft1_filtered_4FGL_J2037.0-2826_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/75807/ft2_4FGL_J2037.0-2826_daily_bin1780.fits
Exposure map: /scratch/kocevski/75807/expmap_700704001_700963201_4FGL_J2037.0-2826_daily_bin1780.fits
Exposure cube: /scratch/kocevski/75807/ltcube_700704001_700963201_4FGL_J2037.0-2826_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/75807/Model_4FGL_J2037.0-2826_daily_bin1780.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) = 10190.9986619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15932E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .31986E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .37170E-05   1.0000          .0000       .10000E+07
     4 'norm      '    2.4743       1.0000          .0000       .10000E+07
     5 'Prefactor '    45.985       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.5456       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13009E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .11716E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .50580E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    37.581       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25028       1.0000          .0000       .10000E+07
    12 'norm      '    .32916E-03   1.0000          .0000       .10000E+07
    13 'Normalizat'    1.2193       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10190.99     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      905 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3690        .34519E-06** at limit **
   2  Prefactor     .44409E-09    10.375       -.10598E-05** at limit **
   3  norm          .52736E-08    5.6101       -.12901E-05** at limit **
   4  norm          2.4786        7.5420       -.14151E-05   -.29043E-02
   5  Prefactor     46.010        2.7689        .16604E-06   -.94117E-01
   6  Prefactor     1.5366        5.9339        .81591E-06    .18861E-03
   7  Prefactor      .0000        1.9958       -.23051E-06** at limit **
   8  norm          .23315E-08    6.7978        .17648E-06** at limit **
   9  Prefactor     .21955E-06    2.5468        .80402E-06** at limit **
  10  Prefactor     37.625        1.3467       -.61744E-07    .24957E-01
  11  Prefactor     .25072        .83454       -.14475E-06   -.22794E-02
  12  norm          .17764E-08    5.2284        .10090E-05** at limit **
  13  Normalizat    1.2194        .24914       -.26488E-05    .22914E-04
  14  Prefactor     1.0255        .99168E-01    .18588E-05    .16980E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 4.44089e-10
  norm       = 5.27356e-09
  norm       = 2.47857
  Prefactor  = 46.0098
  Prefactor  = 1.53662
  Prefactor  = 0
  norm       = 2.33147e-09
  Prefactor  = 2.19547e-07
  Prefactor  = 37.6253
  Prefactor  = 0.250724
  norm       = 1.77636e-09
  Normalizat = 1.21943
  Prefactor  = 1.02555
 **********
 **   18 **HESSE 
 **********

 FCN=   10190.99     FROM HESSE     STATUS=OK           196 CALLS     1101 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44409E-09    10.405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .52736E-08    5.6923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.4786        7.6049        .64973E-03   -1.5676    
   5  Prefactor     46.010        45.684        .14748E-03   -1.5572    
   6  Prefactor     1.5366        6.1523        .85685E-03   -1.5683    
   7  Prefactor      .0000        1.9918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .23315E-08    6.8508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .21955E-06    9.6904        .15517E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     37.625        23.928        .16314E-03   -1.5585    
  11  Prefactor     .25072        4.1060        .65657E-02   -1.5698    
  12  norm          .17764E-08    5.2522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.2194        .22368        .85367E-01   -.86005    
  14  Prefactor     1.0255        .84677E-01    .41625E-01   -.91883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.55149e-07
Minuit parameter uncertainties:
  1  2.39862e-06
  2  0.000135681
  3  0.00034682
  4  7.60497
  5  45.6847
  6  6.14942
  7  2.79672e-06
  8  0.000252878
  9  0.00291719
  10  23.9284
  11  2.02926
  12  0.000193632
  13  0.223853
  14  0.0846881
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.537e+00  6.149e+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

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.026e+00  8.469e-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.219e+00  2.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 309.252 -28.438
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/75807/likelihoodResults_700704001_700963201_4FGL_J2037.0-2826_daily_bin1780.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) = 10190.0445466
delta logL = 0.94210757703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10189.9410768
delta logL = 1.04557728712

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48419E-04   1.0000          .0000       .10000E+07
     2 'Index     '    9.9999       1.0000          .0000       10.000    
     3 'Normalizat'    1.1459       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0458       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 TERMINATED WITHOUT CONVERGENCE.

 FCN=   10189.94     FROM MIGRAD    STATUS=FAILED       374 CALLS      891 TOTAL
                     EDM=   .11E-01    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48378E-04    .43894E-04     .0000    ** at limit **
   2  Index        10.0000        .82293         .0000    ** at limit **
   3  Normalizat    1.1459        .36363         .0000        .55597E-04
   4  Prefactor     1.0457        .14215         .0000        .49005E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10189.94     FROM SIMPLEX   STATUS=UNCHANGED    104 CALLS      995 TOTAL
                     EDM=   .83E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48378E-04    .43894E-04    .46528E-08   -26.704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .82293        .15631E-01   -922.06    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1459        .36363        .24322E-04   -115.36    
   4  Prefactor     1.0457        .14215        .30444E-04    186.27    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10189.94     FROM MIGRAD    STATUS=FAILED        48 CALLS     1043 TOTAL
                     EDM=   .11E-01    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48379E-04    .42933E-04     .0000    ** at limit **
   2  Index        10.0000        .77455         .0000    ** at limit **
   3  Normalizat    1.1459        .25914         .0000       -.15292E-04
   4  Prefactor     1.0457        .10166         .0000       -.34816E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.8379e-05
  Index      = 10
  Normalizat = 1.14595
  Prefactor  = 1.04568
 **********
 **   18 **HESSE 
 **********

 FCN=   10189.94     FROM HESSE     STATUS=OK            33 CALLS     1076 TOTAL
                     EDM=   .21E-01    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48379E-04    .42931E-04    .12733E-04   -26.704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .77446        .50000       -922.06    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1459        .25892        .15523E-04   -115.36    
   4  Prefactor     1.0457        .10158        .88819E-05    186.27    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.0210969
Minuit parameter uncertainties:
  1  4.29313e-05
  2  1.16224e-05
  3  0.259206
  4  0.101596
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75807': 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): 1
logL (Free Index) = 10189.9410709
delta logL = 1.0455832696

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  4.838e-05  4.293e-05  0.000e+00  1.000e+06 ( 1.000e-12)
319        Index:  1.000e+01  1.162e-05  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:  1.046e+00  1.016e-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.146e+00  2.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.28
Ra Dec: 309.252 -28.438
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 6.88e-08 +/- 5.92e-08
Energy Flux (Free Index): 7.69e-06 +/- 6.66e-06

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/75807/cmap_HighResolution_700704001_700963201_4FGL_J2037.0-2826_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.22e-03', comment='SUCCESS', energy_flux2='7.69e-06', dlogl='1.05e+00', photon_flux2='6.88e-08', job_status='DONE', time_completed='2023-03-20 01:53:23.726951', photon_index_error2='0.00', photon_index2='10.00', ts='0.08', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='6.66e-06', EG='1.22', time_epoch_completed='1679302403.73', return_code='0', job_id='75807', GAL2='1.05', EG2='1.15', return_code2='1', photon_flux_error2='5.92e-08', ts2='2.28', photon_index='2.57' WHERE bin_id='1780' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:53:23 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 75807: <4FGL_J2037.0-2826_daily_bin1780> in cluster <slac> Done

Job <4FGL_J2037.0-2826_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:40:13 2023
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:40:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:40:15 2023
Terminated at Mon Mar 20 01:53:24 2023
Results reported at Mon Mar 20 01:53:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1780 309.252 -28.4383 700704001 700963201 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 :                                   697.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            791 sec.

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

