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


Performing analysis on: 4FGL_J0752.2+3313_daily_bin554
RA = 118.055, Dec = 33.232
tmin = 382924801, tmax = 383184001
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='983276', job_status='RUN', time_executed='2021-08-28 18:17:48.972887', time_epoch_executed='1630199868.97' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='554'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/983276

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/983276/ft1_4FGL_J0752.2+3313_daily_bin554.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/983276/ft2_4FGL_J0752.2+3313_daily_bin554.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/983276/ft1_4FGL_J0752.2+3313_daily_bin554.fits outfile=/scratch/kocevski/983276/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin554.fits ra=118.055 dec=33.232 rad=12.0 tmin=382924801.0 tmax=383184001.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.91
user 4.33
sys 0.53

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/983276/ft2_4FGL_J0752.2+3313_daily_bin554.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/983276/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin554.fits evtable="EVENTS" outfile="/scratch/kocevski/983276/ft1_filtered_4FGL_J0752.2+3313_daily_bin554.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.84
user 0.33
sys 0.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/983276/ft1_filtered_4FGL_J0752.2+3313_daily_bin554.fits" evtable="EVENTS" scfile=/scratch/kocevski/983276/ft2_4FGL_J0752.2+3313_daily_bin554.fits sctable="SC_DATA" outfile=/scratch/kocevski/983276/ltcube_382924801_383184001_4FGL_J0752.2+3313_daily_bin554.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/983276/ft2_4FGL_J0752.2+3313_daily_bin554.fits
.....................!
real 12.36
user 11.57
sys 0.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/983276/ft1_filtered_4FGL_J0752.2+3313_daily_bin554.fits evtable="EVENTS" scfile=/scratch/kocevski/983276/ft2_4FGL_J0752.2+3313_daily_bin554.fits sctable="SC_DATA" expcube=/scratch/kocevski/983276/ltcube_382924801_383184001_4FGL_J0752.2+3313_daily_bin554.fits outfile=/scratch/kocevski/983276/expmap_382924801_383184001_4FGL_J0752.2+3313_daily_bin554.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/983276/ltcube_382924801_383184001_4FGL_J0752.2+3313_daily_bin554.fits
.....................!
real 191.78
user 186.09
sys 5.24

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/983276/ft1_filtered_4FGL_J0752.2+3313_daily_bin554.fits scfile=/scratch/kocevski/983276/ft2_4FGL_J0752.2+3313_daily_bin554.fits outfile=/scratch/kocevski/983276/cmap_382924801_383184001_4FGL_J0752.2+3313_daily_bin554.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.88
user 0.38
sys 0.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/983276/ft1_filtered_4FGL_J0752.2+3313_daily_bin554.fits scfile=/scratch/kocevski/983276/ft2_4FGL_J0752.2+3313_daily_bin554.fits outfile=/scratch/kocevski/983276/cmap_HighResolution_382924801_383184001_4FGL_J0752.2+3313_daily_bin554.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.88
user 0.37
sys 0.51

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.716       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.003       1.0000         .10000E-03   10000.    
     7 'Prefactor '    43.145       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.9499       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .69569       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.1141       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    88.630       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.4932       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3677       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .72659       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=   7815.727     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2040 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .16181        .19228E-07** at limit **
   2  Prefactor     .10000E-03    7.4689       -.99494E-07** at limit **
   3  Prefactor     .10000E-03    2.2432        .29127E-07** at limit **
   4  norm          .10000E-03    2.7539        .31674E-06** at limit **
   5  Prefactor     39.712        36.536       -.35105E-05   -.13577E-04
   6  Prefactor     24.999        18.128       -.24306E-05   -.28770E-04
   7  Prefactor     43.147        22.148        .16993E-05    .30543E-04
   8  Prefactor     .10000E-03    11.616       -.83676E-06** at limit **
   9  norm          1.9506        6.3037       -.99530E-06   -.57383E-03
  10  Prefactor     .10000E-03    4.3095        .39254E-07** at limit **
  11  Prefactor     .68536        2.6386       -.65430E-06   -.18898E-03
  12  Prefactor     .10000E-03    6.2506       -.86288E-06** at limit **
  13  norm          1.1141        .57374        .23397E-07    .19912E-03
  14  Prefactor     .10000E-03    16.782       -.12452E-05** at limit **
  15  Prefactor     .10000E-03    6.8712        .12738E-05** at limit **
  16  Prefactor     .10000E-03    15.832        .20470E-05** at limit **
  17  Prefactor     88.641        31.221        .88842E-05   -.32238E-05
  18  Prefactor     9.4931        3.4748        .95048E-07   -.56415E-04
  19  Normalizat    1.3672        .17867       -.11466E-05    .14448E-03
  20  Prefactor     .72692        .11434        .48210E-06   -.43642E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 39.7124
  Prefactor  = 24.9989
  Prefactor  = 43.1471
  Prefactor  = 0.0001
  norm       = 1.95059
  Prefactor  = 0.0001
  Prefactor  = 0.685362
  Prefactor  = 0.0001
  norm       = 1.11413
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 88.6409
  Prefactor  = 9.49307
  Normalizat = 1.36719
  Prefactor  = 0.726921
 **********
 **   18 **HESSE 
 **********

 FCN=   7815.727     FROM HESSE     STATUS=OK           289 CALLS     2329 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .16569        .69389E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.7598        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.2451        .12931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.7938        .14284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.712        36.681        .63603E-04   -1.4447    
   6  Prefactor     24.999        18.136        .80112E-04   -1.4708    
   7  Prefactor     43.147        22.146        .61033E-04   -1.4393    
   8  Prefactor     .10000E-03    11.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.9506        6.3524        .29720E-03   -1.5429    
  10  Prefactor     .10000E-03    4.3322        .17914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .68536        7.7946        .24844E-02   -1.5542    
  12  Prefactor     .10000E-03    6.2524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1141        .56352        .44333E-04   -1.5497    
  14  Prefactor     .10000E-03    16.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.8731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     88.641        30.917        .42679E-04   -1.3822    
  18  Prefactor     9.4931        3.4593        .93687E-04   -1.5092    
  19  Normalizat    1.3672        .20807        .25235E-03   -.81582    
  20  Prefactor     .72692        .13310        .22550E-03   -1.0248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84308e-08
