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


Performing analysis on: 4FGL_J0752.2+3313_daily_bin1717
RA = 118.055, Dec = 33.232
tmin = 684374401, tmax = 684633601
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='59778', job_status='RUN', time_executed='2022-09-16 13:28:59.303983', time_epoch_executed='1663360139.3' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59778

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59778/ft1_4FGL_J0752.2+3313_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59778/ft2_4FGL_J0752.2+3313_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59778/ft1_4FGL_J0752.2+3313_daily_bin1717.fits outfile=/scratch/kocevski/59778/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin1717.fits ra=118.055 dec=33.232 rad=12.0 tmin=684374401.0 tmax=684633601.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.04
user 4.77
sys 0.24

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

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

Number of photons that the gtmktime cut: 716

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59778/ft1_filtered_4FGL_J0752.2+3313_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/59778/ft2_4FGL_J0752.2+3313_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/59778/ltcube_684374401_684633601_4FGL_J0752.2+3313_daily_bin1717.fits outfile=/scratch/kocevski/59778/expmap_684374401_684633601_4FGL_J0752.2+3313_daily_bin1717.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/59778/ltcube_684374401_684633601_4FGL_J0752.2+3313_daily_bin1717.fits
.....................!
real 195.06
user 187.98
sys 5.21

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/59778/ft1_filtered_4FGL_J0752.2+3313_daily_bin1717.fits scfile=/scratch/kocevski/59778/ft2_4FGL_J0752.2+3313_daily_bin1717.fits outfile=/scratch/kocevski/59778/cmap_684374401_684633601_4FGL_J0752.2+3313_daily_bin1717.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.58
user 0.40
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .56313       1.0000          .0000       .10000E+07
     2 'Prefactor '    .56813E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10934E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .22082E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22281E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .13501E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .35533E-02   1.0000          .0000       .10000E+07
     8 'norm      '    6.9216       1.0000          .0000       .10000E+07
     9 'Prefactor '    .30889E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.6245       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49711E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.7277       1.0000          .0000       .10000E+07
    13 'Prefactor '    .51625E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .29437E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .50675E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .97015       1.0000          .0000       .10000E+07
    17 'Normalizat'    .88336       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1624       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=   7844.463     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1062 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .56318        .50710        .18315E-07    .52156E-03
   2  Prefactor     .45291E-01    .78989       -.64921E-06** at limit **
   3  Prefactor     .59397E-08    9.5904       -.38604E-05** at limit **
   4  norm           .0000        4.2441       -.25417E-06** at limit **
   5  Prefactor     .27756E-09    12.529        .42058E-06** at limit **
   6  Prefactor     .11469E-06    3.5524       -.49420E-06** at limit **
   7  Prefactor     .53846E-08    21.461        .55704E-05** at limit **
   8  norm          6.8222        7.2983       -.42731E-08    .56455E-04
   9  Prefactor     .35527E-08    5.6731       -.11074E-05** at limit **
  10  Prefactor     4.6096        5.0512        .20790E-06    .27057E-04
  11  Prefactor      .0000        49.229       -.36609E-05** at limit **
  12  norm          1.7281        .65304        .37565E-07   -.20144E-02
  13  Prefactor     .11657E-08    5.6013        .16036E-05** at limit **
  14  Prefactor     .94813E-07    4.1234        .61337E-06** at limit **
  15  Prefactor     .22149E-07    8.9189       -.29955E-05** at limit **
  16  Prefactor     .97011        2.6299        .27734E-06   -.47156E-04
  17  Normalizat    .88370        .19705       -.22528E-06    .28885E-04
  18  Prefactor     1.1624        .13842        .74351E-06    .41960E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.563179
  Prefactor  = 0.0452915
  Prefactor  = 5.93969e-09
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 1.14686e-07
  Prefactor  = 5.38458e-09
  norm       = 6.8222
  Prefactor  = 3.55271e-09
  Prefactor  = 4.60956
  Prefactor  = 0
  norm       = 1.72812
  Prefactor  = 1.16573e-09
  Prefactor  = 9.4813e-08
  Prefactor  = 2.21489e-08
  Prefactor  = 0.970111
  Normalizat = 0.883696
  Prefactor  = 1.16243
 **********
 **   18 **HESSE 
 **********

 FCN=   7844.463     FROM HESSE     STATUS=OK           282 CALLS     1344 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .56318        .51923        .72598E-03   -1.5693    
   2  Prefactor     .45291E-01    2.3875        .10190E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .59397E-08    18.285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        4.1971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    12.579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11469E-06    7.4188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .53846E-08    21.762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.8222        7.3093        .38110E-03   -1.5656    
   9  Prefactor     .35527E-08    5.7892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6096        5.0730        .46779E-03   -1.5665    
  11  Prefactor      .0000        49.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7281        .66026        .79853E-03   -1.5682    
  13  Prefactor     .11657E-08    5.6438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .94813E-07    7.3229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22149E-07    18.319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .97011        2.6545        .42706E-03   -1.5688    
  17  Normalizat    .88370        .17374        .68396E-01   -.97035    
  18  Prefactor     1.1624        .12076        .35586E-01   -.87495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.07233e-07
