/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 2 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 = 7383
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0752.2+3313_daily_bin276
RA = 118.055, Dec = 33.232
tmin = 310867201, tmax = 311126401
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='980440', job_status='RUN', time_executed='2021-08-28 18:07:15.938418', time_epoch_executed='1630199235.94' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='276'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/980440

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/980440/ft1_4FGL_J0752.2+3313_daily_bin276.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/980440/ft2_4FGL_J0752.2+3313_daily_bin276.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/980440/ft1_4FGL_J0752.2+3313_daily_bin276.fits outfile=/scratch/kocevski/980440/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin276.fits ra=118.055 dec=33.232 rad=12.0 tmin=310867201.0 tmax=311126401.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 9.03
user 3.32
sys 5.65

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/980440/ft1_filtered_4FGL_J0752.2+3313_daily_bin276.fits" evtable="EVENTS" scfile=/scratch/kocevski/980440/ft2_4FGL_J0752.2+3313_daily_bin276.fits sctable="SC_DATA" outfile=/scratch/kocevski/980440/ltcube_310867201_311126401_4FGL_J0752.2+3313_daily_bin276.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/980440/ft2_4FGL_J0752.2+3313_daily_bin276.fits
.....................!
real 18.75
user 12.20
sys 6.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/980440/ft1_filtered_4FGL_J0752.2+3313_daily_bin276.fits evtable="EVENTS" scfile=/scratch/kocevski/980440/ft2_4FGL_J0752.2+3313_daily_bin276.fits sctable="SC_DATA" expcube=/scratch/kocevski/980440/ltcube_310867201_311126401_4FGL_J0752.2+3313_daily_bin276.fits outfile=/scratch/kocevski/980440/expmap_310867201_311126401_4FGL_J0752.2+3313_daily_bin276.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/980440/ltcube_310867201_311126401_4FGL_J0752.2+3313_daily_bin276.fits
.....................!
real 197.82
user 186.16
sys 11.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/980440/ft1_filtered_4FGL_J0752.2+3313_daily_bin276.fits scfile=/scratch/kocevski/980440/ft2_4FGL_J0752.2+3313_daily_bin276.fits outfile=/scratch/kocevski/980440/cmap_310867201_311126401_4FGL_J0752.2+3313_daily_bin276.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 5.87
user 0.37
sys 5.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/980440/ft1_filtered_4FGL_J0752.2+3313_daily_bin276.fits scfile=/scratch/kocevski/980440/ft2_4FGL_J0752.2+3313_daily_bin276.fits outfile=/scratch/kocevski/980440/cmap_HighResolution_310867201_311126401_4FGL_J0752.2+3313_daily_bin276.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 5.96
user 0.38
sys 5.56

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1290       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10612E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.301       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13812E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.023       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.380       1.0000         .10000E-03   10000.    
     9 'norm      '    .10092E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4306       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.1069       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19680E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .42052       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.190       1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.211       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10512E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5008       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2578       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .76040       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=   7139.909     FROM MIGRAD    STATUS=CONVERGED    433 CALLS     2040 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .17307        .83954E-08** at limit **
   2  Prefactor     2.1261        4.5322       -.74445E-06   -.80585E-03
   3  Prefactor     .10000E-03    10.866        .84597E-06** at limit **
   4  norm          .10000E-03    1.3676        .55143E-06** at limit **
   5  Prefactor     36.474        23.458       -.67993E-05    .11035E-04
   6  Prefactor     .10000E-03    5.6290        .26531E-06** at limit **
   7  Prefactor     15.127        16.682        .58027E-05   -.14274E-04
   8  Prefactor     18.235        28.031       -.41826E-04   -.14957E-04
   9  norm          .10000E-03    2.8211        .23130E-07** at limit **
  10  Prefactor     3.4259        4.8558        .15473E-05   -.26186E-03
  11  Prefactor     2.1073        3.3991       -.77777E-06   -.63764E-03
  12  Prefactor     .10000E-03    8.4246        .37107E-05** at limit **
  13  norm          .42050        .37707       -.68353E-08   -.10103E-03
  14  Prefactor     15.023        24.602        .17464E-04   -.15320E-04
  15  Prefactor     23.278        27.116        .71422E-05   -.10697E-04
  16  Prefactor     .10000E-03    8.7345       -.43047E-05** at limit **
  17  Prefactor     .10000E-03    6.3466       -.27285E-06** at limit **
  18  Prefactor     4.4980        2.5521       -.41552E-07    .11292E-03
  19  Normalizat    1.2577        .17058        .37054E-06    .27159E-04
  20  Prefactor     .76043        .11577        .36956E-06    .16874E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 2.12614
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 36.4735
  Prefactor  = 0.0001
  Prefactor  = 15.1269
  Prefactor  = 18.2348
  norm       = 0.0001
  Prefactor  = 3.42591
  Prefactor  = 2.10726
  Prefactor  = 0.0001
  norm       = 0.420504
  Prefactor  = 15.0232
  Prefactor  = 23.2783
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.49802
  Normalizat = 1.25774
  Prefactor  = 0.760427
 **********
 **   18 **HESSE 
 **********

 FCN=   7139.909     FROM HESSE     STATUS=OK           299 CALLS     2339 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .23743        .68405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.1261        4.5226        .25148E-03   -1.5416    
   3  Prefactor     .10000E-03    11.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.3885        .96548E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.474        23.456        .33258E-03   -1.4499    
   6  Prefactor     .10000E-03    5.6403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.127        16.670        .10333E-03   -1.4930    
   8  Prefactor     18.235        28.054        .93421E-04   -1.4854    
   9  norm          .10000E-03    2.8255        .13860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.4259        4.8382        .21406E-03   -1.5338    
  11  Prefactor     2.1073        3.3688        .18794E-03   -1.5418    
  12  Prefactor     .10000E-03    8.4226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .42050        .35605        .47267E-03   -1.5578    
  14  Prefactor     15.023        24.583        .10277E-03   -1.4933    
  15  Prefactor     23.278        27.115        .83141E-04   -1.4743    
  16  Prefactor     .10000E-03    8.7984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.3537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.4980        2.5514        .97371E-04   -1.5284    
  19  Normalizat    1.2577        .20054        .24341E-03   -.84837    
  20  Prefactor     .76043        .13583        .21079E-03   -1.0120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58794e-09
