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/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 67 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 = 17314
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0749.3+4453_weekly_bin507
RA = 117.348, Dec = 44.8918
tmin = 545616001, tmax = 546220801
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='312202', job_status='RUN', time_executed='2021-07-11 16:43:15.083023', time_epoch_executed='1626046995.08' WHERE source_name='4FGL J0749.3+4453' and cadence='weekly' and bin_id='507'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/312202

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/312202/ft1_4FGL_J0749.3+4453_weekly_bin507.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/312202/ft2_4FGL_J0749.3+4453_weekly_bin507.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/312202/ft1_4FGL_J0749.3+4453_weekly_bin507.fits outfile=/scratch/kocevski/312202/ft1_filteredMKT_4FGL_J0749.3+4453_weekly_bin507.fits ra=117.348 dec=44.8918 rad=12.0 tmin=545616001.0 tmax=546220801.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 8.89
user 8.29
sys 0.35

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/312202/ft2_4FGL_J0749.3+4453_weekly_bin507.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/312202/ft2_4FGL_J0749.3+4453_weekly_bin507.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/312202/ft1_filteredMKT_4FGL_J0749.3+4453_weekly_bin507.fits evtable="EVENTS" outfile="/scratch/kocevski/312202/ft1_filtered_4FGL_J0749.3+4453_weekly_bin507.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.94
user 0.40
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/312202/ft1_filtered_4FGL_J0749.3+4453_weekly_bin507.fits" evtable="EVENTS" scfile=/scratch/kocevski/312202/ft2_4FGL_J0749.3+4453_weekly_bin507.fits sctable="SC_DATA" outfile=/scratch/kocevski/312202/ltcube_545616001_546220801_4FGL_J0749.3+4453_weekly_bin507.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/312202/ft2_4FGL_J0749.3+4453_weekly_bin507.fits
.....................!
real 30.86
user 29.73
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/312202/ft1_filtered_4FGL_J0749.3+4453_weekly_bin507.fits evtable="EVENTS" scfile=/scratch/kocevski/312202/ft2_4FGL_J0749.3+4453_weekly_bin507.fits sctable="SC_DATA" expcube=/scratch/kocevski/312202/ltcube_545616001_546220801_4FGL_J0749.3+4453_weekly_bin507.fits outfile=/scratch/kocevski/312202/expmap_545616001_546220801_4FGL_J0749.3+4453_weekly_bin507.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/312202/ltcube_545616001_546220801_4FGL_J0749.3+4453_weekly_bin507.fits
.....................!
real 198.20
user 187.49
sys 5.10

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

