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


Performing analysis on: 4FGL_J1036.2+2202_daily_bin1713
RA = 159.053, Dec = 22.0401
tmin = 683337601, tmax = 683596801
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='94647', job_status='RUN', time_executed='2022-09-16 15:27:53.650804', time_epoch_executed='1663367273.65' WHERE source_name='4FGL J1036.2+2202' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94647

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94647/ft1_4FGL_J1036.2+2202_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94647/ft2_4FGL_J1036.2+2202_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94647/ft1_4FGL_J1036.2+2202_daily_bin1713.fits outfile=/scratch/kocevski/94647/ft1_filteredMKT_4FGL_J1036.2+2202_daily_bin1713.fits ra=159.053 dec=22.0401 rad=12.0 tmin=683337601.0 tmax=683596801.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.57
user 3.29
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/94647/ft2_4FGL_J1036.2+2202_daily_bin1713.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/94647/ft2_4FGL_J1036.2+2202_daily_bin1713.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/94647/ft1_filteredMKT_4FGL_J1036.2+2202_daily_bin1713.fits evtable="EVENTS" outfile="/scratch/kocevski/94647/ft1_filtered_4FGL_J1036.2+2202_daily_bin1713.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.33
sys 0.15

Number of photons that the gtmktime cut: 567

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94647/ft1_filtered_4FGL_J1036.2+2202_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/94647/ft2_4FGL_J1036.2+2202_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/94647/ltcube_683337601_683596801_4FGL_J1036.2+2202_daily_bin1713.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/94647/ft2_4FGL_J1036.2+2202_daily_bin1713.fits
.....................!
real 13.00
user 12.59
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94647/ft1_filtered_4FGL_J1036.2+2202_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/94647/ft2_4FGL_J1036.2+2202_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/94647/ltcube_683337601_683596801_4FGL_J1036.2+2202_daily_bin1713.fits outfile=/scratch/kocevski/94647/expmap_683337601_683596801_4FGL_J1036.2+2202_daily_bin1713.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/94647/ltcube_683337601_683596801_4FGL_J1036.2+2202_daily_bin1713.fits
.....................!
real 191.79
user 185.61
sys 5.28

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

