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


Performing analysis on: 4FGL_J1043.2+2408_daily_bin1754
RA = 160.805, Dec = 24.146
tmin = 693964801, tmax = 694224001
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='640645', job_status='RUN', time_executed='2023-01-01 01:04:38.957520', time_epoch_executed='1672563878.96' WHERE source_name='4FGL J1043.2+2408' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/640645

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/640645/ft1_4FGL_J1043.2+2408_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/640645/ft2_4FGL_J1043.2+2408_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/640645/ft1_4FGL_J1043.2+2408_daily_bin1754.fits outfile=/scratch/kocevski/640645/ft1_filteredMKT_4FGL_J1043.2+2408_daily_bin1754.fits ra=160.805 dec=24.146 rad=12.0 tmin=693964801.0 tmax=694224001.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.04
user 3.76
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/640645/ft2_4FGL_J1043.2+2408_daily_bin1754.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/640645/ft2_4FGL_J1043.2+2408_daily_bin1754.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/640645/ft1_filteredMKT_4FGL_J1043.2+2408_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/640645/ft1_filtered_4FGL_J1043.2+2408_daily_bin1754.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.53
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 345

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/640645/ft1_filtered_4FGL_J1043.2+2408_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/640645/ft2_4FGL_J1043.2+2408_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/640645/ltcube_693964801_694224001_4FGL_J1043.2+2408_daily_bin1754.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/640645/ft2_4FGL_J1043.2+2408_daily_bin1754.fits
.....................!
real 17.15
user 16.67
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/640645/ft1_filtered_4FGL_J1043.2+2408_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/640645/ft2_4FGL_J1043.2+2408_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/640645/ltcube_693964801_694224001_4FGL_J1043.2+2408_daily_bin1754.fits outfile=/scratch/kocevski/640645/expmap_693964801_694224001_4FGL_J1043.2+2408_daily_bin1754.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/640645/ltcube_693964801_694224001_4FGL_J1043.2+2408_daily_bin1754.fits
.....................!
real 195.97
user 189.85
sys 5.03

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

Setting source of interest to:
4FGL J1043.2+2408 @ 160.805 24.146

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/640645/ft1_filtered_4FGL_J1043.2+2408_daily_bin1754.fits scfile=/scratch/kocevski/640645/ft2_4FGL_J1043.2+2408_daily_bin1754.fits outfile=/scratch/kocevski/640645/cmap_693964801_694224001_4FGL_J1043.2+2408_daily_bin1754.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=160.805 yref=24.146 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.58
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/640645/ft1_filtered_4FGL_J1043.2+2408_daily_bin1754.fits scfile=/scratch/kocevski/640645/ft2_4FGL_J1043.2+2408_daily_bin1754.fits outfile=/scratch/kocevski/640645/cmap_HighResolution_693964801_694224001_4FGL_J1043.2+2408_daily_bin1754.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=160.805 yref=24.146 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/640645/ft1_filtered_4FGL_J1043.2+2408_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/640645/ft2_4FGL_J1043.2+2408_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/640645/Model_4FGL_J1043.2+2408_daily_bin1754.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/640645/ft1_filtered_4FGL_J1043.2+2408_daily_bin1754.fits.....................!
real 39.91
user 38.55
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/640645/ft1_filtered_4FGL_J1043.2+2408_daily_bin1754.fits', '/scratch/kocevski/640645/ft2_4FGL_J1043.2+2408_daily_bin1754.fits', expMap='/scratch/kocevski/640645/expmap_693964801_694224001_4FGL_J1043.2+2408_daily_bin1754.fits', expCube='/scratch/kocevski/640645/ltcube_693964801_694224001_4FGL_J1043.2+2408_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/640645/Model_4FGL_J1043.2+2408_daily_bin1754.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1043.2+2408'

4FGL J1043.2+2408
   Spectrum: PowerLaw