Setting source of interest to:
4FGL J0749.3+4453 @ 117.348 44.8918

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/312202/ft1_filtered_4FGL_J0749.3+4453_weekly_bin507.fits scfile=/scratch/kocevski/312202/ft2_4FGL_J0749.3+4453_weekly_bin507.fits outfile=/scratch/kocevski/312202/cmap_545616001_546220801_4FGL_J0749.3+4453_weekly_bin507.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=117.348 yref=44.8918 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.25
user 0.42
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/312202/ft1_filtered_4FGL_J0749.3+4453_weekly_bin507.fits scfile=/scratch/kocevski/312202/ft2_4FGL_J0749.3+4453_weekly_bin507.fits outfile=/scratch/kocevski/312202/cmap_HighResolution_545616001_546220801_4FGL_J0749.3+4453_weekly_bin507.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=117.348 yref=44.8918 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.23
user 0.40
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/312202/ft1_filtered_4FGL_J0749.3+4453_weekly_bin507.fits evtable="EVENTS" scfile=/scratch/kocevski/312202/ft2_4FGL_J0749.3+4453_weekly_bin507.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/312202/Model_4FGL_J0749.3+4453_weekly_bin507.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/312202/ft1_filtered_4FGL_J0749.3+4453_weekly_bin507.fits.....................!
real 38.15
user 24.08
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/312202/ft1_filtered_4FGL_J0749.3+4453_weekly_bin507.fits', '/scratch/kocevski/312202/ft2_4FGL_J0749.3+4453_weekly_bin507.fits', expMap='/scratch/kocevski/312202/expmap_545616001_546220801_4FGL_J0749.3+4453_weekly_bin507.fits', expCube='/scratch/kocevski/312202/ltcube_545616001_546220801_4FGL_J0749.3+4453_weekly_bin507.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/312202/Model_4FGL_J0749.3+4453_weekly_bin507.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0749.3+4453'

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  4.702e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/312202/ft1_filtered_4FGL_J0749.3+4453_weekly_bin507.fits
Spacecraft file(s): /scratch/kocevski/312202/ft2_4FGL_J0749.3+4453_weekly_bin507.fits
Exposure map: /scratch/kocevski/312202/expmap_545616001_546220801_4FGL_J0749.3+4453_weekly_bin507.fits
Exposure cube: /scratch/kocevski/312202/ltcube_545616001_546220801_4FGL_J0749.3+4453_weekly_bin507.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/312202/Model_4FGL_J0749.3+4453_weekly_bin507.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1333.03432314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1326.76961337

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1034       1.0000         .10000E-03   10000.    
     2 'norm      '    .10636E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    137.86       1.0000         .10000E-03   10000.    
     4 'norm      '    .30397E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .67089E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.4720       1.0000         .10000E-03   10000.    
     7 'norm      '    .13122E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    56.042       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.9549       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0164       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10947E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .16099E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    10.662       1.0000         .10000E-03   10000.    
    14 'norm      '    .65275E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .78280E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.3125       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.298       1.0000         .10000E-03   10000.    
    18 'norm      '    .31780       1.0000         .10000E-03   10000.    
    19 'norm      '    .12538E-01   1.0000         .10000E-03   10000.    
    20 'norm      '    2.7777       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .26080E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.6978       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .41187E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .14615E-01   1.0000         .10000E-03   10000.    
    25 'norm      '    .37759E-02   1.0000         .10000E-03   10000.    
    26 'norm      '    .93169       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.4742       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91296E-06   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1326.743     FROM MIGRAD    STATUS=CONVERGED    290 CALLS      618 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20835E-01    6300.4        .71131E-02    .25004E-02
   2  norm          .10000E-03    10.214        .10361E-01** at limit **
   3  Prefactor     138.93        108.67        .85762E-03    .57398E-03
   4  norm          .10009E-03    92.688        .10692E-01** at limit **
   5  Prefactor     .10000E-03    25.775        .10502E-01** at limit **
   6  Prefactor     .21625E-03    419.55        .39440E-02** at limit **
   7  norm          .10000E-03    17.246        .90885E-02** at limit **
   8  Prefactor     56.078        28.923        .13396E-02    .21310E-03
   9  Prefactor     .73776E-03    516.28        .38031E-02** at limit **
  10  norm          1.0164        1.3026         .0000         .0000    
  11  Prefactor     .14103E-03    .26785       -.14361E-05** at limit **
  12  Prefactor     .10016E-03    .20717       -.19598E-05** at limit **
  13  norm          11.217        1.0268        .10719E-05    .35889E-02
  14  norm          .10000E-03    .27611        .62196E-06** at limit **
  15  Prefactor     .10000E-03    .21423        .55318E-05** at limit **
  16  Prefactor     .10016E-03    .77302E-01   -.13649E-05** at limit **
  17  Prefactor     15.439        1.0051        .86022E-06   -.40847E-03
  18  norm          .10001E-03    .27577        .94981E-05** at limit **
  19  norm          .10000E-03    .20637       -.51270E-06** at limit **
  20  norm          2.7810        1.0178       -.27784E-06   -.46556E-03
  21  Prefactor     .10000E-03    .24938        .24702E-06** at limit **
  22  Prefactor     5.7188        1.0057       -.71019E-06    .14925E-03
  23  Prefactor     .10000E-03    .21284       -.10731E-05** at limit **
  24  Prefactor     .10000E-03    .20684        .30516E-06** at limit **
  25  norm          .10032E-03    .23924        .57575E-06** at limit **
  26  norm          .10027E-03    .41744        .36670E-06** at limit **
  27  Normalizat    1.4716        1.0517        .20065E-05    .15924E-03
  28  Prefactor     .10567E-09    .25717       -.24001E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0208354
  norm       = 0.0001
  Prefactor  = 138.932
  norm       = 0.00010009
  Prefactor  = 0.0001
  Prefactor  = 0.000216251
  norm       = 0.0001
  Prefactor  = 56.078
  Prefactor  = 0.000737763
  norm       = 1.01645
  Prefactor  = 0.000141026
  Prefactor  = 0.000100158
  norm       = 11.2169
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.000100158
  Prefactor  = 15.4394
  norm       = 0.000100013
  norm       = 0.0001
  norm       = 2.78096
  Prefactor  = 0.0001
  Prefactor  = 5.71878
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100317
  norm       = 0.000100273
  Normalizat = 1.47164
  Prefactor  = 1.05669e-10
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1326.743     FROM HESSE     STATUS=FAILED        27 CALLS      645 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20835E-01    6300.4        .71131E-02   -1.5679    
   2  norm          .10000E-03    10.214        .10361E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     138.93        108.67        .85762E-03   -1.3345    
   4  norm          .10009E-03    92.688        .10692E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.775        .10502E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21625E-03    419.55        .39440E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    17.246        .90885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     56.078        28.923        .13396E-02   -1.4209    
   9  Prefactor     .73776E-03    516.28        .38031E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          587.95        586.52         .0000       -1.5506    
  11  Prefactor     .14103E-03    .26785       -.14361E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10016E-03    .20717       -.19598E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.217        1.0268        .10719E-05   -1.5038    
  14  norm          .10000E-03    .27611        .62196E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .21423        .55318E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10016E-03    .77302E-01   -.13649E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.439        1.0051        .86022E-06   -1.4922    
  18  norm          .10001E-03    .27577        .94981E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .20637       -.51270E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.7810        1.0178       -.27784E-06   -1.5374    
  21  Prefactor     .10000E-03    .24938        .24702E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     5.7188        1.0057       -.71019E-06   -1.5230    
  23  Prefactor     .10000E-03    .21284       -.10731E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    .20684        .30516E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10032E-03    .23924        .57575E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10027E-03    .41744        .36670E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.4716        1.0517        .20065E-05   -.78578    
  28  Prefactor     .10567E-09    .25717       -.24001E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.60919e-09
