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


Performing analysis on: 4FGL_J0752.2+3313_daily_bin186
RA = 118.055, Dec = 33.232
tmin = 287539201, tmax = 287798401
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='979042', job_status='RUN', time_executed='2021-08-28 18:03:51.707698', time_epoch_executed='1630199031.71' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='186'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/979042

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/979042/ft1_4FGL_J0752.2+3313_daily_bin186.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/979042/ft2_4FGL_J0752.2+3313_daily_bin186.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/979042/ft1_4FGL_J0752.2+3313_daily_bin186.fits outfile=/scratch/kocevski/979042/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin186.fits ra=118.055 dec=33.232 rad=12.0 tmin=287539201.0 tmax=287798401.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 7.92
user 3.36
sys 4.51

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/979042/ft1_filtered_4FGL_J0752.2+3313_daily_bin186.fits" evtable="EVENTS" scfile=/scratch/kocevski/979042/ft2_4FGL_J0752.2+3313_daily_bin186.fits sctable="SC_DATA" outfile=/scratch/kocevski/979042/ltcube_287539201_287798401_4FGL_J0752.2+3313_daily_bin186.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/979042/ft2_4FGL_J0752.2+3313_daily_bin186.fits
.....................!
real 16.61
user 11.42
sys 5.13

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/979042/ft1_filtered_4FGL_J0752.2+3313_daily_bin186.fits evtable="EVENTS" scfile=/scratch/kocevski/979042/ft2_4FGL_J0752.2+3313_daily_bin186.fits sctable="SC_DATA" expcube=/scratch/kocevski/979042/ltcube_287539201_287798401_4FGL_J0752.2+3313_daily_bin186.fits outfile=/scratch/kocevski/979042/expmap_287539201_287798401_4FGL_J0752.2+3313_daily_bin186.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/979042/ltcube_287539201_287798401_4FGL_J0752.2+3313_daily_bin186.fits
.....................!
real 196.30
user 186.16
sys 9.70

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/979042/ft1_filtered_4FGL_J0752.2+3313_daily_bin186.fits scfile=/scratch/kocevski/979042/ft2_4FGL_J0752.2+3313_daily_bin186.fits outfile=/scratch/kocevski/979042/cmap_287539201_287798401_4FGL_J0752.2+3313_daily_bin186.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 4.73
user 0.37
sys 4.31

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/979042/ft1_filtered_4FGL_J0752.2+3313_daily_bin186.fits scfile=/scratch/kocevski/979042/ft2_4FGL_J0752.2+3313_daily_bin186.fits outfile=/scratch/kocevski/979042/cmap_HighResolution_287539201_287798401_4FGL_J0752.2+3313_daily_bin186.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 4.74
user 0.39
sys 4.30

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0265       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .15353E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.707       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.436       1.0000         .10000E-03   10000.    
     9 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.469       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2452       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.479       1.0000         .10000E-03   10000.    
    13 'norm      '    1.8919       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10491E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.1573       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0932       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87164       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=   7087.627     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     2002 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0267        1.0913       -.11363E-07    .15086E-03
   2  Prefactor     .10000E-03    2.6664        .51487E-07** at limit **
   3  Prefactor     .10000E-03    3.8847        .38050E-07** at limit **
   4  norm          .10000E-03    3.1316       -.23708E-05** at limit **
   5  Prefactor     .10000E-03    16.495       -.45262E-06** at limit **
   6  Prefactor     22.672        16.140        .16342E-05    .47648E-03
   7  Prefactor     .10000E-03    21.927        .82986E-06** at limit **
   8  Prefactor     15.434        34.555        .34253E-05    .21197E-03
   9  norm          .10000E-03    6.2730       -.61606E-08** at limit **
  10  Prefactor     10.467        9.1196        .10794E-06   -.41726E-04
  11  Prefactor     2.2457        4.7937        .72438E-06   -.68346E-04
  12  Prefactor     29.463        28.502       -.51768E-06   -.57242E-04
  13  norm          1.8919        .68815       -.32007E-07   -.11451E-03
  14  Prefactor     .10000E-03    33.872       -.14501E-05** at limit **
  15  Prefactor     .10000E-03    17.391       -.16292E-06** at limit **
  16  Prefactor     9.1608        11.595       -.19207E-06   -.19573E-04
  17  Prefactor     .10000E-03    8.5241        .32882E-07** at limit **
  18  Prefactor     .10000E-03    1.2183       -.55875E-08** at limit **
  19  Normalizat    1.0931        .17520        .10720E-05    .29367E-03
  20  Prefactor     .87162        .12115       -.47839E-06    .42565E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.02667
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 22.6718
  Prefactor  = 0.000100001
  Prefactor  = 15.4335
  norm       = 0.0001
  Prefactor  = 10.4673
  Prefactor  = 2.24571
  Prefactor  = 29.4629
  norm       = 1.89194
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.16084
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09307
  Prefactor  = 0.871616
 **********
 **   18 **HESSE 
 **********

 FCN=   7087.627     FROM HESSE     STATUS=OK           283 CALLS     2285 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0267        1.0919        .39303E-04   -1.5260    
   2  Prefactor     .10000E-03    2.6930        .13420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.8924        .16204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.0465        .25103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.672        16.754        .84058E-04   -1.4755    
   7  Prefactor     .10000E-03    21.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.434        35.582        .10194E-03   -1.4922    
   9  norm          .10000E-03    6.3465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.467        9.1019        .12383E-03   -1.5061    
  11  Prefactor     2.2457        4.7205        .24459E-03   -1.5408    
  12  Prefactor     29.463        28.402        .73791E-04   -1.4622    
  13  norm          1.8919        .68488        .39330E-04   -1.5433    
  14  Prefactor     .10000E-03    33.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.1608        11.559        .13244E-03   -1.5103    
  17  Prefactor     .10000E-03    8.5441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.2421        .90584E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0931        .20277        .26734E-03   -.89975    
  20  Prefactor     .87162        .14042        .20880E-03   -.97140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28925e-09
