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


Performing analysis on: 4FGL_J0721.9+7120_daily_bin1313
RA = 110.488, Dec = 71.3405
tmin = 579657601, tmax = 579916801
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='297191', job_status='RUN', time_executed='2021-08-27 04:26:46.731310', time_epoch_executed='1630063606.73' WHERE source_name='4FGL J0721.9+7120' and cadence='daily' and bin_id='1313'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/297191

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/297191/ft1_4FGL_J0721.9+7120_daily_bin1313.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/297191/ft2_4FGL_J0721.9+7120_daily_bin1313.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/297191/ft1_4FGL_J0721.9+7120_daily_bin1313.fits outfile=/scratch/kocevski/297191/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin1313.fits ra=110.488 dec=71.3405 rad=12.0 tmin=579657601.0 tmax=579916801.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 6.71
user 3.23
sys 3.45

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/297191/ft2_4FGL_J0721.9+7120_daily_bin1313.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/297191/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin1313.fits evtable="EVENTS" outfile="/scratch/kocevski/297191/ft1_filtered_4FGL_J0721.9+7120_daily_bin1313.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 3.92
user 0.35
sys 3.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/297191/ft1_filtered_4FGL_J0721.9+7120_daily_bin1313.fits" evtable="EVENTS" scfile=/scratch/kocevski/297191/ft2_4FGL_J0721.9+7120_daily_bin1313.fits sctable="SC_DATA" outfile=/scratch/kocevski/297191/ltcube_579657601_579916801_4FGL_J0721.9+7120_daily_bin1313.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/297191/ft2_4FGL_J0721.9+7120_daily_bin1313.fits
.....................!
real 15.50
user 11.50
sys 3.92

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/297191/ft1_filtered_4FGL_J0721.9+7120_daily_bin1313.fits evtable="EVENTS" scfile=/scratch/kocevski/297191/ft2_4FGL_J0721.9+7120_daily_bin1313.fits sctable="SC_DATA" expcube=/scratch/kocevski/297191/ltcube_579657601_579916801_4FGL_J0721.9+7120_daily_bin1313.fits outfile=/scratch/kocevski/297191/expmap_579657601_579916801_4FGL_J0721.9+7120_daily_bin1313.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/297191/ltcube_579657601_579916801_4FGL_J0721.9+7120_daily_bin1313.fits
.....................!
real 194.52
user 185.41
sys 7.95

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/297191/ft1_filtered_4FGL_J0721.9+7120_daily_bin1313.fits scfile=/scratch/kocevski/297191/ft2_4FGL_J0721.9+7120_daily_bin1313.fits outfile=/scratch/kocevski/297191/cmap_579657601_579916801_4FGL_J0721.9+7120_daily_bin1313.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 3.73
user 0.37
sys 3.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/297191/ft1_filtered_4FGL_J0721.9+7120_daily_bin1313.fits scfile=/scratch/kocevski/297191/ft2_4FGL_J0721.9+7120_daily_bin1313.fits outfile=/scratch/kocevski/297191/cmap_HighResolution_579657601_579916801_4FGL_J0721.9+7120_daily_bin1313.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 3.70
user 0.40
sys 3.28

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/297191/ft1_filtered_4FGL_J0721.9+7120_daily_bin1313.fits', '/scratch/kocevski/297191/ft2_4FGL_J0721.9+7120_daily_bin1313.fits', expMap='/scratch/kocevski/297191/expmap_579657601_579916801_4FGL_J0721.9+7120_daily_bin1313.fits', expCube='/scratch/kocevski/297191/ltcube_579657601_579916801_4FGL_J0721.9+7120_daily_bin1313.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/297191/Model_4FGL_J0721.9+7120_daily_bin1313.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/297191/ft1_filtered_4FGL_J0721.9+7120_daily_bin1313.fits
Spacecraft file(s): /scratch/kocevski/297191/ft2_4FGL_J0721.9+7120_daily_bin1313.fits
Exposure map: /scratch/kocevski/297191/expmap_579657601_579916801_4FGL_J0721.9+7120_daily_bin1313.fits
Exposure cube: /scratch/kocevski/297191/ltcube_579657601_579916801_4FGL_J0721.9+7120_daily_bin1313.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/297191/Model_4FGL_J0721.9+7120_daily_bin1313.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) = 9836.43879587

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.300       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    53.016       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.276       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.5543       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14150E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.3041       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.016       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.0515       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.2564       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7439       1.0000         .10000E-03   10000.    
    16 'norm      '    .96145       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1470       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2566       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .80587       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1219       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=   9836.423     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2248 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.295        34.918        .28090E-05    .73438E-05
   2  Prefactor     .10000E-03    12.290        .14538E-06** at limit **
   3  Prefactor     53.013        29.673       -.38176E-05   -.56929E-04
   4  Prefactor     13.274        28.683       -.87242E-05   -.39714E-04
   5  Prefactor     .10000E-03    166.64        .65316E-05** at limit **
   6  norm          .10000E-03    5.2141       -.29394E-08** at limit **
   7  norm          3.5543        .80495       -.11559E-08    .17535E-03
   8  Prefactor     .10000E-03    576.93       -.26622E-04** at limit **
   9  Prefactor     9.3078        23.870        .10098E-04    .42644E-04
  10  norm          .10000E-03    7.0339        .49786E-07** at limit **
  11  Prefactor     14.016        14.244        .22125E-05    .36867E-04
  12  Prefactor     6.0498        26.958        .12687E-05   -.16801E-05
  13  norm          .10000E-03    .70588        .16942E-07** at limit **
  14  Prefactor     8.2561        4.4154       -.16066E-06   -.21136E-04
  15  Prefactor     2.7439        1.5042       -.97116E-07   -.25807E-04
  16  norm          .95954        1.6998       -.65031E-06   -.53392E-03
  17  Prefactor     .10000E-03    8.8504       -.25381E-07** at limit **
  18  Prefactor     1.1593        4.7517        .19327E-05   -.93142E-03
  19  Prefactor     4.2561        8.7664        .96123E-05    .97021E-04
  20  Normalizat    .80583        .16924       -.76279E-06    .46785E-04
  21  Prefactor     1.1220        .97482E-01    .35553E-06   -.53059E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.2953
  Prefactor  = 0.0001
  Prefactor  = 53.0129
  Prefactor  = 13.2737
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.55434
  Prefactor  = 0.0001
  Prefactor  = 9.30781
  norm       = 0.0001
  Prefactor  = 14.0158
  Prefactor  = 6.04977
  norm       = 0.0001
  Prefactor  = 8.2561
  Prefactor  = 2.7439
  norm       = 0.95954
  Prefactor  = 0.0001
  Prefactor  = 1.15934
  Prefactor  = 4.25609
  Normalizat = 0.805832
  Prefactor  = 1.12196
 **********
 **   18 **HESSE 
 **********

 FCN=   9836.423     FROM HESSE     STATUS=OK           323 CALLS     2571 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.295        34.942        .10592E-03   -1.4952    
   2  Prefactor     .10000E-03    12.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     53.013        29.559        .55085E-04   -1.4250    
   4  Prefactor     13.274        28.592        .10993E-03   -1.4979    
   5  Prefactor     .10000E-03    171.15        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.2190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.5543        .80436        .39916E-04   -1.5331    
   8  Prefactor     .10000E-03    580.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.3078        23.942        .13139E-03   -1.5098    
  10  norm          .10000E-03    7.0406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.016        14.246        .10699E-03   -1.4959    
  12  Prefactor     6.0498        26.994        .16322E-03   -1.5216    
  13  norm          .10000E-03    .71372        .81318E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.2561        4.4127        .13952E-03   -1.5133    
  15  Prefactor     2.7439        1.5021        .85599E-04   -1.5377    
  16  norm          .95954        1.7283        .15810E-03   -1.5512    
  17  Prefactor     .10000E-03    8.8525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.1593        38.395        .21640E-02   -1.5493    
  19  Prefactor     4.2561        8.7631        .19529E-03   -1.5295    
  20  Normalizat    .80583        .18753        .33826E-03   -.99853    
  21  Prefactor     1.1220        .10906        .17927E-03   -.88768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25466e-08
