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


Performing analysis on: 4FGL_J0721.9+7120_daily_bin68
RA = 110.488, Dec = 71.3405
tmin = 256953601, tmax = 257212801
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='288125', job_status='RUN', time_executed='2021-08-27 03:59:01.596122', time_epoch_executed='1630061941.6' WHERE source_name='4FGL J0721.9+7120' and cadence='daily' and bin_id='68'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288125

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288125/ft1_4FGL_J0721.9+7120_daily_bin68.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288125/ft2_4FGL_J0721.9+7120_daily_bin68.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288125/ft1_4FGL_J0721.9+7120_daily_bin68.fits outfile=/scratch/kocevski/288125/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin68.fits ra=110.488 dec=71.3405 rad=12.0 tmin=256953601.0 tmax=257212801.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.59
user 1.27
sys 1.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/288125/ft1_filtered_4FGL_J0721.9+7120_daily_bin68.fits" evtable="EVENTS" scfile=/scratch/kocevski/288125/ft2_4FGL_J0721.9+7120_daily_bin68.fits sctable="SC_DATA" outfile=/scratch/kocevski/288125/ltcube_256953601_257212801_4FGL_J0721.9+7120_daily_bin68.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/288125/ft2_4FGL_J0721.9+7120_daily_bin68.fits
.....................!
real 13.93
user 12.31
sys 1.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288125/ft1_filtered_4FGL_J0721.9+7120_daily_bin68.fits evtable="EVENTS" scfile=/scratch/kocevski/288125/ft2_4FGL_J0721.9+7120_daily_bin68.fits sctable="SC_DATA" expcube=/scratch/kocevski/288125/ltcube_256953601_257212801_4FGL_J0721.9+7120_daily_bin68.fits outfile=/scratch/kocevski/288125/expmap_256953601_257212801_4FGL_J0721.9+7120_daily_bin68.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/288125/ltcube_256953601_257212801_4FGL_J0721.9+7120_daily_bin68.fits
.....................!
real 192.06
user 185.05
sys 6.64

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/288125/ft1_filtered_4FGL_J0721.9+7120_daily_bin68.fits scfile=/scratch/kocevski/288125/ft2_4FGL_J0721.9+7120_daily_bin68.fits outfile=/scratch/kocevski/288125/cmap_256953601_257212801_4FGL_J0721.9+7120_daily_bin68.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.68
user 0.36
sys 1.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288125/ft1_filtered_4FGL_J0721.9+7120_daily_bin68.fits scfile=/scratch/kocevski/288125/ft2_4FGL_J0721.9+7120_daily_bin68.fits outfile=/scratch/kocevski/288125/cmap_HighResolution_256953601_257212801_4FGL_J0721.9+7120_daily_bin68.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.59
user 0.36
sys 1.20

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10282       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .30741E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.790       1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.180       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11673E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.2848       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0705       1.0000         .10000E-03   10000.    
     8 'Prefactor '    190.68       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.380       1.0000         .10000E-03   10000.    
    10 'norm      '    .10234E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.791       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .75839E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .70310       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.473       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.5259       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13964E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.2594       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6572       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .89883       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0542       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=   9461.211     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1656 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    59.752        .45156E-05** at limit **
   2  Prefactor     .11011E-03    35.947        .27399E-05** at limit **
   3  Prefactor     20.010        24.933       -.34274E-07   -.37454E-02
   4  Prefactor     33.292        33.497        .11004E-05   -.27223E-02
   5  Prefactor     .10000E-03    15.416       -.70599E-06** at limit **
   6  norm          1.4042        45.851       -.22556E-04   -.20018E-03
   7  norm          1.0644        .56584        .13497E-06    .54094E-03
   8  Prefactor     176.03        131.08       -.28255E-05   -.46953E-04
   9  Prefactor     17.999        32.866       -.33601E-06   -.10489E-03
  10  norm          .10000E-03    7.4547       -.16671E-05** at limit **
  11  Prefactor     10.866        3.7330        .45273E-06   -.78682E-02
  12  Prefactor     .10000E-03    37.340        .60356E-05** at limit **
  13  norm          .70405        1.6756        .12884E-05    .21626E-03
  14  Prefactor     11.434        5.1039        .22233E-06    .20205E-04
  15  Prefactor     .10000E-03    .43512       -.24573E-06** at limit **
  16  norm          2.5191        1.8273        .93049E-07    .13226E-03
  17  Prefactor     .10000E-03    33.235       -.33904E-06** at limit **
  18  Prefactor     9.2530        11.740        .47943E-06    .35051E-02
  19  Prefactor     1.1242        39.650        .41305E-05   -.18328E-02
  20  Normalizat    .89947        .19632        .40046E-05    .85481E-04
  21  Prefactor     1.0548        .11081       -.15205E-05    .18689E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100025
  Prefactor  = 0.00011011
  Prefactor  = 20.01
  Prefactor  = 33.2921
  Prefactor  = 0.0001
  norm       = 1.40425
  norm       = 1.06439
  Prefactor  = 176.028
  Prefactor  = 17.999
  norm       = 0.0001
  Prefactor  = 10.8659
  Prefactor  = 0.000100001
  norm       = 0.704052
  Prefactor  = 11.4337
  Prefactor  = 0.0001
  norm       = 2.51907
  Prefactor  = 0.0001
  Prefactor  = 9.25304
  Prefactor  = 1.12416
  Normalizat = 0.899466
  Prefactor  = 1.05484
 **********
 **   18 **HESSE 
 **********

 FCN=   9461.211     FROM HESSE     STATUS=OK           363 CALLS     2019 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    58.769        .95247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11011E-03    70.242        .91757E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.010        25.826        .22508E-02   -1.4813    
   4  Prefactor     33.292        33.778        .17136E-02   -1.4553    
   5  Prefactor     .10000E-03    15.411        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4042        45.418        .97801E-02   -1.5471    
   7  norm          1.0644        .57498        .11343E-01   -1.5502    
   8  Prefactor     176.03        131.58        .73119E-03   -1.3047    
   9  Prefactor     17.999        32.729        .24740E-02   -1.4859    
  10  norm          .10000E-03    7.4553        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.866        15.144        .30491E-02   -1.5049    
  12  Prefactor     .10000E-03    36.736        .10467E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .70405        1.7278        .12074E-01   -1.5540    
  14  Prefactor     11.434        5.1014        .29568E-02   -1.5032    
  15  Prefactor     .10000E-03    .43012        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.5191        1.8397        .64256E-02   -1.5391    
  17  Prefactor     .10000E-03    32.484        .10263E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.2530        12.071        .32927E-02   -1.5099    
  19  Prefactor     1.1242        62.874        .81950E-02   -1.5496    
  20  Normalizat    .89947        .17384        .72858E-01   -.96479    
  21  Prefactor     1.0548        .96764E-01    .39670E-01   -.90923    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.85153e-07
