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


Performing analysis on: 4FGL_J1036.2+2202_daily_bin1717
RA = 159.053, Dec = 22.0401
tmin = 684374401, tmax = 684633601
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='94652', job_status='RUN', time_executed='2022-09-16 15:29:55.359040', time_epoch_executed='1663367395.36' WHERE source_name='4FGL J1036.2+2202' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94652

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94652/ft1_4FGL_J1036.2+2202_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94652/ft2_4FGL_J1036.2+2202_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94652/ft1_4FGL_J1036.2+2202_daily_bin1717.fits outfile=/scratch/kocevski/94652/ft1_filteredMKT_4FGL_J1036.2+2202_daily_bin1717.fits ra=159.053 dec=22.0401 rad=12.0 tmin=684374401.0 tmax=684633601.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 5.06
user 4.80
sys 0.22

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

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

Number of photons that the gtmktime cut: 534

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94652/ft1_filtered_4FGL_J1036.2+2202_daily_bin1717.fits" evtable="EVENTS" scfile=/scratch/kocevski/94652/ft2_4FGL_J1036.2+2202_daily_bin1717.fits sctable="SC_DATA" outfile=/scratch/kocevski/94652/ltcube_684374401_684633601_4FGL_J1036.2+2202_daily_bin1717.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/94652/ft2_4FGL_J1036.2+2202_daily_bin1717.fits
.....................!
real 14.89
user 14.47
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94652/ft1_filtered_4FGL_J1036.2+2202_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/94652/ft2_4FGL_J1036.2+2202_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/94652/ltcube_684374401_684633601_4FGL_J1036.2+2202_daily_bin1717.fits outfile=/scratch/kocevski/94652/expmap_684374401_684633601_4FGL_J1036.2+2202_daily_bin1717.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/94652/ltcube_684374401_684633601_4FGL_J1036.2+2202_daily_bin1717.fits
.....................!
real 191.56
user 186.96
sys 4.22

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/94652/ft1_filtered_4FGL_J1036.2+2202_daily_bin1717.fits scfile=/scratch/kocevski/94652/ft2_4FGL_J1036.2+2202_daily_bin1717.fits outfile=/scratch/kocevski/94652/cmap_684374401_684633601_4FGL_J1036.2+2202_daily_bin1717.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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94652/ft1_filtered_4FGL_J1036.2+2202_daily_bin1717.fits scfile=/scratch/kocevski/94652/ft2_4FGL_J1036.2+2202_daily_bin1717.fits outfile=/scratch/kocevski/94652/cmap_HighResolution_684374401_684633601_4FGL_J1036.2+2202_daily_bin1717.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.58
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.444       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1852       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58897E-07   1.0000          .0000       .10000E+07
     4 'norm      '    25.147       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.134       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19433       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.084       1.0000          .0000       .10000E+07
     8 'Prefactor '    .31870E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.4468       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.384       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23573E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .59782E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .26082E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .40297E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .39835       1.0000          .0000       .10000E+07
    16 'Prefactor '    .59855       1.0000          .0000       .10000E+07
    17 'Prefactor '    .56275E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.4975       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3046       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0471       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=   5785.761     FROM MIGRAD    STATUS=CONVERGED     98 CALLS     1496 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.446        2.1100       -.15133E-06    .16827    
   2  Prefactor     3.1906        4.4469       -.70170E-06   -.14598E-03
   3  Prefactor     .55511E-10    .60989       -.30397E-07** at limit **
   4  norm          25.126        2.3469        .16474E-06    .21787E-01
   5  Prefactor     23.217        2.7691        .33443E-06   -.13250    
   6  Prefactor     .25091E-07    2.0805        .31868E-06** at limit **
   7  Prefactor     18.174        3.3939        .32057E-07   -.22559E-01
   8  Prefactor     .18907E-06    5.5557        .15721E-05** at limit **
   9  Prefactor     8.3849        7.0639       -.15741E-05   -.83539E-01
  10  Prefactor     12.393        2.2611       -.34498E-08   -.24431E-01
  11  Prefactor     .39968E-08    13.452        .10377E-05** at limit **
  12  Prefactor     .10253E-06    5.1313       -.20419E-05** at limit **
  13  Prefactor     .69389E-08    3.9610       -.30287E-06** at limit **
  14  Prefactor     .66613E-09    8.2285        .21581E-05** at limit **
  15  norm          .40297        3.3360        .14639E-05    .29549E-02
  16  Prefactor     .59845        1.3485        .12730E-06    .31618E-04
  17  Prefactor     .78715E-07    2.9473        .17038E-05** at limit **
  18  Prefactor     2.4307        1.0730        .91280E-07    .53214E-03
  19  Normalizat    1.3047        .23122        .13060E-04   -.22416E-03
  20  Prefactor     1.0470        .24227       -.15498E-04   -.91059E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.446
  Prefactor  = 3.19063
  Prefactor  = 5.55112e-11
  norm       = 25.1258
  Prefactor  = 23.2175
  Prefactor  = 2.5091e-08
  Prefactor  = 18.1741
  Prefactor  = 1.89071e-07
  Prefactor  = 8.38489
  Prefactor  = 12.3931
  Prefactor  = 3.9968e-09
  Prefactor  = 1.02529e-07
  Prefactor  = 6.93889e-09
  Prefactor  = 6.66134e-10
  norm       = 0.402969
  Prefactor  = 0.598455
  Prefactor  = 7.87148e-08
  Prefactor  = 2.43068
  Normalizat = 1.30465
  Prefactor  = 1.04701
 **********
 **   18 **HESSE 
 **********

 FCN=   5785.761     FROM HESSE     STATUS=OK           337 CALLS     1833 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.446        56.677        .12758E-03   -1.5551    
   2  Prefactor     3.1906        4.4662        .56753E-03   -1.5672    
   3  Prefactor     .55511E-10    .61222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          25.126        10.336        .19946E-03   -1.5608    
   5  Prefactor     23.217        44.014        .20796E-03   -1.5612    
   6  Prefactor     .25091E-07    38.473        .11878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.174        10.263        .23525E-03   -1.5623    
   8  Prefactor     .18907E-06    1.2248        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.3849        9.1556        .34468E-03   -1.5650    
  10  Prefactor     12.393        11.079        .28440E-03   -1.5638    
  11  Prefactor     .39968E-08    13.495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10253E-06    6.7884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .69389E-08    4.5424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .66613E-09    8.5970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .40297        3.2803        .89678E-03   -1.5695    
  16  Prefactor     .59845        1.3803        .69358E-03   -1.5692    
  17  Prefactor     .78715E-07    3.7137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4307        31.501        .64644E-03   -1.5677    
  19  Normalizat    1.3047        .20181        .55702E-01   -.83428    
  20  Prefactor     1.0470        .20478        .64790E-01   -.91179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07181e-06