Minuit parameter uncertainties:
  1  34.9917
  2  7.87257e-07
  3  29.5671
  4  28.6217
  5  7.35579e-05
  6  1.25127e-06
  7  0.804367
  8  0.000920372
  9  23.9664
  10  1.22344e-06
  11  14.2494
  12  25.5776
  13  3.5952e-07
  14  4.41283
  15  1.50209
  16  1.7284
  17  3.60333e-06
  18  13.3523
  19  8.76573
  20  0.187682
  21  0.109086
Done.

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

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  3.554e+00  8.044e-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:  1.122e+00  1.091e-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:  8.058e-01  1.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 56.68
Ra Dec: 110.488 71.341
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.69e-07 +/- 3.83e-08
Energy Flux (Fixed Index): 1.01e-04 +/- 2.28e-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) = 9835.92742625
delta logL = 0.495660434653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9835.91763113
delta logL = 0.505455553279

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2956       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1900       1.0000          .0000       5.0000    
     3 'Normalizat'    .78154       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1298       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=   9835.918     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      215 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2958        10.234        .55756E-02    .53323E-04
   2  alpha         2.1899        3.4945        .15939        .57145E-04
   3  Normalizat    .78162        .19116        .77408E-01    .39702E-04
   4  Prefactor     1.1297        .10076        .36551E-01   -.43627E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.29575
  alpha      = 2.18988
  Normalizat = 0.781624
  Prefactor  = 1.12973
 **********
 **   18 **HESSE 
 **********

 FCN=   9835.918     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .59E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2958        .80655        .37302E-04   -1.5345    
   2  alpha         2.1899        .20984        .68241E-02   -.12437    
   3  Normalizat    .78162        .17397        .34266E-03   -1.0075    
   4  Prefactor     1.1297        .10643        .17866E-03   -.88522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94668e-13
