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


Performing analysis on: 4FGL_J0721.9+7120_daily_bin1430
RA = 110.488, Dec = 71.3405
tmin = 609984001, tmax = 610243201
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='298211', job_status='RUN', time_executed='2021-08-27 04:31:43.160904', time_epoch_executed='1630063903.16' WHERE source_name='4FGL J0721.9+7120' and cadence='daily' and bin_id='1430'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/298211

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/298211/ft1_4FGL_J0721.9+7120_daily_bin1430.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/298211/ft2_4FGL_J0721.9+7120_daily_bin1430.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/298211/ft1_4FGL_J0721.9+7120_daily_bin1430.fits outfile=/scratch/kocevski/298211/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin1430.fits ra=110.488 dec=71.3405 rad=12.0 tmin=609984001.0 tmax=610243201.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.06
user 4.87
sys 1.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/298211/ft2_4FGL_J0721.9+7120_daily_bin1430.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/298211/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin1430.fits evtable="EVENTS" outfile="/scratch/kocevski/298211/ft1_filtered_4FGL_J0721.9+7120_daily_bin1430.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.43
user 0.32
sys 1.06

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/298211/ft1_filtered_4FGL_J0721.9+7120_daily_bin1430.fits" evtable="EVENTS" scfile=/scratch/kocevski/298211/ft2_4FGL_J0721.9+7120_daily_bin1430.fits sctable="SC_DATA" outfile=/scratch/kocevski/298211/ltcube_609984001_610243201_4FGL_J0721.9+7120_daily_bin1430.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/298211/ft2_4FGL_J0721.9+7120_daily_bin1430.fits
.....................!
real 12.65
user 11.34
sys 1.20

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/298211/ft1_filtered_4FGL_J0721.9+7120_daily_bin1430.fits evtable="EVENTS" scfile=/scratch/kocevski/298211/ft2_4FGL_J0721.9+7120_daily_bin1430.fits sctable="SC_DATA" expcube=/scratch/kocevski/298211/ltcube_609984001_610243201_4FGL_J0721.9+7120_daily_bin1430.fits outfile=/scratch/kocevski/298211/expmap_609984001_610243201_4FGL_J0721.9+7120_daily_bin1430.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/298211/ltcube_609984001_610243201_4FGL_J0721.9+7120_daily_bin1430.fits
.....................!
real 191.67
user 185.25
sys 5.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/298211/ft1_filtered_4FGL_J0721.9+7120_daily_bin1430.fits scfile=/scratch/kocevski/298211/ft2_4FGL_J0721.9+7120_daily_bin1430.fits outfile=/scratch/kocevski/298211/cmap_609984001_610243201_4FGL_J0721.9+7120_daily_bin1430.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.43
user 0.36
sys 1.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/298211/ft1_filtered_4FGL_J0721.9+7120_daily_bin1430.fits scfile=/scratch/kocevski/298211/ft2_4FGL_J0721.9+7120_daily_bin1430.fits outfile=/scratch/kocevski/298211/cmap_HighResolution_609984001_610243201_4FGL_J0721.9+7120_daily_bin1430.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.42
user 0.38
sys 1.04

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.066       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.1003       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.475       1.0000         .10000E-03   10000.    
     6 'norm      '    11.142       1.0000         .10000E-03   10000.    
     7 'norm      '    5.3152       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    47.492       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.178       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15742E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10592E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.8526       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .92978E-02   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .96162       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0241       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=   10551.96     FROM MIGRAD    STATUS=CONVERGED    454 CALLS     2244 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.639        .78285E-05** at limit **
   2  Prefactor     23.067        24.013        .47027E-06   -.10587E-04
   3  Prefactor     9.1016        9.2853       -.21509E-05    .89471E-05
   4  Prefactor     .10000E-03    12.202        .25363E-06** at limit **
   5  Prefactor     13.463        28.226       -.73493E-05   -.11446E-04
   6  norm          11.142        9.9083        .14476E-06    .11092E-04
   7  norm          5.3151        .92685        .10608E-07    .67984E-04
   8  Prefactor     .10000E-03    67.343        .34141E-04** at limit **
   9  Prefactor     47.496        30.100        .15334E-05    .17576E-04
  10  norm          .10000E-03    4.1382       -.19594E-06** at limit **
  11  Prefactor     10.188        22.113        .59884E-06   -.53196E-04
  12  Prefactor     .10000E-03    8.7108       -.11827E-06** at limit **
  13  norm          .10000E-03    1.9326        .76124E-07** at limit **
  14  Prefactor     .10000E-03    1.2766        .15645E-06** at limit **
  15  Prefactor     .10000E-03    .90039        .12973E-06** at limit **
  16  norm          1.8525        1.9308       -.53883E-06   -.77753E-03
  17  Prefactor     .10000E-03    40.552       -.10295E-04** at limit **
  18  Prefactor     .10000E-03    44.111       -.52913E-05** at limit **
  19  Prefactor     .10167E-03    6.0253       -.16965E-05** at limit **
  20  Normalizat    .96171        .15812        .45652E-07    .83582E-04
  21  Prefactor     1.0241        .90387E-01    .15605E-06    .93480E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 23.0667
  Prefactor  = 9.10157
  Prefactor  = 0.0001
  Prefactor  = 13.4633
  norm       = 11.1416
  norm       = 5.3151
  Prefactor  = 0.0001
  Prefactor  = 47.4962
  norm       = 0.0001
  Prefactor  = 10.188
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.85255
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000101673
  Normalizat = 0.961708
  Prefactor  = 1.02413
 **********
 **   18 **HESSE 
 **********

 FCN=   10551.96     FROM HESSE     STATUS=OK           321 CALLS     2565 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.067        24.019        .83402E-04   -1.4747    
   3  Prefactor     9.1016        9.2824        .13286E-03   -1.5104    
   4  Prefactor     .10000E-03    12.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.463        28.256        .10912E-03   -1.4974    
   6  norm          11.142        9.9096        .12002E-03   -1.5040    
   7  norm          5.3151        .92822        .38351E-04   -1.5247    
   8  Prefactor     .10000E-03    67.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     47.496        30.293        .58184E-04   -1.4329    
  10  norm          .10000E-03    4.1390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.188        21.446        .12559E-03   -1.5069    
  12  Prefactor     .10000E-03    8.7250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.0143        .27819E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.0781        .22599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.8923        .18127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.8525        1.9319        .13727E-03   -1.5436    
  17  Prefactor     .10000E-03    40.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    44.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10167E-03    85.436        .48443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .96171        .17840        .31389E-03   -.94325    
  21  Prefactor     1.0241        .10313        .18394E-03   -.91930    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80392e-08
