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


Performing analysis on: 4FGL_J1037.7-2822_daily_bin1776
RA = 159.427, Dec = -28.3816
tmin = 699667201, tmax = 699926401
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='830190', job_status='RUN', time_executed='2023-03-08 00:26:41.765868', time_epoch_executed='1678264001.77' WHERE source_name='4FGL J1037.7-2822' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/830190

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/830190/ft1_4FGL_J1037.7-2822_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/830190/ft2_4FGL_J1037.7-2822_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/830190/ft1_4FGL_J1037.7-2822_daily_bin1776.fits outfile=/scratch/kocevski/830190/ft1_filteredMKT_4FGL_J1037.7-2822_daily_bin1776.fits ra=159.427 dec=-28.3816 rad=12.0 tmin=699667201.0 tmax=699926401.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.88
user 3.65
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/830190/ft2_4FGL_J1037.7-2822_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/830190/ft2_4FGL_J1037.7-2822_daily_bin1776.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/830190/ft1_filteredMKT_4FGL_J1037.7-2822_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/830190/ft1_filtered_4FGL_J1037.7-2822_daily_bin1776.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 578

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/830190/ft1_filtered_4FGL_J1037.7-2822_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/830190/ft2_4FGL_J1037.7-2822_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/830190/ltcube_699667201_699926401_4FGL_J1037.7-2822_daily_bin1776.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/830190/ft2_4FGL_J1037.7-2822_daily_bin1776.fits
.....................!
real 12.22
user 11.83
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/830190/ft1_filtered_4FGL_J1037.7-2822_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/830190/ft2_4FGL_J1037.7-2822_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/830190/ltcube_699667201_699926401_4FGL_J1037.7-2822_daily_bin1776.fits outfile=/scratch/kocevski/830190/expmap_699667201_699926401_4FGL_J1037.7-2822_daily_bin1776.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/830190/ltcube_699667201_699926401_4FGL_J1037.7-2822_daily_bin1776.fits
.....................!
real 191.14
user 185.66
sys 5.12

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

Setting source of interest to:
4FGL J1037.7-2822 @ 159.427 -28.3816

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/830190/ft1_filtered_4FGL_J1037.7-2822_daily_bin1776.fits scfile=/scratch/kocevski/830190/ft2_4FGL_J1037.7-2822_daily_bin1776.fits outfile=/scratch/kocevski/830190/cmap_699667201_699926401_4FGL_J1037.7-2822_daily_bin1776.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=159.427 yref=-28.3816 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/830190/ft1_filtered_4FGL_J1037.7-2822_daily_bin1776.fits scfile=/scratch/kocevski/830190/ft2_4FGL_J1037.7-2822_daily_bin1776.fits outfile=/scratch/kocevski/830190/cmap_HighResolution_699667201_699926401_4FGL_J1037.7-2822_daily_bin1776.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=159.427 yref=-28.3816 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/830190/ft1_filtered_4FGL_J1037.7-2822_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/830190/ft2_4FGL_J1037.7-2822_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/830190/Model_4FGL_J1037.7-2822_daily_bin1776.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/830190/ft1_filtered_4FGL_J1037.7-2822_daily_bin1776.fits.....................!
real 67.50
user 66.16
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/830190/ft1_filtered_4FGL_J1037.7-2822_daily_bin1776.fits', '/scratch/kocevski/830190/ft2_4FGL_J1037.7-2822_daily_bin1776.fits', expMap='/scratch/kocevski/830190/expmap_699667201_699926401_4FGL_J1037.7-2822_daily_bin1776.fits', expCube='/scratch/kocevski/830190/ltcube_699667201_699926401_4FGL_J1037.7-2822_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/830190/Model_4FGL_J1037.7-2822_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1037.7-2822'

4FGL J1037.7-2822
   Spectrum: LogParabola
