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


Performing analysis on: 4FGL_J0721.9+7120_daily_bin92
RA = 110.488, Dec = 71.3405
tmin = 263174401, tmax = 263433601
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='288167', job_status='RUN', time_executed='2021-08-27 03:55:41.044418', time_epoch_executed='1630061741.04' WHERE source_name='4FGL J0721.9+7120' and cadence='daily' and bin_id='92'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288167

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288167/ft1_4FGL_J0721.9+7120_daily_bin92.fits


Retrieving the FT1 file...

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

Retrieving 42 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288167/ft2_4FGL_J0721.9+7120_daily_bin92.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288167/ft1_4FGL_J0721.9+7120_daily_bin92.fits outfile=/scratch/kocevski/288167/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin92.fits ra=110.488 dec=71.3405 rad=12.0 tmin=263174401.0 tmax=263433601.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 2.03
user 1.19
sys 0.82

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/288167/ft2_4FGL_J0721.9+7120_daily_bin92.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/288167/ft2_4FGL_J0721.9+7120_daily_bin92.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/288167/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin92.fits evtable="EVENTS" outfile="/scratch/kocevski/288167/ft1_filtered_4FGL_J0721.9+7120_daily_bin92.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.16
user 0.33
sys 0.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/288167/ft1_filtered_4FGL_J0721.9+7120_daily_bin92.fits" evtable="EVENTS" scfile=/scratch/kocevski/288167/ft2_4FGL_J0721.9+7120_daily_bin92.fits sctable="SC_DATA" outfile=/scratch/kocevski/288167/ltcube_263174401_263433601_4FGL_J0721.9+7120_daily_bin92.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/288167/ft2_4FGL_J0721.9+7120_daily_bin92.fits
.....................!
real 12.34
user 11.32
sys 0.97

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288167/ft1_filtered_4FGL_J0721.9+7120_daily_bin92.fits evtable="EVENTS" scfile=/scratch/kocevski/288167/ft2_4FGL_J0721.9+7120_daily_bin92.fits sctable="SC_DATA" expcube=/scratch/kocevski/288167/ltcube_263174401_263433601_4FGL_J0721.9+7120_daily_bin92.fits outfile=/scratch/kocevski/288167/expmap_263174401_263433601_4FGL_J0721.9+7120_daily_bin92.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/288167/ltcube_263174401_263433601_4FGL_J0721.9+7120_daily_bin92.fits
.....................!
real 190.73
user 185.17
sys 5.20

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 215 point sources and 0 extended sources

