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


Performing analysis on: 4FGL_J0752.2+3313_daily_bin985
RA = 118.055, Dec = 33.232
tmin = 494640001, tmax = 494899201
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='985089', job_status='RUN', time_executed='2021-08-28 18:24:15.863982', time_epoch_executed='1630200255.86' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='985'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/985089

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/985089/ft1_4FGL_J0752.2+3313_daily_bin985.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/985089/ft2_4FGL_J0752.2+3313_daily_bin985.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/985089/ft1_4FGL_J0752.2+3313_daily_bin985.fits outfile=/scratch/kocevski/985089/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin985.fits ra=118.055 dec=33.232 rad=12.0 tmin=494640001.0 tmax=494899201.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.04
user 3.97
sys 1.03

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/985089/ft2_4FGL_J0752.2+3313_daily_bin985.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/985089/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin985.fits evtable="EVENTS" outfile="/scratch/kocevski/985089/ft1_filtered_4FGL_J0752.2+3313_daily_bin985.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.34
user 0.33
sys 0.98

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/985089/ft1_filtered_4FGL_J0752.2+3313_daily_bin985.fits" evtable="EVENTS" scfile=/scratch/kocevski/985089/ft2_4FGL_J0752.2+3313_daily_bin985.fits sctable="SC_DATA" outfile=/scratch/kocevski/985089/ltcube_494640001_494899201_4FGL_J0752.2+3313_daily_bin985.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/985089/ft2_4FGL_J0752.2+3313_daily_bin985.fits
.....................!
real 13.18
user 11.86
sys 1.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/985089/ft1_filtered_4FGL_J0752.2+3313_daily_bin985.fits evtable="EVENTS" scfile=/scratch/kocevski/985089/ft2_4FGL_J0752.2+3313_daily_bin985.fits sctable="SC_DATA" expcube=/scratch/kocevski/985089/ltcube_494640001_494899201_4FGL_J0752.2+3313_daily_bin985.fits outfile=/scratch/kocevski/985089/expmap_494640001_494899201_4FGL_J0752.2+3313_daily_bin985.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/985089/ltcube_494640001_494899201_4FGL_J0752.2+3313_daily_bin985.fits
.....................!
real 191.68
user 185.71
sys 5.57

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/985089/ft1_filtered_4FGL_J0752.2+3313_daily_bin985.fits scfile=/scratch/kocevski/985089/ft2_4FGL_J0752.2+3313_daily_bin985.fits outfile=/scratch/kocevski/985089/cmap_494640001_494899201_4FGL_J0752.2+3313_daily_bin985.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.36
user 0.36
sys 0.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/985089/ft1_filtered_4FGL_J0752.2+3313_daily_bin985.fits scfile=/scratch/kocevski/985089/ft2_4FGL_J0752.2+3313_daily_bin985.fits outfile=/scratch/kocevski/985089/cmap_HighResolution_494640001_494899201_4FGL_J0752.2+3313_daily_bin985.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.37
user 0.37
sys 0.95

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84558       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.4019       1.0000         .10000E-03   10000.    
     4 'norm      '    4.4242       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.9662       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.5166       1.0000         .10000E-03   10000.    
     9 'norm      '    40.415       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.028       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.6587       1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.376       1.0000         .10000E-03   10000.    
    13 'norm      '    .72349       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.3859       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11600E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1540       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .84281       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=   7204.344     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     2049 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .84557        .57465       -.12899E-06   -.45521E-03
   2  Prefactor     .10000E-03    2.6920       -.22759E-06** at limit **
   3  Prefactor     7.4020        12.790       -.14678E-05   -.55851E-04
   4  norm          4.4253        4.5104       -.61234E-06   -.43698E-03
   5  Prefactor     .10000E-03    12.049       -.17912E-07** at limit **
   6  Prefactor     4.9648        13.063       -.31154E-06   -.55373E-04
   7  Prefactor     .10000E-03    20.141       -.60934E-07** at limit **
   8  Prefactor     6.4744        24.645       -.28140E-05   -.13305E-04
   9  norm          40.413        14.988       -.24360E-06    .72191E-05
  10  Prefactor     21.030        9.6732       -.20438E-06    .15799E-04
  11  Prefactor     4.6589        3.9706       -.41084E-06   -.13906E-03
  12  Prefactor     21.385        22.303        .15497E-04    .94193E-04
  13  norm          .72350        .40738       -.11665E-07    .15746E-03
  14  Prefactor     7.3113        37.884       -.92390E-04   -.35096E-04
  15  Prefactor     .10000E-03    114.23        .33134E-04** at limit **
  16  Prefactor     .10000E-03    2.9941        .15315E-08** at limit **
  17  Prefactor     .10000E-03    30.285       -.53984E-06** at limit **
  18  Prefactor     .10000E-03    1.1067       -.66403E-07** at limit **
  19  Normalizat    1.1541        .17767        .33651E-05   -.13912E-03
  20  Prefactor     .84274        .11879        .70015E-06    .50217E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.845566
  Prefactor  = 0.0001
  Prefactor  = 7.40202
  norm       = 4.42526
  Prefactor  = 0.0001
  Prefactor  = 4.96483
  Prefactor  = 0.0001
  Prefactor  = 6.47441
  norm       = 40.4128
  Prefactor  = 21.0297
  Prefactor  = 4.65887
  Prefactor  = 21.3854
  norm       = 0.723499
  Prefactor  = 7.31126
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15405
  Prefactor  = 0.842744
 **********
 **   18 **HESSE 
 **********

 FCN=   7204.344     FROM HESSE     STATUS=OK           295 CALLS     2344 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .84557        .57106        .51143E-04   -1.5524    
   2  Prefactor     .10000E-03    2.7291        .13596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.4020        12.793        .14742E-03   -1.5164    
   4  norm          4.4253        4.4858        .15923E-03   -1.5287    
   5  Prefactor     .10000E-03    12.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.9648        12.979        .18047E-03   -1.5262    
   7  Prefactor     .10000E-03    20.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4744        24.593        .15721E-03   -1.5199    
   9  norm          40.413        15.016        .63053E-04   -1.4436    
  10  Prefactor     21.030        9.6728        .87345E-04   -1.4790    
  11  Prefactor     4.6589        3.9668        .14852E-03   -1.5276    
  12  Prefactor     21.385        22.326        .86632E-04   -1.4783    
  13  norm          .72350        .40960        .39238E-04   -1.5538    
  14  Prefactor     7.3113        38.153        .14758E-03   -1.5167    
  15  Prefactor     .10000E-03    117.44        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.9975        .14342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    30.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.1296        .87141E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1541        .20729        .26333E-03   -.88035    
  20  Prefactor     .84274        .13843        .20964E-03   -.98171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68244e-10
