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


Performing analysis on: 4FGL_J1036.2+2202_daily_bin1762
RA = 159.053, Dec = 22.0401
tmin = 696038401, tmax = 696297601
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='106574', job_status='RUN', time_executed='2023-01-25 00:49:14.244122', time_epoch_executed='1674636554.24' WHERE source_name='4FGL J1036.2+2202' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106574

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106574/ft1_4FGL_J1036.2+2202_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106574/ft2_4FGL_J1036.2+2202_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106574/ft1_4FGL_J1036.2+2202_daily_bin1762.fits outfile=/scratch/kocevski/106574/ft1_filteredMKT_4FGL_J1036.2+2202_daily_bin1762.fits ra=159.053 dec=22.0401 rad=12.0 tmin=696038401.0 tmax=696297601.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.68
user 3.45
sys 0.22

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

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

Number of photons that the gtmktime cut: 531

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106574/ft1_filtered_4FGL_J1036.2+2202_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/106574/ft2_4FGL_J1036.2+2202_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/106574/ltcube_696038401_696297601_4FGL_J1036.2+2202_daily_bin1762.fits outfile=/scratch/kocevski/106574/expmap_696038401_696297601_4FGL_J1036.2+2202_daily_bin1762.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/106574/ltcube_696038401_696297601_4FGL_J1036.2+2202_daily_bin1762.fits
.....................!
real 191.48
user 186.09
sys 5.01

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/106574/ft1_filtered_4FGL_J1036.2+2202_daily_bin1762.fits scfile=/scratch/kocevski/106574/ft2_4FGL_J1036.2+2202_daily_bin1762.fits outfile=/scratch/kocevski/106574/cmap_696038401_696297601_4FGL_J1036.2+2202_daily_bin1762.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.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106574/ft1_filtered_4FGL_J1036.2+2202_daily_bin1762.fits scfile=/scratch/kocevski/106574/ft2_4FGL_J1036.2+2202_daily_bin1762.fits outfile=/scratch/kocevski/106574/cmap_HighResolution_696038401_696297601_4FGL_J1036.2+2202_daily_bin1762.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.59
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13993E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.0509       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8477       1.0000          .0000       .10000E+07
     4 'norm      '    2.9842       1.0000          .0000       .10000E+07
     5 'Prefactor '    32.950       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18364E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .64748E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .50815E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.071       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.9591       1.0000          .0000       .10000E+07
    11 'Prefactor '    .28193E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    19.180       1.0000          .0000       .10000E+07
    13 'Prefactor '    .36124E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .18888E-02   1.0000          .0000       .10000E+07
    15 'norm      '    2.2245       1.0000          .0000       .10000E+07
    16 'Prefactor '    .36893E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.1188       1.0000          .0000       .10000E+07
    18 'Prefactor '    .38547E-06   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2038       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0261       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=   6097.133     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1234 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35212E-05    20.831       -.15973E-05** at limit **
   2  Prefactor     4.0520        8.6371       -.91740E-06   -.21585E-01
   3  Prefactor     1.8479        2.7675        .10206E-05   -.41264E-03
   4  norm          2.9836        3.9506        .15242E-06    .24725E-02
   5  Prefactor     32.704        13.487       -.97457E-06    .21867    
   6  Prefactor     .91477E-06    8.6911        .16495E-07** at limit **
   7  Prefactor     .46863E-06    9.1675       -.20061E-05** at limit **
   8  Prefactor      .0000        1.4829        .19298E-06** at limit **
   9  Prefactor     16.093        8.5840        .57943E-06    .53068E-01
  10  Prefactor     4.7663        5.0740       -.38120E-06   -.33151E-01
  11  Prefactor     .13234E-06    8.1392        .11195E-05** at limit **
  12  Prefactor     19.440        3.5475        .83292E-07   -.10862    
  13  Prefactor     .10980E-06    7.6345        .55821E-06** at limit **
  14  Prefactor     .51403E-07    6.8458       -.53187E-07** at limit **
  15  norm          2.2240        1.8678        .23626E-06    .24304E-02
  16  Prefactor     .13822E-07    4.9207       -.40407E-08** at limit **
  17  Prefactor     4.1834        5.4528       -.62909E-06    .23073E-03
  18  Prefactor     .16653E-09    4.5741       -.16470E-05** at limit **
  19  Normalizat    1.2041        .23029        .15030E-04    .40818E-04
  20  Prefactor     1.0260        .23207       -.11470E-04    .26663E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.52124e-06
  Prefactor  = 4.05205
  Prefactor  = 1.84791
  norm       = 2.98358
  Prefactor  = 32.7043
  Prefactor  = 9.14768e-07
  Prefactor  = 4.68625e-07
  Prefactor  = 0
  Prefactor  = 16.093
  Prefactor  = 4.76634
  Prefactor  = 1.32339e-07
  Prefactor  = 19.4403
  Prefactor  = 1.09801e-07
  Prefactor  = 5.14033e-08
  norm       = 2.22401
  Prefactor  = 1.38223e-08
  Prefactor  = 4.1834
  Prefactor  = 1.66533e-10
  Normalizat = 1.20407
  Prefactor  = 1.02598
 **********
 **   18 **HESSE 
 **********

 FCN=   6097.133     FROM HESSE     STATUS=OK           335 CALLS     1569 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35212E-05    24.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0520        8.9914        .50074E-03   -1.5668    
   3  Prefactor     1.8479        2.7998        .76681E-03   -1.5681    
   4  norm          2.9836        3.9615        .58743E-03   -1.5673    
   5  Prefactor     32.704        34.178        .17423E-03   -1.5594    
   6  Prefactor     .91477E-06    21.045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .46863E-06    10.041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.4803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.093        8.6597        .24957E-03   -1.5628    
  10  Prefactor     4.7663        14.688        .45138E-03   -1.5664    
  11  Prefactor     .13234E-06    8.8733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.440        16.712        .22842E-03   -1.5620    
  13  Prefactor     .10980E-06    25.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .51403E-07    21.760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.2240        1.8760        .68911E-03   -1.5678    
  16  Prefactor     .13822E-07    4.8419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.1834        5.4616        .49647E-03   -1.5667    
  18  Prefactor     .16653E-09    4.6075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2041        .19262        .55939E-01   -.86477    
  20  Prefactor     1.0260        .19079        .61463E-01   -.91868    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09188e-06
