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


Performing analysis on: 4FGL_J0721.9+7120_daily_bin625
RA = 110.488, Dec = 71.3405
tmin = 401328001, tmax = 401587201
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='292573', job_status='RUN', time_executed='2021-08-27 04:11:05.480833', time_epoch_executed='1630062665.48' WHERE source_name='4FGL J0721.9+7120' and cadence='daily' and bin_id='625'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/292573

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/292573/ft1_4FGL_J0721.9+7120_daily_bin625.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/292573/ft2_4FGL_J0721.9+7120_daily_bin625.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/292573/ft1_4FGL_J0721.9+7120_daily_bin625.fits outfile=/scratch/kocevski/292573/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin625.fits ra=110.488 dec=71.3405 rad=12.0 tmin=401328001.0 tmax=401587201.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 4.84
user 3.18
sys 1.63

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/292573/ft1_filtered_4FGL_J0721.9+7120_daily_bin625.fits" evtable="EVENTS" scfile=/scratch/kocevski/292573/ft2_4FGL_J0721.9+7120_daily_bin625.fits sctable="SC_DATA" outfile=/scratch/kocevski/292573/ltcube_401328001_401587201_4FGL_J0721.9+7120_daily_bin625.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/292573/ft2_4FGL_J0721.9+7120_daily_bin625.fits
.....................!
real 13.70
user 11.67
sys 1.94

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/292573/ft1_filtered_4FGL_J0721.9+7120_daily_bin625.fits evtable="EVENTS" scfile=/scratch/kocevski/292573/ft2_4FGL_J0721.9+7120_daily_bin625.fits sctable="SC_DATA" expcube=/scratch/kocevski/292573/ltcube_401328001_401587201_4FGL_J0721.9+7120_daily_bin625.fits outfile=/scratch/kocevski/292573/expmap_401328001_401587201_4FGL_J0721.9+7120_daily_bin625.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/292573/ltcube_401328001_401587201_4FGL_J0721.9+7120_daily_bin625.fits
.....................!
real 193.48
user 186.80
sys 6.26

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/292573/ft1_filtered_4FGL_J0721.9+7120_daily_bin625.fits scfile=/scratch/kocevski/292573/ft2_4FGL_J0721.9+7120_daily_bin625.fits outfile=/scratch/kocevski/292573/cmap_401328001_401587201_4FGL_J0721.9+7120_daily_bin625.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.94
user 0.38
sys 1.53

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/292573/ft1_filtered_4FGL_J0721.9+7120_daily_bin625.fits scfile=/scratch/kocevski/292573/ft2_4FGL_J0721.9+7120_daily_bin625.fits outfile=/scratch/kocevski/292573/cmap_HighResolution_401328001_401587201_4FGL_J0721.9+7120_daily_bin625.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.91
user 0.39
sys 1.50

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.444       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.967       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4315       1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.494       1.0000         .10000E-03   10000.    
     6 'norm      '    .10293E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.3461       1.0000         .10000E-03   10000.    
     8 'Prefactor '    94.189       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13475E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10453E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    64.229       1.0000         .10000E-03   10000.    
    13 'norm      '    .10408E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10370E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .92507       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7062       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.458       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .63864E-01   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .87649       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0190       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=   9626.938     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2257 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.444        28.573        .16374E-02   -.24766E-03
   2  Prefactor     .10000E-03    5.2385        .90712E-02** at limit **
   3  Prefactor     32.960        27.686        .17447E-02   -.24819E-02
   4  Prefactor     2.3888        78.577        .65607E-02   -.19839E-03
   5  Prefactor     23.468        32.036        .20660E-02    .95936E-03
   6  norm          .10000E-03    20.422        .90712E-02** at limit **
   7  norm          1.3463        .53569        .94352E-02   -.18388E-05
   8  Prefactor     94.190        103.76        .10353E-02   -.35906E-03
   9  Prefactor     .10001E-03    70.572        .90712E-02** at limit **
  10  norm          .10000E-03    10.445        .90712E-02** at limit **
  11  Prefactor     .10000E-03    7.3968        .90712E-02** at limit **
  12  Prefactor     64.226        37.857        .12518E-02    .28366E-03
  13  norm          .10000E-03    1.4659        .37127E-01** at limit **
  14  Prefactor     .10000E-03    2.2619        .90712E-02** at limit **
  15  Prefactor     .92488        1.2073        .23726E-01    .10125E-02
  16  norm          1.7060        1.9805        .80480E-02    .10889E-02
  17  Prefactor     22.458        21.967        .21131E-02    .11182E-03
  18  Prefactor     .10000E-03    11.592        .90712E-02** at limit **
  19  Prefactor     .96045E-01    6.1554        .93375E-01    .35253E-03
  20  Normalizat    .87632        .16826        .71108E-01    .17217E-04
  21  Prefactor     1.0191        .92714E-01    .42238E-01   -.18153E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.4441
  Prefactor  = 0.0001
  Prefactor  = 32.9601
  Prefactor  = 2.38881
  Prefactor  = 23.4682
  norm       = 0.0001
  norm       = 1.34633
  Prefactor  = 94.1901
  Prefactor  = 0.000100011
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 64.2257
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.924885
  norm       = 1.70601
  Prefactor  = 22.4584
  Prefactor  = 0.0001
  Prefactor  = 0.0960454
  Normalizat = 0.876321
  Prefactor  = 1.01914
 **********
 **   18 **HESSE 
 **********

 FCN=   9626.938     FROM HESSE     STATUS=OK           319 CALLS     2576 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.444        28.564        .65497E-04   -1.4483    
   2  Prefactor     .10000E-03    5.2398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     32.960        26.959        .69789E-04   -1.4559    
   4  Prefactor     2.3888        74.146        .26243E-03   -1.5399    
   5  Prefactor     23.468        32.046        .82640E-04   -1.4739    
   6  norm          .10000E-03    20.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.3463        .53523        .43526E-04   -1.5476    
   8  Prefactor     94.190        103.80        .41411E-04   -1.3764    
   9  Prefactor     .10001E-03    72.339        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    10.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.4001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     64.226        38.039        .50073E-04   -1.4103    
  13  norm          .10000E-03    2.9545        .22562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.3091        .14401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .92488        1.0193        .11669E-02   -1.5516    
  16  norm          1.7060        1.9702        .13834E-03   -1.5447    
  17  Prefactor     22.458        21.964        .84523E-04   -1.4760    
  18  Prefactor     .10000E-03    11.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .96045E-01    6.7453        .85429E-01   -1.5646    
  20  Normalizat    .87632        .18835        .31464E-03   -.97297    
  21  Prefactor     1.0191        .10603        .17706E-03   -.92094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68998e-08