247    Prefactor:  1.079e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  9.688e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/640645/ft1_filtered_4FGL_J1043.2+2408_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/640645/ft2_4FGL_J1043.2+2408_daily_bin1754.fits
Exposure map: /scratch/kocevski/640645/expmap_693964801_694224001_4FGL_J1043.2+2408_daily_bin1754.fits
Exposure cube: /scratch/kocevski/640645/ltcube_693964801_694224001_4FGL_J1043.2+2408_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/640645/Model_4FGL_J1043.2+2408_daily_bin1754.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) = 3724.97560202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24122E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    9.1169       1.0000          .0000       .10000E+07
     3 'norm      '    12.121       1.0000          .0000       .10000E+07
     4 'Prefactor '    80.341       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1036       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18319E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.0133       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.577       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.438       1.0000          .0000       .10000E+07
    10 'Prefactor '    .56340E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.6584       1.0000          .0000       .10000E+07
    12 'Prefactor '    54.815       1.0000          .0000       .10000E+07
    13 'Prefactor '    .19909E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.0083       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11779E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    13.202       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2932       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .72788       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3724.947     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1330 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.2773        .20418E-07** at limit **
   2  Prefactor     9.0984        4.4576        .46589E-07   -.58175E-04
   3  norm          12.110        11.355        .34845E-07    .78600E-03
   4  Prefactor     80.909        61.932        .43899E-08   -.14779E-02
   5  Prefactor     .10786E-06    196.81       -.87292E-06** at limit **
   6  Prefactor      .0000        2.9864        .34996E-07** at limit **
   7  Prefactor     5.0121        3.5490        .66146E-08   -.12110E-03
   8  Prefactor     16.570        9.8848        .29930E-07    .18504E-03
   9  Prefactor     10.439        7.4937       -.83641E-07    .51585E-02
  10  Prefactor     .21094E-08    35.149        .12181E-06** at limit **
  11  Prefactor     4.6418        8.4861       -.26131E-06   -.18883E-02
  12  Prefactor     54.223        5.6090       -.18773E-07    .35238E-01
  13  Prefactor     .38858E-09    8.9407        .10163E-07** at limit **
  14  Prefactor     .95985        4.0383        .11736E-07   -.15148E-02
  15  Prefactor     .72164E-09    9.5133       -.80868E-08** at limit **
  16  Prefactor     13.141        16.269        .63587E-07   -.88524E-03
  17  Normalizat    1.2948        .27995        .21055E-05   -.25109E-05
  18  Prefactor     .72786        .27983       -.17777E-05   -.86630E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 9.09837
  norm       = 12.1104
  Prefactor  = 80.9094
  Prefactor  = 1.07858e-07
  Prefactor  = 0
  Prefactor  = 5.01207
  Prefactor  = 16.5704
  Prefactor  = 10.439
  Prefactor  = 2.10942e-09
  Prefactor  = 4.64185
  Prefactor  = 54.2229
  Prefactor  = 3.88578e-10
  Prefactor  = 0.95985
  Prefactor  = 7.21645e-10
  Prefactor  = 13.1412
  Normalizat = 1.29476
  Prefactor  = 0.727863
 **********
 **   18 **HESSE 
 **********

 FCN=   3724.947     FROM HESSE     STATUS=OK           286 CALLS     1616 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.2711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.0984        4.4539        .33169E-03   -1.5648    
   3  norm          12.110        11.368        .28748E-03   -1.5638    
   4  Prefactor     80.909        61.962        .11157E-03   -1.5528    
   5  Prefactor     .10786E-06    202.38        .11286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.9861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.0121        3.5673        .44888E-03   -1.5663    
   8  Prefactor     16.570        9.8827        .24572E-03   -1.5627    
   9  Prefactor     10.439        13.787        .30988E-03   -1.5643    
  10  Prefactor     .21094E-08    35.266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.6418        10.903        .46605E-03   -1.5665    
  12  Prefactor     54.223        26.254        .13508E-03   -1.5561    
  13  Prefactor     .38858E-09    9.6250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .95985        4.9321        .44057E-03   -1.5688    
  15  Prefactor     .72164E-09    10.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.141        16.327        .27542E-03   -1.5635    
  17  Normalizat    1.2948        .23991        .52547E-01   -.83723    
  18  Prefactor     .72786        .24083        .71501E-01   -1.0244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03329e-07
