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


Performing analysis on: 4FGL_J0836.2+2141_monthly_bin118
RA = 129.051, Dec = 21.6971
tmin = 542851201, tmax = 545443201
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='393839', job_status='RUN', time_executed='2021-10-19 20:08:13.083030', time_epoch_executed='1634699293.08' WHERE source_name='4FGL J0836.2+2141' and cadence='monthly' and bin_id='118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/393839

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

Retrieving the FT1 file...

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

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

Retrieving 176 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/393839/ft1_4FGL_J0836.2+2141_monthly_bin118.fits


Retrieving the FT1 file...

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

Retrieving 178 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/393839/ft2_4FGL_J0836.2+2141_monthly_bin118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/393839/ft1_4FGL_J0836.2+2141_monthly_bin118.fits outfile=/scratch/kocevski/393839/ft1_filteredMKT_4FGL_J0836.2+2141_monthly_bin118.fits ra=129.051 dec=21.6971 rad=12.0 tmin=542851201.0 tmax=545443201.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 19.00
user 18.09
sys 0.46

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/393839/ft2_4FGL_J0836.2+2141_monthly_bin118.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/393839/ft2_4FGL_J0836.2+2141_monthly_bin118.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/393839/ft1_filteredMKT_4FGL_J0836.2+2141_monthly_bin118.fits evtable="EVENTS" outfile="/scratch/kocevski/393839/ft1_filtered_4FGL_J0836.2+2141_monthly_bin118.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.66
user 0.43
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/393839/ft1_filtered_4FGL_J0836.2+2141_monthly_bin118.fits" evtable="EVENTS" scfile=/scratch/kocevski/393839/ft2_4FGL_J0836.2+2141_monthly_bin118.fits sctable="SC_DATA" outfile=/scratch/kocevski/393839/ltcube_542851201_545443201_4FGL_J0836.2+2141_monthly_bin118.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/393839/ft2_4FGL_J0836.2+2141_monthly_bin118.fits
.....................!
real 45.89
user 44.91
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/393839/ft1_filtered_4FGL_J0836.2+2141_monthly_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/393839/ft2_4FGL_J0836.2+2141_monthly_bin118.fits sctable="SC_DATA" expcube=/scratch/kocevski/393839/ltcube_542851201_545443201_4FGL_J0836.2+2141_monthly_bin118.fits outfile=/scratch/kocevski/393839/expmap_542851201_545443201_4FGL_J0836.2+2141_monthly_bin118.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/393839/ltcube_542851201_545443201_4FGL_J0836.2+2141_monthly_bin118.fits
.....................!
real 193.58
user 186.25
sys 4.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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J0836.2+2141 @ 129.051 21.6971

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/393839/ft1_filtered_4FGL_J0836.2+2141_monthly_bin118.fits scfile=/scratch/kocevski/393839/ft2_4FGL_J0836.2+2141_monthly_bin118.fits outfile=/scratch/kocevski/393839/cmap_542851201_545443201_4FGL_J0836.2+2141_monthly_bin118.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=129.051 yref=21.6971 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.62
user 0.44
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/393839/ft1_filtered_4FGL_J0836.2+2141_monthly_bin118.fits scfile=/scratch/kocevski/393839/ft2_4FGL_J0836.2+2141_monthly_bin118.fits outfile=/scratch/kocevski/393839/cmap_HighResolution_542851201_545443201_4FGL_J0836.2+2141_monthly_bin118.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=129.051 yref=21.6971 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.63
user 0.46
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/393839/ft1_filtered_4FGL_J0836.2+2141_monthly_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/393839/ft2_4FGL_J0836.2+2141_monthly_bin118.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/393839/Model_4FGL_J0836.2+2141_monthly_bin118.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/393839/ft1_filtered_4FGL_J0836.2+2141_monthly_bin118.fits.....................!
real 38.59
user 36.74
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/393839/ft1_filtered_4FGL_J0836.2+2141_monthly_bin118.fits', '/scratch/kocevski/393839/ft2_4FGL_J0836.2+2141_monthly_bin118.fits', expMap='/scratch/kocevski/393839/expmap_542851201_545443201_4FGL_J0836.2+2141_monthly_bin118.fits', expCube='/scratch/kocevski/393839/ltcube_542851201_545443201_4FGL_J0836.2+2141_monthly_bin118.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/393839/Model_4FGL_J0836.2+2141_monthly_bin118.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0836.2+2141'

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  2.336e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  2.731e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  5.085e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/393839/ft1_filtered_4FGL_J0836.2+2141_monthly_bin118.fits
Spacecraft file(s): /scratch/kocevski/393839/ft2_4FGL_J0836.2+2141_monthly_bin118.fits
Exposure map: /scratch/kocevski/393839/expmap_542851201_545443201_4FGL_J0836.2+2141_monthly_bin118.fits
Exposure cube: /scratch/kocevski/393839/ltcube_542851201_545443201_4FGL_J0836.2+2141_monthly_bin118.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/393839/Model_4FGL_J0836.2+2141_monthly_bin118.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) = 3039.12825244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.314       1.0000         .10000E-03   10000.    
     2 'Prefactor '    118.79       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10347E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10608E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .15680E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.0463       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9586       1.0000         .10000E-03   10000.    
    13 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6047       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.845       1.0000         .10000E-03   10000.    
    17 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .16046E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .20825E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .87665       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0048       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3039.120     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2245 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.323        50.049       -.32135E-05    .47131E-05
   2  Prefactor     118.88        104.33        .49639E-05   -.88647E-04
   3  Prefactor     .10000E-03    98.386       -.49523E-05** at limit **
   4  norm          .10000E-03    55.255        .14642E-05** at limit **
   5  Prefactor     .10000E-03    40.027       -.39371E-05** at limit **
   6  Prefactor     .10000E-03    43.973        .44072E-05** at limit **
   7  Prefactor     .10000E-03    88.504       -.11484E-04** at limit **
   8  Prefactor     .10000E-03    24.870        .65302E-07** at limit **
   9  norm          .10001E-03    1.7939       -.12013E-05** at limit **
  10  Prefactor     .10000E-03    9.4179        .24953E-07** at limit **
  11  Prefactor     5.0459        5.6282        .40976E-06    .17462E-03
  12  Prefactor     1.9557        162.67       -.14147E-04   -.26110E-04
  13  norm          .10000E-03    .57178       -.10105E-05** at limit **
  14  Prefactor     5.5974        16.104       -.38290E-05    .24326E-03
  15  Prefactor     .10000E-03    18.647        .94388E-07** at limit **
  16  norm          12.844        8.6278       -.92771E-06    .12106E-03
  17  norm          .10000E-03    14.753       -.25431E-06** at limit **
  18  norm          .10001E-03    129.59        .28582E-04** at limit **
  19  Prefactor     .10000E-03    528.80       -.10680E-04** at limit **
  20  Normalizat    .87666        .27256        .12503E-04    .36233E-03
  21  Prefactor     1.0048        .21425       -.14723E-05    .99020E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.3235
  Prefactor  = 118.884
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 5.04592
  Prefactor  = 1.9557
  norm       = 0.0001
  Prefactor  = 5.59735
  Prefactor  = 0.0001
  norm       = 12.8442
  norm       = 0.0001
  norm       = 0.000100012
  Prefactor  = 0.000100005
  Normalizat = 0.87666
  Prefactor  = 1.00478
 **********
 **   18 **HESSE 
 **********

 FCN=   3039.120     FROM HESSE     STATUS=OK           319 CALLS     2564 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.323        50.232        .12476E-03   -1.5065    
   2  Prefactor     118.88        103.71        .18460E-03   -1.3523    
   3  Prefactor     .10000E-03    98.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    55.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    39.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    43.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    88.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    24.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10001E-03    6.0462        .14218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.4402        .16513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.0459        5.6292        .13418E-03   -1.5259    
  12  Prefactor     1.9557        163.60        .29643E-03   -1.5428    
  13  norm          .10000E-03    .84595        .79366E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.5974        16.467        .84845E-03   -1.5235    
  15  Prefactor     .10000E-03    18.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.844        8.6604        .11176E-03   -1.4991    
  17  norm          .10000E-03    14.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10001E-03    6.5815        .41759E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    539.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .87666        .30804        .26905E-03   -.97285    
  21  Prefactor     1.0048        .25231        .20661E-03   -.92570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.86841e-09
