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


Performing analysis on: 4FGL_J0752.2+3313_daily_bin895
RA = 118.055, Dec = 33.232
tmin = 471312001, tmax = 471571201
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='984985', job_status='RUN', time_executed='2021-08-28 18:23:17.223554', time_epoch_executed='1630200197.22' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='895'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/984985

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/984985/ft1_4FGL_J0752.2+3313_daily_bin895.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/984985/ft2_4FGL_J0752.2+3313_daily_bin895.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/984985/ft1_4FGL_J0752.2+3313_daily_bin895.fits outfile=/scratch/kocevski/984985/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin895.fits ra=118.055 dec=33.232 rad=12.0 tmin=471312001.0 tmax=471571201.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.53
user 4.78
sys 0.41

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/984985/ft1_filtered_4FGL_J0752.2+3313_daily_bin895.fits" evtable="EVENTS" scfile=/scratch/kocevski/984985/ft2_4FGL_J0752.2+3313_daily_bin895.fits sctable="SC_DATA" outfile=/scratch/kocevski/984985/ltcube_471312001_471571201_4FGL_J0752.2+3313_daily_bin895.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/984985/ft2_4FGL_J0752.2+3313_daily_bin895.fits
.....................!
real 11.94
user 11.36
sys 0.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/984985/ft1_filtered_4FGL_J0752.2+3313_daily_bin895.fits evtable="EVENTS" scfile=/scratch/kocevski/984985/ft2_4FGL_J0752.2+3313_daily_bin895.fits sctable="SC_DATA" expcube=/scratch/kocevski/984985/ltcube_471312001_471571201_4FGL_J0752.2+3313_daily_bin895.fits outfile=/scratch/kocevski/984985/expmap_471312001_471571201_4FGL_J0752.2+3313_daily_bin895.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/984985/ltcube_471312001_471571201_4FGL_J0752.2+3313_daily_bin895.fits
.....................!
real 190.77
user 185.83
sys 4.45

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/984985/ft1_filtered_4FGL_J0752.2+3313_daily_bin895.fits scfile=/scratch/kocevski/984985/ft2_4FGL_J0752.2+3313_daily_bin895.fits outfile=/scratch/kocevski/984985/cmap_471312001_471571201_4FGL_J0752.2+3313_daily_bin895.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.71
user 0.39
sys 0.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/984985/ft1_filtered_4FGL_J0752.2+3313_daily_bin895.fits scfile=/scratch/kocevski/984985/ft2_4FGL_J0752.2+3313_daily_bin895.fits outfile=/scratch/kocevski/984985/cmap_HighResolution_471312001_471571201_4FGL_J0752.2+3313_daily_bin895.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.74
user 0.38
sys 0.32

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .72959       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.832       1.0000         .10000E-03   10000.    
     4 'norm      '    .11397E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    67.225       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.8666       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1634       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14462E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    5.0821       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20869E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .99344       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.141       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.0189       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.2027       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .79594       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1334       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=   7373.411     FROM MIGRAD    STATUS=CONVERGED    742 CALLS     2391 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .72964        .53733        .53959E-03    .75424E-03
   2  Prefactor     .10000E-03    1.9440        .11647E-02** at limit **
   3  Prefactor     10.837        9.3294        .12173E-03    .79944E-04
   4  norm          .10000E-03    2.4509        .25727E-03** at limit **
   5  Prefactor     67.107        35.965        .48952E-04    .12541E-04
   6  Prefactor     9.8764        12.783        .12757E-03   -.22992E-04
   7  Prefactor     3.1736        18.043        .22788E-03    .21253E-04
   8  Prefactor     .10000E-03    213.49        .82116E-02** at limit **
   9  norm          5.0846        9.6036        .17836E-03    .98481E-04
  10  Prefactor     .10000E-03    9.9452        .30771E-02** at limit **
  11  Prefactor     .10000E-03    2.0276        .11880E-02** at limit **
  12  Prefactor     .10000E-03    8.7779        .18142E-02** at limit **
  13  norm          .99354        .52634        .43546E-04   -.49865E-04
  14  Prefactor     .10000E-03    12.863        .18142E-02** at limit **
  15  Prefactor     .10000E-03    8.3361        .18142E-02** at limit **
  16  Prefactor     12.140        11.051        .11497E-03   -.83066E-05
  17  Prefactor     7.0187        18.148        .15142E-03    .11787E-04
  18  Prefactor     3.2026        2.4165        .10846E-03    .12872E-03
  19  Normalizat    .79597        .20229        .30360E-03   -.70774E-05
  20  Prefactor     1.1334        .14434        .18934E-03   -.43652E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.729641
  Prefactor  = 0.0001
  Prefactor  = 10.837
  norm       = 0.0001
  Prefactor  = 67.1067
  Prefactor  = 9.87642
  Prefactor  = 3.17358
  Prefactor  = 0.000100003
  norm       = 5.08463
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.993535
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.1398
  Prefactor  = 7.01867
  Prefactor  = 3.2026
  Normalizat = 0.795967
  Prefactor  = 1.13338
 **********
 **   18 **HESSE 
 **********

 FCN=   7373.411     FROM HESSE     STATUS=OK           273 CALLS     2664 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .72964        .53727        .21583E-04   -1.5537    
   2  Prefactor     .10000E-03    1.9442        .23295E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.837        9.3292        .48692E-05   -1.5049    
   4  norm          .10000E-03    2.4510        .51454E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     67.107        35.860        .97904E-05   -1.4068    
   6  Prefactor     9.8764        12.782        .51029E-05   -1.5079    
   7  Prefactor     3.1736        18.039        .91150E-05   -1.5352    
   8  Prefactor     .10000E-03    221.17        .32846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.0846        9.6027        .71342E-05   -1.5257    
  10  Prefactor     .10000E-03    10.040        .61543E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.0279        .23760E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.7783        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .99354        .52632        .17419E-05   -1.5509    
  14  Prefactor     .10000E-03    12.864        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.3364        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.140        11.050        .45986E-05   -1.5011    
  17  Prefactor     7.0187        18.146        .60569E-05   -1.5178    
  18  Prefactor     3.2026        2.4163        .43384E-05   -1.5350    
  19  Normalizat    .79597        .20242        .12144E-04   -1.0022    
  20  Prefactor     1.1334        .14444        .37867E-04   -.88407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.71897e-10
