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


Performing analysis on: 4FGL_J1135.1+3014_monthly_bin169
RA = 173.788, Dec = 30.2344
tmin = 675043201, tmax = 677635201
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='165971', job_status='RUN', time_executed='2022-06-23 02:09:56.621414', time_epoch_executed='1655975396.62' WHERE source_name='4FGL J1135.1+3014' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/165971

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/165971/ft1_4FGL_J1135.1+3014_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/165971/ft2_4FGL_J1135.1+3014_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/165971/ft1_4FGL_J1135.1+3014_monthly_bin169.fits outfile=/scratch/kocevski/165971/ft1_filteredMKT_4FGL_J1135.1+3014_monthly_bin169.fits ra=173.788 dec=30.2344 rad=12.0 tmin=675043201.0 tmax=677635201.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 27.73
user 26.95
sys 0.70

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/165971/ft2_4FGL_J1135.1+3014_monthly_bin169.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/165971/ft1_filteredMKT_4FGL_J1135.1+3014_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/165971/ft1_filtered_4FGL_J1135.1+3014_monthly_bin169.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.87
user 0.67
sys 0.18

Number of photons that the gtmktime cut: 9329

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/165971/ft1_filtered_4FGL_J1135.1+3014_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/165971/ft2_4FGL_J1135.1+3014_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/165971/ltcube_675043201_677635201_4FGL_J1135.1+3014_monthly_bin169.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/165971/ft2_4FGL_J1135.1+3014_monthly_bin169.fits
.....................!
real 147.98
user 147.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/165971/ft1_filtered_4FGL_J1135.1+3014_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/165971/ft2_4FGL_J1135.1+3014_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/165971/ltcube_675043201_677635201_4FGL_J1135.1+3014_monthly_bin169.fits outfile=/scratch/kocevski/165971/expmap_675043201_677635201_4FGL_J1135.1+3014_monthly_bin169.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/165971/ltcube_675043201_677635201_4FGL_J1135.1+3014_monthly_bin169.fits
.....................!
real 194.33
user 188.08
sys 5.79

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/165971/ft1_filtered_4FGL_J1135.1+3014_monthly_bin169.fits scfile=/scratch/kocevski/165971/ft2_4FGL_J1135.1+3014_monthly_bin169.fits outfile=/scratch/kocevski/165971/cmap_675043201_677635201_4FGL_J1135.1+3014_monthly_bin169.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 0.81
user 0.60
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/165971/ft1_filtered_4FGL_J1135.1+3014_monthly_bin169.fits scfile=/scratch/kocevski/165971/ft2_4FGL_J1135.1+3014_monthly_bin169.fits outfile=/scratch/kocevski/165971/cmap_HighResolution_675043201_677635201_4FGL_J1135.1+3014_monthly_bin169.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.80
user 0.62
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/165971/ft1_filtered_4FGL_J1135.1+3014_monthly_bin169.fits', '/scratch/kocevski/165971/ft2_4FGL_J1135.1+3014_monthly_bin169.fits', expMap='/scratch/kocevski/165971/expmap_675043201_677635201_4FGL_J1135.1+3014_monthly_bin169.fits', expCube='/scratch/kocevski/165971/ltcube_675043201_677635201_4FGL_J1135.1+3014_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/165971/Model_4FGL_J1135.1+3014_monthly_bin169.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/165971/ft1_filtered_4FGL_J1135.1+3014_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/165971/ft2_4FGL_J1135.1+3014_monthly_bin169.fits
Exposure map: /scratch/kocevski/165971/expmap_675043201_677635201_4FGL_J1135.1+3014_monthly_bin169.fits
Exposure cube: /scratch/kocevski/165971/ltcube_675043201_677635201_4FGL_J1135.1+3014_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/165971/Model_4FGL_J1135.1+3014_monthly_bin169.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) = 97564.2954462

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16079E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.6302       1.0000         .10000E-03   10000.    
     3 'norm      '    1.3933       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.3381       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.569       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5279       1.0000         .10000E-03   10000.    
     7 'norm      '    .37267       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9911       1.0000         .10000E-03   10000.    
     9 'norm      '    5.3100       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9038       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.6258       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.6529       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3595       1.0000         .10000E-03   10000.    
    14 'norm      '    2.3456       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14545E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .91782       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.960       1.0000         .10000E-03   10000.    
    18 'norm      '    2.0009       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14599E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .39122       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.1006       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .43473E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .73727       1.0000         .10000E-03   10000.    
    24 'norm      '    26.839       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .16146E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    15.770       1.0000         .10000E-03   10000.    
    27 'norm      '    4.6477       1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.2043       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.6629       1.0000         .10000E-03   10000.    
    30 'Prefactor '    2.7217       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .85795       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.1035       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   97563.80     FROM MIGRAD    STATUS=CONVERGED    886 CALLS     3878 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8889         .0000    ** at limit **
   2  Prefactor     6.6361        2.7875         .0000       -.20083E-02
   3  norm          1.3934        .93692E-01     .0000       -.26358E-02
   4  Prefactor     3.3374        .82590         .0000        .52492E-02
   5  Prefactor     12.560        3.9781         .0000        .17241E-02
   6  Prefactor     1.5201        1.8047         .0000        .34476E-02
   7  norm          .36352        .89518         .0000        .52146E-02
   8  Prefactor     4.9895        1.5934         .0000        .18666E-01
   9  norm          5.3031        2.7072         .0000        .37061E-01
  10  Prefactor     3.9049        2.3765         .0000        .52004E-01
  11  Prefactor     4.6264        .77689         .0000        .24011E-02
  12  Prefactor     5.6384        7.3026         .0000        .25438E-02
  13  Prefactor     3.3410        2.9443         .0000        .38326E-01
  14  norm          2.3460        .60607         .0000        .48258E-02
  15  Prefactor     .10000E-03    .49864         .0000    ** at limit **
  16  Prefactor     .91767        1.3082         .0000        .88187E-02
  17  Prefactor     10.928        8.7095         .0000       -.56190E-02
  18  norm          2.0012        .30080         .0000        .30690E-02
  19  Prefactor     .10000E-03    .88367         .0000    ** at limit **
  20  Prefactor     .38786        1.0486         .0000        .37325E-02
  21  Prefactor     1.1003        .36356         .0000        .40637E-02
  22  Prefactor     .10036E-03    1.4816         .0000    ** at limit **
  23  Prefactor     .69890        2.4858         .0000        .36193E-02
  24  norm          26.839        .77560         .0000       -.21755E-02
  25  Prefactor     .10001E-03    .21283         .0000    ** at limit **
  26  Prefactor     15.749        8.1218         .0000       -.79694E-03
  27  norm          4.6479        .79479         .0000        .43745E-03
  28  Prefactor     2.2043        1.3782         .0000        .11417    
  29  Prefactor     1.6630        .50036         .0000        .12477E-02
  30  Prefactor     2.7221        .53637         .0000        .15006E-02
  31  Normalizat    .85807        .51740E-01     .0000       -.29476E-04
  32  Prefactor     1.1035        .55274E-01     .0000       -.93423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.63611
  norm       = 1.39341
  Prefactor  = 3.33736
  Prefactor  = 12.5598
  Prefactor  = 1.52005
  norm       = 0.363521
  Prefactor  = 4.98954
  norm       = 5.3031
  Prefactor  = 3.90492
  Prefactor  = 4.62641
  Prefactor  = 5.63836
  Prefactor  = 3.34105
  norm       = 2.34599
  Prefactor  = 0.000100004
  Prefactor  = 0.917667
  Prefactor  = 10.9279
  norm       = 2.00118
  Prefactor  = 0.0001
  Prefactor  = 0.387856
  Prefactor  = 1.10029
  Prefactor  = 0.000100358
  Prefactor  = 0.698899
  norm       = 26.8389
  Prefactor  = 0.000100007
  Prefactor  = 15.749
  norm       = 4.64786
  Prefactor  = 2.20431
  Prefactor  = 1.663
  Prefactor  = 2.72206
  Normalizat = 0.858067
  Prefactor  = 1.10345
 **********
 **   18 **HESSE 
 **********

 FCN=   97563.80     FROM HESSE     STATUS=OK           711 CALLS     4589 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.6361        2.7788        .15584E-03   -1.5193    
   3  norm          1.3934        .94064E-01    .23392E-04   -1.5472    
   4  Prefactor     3.3374        .82297        .12837E-03   -1.5343    
   5  Prefactor     12.560        3.9409        .11299E-03   -1.4999    
   6  Prefactor     1.5201        1.7833        .34539E-03   -1.5461    
   7  norm          .36352        3.7293        .42530E-02   -1.5587    
   8  Prefactor     4.9895        1.5921        .90003E-03   -1.5261    
   9  norm          5.3031        2.7107        .87207E-03   -1.5247    
  10  Prefactor     3.9049        2.3715        .10210E-02   -1.5313    
  11  Prefactor     4.6264        .77293        .98448E-04   -1.5278    
  12  Prefactor     5.6384        7.2802        .16895E-03   -1.5233    
  13  Prefactor     3.3410        2.8711        .11040E-02   -1.5342    
  14  norm          2.3460        .60033        .11360E-03   -1.5402    
  15  Prefactor     .10000E-03    3.4803        .41362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .91767        1.3053        .25744E-03   -1.5516    
  17  Prefactor     10.928        8.7001        .12102E-03   -1.5047    
  18  norm          2.0012        .29909        .59270E-04   -1.5425    
  19  Prefactor     .10000E-03    5.4243        .55699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .38786        6.6794        .50006E-02   -1.5583    
  21  Prefactor     1.1003        .36094        .10323E-03   -1.5498    
  22  Prefactor     .10036E-03    2.0008        .10173       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .69890        21.211        .87426E-02   -1.5541    
  24  norm          26.839        .77303        .44041E-04   -1.4671    
  25  Prefactor     .10001E-03    .20632        .47937E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     15.749        8.1229        .10086E-03   -1.4914    
  27  norm          4.6479        .79474        .10655E-03   -1.5277    
  28  Prefactor     2.2043        1.3760        .13855E-02   -1.5411    
  29  Prefactor     1.6630        .50013        .11297E-03   -1.5450    
  30  Prefactor     2.7221        .53525        .97277E-04   -1.5378    
  31  Normalizat    .85807        .61280E-01    .29522E-03   -.97950    
  32  Prefactor     1.1035        .65941E-01    .30716E-03   -.89356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.39116e-08
