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 = 17179
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0910.6+2247_weekly_bin190
RA = 137.674, Dec = 22.7978
tmin = 353894401, tmax = 354499201
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='646702', job_status='RUN', time_executed='2021-07-15 02:50:11.510654', time_epoch_executed='1626342611.51' WHERE source_name='4FGL J0910.6+2247' and cadence='weekly' and bin_id='190'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/646702

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/646702/ft1_4FGL_J0910.6+2247_weekly_bin190.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/646702/ft2_4FGL_J0910.6+2247_weekly_bin190.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/646702/ft1_4FGL_J0910.6+2247_weekly_bin190.fits outfile=/scratch/kocevski/646702/ft1_filteredMKT_4FGL_J0910.6+2247_weekly_bin190.fits ra=137.674 dec=22.7978 rad=12.0 tmin=353894401.0 tmax=354499201.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 7.87
user 7.42
sys 0.34

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/646702/ft2_4FGL_J0910.6+2247_weekly_bin190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/646702/ft2_4FGL_J0910.6+2247_weekly_bin190.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/646702/ft1_filteredMKT_4FGL_J0910.6+2247_weekly_bin190.fits evtable="EVENTS" outfile="/scratch/kocevski/646702/ft1_filtered_4FGL_J0910.6+2247_weekly_bin190.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.55
user 0.39
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/646702/ft1_filtered_4FGL_J0910.6+2247_weekly_bin190.fits" evtable="EVENTS" scfile=/scratch/kocevski/646702/ft2_4FGL_J0910.6+2247_weekly_bin190.fits sctable="SC_DATA" outfile=/scratch/kocevski/646702/ltcube_353894401_354499201_4FGL_J0910.6+2247_weekly_bin190.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/646702/ft2_4FGL_J0910.6+2247_weekly_bin190.fits
.....................!
real 32.66
user 31.83
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/646702/ft1_filtered_4FGL_J0910.6+2247_weekly_bin190.fits evtable="EVENTS" scfile=/scratch/kocevski/646702/ft2_4FGL_J0910.6+2247_weekly_bin190.fits sctable="SC_DATA" expcube=/scratch/kocevski/646702/ltcube_353894401_354499201_4FGL_J0910.6+2247_weekly_bin190.fits outfile=/scratch/kocevski/646702/expmap_353894401_354499201_4FGL_J0910.6+2247_weekly_bin190.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/646702/ltcube_353894401_354499201_4FGL_J0910.6+2247_weekly_bin190.fits
.....................!
real 193.09
user 185.95
sys 4.67

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