Minuit parameter uncertainties:
  1  3.27754e-07
  2  3.86321e-05
  3  1.27906e-06
  4  4.96707e-05
  5  36.7018
  6  18.1401
  7  22.1507
  8  2.78516e-05
  9  6.35457
  10  4.18224e-06
  11  4.62304
  12  4.81485e-06
  13  0.563523
  14  4.3559e-05
  15  1.21946e-06
  16  4.72779e-06
  17  30.9222
  18  3.45938
  19  0.208195
  20  0.133157
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.951e+00  6.355e+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:  7.269e-01  1.332e-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.367e+00  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/983276/likelihoodResults_382924801_383184001_4FGL_J0752.2+3313_daily_bin554.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) = 7815.67832483
delta logL = 0.048663366988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7815.67781842
delta logL = 0.0491697757188

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9578       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5727       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3723       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72396       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=   7815.678     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9894        4.9999        .74124E-02    .11839E-02
   2  alpha         1.5782        1.1087        .45468       -.77269E-04
   3  Normalizat    1.3723        .16814        .56972E-01   -.17598E-03
   4  Prefactor     .72396        .11405        .42719E-01   -.61294E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.98938
  alpha      = 1.57824
  Normalizat = 1.37226
  Prefactor  = 0.723964
 **********
 **   18 **HESSE 
 **********

 FCN=   7815.678     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9894        5.3753        .29650E-03   -1.5426    
   2  alpha         1.5782        1.4927        .42819E-01   -.37761    
   3  Normalizat    1.3723        .19461        .25194E-03   -.81434    
   4  Prefactor     .72396        .13199        .22589E-03   -1.0260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02255e-10
Minuit parameter uncertainties:
  1  5.37658
  2  1.62102
  3  0.194713
  4  0.132048
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/983276': 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) = 7815.67780286
delta logL = 0.0491853383455

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.989e+00  5.377e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.578e+00  1.621e+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:  7.240e-01  1.320e-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.372e+00  1.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/983276/cmap_HighResolution_382924801_383184001_4FGL_J0752.2+3313_daily_bin554.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-05', job_status='DONE', photon_flux_upper_limit='5.88e-08', time_completed='2021-08-28 18:29:55.890727', job_id='983276', GAL2='0.72', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1630200595.89', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='4.92e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='554' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:29:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 983276: <4FGL_J0752.2+3313_daily_bin554> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin554 118.055 33.232 382924801 383184001 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 :                                   727.58 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             301.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            872 sec.

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