Setting source of interest to:
4FGL J0721.9+7120 @ 110.488 71.3405

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/288167/ft1_filtered_4FGL_J0721.9+7120_daily_bin92.fits scfile=/scratch/kocevski/288167/ft2_4FGL_J0721.9+7120_daily_bin92.fits outfile=/scratch/kocevski/288167/cmap_263174401_263433601_4FGL_J0721.9+7120_daily_bin92.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.488 yref=71.3405 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.16
user 0.36
sys 0.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288167/ft1_filtered_4FGL_J0721.9+7120_daily_bin92.fits scfile=/scratch/kocevski/288167/ft2_4FGL_J0721.9+7120_daily_bin92.fits outfile=/scratch/kocevski/288167/cmap_HighResolution_263174401_263433601_4FGL_J0721.9+7120_daily_bin92.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.488 yref=71.3405 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.17
user 0.38
sys 0.78

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/288167/ft1_filtered_4FGL_J0721.9+7120_daily_bin92.fits evtable="EVENTS" scfile=/scratch/kocevski/288167/ft2_4FGL_J0721.9+7120_daily_bin92.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/288167/Model_4FGL_J0721.9+7120_daily_bin92.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/288167/ft1_filtered_4FGL_J0721.9+7120_daily_bin92.fits.....................!
real 95.43
user 93.13
sys 2.03

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/288167/ft1_filtered_4FGL_J0721.9+7120_daily_bin92.fits', '/scratch/kocevski/288167/ft2_4FGL_J0721.9+7120_daily_bin92.fits', expMap='/scratch/kocevski/288167/expmap_263174401_263433601_4FGL_J0721.9+7120_daily_bin92.fits', expCube='/scratch/kocevski/288167/ltcube_263174401_263433601_4FGL_J0721.9+7120_daily_bin92.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/288167/Model_4FGL_J0721.9+7120_daily_bin92.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0721.9+7120'

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  4.731e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
257        alpha:  1.986e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
258         beta:  5.814e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
259           Eb:  7.346e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/288167/ft1_filtered_4FGL_J0721.9+7120_daily_bin92.fits
Spacecraft file(s): /scratch/kocevski/288167/ft2_4FGL_J0721.9+7120_daily_bin92.fits
Exposure map: /scratch/kocevski/288167/expmap_263174401_263433601_4FGL_J0721.9+7120_daily_bin92.fits
Exposure cube: /scratch/kocevski/288167/ltcube_263174401_263433601_4FGL_J0721.9+7120_daily_bin92.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/288167/Model_4FGL_J0721.9+7120_daily_bin92.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) = 8190.7176268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.847       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.585       1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.943       1.0000         .10000E-03   10000.    
     5 'Prefactor '    57.030       1.0000         .10000E-03   10000.    
     6 'norm      '    2.8096       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2376       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19764E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.2593       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.908       1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.7012       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .85802       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0823       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0755       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2550       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91973       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8190.713     FROM MIGRAD    STATUS=CONVERGED    454 CALLS     2247 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.846        27.175        .36475E-06   -.47518E-05
   2  Prefactor     .10000E-03    32.094       -.86324E-07** at limit **
   3  Prefactor     20.588        31.398        .68190E-07    .10212E-04
   4  Prefactor     29.932        35.366       -.38539E-07    .22096E-04
   5  Prefactor     57.030        48.549        .16327E-06   -.22850E-04
   6  norm          2.7908        32.456       -.11901E-05    .45496E-04
   7  norm          2.2375        .73133       -.28390E-07   -.14864E-03
   8  Prefactor     .10000E-03    250.70        .20300E-06** at limit **
   9  Prefactor     .10000E-03    15.593       -.21786E-06** at limit **
  10  norm          5.2566        23.522       -.40345E-05   -.66941E-04
  11  Prefactor     .10000E-03    16.061       -.67388E-07** at limit **
  12  Prefactor     11.844        46.744        .66041E-05    .15952E-03
  13  norm          .10000E-03    1.1113        .10562E-06** at limit **
  14  Prefactor     3.7009        3.7868       -.31318E-06   -.24612E-03
  15  Prefactor     .85888        1.5082       -.16038E-06   -.71603E-03
  16  norm          1.0823        2.5143       -.64606E-07    .26214E-03
  17  Prefactor     .10000E-03    19.446        .20269E-06** at limit **
  18  Prefactor     .10000E-03    26.803       -.82988E-06** at limit **
  19  Prefactor     1.0768        39.201        .25245E-04   -.15455E-03
  20  Normalizat    1.2552        .18970        .31124E-05    .66079E-03
  21  Prefactor     .91961        .10281       -.23376E-05   -.18050E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.8464
  Prefactor  = 0.000100001
  Prefactor  = 20.5884
  Prefactor  = 29.9319
  Prefactor  = 57.0304
  norm       = 2.79077
  norm       = 2.23754
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.25658
  Prefactor  = 0.0001
  Prefactor  = 11.8442
  norm       = 0.0001
  Prefactor  = 3.70093
  Prefactor  = 0.858877
  norm       = 1.08225
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.07683
  Normalizat = 1.2552
  Prefactor  = 0.919605
 **********
 **   18 **HESSE 
 **********

 FCN=   8190.713     FROM HESSE     STATUS=OK           317 CALLS     2564 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.846        27.188        .82026E-04   -1.4731    
   2  Prefactor     .10000E-03    32.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.588        31.288        .88280E-04   -1.4800    
   4  Prefactor     29.932        35.290        .73219E-04   -1.4613    
   5  Prefactor     57.030        48.556        .53121E-04   -1.4196    
   6  norm          2.7908        32.170        .24268E-03   -1.5374    
   7  norm          2.2375        .73089        .42486E-04   -1.5409    
   8  Prefactor     .10000E-03    251.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.2566        23.472        .17527E-03   -1.5249    
  11  Prefactor     .10000E-03    16.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.844        47.187        .11609E-03   -1.5020    
  13  norm          .10000E-03    1.1230        .93095E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.7009        3.7877        .17119E-03   -1.5323    
  15  Prefactor     .85888        1.3048        .14057E-02   -1.5523    
  16  norm          1.0823        2.5060        .20009E-03   -1.5500    
  17  Prefactor     .10000E-03    19.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.0768        40.594        .23323E-02   -1.5500    
  20  Normalizat    1.2552        .21881        .29441E-03   -.84914    
  21  Prefactor     .91961        .11835        .19532E-03   -.95459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13144e-09