Setting source of interest to:
4FGL J1036.2+2202 @ 159.053 22.0401

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/94647/ft1_filtered_4FGL_J1036.2+2202_daily_bin1713.fits scfile=/scratch/kocevski/94647/ft2_4FGL_J1036.2+2202_daily_bin1713.fits outfile=/scratch/kocevski/94647/cmap_683337601_683596801_4FGL_J1036.2+2202_daily_bin1713.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.053 yref=22.0401 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.65
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94647/ft1_filtered_4FGL_J1036.2+2202_daily_bin1713.fits scfile=/scratch/kocevski/94647/ft2_4FGL_J1036.2+2202_daily_bin1713.fits outfile=/scratch/kocevski/94647/cmap_HighResolution_683337601_683596801_4FGL_J1036.2+2202_daily_bin1713.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.053 yref=22.0401 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.56
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/94647/ft1_filtered_4FGL_J1036.2+2202_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/94647/ft2_4FGL_J1036.2+2202_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/94647/Model_4FGL_J1036.2+2202_daily_bin1713.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/94647/ft1_filtered_4FGL_J1036.2+2202_daily_bin1713.fits.....................!
real 60.42
user 58.86
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/94647/ft1_filtered_4FGL_J1036.2+2202_daily_bin1713.fits', '/scratch/kocevski/94647/ft2_4FGL_J1036.2+2202_daily_bin1713.fits', expMap='/scratch/kocevski/94647/expmap_683337601_683596801_4FGL_J1036.2+2202_daily_bin1713.fits', expCube='/scratch/kocevski/94647/ltcube_683337601_683596801_4FGL_J1036.2+2202_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/94647/Model_4FGL_J1036.2+2202_daily_bin1713.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1036.2+2202'

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  2.459e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  2.615e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  5.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/94647/ft1_filtered_4FGL_J1036.2+2202_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/94647/ft2_4FGL_J1036.2+2202_daily_bin1713.fits
Exposure map: /scratch/kocevski/94647/expmap_683337601_683596801_4FGL_J1036.2+2202_daily_bin1713.fits
Exposure cube: /scratch/kocevski/94647/ltcube_683337601_683596801_4FGL_J1036.2+2202_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/94647/Model_4FGL_J1036.2+2202_daily_bin1713.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) = 6498.51963812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.365       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10325E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .63195       1.0000          .0000       .10000E+07
     4 'norm      '    7.2038       1.0000          .0000       .10000E+07
     5 'Prefactor '    .29040E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .68598       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.1310       1.0000          .0000       .10000E+07
     8 'Prefactor '    .47107E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.112       1.0000          .0000       .10000E+07
    10 'Prefactor '    37.071       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34947       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11292E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    8.0755       1.0000          .0000       .10000E+07
    14 'Prefactor '    .96461E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .63047       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11647       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.6851       1.0000          .0000       .10000E+07
    18 'Prefactor '    .24949E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1260       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1606       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6498.516     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1665 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.729        7.5573        .95308E-07   -.87808E-01
   2  Prefactor     .11102E-09    3.3080       -.10907E-06** at limit **
   3  Prefactor     .63421        1.7568        .40026E-06   -.15057E-03
   4  norm          7.2095        8.9569        .50877E-07    .76249E-02
   5  Prefactor     .11546E-07    18.746       -.66915E-07** at limit **
   6  Prefactor     .20903E-05    218.14       -.87734E-06** at limit **
   7  Prefactor     2.1833        8.7089       -.14573E-06    .57517E-02
   8  Prefactor      .0000        1.1613       -.81145E-08** at limit **
   9  Prefactor     17.098        9.2785        .25873E-06    .34965E-01
  10  Prefactor     37.015        9.8670        .95623E-07   -.16143    
  11  Prefactor     .21750E-05    63.813        .12786E-05** at limit **
  12  Prefactor     .45297E-07    30.415        .24318E-05** at limit **
  13  Prefactor     8.0169        9.7222       -.27140E-06   -.75417E-01
  14  Prefactor     .36360E-07    8.2587        .10684E-05** at limit **
  15  norm          .63033        1.4001       -.12513E-06   -.14750E-02
  16  Prefactor     .12805        7.3604        .18429E-07** at limit **
  17  Prefactor     3.6848        4.0066        .21923E-07   -.16569E-03
  18  Prefactor      .0000        4.8468        .35686E-06** at limit **
  19  Normalizat    1.1266        .22957        .45287E-05    .11177E-03
  20  Prefactor     1.1603        .22560        .54470E-05    .10599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.729
  Prefactor  = 1.11022e-10
  Prefactor  = 0.63421
  norm       = 7.20949
  Prefactor  = 1.15463e-08
  Prefactor  = 2.09027e-06
  Prefactor  = 2.18326
  Prefactor  = 0
  Prefactor  = 17.0983
  Prefactor  = 37.015
  Prefactor  = 2.17504e-06
  Prefactor  = 4.52971e-08
  Prefactor  = 8.01685
  Prefactor  = 3.63598e-08
  norm       = 0.63033
  Prefactor  = 0.128053
  Prefactor  = 3.68481
  Prefactor  = 0
  Normalizat = 1.12656
  Prefactor  = 1.16026
 **********
 **   18 **HESSE 
 **********

 FCN=   6498.516     FROM HESSE     STATUS=OK           341 CALLS     2006 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.729        56.523        .16146E-03   -1.5583    
   2  Prefactor     .11102E-09    3.2829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .63421        1.7800        .66413E-03   -1.5692    
   4  norm          7.2095        8.9702        .37348E-03   -1.5654    
   5  Prefactor     .11546E-07    18.816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .20903E-05    220.61        .61853E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1833        9.2258        .70598E-03   -1.5678    
   8  Prefactor      .0000        1.1837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.098        9.3818        .24185E-03   -1.5625    
  10  Prefactor     37.015        14.721        .16426E-03   -1.5586    
  11  Prefactor     .21750E-05    71.002        .95591E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .45297E-07    30.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.0169        11.665        .35258E-03   -1.5651    
  14  Prefactor     .36360E-07    8.3700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .63033        1.4339        .66542E-03   -1.5692    
  16  Prefactor     .12805        1.4563        .49492E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.6848        3.9934        .52588E-03   -1.5670    
  18  Prefactor      .0000        4.8227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1266        .19530        .60015E-01   -.88904    
  20  Prefactor     1.1603        .18806        .60425E-01   -.87563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.91303e-07
