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


Performing analysis on: 4FGL_J1135.1+3014_monthly_bin167
RA = 173.788, Dec = 30.2344
tmin = 669859201, tmax = 672451201
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='883426', job_status='RUN', time_executed='2022-04-24 01:36:26.271300', time_epoch_executed='1650789386.27' WHERE source_name='4FGL J1135.1+3014' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/883426

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/883426/ft1_4FGL_J1135.1+3014_monthly_bin167.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/883426/ft2_4FGL_J1135.1+3014_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/883426/ft1_4FGL_J1135.1+3014_monthly_bin167.fits outfile=/scratch/kocevski/883426/ft1_filteredMKT_4FGL_J1135.1+3014_monthly_bin167.fits ra=173.788 dec=30.2344 rad=12.0 tmin=669859201.0 tmax=672451201.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 33.26
user 30.05
sys 2.00

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/883426/ft2_4FGL_J1135.1+3014_monthly_bin167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/883426/ft2_4FGL_J1135.1+3014_monthly_bin167.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/883426/ft1_filteredMKT_4FGL_J1135.1+3014_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/883426/ft1_filtered_4FGL_J1135.1+3014_monthly_bin167.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.75
user 0.55
sys 0.19

Number of photons that the gtmktime cut: 6499

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/883426/ft1_filtered_4FGL_J1135.1+3014_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/883426/ft2_4FGL_J1135.1+3014_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/883426/ltcube_669859201_672451201_4FGL_J1135.1+3014_monthly_bin167.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/883426/ft2_4FGL_J1135.1+3014_monthly_bin167.fits
.....................!
real 98.78
user 94.07
sys 3.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/883426/ft1_filtered_4FGL_J1135.1+3014_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/883426/ft2_4FGL_J1135.1+3014_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/883426/ltcube_669859201_672451201_4FGL_J1135.1+3014_monthly_bin167.fits outfile=/scratch/kocevski/883426/expmap_669859201_672451201_4FGL_J1135.1+3014_monthly_bin167.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/883426/ltcube_669859201_672451201_4FGL_J1135.1+3014_monthly_bin167.fits
.....................!
real 161.70
user 152.09
sys 4.98

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 197 point sources and 0 extended sources

