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 128 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 = 7462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0752.2+3313_daily_bin1712
RA = 118.055, Dec = 33.232
tmin = 683078401, tmax = 683337601
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='59771', job_status='RUN', time_executed='2022-09-16 13:29:40.551584', time_epoch_executed='1663360180.55' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59771

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59771/ft1_4FGL_J0752.2+3313_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59771/ft2_4FGL_J0752.2+3313_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59771/ft1_4FGL_J0752.2+3313_daily_bin1712.fits outfile=/scratch/kocevski/59771/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin1712.fits ra=118.055 dec=33.232 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.79
user 4.53
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/59771/ft2_4FGL_J0752.2+3313_daily_bin1712.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/59771/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/59771/ft1_filtered_4FGL_J0752.2+3313_daily_bin1712.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 651

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/59771/ft1_filtered_4FGL_J0752.2+3313_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/59771/ft2_4FGL_J0752.2+3313_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/59771/ltcube_683078401_683337601_4FGL_J0752.2+3313_daily_bin1712.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/59771/ft2_4FGL_J0752.2+3313_daily_bin1712.fits
.....................!
real 15.38
user 14.98
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59771/ft1_filtered_4FGL_J0752.2+3313_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/59771/ft2_4FGL_J0752.2+3313_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/59771/ltcube_683078401_683337601_4FGL_J0752.2+3313_daily_bin1712.fits outfile=/scratch/kocevski/59771/expmap_683078401_683337601_4FGL_J0752.2+3313_daily_bin1712.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/59771/ltcube_683078401_683337601_4FGL_J0752.2+3313_daily_bin1712.fits
.....................!
real 195.81
user 189.97
sys 5.28

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/59771/ft1_filtered_4FGL_J0752.2+3313_daily_bin1712.fits scfile=/scratch/kocevski/59771/ft2_4FGL_J0752.2+3313_daily_bin1712.fits outfile=/scratch/kocevski/59771/cmap_683078401_683337601_4FGL_J0752.2+3313_daily_bin1712.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/59771/ft1_filtered_4FGL_J0752.2+3313_daily_bin1712.fits scfile=/scratch/kocevski/59771/ft2_4FGL_J0752.2+3313_daily_bin1712.fits outfile=/scratch/kocevski/59771/cmap_HighResolution_683078401_683337601_4FGL_J0752.2+3313_daily_bin1712.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.57
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/59771/ft1_filtered_4FGL_J0752.2+3313_daily_bin1712.fits', '/scratch/kocevski/59771/ft2_4FGL_J0752.2+3313_daily_bin1712.fits', expMap='/scratch/kocevski/59771/expmap_683078401_683337601_4FGL_J0752.2+3313_daily_bin1712.fits', expCube='/scratch/kocevski/59771/ltcube_683078401_683337601_4FGL_J0752.2+3313_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/59771/Model_4FGL_J0752.2+3313_daily_bin1712.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/59771/ft1_filtered_4FGL_J0752.2+3313_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/59771/ft2_4FGL_J0752.2+3313_daily_bin1712.fits
Exposure map: /scratch/kocevski/59771/expmap_683078401_683337601_4FGL_J0752.2+3313_daily_bin1712.fits
Exposure cube: /scratch/kocevski/59771/ltcube_683078401_683337601_4FGL_J0752.2+3313_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/59771/Model_4FGL_J0752.2+3313_daily_bin1712.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) = 7329.55086063

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17431E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .13761E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18066       1.0000          .0000       .10000E+07
     4 'norm      '    3.9600       1.0000          .0000       .10000E+07
     5 'Prefactor '    18.797       1.0000          .0000       .10000E+07
     6 'Prefactor '    12.690       1.0000          .0000       .10000E+07
     7 'Prefactor '    .83794E-02   1.0000          .0000       .10000E+07
     8 'norm      '    22.118       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.4843       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.2258       1.0000          .0000       .10000E+07
    11 'Prefactor '    .26267E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.1488       1.0000          .0000       .10000E+07
    13 'Prefactor '    .17634E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .40678E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .73949E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    1.6064       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1603       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95913       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7329.550     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2205 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    .29093       -.50907E-07** at limit **
   2  Prefactor      .0000        2.5958       -.60939E-08** at limit **
   3  Prefactor     .10381E-07    102.79       -.13167E-05** at limit **
   4  norm          4.0014        8.0781        .75980E-07    .54827E-02
   5  Prefactor     18.045        65.923       -.21571E-06    .20624E-03
   6  Prefactor     12.611        21.451       -.48910E-07    .36794E-03
   7  Prefactor     .11102E-09    13.861       -.48860E-08** at limit **
   8  norm          22.173        12.546        .13761E-07    .24817E-02
   9  Prefactor     2.3703        7.9877       -.52558E-06    .44673E-02
  10  Prefactor     6.1543        5.5776        .25358E-07    .15743E-02
  11  Prefactor     .55511E-10    19.633       -.44600E-07** at limit **
  12  norm          1.1496        .57778        .20209E-08    .31478E-02
  13  Prefactor      .0000        10.128       -.42368E-08** at limit **
  14  Prefactor     .61062E-09    13.989        .86021E-07** at limit **
  15  Prefactor     .33307E-09    21.193       -.27439E-08** at limit **
  16  Prefactor     1.6209        3.6693       -.69605E-07    .55821E-03
  17  Normalizat    1.1614        .19411       -.24032E-05    .38090E-03
  18  Prefactor     .95922        .12057        .26838E-05    .11214E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 1.03806e-08
  norm       = 4.00145
  Prefactor  = 18.0455
  Prefactor  = 12.611
  Prefactor  = 1.11022e-10
  norm       = 22.173
  Prefactor  = 2.37026
  Prefactor  = 6.15426
  Prefactor  = 5.55112e-11
  norm       = 1.14955
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 1.6209
  Normalizat = 1.16139
  Prefactor  = 0.959217
 **********
 **   18 **HESSE 
 **********

 FCN=   7329.550     FROM HESSE     STATUS=OK           248 CALLS     2453 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    .51425        .88580E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.5998        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10381E-07    100.27        .48254E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.0014        7.8301        .20266E-04   -1.5668    
   5  Prefactor     18.045        64.188        .92293E-05   -1.5623    
   6  Prefactor     12.611        21.252        .11237E-04   -1.5637    
   7  Prefactor     .11102E-09    13.868        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          22.173        12.566        .85076E-05   -1.5614    
   9  Prefactor     2.3703        8.3419        .12966E-03   -1.5677    
  10  Prefactor     6.1543        5.5351        .16083E-04   -1.5658    
  11  Prefactor     .55511E-10    19.640        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1496        .57721        .44040E-05   -1.5687    
  13  Prefactor      .0000        10.130        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .61062E-09    35.324        .56502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .33307E-09    21.200        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.6209        3.8552        .23548E-04   -1.5683    
  17  Normalizat    1.1614        .22728        .28487E-03   -.87805    
  18  Prefactor     .95922        .14394        .20765E-03   -.94102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53785e-09
