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


Performing analysis on: 4FGL_J0752.2+3313_daily_bin754
RA = 118.055, Dec = 33.232
tmin = 434764801, tmax = 435024001
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='984773', job_status='RUN', time_executed='2021-08-28 18:23:33.138779', time_epoch_executed='1630200213.14' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/984773

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/984773/ft1_4FGL_J0752.2+3313_daily_bin754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/984773/ft2_4FGL_J0752.2+3313_daily_bin754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/984773/ft1_4FGL_J0752.2+3313_daily_bin754.fits outfile=/scratch/kocevski/984773/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin754.fits ra=118.055 dec=33.232 rad=12.0 tmin=434764801.0 tmax=435024001.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 6.70
user 5.49
sys 1.14

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/984773/ft1_filtered_4FGL_J0752.2+3313_daily_bin754.fits" evtable="EVENTS" scfile=/scratch/kocevski/984773/ft2_4FGL_J0752.2+3313_daily_bin754.fits sctable="SC_DATA" outfile=/scratch/kocevski/984773/ltcube_434764801_435024001_4FGL_J0752.2+3313_daily_bin754.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/984773/ft2_4FGL_J0752.2+3313_daily_bin754.fits
.....................!
real 13.29
user 11.81
sys 1.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/984773/ft1_filtered_4FGL_J0752.2+3313_daily_bin754.fits evtable="EVENTS" scfile=/scratch/kocevski/984773/ft2_4FGL_J0752.2+3313_daily_bin754.fits sctable="SC_DATA" expcube=/scratch/kocevski/984773/ltcube_434764801_435024001_4FGL_J0752.2+3313_daily_bin754.fits outfile=/scratch/kocevski/984773/expmap_434764801_435024001_4FGL_J0752.2+3313_daily_bin754.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/984773/ltcube_434764801_435024001_4FGL_J0752.2+3313_daily_bin754.fits
.....................!
real 192.71
user 186.09
sys 6.16

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/984773/ft1_filtered_4FGL_J0752.2+3313_daily_bin754.fits scfile=/scratch/kocevski/984773/ft2_4FGL_J0752.2+3313_daily_bin754.fits outfile=/scratch/kocevski/984773/cmap_434764801_435024001_4FGL_J0752.2+3313_daily_bin754.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.39
user 0.38
sys 0.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/984773/ft1_filtered_4FGL_J0752.2+3313_daily_bin754.fits scfile=/scratch/kocevski/984773/ft2_4FGL_J0752.2+3313_daily_bin754.fits outfile=/scratch/kocevski/984773/cmap_HighResolution_434764801_435024001_4FGL_J0752.2+3313_daily_bin754.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.43
user 0.36
sys 1.03

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10091E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .20083E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.282       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.924       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    58.309       1.0000         .10000E-03   10000.    
     9 'norm      '    11.520       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0199       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .28745       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.1636       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .60086       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2338       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=   5447.365     FROM MIGRAD    STATUS=CONVERGED    429 CALLS     2088 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .40894        .47534E-07** at limit **
   2  Prefactor     .10000E-03    2.3306        .90983E-07** at limit **
   3  Prefactor     .10000E-03    7.5347        .42483E-07** at limit **
   4  norm          .10000E-03    5.6177        .10285E-05** at limit **
   5  Prefactor     31.316        45.075        .67023E-05    .42485E-03
   6  Prefactor     17.940        20.293       -.25320E-06   -.32747E-04
   7  Prefactor     .10000E-03    7.3116        .11653E-07** at limit **
   8  Prefactor     58.306        56.442       -.13406E-05    .75420E-04
   9  norm          11.520        14.101        .37107E-06    .73084E-05
  10  Prefactor     .10000E-03    2.9178       -.21803E-07** at limit **
  11  Prefactor     2.0211        5.1632       -.10601E-06   -.25097E-03
  12  Prefactor     .10000E-03    70.906        .66338E-06** at limit **
  13  norm          .28739        .32393       -.67641E-07   -.29516E-03
  14  Prefactor     .10000E-03    28.174       -.34246E-07** at limit **
  15  Prefactor     .10000E-03    12.763        .30106E-07** at limit **
  16  Prefactor     .10000E-03    7.7209       -.57482E-06** at limit **
  17  Prefactor     .10000E-03    10.194       -.42578E-08** at limit **
  18  Prefactor     4.1633        3.5154        .20205E-05   -.13618E-02
  19  Normalizat    .60090        .20456       -.34894E-05   -.59018E-05
  20  Prefactor     1.2338        .14190        .74869E-06   -.15318E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 31.316
  Prefactor  = 17.9403
  Prefactor  = 0.0001
  Prefactor  = 58.3062
  norm       = 11.5196
  Prefactor  = 0.0001
  Prefactor  = 2.02112
  Prefactor  = 0.0001
  norm       = 0.28739
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.16327
  Normalizat = 0.600898
  Prefactor  = 1.23376
 **********
 **   18 **HESSE 
 **********

 FCN=   5447.365     FROM HESSE     STATUS=OK           287 CALLS     2375 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0547        .91311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.3409        .11001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.5958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.7158        .33730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     31.316        48.535        .71638E-04   -1.4588    
   6  Prefactor     17.940        20.220        .94602E-04   -1.4861    
   7  Prefactor     .10000E-03    7.3247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     58.306        56.705        .52538E-04   -1.4179    
   9  norm          11.520        14.103        .11803E-03   -1.5029    
  10  Prefactor     .10000E-03    2.9228        .12312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.0211        5.1118        .24841E-03   -1.5424    
  12  Prefactor     .10000E-03    71.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .28739        .31122        .43123E-03   -1.5601    
  14  Prefactor     .10000E-03    28.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.7745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.1633        3.6347        .61419E-03   -1.5300    
  19  Normalizat    .60090        .22401        .33139E-03   -1.0795    
  20  Prefactor     1.2338        .15739        .17617E-03   -.85299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8583e-09
