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


Performing analysis on: 4FGL_J0752.2+3313_daily_bin1117
RA = 118.055, Dec = 33.232
tmin = 528854401, tmax = 529113601
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='986495', job_status='RUN', time_executed='2021-08-28 18:26:00.333834', time_epoch_executed='1630200360.33' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='1117'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/986495

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/986495/ft1_4FGL_J0752.2+3313_daily_bin1117.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/986495/ft2_4FGL_J0752.2+3313_daily_bin1117.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/986495/ft1_4FGL_J0752.2+3313_daily_bin1117.fits outfile=/scratch/kocevski/986495/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin1117.fits ra=118.055 dec=33.232 rad=12.0 tmin=528854401.0 tmax=529113601.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.00
user 3.20
sys 0.77

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/986495/ft1_filtered_4FGL_J0752.2+3313_daily_bin1117.fits" evtable="EVENTS" scfile=/scratch/kocevski/986495/ft2_4FGL_J0752.2+3313_daily_bin1117.fits sctable="SC_DATA" outfile=/scratch/kocevski/986495/ltcube_528854401_529113601_4FGL_J0752.2+3313_daily_bin1117.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/986495/ft2_4FGL_J0752.2+3313_daily_bin1117.fits
.....................!
real 12.26
user 11.26
sys 0.96

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/986495/ft1_filtered_4FGL_J0752.2+3313_daily_bin1117.fits evtable="EVENTS" scfile=/scratch/kocevski/986495/ft2_4FGL_J0752.2+3313_daily_bin1117.fits sctable="SC_DATA" expcube=/scratch/kocevski/986495/ltcube_528854401_529113601_4FGL_J0752.2+3313_daily_bin1117.fits outfile=/scratch/kocevski/986495/expmap_528854401_529113601_4FGL_J0752.2+3313_daily_bin1117.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/986495/ltcube_528854401_529113601_4FGL_J0752.2+3313_daily_bin1117.fits
.....................!
real 191.06
user 185.43
sys 5.22

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/986495/ft1_filtered_4FGL_J0752.2+3313_daily_bin1117.fits scfile=/scratch/kocevski/986495/ft2_4FGL_J0752.2+3313_daily_bin1117.fits outfile=/scratch/kocevski/986495/cmap_528854401_529113601_4FGL_J0752.2+3313_daily_bin1117.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.03
user 0.38
sys 0.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/986495/ft1_filtered_4FGL_J0752.2+3313_daily_bin1117.fits scfile=/scratch/kocevski/986495/ft2_4FGL_J0752.2+3313_daily_bin1117.fits outfile=/scratch/kocevski/986495/cmap_HighResolution_528854401_529113601_4FGL_J0752.2+3313_daily_bin1117.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.08
user 0.38
sys 0.69

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    25.982       1.0000         .10000E-03   10000.    
     4 'norm      '    5.6690       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.471       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.337       1.0000         .10000E-03   10000.    
     9 'norm      '    61.367       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9368       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.532       1.0000         .10000E-03   10000.    
    13 'norm      '    .83331       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.465       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.421       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94217       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97928       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=   8123.159     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     2029 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .31874        .19454E-01** at limit **
   2  Prefactor     .10000E-03    4.8128        .90712E-02** at limit **
   3  Prefactor     25.982        13.125        .19648E-02    .28907E-03
   4  norm          5.6685        4.6755        .42178E-02   -.61841E-02
   5  Prefactor     .10000E-03    12.485        .90712E-02** at limit **
   6  Prefactor     26.471        21.200        .19466E-02   -.10216E-02
   7  Prefactor     .10000E-03    4.5685        .90712E-02** at limit **
   8  Prefactor     12.337        32.462        .28511E-02    .10540E-03
   9  norm          61.367        16.818        .12805E-02    .56355E-03
  10  Prefactor     2.9371        7.1405        .59254E-02    .49463E-03
  11  Prefactor     .10000E-03    2.1826        .90712E-02** at limit **
  12  Prefactor     13.532        15.089        .27221E-02    .12824E-03
  13  norm          .83320        .47035        .99633E-02    .30947E-03
  14  Prefactor     19.464        17.137        .22696E-02    .22481E-03
  15  Prefactor     .10000E-03    26.277        .90712E-02** at limit **
  16  Prefactor     .10000E-03    8.7909        .90712E-02** at limit **
  17  Prefactor     19.421        15.701        .22721E-02    .14923E-03
  18  Prefactor     .10000E-03    1.2969        .90712E-02** at limit **
  19  Normalizat    .94218        .16827        .66155E-01    .51298E-05
  20  Prefactor     .97925        .11402        .46008E-01   -.13872E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.9818
  norm       = 5.66851
  Prefactor  = 0.000100001
  Prefactor  = 26.4712
  Prefactor  = 0.0001
  Prefactor  = 12.3366
  norm       = 61.3667
  Prefactor  = 2.93709
  Prefactor  = 0.0001
  Prefactor  = 13.5321
  norm       = 0.833199
  Prefactor  = 19.4644
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 19.4213
  Prefactor  = 0.0001
  Normalizat = 0.942184
  Prefactor  = 0.97925
 **********
 **   18 **HESSE 
 **********

 FCN=   8123.159     FROM HESSE     STATUS=OK           287 CALLS     2316 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .56082        .98190E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.9212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     25.982        13.134        .78591E-04   -1.4688    
   4  norm          5.6685        4.6544        .14998E-03   -1.5232    
   5  Prefactor     .10000E-03    12.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.471        21.153        .77863E-04   -1.4679    
   7  Prefactor     .10000E-03    4.5701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.337        32.390        .11405E-03   -1.5005    
   9  norm          61.367        16.844        .51221E-04   -1.4140    
  10  Prefactor     2.9371        7.1297        .23702E-03   -1.5365    
  11  Prefactor     .10000E-03    2.2166        .12988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.532        15.090        .10888E-03   -1.4972    
  13  norm          .83320        .46049        .44886E-04   -1.5525    
  14  Prefactor     19.464        17.138        .90783E-04   -1.4825    
  15  Prefactor     .10000E-03    26.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.8672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.421        15.703        .90884E-04   -1.4826    
  18  Prefactor     .10000E-03    1.3238        .10011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .94218        .19534        .29262E-03   -.94993    
  20  Prefactor     .97925        .13259        .19973E-03   -.93424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59318e-08
