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 56 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 = 17017
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0750.8+1229_weekly_bin596
RA = 117.701, Dec = 12.494
tmin = 599443201, tmax = 600048001
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='324161', job_status='RUN', time_executed='2021-07-11 17:20:14.510184', time_epoch_executed='1626049214.51' WHERE source_name='4FGL J0750.8+1229' and cadence='weekly' and bin_id='596'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324161

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324161/ft1_4FGL_J0750.8+1229_weekly_bin596.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324161/ft2_4FGL_J0750.8+1229_weekly_bin596.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324161/ft1_4FGL_J0750.8+1229_weekly_bin596.fits outfile=/scratch/kocevski/324161/ft1_filteredMKT_4FGL_J0750.8+1229_weekly_bin596.fits ra=117.701 dec=12.494 rad=12.0 tmin=599443201.0 tmax=600048001.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 5.95
user 4.95
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/324161/ft2_4FGL_J0750.8+1229_weekly_bin596.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/324161/ft2_4FGL_J0750.8+1229_weekly_bin596.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/324161/ft1_filteredMKT_4FGL_J0750.8+1229_weekly_bin596.fits evtable="EVENTS" outfile="/scratch/kocevski/324161/ft1_filtered_4FGL_J0750.8+1229_weekly_bin596.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 1.47
user 0.39
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324161/ft1_filtered_4FGL_J0750.8+1229_weekly_bin596.fits" evtable="EVENTS" scfile=/scratch/kocevski/324161/ft2_4FGL_J0750.8+1229_weekly_bin596.fits sctable="SC_DATA" outfile=/scratch/kocevski/324161/ltcube_599443201_600048001_4FGL_J0750.8+1229_weekly_bin596.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/324161/ft2_4FGL_J0750.8+1229_weekly_bin596.fits
.....................!
real 33.44
user 32.26
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324161/ft1_filtered_4FGL_J0750.8+1229_weekly_bin596.fits evtable="EVENTS" scfile=/scratch/kocevski/324161/ft2_4FGL_J0750.8+1229_weekly_bin596.fits sctable="SC_DATA" expcube=/scratch/kocevski/324161/ltcube_599443201_600048001_4FGL_J0750.8+1229_weekly_bin596.fits outfile=/scratch/kocevski/324161/expmap_599443201_600048001_4FGL_J0750.8+1229_weekly_bin596.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/324161/ltcube_599443201_600048001_4FGL_J0750.8+1229_weekly_bin596.fits
.....................!
real 196.07
user 186.74
sys 5.02

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 168 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0750.8+1229 @ 117.701 12.494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/324161/ft1_filtered_4FGL_J0750.8+1229_weekly_bin596.fits scfile=/scratch/kocevski/324161/ft2_4FGL_J0750.8+1229_weekly_bin596.fits outfile=/scratch/kocevski/324161/cmap_599443201_600048001_4FGL_J0750.8+1229_weekly_bin596.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.701 yref=12.494 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.60
user 0.43
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324161/ft1_filtered_4FGL_J0750.8+1229_weekly_bin596.fits scfile=/scratch/kocevski/324161/ft2_4FGL_J0750.8+1229_weekly_bin596.fits outfile=/scratch/kocevski/324161/cmap_HighResolution_599443201_600048001_4FGL_J0750.8+1229_weekly_bin596.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.701 yref=12.494 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.63
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/324161/ft1_filtered_4FGL_J0750.8+1229_weekly_bin596.fits evtable="EVENTS" scfile=/scratch/kocevski/324161/ft2_4FGL_J0750.8+1229_weekly_bin596.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/324161/Model_4FGL_J0750.8+1229_weekly_bin596.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/324161/ft1_filtered_4FGL_J0750.8+1229_weekly_bin596.fits......................!
real 40.41
user 37.69
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/324161/ft1_filtered_4FGL_J0750.8+1229_weekly_bin596.fits', '/scratch/kocevski/324161/ft2_4FGL_J0750.8+1229_weekly_bin596.fits', expMap='/scratch/kocevski/324161/expmap_599443201_600048001_4FGL_J0750.8+1229_weekly_bin596.fits', expCube='/scratch/kocevski/324161/ltcube_599443201_600048001_4FGL_J0750.8+1229_weekly_bin596.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/324161/Model_4FGL_J0750.8+1229_weekly_bin596.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0750.8+1229'

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.506e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/324161/ft1_filtered_4FGL_J0750.8+1229_weekly_bin596.fits
Spacecraft file(s): /scratch/kocevski/324161/ft2_4FGL_J0750.8+1229_weekly_bin596.fits
Exposure map: /scratch/kocevski/324161/expmap_599443201_600048001_4FGL_J0750.8+1229_weekly_bin596.fits
Exposure cube: /scratch/kocevski/324161/ltcube_599443201_600048001_4FGL_J0750.8+1229_weekly_bin596.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/324161/Model_4FGL_J0750.8+1229_weekly_bin596.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) = 2184.61342431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61841E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10175E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    105.83       1.0000         .10000E-03   10000.    
     6 'norm      '    35.010       1.0000         .10000E-03   10000.    
     7 'norm      '    12.236       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10727E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23886E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1318       1.0000         .10000E-03   10000.    
    12 'norm      '    72.700       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17396E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1145.3       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    47.165       1.0000         .10000E-03   10000.    
    18 'norm      '    9.0155       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .46860E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .51625       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0658       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2184.066     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2855 TOTAL
                     EDM=   .60E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    558.71       -.15164E-05** at limit **
   2  norm          .10000E-03    2.1270       -.14047E-07** at limit **
   3  norm          .10000E-03    4.6168       -.27887E-07** at limit **
   4  Prefactor     .10000E-03    51.861        .39918E-07** at limit **
   5  Prefactor     105.84        87.792       -.13991E-07   -.10950E-04
   6  norm          35.007        21.915       -.58910E-06   -.63300E-04
   7  norm          12.233        4.4941        .30856E-07   -.50886E-04
   8  Prefactor     .10000E-03    92.066       -.26550E-06** at limit **
   9  Prefactor     .10000E-03    222.98       -.59259E-06** at limit **
  10  Prefactor     .10001E-03    248.05       -.15600E-05** at limit **
  11  Prefactor     1.1194        35.836        .80135E-05   -.93483E-05
  12  norm          72.742        64.864        .88143E-06   -.70132E-04
  13  Prefactor     .10000E-03    171.77        .13671E-04** at limit **
  14  Prefactor     .10000E-03    172.35        .82533E-06** at limit **
  15  norm          1145.2        881.33       -.73250E-06   -.74362E-05
  16  Prefactor     .10000E-03    23.553        .94778E-07** at limit **
  17  norm          47.181        43.973        .24178E-06   -.95187E-05
  18  norm          9.0101        7.0240        .55190E-07   -.95645E-05
  19  Prefactor     .10000E-03    31.838        .16805E-06** at limit **
  20  Prefactor     .10000E-03    113.36       -.10534E-05** at limit **
  21  Normalizat    .51591        .46211       -.11133E-05   -.61424E-04
  22  Prefactor     1.0662        .28539       -.37336E-06   -.91580E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100005
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 105.835
  norm       = 35.0072
  norm       = 12.2332
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100005
  Prefactor  = 1.11939
  norm       = 72.7419
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1145.19
  Prefactor  = 0.0001
  norm       = 47.1805
  norm       = 9.01007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.515905
  Prefactor  = 1.06618
 **********
 **   18 **HESSE 
 **********

 FCN=   2184.066     FROM HESSE     STATUS=OK           330 CALLS     3185 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    562.93        .21048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.1415        .66497E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.6412        .98063E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    51.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     105.84        87.705        .39090E-04   -1.3647    
   6  norm          35.007        21.937        .67728E-04   -1.4524    
   7  norm          12.233        4.4990        .55777E-04   -1.5008    
   8  Prefactor     .10000E-03    92.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    223.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    251.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1194        36.155        .43886E-03   -1.5496    
  12  norm          72.742        63.282        .47086E-04   -1.4000    
  13  Prefactor     .10000E-03    165.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    173.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1145.2        882.70        .62803E-04   -.88035    
  16  Prefactor     .10000E-03    23.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          47.181        43.815        .58385E-04   -1.4333    
  18  norm          9.0101        7.0122        .10309E-03   -1.5108    
  19  Prefactor     .10000E-03    31.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    116.66        .42378E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .51591        .49153        .45658E-03   -1.1168    
  22  Prefactor     1.0662        .31246        .21074E-03   -.90555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18353e-10