292         norm:  3.073e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
293        alpha:  2.404e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
294         beta:  9.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
295           Eb:  8.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/830190/ft1_filtered_4FGL_J1037.7-2822_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/830190/ft2_4FGL_J1037.7-2822_daily_bin1776.fits
Exposure map: /scratch/kocevski/830190/expmap_699667201_699926401_4FGL_J1037.7-2822_daily_bin1776.fits
Exposure cube: /scratch/kocevski/830190/ltcube_699667201_699926401_4FGL_J1037.7-2822_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/830190/Model_4FGL_J1037.7-2822_daily_bin1776.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) = 6376.1966918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14553E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .75499       1.0000          .0000       .10000E+07
     3 'norm      '    3.4993       1.0000          .0000       .10000E+07
     4 'Prefactor '    59.644       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37629E-02   1.0000          .0000       .10000E+07
     6 'norm      '    3.2044       1.0000          .0000       .10000E+07
     7 'norm      '    .23275E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .92366E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.637       1.0000          .0000       .10000E+07
    10 'norm      '    .66187       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.4966       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17011E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .39673E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .81397E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.440       1.0000          .0000       .10000E+07
    16 'Prefactor '    21.339       1.0000          .0000       .10000E+07
    17 'Normalizat'    .95878       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6376.195     FROM MIGRAD    STATUS=CONVERGED    382 CALLS     1567 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.0823       -.65763E-08** at limit **
   2  norm          .75563        1.6096       -.46145E-07    .54286E-02
   3  norm          3.5246        10.293       -.10681E-06    .48491E-03
   4  Prefactor     59.632        34.345        .28519E-06    .53969E-02
   5  Prefactor      .0000        5.2901       -.10443E-07** at limit **
   6  norm          3.2000        10.163       -.16985E-06    .17921E-03
   7  norm           .0000        3.1937       -.27339E-07** at limit **
   8  Prefactor      .0000        3.4909        .22085E-07** at limit **
   9  Prefactor     11.661        17.220        .22883E-06    .31484E-02
  10  norm          .66609        3.4112       -.21312E-06    .50975E-02
  11  Prefactor     5.4792        26.426       -.10677E-07    .78852E-03
  12  Prefactor      .0000        2.9050        .31097E-07** at limit **
  13  Prefactor     .41078E-08    30.312        .16732E-05** at limit **
  14  Prefactor      .0000        1.9711        .34028E-08** at limit **
  15  Prefactor     10.421        7.9856        .34156E-08    .65941E-03
  16  Prefactor     21.354        14.194       -.33264E-07   -.39474E-03
  17  Normalizat    .95893        .23842        .24089E-05    .36238E-03
  18  Prefactor     .94581        .11249       -.41132E-06    .37161E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0.755626
  norm       = 3.5246
  Prefactor  = 59.6317
  Prefactor  = 0
  norm       = 3.20003
  norm       = 0
  Prefactor  = 0
  Prefactor  = 11.6612
  norm       = 0.666088
  Prefactor  = 5.47917
  Prefactor  = 0
  Prefactor  = 4.10783e-09
  Prefactor  = 0
  Prefactor  = 10.4213
  Prefactor  = 21.354
  Normalizat = 0.958931
  Prefactor  = 0.945814
 **********
 **   18 **HESSE 
 **********

 FCN=   6376.195     FROM HESSE     STATUS=OK           246 CALLS     1813 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0826        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .75563        1.6034        .13987E-04   -1.5691    
   3  norm          3.5246        10.269        .21610E-04   -1.5670    
   4  Prefactor     59.632        35.260        .51797E-05   -1.5554    
   5  Prefactor      .0000        5.2914        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.2000        10.132        .22630E-04   -1.5672    
   7  norm           .0000        3.1932        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.4940        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.661        17.164        .11737E-04   -1.5640    
  10  norm          .66609        3.4565        .25544E-04   -1.5692    
  11  Prefactor     5.4792        26.890        .17133E-04   -1.5661    
  12  Prefactor      .0000        2.9203        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .41078E-08    30.377        .32823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.9729        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.421        7.9879        .12394E-04   -1.5643    
  16  Prefactor     21.354        14.205        .86616E-05   -1.5616    
  17  Normalizat    .95893        .27929        .33599E-03   -.94419    
  18  Prefactor     .94581        .13468        .17219E-03   -.94558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29627e-09
