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


Performing analysis on: 4FGL_J0721.9+7120_daily_bin56
RA = 110.488, Dec = 71.3405
tmin = 253843201, tmax = 254102401
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='287049', job_status='RUN', time_executed='2021-08-27 03:53:44.097342', time_epoch_executed='1630061624.1' WHERE source_name='4FGL J0721.9+7120' and cadence='daily' and bin_id='56'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/287049

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/287049/ft1_4FGL_J0721.9+7120_daily_bin56.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/287049/ft2_4FGL_J0721.9+7120_daily_bin56.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/287049/ft1_4FGL_J0721.9+7120_daily_bin56.fits outfile=/scratch/kocevski/287049/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin56.fits ra=110.488 dec=71.3405 rad=12.0 tmin=253843201.0 tmax=254102401.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.37
user 1.27
sys 1.07

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/287049/ft1_filtered_4FGL_J0721.9+7120_daily_bin56.fits" evtable="EVENTS" scfile=/scratch/kocevski/287049/ft2_4FGL_J0721.9+7120_daily_bin56.fits sctable="SC_DATA" outfile=/scratch/kocevski/287049/ltcube_253843201_254102401_4FGL_J0721.9+7120_daily_bin56.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/287049/ft2_4FGL_J0721.9+7120_daily_bin56.fits
.....................!
real 13.80
user 12.43
sys 1.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/287049/ft1_filtered_4FGL_J0721.9+7120_daily_bin56.fits evtable="EVENTS" scfile=/scratch/kocevski/287049/ft2_4FGL_J0721.9+7120_daily_bin56.fits sctable="SC_DATA" expcube=/scratch/kocevski/287049/ltcube_253843201_254102401_4FGL_J0721.9+7120_daily_bin56.fits outfile=/scratch/kocevski/287049/expmap_253843201_254102401_4FGL_J0721.9+7120_daily_bin56.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/287049/ltcube_253843201_254102401_4FGL_J0721.9+7120_daily_bin56.fits
.....................!
real 193.01
user 186.47
sys 6.07

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/287049/ft1_filtered_4FGL_J0721.9+7120_daily_bin56.fits scfile=/scratch/kocevski/287049/ft2_4FGL_J0721.9+7120_daily_bin56.fits outfile=/scratch/kocevski/287049/cmap_253843201_254102401_4FGL_J0721.9+7120_daily_bin56.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.35
user 0.38
sys 0.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/287049/ft1_filtered_4FGL_J0721.9+7120_daily_bin56.fits scfile=/scratch/kocevski/287049/ft2_4FGL_J0721.9+7120_daily_bin56.fits outfile=/scratch/kocevski/287049/cmap_HighResolution_253843201_254102401_4FGL_J0721.9+7120_daily_bin56.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.34
user 0.35
sys 0.97

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.248       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.925       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4004       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.710       1.0000         .10000E-03   10000.    
     6 'norm      '    25.734       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0730       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    85.578       1.0000         .10000E-03   10000.    
    13 'norm      '    3.0519       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.4832       1.0000         .10000E-03   10000.    
    16 'norm      '    5.4253       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.065       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1012       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86930       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=   8469.475     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     2165 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.248        25.158        .26658E-06   -.15187E-04
   2  Prefactor     16.924        22.831       -.14100E-05   -.11058E-04
   3  Prefactor     2.3980        50.436       -.40854E-05   -.12617E-03
   4  Prefactor     .10000E-03    23.161        .17478E-04** at limit **
   5  Prefactor     20.710        31.986        .72053E-06   -.44693E-05
   6  norm          25.734        20.571       -.68717E-06   -.28681E-04
   7  norm          1.0730        .52327        .11521E-07   -.38359E-03
   8  Prefactor     .10000E-03    35.703       -.74763E-05** at limit **
   9  Prefactor     .10000E-03    21.493       -.30158E-05** at limit **
  10  norm          .10000E-03    6.7752       -.14206E-06** at limit **
  11  Prefactor     .10000E-03    20.713       -.15468E-04** at limit **
  12  Prefactor     85.593        49.269        .13443E-04   -.40237E-04
  13  norm          3.0522        3.1460        .62427E-07   -.65722E-03
  14  Prefactor     .10000E-03    1.5185       -.14052E-06** at limit **
  15  Prefactor     2.4833        1.7853        .53290E-07   -.70507E-04
  16  norm          5.4249        2.8598       -.11970E-07   -.79633E-03
  17  Prefactor     11.064        29.042       -.40504E-06   -.94412E-05
  18  Prefactor     .10000E-03    22.174        .57300E-05** at limit **
  19  Prefactor     .10000E-03    10.868        .41602E-06** at limit **
  20  Normalizat    1.1011        .17971       -.36937E-05    .10272E-03
  21  Prefactor     .86940        .94372E-01    .12477E-05   -.36511E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2484
  Prefactor  = 16.9237
  Prefactor  = 2.398
  Prefactor  = 0.0001
  Prefactor  = 20.7101
  norm       = 25.7339
  norm       = 1.07301
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 85.593
  norm       = 3.05223
  Prefactor  = 0.0001
  Prefactor  = 2.48331
  norm       = 5.42494
  Prefactor  = 11.0644
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.10107
  Prefactor  = 0.869396
 **********
 **   18 **HESSE 
 **********

 FCN=   8469.475     FROM HESSE     STATUS=OK           317 CALLS     2482 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.248        25.173        .96437E-04   -1.4877    
   2  Prefactor     16.924        22.839        .97354E-04   -1.4885    
   3  Prefactor     2.3980        50.685        .26429E-03   -1.5398    
   4  Prefactor     .10000E-03    23.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.710        31.988        .88014E-04   -1.4797    
   6  norm          25.734        20.576        .78968E-04   -1.4693    
   7  norm          1.0730        .51919        .44809E-04   -1.5501    
   8  Prefactor     .10000E-03    35.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    21.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.7771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     85.593        49.272        .43426E-04   -1.3855    
  13  norm          3.0522        3.1393        .15541E-03   -1.5359    
  14  Prefactor     .10000E-03    1.5227        .11076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.4833        1.7740        .98378E-04   -1.5393    
  16  norm          5.4249        2.8879        .10494E-03   -1.5242    
  17  Prefactor     11.064        29.039        .12044E-03   -1.5043    
  18  Prefactor     .10000E-03    22.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1011        .20499        .29489E-03   -.89717    
  21  Prefactor     .86940        .10778        .18730E-03   -.97219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21505e-09
