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


Performing analysis on: 4FGL_J1036.2+2202_daily_bin1748
RA = 159.053, Dec = 22.0401
tmin = 692409601, tmax = 692668801
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='881929', job_status='RUN', time_executed='2022-12-14 00:27:12.374721', time_epoch_executed='1671006432.37' WHERE source_name='4FGL J1036.2+2202' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/881929

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/881929/ft1_4FGL_J1036.2+2202_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/881929/ft2_4FGL_J1036.2+2202_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/881929/ft1_4FGL_J1036.2+2202_daily_bin1748.fits outfile=/scratch/kocevski/881929/ft1_filteredMKT_4FGL_J1036.2+2202_daily_bin1748.fits ra=159.053 dec=22.0401 rad=12.0 tmin=692409601.0 tmax=692668801.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.58
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/881929/ft2_4FGL_J1036.2+2202_daily_bin1748.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/881929/ft1_filteredMKT_4FGL_J1036.2+2202_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/881929/ft1_filtered_4FGL_J1036.2+2202_daily_bin1748.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 643

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/881929/ft1_filtered_4FGL_J1036.2+2202_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881929/ft2_4FGL_J1036.2+2202_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/881929/ltcube_692409601_692668801_4FGL_J1036.2+2202_daily_bin1748.fits outfile=/scratch/kocevski/881929/expmap_692409601_692668801_4FGL_J1036.2+2202_daily_bin1748.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/881929/ltcube_692409601_692668801_4FGL_J1036.2+2202_daily_bin1748.fits
.....................!
real 189.30
user 184.26
sys 4.74

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/881929/ft1_filtered_4FGL_J1036.2+2202_daily_bin1748.fits scfile=/scratch/kocevski/881929/ft2_4FGL_J1036.2+2202_daily_bin1748.fits outfile=/scratch/kocevski/881929/cmap_692409601_692668801_4FGL_J1036.2+2202_daily_bin1748.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.53
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/881929/ft1_filtered_4FGL_J1036.2+2202_daily_bin1748.fits scfile=/scratch/kocevski/881929/ft2_4FGL_J1036.2+2202_daily_bin1748.fits outfile=/scratch/kocevski/881929/cmap_HighResolution_692409601_692668801_4FGL_J1036.2+2202_daily_bin1748.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.55
user 0.41
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.843       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.8747       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.6536       1.0000          .0000       .10000E+07
     4 'norm      '    5.2230       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37401E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .45100       1.0000          .0000       .10000E+07
     7 'Prefactor '    .44444E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .19801E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    21.726       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.9718       1.0000          .0000       .10000E+07
    11 'Prefactor '    50.363       1.0000          .0000       .10000E+07
    12 'Prefactor '    23.688       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10119E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .65074E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .30864E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.2051       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13488E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .73149E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1399       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99611       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=   7212.928     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1531 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.527        56.369       -.97815E-06   -.17047E-01
   2  Prefactor     2.8704        3.4347       -.12638E-06   -.51707E-05
   3  Prefactor     3.6583        2.3165       -.35460E-07    .34598E-03
   4  norm          5.2347        5.2592       -.18070E-06   -.10961E-03
   5  Prefactor     .14377E-07    26.905        .23490E-06** at limit **
   6  Prefactor     .72387E-07    64.949       -.12378E-05** at limit **
   7  Prefactor     .48358E-01    24.778       -.27474E-06** at limit **
   8  Prefactor      .0000        .65668       -.70872E-07** at limit **
   9  Prefactor     21.790        8.0604        .86266E-07    .90104E-03
  10  Prefactor     7.0092        7.3144       -.57958E-07   -.13745E-01
  11  Prefactor     50.241        4.9546        .77830E-07   -.25895    
  12  Prefactor     23.728        3.9505       -.28313E-07    .29987E-01
  13  Prefactor     .16653E-09    5.7648       -.43061E-06** at limit **
  14  Prefactor      .0000        4.9557       -.11628E-06** at limit **
  15  norm           .0000        .97121        .11884E-06** at limit **
  16  Prefactor     4.2101        3.0198       -.11888E-06    .69454E-03
  17  Prefactor     .66003E-07    11.823       -.34606E-06** at limit **
  18  Prefactor     .39690E-07    10.916       -.27143E-08** at limit **
  19  Normalizat    1.1395        .20026        .33611E-05   -.86066E-05
  20  Prefactor     .99583        .19972       -.19742E-05   -.52101E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.5272
  Prefactor  = 2.8704
  Prefactor  = 3.65833
  norm       = 5.23468
  Prefactor  = 1.43774e-08
  Prefactor  = 7.23865e-08
  Prefactor  = 0.0483578
  Prefactor  = 0
  Prefactor  = 21.7897
  Prefactor  = 7.00922
  Prefactor  = 50.2406
  Prefactor  = 23.7276
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  Prefactor  = 4.21008
  Prefactor  = 6.60028e-08
  Prefactor  = 3.96905e-08
  Normalizat = 1.13951
  Prefactor  = 0.995826
 **********
 **   18 **HESSE 
 **********

 FCN=   7212.928     FROM HESSE     STATUS=OK           337 CALLS     1868 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.527        56.700        .15279E-03   -1.5575    
   2  Prefactor     2.8704        3.4367        .59923E-03   -1.5674    
   3  Prefactor     3.6583        2.3190        .52824E-03   -1.5670    
   4  norm          5.2347        5.2596        .43960E-03   -1.5662    
   5  Prefactor     .14377E-07    26.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .72387E-07    66.351        .83801E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .48358E-01    2.5365        .91183E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        .65738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.790        8.0618        .21460E-03   -1.5615    
  10  Prefactor     7.0092        9.7206        .37971E-03   -1.5655    
  11  Prefactor     50.241        37.322        .14092E-03   -1.5566    
  12  Prefactor     23.728        13.419        .20551E-03   -1.5611    
  13  Prefactor     .16653E-09    5.7682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        4.9612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .96448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.2101        3.0188        .49119E-03   -1.5667    
  17  Prefactor     .66003E-07    13.116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .39690E-07    11.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1395        .17205        .55862E-01   -.88493    
  20  Prefactor     .99583        .17033        .46218E-01   -.92869    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91199e-06