Minuit parameter uncertainties:
  1  0.00244271
  2  0.0533603
  3  25.8407
  4  33.7977
  5  0.000121663
  6  15.985
  7  0.574984
  8  131.798
  9  32.7618
  10  3.86005e-05
  11  15.1491
  12  0.000332898
  13  1.72788
  14  5.10155
  15  1.533e-06
  16  1.83978
  17  0.000240438
  18  12.0743
  19  16.8322
  20  0.173949
  21  0.0967801
Done.

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

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  1.064e+00  5.750e-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.055e+00  9.678e-02  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.995e-01  1.739e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.40
Ra Dec: 110.488 71.341
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 5.07e-08 +/- 2.74e-08
Energy Flux (Fixed Index): 3.01e-05 +/- 1.63e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9460.69896621
delta logL = 0.512008952524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9460.69741412
delta logL = 0.513561041826

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .99247       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4596       1.0000          .0000       5.0000    
     3 'Normalizat'    .86614       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0654       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=   9460.697     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      240 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99281        6.0881        .96552E-02    .55288E-03
   2  alpha         2.4602        3.7227        .34362        .55646E-04
   3  Normalizat    .86594        .66147E-01    .74034E-01    .34696E-04
   4  Prefactor     1.0654        .33962E-01    .39082E-01   -.12463E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.992809
  alpha      = 2.46018
  Normalizat = 0.865936
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********

 FCN=   9460.697     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99281        .53821        .43071E-04   -1.5509    
   2  alpha         2.4602        .48674        .12581E-01   -.15930E-01
   3  Normalizat    .86594        .18405        .32764E-03   -.97668    
   4  Prefactor     1.0654        .10876        .17879E-03   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20265e-12
Minuit parameter uncertainties:
  1  0.538211
  2  0.489865
  3  0.184182
  4  0.108786
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288125': 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) = 9460.69741046
delta logL = 0.513564710092

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  9.928e-01  5.382e-01  1.000e-04  1.000e+04 ( 1.000e-11)
257        alpha:  2.460e+00  4.899e-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.065e+00  1.088e-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.659e-01  1.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.50
Ra Dec: 110.488 71.341
Photon Index (Free Index): 2.46 +/- 0.49
Photon Flux (Free Index): 8.12e-08 +/- 4.64e-08
Energy Flux (Free Index): 2.45e-05 +/- 1.19e-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/288125/cmap_HighResolution_256953601_257212801_4FGL_J0721.9+7120_daily_bin68.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.07e-08', energy_flux2='2.45e-05', photon_flux_error='2.74e-08', dlogl='5.14e-01', energy_flux='3.01e-05', photon_flux2='8.12e-08', job_status='DONE', time_completed='2021-08-27 04:11:38.864098', photon_index_error2='0.49', photon_index2='2.46', ts='9.40', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.19e-05', EG='0.90', time_epoch_completed='1630062698.86', return_code='0', job_id='288125', GAL2='1.07', EG2='0.87', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='4.64e-08', ts2='10.50', photon_index='1.99' WHERE bin_id='68' AND source_name='4FGL J0721.9+7120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:11:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 288125: <4FGL_J0721.9+7120_daily_bin68> in cluster <slac> Done

Job <4FGL_J0721.9+7120_daily_bin68> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 27 03:55:18 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 03:55:19 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:55:19 2021
Terminated at Fri Aug 27 04:11:39 2021
Results reported at Fri Aug 27 04:11:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0721.9+7120_daily_bin68 110.488 71.3405 256953601 257212801 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.20 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             303.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            981 sec.

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