Minuit parameter uncertainties:
  1  25.1886
  2  22.8509
  3  22.0702
  4  2.42917e-05
  5  32.0142
  6  20.5816
  7  0.519188
  8  1.09745e-05
  9  6.10582e-05
  10  3.20294e-05
  11  6.14443e-05
  12  49.296
  13  3.13942
  14  1.38309e-05
  15  1.77408
  16  2.88802
  17  29.0756
  18  1.86965e-06
  19  9.07641e-06
  20  0.205135
  21  0.107802
Done.

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

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  1.073e+00  5.192e-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.694e-01  1.078e-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.101e+00  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.82
Ra Dec: 110.488 71.341
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 5.12e-08 +/- 2.47e-08
Energy Flux (Fixed Index): 3.04e-05 +/- 1.47e-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) = 8469.37726428
delta logL = 0.0981482017414

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8469.37440222
delta logL = 0.101010264669

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0485       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8047       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1103       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86703       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=   8469.374     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0485        .98255        .10345E-01    .10731E-03
   2  alpha         1.8047        .63026        .32757       -.19862E-04
   3  Normalizat    1.1103        .16181        .66422E-01    .16918E-04
   4  Prefactor     .86702        .92465E-01    .44583E-01    .56642E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.04848
  alpha      = 1.80468
  Normalizat = 1.11033
  Prefactor  = 0.867015
 **********
 **   18 **HESSE 
 **********

 FCN=   8469.374     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0485        .53791        .45963E-04   -1.5503    
   2  alpha         1.8047        .39823        .12676E-01   -.28184    
   3  Normalizat    1.1103        .18248        .29385E-03   -.89421    
   4  Prefactor     .86702        .10416        .18755E-03   -.97303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75214e-10
Minuit parameter uncertainties:
  1  0.537913
  2  0.400078
  3  0.182584
  4  0.104185
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/287049': 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) = 8469.3744022
delta logL = 0.101010283261

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  1.048e+00  5.379e-01  1.000e-04  1.000e+04 ( 1.000e-11)
257        alpha:  1.805e+00  4.001e-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.670e-01  1.042e-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.110e+00  1.826e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.00
Ra Dec: 110.488 71.341
Photon Index (Free Index): 1.80 +/- 0.40
Photon Flux (Free Index): 4.26e-08 +/- 2.81e-08
Energy Flux (Free Index): 3.72e-05 +/- 2.64e-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/287049/cmap_HighResolution_253843201_254102401_4FGL_J0721.9+7120_daily_bin56.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.12e-08', energy_flux2='3.72e-05', photon_flux_error='2.47e-08', dlogl='1.01e-01', energy_flux='3.04e-05', photon_flux2='4.26e-08', job_status='DONE', time_completed='2021-08-27 04:06:28.103443', photon_index_error2='0.40', photon_index2='1.80', ts='12.82', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='2.64e-05', EG='1.10', time_epoch_completed='1630062388.1', return_code='0', job_id='287049', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='2.81e-08', ts2='13.00', photon_index='1.99' WHERE bin_id='56' AND source_name='4FGL J0721.9+7120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:06:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 287049: <4FGL_J0721.9+7120_daily_bin56> in cluster <slac> Done

Job <4FGL_J0721.9+7120_daily_bin56> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 27 03:50:48 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 03:51:04 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:51:04 2021
Terminated at Fri Aug 27 04:06:28 2021
Results reported at Fri Aug 27 04:06:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0721.9+7120_daily_bin56 110.488 71.3405 253843201 254102401 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 :                                   774.36 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             303.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            940 sec.

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

