/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 165 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 = 7465
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0752.2+3313_daily_bin536
RA = 118.055, Dec = 33.232
tmin = 378259201, tmax = 378518401
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='983249', job_status='RUN', time_executed='2021-08-28 18:18:32.200389', time_epoch_executed='1630199912.2' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='536'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/983249

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/983249/ft1_4FGL_J0752.2+3313_daily_bin536.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/983249/ft2_4FGL_J0752.2+3313_daily_bin536.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/983249/ft1_4FGL_J0752.2+3313_daily_bin536.fits outfile=/scratch/kocevski/983249/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin536.fits ra=118.055 dec=33.232 rad=12.0 tmin=378259201.0 tmax=378518401.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.36
user 4.20
sys 1.10

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/983249/ft1_filtered_4FGL_J0752.2+3313_daily_bin536.fits" evtable="EVENTS" scfile=/scratch/kocevski/983249/ft2_4FGL_J0752.2+3313_daily_bin536.fits sctable="SC_DATA" outfile=/scratch/kocevski/983249/ltcube_378259201_378518401_4FGL_J0752.2+3313_daily_bin536.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/983249/ft2_4FGL_J0752.2+3313_daily_bin536.fits
.....................!
real 13.36
user 11.99
sys 1.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/983249/ft1_filtered_4FGL_J0752.2+3313_daily_bin536.fits evtable="EVENTS" scfile=/scratch/kocevski/983249/ft2_4FGL_J0752.2+3313_daily_bin536.fits sctable="SC_DATA" expcube=/scratch/kocevski/983249/ltcube_378259201_378518401_4FGL_J0752.2+3313_daily_bin536.fits outfile=/scratch/kocevski/983249/expmap_378259201_378518401_4FGL_J0752.2+3313_daily_bin536.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/983249/ltcube_378259201_378518401_4FGL_J0752.2+3313_daily_bin536.fits
.....................!
real 195.66
user 188.71
sys 6.54

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/983249/ft1_filtered_4FGL_J0752.2+3313_daily_bin536.fits scfile=/scratch/kocevski/983249/ft2_4FGL_J0752.2+3313_daily_bin536.fits outfile=/scratch/kocevski/983249/cmap_378259201_378518401_4FGL_J0752.2+3313_daily_bin536.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 1.43
user 0.36
sys 1.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/983249/ft1_filtered_4FGL_J0752.2+3313_daily_bin536.fits scfile=/scratch/kocevski/983249/ft2_4FGL_J0752.2+3313_daily_bin536.fits outfile=/scratch/kocevski/983249/cmap_HighResolution_378259201_378518401_4FGL_J0752.2+3313_daily_bin536.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 1.42
user 0.38
sys 1.01

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/983249/ft1_filtered_4FGL_J0752.2+3313_daily_bin536.fits', '/scratch/kocevski/983249/ft2_4FGL_J0752.2+3313_daily_bin536.fits', expMap='/scratch/kocevski/983249/expmap_378259201_378518401_4FGL_J0752.2+3313_daily_bin536.fits', expCube='/scratch/kocevski/983249/ltcube_378259201_378518401_4FGL_J0752.2+3313_daily_bin536.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/983249/Model_4FGL_J0752.2+3313_daily_bin536.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  1.000e-04  1.000e+04 ( 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  0.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/983249/ft1_filtered_4FGL_J0752.2+3313_daily_bin536.fits
Spacecraft file(s): /scratch/kocevski/983249/ft2_4FGL_J0752.2+3313_daily_bin536.fits
Exposure map: /scratch/kocevski/983249/expmap_378259201_378518401_4FGL_J0752.2+3313_daily_bin536.fits
Exposure cube: /scratch/kocevski/983249/ltcube_378259201_378518401_4FGL_J0752.2+3313_daily_bin536.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/983249/Model_4FGL_J0752.2+3313_daily_bin536.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) = 7230.7746642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34304       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5693       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.359       1.0000         .10000E-03   10000.    
     4 'norm      '    1.4763       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.8600       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .21421E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.193       1.0000         .10000E-03   10000.    
    13 'norm      '    .37968       1.0000         .10000E-03   10000.    
    14 'Prefactor '    69.015       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4386       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.634       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.0132       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .96838       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0208       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=   7230.753     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     1772 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34294        .39387       -.10521E-06   -.83845E-03
   2  Prefactor     1.5671        4.0651       -.15929E-05   -.98357E-03
   3  Prefactor     15.358        12.099       -.13305E-05    .35050E-05
   4  norm          1.4739        2.9178       -.10298E-05   -.10844E-02
   5  Prefactor     .10000E-03    42.593        .36771E-04** at limit **
   6  Prefactor     .10000E-03    9.0553       -.63015E-06** at limit **
   7  Prefactor     .10000E-03    5.2665        .13817E-06** at limit **
   8  Prefactor     .10000E-03    27.460       -.17655E-04** at limit **
   9  norm          5.8579        9.9931       -.17582E-05   -.12614E-03
  10  Prefactor     .10000E-03    2.6367       -.76846E-07** at limit **
  11  Prefactor     .10012E-03    1.9653       -.59059E-07** at limit **
  12  Prefactor     17.193        17.294        .83767E-06    .20716E-04
  13  norm          .37995        .34837       -.88827E-07   -.37660E-03
  14  Prefactor     69.019        36.769        .60892E-05    .28336E-04
  15  Prefactor     4.4363        12.306       -.88484E-06   -.73688E-04
  16  Prefactor     .10000E-03    4.8805       -.17075E-06** at limit **
  17  Prefactor     22.563        25.535       -.52562E-04    .48320E-05
  18  Prefactor     4.0141        2.5042       -.37700E-06   -.17897E-03
  19  Normalizat    .96834        .17854        .72869E-05   -.15295E-03
  20  Prefactor     1.0210        .12100       -.65213E-06    .30995E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.342943
  Prefactor  = 1.56712
  Prefactor  = 15.3577
  norm       = 1.47393
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.8579
  Prefactor  = 0.0001
  Prefactor  = 0.000100119
  Prefactor  = 17.1931
  norm       = 0.379948
  Prefactor  = 69.0195
  Prefactor  = 4.43629
  Prefactor  = 0.0001
  Prefactor  = 22.5628
  Prefactor  = 4.01407
  Normalizat = 0.968344
  Prefactor  = 1.02099
 **********
 **   18 **HESSE 
 **********

 FCN=   7230.753     FROM HESSE     STATUS=OK           297 CALLS     2069 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34294        .36803        .55445E-03   -1.5591    
   2  Prefactor     1.5671        4.0309        .26588E-03   -1.5458    
   3  Prefactor     15.358        12.101        .10220E-03   -1.4924    
   4  norm          1.4739        2.8821        .19589E-03   -1.5465    
   5  Prefactor     .10000E-03    42.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.0982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.2740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    27.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8579        9.9864        .16590E-03   -1.5224    
  10  Prefactor     .10000E-03    2.6459        .13483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10012E-03    16.559        .22409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.193        17.294        .96591E-04   -1.4878    
  13  norm          .37995        .34098        .46053E-04   -1.5585    
  14  Prefactor     69.019        36.781        .48317E-04   -1.4044    
  15  Prefactor     4.4363        12.291        .19114E-03   -1.5287    
  16  Prefactor     .10000E-03    4.9033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     22.563        25.539        .84193E-04   -1.4758    
  18  Prefactor     4.0141        2.4941        .10167E-03   -1.5307    
  19  Normalizat    .96834        .20058        .28220E-03   -.94099    
  20  Prefactor     1.0210        .13790        .19589E-03   -.92033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.25046e-09