Minuit parameter uncertainties:
  1  8.93485e-08
  2  4.52328
  3  1.82842e-05
  4  6.64494e-05
  5  23.4624
  6  4.10985e-05
  7  16.6749
  8  28.0745
  9  1.06422e-06
  10  4.83873
  11  3.3691
  12  3.94588e-05
  13  0.356056
  14  24.5997
  15  27.1293
  16  9.97228e-06
  17  1.37511e-05
  18  2.55149
  19  0.200662
  20  0.135894
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.000e-04  1.064e-06  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.604e-01  1.359e-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.258e+00  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/980440/likelihoodResults_310867201_311126401_4FGL_J0752.2+3313_daily_bin276.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): 102
logL (Free Index) = 7139.91052468
delta logL = -0.00167763639729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7139.90884694
delta logL = 9.8220880318e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2973       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2577       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76043       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7139.909     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      235 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    52.402        .13936E-01** at limit **
   2  alpha         1.8773        2.7806        .50000       -.25716E-07
   3  Normalizat    1.2577        .18077E-01    .24341E-03    .15753E-03
   4  Prefactor     .76043        .12566E-01    .21079E-03    .19055E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.87728
  Normalizat = 1.25774
  Prefactor  = 0.760428
 **********
 **   18 **HESSE 
 **********

 FCN=   7139.909     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      264 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    388.35        .14638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8773        3.2512        .50000       -.25174    
   3  Normalizat    1.2577        .58445E-01    .48681E-04   -.84837    
   4  Prefactor     .76043        .40626E-01    .84316E-05   -1.0120    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.12253e-10
Minuit parameter uncertainties:
  1  6.77993e-05
  2  1955.11
  3  0.0584482
  4  0.0406278
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/980440': 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): 102
logL (Free Index) = 7139.90884517
delta logL = 1.87081786862e-06

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.000e-04  6.780e-05  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.877e+00  1.955e+03  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.604e-01  4.063e-02  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.258e+00  5.845e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/980440/cmap_HighResolution_310867201_311126401_4FGL_J0752.2+3313_daily_bin276.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-05', job_status='DONE', photon_flux_upper_limit='4.18e-08', time_completed='2021-08-28 18:20:03.607401', job_id='980440', GAL2='0.76', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1630200003.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.87e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='276' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:20:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 980440: <4FGL_J0752.2+3313_daily_bin276> in cluster <slac> Done

Job <4FGL_J0752.2+3313_daily_bin276> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 28 18:05:30 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:05:32 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:05:32 2021
Terminated at Sat Aug 28 18:20:07 2021
Results reported at Sat Aug 28 18:20:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin276 118.055 33.232 310867201 311126401 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 :                                   848.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            877 sec.

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