Minuit parameter uncertainties:
  1  0.806554
  2  0.210092
  3  0.174092
  4  0.106454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/297191': 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) = 9835.91763086
delta logL = 0.505455823477

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  3.296e+00  8.066e-01  1.000e-04  1.000e+04 ( 1.000e-11)
257        alpha:  2.190e+00  2.101e-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:  1.130e+00  1.065e-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:  7.816e-01  1.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 57.89
Ra Dec: 110.488 71.341
Photon Index (Free Index): 2.19 +/- 0.21
Photon Flux (Free Index): 1.95e-07 +/- 4.81e-08
Energy Flux (Free Index): 8.19e-05 +/- 2.35e-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/297191/cmap_HighResolution_579657601_579916801_4FGL_J0721.9+7120_daily_bin1313.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.69e-07', energy_flux2='8.19e-05', photon_flux_error='3.83e-08', dlogl='5.05e-01', energy_flux='1.01e-04', photon_flux2='1.95e-07', job_status='DONE', time_completed='2021-08-27 04:41:55.668231', photon_index_error2='0.21', photon_index2='2.19', ts='56.68', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='2.35e-05', EG='0.81', time_epoch_completed='1630064515.67', return_code='0', job_id='297191', GAL2='1.13', EG2='0.78', return_code2='0', energy_flux_error='2.28e-05', photon_flux_error2='4.81e-08', ts2='57.89', photon_index='1.99' WHERE bin_id='1313' AND source_name='4FGL J0721.9+7120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:41:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 297191: <4FGL_J0721.9+7120_daily_bin1313> in cluster <slac> Done

Job <4FGL_J0721.9+7120_daily_bin1313> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 27 04:25:40 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 04:25:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 04:25:42 2021
Terminated at Fri Aug 27 04:41:56 2021
Results reported at Fri Aug 27 04:41:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0721.9+7120_daily_bin1313 110.488 71.3405 579657601 579916801 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 :                                   952.13 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             340.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            976 sec.

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