Minuit parameter uncertainties:
  1  0.368037
  2  4.03163
  3  12.1031
  4  2.88239
  5  0.000194631
  6  5.45798e-06
  7  1.38501e-05
  8  2.82285e-05
  9  9.98929
  10  1.18616e-05
  11  0.00281092
  12  17.2991
  13  0.340984
  14  36.7934
  15  12.2977
  16  1.41712e-05
  17  25.5509
  18  2.49414
  19  0.200735
  20  0.137951
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  5.858e+00  9.989e+00  1.000e-04  1.000e+04 ( 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  0.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.021e+00  1.380e-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:  9.683e-01  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/983249/likelihoodResults_378259201_378518401_4FGL_J0752.2+3313_daily_bin536.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) = 7230.72718726
delta logL = 0.0259297792627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7230.7268713
delta logL = 0.0262457376211

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8584       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9906       1.0000          .0000       5.0000    
     3 'Normalizat'    .97408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0183       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=   7230.727     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      210 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9296        14.697         .0000        .25962E-02
   2  alpha         1.9957        1.3881         .0000       -.38965E-04
   3  Normalizat    .97396        .17047         .0000        .12954E-04
   4  Prefactor     1.0183        .12212         .0000       -.71490E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.92955
  alpha      = 1.99567
  Normalizat = 0.973957
  Prefactor  = 1.0183
 **********
 **   18 **HESSE 
 **********

 FCN=   7230.727     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9296        10.059        .82960E-03   -1.5221    
   2  alpha         1.9957        1.2053        .33297E-01   -.20313    
   3  Normalizat    .97396        .19350        .28146E-03   -.93908    
   4  Prefactor     1.0183        .13782        .19611E-03   -.92122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7708e-11
Minuit parameter uncertainties:
  1  10.0621
  2  1.26026
  3  0.193642
  4  0.137865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/983249': 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) = 7230.72684506
delta logL = 0.0262719794946

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  5.930e+00  1.006e+01  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.996e+00  1.260e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  1.191e-01  0.000e+00  0.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.018e+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:  9.740e-01  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.42
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/983249/cmap_HighResolution_378259201_378518401_4FGL_J0752.2+3313_daily_bin536.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', job_status='DONE', photon_flux_upper_limit='8.46e-08', time_completed='2021-08-28 18:29:54.556211', job_id='983249', GAL2='1.02', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1630200594.56', return_code2='0', ts='0.42', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.63e-02', ts2='0.47', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='536' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:29:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 983249: <4FGL_J0752.2+3313_daily_bin536> in cluster <slac> Done

Job <4FGL_J0752.2+3313_daily_bin536> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 18:15:21 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:15:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 18:15:22 2021
Terminated at Sat Aug 28 18:29:55 2021
Results reported at Sat Aug 28 18:29:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin536 118.055 33.232 378259201 378518401 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 :                                   689.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            874 sec.

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

