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


Performing analysis on: 4FGL_J0721.9+7120_daily_bin855
RA = 110.488, Dec = 71.3405
tmin = 460944001, tmax = 461203201
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='294191', job_status='RUN', time_executed='2021-08-27 04:16:11.928448', time_epoch_executed='1630062971.93' WHERE source_name='4FGL J0721.9+7120' and cadence='daily' and bin_id='855'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/294191

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/294191/ft1_4FGL_J0721.9+7120_daily_bin855.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/294191/ft2_4FGL_J0721.9+7120_daily_bin855.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/294191/ft1_4FGL_J0721.9+7120_daily_bin855.fits outfile=/scratch/kocevski/294191/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin855.fits ra=110.488 dec=71.3405 rad=12.0 tmin=460944001.0 tmax=461203201.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 3.83
user 3.19
sys 0.54

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/294191/ft1_filtered_4FGL_J0721.9+7120_daily_bin855.fits" evtable="EVENTS" scfile=/scratch/kocevski/294191/ft2_4FGL_J0721.9+7120_daily_bin855.fits sctable="SC_DATA" outfile=/scratch/kocevski/294191/ltcube_460944001_461203201_4FGL_J0721.9+7120_daily_bin855.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/294191/ft2_4FGL_J0721.9+7120_daily_bin855.fits
.....................!
real 12.80
user 12.01
sys 0.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/294191/ft1_filtered_4FGL_J0721.9+7120_daily_bin855.fits evtable="EVENTS" scfile=/scratch/kocevski/294191/ft2_4FGL_J0721.9+7120_daily_bin855.fits sctable="SC_DATA" expcube=/scratch/kocevski/294191/ltcube_460944001_461203201_4FGL_J0721.9+7120_daily_bin855.fits outfile=/scratch/kocevski/294191/expmap_460944001_461203201_4FGL_J0721.9+7120_daily_bin855.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/294191/ltcube_460944001_461203201_4FGL_J0721.9+7120_daily_bin855.fits
.....................!
real 190.48
user 185.21
sys 4.85

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/294191/ft1_filtered_4FGL_J0721.9+7120_daily_bin855.fits scfile=/scratch/kocevski/294191/ft2_4FGL_J0721.9+7120_daily_bin855.fits outfile=/scratch/kocevski/294191/cmap_460944001_461203201_4FGL_J0721.9+7120_daily_bin855.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 0.86
user 0.37
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/294191/ft1_filtered_4FGL_J0721.9+7120_daily_bin855.fits scfile=/scratch/kocevski/294191/ft2_4FGL_J0721.9+7120_daily_bin855.fits outfile=/scratch/kocevski/294191/cmap_HighResolution_460944001_461203201_4FGL_J0721.9+7120_daily_bin855.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 0.87
user 0.38
sys 0.47

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.010       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.361       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5674       1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.292       1.0000         .10000E-03   10000.    
     6 'norm      '    5.1001       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2643       1.0000         .10000E-03   10000.    
     8 'Prefactor '    87.616       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21731E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    3.4029       1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.843       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.4146       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6097       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1782       1.0000         .10000E-03   10000.    
    16 'norm      '    9.1318       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.780       1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.591       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2264       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95426       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=   10512.12     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2179 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.017       -.76257E-07** at limit **
   2  Prefactor     10.004        23.347       -.22379E-07   -.30227E-04
   3  Prefactor     23.348        27.841        .11911E-05    .33421E-03
   4  Prefactor     3.5502        40.175        .42013E-05    .18495E-03
   5  Prefactor     35.295        29.353        .14559E-06    .85955E-05
   6  norm          5.0992        11.671        .40010E-05   -.33147E-03
   7  norm          2.2638        .69180       -.12786E-07   -.11978E-03
   8  Prefactor     87.612        103.56       -.54587E-06   -.37140E-04
   9  Prefactor     .10000E-03    113.12       -.13452E-05** at limit **
  10  norm          3.4047        12.621        .52594E-06    .11519E-04
  11  Prefactor     34.840        27.652       -.54279E-06   -.90117E-04
  12  Prefactor     8.4067        26.152       -.74062E-06   -.60084E-04
  13  norm          .10000E-03    .57213       -.27438E-07** at limit **
  14  Prefactor     2.6095        2.4024       -.25543E-07    .82074E-04
  15  Prefactor     1.1789        1.6524        .32837E-06   -.19429E-03
  16  norm          9.1315        2.9007        .49133E-07   -.28833E-04
  17  Prefactor     16.783        38.936        .36072E-06    .47081E-05
  18  Prefactor     21.592        21.998       -.12146E-06   -.51704E-04
  19  Prefactor     .10000E-03    13.761        .21490E-08** at limit **
  20  Normalizat    1.2261        .17247       -.70382E-06    .12389E-04
  21  Prefactor     .95441        .94177E-01   -.10718E-07   -.33559E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.0039
  Prefactor  = 23.3481
  Prefactor  = 3.55021
  Prefactor  = 35.2949
  norm       = 5.09923
  norm       = 2.26379
  Prefactor  = 87.612
  Prefactor  = 0.000100003
  norm       = 3.40475
  Prefactor  = 34.8397
  Prefactor  = 8.40671
  norm       = 0.0001
  Prefactor  = 2.60951
  Prefactor  = 1.17887
  norm       = 9.1315
  Prefactor  = 16.7828
  Prefactor  = 21.5919
  Prefactor  = 0.0001
  Normalizat = 1.22615
  Prefactor  = 0.954412
 **********
 **   18 **HESSE 
 **********

 FCN=   10512.12     FROM HESSE     STATUS=OK           321 CALLS     2500 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.004        23.369        .12665E-03   -1.5075    
   3  Prefactor     23.348        27.492        .82875E-04   -1.4741    
   4  Prefactor     3.5502        40.787        .21398E-03   -1.5331    
   5  Prefactor     35.295        29.358        .67458E-04   -1.4519    
   6  norm          5.0992        12.111        .89017E-03   -1.5256    
   7  norm          2.2638        .69170        .45166E-04   -1.5407    
   8  Prefactor     87.612        103.81        .42923E-04   -1.3833    
   9  Prefactor     .10000E-03    116.87        .36525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.4047        12.593        .21931E-03   -1.5339    
  11  Prefactor     34.840        27.470        .67890E-04   -1.4527    
  12  Prefactor     8.4067        26.322        .13820E-03   -1.5128    
  13  norm          .10000E-03    .57523        .75712E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.6095        2.4092        .14834E-03   -1.5385    
  15  Prefactor     1.1789        1.6182        .13769E-03   -1.5491    
  16  norm          9.1315        2.9132        .87500E-04   -1.5104    
  17  Prefactor     16.783        38.936        .97774E-04   -1.4888    
  18  Prefactor     21.592        22.058        .86200E-04   -1.4778    
  19  Prefactor     .10000E-03    13.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2261        .19830        .30471E-03   -.85799    
  21  Prefactor     .95441        .10845        .19758E-03   -.94265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06779e-10
