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


Performing analysis on: 4FGL_J0752.2+3313_daily_bin700
RA = 118.055, Dec = 33.232
tmin = 420768001, tmax = 421027201
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='983486', job_status='RUN', time_executed='2021-08-28 18:18:57.245108', time_epoch_executed='1630199937.25' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/983486

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/983486/ft1_4FGL_J0752.2+3313_daily_bin700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/983486/ft2_4FGL_J0752.2+3313_daily_bin700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/983486/ft1_4FGL_J0752.2+3313_daily_bin700.fits outfile=/scratch/kocevski/983486/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin700.fits ra=118.055 dec=33.232 rad=12.0 tmin=420768001.0 tmax=421027201.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.09
user 3.26
sys 0.75

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/983486/ft1_filtered_4FGL_J0752.2+3313_daily_bin700.fits" evtable="EVENTS" scfile=/scratch/kocevski/983486/ft2_4FGL_J0752.2+3313_daily_bin700.fits sctable="SC_DATA" outfile=/scratch/kocevski/983486/ltcube_420768001_421027201_4FGL_J0752.2+3313_daily_bin700.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/983486/ft2_4FGL_J0752.2+3313_daily_bin700.fits
.....................!
real 14.01
user 13.06
sys 0.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/983486/ft1_filtered_4FGL_J0752.2+3313_daily_bin700.fits evtable="EVENTS" scfile=/scratch/kocevski/983486/ft2_4FGL_J0752.2+3313_daily_bin700.fits sctable="SC_DATA" expcube=/scratch/kocevski/983486/ltcube_420768001_421027201_4FGL_J0752.2+3313_daily_bin700.fits outfile=/scratch/kocevski/983486/expmap_420768001_421027201_4FGL_J0752.2+3313_daily_bin700.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/983486/ltcube_420768001_421027201_4FGL_J0752.2+3313_daily_bin700.fits
.....................!
real 192.35
user 186.56
sys 5.34

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/983486/ft1_filtered_4FGL_J0752.2+3313_daily_bin700.fits scfile=/scratch/kocevski/983486/ft2_4FGL_J0752.2+3313_daily_bin700.fits outfile=/scratch/kocevski/983486/cmap_420768001_421027201_4FGL_J0752.2+3313_daily_bin700.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.35
user 0.38
sys 0.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/983486/ft1_filtered_4FGL_J0752.2+3313_daily_bin700.fits scfile=/scratch/kocevski/983486/ft2_4FGL_J0752.2+3313_daily_bin700.fits outfile=/scratch/kocevski/983486/cmap_HighResolution_420768001_421027201_4FGL_J0752.2+3313_daily_bin700.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.15
user 0.37
sys 0.69

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3225       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1044       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.0594       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.542       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10073E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.145       1.0000         .10000E-03   10000.    
     9 'norm      '    13.419       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8887       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .54983       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2555       1.0000         .10000E-03   10000.    
    13 'norm      '    .90278       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.040       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .89735       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0018       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=   6941.233     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     2046 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3225        .83699       -.81466E-08    .20832E-04
   2  Prefactor     2.1046        5.6973       -.22674E-05   -.80266E-03
   3  Prefactor     .10000E-03    4.0734       -.39930E-06** at limit **
   4  norm          4.0565        3.7783       -.46866E-06   -.48418E-03
   5  Prefactor     27.543        26.804        .19485E-05   -.12980E-04
   6  Prefactor     .10001E-03    8.5777        .47977E-06** at limit **
   7  Prefactor     .10000E-03    6.7683       -.18361E-05** at limit **
   8  Prefactor     14.145        15.084       -.25414E-06    .63192E-06
   9  norm          13.420        10.113       -.36131E-06   -.49880E-04
  10  Prefactor     2.8882        5.4458        .73639E-06   -.38308E-03
  11  Prefactor     .55906        2.4970        .47350E-07   -.80435E-03
  12  Prefactor     4.2742        42.720        .65878E-04    .78434E-04
  13  norm          .90284        .54905       -.99241E-07   -.92888E-03
  14  Prefactor     20.017        35.105       -.42807E-04   -.16345E-03
  15  Prefactor     .10000E-03    10.814       -.41310E-05** at limit **
  16  Prefactor     .10000E-03    11.508        .46526E-05** at limit **
  17  Prefactor     .10000E-03    6.9676        .31371E-05** at limit **
  18  Prefactor     .10000E-03    .62076       -.13386E-09** at limit **
  19  Normalizat    .89723        .17982        .72856E-06   -.14211E-03
  20  Prefactor     1.0019        .12399        .55607E-06   -.16667E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.32254
  Prefactor  = 2.10463
  Prefactor  = 0.0001
  norm       = 4.05645
  Prefactor  = 27.5432
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 14.1452
  norm       = 13.4204
  Prefactor  = 2.88822
  Prefactor  = 0.55906
  Prefactor  = 4.27421
  norm       = 0.90284
  Prefactor  = 20.0168
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.897228
  Prefactor  = 1.00186
 **********
 **   18 **HESSE 
 **********

 FCN=   6941.233     FROM HESSE     STATUS=OK           297 CALLS     2343 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3225        .83648        .43921E-04   -1.5403    
   2  Prefactor     2.1046        5.7052        .28445E-03   -1.5418    
   3  Prefactor     .10000E-03    4.0867        .16421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.0565        3.7039        .14245E-03   -1.5305    
   5  Prefactor     27.543        26.797        .76337E-04   -1.4658    
   6  Prefactor     .10001E-03    34.916        .46239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.7766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.145        15.084        .10650E-03   -1.4956    
   9  norm          13.420        10.116        .10934E-03   -1.4975    
  10  Prefactor     2.8882        5.4224        .23911E-03   -1.5368    
  11  Prefactor     .55906        9.6408        .23616E-02   -1.5558    
  12  Prefactor     4.2742        42.264        .19532E-03   -1.5294    
  13  norm          .90284        .54006        .45207E-04   -1.5518    
  14  Prefactor     20.017        35.202        .89472E-04   -1.4813    
  15  Prefactor     .10000E-03    10.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.9784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .62359        .64080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .89723        .20722        .28080E-03   -.96558    
  20  Prefactor     1.0019        .14377        .19360E-03   -.92668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75029e-09