Minuit parameter uncertainties:
  1  27.2017
  2  0.000323943
  3  31.313
  4  35.3147
  5  48.59
  6  18.9629
  7  0.730893
  8  0.000222737
  9  0.000114278
  10  22.2297
  11  8.42071e-05
  12  47.3358
  13  6.44348e-06
  14  3.78791
  15  1.30484
  16  2.50629
  17  2.00541e-05
  18  8.50263e-05
  19  13.2322
  20  0.218972
  21  0.118383
Done.

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

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  2.238e+00  7.309e-01  1.000e-04  1.000e+04 ( 1.000e-11)
257        alpha:  1.986e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
258         beta:  5.814e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
259           Eb:  7.346e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  9.196e-01  1.184e-01  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  1.255e+00  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.60
Ra Dec: 110.488 71.341
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.07e-07 +/- 3.48e-08
Energy Flux (Fixed Index): 6.34e-05 +/- 2.07e-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) = 8190.63369402
delta logL = 0.0794966925832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8190.62996592
delta logL = 0.0832247871876

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8190.630     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      232 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2062        10.897        .69242E-02    .86910E-04
   2  alpha         2.1160        3.5370        .24556        .27640E-04
   3  Normalizat    1.2398        .19878        .66872E-01    .12789E-04
   4  Prefactor     .92441        .80450E-01    .45318E-01    .47563E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.20622
  alpha      = 2.11604
  Normalizat = 1.23976
  Prefactor  = 0.924408
 **********
 **   18 **HESSE 
 **********

 FCN=   8190.630     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2062        .72081        .41069E-04   -1.5411    
   2  alpha         2.1160        .32222        .98261E-02   -.15419    
   3  Normalizat    1.2398        .20226        .29584E-03   -.85383    
   4  Prefactor     .92441        .11540        .19485E-03   -.95293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32026e-13
Minuit parameter uncertainties:
  1  0.720814
  2  0.323143
  3  0.202384
  4  0.115429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288167': 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) = 8190.62996258
delta logL = 0.0832281284411

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  2.206e+00  7.208e-01  1.000e-04  1.000e+04 ( 1.000e-11)
257        alpha:  2.116e+00  3.231e-01  0.000e+00  5.000e+00 ( 1.000e+00)
258         beta:  5.814e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
259           Eb:  7.346e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  9.244e-01  1.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  1.240e+00  2.024e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.79
Ra Dec: 110.488 71.341
Photon Index (Free Index): 2.12 +/- 0.32
Photon Flux (Free Index): 1.20e-07 +/- 4.98e-08
Energy Flux (Free Index): 5.67e-05 +/- 2.32e-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/288167/cmap_HighResolution_263174401_263433601_4FGL_J0721.9+7120_daily_bin92.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.07e-07', energy_flux2='5.67e-05', photon_flux_error='3.48e-08', dlogl='8.32e-02', energy_flux='6.34e-05', photon_flux2='1.20e-07', job_status='DONE', time_completed='2021-08-27 04:08:20.260890', photon_index_error2='0.32', photon_index2='2.12', ts='25.60', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.32e-05', EG='1.26', time_epoch_completed='1630062500.26', return_code='0', job_id='288167', GAL2='0.92', EG2='1.24', return_code2='0', energy_flux_error='2.07e-05', photon_flux_error2='4.98e-08', ts2='25.79', photon_index='1.99' WHERE bin_id='92' AND source_name='4FGL J0721.9+7120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:08:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 288167: <4FGL_J0721.9+7120_daily_bin92> in cluster <slac> Done

Job <4FGL_J0721.9+7120_daily_bin92> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 27 03:55:21 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 03:55:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 03:55:23 2021
Terminated at Fri Aug 27 04:08:21 2021
Results reported at Fri Aug 27 04:08:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0721.9+7120_daily_bin92 110.488 71.3405 263174401 263433601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0721.9+7120 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   766.42 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             348.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            780 sec.

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