Minuit parameter uncertainties:
  1  56.5239
  2  3.78992e-05
  3  1.78002
  4  8.97018
  5  0.00093254
  6  0.0429495
  7  8.97607
  8  6.73219e-06
  9  9.38178
  10  14.7215
  11  0.0248545
  12  0.00235863
  13  11.665
  14  0.00110365
  15  1.43392
  16  0.863664
  17  3.99345
  18  8.27974e-06
  19  0.19543
  20  0.188166
Done.

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

Extracting fit parameters...

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  2.183e+00  8.976e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  2.615e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  5.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.160e+00  1.882e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.127e+00  1.954e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 159.053 22.040
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/94647/likelihoodResults_683337601_683596801_4FGL_J1036.2+2202_daily_bin1713.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): 102
logL (Free Index) = 6498.44055891
delta logL = 0.0756591942663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6498.41415899
delta logL = 0.102059119398

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6498.414     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      235 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98168        60.461        .43027E-03    .12968E-01
   2  Index         4.0821        7.0349        .21849        .87695E-04
   3  Normalizat    1.0968        .43613E-01    .60704E-01    .11577E-04
   4  Prefactor     1.1818        .44318E-01    .59946E-01   -.52026E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.981685
  Index      = 4.08209
  Normalizat = 1.09681
  Prefactor  = 1.18177
 **********
 **   18 **HESSE 
 **********

 FCN=   6498.414     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98168        176.30        .14674E-04   -1.5688    
   2  Index         4.0821        7.3210        .13735E-01   -.18463    
   3  Normalizat    1.0968        .19368        .26848E-03   -.89854    
   4  Prefactor     1.1818        .20077        .26511E-03   -.86894    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.98228e-09
Minuit parameter uncertainties:
  1  26.312
  2  18.6635
  3  0.19381
  4  0.200898
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94647': 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) = 6498.41415381
delta logL = 0.102064301297

Extracting fit parameters...

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  9.817e-01  2.631e+01  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  4.082e+00  1.866e+01  0.000e+00  1.000e+01 (-1.000e+00)
238        Scale:  5.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.182e+00  2.009e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.097e+00  1.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 159.053 22.040

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/94647/cmap_HighResolution_683337601_683596801_4FGL_J1036.2+2202_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.74e-03', job_status='DONE', photon_flux_upper_limit='1.24e-07', time_completed='2022-09-16 15:37:38.267936', job_id='94647', GAL2='1.18', fit_tolerance='1e-08', EG2='1.10', EG='1.13', time_epoch_completed='1663367858.27', return_code2='102', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.02e-01', ts2='0.29', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1713' AND source_name='4FGL J1036.2+2202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:37:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 94647: <4FGL_J1036.2+2202_daily_bin1713> in cluster <slac> Done

Job <4FGL_J1036.2+2202_daily_bin1713> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:25:18 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:25:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:25:51 2022
Terminated at Fri Sep 16 15:37:39 2022
Results reported at Fri Sep 16 15:37:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1036.2+2202_daily_bin1713 159.053 22.0401 683337601 683596801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1036.2+2202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   585.47 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            741 sec.

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

