aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 7 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 = 17315
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0011.4+0057_weekly_bin612
RA = 2.8551, Dec = 0.9646
tmin = 609120001, tmax = 609724801
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='763137', job_status='RUN', time_executed='2021-07-02 22:25:51.397474', time_epoch_executed='1625289951.4' WHERE source_name='4FGL J0011.4+0057' and cadence='weekly' and bin_id='612'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/763137

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/763137/ft1_4FGL_J0011.4+0057_weekly_bin612.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/763137/ft2_4FGL_J0011.4+0057_weekly_bin612.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/763137/ft1_4FGL_J0011.4+0057_weekly_bin612.fits outfile=/scratch/kocevski/763137/ft1_filteredMKT_4FGL_J0011.4+0057_weekly_bin612.fits ra=2.8551 dec=0.9646 rad=12.0 tmin=609120001.0 tmax=609724801.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 6.36
user 6.06
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/763137/ft2_4FGL_J0011.4+0057_weekly_bin612.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/763137/ft2_4FGL_J0011.4+0057_weekly_bin612.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/763137/ft1_filteredMKT_4FGL_J0011.4+0057_weekly_bin612.fits evtable="EVENTS" outfile="/scratch/kocevski/763137/ft1_filtered_4FGL_J0011.4+0057_weekly_bin612.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.58
user 0.37
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/763137/ft1_filtered_4FGL_J0011.4+0057_weekly_bin612.fits" evtable="EVENTS" scfile=/scratch/kocevski/763137/ft2_4FGL_J0011.4+0057_weekly_bin612.fits sctable="SC_DATA" outfile=/scratch/kocevski/763137/ltcube_609120001_609724801_4FGL_J0011.4+0057_weekly_bin612.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/763137/ft2_4FGL_J0011.4+0057_weekly_bin612.fits
.....................!
real 32.71
user 32.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/763137/ft1_filtered_4FGL_J0011.4+0057_weekly_bin612.fits evtable="EVENTS" scfile=/scratch/kocevski/763137/ft2_4FGL_J0011.4+0057_weekly_bin612.fits sctable="SC_DATA" expcube=/scratch/kocevski/763137/ltcube_609120001_609724801_4FGL_J0011.4+0057_weekly_bin612.fits outfile=/scratch/kocevski/763137/expmap_609120001_609724801_4FGL_J0011.4+0057_weekly_bin612.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/763137/ltcube_609120001_609724801_4FGL_J0011.4+0057_weekly_bin612.fits
.....................!
real 192.86
user 186.97
sys 5.50

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