Setting source of interest to:
4FGL J1135.1+3014 @ 173.788 30.2344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/883426/ft1_filtered_4FGL_J1135.1+3014_monthly_bin167.fits scfile=/scratch/kocevski/883426/ft2_4FGL_J1135.1+3014_monthly_bin167.fits outfile=/scratch/kocevski/883426/cmap_669859201_672451201_4FGL_J1135.1+3014_monthly_bin167.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=173.788 yref=30.2344 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 1.20
user 0.52
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/883426/ft1_filtered_4FGL_J1135.1+3014_monthly_bin167.fits scfile=/scratch/kocevski/883426/ft2_4FGL_J1135.1+3014_monthly_bin167.fits outfile=/scratch/kocevski/883426/cmap_HighResolution_669859201_672451201_4FGL_J1135.1+3014_monthly_bin167.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=173.788 yref=30.2344 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.79
user 0.52
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/883426/ft1_filtered_4FGL_J1135.1+3014_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/883426/ft2_4FGL_J1135.1+3014_monthly_bin167.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/883426/Model_4FGL_J1135.1+3014_monthly_bin167.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/883426/ft1_filtered_4FGL_J1135.1+3014_monthly_bin167.fits.....................!
real 432.43
user 399.81
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/883426/ft1_filtered_4FGL_J1135.1+3014_monthly_bin167.fits', '/scratch/kocevski/883426/ft2_4FGL_J1135.1+3014_monthly_bin167.fits', expMap='/scratch/kocevski/883426/expmap_669859201_672451201_4FGL_J1135.1+3014_monthly_bin167.fits', expCube='/scratch/kocevski/883426/ltcube_669859201_672451201_4FGL_J1135.1+3014_monthly_bin167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/883426/Model_4FGL_J1135.1+3014_monthly_bin167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1135.1+3014'

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  2.132e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.179e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/883426/ft1_filtered_4FGL_J1135.1+3014_monthly_bin167.fits
Spacecraft file(s): /scratch/kocevski/883426/ft2_4FGL_J1135.1+3014_monthly_bin167.fits
Exposure map: /scratch/kocevski/883426/expmap_669859201_672451201_4FGL_J1135.1+3014_monthly_bin167.fits
Exposure cube: /scratch/kocevski/883426/ltcube_669859201_672451201_4FGL_J1135.1+3014_monthly_bin167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/883426/Model_4FGL_J1135.1+3014_monthly_bin167.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) = 69549.727483

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0983       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .93601       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .26374       1.0000         .10000E-03   10000.    
     5 'Prefactor '    34.013       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0443       1.0000         .10000E-03   10000.    
     7 'norm      '    3.4492       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.8427       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2623       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5993       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2805       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2639       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10375E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.7146       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9596       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1990       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.1254       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4447       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.8046       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.9586       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .28647       1.0000         .10000E-03   10000.    
    24 'norm      '    12.488       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .99692       1.0000         .10000E-03   10000.    
    26 'Prefactor '    6.7640       1.0000         .10000E-03   10000.    
    27 'norm      '    4.5129       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .65239       1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.0083       1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.9515       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .88953       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.1568       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   69549.17     FROM MIGRAD    STATUS=FAILED      1569 CALLS     4510 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0987        2.9616        .45407E-03    .41903E-03
   2  Prefactor     .10000E-03    3.7127        .39489E-02** at limit **
   3  norm          .93593        .89918E-01    .23187E-04   -.16239E-02
   4  Prefactor     .26359        .68817        .18442E-02    .62879E-02
   5  Prefactor     34.043        5.4021        .68711E-04   -.11119E-03
   6  Prefactor     5.0434        3.0456        .17904E-03    .20320E-04
   7  norm          3.4323        4.1893        .21777E-03    .10775E-03
   8  Prefactor     3.8427        1.4681        .95945E-03    .10446E-03
   9  norm          2.2682        2.6900        .27310E-03    .20848E-03
  10  Prefactor     3.5969        2.3678        .21299E-03    .85404E-05
  11  Prefactor     4.2807        .86705        .96277E-04   -.20405E-03
  12  Prefactor     7.2604        9.4390        .14882E-03    .11000E-03
  13  Prefactor     .10000E-03    3.3606        .36285E-03** at limit **
  14  norm          1.7145        .60989        .11496E-03   -.50156E-03
  15  Prefactor     2.9561        2.8188        .23605E-03   -.33136E-04
  16  Prefactor     1.1991        .96071        .22052E-03    .30273E-03
  17  Prefactor     8.1415        10.609        .14065E-03   -.28193E-03
  18  norm          1.4446        .32334        .62457E-04   -.53996E-02
  19  Prefactor     .10000E-03    1.4618        .18142E-02** at limit **
  20  Prefactor     6.8004        3.5781        .15381E-03    .17621E-03
  21  Prefactor     1.9586        .51019        .92702E-04    .70050E-03
  22  Prefactor     .10000E-03    2.2322        .18142E-02** at limit **
  23  Prefactor     .27455        3.5150        .15457        .13025E-02
  24  norm          12.488        .65842        .46704E-04   -.16747E-03
  25  Prefactor     .99693        .87689        .23715E-02    .34128E-01
  26  Prefactor     6.7702        7.9957        .15428E-03   -.12734E-03
  27  norm          4.5129        .90822        .10372E-03   -.31568E-04
  28  Prefactor     .65232        1.2455        .40308E-03    .25452E-03
  29  Prefactor     2.0083        .60161        .10359E-03   -.52680E-05
  30  Prefactor     3.9515        .71451        .90848E-04    .46051E-04
  31  Normalizat    .88948        .66814E-01    .27659E-03   -.80692E-03
  32  Prefactor     1.1568        .74330E-01    .28944E-03   -.36889E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   69549.17     FROM SIMPLEX   STATUS=UNCHANGED   1483 CALLS     5993 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0987        2.9616        .47408E-06   -1.5498    
   2  Prefactor     .10000E-03    3.7127        .34140E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93593        .89918E-01    .53344E-09   -1.5514    
   4  Prefactor     .26359        .68817        .19126E-07   -1.5605    
   5  Prefactor     34.043        5.4021        .12649E-07   -1.4540    
   6  Prefactor     5.0434        3.0456        .13855E-07   -1.5259    
   7  norm          3.4323        4.1893        .35842E-07   -1.5337    
   8  Prefactor     3.8427        1.4681        .99807E-08   -1.5316    
   9  norm          2.2682        2.6900        .35756E-07   -1.5407    
  10  Prefactor     3.5969        2.3678        .22887E-07   -1.5329    
  11  Prefactor     4.2807        .86705        .71860E-08   -1.5294    
  12  Prefactor     7.2604        9.4390        .75305E-07   -1.5169    
  13  Prefactor     .10000E-03    3.3606        .34697E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.7145        .60989        .72726E-09   -1.5446    
  15  Prefactor     2.9561        2.8188        .56299E-07   -1.5364    
  16  Prefactor     1.1991        .96071        .11525E-07   -1.5489    
  17  Prefactor     8.1415        10.609        .44099E-07   -1.5137    
  18  norm          1.4446        .32334        .41128E-08   -1.5468    
  19  Prefactor     .10000E-03    1.4618        .26948E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.8004        3.5781        .54801E-08   -1.5186    
  21  Prefactor     1.9586        .51019        .87912E-09   -1.5428    
  22  Prefactor     .10000E-03    2.2322        .18052E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .27455        3.5150        .45370E-07   -1.5603    
  24  norm          12.488        .65842        .30622E-08   -1.5001    
  25  Prefactor     .99693        .87689        .80462E-08   -1.5508    
  26  Prefactor     6.7702        7.9957        .11289E-07   -1.5188    
  27  norm          4.5129        .90822        .39635E-09   -1.5283    
  28  Prefactor     .65232        1.2455        .60986E-08   -1.5546    
  29  Prefactor     2.0083        .60161        .46666E-08   -1.5425    
  30  Prefactor     3.9515        .71451        .80041E-09   -1.5310    
  31  Normalizat    .88948        .66814E-01    .20397E-08   -.96831    
  32  Prefactor     1.1568        .74330E-01    .31957E-08   -.87670    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   69549.17     FROM MIGRAD    STATUS=CONVERGED    642 CALLS     6635 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0987        2.9614        .18163E-04    .20030E-05
   2  Prefactor     .10000E-03    3.7772        .78978E-03** at limit **
   3  norm          .93593        .89917E-01    .92750E-06    .39341E-04
   4  Prefactor     .26355        .68584        .73767E-04   -.24659E-05
   5  Prefactor     34.043        5.4013        .27484E-05    .26473E-04
   6  Prefactor     5.0434        3.0455        .71614E-05    .50800E-05
   7  norm          3.4322        4.1879        .87108E-05    .83528E-05
   8  Prefactor     3.8427        1.4680        .38378E-04    .28438E-05
   9  norm          2.2682        2.6896        .10924E-04    .19982E-04
  10  Prefactor     3.5969        2.3675        .85195E-05    .42702E-05
  11  Prefactor     4.2807        .86696        .38511E-05    .66126E-04
  12  Prefactor     7.2604        9.4413        .59529E-05    .48890E-05
  13  Prefactor     .10000E-03    3.3607        .72569E-04** at limit **
  14  norm          1.7145        .60979        .45986E-05    .63289E-04
  15  Prefactor     2.9561        2.8184        .94418E-05    .77061E-05
  16  Prefactor     1.1991        .96055        .88207E-05    .12373E-04
  17  Prefactor     8.1416        10.610        .56261E-05    .32332E-04
  18  norm          1.4446        .32327        .24983E-05    .96109E-03
  19  Prefactor     .10000E-03    1.4622        .36285E-03** at limit **
  20  Prefactor     6.8004        3.5776        .61525E-05    .11826E-05
  21  Prefactor     1.9586        .51013        .37081E-05    .98110E-05
  22  Prefactor     .10000E-03    2.2328        .36285E-03** at limit **
  23  Prefactor     .27454        3.4929        .15544        .13151E-02
  24  norm          12.488        .65835        .18682E-05    .38947E-04
  25  Prefactor     .99693        .87556        .47429E-03    .13827E-02
  26  Prefactor     6.7702        7.9952        .61711E-05    .58952E-05
  27  norm          4.5129        .90824        .41487E-05    .35076E-05
  28  Prefactor     .65231        1.2452        .16123E-04    .22563E-05
  29  Prefactor     2.0083        .60163        .41435E-05    .17560E-05
  30  Prefactor     3.9515        .71445        .36339E-05    .60067E-05
  31  Normalizat    .88948        .66792E-01    .11064E-04    .19400E-03
  32  Prefactor     1.1568        .74406E-01    .11578E-04    .16654E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09867
  Prefactor  = 0.0001
  norm       = 0.935935
  Prefactor  = 0.263545
  Prefactor  = 34.0431
  Prefactor  = 5.04338
  norm       = 3.43225
  Prefactor  = 3.84274
  norm       = 2.26816
  Prefactor  = 3.5969
  Prefactor  = 4.28074
  Prefactor  = 7.26039
  Prefactor  = 0.0001
  norm       = 1.71452
  Prefactor  = 2.95612
  Prefactor  = 1.19911
  Prefactor  = 8.14155
  norm       = 1.44463
  Prefactor  = 0.0001
  Prefactor  = 6.80037
  Prefactor  = 1.95858
  Prefactor  = 0.0001
  Prefactor  = 0.274536
  norm       = 12.4875
  Prefactor  = 0.996934
  Prefactor  = 6.77023
  norm       = 4.5129
  Prefactor  = 0.652308
  Prefactor  = 2.00833
  Prefactor  = 3.95151
  Normalizat = 0.889481
  Prefactor  = 1.15683
 **********
 **   18 **HESSE 
 **********

 FCN=   69549.17     FROM HESSE     STATUS=OK           637 CALLS     7272 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0987        2.9641        .36325E-05   -1.5498    
   2  Prefactor     .10000E-03    3.7799        .15796E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .93593        .89938E-01    .36989E-06   -1.5514    
   4  Prefactor     .26355        .68603        .29507E-05   -1.5605    
   5  Prefactor     34.043        5.4130        .54969E-06   -1.4540    
   6  Prefactor     5.0434        3.0467        .14323E-05   -1.5259    
   7  norm          3.4322        4.1931        .17422E-05   -1.5337    
   8  Prefactor     3.8427        1.4680        .76756E-05   -1.5316    
   9  norm          2.2682        2.6906        .21848E-05   -1.5407    
  10  Prefactor     3.5969        2.3675        .17039E-05   -1.5329    
  11  Prefactor     4.2807        .86760        .77022E-06   -1.5294    
  12  Prefactor     7.2604        9.4424        .59529E-05   -1.5169    
  13  Prefactor     .10000E-03    3.3611        .14514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.7145        .60971        .91972E-06   -1.5446    
  15  Prefactor     2.9561        2.8205        .18884E-05   -1.5364    
  16  Prefactor     1.1991        .96098        .17641E-05   -1.5489    
  17  Prefactor     8.1416        10.656        .11252E-05   -1.5137    
  18  norm          1.4446        .32357        .49966E-06   -1.5468    
  19  Prefactor     .10000E-03    1.4622        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.8004        3.5776        .61525E-05   -1.5186    
  21  Prefactor     1.9586        .51012        .74162E-06   -1.5428    
  22  Prefactor     .10000E-03    2.2328        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .27454        3.4962        .15531       -1.5603    
  24  norm          12.488        .65836        .37364E-06   -1.5001    
  25  Prefactor     .99693        .87546        .94858E-04   -1.5508    
  26  Prefactor     6.7702        7.9844        .12342E-05   -1.5188    
  27  norm          4.5129        .90823        .41487E-05   -1.5283    
  28  Prefactor     .65231        1.2454        .32247E-05   -1.5546    
  29  Prefactor     2.0083        .60164        .41435E-05   -1.5425    
  30  Prefactor     3.9515        .71445        .36339E-05   -1.5310    
  31  Normalizat    .88948        .66950E-01    .22128E-05   -.96831    
  32  Prefactor     1.1568        .74568E-01    .23156E-05   -.87670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35459e-09