Minuit parameter uncertainties:
  1  0.00351716
  2  3.65866e-07
  3  4.32965e-06
  4  3.24592e-05
  5  87.8123
  6  21.942
  7  4.49914
  8  0.000360095
  9  0.0007068
  10  0.00230478
  11  12.7313
  12  63.3403
  13  0.000106044
  14  0.00100842
  15  894.415
  16  7.50753e-06
  17  43.8447
  18  7.01286
  19  6.53186e-06
  20  0.000132937
  21  0.495748
  22  0.312994
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.119e+00  1.273e+01  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.066e+00  3.130e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  5.159e-01  4.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 4.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.49e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/324161/likelihoodResults_599443201_600048001_4FGL_J0750.8+1229_weekly_bin596.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) = 2183.9767594
delta logL = 0.0896765638022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2183.96894952
delta logL = 0.0974864448253

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2183.969     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      217 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5895        145.15        .84218E-02   -.87684E-03
   2  Index         3.4820        6.7014        .21200       -.10494E-03
   3  Normalizat    .47313        .89042E-01    .10719       -.35292E-04
   4  Prefactor     1.0809        .58072E-01    .38357E-01    .15906E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58952
  Index      = 3.48199
  Normalizat = 0.473126
  Prefactor  = 1.08094
 **********
 **   18 **HESSE 
 **********

 FCN=   2183.969     FROM HESSE     STATUS=OK            31 CALLS      248 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5895        10.958        .13271E-03   -1.5456    
   2  Index         3.4820        2.6474        .79163E-02   -.30847    
   3  Normalizat    .47313        .47367        .47534E-03   -1.1368    
   4  Prefactor     1.0809        .30609        .20932E-03   -.90078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69934e-09
