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


Performing analysis on: 4FGL_J0721.9+7120_daily_bin1375
RA = 110.488, Dec = 71.3405
tmin = 595728001, tmax = 595987201
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='297292', job_status='RUN', time_executed='2021-08-27 04:26:20.252938', time_epoch_executed='1630063580.25' WHERE source_name='4FGL J0721.9+7120' and cadence='daily' and bin_id='1375'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/297292

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/297292/ft1_4FGL_J0721.9+7120_daily_bin1375.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/297292/ft2_4FGL_J0721.9+7120_daily_bin1375.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/297292/ft1_4FGL_J0721.9+7120_daily_bin1375.fits outfile=/scratch/kocevski/297292/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin1375.fits ra=110.488 dec=71.3405 rad=12.0 tmin=595728001.0 tmax=595987201.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.40
user 2.38
sys 0.96

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/297292/ft1_filtered_4FGL_J0721.9+7120_daily_bin1375.fits" evtable="EVENTS" scfile=/scratch/kocevski/297292/ft2_4FGL_J0721.9+7120_daily_bin1375.fits sctable="SC_DATA" outfile=/scratch/kocevski/297292/ltcube_595728001_595987201_4FGL_J0721.9+7120_daily_bin1375.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/297292/ft2_4FGL_J0721.9+7120_daily_bin1375.fits
.....................!
real 13.28
user 12.02
sys 1.21

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/297292/ft1_filtered_4FGL_J0721.9+7120_daily_bin1375.fits evtable="EVENTS" scfile=/scratch/kocevski/297292/ft2_4FGL_J0721.9+7120_daily_bin1375.fits sctable="SC_DATA" expcube=/scratch/kocevski/297292/ltcube_595728001_595987201_4FGL_J0721.9+7120_daily_bin1375.fits outfile=/scratch/kocevski/297292/expmap_595728001_595987201_4FGL_J0721.9+7120_daily_bin1375.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/297292/ltcube_595728001_595987201_4FGL_J0721.9+7120_daily_bin1375.fits
.....................!
real 192.38
user 186.43
sys 5.58

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/297292/ft1_filtered_4FGL_J0721.9+7120_daily_bin1375.fits scfile=/scratch/kocevski/297292/ft2_4FGL_J0721.9+7120_daily_bin1375.fits outfile=/scratch/kocevski/297292/cmap_595728001_595987201_4FGL_J0721.9+7120_daily_bin1375.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=110.488 yref=71.3405 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 4.90
user 0.37
sys 0.93

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/297292/ft1_filtered_4FGL_J0721.9+7120_daily_bin1375.fits scfile=/scratch/kocevski/297292/ft2_4FGL_J0721.9+7120_daily_bin1375.fits outfile=/scratch/kocevski/297292/cmap_HighResolution_595728001_595987201_4FGL_J0721.9+7120_daily_bin1375.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.32
user 0.38
sys 0.92

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    39.416       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.1690       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.4717       1.0000         .10000E-03   10000.    
    10 'norm      '    24.122       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.7066       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.7600       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10447E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.3846       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.729       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2875       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0040       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=   11056.77     FROM MIGRAD    STATUS=CONVERGED    454 CALLS     2195 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    49.211        .90712E-02** at limit **
   2  Prefactor     39.416        35.322        .15961E-02   -.13845E-03
   3  Prefactor     .10000E-03    14.297        .90712E-02** at limit **
   4  Prefactor     .10000E-03    26.932        .90712E-02** at limit **
   5  Prefactor     .10000E-03    9.7146        .90712E-02** at limit **
   6  norm          .10000E-03    5.1168        .90712E-02** at limit **
   7  norm          6.1689        .99735        .40408E-02    .53753E-03
   8  Prefactor     .10000E-03    93.266        .90712E-02** at limit **
   9  Prefactor     6.4668        41.119        .39440E-02    .54600E-03
  10  norm          24.122        18.781        .20390E-02    .49177E-04
  11  Prefactor     .10005E-03    7.9758        .90712E-02** at limit **
  12  Prefactor     .10000E-03    9.6825        .90712E-02** at limit **
  13  norm          1.7066        1.8049        .80467E-02    .37426E-03
  14  Prefactor     7.7600        3.5051        .35987E-02   -.39684E-02
  15  Prefactor     .10000E-03    .50076        .39750E-01** at limit **
  16  norm          1.3848        1.6578        .92415E-02    .14163E-02
  17  Prefactor     12.730        29.032        .28068E-02   -.18859E-04
  18  Prefactor     .10003E-03    7.8333        .90712E-02** at limit **
  19  Prefactor     .10001E-03    10.790        .90712E-02** at limit **
  20  Normalizat    1.2875        .17011        .68854E-01    .31044E-03
  21  Prefactor     1.0039        .98438E-01    .44422E-01    .57895E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 39.4163
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 6.16893
  Prefactor  = 0.000100003
  Prefactor  = 6.46683
  norm       = 24.1225
  Prefactor  = 0.000100047
  Prefactor  = 0.000100001
  norm       = 1.70655
  Prefactor  = 7.76002
  Prefactor  = 0.0001
  norm       = 1.38482
  Prefactor  = 12.7299
  Prefactor  = 0.000100034
  Prefactor  = 0.000100008
  Normalizat = 1.2875
  Prefactor  = 1.00392
 **********
 **   18 **HESSE 
 **********

 FCN=   11056.77     FROM HESSE     STATUS=OK           311 CALLS     2506 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     39.416        35.342        .63844E-04   -1.4451    
   3  Prefactor     .10000E-03    14.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    27.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.7180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.1206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.1689        .99632        .39197E-04   -1.5211    
   8  Prefactor     .10000E-03    93.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.4668        41.583        .15776E-03   -1.5199    
  10  norm          24.122        18.784        .81559E-04   -1.4725    
  11  Prefactor     .10005E-03    7.9820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.6907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.7066        1.7845        .14020E-03   -1.5447    
  14  Prefactor     7.7600        3.5055        .64223E-03   -1.5151    
  15  Prefactor     .10000E-03    6.4050        .14334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3848        1.6422        .13974E-03   -1.5473    
  17  Prefactor     12.730        29.027        .11227E-03   -1.4994    
  18  Prefactor     .10003E-03    7.8518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    10.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2875        .19523        .30463E-03   -.83940    
  21  Prefactor     1.0039        .11346        .20734E-03   -.92599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61269e-08