Minuit parameter uncertainties:
  1  4.79281e-06
  2  1.60343
  3  10.2689
  4  35.2596
  5  1.22028e-05
  6  10.1323
  7  5.09577e-06
  8  1.20472e-05
  9  17.1639
  10  3.0347
  11  24.2766
  12  1.46561e-05
  13  0.0007044
  14  2.00062e-06
  15  7.98792
  16  14.2046
  17  0.279714
  18  0.134728
Done.

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

Extracting fit parameters...

4FGL J1037.7-2822
   Spectrum: LogParabola
292         norm:  6.661e-01  3.035e+00  0.000e+00  1.000e+06 ( 1.000e-12)
293        alpha:  2.404e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
294         beta:  9.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
295           Eb:  8.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.458e-01  1.347e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  9.589e-01  2.797e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 159.427 -28.382
Photon Flux Upper Limit: 9.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/830190/likelihoodResults_699667201_699926401_4FGL_J1037.7-2822_daily_bin1776.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) = 6376.0794051
delta logL = 0.11574621544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6376.07915527
delta logL = 0.115996045864

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6830       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7492       1.0000          .0000       5.0000    
     3 'Normalizat'    .96485       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94176       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6376.079     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      234 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6539        3.4849        .81154E-03    .69747E-02
   2  alpha         1.7501        1.0093        .43784E-01   -.12680E-03
   3  Normalizat    .96508        .21520        .75699E-01    .19989E-04
   4  Prefactor     .94171        .11035        .45535E-01    .18878E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.65386
  alpha      = 1.75008
  Normalizat = 0.965082
  Prefactor  = 0.941715
 **********
 **   18 **HESSE 
 **********

 FCN=   6376.079     FROM HESSE     STATUS=OK            31 CALLS      265 TOTAL
                     EDM=   .52E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6539        3.4472        .20960E-04   -1.5682    
   2  alpha         1.7501        1.0078        .87568E-02   -.30466    
   3  Normalizat    .96508        .25480        .33499E-03   -.94210    
   4  Prefactor     .94171        .13094        .17247E-03   -.94698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15803e-13
Minuit parameter uncertainties:
  1  3.44724
  2  1.04045
  3  0.255117
  4  0.130979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/830190': 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) = 6376.07911847
delta logL = 0.116032848478

Extracting fit parameters...

4FGL J1037.7-2822
   Spectrum: LogParabola
292         norm:  1.654e+00  3.447e+00  0.000e+00  1.000e+06 ( 1.000e-12)
293        alpha:  1.750e+00  1.040e+00  0.000e+00  5.000e+00 ( 1.000e+00)
294         beta:  9.457e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
295           Eb:  8.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.417e-01  1.310e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  9.651e-01  2.551e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 159.427 -28.382

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/830190/cmap_HighResolution_699667201_699926401_4FGL_J1037.7-2822_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-05', job_status='DONE', photon_flux_upper_limit='9.47e-08', time_completed='2023-03-08 00:36:08.066994', job_id='830190', GAL2='0.94', fit_tolerance='1e-08', EG2='0.97', EG='0.96', time_epoch_completed='1678264568.07', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.16e-01', ts2='0.30', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1776' AND source_name='4FGL J1037.7-2822' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:36:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0014>
Subject: Job 830190: <4FGL_J1037.7-2822_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1037.7-2822_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 00:25:40 2023
Job was executed on host(s) <bullet0014>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:25:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:25:45 2023
Terminated at Wed Mar  8 00:36:08 2023
Results reported at Wed Mar  8 00:36:08 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.7-2822_daily_bin1776 159.427 -28.3816 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1037.7-2822 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   568.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            628 sec.

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

