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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin952
RA = 118.491, Dec = 9.3904
tmin = 486086401, tmax = 486345601
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='996160', job_status='RUN', time_executed='2021-08-28 18:59:22.321129', time_epoch_executed='1630202362.32' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='952'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/996160

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/996160/ft1_4FGL_J0753.9+0923_daily_bin952.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/996160/ft2_4FGL_J0753.9+0923_daily_bin952.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/996160/ft1_4FGL_J0753.9+0923_daily_bin952.fits outfile=/scratch/kocevski/996160/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin952.fits ra=118.491 dec=9.3904 rad=12.0 tmin=486086401.0 tmax=486345601.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 5.71
user 3.56
sys 2.10

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/996160/ft2_4FGL_J0753.9+0923_daily_bin952.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/996160/ft2_4FGL_J0753.9+0923_daily_bin952.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/996160/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin952.fits evtable="EVENTS" outfile="/scratch/kocevski/996160/ft1_filtered_4FGL_J0753.9+0923_daily_bin952.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 2.44
user 0.31
sys 2.09

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/996160/ft1_filtered_4FGL_J0753.9+0923_daily_bin952.fits" evtable="EVENTS" scfile=/scratch/kocevski/996160/ft2_4FGL_J0753.9+0923_daily_bin952.fits sctable="SC_DATA" outfile=/scratch/kocevski/996160/ltcube_486086401_486345601_4FGL_J0753.9+0923_daily_bin952.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/996160/ft2_4FGL_J0753.9+0923_daily_bin952.fits
.....................!
real 13.85
user 11.29
sys 2.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/996160/ft1_filtered_4FGL_J0753.9+0923_daily_bin952.fits evtable="EVENTS" scfile=/scratch/kocevski/996160/ft2_4FGL_J0753.9+0923_daily_bin952.fits sctable="SC_DATA" expcube=/scratch/kocevski/996160/ltcube_486086401_486345601_4FGL_J0753.9+0923_daily_bin952.fits outfile=/scratch/kocevski/996160/expmap_486086401_486345601_4FGL_J0753.9+0923_daily_bin952.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/996160/ltcube_486086401_486345601_4FGL_J0753.9+0923_daily_bin952.fits
.....................!
real 193.93
user 185.37
sys 7.57

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 166 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0753.9+0923 @ 118.491 9.3904

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/996160/ft1_filtered_4FGL_J0753.9+0923_daily_bin952.fits scfile=/scratch/kocevski/996160/ft2_4FGL_J0753.9+0923_daily_bin952.fits outfile=/scratch/kocevski/996160/cmap_486086401_486345601_4FGL_J0753.9+0923_daily_bin952.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.491 yref=9.3904 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 2.38
user 0.36
sys 2.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/996160/ft1_filtered_4FGL_J0753.9+0923_daily_bin952.fits scfile=/scratch/kocevski/996160/ft2_4FGL_J0753.9+0923_daily_bin952.fits outfile=/scratch/kocevski/996160/cmap_HighResolution_486086401_486345601_4FGL_J0753.9+0923_daily_bin952.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.491 yref=9.3904 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 2.42
user 0.39
sys 2.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/996160/ft1_filtered_4FGL_J0753.9+0923_daily_bin952.fits evtable="EVENTS" scfile=/scratch/kocevski/996160/ft2_4FGL_J0753.9+0923_daily_bin952.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/996160/Model_4FGL_J0753.9+0923_daily_bin952.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/996160/ft1_filtered_4FGL_J0753.9+0923_daily_bin952.fits.....................!
real 101.98
user 97.83
sys 3.74

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/996160/ft1_filtered_4FGL_J0753.9+0923_daily_bin952.fits', '/scratch/kocevski/996160/ft2_4FGL_J0753.9+0923_daily_bin952.fits', expMap='/scratch/kocevski/996160/expmap_486086401_486345601_4FGL_J0753.9+0923_daily_bin952.fits', expCube='/scratch/kocevski/996160/ltcube_486086401_486345601_4FGL_J0753.9+0923_daily_bin952.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/996160/Model_4FGL_J0753.9+0923_daily_bin952.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0753.9+0923'

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/996160/ft1_filtered_4FGL_J0753.9+0923_daily_bin952.fits
Spacecraft file(s): /scratch/kocevski/996160/ft2_4FGL_J0753.9+0923_daily_bin952.fits
Exposure map: /scratch/kocevski/996160/expmap_486086401_486345601_4FGL_J0753.9+0923_daily_bin952.fits
Exposure cube: /scratch/kocevski/996160/ltcube_486086401_486345601_4FGL_J0753.9+0923_daily_bin952.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/996160/Model_4FGL_J0753.9+0923_daily_bin952.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) = 7616.81508791

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.157       1.0000         .10000E-03   10000.    
     2 'norm      '    7.9350       1.0000         .10000E-03   10000.    
     3 'norm      '    3.3139       1.0000         .10000E-03   10000.    
     4 'Prefactor '    46.617       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.6409       1.0000         .10000E-03   10000.    
     7 'norm      '    3.0736       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5674       1.0000         .10000E-03   10000.    
    12 'norm      '    23.946       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1762       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    60.400       1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.418       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .55178E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.7536       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.9190       1.0000         .10000E-03   10000.    
    22 'norm      '    2.1939       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .91728       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7616.814     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2680 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.149        57.872       -.11428E-04    .13525E-05
   2  norm          7.9349        2.7356        .86358E-07   -.88289E-04
   3  norm          3.3140        1.6235       -.90845E-07   -.30633E-03
   4  Prefactor     46.615        40.639       -.14682E-05    .46527E-05
   5  Prefactor     .10000E-03    16.170       -.25687E-05** at limit **
   6  norm          1.6412        1.2796       -.55820E-07   -.13593E-03
   7  norm          3.0736        2.0035       -.67930E-07   -.38293E-03
   8  Prefactor     .10000E-03    5.9978       -.37398E-07** at limit **
   9  Prefactor     .10000E-03    15.802        .24530E-05** at limit **
  10  Prefactor     .10000E-03    23.365       -.20677E-05** at limit **
  11  Prefactor     3.5676        2.9227       -.12641E-06   -.27803E-03
  12  norm          23.945        17.588       -.84414E-07   -.38216E-05
  13  Prefactor     7.1763        8.9324       -.29818E-07   -.24194E-04
  14  Prefactor     .10000E-03    32.990       -.23793E-06** at limit **
  15  norm          60.400        63.294       -.31775E-06    .12717E-05
  16  Prefactor     22.411        24.546       -.69859E-05   -.46353E-04
  17  norm          .10000E-03    5.6655        .43956E-08** at limit **
  18  norm          .10001E-03    7.5026        .67269E-06** at limit **
  19  norm          8.7534        4.2268        .82598E-07   -.46137E-04
  20  Prefactor     .10000E-03    24.570        .28661E-05** at limit **
  21  Prefactor     5.9193        9.9016       -.26068E-06   -.70273E-04
  22  norm          2.1939        1.1470       -.37029E-07   -.27890E-03
  23  Normalizat    .91716        .19070        .62882E-06   -.31393E-04
  24  Prefactor     1.0194        .12078        .69324E-06   -.57167E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.1495
  norm       = 7.93485
  norm       = 3.31395
  Prefactor  = 46.6153
  Prefactor  = 0.0001
  norm       = 1.64119
  norm       = 3.07356
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.5676
  norm       = 23.9455
  Prefactor  = 7.17632
  Prefactor  = 0.0001
  norm       = 60.3999
  Prefactor  = 22.4109
  norm       = 0.0001
  norm       = 0.000100014
  norm       = 8.75335
  Prefactor  = 0.0001
  Prefactor  = 5.91927
  norm       = 2.19389
  Normalizat = 0.917161
  Prefactor  = 1.01944
 **********
 **   18 **HESSE 
 **********

 FCN=   7616.814     FROM HESSE     STATUS=OK           403 CALLS     3083 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.149        57.858        .71782E-04   -1.4591    
   2  norm          7.9349        2.7405        .79220E-04   -1.5145    
   3  norm          3.3140        1.6228        .73668E-04   -1.5344    
   4  Prefactor     46.615        40.647        .58726E-04   -1.4341    
   5  Prefactor     .10000E-03    16.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6412        1.2765        .84198E-04   -1.5452    
   7  norm          3.0736        1.9998        .94684E-04   -1.5357    
   8  Prefactor     .10000E-03    6.0439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.5676        2.9246        .12829E-03   -1.5330    
  12  norm          23.945        17.584        .81859E-04   -1.4729    
  13  Prefactor     7.1763        8.9278        .14974E-03   -1.5172    
  14  Prefactor     .10000E-03    32.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          60.400        63.297        .51626E-04   -1.4152    
  16  Prefactor     22.411        24.557        .84597E-04   -1.4761    
  17  norm          .10000E-03    5.6910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10001E-03    29.514        .46101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.7534        4.2250        .12029E-03   -1.5116    
  20  Prefactor     .10000E-03    24.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.9193        9.9129        .16506E-03   -1.5221    
  22  norm          2.1939        1.1469        .64720E-04   -1.5412    
  23  Normalizat    .91716        .21400        .33415E-03   -.95860    
  24  Prefactor     1.0194        .13667        .20320E-03   -.92084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15055e-10