Minuit parameter uncertainties:
  1  0.571062
  2  1.46394e-05
  3  12.7972
  4  4.48615
  5  5.37883e-06
  6  12.9863
  7  6.16692e-05
  8  24.6318
  9  15.0173
  10  9.67354
  11  3.96705
  12  22.3349
  13  0.4096
  14  33.4368
  15  0.000208851
  16  3.65645e-06
  17  0.000212154
  18  6.65493e-06
  19  0.207442
  20  0.138486
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  4.041e+01  1.502e+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:  8.427e-01  1.385e-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.154e+00  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.01
Ra Dec: 118.055 33.232
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 1.17e-07 +/- 4.33e-08
Energy Flux (Fixed Index): 3.80e-05 +/- 1.41e-05

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) = 7203.80032654
delta logL = 0.543690144611

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7203.79967702
delta logL = 0.544339664171

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    32.915       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7526       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1112       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86444       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=   7203.800     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      270 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.909        175.82        .17461E-02   -.53767E-04
   2  alpha         2.7527        3.8762        .24160        .40478E-04
   3  Normalizat    1.1112        .11948        .60471E-01   -.10732E-03
   4  Prefactor     .86440        .84701E-01    .44550E-01   -.17118E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 32.9092
  alpha      = 2.75271
  Normalizat = 1.11121
  Prefactor  = 0.864405
 **********
 **   18 **HESSE 
 **********

 FCN=   7203.800     FROM HESSE     STATUS=OK            33 CALLS      303 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.909        16.252        .69844E-04   -1.4560    
   2  alpha         2.7527        .46948        .10178E-01    .10126    
   3  Normalizat    1.1112        .20441        .26745E-03   -.89393    
   4  Prefactor     .86440        .13997        .20733E-03   -.97396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42114e-09
Minuit parameter uncertainties:
  1  16.2543
  2  0.472309
  3  0.204557
  4  0.140024
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/985089': 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) = 7203.79967683
delta logL = 0.544339854883

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  3.291e+01  1.625e+01  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.753e+00  4.723e-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:  8.644e-01  1.400e-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.111e+00  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.14
Ra Dec: 118.055 33.232
Photon Index (Free Index): 2.75 +/- 0.47
Photon Flux (Free Index): 1.44e-07 +/- 5.41e-08
Energy Flux (Free Index): 3.37e-05 +/- 1.26e-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/985089/cmap_HighResolution_494640001_494899201_4FGL_J0752.2+3313_daily_bin985.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.17e-07', energy_flux2='3.37e-05', photon_flux_error='4.33e-08', dlogl='5.44e-01', energy_flux='3.80e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2021-08-28 18:35:10.597744', photon_index_error2='0.47', photon_index2='2.75', ts='13.01', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.15', time_epoch_completed='1630200910.6', return_code='0', job_id='985089', GAL2='0.86', EG2='1.11', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='5.41e-08', ts2='14.14', photon_index='2.31' WHERE bin_id='985' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:35:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 985089: <4FGL_J0752.2+3313_daily_bin985> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin985 118.055 33.232 494640001 494899201 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 :                                   656.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            846 sec.

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