Minuit parameter uncertainties:
  1  6.03047e-05
  2  23.3904
  3  27.5069
  4  24.087
  5  29.3701
  6  12.1164
  7  0.691701
  8  104.026
  9  0.00111812
  10  12.6026
  11  27.4803
  12  26.3585
  13  2.97312e-07
  14  2.40932
  15  1.61826
  16  2.91321
  17  38.9953
  18  22.0663
  19  1.2446e-05
  20  0.198426
  21  0.108474
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  9.544e-01  1.085e-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.226e+00  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 35.71
Ra Dec: 110.488 71.341
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.08e-07 +/- 3.30e-08
Energy Flux (Fixed Index): 6.41e-05 +/- 1.96e-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) = 10512.0829425
delta logL = 0.0375280983844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10512.0808701
delta logL = 0.0396004934628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2455       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9035       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95105       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=   10512.08     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      203 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2455        1.0946        .68560E-02    .15044E-03
   2  alpha         1.9035        .40622        .26272       -.12219E-04
   3  Normalizat    1.2370        .16380        .68626E-01    .23883E-03
   4  Prefactor     .95105        .93761E-01    .45652E-01    .25496E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.24548
  alpha      = 1.90352
  Normalizat = 1.23702
  Prefactor  = 0.951046
 **********
 **   18 **HESSE 
 **********

 FCN=   10512.08     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.2455        .70451        .45964E-04   -1.5408    
   2  alpha         1.9035        .29124        .10390E-01   -.24092    
   3  Normalizat    1.2370        .18694        .30363E-03   -.85466    
   4  Prefactor     .95105        .10685        .19791E-03   -.94380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24977e-10
Minuit parameter uncertainties:
  1  0.704512
  2  0.291941
  3  0.187046
  4  0.106878
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/294191': 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) = 10512.0808701
delta logL = 0.0396004936774

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
688    Prefactor:  9.510e-01  1.069e-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.237e+00  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 35.73
Ra Dec: 110.488 71.341
Photon Index (Free Index): 1.90 +/- 0.29
Photon Flux (Free Index): 9.91e-08 +/- 4.32e-08
Energy Flux (Free Index): 6.96e-05 +/- 3.06e-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/294191/cmap_HighResolution_460944001_461203201_4FGL_J0721.9+7120_daily_bin855.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-07', energy_flux2='6.96e-05', photon_flux_error='3.30e-08', dlogl='3.96e-02', energy_flux='6.41e-05', photon_flux2='9.91e-08', job_status='DONE', time_completed='2021-08-27 04:30:53.494742', photon_index_error2='0.29', photon_index2='1.90', ts='35.71', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='3.06e-05', EG='1.23', time_epoch_completed='1630063853.49', return_code='0', job_id='294191', GAL2='0.95', EG2='1.24', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='4.32e-08', ts2='35.73', photon_index='1.99' WHERE bin_id='855' AND source_name='4FGL J0721.9+7120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:30:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 294191: <4FGL_J0721.9+7120_daily_bin855> in cluster <slac> Done

Job <4FGL_J0721.9+7120_daily_bin855> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 27 04:15:43 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 04:15:44 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:15:44 2021
Terminated at Fri Aug 27 04:30:54 2021
Results reported at Fri Aug 27 04:30:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0721.9+7120_daily_bin855 110.488 71.3405 460944001 461203201 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 :                                   884.55 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             349.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            911 sec.

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