Minuit parameter uncertainties:
  1  45.6061
  2  103.871
  3  0.000493813
  4  0.000181611
  5  0.000254553
  6  0.000395145
  7  0.00114697
  8  9.83959e-05
  9  0.000453608
  10  6.83876e-05
  11  5.62974
  12  35.8753
  13  2.8281e-05
  14  16.4806
  15  6.24516e-05
  16  8.66125
  17  7.83195e-06
  18  0.000565404
  19  0.00329829
  20  0.308656
  21  0.252608
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.000e-04  6.839e-05  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  2.731e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  5.085e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.005e+00  2.526e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  8.767e-01  3.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 129.051 21.697
Photon Flux Upper Limit: 1.63e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.28e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/393839/likelihoodResults_542851201_545443201_4FGL_J0836.2+2141_monthly_bin118.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) = 3039.12014806
delta logL = -0.000504642052874

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3039.11964354
delta logL = -1.24949110614e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7304       1.0000          .0000       10.000    
     3 'Normalizat'    .87661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0048       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3039.120     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    99.531        .90712E-02** at limit **
   2  Index         2.7300        8.5380        .50000        .32190E-06
   3  Normalizat    .87667        .20684E-01    .44602E-01    .24561E-04
   4  Prefactor     1.0048        .16981E-01    .44227E-01    .12548E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.73004
  Normalizat = 0.876671
  Prefactor  = 1.00477
 **********
 **   18 **HESSE 
 **********

 FCN=   3039.120     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      233 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    626.12        .16513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7300        8.3521        .50000       -.47124    
   3  Normalizat    .87667        .56068E-01    .26905E-03   -.97285    
   4  Prefactor     1.0048        .46042E-01    .20660E-03   -.92571    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.58313e-08
Minuit parameter uncertainties:
  1  7.12831e-05
  2  2172.12
  3  0.0560713
  4  0.046044
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/393839': 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) = 3039.11964342
delta logL = 1.35014488478e-09

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.000e-04  7.128e-05  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  2.730e+00  2.172e+03  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  5.085e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.005e+00  4.604e-02  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  8.767e-01  5.607e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 129.051 21.697

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/393839/cmap_HighResolution_542851201_545443201_4FGL_J0836.2+2141_monthly_bin118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', job_status='DONE', photon_flux_upper_limit='1.63e-07', time_completed='2021-10-19 20:18:23.998989', job_id='393839', GAL2='1.00', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1634699904.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.35e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='118' AND source_name='4FGL J0836.2+2141' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue Oct 19 20:18:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 393839: <4FGL_J0836.2+2141_monthly_bin118> in cluster <slac> Done

Job <4FGL_J0836.2+2141_monthly_bin118> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Oct 19 20:05:13 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 19 20:05:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 19 20:05:29 2021
Terminated at Tue Oct 19 20:18:24 2021
Results reported at Tue Oct 19 20:18:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_monthly_bin118 129.051 21.6971 542851201 545443201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0836.2+2141 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   580.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             238.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            791 sec.

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