Minuit parameter uncertainties:
  1  0.000539418
  2  35.3608
  3  0.000131933
  4  0.000404998
  5  0.000287315
  6  3.29973e-05
  7  0.99632
  8  0.000982267
  9  32.8302
  10  18.7889
  11  0.0012296
  12  0.000206681
  13  1.78456
  14  3.50558
  15  2.49459e-05
  16  1.64229
  17  29.0587
  18  0.00103355
  19  0.000586862
  20  0.195341
  21  0.113483
Done.

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

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  6.169e+00  9.963e-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.004e+00  1.135e-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.288e+00  1.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 164.57
Ra Dec: 110.488 71.341
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 2.94e-07 +/- 4.75e-08
Energy Flux (Fixed Index): 1.75e-04 +/- 2.82e-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) = 11056.7397969
delta logL = 0.0264746531484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11056.7324895
delta logL = 0.033782061224

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2094       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9492       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2960       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0012       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=   11056.73     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      195 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2094        1.1195        .40275E-02    .81285E-04
   2  alpha         1.9492        .15755        .13002        .26039E-04
   3  Normalizat    1.2960        .16144        .68682E-01    .36380E-04
   4  Prefactor     1.0012        .97384E-01    .45303E-01    .36430E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.20943
  alpha      = 1.94919
  Normalizat = 1.29599
  Prefactor  = 1.00116
 **********
 **   18 **HESSE 
 **********

 FCN=   11056.73     FROM HESSE     STATUS=OK            31 CALLS      226 TOTAL
                     EDM=   .53E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2094        .98521        .39575E-04   -1.5210    
   2  alpha         1.9492        .14152        .56256E-03   -.22215    
   3  Normalizat    1.2960        .18476        .30387E-03   -.83686    
   4  Prefactor     1.0012        .11131        .20761E-03   -.92691    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.33938e-13
Minuit parameter uncertainties:
  1  0.985216
  2  0.141598
  3  0.184852
  4  0.111336
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/297292': 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) = 11056.7324894
delta logL = 0.0337821468329

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  6.209e+00  9.852e-01  1.000e-04  1.000e+04 ( 1.000e-11)
257        alpha:  1.949e+00  1.416e-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.001e+00  1.113e-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.296e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 164.47
Ra Dec: 110.488 71.341
Photon Index (Free Index): 1.95 +/- 0.14
Photon Flux (Free Index): 2.86e-07 +/- 5.51e-08
Energy Flux (Free Index): 1.83e-04 +/- 4.26e-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/297292/cmap_HighResolution_595728001_595987201_4FGL_J0721.9+7120_daily_bin1375.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.94e-07', energy_flux2='1.83e-04', photon_flux_error='4.75e-08', dlogl='3.38e-02', energy_flux='1.75e-04', photon_flux2='2.86e-07', job_status='DONE', time_completed='2021-08-27 04:41:38.367979', photon_index_error2='0.14', photon_index2='1.95', ts='164.57', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='4.26e-05', EG='1.29', time_epoch_completed='1630064498.37', return_code='0', job_id='297292', GAL2='1.00', EG2='1.30', return_code2='0', energy_flux_error='2.82e-05', photon_flux_error2='5.51e-08', ts2='164.47', photon_index='1.99' WHERE bin_id='1375' AND source_name='4FGL J0721.9+7120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:41:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 297292: <4FGL_J0721.9+7120_daily_bin1375> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0721.9+7120_daily_bin1375 110.488 71.3405 595728001 595987201 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 :                                   920.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            950 sec.

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