Setting source of interest to:
4FGL J0910.6+2247 @ 137.674 22.7978

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/646702/ft1_filtered_4FGL_J0910.6+2247_weekly_bin190.fits scfile=/scratch/kocevski/646702/ft2_4FGL_J0910.6+2247_weekly_bin190.fits outfile=/scratch/kocevski/646702/cmap_353894401_354499201_4FGL_J0910.6+2247_weekly_bin190.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=137.674 yref=22.7978 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.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/646702/ft1_filtered_4FGL_J0910.6+2247_weekly_bin190.fits scfile=/scratch/kocevski/646702/ft2_4FGL_J0910.6+2247_weekly_bin190.fits outfile=/scratch/kocevski/646702/cmap_HighResolution_353894401_354499201_4FGL_J0910.6+2247_weekly_bin190.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=137.674 yref=22.7978 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.59
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/646702/ft1_filtered_4FGL_J0910.6+2247_weekly_bin190.fits evtable="EVENTS" scfile=/scratch/kocevski/646702/ft2_4FGL_J0910.6+2247_weekly_bin190.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/646702/Model_4FGL_J0910.6+2247_weekly_bin190.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/646702/ft1_filtered_4FGL_J0910.6+2247_weekly_bin190.fits.....................!
real 113.09
user 110.35
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/646702/ft1_filtered_4FGL_J0910.6+2247_weekly_bin190.fits', '/scratch/kocevski/646702/ft2_4FGL_J0910.6+2247_weekly_bin190.fits', expMap='/scratch/kocevski/646702/expmap_353894401_354499201_4FGL_J0910.6+2247_weekly_bin190.fits', expCube='/scratch/kocevski/646702/ltcube_353894401_354499201_4FGL_J0910.6+2247_weekly_bin190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/646702/Model_4FGL_J0910.6+2247_weekly_bin190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0910.6+2247'

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  9.863e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/646702/ft1_filtered_4FGL_J0910.6+2247_weekly_bin190.fits
Spacecraft file(s): /scratch/kocevski/646702/ft2_4FGL_J0910.6+2247_weekly_bin190.fits
Exposure map: /scratch/kocevski/646702/expmap_353894401_354499201_4FGL_J0910.6+2247_weekly_bin190.fits
Exposure cube: /scratch/kocevski/646702/ltcube_353894401_354499201_4FGL_J0910.6+2247_weekly_bin190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/646702/Model_4FGL_J0910.6+2247_weekly_bin190.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) = 13990.2240427

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3868       1.0000         .10000E-03   10000.    
     2 'norm      '    .52131       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13770E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.0042       1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.013       1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.451       1.0000         .10000E-03   10000.    
     9 'norm      '    4.8319       1.0000         .10000E-03   10000.    
    10 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.2505       1.0000         .10000E-03   10000.    
    12 'norm      '    .24683       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.592       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1694       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.2155       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .25225E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10883E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0266       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0107       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13990.18     FROM MIGRAD    STATUS=CONVERGED    420 CALLS     1832 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3872        9.0564        .39705E-02    .11229E-02
   2  norm          .52148        .85591        .11357E-02    .45683E-03
   3  Prefactor     .10000E-03    4.0517        .90712E-02** at limit **
   4  Prefactor     .10007E-03    2.3228        .57657E-01** at limit **
   5  Prefactor     .10000E-03    11.963        .90712E-02** at limit **
   6  norm          2.0043        .57447        .73126E-02    .12086E-03
   7  Prefactor     30.014        10.086        .18283E-02   -.23839E-03
   8  Prefactor     28.454        12.776        .18777E-02    .94861E-04
   9  norm          4.8319        3.5883        .45752E-02   -.17492E-03
  10  norm          .10000E-03    15.720        .90712E-02** at limit **
  11  Prefactor     7.2510        3.0067        .37240E-02    .19101E-03
  12  norm          .24715        .57969        .30711E-01    .35416E-02
  13  Prefactor     24.593        28.607        .20194E-02   -.47843E-03
  14  Prefactor     1.1698        1.5005        .10615E-01    .66029E-03
  15  Prefactor     8.2168        15.163        .34968E-02    .70387E-04
  16  Prefactor     .13300E-03    21.404        .17168    ** at limit **
  17  Prefactor     .10003E-03    46.184        .90712E-02** at limit **
  18  Prefactor     .10000E-03    1.7442        .90712E-02** at limit **
  19  Normalizat    1.0265        .12622        .42516E-01   -.66297E-05
  20  Prefactor     1.0108        .11086        .43222E-01   -.13198E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.38723
  norm       = 0.521478
  Prefactor  = 0.0001
  Prefactor  = 0.000100069
  Prefactor  = 0.0001
  norm       = 2.00427
  Prefactor  = 30.0142
  Prefactor  = 28.4539
  norm       = 4.83194
  norm       = 0.0001
  Prefactor  = 7.25102
  norm       = 0.247151
  Prefactor  = 24.5933
  Prefactor  = 1.16977
  Prefactor  = 8.21679
  Prefactor  = 0.000132998
  Prefactor  = 0.000100028
  Prefactor  = 0.0001
  Normalizat = 1.02648
  Prefactor  = 1.01083
 **********
 **   18 **HESSE 
 **********

 FCN=   13990.18     FROM HESSE     STATUS=OK           315 CALLS     2147 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3872        9.0268        .79410E-03   -1.5202    
   2  norm          .52148        .85250        .45430E-04   -1.5564    
   3  Prefactor     .10000E-03    4.1063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10007E-03    2.4028        .56055E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.0043        .57355        .45031E-04   -1.5425    
   7  Prefactor     30.014        10.092        .73134E-04   -1.4612    
   8  Prefactor     28.454        12.800        .75110E-04   -1.4641    
   9  norm          4.8319        3.5900        .18301E-03   -1.5268    
  10  norm          .10000E-03    15.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.2510        3.0081        .12744E-03   -1.5169    
  12  norm          .24715        .53018        .13321E-02   -1.5609    
  13  Prefactor     24.593        28.610        .80777E-04   -1.4716    
  14  Prefactor     1.1698        1.4672        .15774E-03   -1.5492    
  15  Prefactor     8.2168        15.182        .13987E-03   -1.5135    
  16  Prefactor     .13300E-03    21.545        .17086       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10003E-03    47.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.7652        .15250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0265        .14730        .25859E-03   -.92149    
  20  Prefactor     1.0108        .12942        .23602E-03   -.92370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40705e-08
