/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 5 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1036.2+2202_daily_bin814
RA = 159.053, Dec = 22.0401
tmin = 450316801, tmax = 450576001
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='998463', job_status='RUN', time_executed='2021-09-02 04:42:47.896827', time_epoch_executed='1630582967.9' WHERE source_name='4FGL J1036.2+2202' and cadence='daily' and bin_id='814'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998463/ft1_4FGL_J1036.2+2202_daily_bin814.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998463/ft2_4FGL_J1036.2+2202_daily_bin814.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998463/ft1_4FGL_J1036.2+2202_daily_bin814.fits outfile=/scratch/kocevski/998463/ft1_filteredMKT_4FGL_J1036.2+2202_daily_bin814.fits ra=159.053 dec=22.0401 rad=12.0 tmin=450316801.0 tmax=450576001.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.00
user 3.75
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998463/ft1_filtered_4FGL_J1036.2+2202_daily_bin814.fits evtable="EVENTS" scfile=/scratch/kocevski/998463/ft2_4FGL_J1036.2+2202_daily_bin814.fits sctable="SC_DATA" expcube=/scratch/kocevski/998463/ltcube_450316801_450576001_4FGL_J1036.2+2202_daily_bin814.fits outfile=/scratch/kocevski/998463/expmap_450316801_450576001_4FGL_J1036.2+2202_daily_bin814.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/998463/ltcube_450316801_450576001_4FGL_J1036.2+2202_daily_bin814.fits
.....................!
real 190.39
user 185.97
sys 3.95

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/998463/ft1_filtered_4FGL_J1036.2+2202_daily_bin814.fits scfile=/scratch/kocevski/998463/ft2_4FGL_J1036.2+2202_daily_bin814.fits outfile=/scratch/kocevski/998463/cmap_450316801_450576001_4FGL_J1036.2+2202_daily_bin814.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.59
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/998463/ft1_filtered_4FGL_J1036.2+2202_daily_bin814.fits scfile=/scratch/kocevski/998463/ft2_4FGL_J1036.2+2202_daily_bin814.fits outfile=/scratch/kocevski/998463/cmap_HighResolution_450316801_450576001_4FGL_J1036.2+2202_daily_bin814.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.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/998463/ft1_filtered_4FGL_J1036.2+2202_daily_bin814.fits', '/scratch/kocevski/998463/ft2_4FGL_J1036.2+2202_daily_bin814.fits', expMap='/scratch/kocevski/998463/expmap_450316801_450576001_4FGL_J1036.2+2202_daily_bin814.fits', expCube='/scratch/kocevski/998463/ltcube_450316801_450576001_4FGL_J1036.2+2202_daily_bin814.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/998463/Model_4FGL_J1036.2+2202_daily_bin814.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  1.000e-04  1.000e+04 ( 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/998463/ft1_filtered_4FGL_J1036.2+2202_daily_bin814.fits
Spacecraft file(s): /scratch/kocevski/998463/ft2_4FGL_J1036.2+2202_daily_bin814.fits
Exposure map: /scratch/kocevski/998463/expmap_450316801_450576001_4FGL_J1036.2+2202_daily_bin814.fits
Exposure cube: /scratch/kocevski/998463/ltcube_450316801_450576001_4FGL_J1036.2+2202_daily_bin814.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/998463/Model_4FGL_J1036.2+2202_daily_bin814.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) = 5998.63684401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.492       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10560E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6325       1.0000         .10000E-03   10000.    
     5 'norm      '    15.174       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7107       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .45262E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8515       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.932       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.286       1.0000         .10000E-03   10000.    
    16 'norm      '    5.1156       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8062       1.0000         .10000E-03   10000.    
    19 'norm      '    4.7564       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6219       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .65758       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=   5998.545     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2055 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.367        121.96        .21614E-04    .26216E-04
   2  Prefactor     .10000E-03    67.601       -.22896E-06** at limit **
   3  Prefactor     .10000E-03    6.1591       -.40259E-06** at limit **
   4  Prefactor     1.6322        1.8271        .32674E-07   -.19387E-04
   5  norm          15.175        9.3141        .38527E-07   -.51593E-04
   6  Prefactor     .10000E-03    17.603        .15505E-05** at limit **
   7  Prefactor     .10000E-03    15.470       -.11323E-05** at limit **
   8  Prefactor     2.7191        6.5776        .20878E-05   -.34770E-04
   9  Prefactor     .10074E-03    1.3269        .65951E-06** at limit **
  10  Prefactor     .10000E-03    4.9349        .76524E-07** at limit **
  11  Prefactor     1.8501        5.3945        .19977E-06   -.58487E-04
  12  Prefactor     20.931        21.765        .14673E-06   -.72834E-05
  13  Prefactor     .10000E-03    4.0162        .28313E-07** at limit **
  14  Prefactor     .10000E-03    8.6979        .12984E-06** at limit **
  15  Prefactor     14.294        12.616        .77101E-07   -.58014E-04
  16  norm          5.1147        2.5660        .64594E-07   -.32516E-04
  17  Prefactor     .10000E-03    2.4043        .45294E-07** at limit **
  18  Prefactor     1.8056        4.5380        .17076E-06    .16697E-05
  19  norm          4.7477        16.098        .38133E-06   -.88077E-05
  20  Prefactor     .10000E-03    3.9046        .19026E-07** at limit **
  21  Normalizat    1.6220        .19436       -.12349E-05   -.23986E-03
  22  Prefactor     .65769        .18470        .26981E-07   -.18295E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.367
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.63224
  norm       = 15.1751
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.71907
  Prefactor  = 0.00010074
  Prefactor  = 0.0001
  Prefactor  = 1.85011
  Prefactor  = 20.9307
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.2937
  norm       = 5.11472
  Prefactor  = 0.0001
  Prefactor  = 1.80562
  norm       = 4.74769
  Prefactor  = 0.0001
  Normalizat = 1.62204
  Prefactor  = 0.657686
 **********
 **   18 **HESSE 
 **********

 FCN=   5998.545     FROM HESSE     STATUS=OK           346 CALLS     2401 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.367        122.45        .12369E-03   -1.5064    
   2  Prefactor     .10000E-03    67.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.2339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6322        1.8211        .10755E-03   -1.5452    
   5  norm          15.175        9.3220        .10282E-03   -1.4929    
   6  Prefactor     .10000E-03    17.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.7191        6.5863        .12369E-02   -1.5378    
   9  Prefactor     .10074E-03    33.022        .15873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.9878        .16796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.8501        5.3371        .29348E-03   -1.5436    
  12  Prefactor     20.931        21.768        .87546E-04   -1.4793    
  13  Prefactor     .10000E-03    4.0222        .15154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.7542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.294        12.600        .10597E-03   -1.4952    
  16  norm          5.1147        2.5658        .84764E-04   -1.5256    
  17  Prefactor     .10000E-03    2.4760        .23434E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.8056        4.5056        .25414E-03   -1.5439    
  19  norm          4.7477        16.121        .18449E-03   -1.5272    
  20  Prefactor     .10000E-03    3.9064        .14947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.6220        .22422        .22191E-03   -.74404    
  22  Prefactor     .65769        .21407        .32373E-03   -1.0521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07353e-08