Minuit parameter uncertainties:
  1  0.519225
  2  0.657674
  3  0.00065919
  4  1.22752e-05
  5  0.000117112
  6  0.001845
  7  0.000684626
  8  7.30933
  9  0.000287057
  10  5.07304
  11  4.23333e-05
  12  0.660263
  13  0.000162441
  14  0.00166645
  15  0.00127379
  16  2.65448
  17  0.173853
  18  0.120791
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  6.822e+00  7.309e+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:  1.162e+00  1.208e-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:  8.837e-01  1.739e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.86
Ra Dec: 118.055 33.232
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 1.97e-08 +/- 2.11e-08
Energy Flux (Fixed Index): 6.42e-06 +/- 6.88e-06

TS (Fixed Index): 1.86
Ra Dec: 118.055 33.232
Photon Flux Upper Limit: 7.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/59778/likelihoodResults_684374401_684633601_4FGL_J0752.2+3313_daily_bin1717.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) = 7844.02876931
delta logL = 0.434488893034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7844.0072943
delta logL = 0.455963906512

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3505       1.0000          .0000       .10000E+07
     2 'alpha     '    1.4570       1.0000          .0000       5.0000    
     3 'Normalizat'    .89658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1572       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=   7844.007     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      211 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3482        5.6090        .43423E-03   -.80535E-02
   2  alpha         1.4567        .52997        .46967       -.42129E-04
   3  Normalizat    .89657        .16811        .67947E-01    .22729E-04
   4  Prefactor     1.1572        .12023        .35731E-01   -.29787E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 5.34819
  alpha      = 1.4567
  Normalizat = 0.896565
  Prefactor  = 1.15722
 **********
 **   18 **HESSE 
 **********

 FCN=   7844.007     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3482        7.0313        .86847E-04   -1.5662    
   2  alpha         1.4567        .78955        .20341E-01   -.43049    
   3  Normalizat    .89657        .19246        .30059E-03   -.96581    
   4  Prefactor     1.1572        .13786        .19083E-03   -.87658    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.58551e-12
Minuit parameter uncertainties:
  1  7.03126
  2  0.806377
  3  0.192606
  4  0.137907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59778': 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) = 7844.00729422
delta logL = 0.455963983005

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  5.348e+00  7.031e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        alpha:  1.457e+00  8.064e-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:  1.157e+00  1.379e-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:  8.966e-01  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.78
Ra Dec: 118.055 33.232
Photon Index (Free Index): 1.46 +/- 0.81
Photon Flux (Free Index): 9.77e-09 +/- 1.34e-08
Energy Flux (Free Index): 1.22e-05 +/- 1.69e-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/59778/cmap_HighResolution_684374401_684633601_4FGL_J0752.2+3313_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.50e-05', comment='SUCCESS', photon_flux='1.97e-08', energy_flux2='1.22e-05', photon_flux_error='2.11e-08', dlogl='4.56e-01', energy_flux='6.42e-06', photon_flux2='9.77e-09', job_status='DONE', time_completed='2022-09-16 13:39:19.408688', photon_index_error2='0.81', photon_index2='1.46', ts='1.86', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='7.65e-08', energy_flux_error2='1.69e-05', EG='0.88', time_epoch_completed='1663360759.41', return_code='0', job_id='59778', GAL2='1.16', EG2='0.90', return_code2='0', energy_flux_error='6.88e-06', photon_flux_error2='1.34e-08', ts2='2.78', photon_index='2.31' WHERE bin_id='1717' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:39:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 59778: <4FGL_J0752.2+3313_daily_bin1717> in cluster <slac> Done

Job <4FGL_J0752.2+3313_daily_bin1717> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 13:25:18 2022
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:27:33 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:33 2022
Terminated at Fri Sep 16 13:39:20 2022
Results reported at Fri Sep 16 13:39:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin1717 118.055 33.232 684374401 684633601 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 :                                   620.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            842 sec.

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