Minuit parameter uncertainties:
  1  7.15679e-06
  2  3.2349e-07
  3  1.4106e-05
  4  9.21065e-05
  5  48.5961
  6  20.2281
  7  5.83122e-06
  8  56.7578
  9  14.1072
  10  1.37517e-06
  11  5.1129
  12  0.000264624
  13  0.311218
  14  4.61916e-06
  15  1.49912e-05
  16  6.23367e-05
  17  6.12827e-06
  18  3.63486
  19  0.224352
  20  0.157449
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.152e+01  1.411e+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:  1.234e+00  1.574e-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:  6.009e-01  2.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.83
Ra Dec: 118.055 33.232
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/984773/likelihoodResults_434764801_435024001_4FGL_J0752.2+3313_daily_bin754.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) = 5446.16645105
delta logL = 1.19834485868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5446.12783235
delta logL = 1.2369635566

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6915       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.3834       1.0000          .0000       5.0000    
     3 'Normalizat'    .51819       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2746       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=   5446.128     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      259 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6700        41.936        .62084E-02   -.23336E-02
   2  alpha         4.3884        3.2585        .46404       -.70173E-04
   3  Normalizat    .51814        .82636E-01    .80180E-01   -.23766E-04
   4  Prefactor     1.2747        .61531E-01    .33067E-01    .24370E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.67001
  alpha      = 4.38843
  Normalizat = 0.518141
  Prefactor  = 1.2747
 **********
 **   18 **HESSE 
 **********

 FCN=   5446.128     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      292 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6700        56.393        .74807E-04   -1.5381    
   2  alpha         4.3884        3.2923        .23960E-01    .85622    
   3  Normalizat    .51814        .21485        .35509E-03   -1.1158    
   4  Prefactor     1.2747        .15976        .17359E-03   -.84063    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.17274e-09
Minuit parameter uncertainties:
  1  24.5673
  2  6.74899
  3  0.215196
  4  0.159823
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/984773': 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) = 5446.12782503
delta logL = 1.23697087639

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  2.670e+00  2.457e+01  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  4.388e+00  6.749e+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.275e+00  1.598e-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:  5.181e-01  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.53
Ra Dec: 118.055 33.232
Photon Index (Free Index): 4.39 +/- 6.75
Photon Flux (Free Index): 8.41e-08 +/- 5.97e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.65e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/984773/cmap_HighResolution_434764801_435024001_4FGL_J0752.2+3313_daily_bin754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.90e-05', comment='SUCCESS', energy_flux2='1.23e-05', dlogl='1.24e+00', photon_flux2='8.41e-08', job_status='DONE', time_completed='2021-08-28 18:34:00.194852', photon_index_error2='6.75', photon_index2='4.39', ts='0.83', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.65e-05', EG='0.60', time_epoch_completed='1630200840.19', return_code='0', job_id='984773', GAL2='1.27', EG2='0.52', return_code2='102', photon_flux_error2='5.97e-08', ts2='3.53', photon_index='2.31' WHERE bin_id='754' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:34:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 984773: <4FGL_J0752.2+3313_daily_bin754> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin754 118.055 33.232 434764801 435024001 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 :                                   638.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            804 sec.

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