Minuit parameter uncertainties:
  1  56.7002
  2  3.4367
  3  2.31899
  4  5.25964
  5  0.00124429
  6  0.00438364
  7  0.700459
  8  3.88788e-07
  9  8.06183
  10  9.72062
  11  37.3219
  12  13.4188
  13  6.13557e-05
  14  1.94992e-05
  15  1.65113e-06
  16  3.01879
  17  0.00186114
  18  0.00135525
  19  0.172133
  20  0.170425
Done.

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

Extracting fit parameters...

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  4.836e-02  7.005e-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:  9.958e-01  1.704e-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.140e+00  1.721e-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: 7.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/881929/likelihoodResults_692409601_692668801_4FGL_J1036.2+2202_daily_bin1748.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) = 7212.9276615
delta logL = 6.93146266713e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7212.92764565
delta logL = 8.51611775943e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47676E-01   1.0000          .0000       .10000E+07
     2 'Index     '    2.7211       1.0000          .0000       10.000    
     3 'Normalizat'    1.1396       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99576       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=   7212.928     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      254 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82807E-01    5.7344        .88691E-02** at limit **
   2  Index         2.7494        6.2225        .50000       -.13718E-05
   3  Normalizat    1.1393        .68904E-02    .55867E-01    .53235E-05
   4  Prefactor     .99589        .71268E-02    .46214E-01    .28951E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0828066
  Index      = 2.7494
  Normalizat = 1.13927
  Prefactor  = 0.99589
 **********
 **   18 **HESSE 
 **********

 FCN=   7212.928     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      289 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82807E-01    10315.        .24340E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7494        8.5703        .73925E-01   -.46690    
   3  Normalizat    1.1393        .14278        .24704E-03   -.88501    
   4  Prefactor     .99589        .11309        .26992E-03   -.92867    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.16545e-07
Minuit parameter uncertainties:
  1  58.5524
  2  102.177
  3  0.142831
  4  0.113116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/881929': 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) = 7212.92761087
delta logL = 0.00011994522265

Extracting fit parameters...

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  8.281e-02  5.855e+01  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  2.749e+00  1.022e+02  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.959e-01  1.131e-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.139e+00  1.428e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/881929/cmap_HighResolution_692409601_692668801_4FGL_J1036.2+2202_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.95e-03', job_status='DONE', photon_flux_upper_limit='7.59e-08', time_completed='2022-12-14 00:36:45.062421', job_id='881929', GAL2='1.00', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1671007005.06', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.20e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1748' AND source_name='4FGL J1036.2+2202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:36:45 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 881929: <4FGL_J1036.2+2202_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1036.2+2202_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:25:37 2022
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:25:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:25:38 2022
Terminated at Wed Dec 14 00:36:46 2022
Results reported at Wed Dec 14 00:36:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1036.2+2202_daily_bin1748 159.053 22.0401 692409601 692668801 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 :                                   574.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            669 sec.

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