Minuit parameter uncertainties:
  1  1.60422e-05
  2  8.0567e-06
  3  0.00204009
  4  7.83009
  5  64.1903
  6  21.252
  7  8.38841e-05
  8  12.5658
  9  8.34198
  10  5.53514
  11  4.76146e-05
  12  0.577213
  13  2.66797e-05
  14  0.000296156
  15  0.000171261
  16  3.85518
  17  0.227471
  18  0.143995
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  2.217e+01  1.257e+01  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.592e-01  1.440e-01  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.161e+00  2.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.33
Ra Dec: 118.055 33.232
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 3.63e-08
Energy Flux (Fixed Index): 2.09e-05 +/- 1.18e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7329.4896207
delta logL = 0.0600534330579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7329.48677385
delta logL = 0.0629002793739

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.820       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0858       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1743       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95287       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.

 FCN=   7329.487     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      230 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.820        23.868        .20939E-03    .18447E-01
   2  alpha         2.0859        .88677        .41889       -.97837E-05
   3  Normalizat    1.1743        .18615        .64094E-01   -.28419E-03
   4  Prefactor     .95289        .12473        .45675E-01   -.10472E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 22.8195
  alpha      = 2.08585
  Normalizat = 1.17431
  Prefactor  = 0.952887
 **********
 **   18 **HESSE 
 **********

 FCN=   7329.487     FROM HESSE     STATUS=OK            29 CALLS      259 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.820        13.025        .83756E-05   -1.5612    
   2  alpha         2.0859        .59901        .16451E-01   -.16643    
   3  Normalizat    1.1743        .21515        .28352E-03   -.87400    
   4  Prefactor     .95289        .14364        .20824E-03   -.94317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87661e-09
Minuit parameter uncertainties:
  1  13.0248
  2  0.605065
  3  0.215309
  4  0.143699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59771': 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) = 7329.48677384
delta logL = 0.0629002871037

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  2.282e+01  1.302e+01  0.000e+00  1.000e+06 ( 1.000e-12)
291        alpha:  2.086e+00  6.051e-01  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.529e-01  1.437e-01  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.174e+00  2.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.44
Ra Dec: 118.055 33.232
Photon Index (Free Index): 2.09 +/- 0.61
Photon Flux (Free Index): 5.53e-08 +/- 3.96e-08
Energy Flux (Free Index): 2.31e-05 +/- 1.51e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/59771/cmap_HighResolution_683078401_683337601_4FGL_J0752.2+3313_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='2.31e-05', photon_flux_error='3.63e-08', dlogl='6.29e-02', energy_flux='2.09e-05', photon_flux2='5.53e-08', job_status='DONE', time_completed='2022-09-16 13:40:22.542583', photon_index_error2='0.61', photon_index2='2.09', ts='6.33', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.51e-05', EG='1.16', time_epoch_completed='1663360822.54', return_code='0', job_id='59771', GAL2='0.95', EG2='1.17', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='3.96e-08', ts2='6.44', photon_index='2.31' WHERE bin_id='1712' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:40:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 59771: <4FGL_J0752.2+3313_daily_bin1712> in cluster <slac> Done

Job <4FGL_J0752.2+3313_daily_bin1712> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 13:25:17 2022
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:27:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:27:23 2022
Terminated at Fri Sep 16 13:40:23 2022
Results reported at Fri Sep 16 13:40:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin1712 118.055 33.232 683078401 683337601 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 :                                   644.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            906 sec.

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