Setting source of interest to:
4FGL J0011.4+0057 @ 2.8551 0.9646

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/763137/ft1_filtered_4FGL_J0011.4+0057_weekly_bin612.fits scfile=/scratch/kocevski/763137/ft2_4FGL_J0011.4+0057_weekly_bin612.fits outfile=/scratch/kocevski/763137/cmap_609120001_609724801_4FGL_J0011.4+0057_weekly_bin612.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=2.8551 yref=0.9646 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.62
user 0.43
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/763137/ft1_filtered_4FGL_J0011.4+0057_weekly_bin612.fits scfile=/scratch/kocevski/763137/ft2_4FGL_J0011.4+0057_weekly_bin612.fits outfile=/scratch/kocevski/763137/cmap_HighResolution_609120001_609724801_4FGL_J0011.4+0057_weekly_bin612.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=2.8551 yref=0.9646 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 2.07
user 0.44
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/763137/ft1_filtered_4FGL_J0011.4+0057_weekly_bin612.fits evtable="EVENTS" scfile=/scratch/kocevski/763137/ft2_4FGL_J0011.4+0057_weekly_bin612.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/763137/Model_4FGL_J0011.4+0057_weekly_bin612.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/763137/ft1_filtered_4FGL_J0011.4+0057_weekly_bin612.fits.....................!
real 79.47
user 77.95
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/763137/ft1_filtered_4FGL_J0011.4+0057_weekly_bin612.fits', '/scratch/kocevski/763137/ft2_4FGL_J0011.4+0057_weekly_bin612.fits', expMap='/scratch/kocevski/763137/expmap_609120001_609724801_4FGL_J0011.4+0057_weekly_bin612.fits', expCube='/scratch/kocevski/763137/ltcube_609120001_609724801_4FGL_J0011.4+0057_weekly_bin612.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/763137/Model_4FGL_J0011.4+0057_weekly_bin612.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0011.4+0057'

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  3.882e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/763137/ft1_filtered_4FGL_J0011.4+0057_weekly_bin612.fits
Spacecraft file(s): /scratch/kocevski/763137/ft2_4FGL_J0011.4+0057_weekly_bin612.fits
Exposure map: /scratch/kocevski/763137/expmap_609120001_609724801_4FGL_J0011.4+0057_weekly_bin612.fits
Exposure cube: /scratch/kocevski/763137/ltcube_609120001_609724801_4FGL_J0011.4+0057_weekly_bin612.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/763137/Model_4FGL_J0011.4+0057_weekly_bin612.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) = 7778.29044259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42836       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.522       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .57186E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    4.2207       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.255       1.0000         .10000E-03   10000.    
     7 'norm      '    .19385E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    14.200       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    18.692       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11261E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.470       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.3382       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94963       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0159       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7778.209     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2394 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36356        7.4668       -.54593E-05    .11528E-02
   2  Prefactor     .10000E-03    19.195        .75808E-05** at limit **
   3  Prefactor     37.515        23.503        .33361E-05    .65727E-04
   4  Prefactor     .11644        6.3825       -.25298E-06   -.12460E-03
   5  norm          4.2194        4.6429       -.13189E-05   -.54360E-03
   6  Prefactor     13.231        12.309        .10105E-05    .26936E-03
   7  norm          .10000E-03    2.3692        .52664E-07** at limit **
   8  norm          14.200        7.7763        .11210E-08   -.46781E-04
   9  Prefactor     .10000E-03    9.3986        .14774E-05** at limit **
  10  norm          18.686        12.816        .20856E-06    .87537E-04
  11  Prefactor     .10000E-03    6.5098       -.38030E-05** at limit **
  12  Prefactor     .10000E-03    1.8816        .14047E-06** at limit **
  13  Prefactor     .10000E-03    20.320       -.41001E-05** at limit **
  14  Prefactor     .10000E-03    42.393        .70858E-05** at limit **
  15  Prefactor     .10000E-03    6.2528        .29977E-05** at limit **
  16  Prefactor     .10000E-03    4.5083       -.19561E-06** at limit **
  17  norm          .10000E-03    10.029       -.32038E-05** at limit **
  18  Prefactor     .10000E-03    1.3317       -.26684E-06** at limit **
  19  Prefactor     21.471        18.722        .19777E-05    .11762E-04
  20  Prefactor     .10000E-03    7.4056       -.16613E-05** at limit **
  21  Prefactor     .10000E-03    7.8817        .33125E-05** at limit **
  22  Prefactor     7.3508        8.3555        .21512E-05    .72948E-03
  23  Normalizat    .94944        .19245        .43149E-06    .65363E-03
  24  Prefactor     1.0160        .13149       -.18279E-06    .77374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.363559
  Prefactor  = 0.0001
  Prefactor  = 37.5151
  Prefactor  = 0.116443
  norm       = 4.21938
  Prefactor  = 13.2307
  norm       = 0.0001
  norm       = 14.2005
  Prefactor  = 0.0001
  norm       = 18.6861
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.4709
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.35083
  Normalizat = 0.949438
  Prefactor  = 1.01597
 **********
 **   18 **HESSE 
 **********

 FCN=   7778.209     FROM HESSE     STATUS=OK           405 CALLS     2799 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36356        36.935        .40385E-02   -1.5587    
   2  Prefactor     .10000E-03    19.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.515        23.614        .65430E-04   -1.4482    
   4  Prefactor     .11644        6.7198        .52078E-01   -1.5640    
   5  norm          4.2194        4.6959        .16079E-03   -1.5297    
   6  Prefactor     13.231        12.313        .11002E-03   -1.4980    
   7  norm          .10000E-03    3.9737        .22966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.200        7.7723        .10629E-03   -1.4954    
   9  Prefactor     .10000E-03    9.4288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.686        12.794        .92640E-04   -1.4843    
  11  Prefactor     .10000E-03    6.6513        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.8999        .11811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    42.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.3192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.5105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    10.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.8938        .19384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     21.471        18.696        .86444E-04   -1.4781    
  20  Prefactor     .10000E-03    7.4282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.8919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.3508        8.3317        .14806E-03   -1.5166    
  23  Normalizat    .94944        .22220        .30652E-03   -.94744    
  24  Prefactor     1.0160        .15257        .21943E-03   -.92199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04602e-08
