aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 83 seconds before starting...
Proceeding.

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

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

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

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

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


Performing analysis on: 4FGL_J0752.2+3313_weekly_bin762
RA = 118.055, Dec = 33.232
tmin = 699840001, tmax = 700444801
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='986414', job_status='RUN', time_executed='2023-03-14 02:37:09.649548', time_epoch_executed='1678786629.65' WHERE source_name='4FGL J0752.2+3313' and cadence='weekly' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/986414

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/986414/ft1_4FGL_J0752.2+3313_weekly_bin762.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/986414/ft2_4FGL_J0752.2+3313_weekly_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/986414/ft1_4FGL_J0752.2+3313_weekly_bin762.fits outfile=/scratch/kocevski/986414/ft1_filteredMKT_4FGL_J0752.2+3313_weekly_bin762.fits ra=118.055 dec=33.232 rad=12.0 tmin=699840001.0 tmax=700444801.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.51
user 6.24
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/986414/ft2_4FGL_J0752.2+3313_weekly_bin762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/986414/ft2_4FGL_J0752.2+3313_weekly_bin762.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/986414/ft1_filteredMKT_4FGL_J0752.2+3313_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/986414/ft1_filtered_4FGL_J0752.2+3313_weekly_bin762.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 1671

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/986414/ft1_filtered_4FGL_J0752.2+3313_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/986414/ft2_4FGL_J0752.2+3313_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/986414/ltcube_699840001_700444801_4FGL_J0752.2+3313_weekly_bin762.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/986414/ft2_4FGL_J0752.2+3313_weekly_bin762.fits
.....................!
real 23.35
user 22.93
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/986414/ft1_filtered_4FGL_J0752.2+3313_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/986414/ft2_4FGL_J0752.2+3313_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/986414/ltcube_699840001_700444801_4FGL_J0752.2+3313_weekly_bin762.fits outfile=/scratch/kocevski/986414/expmap_699840001_700444801_4FGL_J0752.2+3313_weekly_bin762.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/986414/ltcube_699840001_700444801_4FGL_J0752.2+3313_weekly_bin762.fits
.....................!
real 156.20
user 151.52
sys 4.17

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

