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


Performing analysis on: 4FGL_J0723.5+2900_daily_bin1210
RA = 110.885, Dec = 29.0075
tmin = 552960001, tmax = 553219201
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='307318', job_status='RUN', time_executed='2021-08-27 05:05:53.124502', time_epoch_executed='1630065953.12' WHERE source_name='4FGL J0723.5+2900' and cadence='daily' and bin_id='1210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307318

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307318/ft1_4FGL_J0723.5+2900_daily_bin1210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307318/ft2_4FGL_J0723.5+2900_daily_bin1210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307318/ft1_4FGL_J0723.5+2900_daily_bin1210.fits outfile=/scratch/kocevski/307318/ft1_filteredMKT_4FGL_J0723.5+2900_daily_bin1210.fits ra=110.885 dec=29.0075 rad=12.0 tmin=552960001.0 tmax=553219201.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 11.55
user 2.61
sys 8.78

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/307318/ft2_4FGL_J0723.5+2900_daily_bin1210.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307318/ft2_4FGL_J0723.5+2900_daily_bin1210.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/307318/ft1_filteredMKT_4FGL_J0723.5+2900_daily_bin1210.fits evtable="EVENTS" outfile="/scratch/kocevski/307318/ft1_filtered_4FGL_J0723.5+2900_daily_bin1210.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 8.46
user 0.32
sys 7.90

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307318/ft1_filtered_4FGL_J0723.5+2900_daily_bin1210.fits" evtable="EVENTS" scfile=/scratch/kocevski/307318/ft2_4FGL_J0723.5+2900_daily_bin1210.fits sctable="SC_DATA" outfile=/scratch/kocevski/307318/ltcube_552960001_553219201_4FGL_J0723.5+2900_daily_bin1210.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/307318/ft2_4FGL_J0723.5+2900_daily_bin1210.fits
.....................!
real 22.86
user 13.64
sys 9.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307318/ft1_filtered_4FGL_J0723.5+2900_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/307318/ft2_4FGL_J0723.5+2900_daily_bin1210.fits sctable="SC_DATA" expcube=/scratch/kocevski/307318/ltcube_552960001_553219201_4FGL_J0723.5+2900_daily_bin1210.fits outfile=/scratch/kocevski/307318/expmap_552960001_553219201_4FGL_J0723.5+2900_daily_bin1210.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/307318/ltcube_552960001_553219201_4FGL_J0723.5+2900_daily_bin1210.fits
.....................!
real 203.12
user 185.16
sys 16.24

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 IC 443 in ROI with RadialGaussian spatial model.
Added 182 point sources and 1 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 J0723.5+2900 @ 110.885 29.0075

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/307318/ft1_filtered_4FGL_J0723.5+2900_daily_bin1210.fits scfile=/scratch/kocevski/307318/ft2_4FGL_J0723.5+2900_daily_bin1210.fits outfile=/scratch/kocevski/307318/cmap_552960001_553219201_4FGL_J0723.5+2900_daily_bin1210.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=110.885 yref=29.0075 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 9.01
user 0.38
sys 8.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307318/ft1_filtered_4FGL_J0723.5+2900_daily_bin1210.fits scfile=/scratch/kocevski/307318/ft2_4FGL_J0723.5+2900_daily_bin1210.fits outfile=/scratch/kocevski/307318/cmap_HighResolution_552960001_553219201_4FGL_J0723.5+2900_daily_bin1210.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=110.885 yref=29.0075 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 9.00
user 0.39
sys 8.57

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/307318/ft1_filtered_4FGL_J0723.5+2900_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/307318/ft2_4FGL_J0723.5+2900_daily_bin1210.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/307318/Model_4FGL_J0723.5+2900_daily_bin1210.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 IC 443
Working on...
/scratch/kocevski/307318/ft1_filtered_4FGL_J0723.5+2900_daily_bin1210.fits...................................!
real 30.60
user 18.66
sys 11.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/307318/ft1_filtered_4FGL_J0723.5+2900_daily_bin1210.fits', '/scratch/kocevski/307318/ft2_4FGL_J0723.5+2900_daily_bin1210.fits', expMap='/scratch/kocevski/307318/expmap_552960001_553219201_4FGL_J0723.5+2900_daily_bin1210.fits', expCube='/scratch/kocevski/307318/ltcube_552960001_553219201_4FGL_J0723.5+2900_daily_bin1210.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/307318/Model_4FGL_J0723.5+2900_daily_bin1210.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0723.5+2900'

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  1.024e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  2.672e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  5.857e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/307318/ft1_filtered_4FGL_J0723.5+2900_daily_bin1210.fits
Spacecraft file(s): /scratch/kocevski/307318/ft2_4FGL_J0723.5+2900_daily_bin1210.fits
Exposure map: /scratch/kocevski/307318/expmap_552960001_553219201_4FGL_J0723.5+2900_daily_bin1210.fits
Exposure cube: /scratch/kocevski/307318/ltcube_552960001_553219201_4FGL_J0723.5+2900_daily_bin1210.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/307318/Model_4FGL_J0723.5+2900_daily_bin1210.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 387.752133228

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10491E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .89624E-03   1.0000         .10000E-03   10000.    
     3 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     4 'norm      '    .10474E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3169.7       1.0000         .10000E-03   10000.    
     6 'Prefactor '    427.28       1.0000         .10000E-03   10000.    
     7 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     8 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     9 'norm      '    10000.       1.0000         .10000E-03   10000.    
    10 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9999.9       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .38389       1.0000         .10000E-03   10000.    
    13 'norm      '    10000.       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12703E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    16 'Prefactor '    .22283       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   364.9050     FROM MIGRAD    STATUS=CONVERGED    282 CALLS     1688 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    32.559        .26773E-06** at limit **
   2  Prefactor     .10000E-03    397.62       -.46496E-04** at limit **
   3  norm         10000.0        8016.3        .16705E-02** at limit **
   4  norm          .10000E-03    4.2445        .30757E-06** at limit **
   5  Prefactor     3169.5        1637.1       -.42679E-04   -.19653E-04
   6  Prefactor     426.97        496.26       -.13769E-03   -.18219E-04
   7  norm         10000.0        6990.7        .98471E-06** at limit **
   8  Prefactor    10000.0        9834.4        .41087E-03** at limit **
   9  norm         10000.0        2019.9       -.13185E-02** at limit **
  10  Prefactor    10000.0        8635.4        .32374E-03** at limit **
  11  Prefactor    10000.0        6278.8        .65511E-02** at limit **
  12  Prefactor     .10000E-03    7646.8       -.13839E-02** at limit **
  13  norm         10000.0        6246.5       -.78897E-03** at limit **
  14  Prefactor     .10000E-03    206.82        .35074E-05** at limit **
  15  Normalizat    .10000E-01    .47506        .15232E-04** at limit **
  16  Prefactor     .22280        .12582        .54020E-05   -.13581E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10000
  norm       = 0.0001
  Prefactor  = 3169.45
  Prefactor  = 426.973
  norm       = 10000
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.0001
  norm       = 10000
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.222803
 **********
 **   18 **HESSE 
 **********

 FCN=   364.9050     FROM HESSE     STATUS=OK           187 CALLS     1875 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    32.561        .10657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    397.75        .20833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm         10000.0        8017.1        .18414E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.2452        .38459E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3169.5        1631.7        .42984E-04   -.37483    
   6  Prefactor     426.97        495.90        .98891E-04   -1.1545    
   7  norm         10000.0        6990.7        .19336E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor    10000.0        9834.3        .20777E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm         10000.0        2019.1        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor    10000.0        8635.3        .20561E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor    10000.0        6281.9        .19268E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7646.4        .21574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm         10000.0        6246.3        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    206.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .10000E-01    .51047        .77440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .22280        .12050        .14798E-03   -1.2711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39872e-09
