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 47 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7725
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1135.1+3014_daily_bin1735
RA = 173.788, Dec = 30.2344
tmin = 689040001, tmax = 689299201
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='987824', job_status='RUN', time_executed='2022-11-05 08:31:22.080467', time_epoch_executed='1667662282.08' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/987824

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/987824/ft1_4FGL_J1135.1+3014_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/987824/ft2_4FGL_J1135.1+3014_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/987824/ft1_4FGL_J1135.1+3014_daily_bin1735.fits outfile=/scratch/kocevski/987824/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1735.fits ra=173.788 dec=30.2344 rad=12.0 tmin=689040001.0 tmax=689299201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.68
user 3.43
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/987824/ft2_4FGL_J1135.1+3014_daily_bin1735.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/987824/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1735.fits evtable="EVENTS" outfile="/scratch/kocevski/987824/ft1_filtered_4FGL_J1135.1+3014_daily_bin1735.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 665

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/987824/ft1_filtered_4FGL_J1135.1+3014_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/987824/ft2_4FGL_J1135.1+3014_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/987824/ltcube_689040001_689299201_4FGL_J1135.1+3014_daily_bin1735.fits outfile=/scratch/kocevski/987824/expmap_689040001_689299201_4FGL_J1135.1+3014_daily_bin1735.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/987824/ltcube_689040001_689299201_4FGL_J1135.1+3014_daily_bin1735.fits
.....................!
real 190.40
user 185.05
sys 4.77

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/987824/ft1_filtered_4FGL_J1135.1+3014_daily_bin1735.fits scfile=/scratch/kocevski/987824/ft2_4FGL_J1135.1+3014_daily_bin1735.fits outfile=/scratch/kocevski/987824/cmap_689040001_689299201_4FGL_J1135.1+3014_daily_bin1735.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/987824/ft1_filtered_4FGL_J1135.1+3014_daily_bin1735.fits scfile=/scratch/kocevski/987824/ft2_4FGL_J1135.1+3014_daily_bin1735.fits outfile=/scratch/kocevski/987824/cmap_HighResolution_689040001_689299201_4FGL_J1135.1+3014_daily_bin1735.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/987824/ft1_filtered_4FGL_J1135.1+3014_daily_bin1735.fits', '/scratch/kocevski/987824/ft2_4FGL_J1135.1+3014_daily_bin1735.fits', expMap='/scratch/kocevski/987824/expmap_689040001_689299201_4FGL_J1135.1+3014_daily_bin1735.fits', expCube='/scratch/kocevski/987824/ltcube_689040001_689299201_4FGL_J1135.1+3014_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/987824/Model_4FGL_J1135.1+3014_daily_bin1735.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  0.000e+00  1.000e+06 ( 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/987824/ft1_filtered_4FGL_J1135.1+3014_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/987824/ft2_4FGL_J1135.1+3014_daily_bin1735.fits
Exposure map: /scratch/kocevski/987824/expmap_689040001_689299201_4FGL_J1135.1+3014_daily_bin1735.fits
Exposure cube: /scratch/kocevski/987824/ltcube_689040001_689299201_4FGL_J1135.1+3014_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/987824/Model_4FGL_J1135.1+3014_daily_bin1735.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) = 7002.92518274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.234       1.0000          .0000       .10000E+07
     2 'Prefactor '    22.318       1.0000          .0000       .10000E+07
     3 'norm      '    1.5676       1.0000          .0000       .10000E+07
     4 'Prefactor '    .70147       1.0000          .0000       .10000E+07
     5 'Prefactor '    .82411E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .25270E-03   1.0000          .0000       .10000E+07
     7 'norm      '    14.963       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17208E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20289E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.8262       1.0000          .0000       .10000E+07
    11 'Prefactor '    .58396E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.2497       1.0000          .0000       .10000E+07
    13 'norm      '    7.8385       1.0000          .0000       .10000E+07
    14 'Prefactor '    .17719E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .20247E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.3927       1.0000          .0000       .10000E+07
    17 'norm      '    1.3531       1.0000          .0000       .10000E+07
    18 'Prefactor '    .49078E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .24269E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6894       1.0000          .0000       .10000E+07
    21 'Prefactor '    .11464E-03   1.0000          .0000       .10000E+07
    22 'norm      '    14.778       1.0000          .0000       .10000E+07
    23 'Prefactor '    .41578E-07   1.0000          .0000       .10000E+07
    24 'norm      '    7.2273       1.0000          .0000       .10000E+07
    25 'Prefactor '    .15646E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    1.9171       1.0000          .0000       .10000E+07
    27 'Prefactor '    .78039       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.0227       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .91167       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7001.513     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     1583 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.379        1.2890        .29570E-07   -.34228E-02
   2  Prefactor     22.209        12.481        .85675E-07    .15376E-01
   3  norm          1.5672        .34744        .26993E-09   -.70204E-03
   4  Prefactor     .70267        1.8105       -.67501E-08   -.67829E-03
   5  Prefactor     .44764E-06    9.3186        .53949E-06** at limit **
   6  Prefactor     .11730E-06    21.156       -.12376E-05** at limit **
   7  norm          15.034        4.8323        .38887E-07   -.74823E-02
   8  Prefactor      .0000        3.3291       -.22631E-06** at limit **
   9  Prefactor     .55511E-10    4.8295        .65161E-07** at limit **
  10  Prefactor     2.8228        2.5039        .77296E-07   -.50896E-04
  11  Prefactor     .19207E-07    28.831       -.20388E-06** at limit **
  12  Prefactor     4.2317        1.7731        .41473E-07    .57007E-02
  13  norm          7.8754        3.4792        .37844E-09   -.11301E-02
  14  Prefactor      .0000        5.3650       -.14695E-07** at limit **
  15  Prefactor      .0000        4.1053        .12811E-06** at limit **
  16  Prefactor     2.8959        119.02        .40843E-05    .20119E-03
  17  norm          1.3762        1.0199       -.21679E-06   -.30420E-02
  18  Prefactor     .66014E-06    7.9554        .24558E-06** at limit **
  19  Prefactor      .0000        4.3937       -.56184E-07** at limit **
  20  Prefactor     4.6868        2.1252        .73406E-07    .60430E-03
  21  Prefactor     .52736E-08    11.737       -.12265E-06** at limit **
  22  norm          14.775        2.2927       -.34267E-07   -.50761E-03
  23  Prefactor      .0000        1.8711       -.75220E-07** at limit **
  24  norm          7.2222        3.2902       -.68832E-07   -.33601E-03
  25  Prefactor      .0000        2.5818        .18498E-06** at limit **
  26  Prefactor     1.9177        1.7627        .38645E-07    .18205E-03
  27  Prefactor     .77980        1.3119       -.14598E-07   -.51342E-03
  28  Normalizat    1.0235        .20936       -.20487E-06   -.30446E-04
  29  Prefactor     .91169        .23344       -.99719E-06   -.24060E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.3795
  Prefactor  = 22.2092
  norm       = 1.56718
  Prefactor  = 0.702672
  Prefactor  = 4.47642e-07
  Prefactor  = 1.17295e-07
  norm       = 15.0343
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.82279
  Prefactor  = 1.92069e-08
  Prefactor  = 4.23172
  norm       = 7.87539
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.8959
  norm       = 1.37619
  Prefactor  = 6.60139e-07
  Prefactor  = 0
  Prefactor  = 4.68676
  Prefactor  = 5.27356e-09
  norm       = 14.7753
  Prefactor  = 0
  norm       = 7.22222
  Prefactor  = 0
  Prefactor  = 1.91767
  Prefactor  = 0.779796
  Normalizat = 1.02349
  Prefactor  = 0.911692
 **********
 **   18 **HESSE 
 **********

 FCN=   7001.513     FROM HESSE     STATUS=OK           613 CALLS     2196 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.379        24.125        .16390E-03   -1.5586    
   2  Prefactor     22.209        13.415        .21173E-03   -1.5614    
   3  norm          1.5672        .34827        .50862E-03   -1.5683    
   4  Prefactor     .70267        1.8477        .60589E-03   -1.5691    
   5  Prefactor     .44764E-06    15.250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11730E-06    22.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.034        13.571        .25867E-03   -1.5630    
   8  Prefactor      .0000        3.3256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    4.8326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.8228        2.5325        .60470E-03   -1.5674    
  11  Prefactor     .19207E-07    29.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.2317        9.8731        .48853E-03   -1.5667    
  13  norm          7.8754        3.5010        .35791E-03   -1.5652    
  14  Prefactor      .0000        5.3654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        4.1288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.8959        122.40        .43250E-03   -1.5674    
  17  norm          1.3762        1.0415        .93977E-03   -1.5685    
  18  Prefactor     .66014E-06    16.415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        4.4430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.6868        2.1284        .46447E-03   -1.5665    
  21  Prefactor     .52736E-08    11.841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          14.775        2.2917        .26028E-03   -1.5631    
  23  Prefactor      .0000        1.8699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          7.2222        3.2889        .37287E-03   -1.5654    
  25  Prefactor      .0000        2.5785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.9177        1.7518        .75030E-03   -1.5680    
  27  Prefactor     .77980        1.3264        .54408E-03   -1.5690    
  28  Normalizat    1.0235        .18094        .42980E-01   -.92248    
  29  Prefactor     .91169        .20263        .72295E-01   -.95734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.27084e-08