Minuit parameter uncertainties:
  1  57.9626
  2  2.74057
  3  1.62282
  4  40.6716
  5  1.80719e-06
  6  1.2765
  7  1.99983
  8  2.86175e-06
  9  2.02287e-06
  10  1.15157e-05
  11  2.92469
  12  17.5881
  13  8.92949
  14  2.75792e-06
  15  63.3673
  16  24.5679
  17  1.28221e-06
  18  0.00126451
  19  4.22516
  20  2.70253e-06
  21  9.91563
  22  1.14693
  23  0.214198
  24  0.136717
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.395e+01  1.759e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.019e+00  1.367e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  9.172e-01  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.48
Ra Dec: 118.491 9.390
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 2.27e-08
Energy Flux (Fixed Index): 1.43e-05 +/- 1.05e-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) = 7616.55775257
delta logL = 0.256169054524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7616.53899577
delta logL = 0.274925850288

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7616.539     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      260 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8839        63.041        .38229E-02    .14625E-02
   2  alpha         3.7980        4.2379        .30704        .72776E-04
   3  Normalizat    .83778        .88464E-01    .78506E-01    .22800E-04
   4  Prefactor     1.0486        .45000E-01    .39996E-01    .13672E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.88389
  alpha      = 3.798
  Normalizat = 0.837777
  Prefactor  = 1.0486
 **********
 **   18 **HESSE 
 **********

 FCN=   7616.539     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      293 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8839        99.513        .12098E-03   -1.5183    
   2  alpha         3.7980        4.3743        .12129E-01    .54592    
   3  Normalizat    .83778        .30883        .34753E-03   -.98682    
   4  Prefactor     1.0486        .15364        .20067E-03   -.91127    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.48431e-07