Minuit parameter uncertainties:
  1  28.5748
  2  2.86304e-06
  3  26.9686
  4  26.653
  5  32.0697
  6  1.04903e-05
  7  0.535236
  8  103.997
  9  0.00174716
  10  2.40216e-06
  11  4.31226e-07
  12  38.0539
  13  1.27914e-06
  14  1.44185e-06
  15  1.01929
  16  1.97032
  17  21.9723
  18  6.35288e-06
  19  1.60914
  20  0.188495
  21  0.10605
Done.

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

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  1.346e+00  5.352e-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.019e+00  1.060e-01  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  8.763e-01  1.885e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.59
Ra Dec: 110.488 71.341
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 6.42e-08 +/- 2.55e-08
Energy Flux (Fixed Index): 3.81e-05 +/- 1.52e-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) = 9626.59159157
delta logL = 0.346218913523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9626.59135717
delta logL = 0.346453314693

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2121       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6751       1.0000          .0000       5.0000    
     3 'Normalizat'    .89887       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0128       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9626.591     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      213 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 24.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2121        .48280       -.50918E-08   -.38000E-03
   2  alpha         1.6751        .18720        .43188E-06    .60590E-05
   3  Normalizat    .89887        .14719       -.33132E-07   -.16917E-04
   4  Prefactor     1.0128        .90021E-01    .76971E-08    .10885E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.21212
  alpha      = 1.67505
  Normalizat = 0.898866
  Prefactor  = 1.01281
 **********
 **   18 **HESSE 
 **********

 FCN=   9626.591     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2121        .58874        .44290E-04   -1.5488    
   2  alpha         1.6751        .36993        .11657E-01   -.33628    
   3  Normalizat    .89887        .17284        .31119E-03   -.96500    
   4  Prefactor     1.0128        .10374        .17760E-03   -.92304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.63288e-10
Minuit parameter uncertainties:
  1  0.588743
  2  0.371464
  3  0.172942
  4  0.103765
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/292573': 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) = 9626.59135717
delta logL = 0.346453314694

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  1.212e+00  5.887e-01  1.000e-04  1.000e+04 ( 1.000e-11)
257        alpha:  1.675e+00  3.715e-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.013e+00  1.038e-01  0.000e+00  1.000e+01 ( 1.000e+00)
689        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
690        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
687   Normalization:  8.989e-01  1.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.24
Ra Dec: 110.488 71.341
Photon Index (Free Index): 1.68 +/- 0.37
Photon Flux (Free Index): 4.49e-08 +/- 2.84e-08
Energy Flux (Free Index): 5.40e-05 +/- 3.52e-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/292573/cmap_HighResolution_401328001_401587201_4FGL_J0721.9+7120_daily_bin625.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.42e-08', energy_flux2='5.40e-05', photon_flux_error='2.55e-08', dlogl='3.46e-01', energy_flux='3.81e-05', photon_flux2='4.49e-08', job_status='DONE', time_completed='2021-08-27 04:25:24.718648', photon_index_error2='0.37', photon_index2='1.68', ts='23.59', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='3.52e-05', EG='0.88', time_epoch_completed='1630063524.72', return_code='0', job_id='292573', GAL2='1.01', EG2='0.90', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='2.84e-08', ts2='24.24', photon_index='1.99' WHERE bin_id='625' AND source_name='4FGL J0721.9+7120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:25:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 292573: <4FGL_J0721.9+7120_daily_bin625> in cluster <slac> Done

Job <4FGL_J0721.9+7120_daily_bin625> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 27 04:10:25 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 04:10:26 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:10:26 2021
Terminated at Fri Aug 27 04:25:25 2021
Results reported at Fri Aug 27 04:25:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0721.9+7120_daily_bin625 110.488 71.3405 401328001 401587201 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 :                                   879.05 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             313.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            900 sec.

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