Minuit parameter uncertainties:
  1  9.02877
  2  0.852516
  3  1.6021e-06
  4  0.000815607
  5  2.21299e-05
  6  0.573555
  7  10.0922
  8  12.801
  9  3.5902
  10  0.000109796
  11  3.00816
  12  0.530192
  13  28.6258
  14  1.46722
  15  15.1889
  16  0.0533465
  17  0.0023132
  18  1.36563e-07
  19  0.147363
  20  0.129461
Done.

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

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  1.098e-04  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.011e+00  1.295e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.026e+00  1.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 137.674 22.798
Photon Flux Upper Limit: 3.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.34e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/646702/likelihoodResults_353894401_354499201_4FGL_J0910.6+2247_weekly_bin190.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) = 13990.1779927
delta logL = -0.000301253190628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13990.1776913
delta logL = 1.13552232506e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2256       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0108       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13990.18     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      201 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    18.468        .90712E-02** at limit **
   2  alpha         2.2588        3.5146        .41469       -.99820E-05
   3  Normalizat    1.0265        .12071        .42534E-01    .27050E-04
   4  Prefactor     1.0108        .10997        .43210E-01    .67128E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.25877
  Normalizat = 1.02648
  Prefactor  = 1.01083
 **********
 **   18 **HESSE 
 **********

 FCN=   13990.18     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    17.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2588        3.4929        .50000       -.96642E-01
   3  Normalizat    1.0265        .14062        .25859E-03   -.92149    
   4  Prefactor     1.0108        .12812        .23602E-03   -.92370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55161e-10
Minuit parameter uncertainties:
  1  0.000232097
  2  2.49459
  3  0.140676
  4  0.128159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/646702': 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) = 13990.1776912
delta logL = 2.62700268649e-07

Extracting fit parameters...

4FGL J0910.6+2247
   Spectrum: LogParabola
290         norm:  1.000e-04  2.321e-04  1.000e-04  1.000e+04 ( 1.000e-13)
291        alpha:  2.259e+00  2.495e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  1.674e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  9.153e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.011e+00  1.282e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.026e+00  1.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 137.674 22.798

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/646702/cmap_HighResolution_353894401_354499201_4FGL_J0910.6+2247_weekly_bin190.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-05', job_status='DONE', photon_flux_upper_limit='3.05e-08', time_completed='2021-07-15 03:05:54.983911', job_id='646702', GAL2='1.01', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1626343554.98', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.63e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='190' AND source_name='4FGL J0910.6+2247' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 15 03:05:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 646702: <4FGL_J0910.6+2247_weekly_bin190> in cluster <slac> Done

Job <4FGL_J0910.6+2247_weekly_bin190> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Jul 15 02:45:23 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 15 02:49:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 15 02:49:55 2021
Terminated at Thu Jul 15 03:05:55 2021
Results reported at Thu Jul 15 03:05:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0910.6+2247_weekly_bin190 137.674 22.7978 353894401 354499201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0910.6+2247 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   915.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   962 sec.
    Turnaround time :                            1232 sec.

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

