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


Performing analysis on: 4FGL_J0721.9+7120_daily_bin292
RA = 110.488, Dec = 71.3405
tmin = 315014401, tmax = 315273601
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='289758', job_status='RUN', time_executed='2021-08-27 04:01:58.434395', time_epoch_executed='1630062118.43' WHERE source_name='4FGL J0721.9+7120' and cadence='daily' and bin_id='292'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/289758

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/289758/ft1_4FGL_J0721.9+7120_daily_bin292.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/289758/ft2_4FGL_J0721.9+7120_daily_bin292.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/289758/ft1_4FGL_J0721.9+7120_daily_bin292.fits outfile=/scratch/kocevski/289758/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin292.fits ra=110.488 dec=71.3405 rad=12.0 tmin=315014401.0 tmax=315273601.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 8.84
user 3.34
sys 4.61

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/289758/ft2_4FGL_J0721.9+7120_daily_bin292.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/289758/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin292.fits evtable="EVENTS" outfile="/scratch/kocevski/289758/ft1_filtered_4FGL_J0721.9+7120_daily_bin292.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 5.02
user 0.34
sys 4.57

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/289758/ft1_filtered_4FGL_J0721.9+7120_daily_bin292.fits" evtable="EVENTS" scfile=/scratch/kocevski/289758/ft2_4FGL_J0721.9+7120_daily_bin292.fits sctable="SC_DATA" outfile=/scratch/kocevski/289758/ltcube_315014401_315273601_4FGL_J0721.9+7120_daily_bin292.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/289758/ft2_4FGL_J0721.9+7120_daily_bin292.fits
.....................!
real 16.80
user 11.45
sys 5.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/289758/ft1_filtered_4FGL_J0721.9+7120_daily_bin292.fits evtable="EVENTS" scfile=/scratch/kocevski/289758/ft2_4FGL_J0721.9+7120_daily_bin292.fits sctable="SC_DATA" expcube=/scratch/kocevski/289758/ltcube_315014401_315273601_4FGL_J0721.9+7120_daily_bin292.fits outfile=/scratch/kocevski/289758/expmap_315014401_315273601_4FGL_J0721.9+7120_daily_bin292.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/289758/ltcube_315014401_315273601_4FGL_J0721.9+7120_daily_bin292.fits
.....................!
real 196.33
user 184.53
sys 11.19

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/289758/ft1_filtered_4FGL_J0721.9+7120_daily_bin292.fits scfile=/scratch/kocevski/289758/ft2_4FGL_J0721.9+7120_daily_bin292.fits outfile=/scratch/kocevski/289758/cmap_315014401_315273601_4FGL_J0721.9+7120_daily_bin292.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 4.90
user 0.36
sys 4.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/289758/ft1_filtered_4FGL_J0721.9+7120_daily_bin292.fits scfile=/scratch/kocevski/289758/ft2_4FGL_J0721.9+7120_daily_bin292.fits outfile=/scratch/kocevski/289758/cmap_HighResolution_315014401_315273601_4FGL_J0721.9+7120_daily_bin292.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 4.90
user 0.39
sys 4.47

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.292       1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.204       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.7422       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.776       1.0000         .10000E-03   10000.    
     6 'norm      '    12.795       1.0000         .10000E-03   10000.    
     7 'norm      '    2.5574       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11152E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.931       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.099       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.8867       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6729       1.0000         .10000E-03   10000.    
    16 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.853       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2363       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .82972       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=   8183.246     FROM MIGRAD    STATUS=CONVERGED    428 CALLS     2151 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.292        22.103        .21701E-02    .17130E-03
   2  Prefactor     24.204        42.803        .20355E-02    .28417E-03
   3  Prefactor     .10000E-03    15.464        .90712E-02** at limit **
   4  Prefactor     6.7392        24.316        .38632E-02   -.18875E-03
   5  Prefactor     14.776        49.254        .26049E-02    .57330E-04
   6  norm          12.795        15.357        .27996E-02    .43132E-03
   7  norm          2.5574        .73879        .63824E-02   -.57791E-03
   8  Prefactor     .10000E-03    138.25        .90712E-02** at limit **
   9  Prefactor     14.923        32.703        .25914E-02    .12007E-02
  10  norm          .10000E-03    5.5756        .90712E-02** at limit **
  11  Prefactor     27.093        24.787        .19239E-02   -.28313E-03
  12  Prefactor     .10000E-03    15.482        .90712E-02** at limit **
  13  norm          2.8864        3.2339        .59800E-02    .97583E-03
  14  Prefactor     .10000E-03    1.9646        .90712E-02** at limit **
  15  Prefactor     1.6726        1.6392        .81468E-02    .12635E-02
  16  norm          .10000E-03    .90791        .90712E-02** at limit **
  17  Prefactor     .10000E-03    9.0872        .90712E-02** at limit **
  18  Prefactor     25.850        20.401        .19697E-02   -.54083E-03
  19  Prefactor     .10000E-03    7.2273        .90712E-02** at limit **
  20  Normalizat    1.2364        .17783        .62417E-01    .41229E-03
  21  Prefactor     .82963        .98304E-01    .44103E-01    .35278E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.2919
  Prefactor  = 24.2041
  Prefactor  = 0.000100004
  Prefactor  = 6.73923
  Prefactor  = 14.7765
  norm       = 12.7952
  norm       = 2.55738
  Prefactor  = 0.000100002
  Prefactor  = 14.9227
  norm       = 0.0001
  Prefactor  = 27.0933
  Prefactor  = 0.0001
  norm       = 2.88638
  Prefactor  = 0.0001
  Prefactor  = 1.67259
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.8498
  Prefactor  = 0.0001
  Normalizat = 1.23639
  Prefactor  = 0.829627
 **********
 **   18 **HESSE 
 **********

 FCN=   8183.246     FROM HESSE     STATUS=OK           303 CALLS     2454 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.292        22.112        .86804E-04   -1.4785    
   2  Prefactor     24.204        42.806        .81420E-04   -1.4724    
   3  Prefactor     .10000E-03    15.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.7392        24.269        .15453E-03   -1.5189    
   5  Prefactor     14.776        49.250        .10420E-03   -1.4939    
   6  norm          12.795        15.358        .11198E-03   -1.4992    
   7  norm          2.5574        .73851        .38931E-04   -1.5388    
   8  Prefactor     .10000E-03    138.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.923        33.033        .10366E-03   -1.4935    
  10  norm          .10000E-03    5.5771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     27.093        24.701        .76956E-04   -1.4666    
  12  Prefactor     .10000E-03    15.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.8864        3.2250        .16115E-03   -1.5368    
  14  Prefactor     .10000E-03    1.9910        .12379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6726        1.6157        .10416E-03   -1.5449    
  16  norm          .10000E-03    .92683        .16763E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.0889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.850        20.453        .78786E-04   -1.4691    
  19  Prefactor     .10000E-03    7.2483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2364        .20596        .27608E-03   -.85486    
  21  Prefactor     .82963        .11327        .19456E-03   -.98645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33158e-08