Minuit parameter uncertainties:
  1  7.33249
  2  3.75969e-05
  3  23.6201
  4  1.7686
  5  4.69632
  6  12.3152
  7  8.05889e-06
  8  7.77289
  9  4.08956e-06
  10  12.7961
  11  2.43412e-05
  12  2.4067e-07
  13  6.44584e-06
  14  7.99965e-07
  15  7.10382e-06
  16  1.1007e-06
  17  8.57187e-07
  18  8.39152e-05
  19  18.7007
  20  5.92969e-06
  21  7.27486e-06
  22  8.33296
  23  0.222413
  24  0.152636
Done.

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

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  3.752e+01  2.362e+01  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.016e+00  1.526e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  9.494e-01  2.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.62
Ra Dec: 2.855 0.965
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 8.97e-08 +/- 5.64e-08
Energy Flux (Fixed Index): 3.22e-05 +/- 2.03e-05

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) = 7777.81620291
delta logL = 0.392738961486

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7777.80420412
delta logL = 0.404737747927

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7777.804     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      292 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.612        22.198        .77658E-04    .14200E-04
   2  Index         2.7534        .52001        .45969E-02    .60036E-03
   3  Normalizat    .90378        .21494        .31314E-03    .22567E-03
   4  Prefactor     1.0359        .15393        .21749E-03    .34683E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.6121
  Index      = 2.75343
  Normalizat = 0.903783
  Prefactor  = 1.03591
 **********
 **   18 **HESSE 
 **********

 FCN=   7777.804     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.612        20.705        .31063E-05   -1.4676    
   2  Index         2.7534        .48428        .91938E-03   -.46600    
   3  Normalizat    .90378        .21466        .12526E-04   -.96327    
   4  Prefactor     1.0359        .15381        .43498E-04   -.91542    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13472e-10
Minuit parameter uncertainties:
  1  20.7109
  2  0.485235
  3  0.21486
  4  0.153872
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/763137': 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) = 7777.80420409
delta logL = 0.404737778263

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  2.661e+01  2.071e+01  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.753e+00  4.852e-01  0.000e+00  1.000e+01 (-1.000e+00)
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.036e+00  1.539e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  9.038e-01  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.59
Ra Dec: 2.855 0.965
Photon Index (Free Index): 2.75 +/- 0.49
Photon Flux (Free Index): 1.36e-07 +/- 8.18e-08
Energy Flux (Free Index): 3.15e-05 +/- 1.59e-05

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/763137/cmap_HighResolution_609120001_609724801_4FGL_J0011.4+0057_weekly_bin612.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.97e-08', energy_flux2='3.15e-05', photon_flux_error='5.64e-08', dlogl='4.05e-01', energy_flux='3.22e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-07-02 22:37:47.927475', photon_index_error2='0.49', photon_index2='2.75', ts='5.62', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.59e-05', EG='0.95', time_epoch_completed='1625290667.93', return_code='0', job_id='763137', GAL2='1.04', EG2='0.90', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='8.18e-08', ts2='6.59', photon_index='2.33' WHERE bin_id='612' AND source_name='4FGL J0011.4+0057' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul  2 22:37:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 763137: <4FGL_J0011.4+0057_weekly_bin612> in cluster <slac> Done

Job <4FGL_J0011.4+0057_weekly_bin612> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Jul  2 22:25:29 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  2 22:25:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  2 22:25:35 2021
Terminated at Fri Jul  2 22:37:48 2021
Results reported at Fri Jul  2 22:37:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_weekly_bin612 2.8551 0.9646 609120001 609724801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0011.4+0057 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   699.00 sec.
    Max Memory :                                 621 MB
    Average Memory :                             299.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            739 sec.

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