Minuit parameter uncertainties:
  1  71.4414
  2  6.73082e-05
  3  2.4428e-05
  4  1.82114
  5  9.32291
  6  5.68205e-05
  7  3.36794e-05
  8  6.58809
  9  0.00989372
  10  8.08583e-06
  11  5.33848
  12  21.7762
  13  3.28729e-07
  14  9.43403e-06
  15  12.6023
  16  2.5659
  17  5.3811e-06
  18  4.50642
  19  16.1359
  20  1.12662e-06
  21  0.224355
  22  0.214336
Done.

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

Extracting fit parameters...

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  2.719e+00  6.588e+00  1.000e-04  1.000e+04 ( 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:  6.577e-01  2.143e-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.622e+00  2.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/998463/likelihoodResults_450316801_450576001_4FGL_J1036.2+2202_daily_bin814.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): 0
logL (Free Index) = 5998.53888985
delta logL = 0.00586442179792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5998.53812704
delta logL = 0.0066272351296

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8720       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2483       1.0000          .0000       10.000    
     3 'Normalizat'    1.6288       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65250       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5998.538     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      310 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8710        6.8530        .23985E-03    .53088E-04
   2  Index         2.2489        2.2517        .11434E-01    .54706E-05
   3  Normalizat    1.6285        .22117        .22156E-03   -.76404E-04
   4  Prefactor     .65285        .21457        .32482E-03    .16118E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.87102
  Index      = 2.24894
  Normalizat = 1.62846
  Prefactor  = 0.652853
 **********
 **   18 **HESSE 
 **********

 FCN=   5998.538     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8710        6.9200        .95939E-05   -1.5369    
   2  Index         2.2489        2.2725        .45736E-03   -.58262    
   3  Normalizat    1.6285        .22139        .44312E-04   -.74230    
   4  Prefactor     .65285        .21469        .12993E-04   -1.0540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82729e-10
Minuit parameter uncertainties:
  1  6.92191
  2  2.403
  3  0.221521
  4  0.214962
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998463': 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) = 5998.53812567
delta logL = 0.00662860536249

Extracting fit parameters...

4FGL J1036.2+2202
   Spectrum: PowerLaw
236    Prefactor:  2.871e+00  6.922e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.249e+00  2.403e+00  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:  6.529e-01  2.150e-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.628e+00  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
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/998463/cmap_HighResolution_450316801_450576001_4FGL_J1036.2+2202_daily_bin814.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.51e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-02 04:52:55.523640', job_id='998463', GAL2='0.65', fit_tolerance='1e-08', EG2='1.63', EG='1.62', time_epoch_completed='1630583575.52', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='6.63e-03', ts2='0.22', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='814' AND source_name='4FGL J1036.2+2202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 04:52:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 998463: <4FGL_J1036.2+2202_daily_bin814> in cluster <slac> Done

Job <4FGL_J1036.2+2202_daily_bin814> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  2 04:40:41 2021
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 04:42:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  2 04:42:33 2021
Terminated at Thu Sep  2 04:52:55 2021
Results reported at Thu Sep  2 04:52:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1036.2+2202_daily_bin814 159.053 22.0401 450316801 450576001 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 :                                   605.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             374.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            734 sec.

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

