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


Performing analysis on: 4FGL_J0752.2+3313_daily_bin529
RA = 118.055, Dec = 33.232
tmin = 376444801, tmax = 376704001
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='981963', job_status='RUN', time_executed='2021-08-28 18:11:03.457705', time_epoch_executed='1630199463.46' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='529'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/981963

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/981963/ft1_4FGL_J0752.2+3313_daily_bin529.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/981963/ft2_4FGL_J0752.2+3313_daily_bin529.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/981963/ft1_4FGL_J0752.2+3313_daily_bin529.fits outfile=/scratch/kocevski/981963/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin529.fits ra=118.055 dec=33.232 rad=12.0 tmin=376444801.0 tmax=376704001.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.19
user 4.24
sys 0.93

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/981963/ft2_4FGL_J0752.2+3313_daily_bin529.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/981963/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin529.fits evtable="EVENTS" outfile="/scratch/kocevski/981963/ft1_filtered_4FGL_J0752.2+3313_daily_bin529.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.20
user 0.36
sys 0.82

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/981963/ft1_filtered_4FGL_J0752.2+3313_daily_bin529.fits" evtable="EVENTS" scfile=/scratch/kocevski/981963/ft2_4FGL_J0752.2+3313_daily_bin529.fits sctable="SC_DATA" outfile=/scratch/kocevski/981963/ltcube_376444801_376704001_4FGL_J0752.2+3313_daily_bin529.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/981963/ft2_4FGL_J0752.2+3313_daily_bin529.fits
.....................!
real 12.51
user 11.39
sys 1.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/981963/ft1_filtered_4FGL_J0752.2+3313_daily_bin529.fits evtable="EVENTS" scfile=/scratch/kocevski/981963/ft2_4FGL_J0752.2+3313_daily_bin529.fits sctable="SC_DATA" expcube=/scratch/kocevski/981963/ltcube_376444801_376704001_4FGL_J0752.2+3313_daily_bin529.fits outfile=/scratch/kocevski/981963/expmap_376444801_376704001_4FGL_J0752.2+3313_daily_bin529.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/981963/ltcube_376444801_376704001_4FGL_J0752.2+3313_daily_bin529.fits
.....................!
real 191.41
user 185.93
sys 5.08

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/981963/ft1_filtered_4FGL_J0752.2+3313_daily_bin529.fits scfile=/scratch/kocevski/981963/ft2_4FGL_J0752.2+3313_daily_bin529.fits outfile=/scratch/kocevski/981963/cmap_376444801_376704001_4FGL_J0752.2+3313_daily_bin529.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.24
user 0.39
sys 0.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/981963/ft1_filtered_4FGL_J0752.2+3313_daily_bin529.fits scfile=/scratch/kocevski/981963/ft2_4FGL_J0752.2+3313_daily_bin529.fits outfile=/scratch/kocevski/981963/cmap_HighResolution_376444801_376704001_4FGL_J0752.2+3313_daily_bin529.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.22
user 0.42
sys 0.79

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21113E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.4310       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.399       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.321       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .57550       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.005       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8689       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    50.271       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9991       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0823       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91235       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=   7161.735     FROM MIGRAD    STATUS=CONVERGED    428 CALLS     2061 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20303E-01    .40154        .11680E-06   -.36728E-03
   2  Prefactor     .10000E-03    8.3312       -.98896E-06** at limit **
   3  Prefactor     .10000E-03    3.7834        .70033E-07** at limit **
   4  norm          3.4346        5.3356        .36420E-05   -.24265E-03
   5  Prefactor     22.360        34.569        .10464E-04    .95448E-04
   6  Prefactor     19.314        20.006       -.16213E-05    .12375E-04
   7  Prefactor     .10000E-03    5.6140        .33336E-06** at limit **
   8  Prefactor     .10000E-03    11.305        .51981E-06** at limit **
   9  norm          .54773        6.6742        .59794E-06   -.15846E-03
  10  Prefactor     .10000E-03    1.7171        .49831E-08** at limit **
  11  Prefactor     11.005        6.3112        .20799E-06   -.46469E-04
  12  Prefactor     .10000E-03    19.607       -.97438E-06** at limit **
  13  norm          .10000E-03    .18274        .14287E-07** at limit **
  14  Prefactor     2.8682        24.586        .87555E-06    .18789E-05
  15  Prefactor     .10000E-03    12.305        .41582E-06** at limit **
  16  Prefactor     .10000E-03    4.5260       -.18009E-06** at limit **
  17  Prefactor     50.272        29.227        .11197E-06   -.14198E-04
  18  Prefactor     2.9991        3.5971        .49226E-06    .49303E-05
  19  Normalizat    1.0822        .18661       -.19147E-05    .79158E-05
  20  Prefactor     .91250        .11904       -.25238E-06   -.14780E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0203029
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.43457
  Prefactor  = 22.3598
  Prefactor  = 19.314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.547731
  Prefactor  = 0.0001
  Prefactor  = 11.0048
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.86816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.2717
  Prefactor  = 2.99911
  Normalizat = 1.08218
  Prefactor  = 0.912496
 **********
 **   18 **HESSE 
 **********

 FCN=   7161.735     FROM HESSE     STATUS=OK           295 CALLS     2356 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20303E-01    1.9517        .10285E-02   -1.5680    
   2  Prefactor     .10000E-03    8.5565        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.7890        .16075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.4346        5.3678        .99373E-03   -1.5337    
   5  Prefactor     22.360        34.657        .84634E-04   -1.4762    
   6  Prefactor     19.314        20.036        .91119E-04   -1.4829    
   7  Prefactor     .10000E-03    5.6234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .54773        27.037        .41729E-02   -1.5560    
  10  Prefactor     .10000E-03    1.7180        .10830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.005        6.2612        .12077E-03   -1.5044    
  12  Prefactor     .10000E-03    19.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .22807        .69891E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.8682        24.536        .23999E-03   -1.5369    
  15  Prefactor     .10000E-03    12.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.5301        .17575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     50.272        29.342        .56561E-04   -1.4289    
  18  Prefactor     2.9991        3.5863        .16201E-03   -1.5362    
  19  Normalizat    1.0822        .21929        .27847E-03   -.90326    
  20  Prefactor     .91250        .14116        .20190E-03   -.95706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01336e-07