Minuit parameter uncertainties:
  1  0.537278
  2  9.04687e-06
  3  9.33043
  4  2.8138e-05
  5  35.8715
  6  12.7853
  7  15.1392
  8  0.00167277
  9  9.60562
  10  0.000331367
  11  1.33331e-05
  12  1.80483e-05
  13  0.526326
  14  2.61914e-05
  15  1.89729e-05
  16  11.0517
  17  18.1606
  18  2.4164
  19  0.20261
  20  0.144495
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  5.085e+00  9.606e+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.133e+00  1.445e-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:  7.960e-01  2.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/984985/likelihoodResults_471312001_471571201_4FGL_J0752.2+3313_daily_bin895.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) = 7372.41866488
delta logL = 0.992026679573

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7372.39266178
delta logL = 1.01802978141

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9112       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8930       1.0000          .0000       5.0000    
     3 'Normalizat'    .72774       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1615       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=   7372.393     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      252 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9104        6.3446        .11842E-03   -.18049E-04
   2  alpha         3.8931        1.1867        .22717E-02   -.78071E-06
   3  Normalizat    .72775        .20328        .31625E-03   -.23223E-04
   4  Prefactor     1.1615        .14599        .18722E-03    .23196E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.91042
  alpha      = 3.89315
  Normalizat = 0.727751
  Prefactor  = 1.16153
 **********
 **   18 **HESSE 
 **********

 FCN=   7372.393     FROM HESSE     STATUS=OK            23 CALLS      275 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9104        6.0636        .47367E-05   -1.5312    
   2  alpha         3.8931        1.1403        .90867E-04    .59108    
   3  Normalizat    .72775        .20347        .12650E-04   -1.0281    
   4  Prefactor     1.1615        .14610        .74889E-05   -.87523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54712e-12
Minuit parameter uncertainties:
  1  6.06456
  2  1.20718
  3  0.203685
  4  0.146149
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/984985': 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) = 7372.39266175
delta logL = 1.01802981076

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  3.910e+00  6.065e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  3.893e+00  1.207e+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.162e+00  1.461e-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:  7.278e-01  2.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.51
Ra Dec: 118.055 33.232
Photon Index (Free Index): 3.89 +/- 1.21
Photon Flux (Free Index): 6.48e-08 +/- 4.98e-08
Energy Flux (Free Index): 1.02e-05 +/- 7.71e-06

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/984985/cmap_HighResolution_471312001_471571201_4FGL_J0752.2+3313_daily_bin895.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.64e-05', comment='SUCCESS', energy_flux2='1.02e-05', dlogl='1.02e+00', photon_flux2='6.48e-08', job_status='DONE', time_completed='2021-08-28 18:35:33.206696', photon_index_error2='1.21', photon_index2='3.89', ts='0.34', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='8.10e-08', energy_flux_error2='7.71e-06', EG='0.80', time_epoch_completed='1630200933.21', return_code='0', job_id='984985', GAL2='1.16', EG2='0.73', return_code2='0', photon_flux_error2='4.98e-08', ts2='2.51', photon_index='2.31' WHERE bin_id='895' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:35:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 984985: <4FGL_J0752.2+3313_daily_bin895> in cluster <slac> Done

Job <4FGL_J0752.2+3313_daily_bin895> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 28 18:20:54 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:20:55 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:20:55 2021
Terminated at Sat Aug 28 18:35:35 2021
Results reported at Sat Aug 28 18:35:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin895 118.055 33.232 471312001 471571201 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 :                                   733.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             262.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            881 sec.

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

