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


Performing analysis on: 4FGL_J0721.9+7120_daily_bin596
RA = 110.488, Dec = 71.3405
tmin = 393811201, tmax = 394070401
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='292533', job_status='RUN', time_executed='2021-08-27 04:10:41.229844', time_epoch_executed='1630062641.23' WHERE source_name='4FGL J0721.9+7120' and cadence='daily' and bin_id='596'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/292533

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/292533/ft1_4FGL_J0721.9+7120_daily_bin596.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/292533/ft2_4FGL_J0721.9+7120_daily_bin596.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/292533/ft1_4FGL_J0721.9+7120_daily_bin596.fits outfile=/scratch/kocevski/292533/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin596.fits ra=110.488 dec=71.3405 rad=12.0 tmin=393811201.0 tmax=394070401.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.80
user 3.26
sys 0.49

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/292533/ft1_filtered_4FGL_J0721.9+7120_daily_bin596.fits" evtable="EVENTS" scfile=/scratch/kocevski/292533/ft2_4FGL_J0721.9+7120_daily_bin596.fits sctable="SC_DATA" outfile=/scratch/kocevski/292533/ltcube_393811201_394070401_4FGL_J0721.9+7120_daily_bin596.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/292533/ft2_4FGL_J0721.9+7120_daily_bin596.fits
.....................!
real 12.50
user 11.71
sys 0.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/292533/ft1_filtered_4FGL_J0721.9+7120_daily_bin596.fits evtable="EVENTS" scfile=/scratch/kocevski/292533/ft2_4FGL_J0721.9+7120_daily_bin596.fits sctable="SC_DATA" expcube=/scratch/kocevski/292533/ltcube_393811201_394070401_4FGL_J0721.9+7120_daily_bin596.fits outfile=/scratch/kocevski/292533/expmap_393811201_394070401_4FGL_J0721.9+7120_daily_bin596.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/292533/ltcube_393811201_394070401_4FGL_J0721.9+7120_daily_bin596.fits
.....................!
real 191.36
user 185.90
sys 4.97

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/292533/ft1_filtered_4FGL_J0721.9+7120_daily_bin596.fits scfile=/scratch/kocevski/292533/ft2_4FGL_J0721.9+7120_daily_bin596.fits outfile=/scratch/kocevski/292533/cmap_393811201_394070401_4FGL_J0721.9+7120_daily_bin596.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.89
user 0.37
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/292533/ft1_filtered_4FGL_J0721.9+7120_daily_bin596.fits scfile=/scratch/kocevski/292533/ft2_4FGL_J0721.9+7120_daily_bin596.fits outfile=/scratch/kocevski/292533/cmap_HighResolution_393811201_394070401_4FGL_J0721.9+7120_daily_bin596.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.93
user 0.39
sys 0.44

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10291E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16641       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.7013       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.1686       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.2654       1.0000         .10000E-03   10000.    
     6 'norm      '    8.2218       1.0000         .10000E-03   10000.    
     7 'norm      '    3.6680       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    56.134       1.0000         .10000E-03   10000.    
    10 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.435       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.122       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6023       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.6135       1.0000         .10000E-03   10000.    
    17 'Prefactor '    41.655       1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.467       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .89513       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0791       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=   9913.012     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2295 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    81.391        .10243E-05** at limit **
   2  Prefactor     .22111        12.958       -.55412E-06   -.12227E-03
   3  Prefactor     8.6803        22.310       -.55086E-06    .39047E-04
   4  Prefactor     6.1938        36.966       -.16206E-04   -.20005E-04
   5  Prefactor     9.2418        33.947       -.20878E-05   -.46097E-05
   6  norm          8.2202        12.595        .33305E-05   -.27281E-04
   7  norm          3.6680        .86179        .11131E-06    .26788E-03
   8  Prefactor     .10000E-03    36.302       -.16691E-06** at limit **
   9  Prefactor     56.130        34.101       -.16378E-05    .32307E-04
  10  norm          .10000E-03    6.0279        .15036E-07** at limit **
  11  Prefactor     17.437        17.872        .21341E-05    .11675E-04
  12  Prefactor     25.123        32.746        .13877E-05    .25944E-05
  13  norm          .10000E-03    .95383       -.12742E-06** at limit **
  14  Prefactor     5.6028        4.8679       -.14799E-06   -.24083E-03
  15  Prefactor     .10000E-03    .40904       -.43224E-07** at limit **
  16  norm          3.6142        2.2827       -.26074E-06   -.37849E-03
  17  Prefactor     41.654        34.259        .13955E-05    .28589E-05
  18  Prefactor     19.466        23.255        .17141E-05   -.87349E-05
  19  Prefactor     .10000E-03    7.7440       -.14086E-07** at limit **
  20  Normalizat    .89490        .17545        .96216E-06    .39475E-04
  21  Prefactor     1.0792        .98963E-01    .51724E-07    .14852E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.221106
  Prefactor  = 8.68035
  Prefactor  = 6.19375
  Prefactor  = 9.24184
  norm       = 8.22017
  norm       = 3.66805
  Prefactor  = 0.0001
  Prefactor  = 56.13
  norm       = 0.0001
  Prefactor  = 17.4375
  Prefactor  = 25.1227
  norm       = 0.0001
  Prefactor  = 5.60278
  Prefactor  = 0.0001
  norm       = 3.61422
  Prefactor  = 41.6545
  Prefactor  = 19.4656
  Prefactor  = 0.0001
  Normalizat = 0.894905
  Prefactor  = 1.07923
 **********
 **   18 **HESSE 
 **********

 FCN=   9913.012     FROM HESSE     STATUS=OK           333 CALLS     2628 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    83.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .22111        14.161        .12572       -1.5614    
   3  Prefactor     8.6803        21.921        .13589E-03   -1.5119    
   4  Prefactor     6.1938        36.541        .16164E-03   -1.5210    
   5  Prefactor     9.2418        33.958        .13166E-03   -1.5100    
   6  norm          8.2202        12.539        .13982E-03   -1.5134    
   7  norm          3.6680        .86137        .41818E-04   -1.5325    
   8  Prefactor     .10000E-03    36.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     56.130        34.196        .53541E-04   -1.4208    
  10  norm          .10000E-03    6.0300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.437        17.853        .95920E-04   -1.4873    
  12  Prefactor     25.123        32.828        .79921E-04   -1.4705    
  13  norm          .10000E-03    1.6759        .18781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.6028        4.8644        .16973E-03   -1.5235    
  15  Prefactor     .10000E-03    .41391        .62124E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.6142        2.2870        .10018E-03   -1.5328    
  17  Prefactor     41.654        34.263        .62110E-04   -1.4416    
  18  Prefactor     19.466        23.320        .90778E-04   -1.4825    
  19  Prefactor     .10000E-03    7.8019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .89490        .19818        .33084E-03   -.96639    
  21  Prefactor     1.0792        .11260        .18450E-03   -.90133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94641e-10