Minuit parameter uncertainties:
  1  8.34885
  2  2.80702
  3  0.477778
  4  0.306592
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324161': 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) = 2183.96894859
delta logL = 0.0974873786317

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.590e+00  8.349e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  3.482e+00  2.807e+00  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.081e+00  3.066e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  4.731e-01  4.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 117.701 12.494

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/324161/cmap_HighResolution_599443201_600048001_4FGL_J0750.8+1229_weekly_bin596.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-02', job_status='DONE', photon_flux_upper_limit='4.48e-07', time_completed='2021-07-11 17:28:38.567662', job_id='324161', GAL2='1.08', fit_tolerance='1e-08', EG2='0.47', EG='0.52', time_epoch_completed='1626049718.57', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='9.75e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='596' AND source_name='4FGL J0750.8+1229' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul 11 17:28:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 324161: <4FGL_J0750.8+1229_weekly_bin596> in cluster <slac> Done

Job <4FGL_J0750.8+1229_weekly_bin596> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jul 11 17:17:28 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 11 17:17:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 11 17:17:52 2021
Terminated at Sun Jul 11 17:28:39 2021
Results reported at Sun Jul 11 17:28:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_weekly_bin596 117.701 12.494 599443201 600048001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0750.8+1229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   480.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            671 sec.

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