Minuit parameter uncertainties:
  1  9.27617e-07
  2  9.60995e-05
  3  13.1355
  4  4.65472
  5  0.000199183
  6  21.1592
  7  8.17097e-05
  8  32.4359
  9  16.8453
  10  7.13172
  11  5.24444e-06
  12  15.0947
  13  0.460488
  14  17.1418
  15  0.000250215
  16  0.000133626
  17  15.7062
  18  1.65096e-07
  19  0.195489
  20  0.132634
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  6.137e+01  1.685e+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:  9.793e-01  1.326e-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:  9.422e-01  1.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.90
Ra Dec: 118.055 33.232
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 1.77e-07 +/- 4.86e-08
Energy Flux (Fixed Index): 5.77e-05 +/- 1.59e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8122.67077982
delta logL = 0.487946677245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8122.67039776
delta logL = 0.488328732912

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    54.831       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6233       1.0000          .0000       5.0000    
     3 'Normalizat'    .89581       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0015       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=   8122.670     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      302 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          54.828        17.543        .54170E-04   -.28123E-04
   2  alpha         2.6233        .33404        .87622E-02    .20094E-03
   3  Normalizat    .89590        .19751        .29899E-03   -.10837E-04
   4  Prefactor     1.0014        .13472        .19774E-03    .20749E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 54.828
  alpha      = 2.62334
  Normalizat = 0.895903
  Prefactor  = 1.00137
 **********
 **   18 **HESSE 
 **********

 FCN=   8122.670     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          54.828        17.283        .21668E-05   -1.4226    
   2  alpha         2.6233        .32895        .17524E-02    .49355E-01
   3  Normalizat    .89590        .19756        .11960E-04   -.96604    
   4  Prefactor     1.0014        .13475        .39549E-04   -.92684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00137e-10
Minuit parameter uncertainties:
  1  17.2847
  2  0.329913
  3  0.197724
  4  0.134794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/986495': 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) = 8122.67039749
delta logL = 0.488329003291

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  5.483e+01  1.728e+01  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.623e+00  3.299e-01  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  1.191e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  5.149e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
608    Prefactor:  1.001e+00  1.348e-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:  8.959e-01  1.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 31.93
Ra Dec: 118.055 33.232
Photon Index (Free Index): 2.62 +/- 0.33
Photon Flux (Free Index): 2.11e-07 +/- 6.34e-08
Energy Flux (Free Index): 5.34e-05 +/- 1.45e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.77e-07', energy_flux2='5.34e-05', photon_flux_error='4.86e-08', dlogl='4.88e-01', energy_flux='5.77e-05', photon_flux2='2.11e-07', job_status='DONE', time_completed='2021-08-28 18:37:10.534339', photon_index_error2='0.33', photon_index2='2.62', ts='30.90', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.45e-05', EG='0.94', time_epoch_completed='1630201030.53', return_code='0', job_id='986495', GAL2='1.00', EG2='0.90', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='6.34e-08', ts2='31.93', photon_index='2.31' WHERE bin_id='1117' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:37:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 986495: <4FGL_J0752.2+3313_daily_bin1117> in cluster <slac> Done

Job <4FGL_J0752.2+3313_daily_bin1117> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 28 18:25:40 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:25:41 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:25:41 2021
Terminated at Sat Aug 28 18:37:11 2021
Results reported at Sat Aug 28 18:37:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin1117 118.055 33.232 528854401 529113601 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 :                                   670.47 sec.
    Max Memory :                                 1184 MB
    Average Memory :                             338.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            691 sec.

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