Minuit parameter uncertainties:
  1  1.09195
  2  2.07432e-06
  3  2.83857e-06
  4  0.000260595
  5  0.000123074
  6  16.757
  7  0.00023326
  8  35.6312
  9  1.40049e-05
  10  9.10311
  11  4.7213
  12  28.4151
  13  0.684881
  14  8.54273e-05
  15  4.16947e-05
  16  11.5615
  17  1.51468e-05
  18  2.16767e-06
  19  0.202911
  20  0.140478
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.000e-04  1.400e-05  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.716e-01  1.405e-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.093e+00  2.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/979042/likelihoodResults_287539201_287798401_4FGL_J0752.2+3313_daily_bin186.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7087.62731025
delta logL = -0.000750915221033

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7087.62655757
delta logL = 1.76115281647e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11353E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0348       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87179       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7087.627     FROM MIGRAD    STATUS=FAILED        91 CALLS      272 TOTAL
                     EDM=   .75E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10293E-03    2238.2        .31606E-02** at limit **
   2  alpha         3.4236        3.8654        .16964       -.15912E-05
   3  Normalizat    1.0931        .10259        .26734E-03    .14518E-03
   4  Prefactor     .87162        .70432E-01    .20880E-03    .12828E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7087.627     FROM SIMPLEX   STATUS=UNCHANGED    150 CALLS      422 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10293E-03    2238.2        .59663E-03** at limit **
   2  alpha         3.4236        3.8654        .12655E-04   -.15912E-05
   3  Normalizat    1.0931        .10259        .39505E-06    .14518E-03
   4  Prefactor     .87162        .70432E-01    .47150E-06    .12828E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7087.627     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      457 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.727        .63212E-03** at limit **
   2  alpha         3.5427        2.5993        .33927E-01    .33509E-08
   3  Normalizat    1.0931        .19764        .10694E-04   -.79096E-04
   4  Prefactor     .87162        .14030        .83519E-05   -.94468E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 3.54269
  Normalizat = 1.09307
  Prefactor  = 0.871616
 **********
 **   18 **HESSE 
 **********

 FCN=   7087.627     FROM HESSE     STATUS=OK            23 CALLS      480 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.582        .12642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.5427        3.1558        .13571E-02    .43023    
   3  Normalizat    1.0931        .19772        .21387E-05   -.89975    
   4  Prefactor     .87162        .14034        .16704E-05   -.97140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35312e-12
Minuit parameter uncertainties:
  1  1.30134e-05
  2  410.648
  3  0.197855
  4  0.140395
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/979042': 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) = 7087.62655543
delta logL = 3.90107834392e-06

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.000e-04  1.301e-05  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  3.543e+00  4.106e+02  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.716e-01  1.404e-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.093e+00  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 118.055 33.232

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/979042/cmap_HighResolution_287539201_287798401_4FGL_J0752.2+3313_daily_bin186.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.74e-05', job_status='DONE', photon_flux_upper_limit='5.32e-08', time_completed='2021-08-28 18:16:32.792792', job_id='979042', GAL2='0.87', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1630199792.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.90e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='186' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:16:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 979042: <4FGL_J0752.2+3313_daily_bin186> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin186 118.055 33.232 287539201 287798401 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 :                                   824.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            958 sec.

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