Minuit parameter uncertainties:
  1  56.678
  2  4.46616
  3  1.01733e-05
  4  10.336
  5  44.0149
  6  0.00196544
  7  10.2631
  8  0.000962446
  9  9.15558
  10  11.0789
  11  0.000463231
  12  0.00166852
  13  0.000355725
  14  0.000150437
  15  2.29944
  16  1.38026
  17  0.00108148
  18  17.5007
  19  0.201935
  20  0.204931
Done.

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

Extracting fit parameters...

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  1.817e+01  1.026e+01  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.047e+00  2.049e-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.305e+00  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.83
Ra Dec: 159.053 22.040
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.02e-07 +/- 5.73e-08
Energy Flux (Fixed Index): 2.63e-05 +/- 1.48e-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) = 5784.11237515
delta logL = 1.64858005215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5784.09290892
delta logL = 1.66804627988

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.253       1.0000          .0000       .10000E+07
     2 'Index     '    1.8140       1.0000          .0000       10.000    
     3 'Normalizat'    1.3744       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99189       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=   5784.093     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      220 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.259        10.904        .22227E-03    .59842E-03
   2  Index         1.8141        .30550        .14356       -.97495E-04
   3  Normalizat    1.3744        .19302        .54513E-01   -.89670E-05
   4  Prefactor     .99187        .20371        .66233E-01    .32642E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.2595
  Index      = 1.8141
  Normalizat = 1.37438
  Prefactor  = 0.991872
 **********
 **   18 **HESSE 
 **********

 FCN=   5784.093     FROM HESSE     STATUS=OK            33 CALLS      253 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.259        12.449        .88909E-05   -1.5618    
   2  Index         1.8141        .37825        .58572E-02   -.69083    
   3  Normalizat    1.3744        .23017        .24104E-03   -.81373    
   4  Prefactor     .99187        .24193        .29294E-03   -.93001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67086e-11
Minuit parameter uncertainties:
  1  12.4494
  2  0.378859
  3  0.230338
  4  0.242197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94652': 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) = 5784.09290879
delta logL = 1.66804641448

Extracting fit parameters...

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  2.026e+01  1.245e+01  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  1.814e+00  3.789e-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:  9.919e-01  2.422e-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.374e+00  2.303e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.21
Ra Dec: 159.053 22.040
Photon Index (Free Index): 1.81 +/- 0.38
Photon Flux (Free Index): 5.64e-08 +/- 4.12e-08
Energy Flux (Free Index): 6.47e-05 +/- 5.37e-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/94652/cmap_HighResolution_684374401_684633601_4FGL_J1036.2+2202_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.02e-07', energy_flux2='6.47e-05', photon_flux_error='5.73e-08', dlogl='1.67e+00', energy_flux='2.63e-05', photon_flux2='5.64e-08', job_status='DONE', time_completed='2022-09-16 15:38:33.095783', photon_index_error2='0.38', photon_index2='1.81', ts='5.83', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='5.37e-05', EG='1.30', time_epoch_completed='1663367913.1', return_code='0', job_id='94652', GAL2='0.99', EG2='1.37', return_code2='0', energy_flux_error='1.48e-05', photon_flux_error2='4.12e-08', ts2='9.21', photon_index='2.61' WHERE bin_id='1717' AND source_name='4FGL J1036.2+2202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:38:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 94652: <4FGL_J1036.2+2202_daily_bin1717> in cluster <slac> Done

Job <4FGL_J1036.2+2202_daily_bin1717> 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) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:25:52 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:52 2022
Terminated at Fri Sep 16 15:38:33 2022
Results reported at Fri Sep 16 15:38:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1036.2+2202_daily_bin1717 159.053 22.0401 684374401 684633601 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 :                                   516.56 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             247.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            795 sec.

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