Setting source of interest to:
4FGL J0752.2+3313 @ 118.055 33.232

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/986414/ft1_filtered_4FGL_J0752.2+3313_weekly_bin762.fits scfile=/scratch/kocevski/986414/ft2_4FGL_J0752.2+3313_weekly_bin762.fits outfile=/scratch/kocevski/986414/cmap_699840001_700444801_4FGL_J0752.2+3313_weekly_bin762.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=118.055 yref=33.232 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.52
user 0.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/986414/ft1_filtered_4FGL_J0752.2+3313_weekly_bin762.fits scfile=/scratch/kocevski/986414/ft2_4FGL_J0752.2+3313_weekly_bin762.fits outfile=/scratch/kocevski/986414/cmap_HighResolution_699840001_700444801_4FGL_J0752.2+3313_weekly_bin762.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=118.055 yref=33.232 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.52
user 0.36
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/986414/ft1_filtered_4FGL_J0752.2+3313_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/986414/ft2_4FGL_J0752.2+3313_weekly_bin762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/986414/Model_4FGL_J0752.2+3313_weekly_bin762.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/986414/ft1_filtered_4FGL_J0752.2+3313_weekly_bin762.fits.....................!
real 129.25
user 127.48
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/986414/ft1_filtered_4FGL_J0752.2+3313_weekly_bin762.fits', '/scratch/kocevski/986414/ft2_4FGL_J0752.2+3313_weekly_bin762.fits', expMap='/scratch/kocevski/986414/expmap_699840001_700444801_4FGL_J0752.2+3313_weekly_bin762.fits', expCube='/scratch/kocevski/986414/ltcube_699840001_700444801_4FGL_J0752.2+3313_weekly_bin762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/986414/Model_4FGL_J0752.2+3313_weekly_bin762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0752.2+3313'

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  9.525e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        alpha:  2.309e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.191e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  5.149e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/986414/ft1_filtered_4FGL_J0752.2+3313_weekly_bin762.fits
Spacecraft file(s): /scratch/kocevski/986414/ft2_4FGL_J0752.2+3313_weekly_bin762.fits
Exposure map: /scratch/kocevski/986414/expmap_699840001_700444801_4FGL_J0752.2+3313_weekly_bin762.fits
Exposure cube: /scratch/kocevski/986414/ltcube_699840001_700444801_4FGL_J0752.2+3313_weekly_bin762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/986414/Model_4FGL_J0752.2+3313_weekly_bin762.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) = 17880.6264759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63205       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13546E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .63799E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .35805E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    22.184       1.0000          .0000       .10000E+07
     6 'Prefactor '    27.620       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.3707       1.0000          .0000       .10000E+07
     8 'norm      '    .84324       1.0000          .0000       .10000E+07
     9 'Prefactor '    .50345E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    13.646       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6010       1.0000          .0000       .10000E+07
    12 'norm      '    .23746       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12253E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.7366       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11208E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .95138       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0916       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .97670       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17880.59     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1096 TOTAL
                     EDM=   .97E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63224        .33792       -.11252E-07    .14566E-02
   2  Prefactor      .0000        4.2991        .21793E-08** at limit **
   3  Prefactor      .0000        5.8989        .75269E-07** at limit **
   4  norm           .0000        1.4298       -.47881E-07** at limit **
   5  Prefactor     22.568        21.916        .97822E-08   -.27681E-03
   6  Prefactor     27.533        4.9045        .74561E-08   -.33207E-02
   7  Prefactor     8.4586        7.4666       -.14461E-07    .11440E-04
   8  norm          .87488        2.9903        .91255E-07   -.17889E-03
   9  Prefactor      .0000        5.0198        .11355E-06** at limit **
  10  Prefactor     13.640        3.3722       -.28359E-07    .36689E-03
  11  Prefactor     1.6137        1.3670        .33791E-08    .33863E-04
  12  norm          .23771        .20195        .11246E-07** at limit **
  13  Prefactor      .0000        14.032        .12412E-06** at limit **
  14  Prefactor     3.7333        4.4266        .19956E-07   -.16953E-05
  15  Prefactor     .55511E-10    5.8156        .71061E-09** at limit **
  16  Prefactor     .95280        1.1160       -.20569E-07    .14032E-03
  17  Normalizat    1.0913        .13240       -.49734E-06    .12812E-04
  18  Prefactor     .97674        .92293E-01    .27352E-06    .12043E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.632241
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 22.5677
  Prefactor  = 27.5329
  Prefactor  = 8.45859
  norm       = 0.874878
  Prefactor  = 0
  Prefactor  = 13.6397
  Prefactor  = 1.61367
  norm       = 0.237708
  Prefactor  = 0
  Prefactor  = 3.73325
  Prefactor  = 5.55112e-11
  Prefactor  = 0.952804
  Normalizat = 1.09131
  Prefactor  = 0.976736
 **********
 **   18 **HESSE 
 **********

 FCN=   17880.59     FROM HESSE     STATUS=OK           284 CALLS     1380 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63224        .33805        .66405E-03   -1.5692    
   2  Prefactor      .0000        4.2566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        6.1597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.4233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.568        21.876        .21237E-03   -1.5613    
   6  Prefactor     27.533        12.208        .19031E-03   -1.5603    
   7  Prefactor     8.4586        7.4718        .34626E-03   -1.5650    
   8  norm          .87488        3.0001        .49766E-03   -1.5689    
   9  Prefactor      .0000        4.9712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.640        3.3888        .27089E-03   -1.5634    
  11  Prefactor     1.6137        22.442        .83752E-03   -1.5683    
  12  norm          .23771        .21090        .11144E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        14.000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.7333        4.4595        .52211E-03   -1.5669    
  15  Prefactor     .55511E-10    6.3699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .95280        1.1228        .42271E-03   -1.5688    
  17  Normalizat    1.0913        .11303        .61476E-01   -.90031    
  18  Prefactor     .97674        .78025E-01    .45975E-01   -.93509    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46023e-07