Minuit parameter uncertainties:
  1  1.62756e-05
  2  9.12381e-05
  3  0.0354631
  4  5.52016e-05
  5  1667.15
  6  501.008
  7  0.000550686
  8  0.00166632
  9  0.00134477
  10  0.00209355
  11  0.00886432
  12  0.000427756
  13  0.00412068
  14  6.94863e-07
  15  4.86187e-05
  16  0.120635
Done.

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

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  3.169e+03  1.667e+03  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  2.672e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  5.857e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  2.228e-01  1.206e-01  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.000e-02  4.862e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.76
Ra Dec: 110.885 29.008
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 2.13e-05 +/- 1.12e-05
Energy Flux (Fixed Index): 5.26e-03 +/- 2.76e-03

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) = 361.420738165
delta logL = 3.48430245891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 361.410046723
delta logL = 3.49499390142

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    262.02       1.0000         .10000E-03   10000.    
     2 'Index     '    5.1812       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .21088       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   361.4100     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      261 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     262.02        2039.1        .62603E-03    .64076E-04
   2  Index         5.1813        3.5787        .20150E-01   -.13399E-04
   3  Normalizat    .10000E-01    .22462        .32094E-01** at limit **
   4  Prefactor     .21087        .11735        .35444E-01    .67872E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 262.023
  Index      = 5.18133
  Normalizat = 0.01
  Prefactor  = 0.210873
 **********
 **   18 **HESSE 
 **********

 FCN=   361.4100     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     262.02        602.98        .25041E-04   -1.2456    
   2  Index         5.1813        1.5745        .97336E-04    .36273E-01
   3  Normalizat    .10000E-01    .24983        .29467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .21087        .11370        .14300E-03   -1.2793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.37329e-10