Minuit parameter uncertainties:
  1  0.397154
  2  3.56138e-05
  3  3.95573e-06
  4  5.36851
  5  34.6886
  6  20.0431
  7  5.69803e-06
  8  5.71777e-05
  9  7.69945
  10  5.62169e-07
  11  6.26162
  12  1.95464e-05
  13  3.6029e-07
  14  16.7867
  15  1.10343e-05
  16  4.11403e-06
  17  29.3502
  18  3.58655
  19  0.219472
  20  0.141214
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  5.477e-01  7.699e+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:  9.125e-01  1.412e-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.082e+00  2.195e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/981963/likelihoodResults_376444801_376704001_4FGL_J0752.2+3313_daily_bin529.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) = 7161.71785989
delta logL = 0.017519196459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7161.70470672
delta logL = 0.0306723695003

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5602       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7105       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0842       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90997       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7161.705     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      239 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5645        9.9063         .0000        .15849E-01
   2  alpha         1.7101        1.5559         .0000       -.38210E-04
   3  Normalizat    1.0842        .17527         .0000        .50483E-04
   4  Prefactor     .90996        .11892         .0000        .59685E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.56451
  alpha      = 1.71007
  Normalizat = 1.08418
  Prefactor  = 0.909961
 **********
 **   18 **HESSE 
 **********

 FCN=   7161.705     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5645        6.9738        .17034E-02   -1.5458    
   2  alpha         1.7101        1.6025        .49153E-01   -.32148    
   3  Normalizat    1.0842        .20564        .27824E-03   -.90261    
   4  Prefactor     .90996        .13934        .20214E-03   -.95794    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29275e-08
Minuit parameter uncertainties:
  1  6.60732
  2  1.75947
  3  0.20579
  4  0.139399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/981963': 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) = 7161.7047064
delta logL = 0.0306726844719

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.565e+00  6.607e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.710e+00  1.759e+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:  9.100e-01  1.394e-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.084e+00  2.058e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/981963/cmap_HighResolution_376444801_376704001_4FGL_J0752.2+3313_daily_bin529.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.19e-05', job_status='DONE', photon_flux_upper_limit='6.71e-08', time_completed='2021-08-28 18:22:28.112730', job_id='981963', GAL2='0.91', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1630200148.11', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.07e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='529' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:22:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 981963: <4FGL_J0752.2+3313_daily_bin529> in cluster <slac> Done

Job <4FGL_J0752.2+3313_daily_bin529> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 28 18:10:32 2021
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:10:34 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:10:34 2021
Terminated at Sat Aug 28 18:22:28 2021
Results reported at Sat Aug 28 18:22:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin529 118.055 33.232 376444801 376704001 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 :                                   691.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            716 sec.

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

