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


Performing analysis on: 4FGL_J1036.2+2202_daily_bin1712
RA = 159.053, Dec = 22.0401
tmin = 683078401, tmax = 683337601
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='94646', job_status='RUN', time_executed='2022-09-16 15:28:07.752557', time_epoch_executed='1663367287.75' WHERE source_name='4FGL J1036.2+2202' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94646

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94646/ft1_4FGL_J1036.2+2202_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94646/ft2_4FGL_J1036.2+2202_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94646/ft1_4FGL_J1036.2+2202_daily_bin1712.fits outfile=/scratch/kocevski/94646/ft1_filteredMKT_4FGL_J1036.2+2202_daily_bin1712.fits ra=159.053 dec=22.0401 rad=12.0 tmin=683078401.0 tmax=683337601.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.84
user 4.52
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/94646/ft2_4FGL_J1036.2+2202_daily_bin1712.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/94646/ft1_filteredMKT_4FGL_J1036.2+2202_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/94646/ft1_filtered_4FGL_J1036.2+2202_daily_bin1712.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.54
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 577

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94646/ft1_filtered_4FGL_J1036.2+2202_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/94646/ft2_4FGL_J1036.2+2202_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/94646/ltcube_683078401_683337601_4FGL_J1036.2+2202_daily_bin1712.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/94646/ft2_4FGL_J1036.2+2202_daily_bin1712.fits
.....................!
real 16.63
user 16.16
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94646/ft1_filtered_4FGL_J1036.2+2202_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/94646/ft2_4FGL_J1036.2+2202_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/94646/ltcube_683078401_683337601_4FGL_J1036.2+2202_daily_bin1712.fits outfile=/scratch/kocevski/94646/expmap_683078401_683337601_4FGL_J1036.2+2202_daily_bin1712.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/94646/ltcube_683078401_683337601_4FGL_J1036.2+2202_daily_bin1712.fits
.....................!
real 192.19
user 187.22
sys 4.47

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/94646/ft1_filtered_4FGL_J1036.2+2202_daily_bin1712.fits scfile=/scratch/kocevski/94646/ft2_4FGL_J1036.2+2202_daily_bin1712.fits outfile=/scratch/kocevski/94646/cmap_683078401_683337601_4FGL_J1036.2+2202_daily_bin1712.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.57
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94646/ft1_filtered_4FGL_J1036.2+2202_daily_bin1712.fits scfile=/scratch/kocevski/94646/ft2_4FGL_J1036.2+2202_daily_bin1712.fits outfile=/scratch/kocevski/94646/cmap_HighResolution_683078401_683337601_4FGL_J1036.2+2202_daily_bin1712.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.57
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/94646/ft1_filtered_4FGL_J1036.2+2202_daily_bin1712.fits', '/scratch/kocevski/94646/ft2_4FGL_J1036.2+2202_daily_bin1712.fits', expMap='/scratch/kocevski/94646/expmap_683078401_683337601_4FGL_J1036.2+2202_daily_bin1712.fits', expCube='/scratch/kocevski/94646/ltcube_683078401_683337601_4FGL_J1036.2+2202_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/94646/Model_4FGL_J1036.2+2202_daily_bin1712.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/94646/ft1_filtered_4FGL_J1036.2+2202_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/94646/ft2_4FGL_J1036.2+2202_daily_bin1712.fits
Exposure map: /scratch/kocevski/94646/expmap_683078401_683337601_4FGL_J1036.2+2202_daily_bin1712.fits
Exposure cube: /scratch/kocevski/94646/ltcube_683078401_683337601_4FGL_J1036.2+2202_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/94646/Model_4FGL_J1036.2+2202_daily_bin1712.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) = 6554.64386041

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.700       1.0000          .0000       .10000E+07
     2 'Prefactor '    .78310E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .98109       1.0000          .0000       .10000E+07
     4 'norm      '    6.7222       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.065       1.0000          .0000       .10000E+07
     6 'Prefactor '    28.529       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13843       1.0000          .0000       .10000E+07
     8 'Prefactor '    .67629       1.0000          .0000       .10000E+07
     9 'Prefactor '    17.534       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.5964       1.0000          .0000       .10000E+07
    11 'Prefactor '    .15176E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4768       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.641       1.0000          .0000       .10000E+07
    14 'Prefactor '    .35323E-03   1.0000          .0000       .10000E+07
    15 'norm      '    2.0456       1.0000          .0000       .10000E+07
    16 'Prefactor '    .27812E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.6426       1.0000          .0000       .10000E+07
    18 'Prefactor '    .69395E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1039       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.6858       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=   6554.628     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1558 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.614        63.329        .72540E-07    .23350    
   2  Prefactor      .0000        3.6388        .11554E-06** at limit **
   3  Prefactor     .99103        1.7235        .45918E-08    .64223E-04
   4  norm          6.7247        8.5339       -.50794E-07   -.98159E-03
   5  Prefactor     14.185        37.065        .53222E-07    .15147E-01
   6  Prefactor     30.170        57.451        .25442E-06   -.19520    
   7  Prefactor     .66452E-06    72.727        .13271E-05** at limit **
   8  Prefactor     .69734        2.8483       -.98641E-07   -.62783E-03
   9  Prefactor     17.555        12.134       -.28616E-07   -.55360E-02
  10  Prefactor     3.7789        19.508        .67216E-06    .25779E-02
  11  Prefactor     .94369E-09    10.947        .23366E-07** at limit **
  12  Prefactor     1.3045        56.516       -.30274E-05   -.80732E-02
  13  Prefactor     14.623        3.8245       -.27975E-07    .56751E-01
  14  Prefactor     .24425E-08    12.201       -.95772E-07** at limit **
  15  norm          2.0477        2.6965       -.14315E-07   -.31644E-03
  16  Prefactor      .0000        1.3133        .34834E-07** at limit **
  17  Prefactor     1.5882        4.5045        .50507E-07    .34789E-03
  18  Prefactor     .38858E-09    6.0888       -.40066E-07** at limit **
  19  Normalizat    1.1022        .27320        .87306E-06   -.72963E-04
  20  Prefactor     1.6868        .26976       -.14430E-05   -.10367E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.6142
  Prefactor  = 0
  Prefactor  = 0.991025
  norm       = 6.72474
  Prefactor  = 14.1854
  Prefactor  = 30.1698
  Prefactor  = 6.64524e-07
  Prefactor  = 0.697339
  Prefactor  = 17.5552
  Prefactor  = 3.77886
  Prefactor  = 9.4369e-10
  Prefactor  = 1.3045
  Prefactor  = 14.6231
  Prefactor  = 2.44249e-09
  norm       = 2.04767
  Prefactor  = 0
  Prefactor  = 1.58816
  Prefactor  = 3.88578e-10
  Normalizat = 1.10218
  Prefactor  = 1.68682
 **********
 **   18 **HESSE 
 **********

 FCN=   6554.628     FROM HESSE     STATUS=OK           343 CALLS     1901 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.614        75.198        .13909E-03   -1.5562    
   2  Prefactor      .0000        3.6444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .99103        1.7317        .43095E-03   -1.5688    
   4  norm          6.7247        8.5466        .38677E-03   -1.5656    
   5  Prefactor     14.185        36.881        .25779E-03   -1.5633    
   6  Prefactor     30.170        93.225        .18725E-03   -1.5598    
   7  Prefactor     .66452E-06    4.5287        .94149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .69734        2.9619        .62654E-03   -1.5691    
   9  Prefactor     17.555        12.263        .23891E-03   -1.5624    
  10  Prefactor     3.7789        32.686        .53259E-03   -1.5669    
  11  Prefactor     .94369E-09    10.979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3045        95.698        .88329E-03   -1.5685    
  13  Prefactor     14.623        13.966        .26150E-03   -1.5631    
  14  Prefactor     .24425E-08    12.219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0477        2.7206        .72262E-03   -1.5679    
  16  Prefactor      .0000        1.3143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.5882        4.5430        .82400E-03   -1.5683    
  18  Prefactor     .38858E-09    6.0863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1022        .22834        .69855E-01   -.89682    
  20  Prefactor     1.6868        .22352        .61063E-01   -.72433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73322e-05