Minuit parameter uncertainties:
  1  4.7322e-06
  2  4.45388
  3  11.3679
  4  61.9627
  5  0.00934559
  6  1.03432e-06
  7  3.56729
  8  9.88273
  9  13.7872
  10  0.00054321
  11  10.9027
  12  26.2543
  13  0.000120344
  14  4.3516
  15  0.000174405
  16  16.3275
  17  0.240114
  18  0.24118
Done.

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

Extracting fit parameters...

4FGL J1043.2+2408
   Spectrum: PowerLaw
247    Prefactor:  5.012e+00  3.567e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  9.688e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  7.279e-01  2.412e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.295e+00  2.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.03
Ra Dec: 160.805 24.146
Photon Index (Fixed Index): 2.32 +/- 0.00
Photon Flux (Fixed Index): 7.41e-08 +/- 5.27e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 1.93e-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) = 3724.89477717
delta logL = 0.0527163461302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3724.89239357
delta logL = 0.0550999405837

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0865       1.0000          .0000       .10000E+07
     2 'Index     '    2.5343       1.0000          .0000       10.000    
     3 'Normalizat'    1.2815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73832       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+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=   3724.892     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      294 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0863        4.4527        .81094E-05    .53056E-02
   2  Index         2.5342        .70929        .51790E-02    .76719E-04
   3  Normalizat    1.2815        .26885        .23331E-03   -.93613E-04
   4  Prefactor     .73837        .28086        .31440E-03   -.99387E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.08629
  Index      = 2.53418
  Normalizat = 1.28149
  Prefactor  = 0.738365
 **********
 **   18 **HESSE 
 **********

 FCN=   3724.892     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0863        4.1853        .32438E-06   -1.5668    
   2  Index         2.5342        .66657        .20716E-03   -.51572    
   3  Normalizat    1.2815        .26873        .46661E-04   -.84121    
   4  Prefactor     .73837        .28072        .12576E-04   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00905e-10
Minuit parameter uncertainties:
  1  4.18525
  2  0.669207
  3  0.269021
  4  0.281264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/640645': 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) = 3724.8923935
delta logL = 0.0551000149812

Extracting fit parameters...

4FGL J1043.2+2408
   Spectrum: PowerLaw
247    Prefactor:  4.086e+00  4.185e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.534e+00  6.692e-01  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  9.688e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  7.384e-01  2.813e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.281e+00  2.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.13
Ra Dec: 160.805 24.146
Photon Index (Free Index): 2.53 +/- 0.67
Photon Flux (Free Index): 8.42e-08 +/- 6.41e-08
Energy Flux (Free Index): 2.36e-05 +/- 1.84e-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/640645/cmap_HighResolution_693964801_694224001_4FGL_J1043.2+2408_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.41e-08', energy_flux2='2.36e-05', photon_flux_error='5.27e-08', dlogl='5.51e-02', energy_flux='2.71e-05', photon_flux2='8.42e-08', job_status='DONE', time_completed='2023-01-01 01:12:05.346900', photon_index_error2='0.67', photon_index2='2.53', ts='4.03', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='1.84e-05', EG='1.29', time_epoch_completed='1672564325.35', return_code='0', job_id='640645', GAL2='0.74', EG2='1.28', return_code2='0', energy_flux_error='1.93e-05', photon_flux_error2='6.41e-08', ts2='4.13', photon_index='2.32' WHERE bin_id='1754' AND source_name='4FGL J1043.2+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:12:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 640645: <4FGL_J1043.2+2408_daily_bin1754> in cluster <slac> Done

Job <4FGL_J1043.2+2408_daily_bin1754> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan  1 01:00:25 2023
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:03:09 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:03:09 2023
Terminated at Sun Jan  1 01:12:06 2023
Results reported at Sun Jan  1 01:12:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1043.2+2408_daily_bin1754 160.805 24.146 693964801 694224001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1043.2+2408 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   447.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   536 sec.
    Turnaround time :                            701 sec.

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