Minuit parameter uncertainties:
  1  0.83648
  2  5.70663
  3  3.57599e-06
  4  3.70412
  5  26.8086
  6  0.00118762
  7  5.52106e-06
  8  15.0877
  9  10.1171
  10  5.42328
  11  4.64363
  12  26.9052
  13  0.540062
  14  35.2385
  15  1.3905e-05
  16  4.11855e-05
  17  1.51085e-05
  18  1.17956e-06
  19  0.207405
  20  0.143821
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.342e+01  1.012e+01  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.002e+00  1.438e-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.972e-01  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.65
Ra Dec: 118.055 33.232
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 3.87e-08 +/- 2.92e-08
Energy Flux (Fixed Index): 1.26e-05 +/- 9.52e-06

TS (Fixed Index): 2.65
Ra Dec: 118.055 33.232
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/983486/likelihoodResults_420768001_421027201_4FGL_J0752.2+3313_daily_bin700.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) = 6941.10698427
delta logL = 0.126084040779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6941.10480701
delta logL = 0.128261300037

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.421       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9276       1.0000          .0000       5.0000    
     3 'Normalizat'    .91105       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99558       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=   6941.105     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      201 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.529        13.265        .27334E-02   -.78021E-04
   2  alpha         1.9298        .71739        .42605       -.79819E-05
   3  Normalizat    .91089        .17018        .45043E-01    .60039E-04
   4  Prefactor     .99559        .12353        .46212E-01    .93853E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.529
  alpha      = 1.92975
  Normalizat = 0.910886
  Prefactor  = 0.99559
 **********
 **   18 **HESSE 
 **********

 FCN=   6941.105     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.529        10.648        .10934E-03   -1.4972    
   2  alpha         1.9298        .70385        .18613E-01   -.23012    
   3  Normalizat    .91089        .19656        .27892E-03   -.96079    
   4  Prefactor     .99559        .14233        .19410E-03   -.92877    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56132e-11
Minuit parameter uncertainties:
  1  10.6497
  2  0.714049
  3  0.196712
  4  0.14238
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/983486': 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) = 6941.1047563
delta logL = 0.128312016182

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.353e+01  1.065e+01  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.930e+00  7.140e-01  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:  9.956e-01  1.424e-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.109e-01  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.90
Ra Dec: 118.055 33.232
Photon Index (Free Index): 1.93 +/- 0.71
Photon Flux (Free Index): 2.96e-08 +/- 2.94e-08
Energy Flux (Free Index): 1.53e-05 +/- 1.32e-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/983486/cmap_HighResolution_420768001_421027201_4FGL_J0752.2+3313_daily_bin700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-05', comment='SUCCESS', photon_flux='3.87e-08', energy_flux2='1.53e-05', photon_flux_error='2.92e-08', dlogl='1.28e-01', energy_flux='1.26e-05', photon_flux2='2.96e-08', job_status='DONE', time_completed='2021-08-28 18:30:18.927217', photon_index_error2='0.71', photon_index2='1.93', ts='2.65', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='1.32e-05', EG='0.90', time_epoch_completed='1630200618.93', return_code='0', job_id='983486', GAL2='1.00', EG2='0.91', return_code2='0', energy_flux_error='9.52e-06', photon_flux_error2='2.94e-08', ts2='2.90', photon_index='2.31' WHERE bin_id='700' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:30:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 983486: <4FGL_J0752.2+3313_daily_bin700> in cluster <slac> Done

Job <4FGL_J0752.2+3313_daily_bin700> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 18:15:36 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:15:37 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:37 2021
Terminated at Sat Aug 28 18:30:19 2021
Results reported at Sat Aug 28 18:30:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin700 118.055 33.232 420768001 421027201 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 :                                   687.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            883 sec.

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