Minuit parameter uncertainties:
  1  0.0185136
  2  8.99146
  3  2.79979
  4  3.9615
  5  34.1782
  6  0.00877547
  7  0.00433834
  8  4.51134e-06
  9  8.65968
  10  14.6882
  11  0.00216718
  12  16.7118
  13  0.00332073
  14  0.00211482
  15  1.87601
  16  0.000517039
  17  5.46164
  18  5.92804e-05
  19  0.192733
  20  0.190914
Done.

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

Extracting fit parameters...

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  4.686e-07  4.338e-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.026e+00  1.909e-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.204e+00  1.927e-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: 8.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/106574/likelihoodResults_696038401_696297601_4FGL_J1036.2+2202_daily_bin1762.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) = 6097.19166225
delta logL = -0.0591052198424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6097.13255765
delta logL = -6.18980266154e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24315E-01   1.0000          .0000       .10000E+07
     2 'Index     '    2.0170       1.0000          .0000       10.000    
     3 'Normalizat'    1.2037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0265       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=   6097.133     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      260 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14853E-01    28.374        .83750E-02** at limit **
   2  Index         2.0192        8.5391        .50000        .30131E-04
   3  Normalizat    1.2041        .13331E-01    .55939E-01   -.81992E-06
   4  Prefactor     1.0259        .13716E-01    .61465E-01   -.61998E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0148526
  Index      = 2.0192
  Normalizat = 1.20409
  Prefactor  = 1.02592
 **********
 **   18 **HESSE 
 **********

 FCN=   6097.133     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      303 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14853E-01    61.845        .56252E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0192        6.3919        .50000       -.63871    
   3  Normalizat    1.2041        .16238E-01    .24736E-03   -.86477    
   4  Prefactor     1.0259        .16706E-01    .27183E-03   -.91870    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.97305e-08
Minuit parameter uncertainties:
  1  1.91686
  2  22.817
  3  0.016238
  4  0.0167063
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106574': 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) = 6097.13255213
delta logL = 4.90604543302e-06

Extracting fit parameters...

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  1.485e-02  1.917e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  2.019e+00  2.282e+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.026e+00  1.671e-02  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.204e+00  1.624e-02  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/106574/cmap_HighResolution_696038401_696297601_4FGL_J1036.2+2202_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.55e-03', job_status='DONE', photon_flux_upper_limit='8.36e-08', time_completed='2023-01-25 00:57:50.347501', job_id='106574', GAL2='1.03', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1674637070.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='4.91e-06', ts2='0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1762' AND source_name='4FGL J1036.2+2202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 00:57:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 106574: <4FGL_J1036.2+2202_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1036.2+2202_daily_bin1762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 25 00:45:26 2023
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:49:03 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:49:03 2023
Terminated at Wed Jan 25 00:57:51 2023
Results reported at Wed Jan 25 00:57:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1036.2+2202_daily_bin1762 159.053 22.0401 696038401 696297601 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 :                                   518.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             339.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   529 sec.
    Turnaround time :                            745 sec.

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