Minuit parameter uncertainties:
  1  2.96449
  2  2.07643e-05
  3  0.0899378
  4  0.686049
  5  5.41313
  6  3.04675
  7  4.19345
  8  1.46799
  9  2.69074
  10  2.36756
  11  0.867605
  12  9.4443
  13  9.44997e-08
  14  0.609711
  15  2.82067
  16  0.960988
  17  10.6584
  18  0.323574
  19  2.13693e-07
  20  3.57772
  21  0.510126
  22  4.81599e-07
  23  1.95921
  24  0.658364
  25  0.875472
  26  7.98562
  27  0.908231
  28  1.24546
  29  0.601638
  30  0.714456
  31  0.0669558
  32  0.0745743
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  2.956e+00  2.821e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.179e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
618    Prefactor:  1.157e+00  7.457e-02  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  8.895e-01  6.696e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.45
Ra Dec: 173.788 30.234
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 7.55e-09 +/- 7.20e-09
Energy Flux (Fixed Index): 2.56e-06 +/- 2.44e-06

TS (Fixed Index): 1.45
Ra Dec: 173.788 30.234
Photon Flux Upper Limit: 2.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/883426/likelihoodResults_669859201_672451201_4FGL_J1135.1+3014_monthly_bin167.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) = 69549.1079537
delta logL = 0.0645155026723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 69549.0988222
delta logL = 0.0736469979893

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   69549.10     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      228 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3637        16.016        .55117E-02    .11540E-02
   2  Index         2.0663        .61507        .50000        .69763E-05
   3  Normalizat    .89283        .65925E-02    .44810E-01    .16765E-03
   4  Prefactor     1.1546        .76630E-02    .65489E-01    .81557E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.36367
  Index      = 2.0663
  Normalizat = 0.892825
  Prefactor  = 1.1546
 **********
 **   18 **HESSE 
 **********

 FCN=   69549.10     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3637        3.1787        .22047E-03   -1.5341    
   2  Index         2.0663        .73909        .84479E-02   -.62703    
   3  Normalizat    .89283        .62954E-01    .27611E-03   -.96713    
   4  Prefactor     1.1546        .74033E-01    .28968E-03   -.87740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.03794e-12
