/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 179 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 = 7009
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0752.2+3313_daily_bin43
RA = 118.055, Dec = 33.232
tmin = 250473601, tmax = 250732801
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='977565', job_status='RUN', time_executed='2021-08-28 17:59:41.321277', time_epoch_executed='1630198781.32' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='43'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/977565

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/977565/ft1_4FGL_J0752.2+3313_daily_bin43.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/977565/ft2_4FGL_J0752.2+3313_daily_bin43.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/977565/ft1_4FGL_J0752.2+3313_daily_bin43.fits outfile=/scratch/kocevski/977565/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin43.fits ra=118.055 dec=33.232 rad=12.0 tmin=250473601.0 tmax=250732801.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 4.68
user 1.16
sys 3.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/977565/ft2_4FGL_J0752.2+3313_daily_bin43.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/977565/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin43.fits evtable="EVENTS" outfile="/scratch/kocevski/977565/ft1_filtered_4FGL_J0752.2+3313_daily_bin43.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 3.93
user 0.34
sys 3.56

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/977565/ft1_filtered_4FGL_J0752.2+3313_daily_bin43.fits" evtable="EVENTS" scfile=/scratch/kocevski/977565/ft2_4FGL_J0752.2+3313_daily_bin43.fits sctable="SC_DATA" outfile=/scratch/kocevski/977565/ltcube_250473601_250732801_4FGL_J0752.2+3313_daily_bin43.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/977565/ft2_4FGL_J0752.2+3313_daily_bin43.fits
.....................!
real 15.89
user 11.78
sys 4.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/977565/ft1_filtered_4FGL_J0752.2+3313_daily_bin43.fits evtable="EVENTS" scfile=/scratch/kocevski/977565/ft2_4FGL_J0752.2+3313_daily_bin43.fits sctable="SC_DATA" expcube=/scratch/kocevski/977565/ltcube_250473601_250732801_4FGL_J0752.2+3313_daily_bin43.fits outfile=/scratch/kocevski/977565/expmap_250473601_250732801_4FGL_J0752.2+3313_daily_bin43.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/977565/ltcube_250473601_250732801_4FGL_J0752.2+3313_daily_bin43.fits
.....................!
real 193.85
user 184.95
sys 8.50

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/977565/ft1_filtered_4FGL_J0752.2+3313_daily_bin43.fits scfile=/scratch/kocevski/977565/ft2_4FGL_J0752.2+3313_daily_bin43.fits outfile=/scratch/kocevski/977565/cmap_250473601_250732801_4FGL_J0752.2+3313_daily_bin43.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 3.85
user 0.37
sys 3.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/977565/ft1_filtered_4FGL_J0752.2+3313_daily_bin43.fits scfile=/scratch/kocevski/977565/ft2_4FGL_J0752.2+3313_daily_bin43.fits outfile=/scratch/kocevski/977565/cmap_HighResolution_250473601_250732801_4FGL_J0752.2+3313_daily_bin43.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 3.90
user 0.37
sys 3.51

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62884       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0318       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.5613       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10371E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.772       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.637       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11373E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .64453       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12474E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11353E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.4858       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.9569       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .58385       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0780       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=   5245.024     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     1767 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .62892        .69095        .27500E-08   -.22148E-04
   2  Prefactor     3.0380        6.9106        .68679E-06   -.46723E-05
   3  Prefactor     .10000E-03    8.4223       -.47281E-07** at limit **
   4  norm          3.5641        3.6723       -.11345E-07    .37513E-04
   5  Prefactor     .10000E-03    17.952        .13414E-05** at limit **
   6  Prefactor     29.755        19.491        .15268E-05    .48822E-03
   7  Prefactor     12.618        13.119        .23380E-06    .61683E-04
   8  Prefactor     .10000E-03    10.973        .15162E-06** at limit **
   9  norm          .10000E-03    3.9761       -.38381E-07** at limit **
  10  Prefactor     .10000E-03    2.0450        .18649E-08** at limit **
  11  Prefactor     .10000E-03    2.6253       -.59744E-07** at limit **
  12  Prefactor     .10292E-03    42.832       -.43481E-05** at limit **
  13  norm          .64485        .49919       -.10119E-07    .12853E-03
  14  Prefactor     .10000E-03    28.129       -.48811E-06** at limit **
  15  Prefactor     .10000E-03    8.8488       -.70231E-07** at limit **
  16  Prefactor     .10000E-03    16.890       -.12115E-05** at limit **
  17  Prefactor     4.4831        9.1567        .40140E-05    .72691E-04
  18  Prefactor     3.9561        3.0160       -.23923E-07    .53825E-04
  19  Normalizat    .58352        .18316       -.99966E-06    .17289E-03
  20  Prefactor     1.0780        .12998        .12622E-06    .19487E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.628917
  Prefactor  = 3.038
  Prefactor  = 0.0001
  norm       = 3.56408
  Prefactor  = 0.000100001
  Prefactor  = 29.7555
  Prefactor  = 12.6179
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010292
  norm       = 0.644849
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.48307
  Prefactor  = 3.95611
  Normalizat = 0.583518
  Prefactor  = 1.078
 **********
 **   18 **HESSE 
 **********

 FCN=   5245.024     FROM HESSE     STATUS=OK           291 CALLS     2058 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .62892        .65005        .60069E-03   -1.5549    
   2  Prefactor     3.0380        6.8633        .23305E-03   -1.5359    
   3  Prefactor     .10000E-03    8.4788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.5641        3.6706        .13102E-03   -1.5330    
   5  Prefactor     .10000E-03    18.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.755        20.247        .73429E-04   -1.4616    
   7  Prefactor     12.618        13.126        .56340E-03   -1.4997    
   8  Prefactor     .10000E-03    10.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.9859        .14103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.0463        .10115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.6635        .11447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10292E-03    331.77        .85193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .64485        .49407        .43410E-04   -1.5547    
  14  Prefactor     .10000E-03    28.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.8526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.4831        9.3028        .95052E-03   -1.5284    
  18  Prefactor     3.9561        2.9997        .10414E-03   -1.5310    
  19  Normalizat    .58352        .20249        .30885E-03   -1.0869    
  20  Prefactor     1.0780        .14747        .17153E-03   -.90173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.61085e-09