Minuit parameter uncertainties:
  1  52.4515
  2  4.94833
  3  0.309482
  4  0.153705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/996160': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7616.5389951
delta logL = 0.274926526679

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  6.884e+00  5.245e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  3.798e+00  4.948e+00  0.000e+00  5.000e+00 ( 1.000e+00)
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.049e+00  1.537e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  8.378e-01  3.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.20
Ra Dec: 118.491 9.390
Photon Index (Free Index): 3.80 +/- 4.95
Photon Flux (Free Index): 9.62e-08 +/- 2.34e-07
Energy Flux (Free Index): 1.98e-05 +/- 1.60e-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/996160/cmap_HighResolution_486086401_486345601_4FGL_J0753.9+0923_daily_bin952.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.98e-05', photon_flux_error='2.27e-08', dlogl='2.75e-01', energy_flux='1.43e-05', photon_flux2='9.62e-08', job_status='DONE', time_completed='2021-08-28 19:11:18.435678', photon_index_error2='4.95', photon_index2='3.80', ts='4.48', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.60e-05', EG='0.92', time_epoch_completed='1630203078.44', return_code='0', job_id='996160', GAL2='1.05', EG2='0.84', return_code2='102', energy_flux_error='1.05e-05', photon_flux_error2='2.34e-07', ts2='5.20', photon_index='2.46' WHERE bin_id='952' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:11:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 996160: <4FGL_J0753.9+0923_daily_bin952> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin952> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 18:55:44 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:55:45 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:55:45 2021
Terminated at Sat Aug 28 19:11:19 2021
Results reported at Sat Aug 28 19:11:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin952 118.491 9.3904 486086401 486345601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0753.9+0923 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   742.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            935 sec.

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