Minuit parameter uncertainties:
  1  15.4542
  2  4.46324e-06
  3  108.824
  4  0.00579785
  5  0.000134715
  6  0.444842
  7  0.000180863
  8  28.9305
  9  1.15774
  10  1.30263
  11  0.00662993
  12  0.000361923
  13  1.02679
  14  9.18038e-06
  15  6.5053e-05
  16  0.000221305
  17  1.00515
  18  0.000121022
  19  1.23053e-05
  20  1.0178
  21  3.29311e-06
  22  1.00575
  23  1.5105e-05
  24  2.60811e-06
  25  0.000551082
  26  0.000675472
  27  1.06794
  28  1.04712e-05
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1326.74339971

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.002e-04  3.619e-04  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  1.057e-10  1.047e-05  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.472e+00  1.068e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.348 44.892
Photon Flux Upper Limit: 3.72e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.85e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/312202/likelihoodResults_545616001_546220801_4FGL_J0749.3+4453_weekly_bin507.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1326.7434938
delta logL = -9.4085020919e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1326.74340443
delta logL = -4.72256101602e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1326.743     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      228 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    98.503        .90712E-02** at limit **
   2  Index         2.2308        5.9138        .50000       -.22440E-05
   3  Normalizat    1.4716        .28010        .47666E-01    .91304E-04
   4  Prefactor     .22718E-10    .31915        .15296    ** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.2308
  Normalizat = 1.47164
  Prefactor  = 2.27185e-11
 **********
 **   18 **HESSE 
 **********

 FCN=   1326.743     FROM HESSE     STATUS=OK            31 CALLS      259 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    52.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2308        6.1142        .50000       -.58697    
   3  Normalizat    1.4716        .20934        .21069E-03   -.78578    
   4  Prefactor     .22718E-10    .56680        .98728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.3057e-11
Minuit parameter uncertainties:
  1  7.86647e-05
  2  4.22266
  3  0.209458
  4  7.24645e-06
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/312202': 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) = 1326.74339973
delta logL = -1.59000137501e-08

Extracting fit parameters...

4FGL J0749.3+4453
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  7.866e-05  1.000e-04  1.000e+04 ( 1.000e-13)
284        Index:  2.231e+00  4.223e+00  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  1.134e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
644    Prefactor:  2.272e-11  7.246e-06  0.000e+00  1.000e+01 ( 1.000e+00)
645        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
646        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
643   Normalization:  1.472e+00  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.348 44.892

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/312202/cmap_HighResolution_545616001_546220801_4FGL_J0749.3+4453_weekly_bin507.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.85e-02', job_status='DONE', photon_flux_upper_limit='3.72e-07', time_completed='2021-07-11 16:51:23.474040', job_id='312202', GAL2='0.00', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1626047483.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-1.59e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='507' AND source_name='4FGL J0749.3+4453' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul 11 16:51:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 312202: <4FGL_J0749.3+4453_weekly_bin507> in cluster <slac> Done

Job <4FGL_J0749.3+4453_weekly_bin507> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 11 16:36:39 2021
Job was executed on host(s) <bullet0299>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 11 16:37:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 11 16:37:53 2021
Terminated at Sun Jul 11 16:51:26 2021
Results reported at Sun Jul 11 16:51:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.3+4453_weekly_bin507 117.348 44.8918 545616001 546220801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0749.3+4453 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   414.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             223.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            887 sec.

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