Minuit parameter uncertainties:
  1  0.65006
  2  6.86509
  3  9.73562e-06
  4  3.67079
  5  0.000216586
  6  20.2515
  7  13.1294
  8  1.32243e-05
  9  1.54999e-06
  10  7.15861e-07
  11  3.40566e-06
  12  0.062603
  13  0.49407
  14  3.58235e-05
  15  1.9163e-07
  16  0.000150362
  17  9.30581
  18  2.99983
  19  0.202751
  20  0.147529
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.000e-04  1.550e-06  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.078e+00  1.475e-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.835e-01  2.028e-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.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/977565/likelihoodResults_250473601_250732801_4FGL_J0752.2+3313_daily_bin43.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) = 5245.02500991
delta logL = -0.00119235724924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5245.02381755
delta logL = -2.24190443987e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3121       1.0000          .0000       5.0000    
     3 'Normalizat'    .58352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0780       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5245.024     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      235 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    16.393        .14107E-02** at limit **
   2  alpha         2.4604        3.6389        .16520       -.46797E-08
   3  Normalizat    .58352        .19765        .30885E-03    .33618E-03
   4  Prefactor     1.0780        .14691        .17153E-03    .56052E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.46039
  Normalizat = 0.583518
  Prefactor  = 1.078
 **********
 **   18 **HESSE 
 **********

 FCN=   5245.024     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.0229        .28215E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4604        2.6843        .66079E-02   -.15846E-01
   3  Normalizat    .58352        .19777        .12354E-04   -1.0869    
   4  Prefactor     1.0780        .14700        .34305E-04   -.90173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20929e-10
Minuit parameter uncertainties:
  1  1.1915e-05
  2  321.523
  3  0.198007
  4  0.147057
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/977565': 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) = 5245.02381744
delta logL = 1.13818714453e-07

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.000e-04  1.191e-05  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.460e+00  3.215e+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:  1.078e+00  1.471e-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.835e-01  1.980e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/977565/cmap_HighResolution_250473601_250732801_4FGL_J0752.2+3313_daily_bin43.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-05', job_status='DONE', photon_flux_upper_limit='5.31e-08', time_completed='2021-08-28 18:09:36.181322', job_id='977565', GAL2='1.08', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1630199376.18', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.14e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='43' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:09:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 977565: <4FGL_J0752.2+3313_daily_bin43> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin43 118.055 33.232 250473601 250732801 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 :                                   648.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             257.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            841 sec.

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