Minuit parameter uncertainties:
  1  75.1993
  2  1.64283e-05
  3  1.73172
  4  8.5466
  5  36.8814
  6  93.2292
  7  0.00346949
  8  2.87435
  9  12.263
  10  22.2276
  11  0.000201251
  12  22.3466
  13  13.9664
  14  0.00034467
  15  2.72057
  16  2.12337e-06
  17  4.54296
  18  9.69454e-05
  19  0.228543
  20  0.223652
Done.

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

Extracting fit parameters...

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  6.645e-07  3.469e-03  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.687e+00  2.237e-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.102e+00  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/94646/likelihoodResults_683078401_683337601_4FGL_J1036.2+2202_daily_bin1712.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) = 6554.64246228
delta logL = -0.0139977122217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6554.37105303
delta logL = 0.257411532248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1678       1.0000          .0000       .10000E+07
     2 'Index     '    1.8096       1.0000          .0000       10.000    
     3 'Normalizat'    1.1108       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6667       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6554.371     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      236 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1753        8.3575         .0000        .47652E-01
   2  Index         1.8098        .63186         .0000       -.43694E-04
   3  Normalizat    1.1109        .21144         .0000        .11608E-04
   4  Prefactor     1.6666        .22285         .0000       -.29974E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.17534
  Index      = 1.80975
  Normalizat = 1.11089
  Prefactor  = 1.66659
 **********
 **   18 **HESSE 
 **********

 FCN=   6554.371     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1753        7.2235        .98690E-04   -1.5667    
   2  Index         1.8098        .71148        .10830E-01   -.69196    
   3  Normalizat    1.1109        .25459        .30799E-03   -.89403    
   4  Prefactor     1.6666        .26814        .27122E-03   -.72975    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14979e-09
Minuit parameter uncertainties:
  1  7.22349
  2  0.715588
  3  0.254874
  4  0.268373
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94646': 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) = 6554.37105238
delta logL = 0.257412190997

Extracting fit parameters...

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  4.175e+00  7.223e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  1.810e+00  7.156e-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.667e+00  2.684e-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.111e+00  2.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/94646/cmap_HighResolution_683078401_683337601_4FGL_J1036.2+2202_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.73e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2022-09-16 15:37:41.280070', job_id='94646', GAL2='1.67', fit_tolerance='1e-08', EG2='1.11', EG='1.10', time_epoch_completed='1663367861.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.69', dlogl='2.57e-01', ts2='0.52', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1712' AND source_name='4FGL J1036.2+2202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:37:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 94646: <4FGL_J1036.2+2202_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1036.2+2202_daily_bin1712> 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) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:25:50 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:50 2022
Terminated at Fri Sep 16 15:37:42 2022
Results reported at Fri Sep 16 15:37:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1036.2+2202_daily_bin1712 159.053 22.0401 683078401 683337601 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 :                                   575.60 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            744 sec.

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