Minuit parameter uncertainties:
  1  0.338049
  2  1.5212e-06
  3  1.74058e-05
  4  1.08663e-06
  5  21.8761
  6  12.2077
  7  7.47183
  8  3.00015
  9  2.59532e-06
  10  3.38884
  11  12.0356
  12  0.210898
  13  5.30959e-06
  14  4.45949
  15  3.17507e-05
  16  1.12279
  17  0.113053
  18  0.0780344
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  8.749e-01  3.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        alpha:  2.309e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  1.191e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  5.149e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
608    Prefactor:  9.767e-01  7.803e-02  0.000e+00  1.000e+01 ( 1.000e+00)
609        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
610        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
607   Normalization:  1.091e+00  1.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.10
Ra Dec: 118.055 33.232
Photon Flux Upper Limit: 2.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.59e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/986414/likelihoodResults_699840001_700444801_4FGL_J0752.2+3313_weekly_bin762.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) = 17880.5325347
delta logL = 0.0529655353821

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17880.5291396
delta logL = 0.0563607076583

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0920       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7951       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97575       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   17880.53     FROM MIGRAD    STATUS=FAILED        99 CALLS      254 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1010        2.7952        .32824E-03    .80462E-01
   2  alpha         1.7977        1.2711        .60535E-01   -.28482E-03
   3  Normalizat    1.0927        .12871        .27175E-03   -.22976E-03
   4  Prefactor     .97574        .91734E-01    .20243E-03   -.32709E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   17880.53     FROM SIMPLEX   STATUS=UNCHANGED     68 CALLS      322 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1010        2.7952        .13533E-04   -1.5687    
   2  alpha         1.7977        1.2711        .21180E-02   -.28477    
   3  Normalizat    1.0927        .12871        .19345E-03   -.89987    
   4  Prefactor     .97574        .91734E-01    .15080E-03   -.93543    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17880.53     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      352 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1010        2.8342        .65648E-04    .15794E-03
   2  alpha         1.7977        1.2935        .12107E-01   -.57843E-06
   3  Normalizat    1.0927        .12881        .10870E-04    .16734E-06
   4  Prefactor     .97574        .91808E-01    .40485E-04    .58409E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.101
  alpha      = 1.79766
  Normalizat = 1.09268
  Prefactor  = 0.97574
 **********
 **   18 **HESSE 
 **********

 FCN=   17880.53     FROM HESSE     STATUS=OK            27 CALLS      379 TOTAL
                     EDM=   .90E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1010        2.8465        .26259E-05   -1.5687    
   2  alpha         1.7977        1.2988        .48428E-03   -.28477    
   3  Normalizat    1.0927        .12881        .10870E-04   -.89987    
   4  Prefactor     .97574        .91807E-01    .40485E-04   -.93543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.00175e-15
Minuit parameter uncertainties:
  1  2.84652
  2  1.3724
  3  0.128851
  4  0.0918218
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/986414': 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) = 17880.5291341
delta logL = 0.0563662158602

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.101e+00  2.847e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        alpha:  1.798e+00  1.372e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  1.191e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  5.149e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
608    Prefactor:  9.757e-01  9.182e-02  0.000e+00  1.000e+01 ( 1.000e+00)
609        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
610        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
607   Normalization:  1.093e+00  1.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
Ra Dec: 118.055 33.232

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/986414/cmap_HighResolution_699840001_700444801_4FGL_J0752.2+3313_weekly_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.59e-06', job_status='DONE', photon_flux_upper_limit='2.94e-08', time_completed='2023-03-14 02:50:55.131014', job_id='986414', GAL2='0.98', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1678787455.13', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='5.64e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='762' AND source_name='4FGL J0752.2+3313' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 14 02:50:55 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 986414: <4FGL_J0752.2+3313_weekly_bin762> in cluster <slac> Done

Job <4FGL_J0752.2+3313_weekly_bin762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 02:35:30 2023
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 02:35:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 02:35:38 2023
Terminated at Tue Mar 14 02:50:56 2023
Results reported at Tue Mar 14 02:50:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_weekly_bin762 118.055 33.232 699840001 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0752.2+3313 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   823.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             350.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            926 sec.

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