Minuit parameter uncertainties:
  1  618.307
  2  1.60178
  3  5.90783e-07
  4  0.113817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307318': 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) = 361.410046665
delta logL = 3.49499395928

Extracting fit parameters...

4FGL J0723.5+2900
   Spectrum: PowerLaw
302    Prefactor:  2.620e+02  6.183e+02  1.000e-04  1.000e+04 ( 1.000e-12)
303        Index:  5.181e+00  1.602e+00  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  5.857e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
596    Prefactor:  2.109e-01  1.138e-01  0.000e+00  1.000e+01 ( 1.000e+00)
597        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
598        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
595   Normalization:  1.000e-02  5.908e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.93
Ra Dec: 110.885 29.008
Photon Index (Free Index): 5.18 +/- 1.60
Photon Flux (Free Index): 5.99e-05 +/- 2.43e-05
Energy Flux (Free Index): 7.85e-03 +/- 3.04e-03

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/307318/cmap_HighResolution_552960001_553219201_4FGL_J0723.5+2900_daily_bin1210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.13e-05', energy_flux2='7.85e-03', photon_flux_error='1.12e-05', dlogl='3.49e+00', energy_flux='5.26e-03', photon_flux2='5.99e-05', job_status='DONE', time_completed='2021-08-27 05:13:34.789424', photon_index_error2='1.60', photon_index2='5.18', ts='7.76', fit_tolerance='1e-08', GAL='0.22', photon_index_error='0.00', energy_flux_error2='3.04e-03', EG='0.01', time_epoch_completed='1630066414.79', return_code='0', job_id='307318', GAL2='0.21', EG2='0.01', return_code2='0', energy_flux_error='2.76e-03', photon_flux_error2='2.43e-05', ts2='14.93', photon_index='2.67' WHERE bin_id='1210' AND source_name='4FGL J0723.5+2900' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 05:13:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 307318: <4FGL_J0723.5+2900_daily_bin1210> in cluster <slac> Done

Job <4FGL_J0723.5+2900_daily_bin1210> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Aug 27 05:00:35 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 05:00:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 05:00:37 2021
Terminated at Fri Aug 27 05:13:36 2021
Results reported at Fri Aug 27 05:13:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0723.5+2900_daily_bin1210 110.885 29.0075 552960001 553219201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0723.5+2900 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   593.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             191.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            781 sec.

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