Minuit parameter uncertainties:
  1  1.09146e-05
  2  2.77883
  3  0.094064
  4  0.822968
  5  3.94102
  6  1.78332
  7  2.32854
  8  1.59212
  9  2.71072
  10  2.37156
  11  0.772936
  12  7.28134
  13  2.87122
  14  0.600331
  15  0.000246883
  16  1.30531
  17  8.70112
  18  0.299094
  19  6.75171e-05
  20  3.2191
  21  0.360943
  22  0.00169379
  23  7.70289
  24  0.77303
  25  7.4562e-05
  26  8.12342
  27  0.794741
  28  1.37599
  29  0.500134
  30  0.535254
  31  0.0612852
  32  0.0659458
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  2.469e-04  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.103e+00  6.595e-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.581e-01  6.129e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 173.788 30.234
Photon Flux Upper Limit: 1.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.91e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/165971/likelihoodResults_675043201_677635201_4FGL_J1135.1+3014_monthly_bin169.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) = 97563.8039122
delta logL = -0.00133362370252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 97563.8025787
delta logL = -1.06534571387e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3620       1.0000          .0000       10.000    
     3 'Normalizat'    .85808       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1035       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=   97563.80     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      232 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .87193E-02    .90712E-01** at limit **
   2  Index         2.3499        5.8043        .50000        .24556E-04
   3  Normalizat    .85807        .16275E-03    .66733E-01    .93930E-03
   4  Prefactor     1.1035        .19054E-03    .69431E-01    .60780E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.34992
  Normalizat = 0.858067
  Prefactor  = 1.10345
 **********
 **   18 **HESSE 
 **********

 FCN=   97563.80     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      269 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.0630        .42154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3499        8.6991        .50000       -.55862    
   3  Normalizat    .85807        .17073E-02    .29522E-03   -.97950    
   4  Prefactor     1.1035        .19997E-02    .30716E-03   -.89356    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.44863e-07
Minuit parameter uncertainties:
  1  0.000161904
  2  69.541
  3  0.00170733
  4  0.00199966
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/165971': 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) = 97563.8025784
delta logL = 1.81462382898e-07

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  1.619e-04  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.350e+00  6.954e+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.103e+00  2.000e-03  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.581e-01  1.707e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 173.788 30.234

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/165971/cmap_HighResolution_675043201_677635201_4FGL_J1135.1+3014_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.91e-04', job_status='DONE', photon_flux_upper_limit='1.15e-08', time_completed='2022-06-23 05:12:56.449881', job_id='165971', GAL2='1.10', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1655986376.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.81e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='169' AND source_name='4FGL J1135.1+3014' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 05:12:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 165971: <4FGL_J1135.1+3014_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1135.1+3014_monthly_bin169> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun 23 01:35:29 2022
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:07:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:07:53 2022
Terminated at Thu Jun 23 05:12:57 2022
Results reported at Thu Jun 23 05:12:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_monthly_bin169 173.788 30.2344 675043201 677635201 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 :                                   10935.00 sec.
    Max Memory :                                 633 MB
    Average Memory :                             442.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11104 sec.
    Turnaround time :                            13048 sec.

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