Minuit parameter uncertainties:
  1  3.17889
  2  0.743255
  3  0.0629591
  4  0.0740395
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/883426': 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) = 69549.0988207
delta logL = 0.0736484879599

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  3.364e+00  3.179e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.066e+00  7.433e-01  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  1.179e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
618    Prefactor:  1.155e+00  7.404e-02  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  8.928e-01  6.296e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.59
Ra Dec: 173.788 30.234
Photon Index (Free Index): 2.07 +/- 0.74
Photon Flux (Free Index): 5.16e-09 +/- 7.49e-09
Energy Flux (Free Index): 3.05e-06 +/- 3.37e-06

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/883426/cmap_HighResolution_669859201_672451201_4FGL_J1135.1+3014_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-03', comment='SUCCESS', photon_flux='7.55e-09', energy_flux2='3.05e-06', photon_flux_error='7.20e-09', dlogl='7.36e-02', energy_flux='2.56e-06', photon_flux2='5.16e-09', job_status='DONE', time_completed='2022-04-24 04:03:54.764315', photon_index_error2='0.74', photon_index2='2.07', ts='1.45', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='2.25e-08', energy_flux_error2='3.37e-06', EG='0.89', time_epoch_completed='1650798234.76', return_code='0', job_id='883426', GAL2='1.15', EG2='0.89', return_code2='0', energy_flux_error='2.44e-06', photon_flux_error2='7.49e-09', ts2='1.59', photon_index='2.38' WHERE bin_id='167' AND source_name='4FGL J1135.1+3014' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 04:03:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 883426: <4FGL_J1135.1+3014_monthly_bin167> in cluster <slac> Done

Job <4FGL_J1135.1+3014_monthly_bin167> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Apr 24 01:10:32 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 01:35:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 01:35:56 2022
Terminated at Sun Apr 24 04:03:55 2022
Results reported at Sun Apr 24 04:03:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_monthly_bin167 173.788 30.2344 669859201 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1135.1+3014 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   8653.00 sec.
    Max Memory :                                 1100 MB
    Average Memory :                             402.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   8879 sec.
    Turnaround time :                            10403 sec.

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