Minuit parameter uncertainties:
  1  24.1255
  2  13.4155
  3  0.34827
  4  1.84767
  5  0.00522554
  6  0.00325668
  7  13.571
  8  7.17276e-06
  9  2.42497e-05
  10  2.53254
  11  0.00149752
  12  9.87315
  13  3.50103
  14  8.60794e-06
  15  2.11781e-05
  16  37.655
  17  1.04152
  18  0.00658383
  19  1.00892e-05
  20  2.12844
  21  0.000500363
  22  2.29171
  23  2.15355e-06
  24  3.2889
  25  8.34564e-07
  26  1.75184
  27  1.32644
  28  0.181053
  29  0.202798
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  0.000e+00  8.608e-06  0.000e+00  1.000e+06 ( 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:  9.117e-01  2.028e-01  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:  1.023e+00  1.811e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/987824/likelihoodResults_689040001_689299201_4FGL_J1135.1+3014_daily_bin1735.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) = 7001.5176013
delta logL = -0.00495261192373

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7001.51265273
delta logL = -4.03549620387e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34067E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.5354       1.0000          .0000       10.000    
     3 'Normalizat'    1.0235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91181       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=   7001.513     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      251 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .40500        .42118E-03** at limit **
   2  Index         1.1438        7.6146        .50000       -.45475E-10
   3  Normalizat    1.0235        .14491E-02    .42886E-01    .97294E-04
   4  Prefactor     .91169        .16734E-02    .72295E-01    .78116E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.14384
  Normalizat = 1.02349
  Prefactor  = 0.911692
 **********
 **   18 **HESSE 
 **********

 FCN=   7001.513     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    2.0384        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1438        5.5712        .50000       -.88077    
   3  Normalizat    1.0235        .32502E-02    .26435E-03   -.92248    
   4  Prefactor     .91169        .37486E-02    .31987E-03   -.95734    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.04496e-11
Minuit parameter uncertainties:
  1  2.23811e-05
  2  102952
  3  0.00325016
  4  0.00374861
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/987824': 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) = 7001.51264869
delta logL = -1.09139364213e-11

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  5.551e-11  2.238e-05  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  1.144e+00  1.030e+05  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:  9.117e-01  3.749e-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:  1.023e+00  3.250e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/987824/cmap_HighResolution_689040001_689299201_4FGL_J1135.1+3014_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.30e-03', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2022-11-05 08:43:04.027150', job_id='987824', GAL2='0.91', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1667662984.03', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='-1.09e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1735' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 08:43:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 987824: <4FGL_J1135.1+3014_daily_bin1735> in cluster <slac> Done

Job <4FGL_J1135.1+3014_daily_bin1735> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Nov  5 08:30:18 2022
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 08:30:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 08:30:20 2022
Terminated at Sat Nov  5 08:43:04 2022
Results reported at Sat Nov  5 08:43:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin1735 173.788 30.2344 689040001 689299201 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 :                                   702.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            766 sec.

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