Minuit parameter uncertainties:
  1  7.14904e-05
  2  3.53908
  3  21.9418
  4  30.1157
  5  34.0294
  6  12.5429
  7  0.861373
  8  9.97069e-06
  9  34.2081
  10  4.99932e-06
  11  17.8585
  12  32.8511
  13  1.70538e-05
  14  4.86479
  15  2.24482e-06
  16  2.2871
  17  34.2794
  18  23.3311
  19  8.75375e-06
  20  0.198337
  21  0.112624
Done.

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

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  3.668e+00  8.614e-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.079e+00  1.126e-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.949e-01  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 72.65
Ra Dec: 110.488 71.341
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.75e-07 +/- 4.11e-08
Energy Flux (Fixed Index): 1.04e-04 +/- 2.44e-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) = 9912.71774505
delta logL = 0.293784195223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9912.69459576
delta logL = 0.316933483444

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6875       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8302       1.0000          .0000       5.0000    
     3 'Normalizat'    .91687       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0724       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=   9912.695     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6878        .92745        .52581E-02    .15005E-04
   2  alpha         1.8301        .19944        .17345       -.12282E-04
   3  Normalizat    .91685        .16103        .74015E-01    .32072E-04
   4  Prefactor     1.0724        .97071E-01    .38745E-01   -.97792E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 3.68781
  alpha      = 1.83009
  Normalizat = 0.916852
  Prefactor  = 1.07241
 **********
 **   18 **HESSE 
 **********

 FCN=   9912.695     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .36E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6878        .86648        .43156E-04   -1.5324    
   2  alpha         1.8301        .19355        .73643E-02   -.27128    
   3  Normalizat    .91685        .18109        .32753E-03   -.95870    
   4  Prefactor     1.0724        .10922        .18508E-03   -.90353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55673e-14
Minuit parameter uncertainties:
  1  0.866487
  2  0.193755
  3  0.181206
  4  0.109243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/292533': 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) = 9912.69459562
delta logL = 0.316933621549

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  3.688e+00  8.665e-01  1.000e-04  1.000e+04 ( 1.000e-11)
257        alpha:  1.830e+00  1.938e-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.072e+00  1.092e-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:  9.169e-01  1.812e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 73.39
Ra Dec: 110.488 71.341
Photon Index (Free Index): 1.83 +/- 0.19
Photon Flux (Free Index): 1.53e-07 +/- 4.49e-08
Energy Flux (Free Index): 1.26e-04 +/- 4.44e-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/292533/cmap_HighResolution_393811201_394070401_4FGL_J0721.9+7120_daily_bin596.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.75e-07', energy_flux2='1.26e-04', photon_flux_error='4.11e-08', dlogl='3.17e-01', energy_flux='1.04e-04', photon_flux2='1.53e-07', job_status='DONE', time_completed='2021-08-27 04:25:17.279450', photon_index_error2='0.19', photon_index2='1.83', ts='72.65', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='4.44e-05', EG='0.89', time_epoch_completed='1630063517.28', return_code='0', job_id='292533', GAL2='1.07', EG2='0.92', return_code2='0', energy_flux_error='2.44e-05', photon_flux_error2='4.49e-08', ts2='73.39', photon_index='1.99' WHERE bin_id='596' AND source_name='4FGL J0721.9+7120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:25:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 292533: <4FGL_J0721.9+7120_daily_bin596> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0721.9+7120_daily_bin596 110.488 71.3405 393811201 394070401 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 :                                   877.02 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             339.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            896 sec.

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

