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


Performing analysis on: 4FGL_J0752.2+3313_daily_bin79
RA = 118.055, Dec = 33.232
tmin = 259804801, tmax = 260064001
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='978871', job_status='RUN', time_executed='2021-08-28 18:02:20.896941', time_epoch_executed='1630198940.9' WHERE source_name='4FGL J0752.2+3313' and cadence='daily' and bin_id='79'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/978871

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/978871/ft1_4FGL_J0752.2+3313_daily_bin79.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/978871/ft2_4FGL_J0752.2+3313_daily_bin79.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/978871/ft1_4FGL_J0752.2+3313_daily_bin79.fits outfile=/scratch/kocevski/978871/ft1_filteredMKT_4FGL_J0752.2+3313_daily_bin79.fits ra=118.055 dec=33.232 rad=12.0 tmin=259804801.0 tmax=260064001.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.64
user 2.48
sys 1.05

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/978871/ft1_filtered_4FGL_J0752.2+3313_daily_bin79.fits" evtable="EVENTS" scfile=/scratch/kocevski/978871/ft2_4FGL_J0752.2+3313_daily_bin79.fits sctable="SC_DATA" outfile=/scratch/kocevski/978871/ltcube_259804801_260064001_4FGL_J0752.2+3313_daily_bin79.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/978871/ft2_4FGL_J0752.2+3313_daily_bin79.fits
.....................!
real 13.83
user 12.46
sys 1.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/978871/ft1_filtered_4FGL_J0752.2+3313_daily_bin79.fits evtable="EVENTS" scfile=/scratch/kocevski/978871/ft2_4FGL_J0752.2+3313_daily_bin79.fits sctable="SC_DATA" expcube=/scratch/kocevski/978871/ltcube_259804801_260064001_4FGL_J0752.2+3313_daily_bin79.fits outfile=/scratch/kocevski/978871/expmap_259804801_260064001_4FGL_J0752.2+3313_daily_bin79.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/978871/ltcube_259804801_260064001_4FGL_J0752.2+3313_daily_bin79.fits
.....................!
real 192.65
user 186.14
sys 6.11

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/978871/ft1_filtered_4FGL_J0752.2+3313_daily_bin79.fits scfile=/scratch/kocevski/978871/ft2_4FGL_J0752.2+3313_daily_bin79.fits outfile=/scratch/kocevski/978871/cmap_259804801_260064001_4FGL_J0752.2+3313_daily_bin79.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.40
user 0.37
sys 0.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/978871/ft1_filtered_4FGL_J0752.2+3313_daily_bin79.fits scfile=/scratch/kocevski/978871/ft2_4FGL_J0752.2+3313_daily_bin79.fits outfile=/scratch/kocevski/978871/cmap_HighResolution_259804801_260064001_4FGL_J0752.2+3313_daily_bin79.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.42
user 0.38
sys 1.02

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1828       1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.057       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.833       1.0000         .10000E-03   10000.    
     4 'norm      '    .10141E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.138       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6746       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.633       1.0000         .10000E-03   10000.    
     9 'norm      '    .10108E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10767E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .93833       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.0652       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .38309       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .84442       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1428       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=   6594.497     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     2032 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1828        1.1292       -.50418E-07   -.72494E-04
   2  Prefactor     25.054        8.8683        .69551E-07    .11744E-05
   3  Prefactor     14.825        18.661        .58730E-05   -.23876E-04
   4  norm          .10000E-03    2.7243        .31229E-06** at limit **
   5  Prefactor     15.140        33.122       -.83269E-05    .17680E-05
   6  Prefactor     1.6750        22.429       -.68603E-05   -.18489E-03
   7  Prefactor     .10000E-03    17.824        .96513E-05** at limit **
   8  Prefactor     15.646        34.631        .41527E-05    .12004E-04
   9  norm          .10000E-03    4.8784       -.21507E-07** at limit **
  10  Prefactor     .10000E-03    6.2975       -.12653E-07** at limit **
  11  Prefactor     .10000E-03    1.1327       -.41440E-07** at limit **
  12  Prefactor     .10000E-03    10.183       -.20375E-05** at limit **
  13  norm          .93829        .63512        .98874E-07   -.20590E-03
  14  Prefactor     .10000E-03    14.997       -.22314E-04** at limit **
  15  Prefactor     .10000E-03    13.113        .14894E-04** at limit **
  16  Prefactor     3.0643        12.796       -.25167E-05   -.16091E-03
  17  Prefactor     .33530        17.559       -.34154E-05    .34169E-03
  18  Prefactor     .10000E-03    .97473        .12222E-06** at limit **
  19  Normalizat    .84450        .20099        .90458E-07    .12355E-03
  20  Prefactor     1.1428        .13997        .12998E-07    .18149E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.18279
  Prefactor  = 25.054
  Prefactor  = 14.8252
  norm       = 0.0001
  Prefactor  = 15.1401
  Prefactor  = 1.67497
  Prefactor  = 0.0001
  Prefactor  = 15.646
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.938289
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.06434
  Prefactor  = 0.335299
  Prefactor  = 0.0001
  Normalizat = 0.844504
  Prefactor  = 1.14283
 **********
 **   18 **HESSE 
 **********

 FCN=   6594.497     FROM HESSE     STATUS=OK           299 CALLS     2331 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1828        1.1289        .42982E-04   -1.5299    
   2  Prefactor     25.054        8.8718        .80025E-04   -1.4706    
   3  Prefactor     14.825        18.637        .10400E-03   -1.4938    
   4  norm          .10000E-03    2.7822        .26079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.140        33.073        .10294E-03   -1.4930    
   6  Prefactor     1.6750        22.834        .32567E-03   -1.5449    
   7  Prefactor     .10000E-03    17.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.646        34.570        .10130E-03   -1.4917    
   9  norm          .10000E-03    4.8946        .17515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.3596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.1361        .84380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .93829        .61426        .48922E-04   -1.5514    
  14  Prefactor     .10000E-03    14.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0643        12.602        .23170E-03   -1.5358    
  17  Prefactor     .33530        20.242        .97419E-01   -1.5592    
  18  Prefactor     .10000E-03    .98192        .78175E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .84450        .23016        .31464E-03   -.98439    
  20  Prefactor     1.1428        .16083        .19855E-03   -.88109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78119e-09