Minuit parameter uncertainties:
  1  4.23431e-05
  2  24.0293
  3  9.28389
  4  1.28337e-05
  5  28.2842
  6  9.9111
  7  0.928227
  8  1.95938e-05
  9  30.3026
  10  3.53875e-07
  11  21.4617
  12  2.85783e-06
  13  4.2461e-06
  14  5.17464e-05
  15  3.79817e-05
  16  1.93196
  17  3.94114e-05
  18  0.000319666
  19  0.0239456
  20  0.178509
  21  0.103151
Done.

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

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  5.315e+00  9.282e-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.024e+00  1.032e-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:  9.617e-01  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 145.65
Ra Dec: 110.488 71.341
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 2.53e-07 +/- 4.42e-08
Energy Flux (Fixed Index): 1.51e-04 +/- 2.63e-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) = 10551.9409666
delta logL = 0.0223404740864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10551.9385493
delta logL = 0.0247577971859

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3486       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9520       1.0000          .0000       5.0000    
     3 'Normalizat'    .96820       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0221       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=   10551.94     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      203 TOTAL
                     EDM=   .89E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3487        1.1062        .43443E-02    .11458E-03
   2  alpha         1.9520        .17958        .13706        .44133E-04
   3  Normalizat    .96819        .14998        .70765E-01    .22668E-04
   4  Prefactor     1.0221        .89402E-01    .41942E-01    .38727E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.34866
  alpha      = 1.95204
  Normalizat = 0.968185
  Prefactor  = 1.02207
 **********
 **   18 **HESSE 
 **********

 FCN=   10551.94     FROM HESSE     STATUS=OK            29 CALLS      232 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3487        .91893        .38766E-04   -1.5245    
   2  alpha         1.9520        .15308        .59009E-02   -.22098    
   3  Normalizat    .96819        .16997        .31308E-03   -.94104    
   4  Prefactor     1.0221        .10125        .18412E-03   -.91998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69202e-12
Minuit parameter uncertainties:
  1  0.918937
  2  0.153177
  3  0.170064
  4  0.101269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/298211': 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) = 10551.9385493
delta logL = 0.0247578062499

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  5.349e+00  9.189e-01  1.000e-04  1.000e+04 ( 1.000e-11)
257        alpha:  1.952e+00  1.532e-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.022e+00  1.013e-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:  9.682e-01  1.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 146.23
Ra Dec: 110.488 71.341
Photon Index (Free Index): 1.95 +/- 0.15
Photon Flux (Free Index): 2.47e-07 +/- 5.10e-08
Energy Flux (Free Index): 1.57e-04 +/- 3.98e-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/298211/cmap_HighResolution_609984001_610243201_4FGL_J0721.9+7120_daily_bin1430.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.53e-07', energy_flux2='1.57e-04', photon_flux_error='4.42e-08', dlogl='2.48e-02', energy_flux='1.51e-04', photon_flux2='2.47e-07', job_status='DONE', time_completed='2021-08-27 04:46:49.414123', photon_index_error2='0.15', photon_index2='1.95', ts='145.65', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='3.98e-05', EG='0.96', time_epoch_completed='1630064809.41', return_code='0', job_id='298211', GAL2='1.02', EG2='0.97', return_code2='0', energy_flux_error='2.63e-05', photon_flux_error2='5.10e-08', ts2='146.23', photon_index='1.99' WHERE bin_id='1430' AND source_name='4FGL J0721.9+7120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:46:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 298211: <4FGL_J0721.9+7120_daily_bin1430> in cluster <slac> Done

Job <4FGL_J0721.9+7120_daily_bin1430> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 27 04:30:26 2021
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 04:30:28 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:30:28 2021
Terminated at Fri Aug 27 04:46:50 2021
Results reported at Fri Aug 27 04:46:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0721.9+7120_daily_bin1430 110.488 71.3405 609984001 610243201 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 :                                   911.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            984 sec.

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