Minuit parameter uncertainties:
  1  22.1209
  2  42.8608
  3  0.000479651
  4  24.3045
  5  49.3858
  6  15.3629
  7  0.738518
  8  0.00102697
  9  33.0731
  10  4.62691e-05
  11  24.7107
  12  3.37277e-05
  13  3.22523
  14  4.29763e-05
  15  1.6157
  16  1.43222e-05
  17  7.81893e-05
  18  20.4586
  19  8.00344e-05
  20  0.206097
  21  0.113301
Done.

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

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  2.557e+00  7.385e-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:  8.296e-01  1.133e-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.236e+00  2.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 48.42
Ra Dec: 110.488 71.341
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.22e-07 +/- 3.52e-08
Energy Flux (Fixed Index): 7.24e-05 +/- 2.09e-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) = 8183.22890346
delta logL = 0.0171558272204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8183.22771318
delta logL = 0.018346103182

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5336       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0341       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2312       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83121       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=   8183.228     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      203 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5337        1.6793        .64149E-02    .10652E-06
   2  alpha         2.0340        .55553        .19562        .26208E-04
   3  Normalizat    1.2313        .16724        .62516E-01    .11571E-04
   4  Prefactor     .83118        .97528E-01    .44122E-01    .89880E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.53369
  alpha      = 2.03402
  Normalizat = 1.23129
  Prefactor  = 0.831181
 **********
 **   18 **HESSE 
 **********

 FCN=   8183.228     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5337        .72075        .38422E-04   -1.5390    
   2  alpha         2.0340        .25166        .82152E-02   -.18749    
   3  Normalizat    1.2313        .18831        .27652E-03   -.85641    
   4  Prefactor     .83118        .11029        .19438E-03   -.98589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15735e-10
Minuit parameter uncertainties:
  1  0.720752
  2  0.2521
  3  0.188417
  4  0.110316
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/289758': 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) = 8183.22771299
delta logL = 0.0183462889054

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  2.534e+00  7.208e-01  1.000e-04  1.000e+04 ( 1.000e-11)
257        alpha:  2.034e+00  2.521e-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:  8.312e-01  1.103e-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.231e+00  1.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 48.44
Ra Dec: 110.488 71.341
Photon Index (Free Index): 2.03 +/- 0.25
Photon Flux (Free Index): 1.27e-07 +/- 4.25e-08
Energy Flux (Free Index): 6.88e-05 +/- 2.65e-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/289758/cmap_HighResolution_315014401_315273601_4FGL_J0721.9+7120_daily_bin292.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.22e-07', energy_flux2='6.88e-05', photon_flux_error='3.52e-08', dlogl='1.83e-02', energy_flux='7.24e-05', photon_flux2='1.27e-07', job_status='DONE', time_completed='2021-08-27 04:15:39.750067', photon_index_error2='0.25', photon_index2='2.03', ts='48.42', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='2.65e-05', EG='1.24', time_epoch_completed='1630062939.75', return_code='0', job_id='289758', GAL2='0.83', EG2='1.23', return_code2='0', energy_flux_error='2.09e-05', photon_flux_error2='4.25e-08', ts2='48.44', photon_index='1.99' WHERE bin_id='292' AND source_name='4FGL J0721.9+7120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:15:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 289758: <4FGL_J0721.9+7120_daily_bin292> in cluster <slac> Done

Job <4FGL_J0721.9+7120_daily_bin292> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Aug 27 04:00:31 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 04:00:32 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:00:32 2021
Terminated at Fri Aug 27 04:15:41 2021
Results reported at Fri Aug 27 04:15:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0721.9+7120_daily_bin292 110.488 71.3405 315014401 315273601 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 :                                   882.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            910 sec.

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