Minuit parameter uncertainties:
  1  1.12887
  2  8.87222
  3  18.6443
  4  5.00266e-05
  5  33.1126
  6  12.3742
  7  3.00386e-05
  8  34.6141
  9  5.61662e-06
  10  9.2715e-06
  11  2.43521e-07
  12  8.01554e-06
  13  0.614265
  14  2.12443e-05
  15  1.23932e-05
  16  12.4326
  17  5.21148
  18  2.88921e-06
  19  0.230428
  20  0.160898
Done.

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

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.000e-04  5.617e-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.143e+00  1.609e-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.445e-01  2.304e-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: 6.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.97e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/978871/likelihoodResults_259804801_260064001_4FGL_J0752.2+3313_daily_bin79.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) = 6594.4976044
delta logL = -0.000972252831161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6594.49663212
delta logL = 2.59024091065e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3200       1.0000          .0000       5.0000    
     3 'Normalizat'    .84453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1428       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=   6594.497     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      244 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.6589        .57354E-01** at limit **
   2  alpha         3.1144        2.6870        .16515       -.46260E-07
   3  Normalizat    .84450        .51513E-02    .31464E-03    .20021E-03
   4  Prefactor     1.1428        .37481E-02    .19855E-03    .29409E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 3.11437
  Normalizat = 0.844504
  Prefactor  = 1.14283
 **********
 **   18 **HESSE 
 **********

 FCN=   6594.497     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.9873        .28839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.1144        4.0471        .66059E-02    .24829    
   3  Normalizat    .84450        .21943        .12586E-04   -.98439    
   4  Prefactor     1.1428        .15975        .39710E-04   -.88109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43977e-10
Minuit parameter uncertainties:
  1  3.91e-05
  2  415.21
  3  0.219659
  4  0.159817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/978871': 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) = 6594.49663039
delta logL = 1.75469176611e-06

Extracting fit parameters...

4FGL J0752.2+3313
   Spectrum: LogParabola
290         norm:  1.000e-04  3.910e-05  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  3.114e+00  4.152e+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.143e+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:  8.445e-01  2.197e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/978871/cmap_HighResolution_259804801_260064001_4FGL_J0752.2+3313_daily_bin79.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.97e-05', job_status='DONE', photon_flux_upper_limit='6.03e-08', time_completed='2021-08-28 18:13:27.759032', job_id='978871', GAL2='1.14', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1630199607.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.75e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='79' AND source_name='4FGL J0752.2+3313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:13:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 978871: <4FGL_J0752.2+3313_daily_bin79> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0752.2+3313_daily_bin79 118.055 33.232 259804801 260064001 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 :                                   676.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            784 sec.

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

