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


Performing analysis on: 4FGL_J0721.9+7120_daily_bin1056
RA = 110.488, Dec = 71.3405
tmin = 513043201, tmax = 513302401
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='295538', job_status='RUN', time_executed='2021-08-27 04:25:09.590808', time_epoch_executed='1630063509.59' WHERE source_name='4FGL J0721.9+7120' and cadence='daily' and bin_id='1056'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/295538

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/295538/ft1_4FGL_J0721.9+7120_daily_bin1056.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/295538/ft2_4FGL_J0721.9+7120_daily_bin1056.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/295538/ft1_4FGL_J0721.9+7120_daily_bin1056.fits outfile=/scratch/kocevski/295538/ft1_filteredMKT_4FGL_J0721.9+7120_daily_bin1056.fits ra=110.488 dec=71.3405 rad=12.0 tmin=513043201.0 tmax=513302401.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 8.28
user 6.10
sys 2.09

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/295538/ft1_filtered_4FGL_J0721.9+7120_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/295538/ft2_4FGL_J0721.9+7120_daily_bin1056.fits sctable="SC_DATA" expcube=/scratch/kocevski/295538/ltcube_513043201_513302401_4FGL_J0721.9+7120_daily_bin1056.fits outfile=/scratch/kocevski/295538/expmap_513043201_513302401_4FGL_J0721.9+7120_daily_bin1056.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/295538/ltcube_513043201_513302401_4FGL_J0721.9+7120_daily_bin1056.fits
.....................!
real 192.72
user 185.11
sys 6.49

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/295538/ft1_filtered_4FGL_J0721.9+7120_daily_bin1056.fits scfile=/scratch/kocevski/295538/ft2_4FGL_J0721.9+7120_daily_bin1056.fits outfile=/scratch/kocevski/295538/cmap_513043201_513302401_4FGL_J0721.9+7120_daily_bin1056.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 2.31
user 0.38
sys 1.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/295538/ft1_filtered_4FGL_J0721.9+7120_daily_bin1056.fits scfile=/scratch/kocevski/295538/ft2_4FGL_J0721.9+7120_daily_bin1056.fits outfile=/scratch/kocevski/295538/cmap_HighResolution_513043201_513302401_4FGL_J0721.9+7120_daily_bin1056.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 2.41
user 0.38
sys 1.96

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    45.059       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13866E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    73.469       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .51680       1.0000         .10000E-03   10000.    
     8 'Prefactor '    182.54       1.0000         .10000E-03   10000.    
     9 'Prefactor '    78.987       1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    72.258       1.0000         .10000E-03   10000.    
    13 'norm      '    .23320E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.329       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12543E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11170       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    37.247       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2708       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .78176       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=   3740.374     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2298 TOTAL
                     EDM=   .82E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.042       -.35899E-07** at limit **
   2  Prefactor     45.048        48.752        .13883E-05   -.38865E-06
   3  Prefactor     .10000E-03    28.056        .26824E-06** at limit **
   4  Prefactor     73.354        71.499       -.17789E-04   -.62755E-06
   5  Prefactor     .10000E-03    37.909       -.16350E-06** at limit **
   6  norm          .10000E-03    14.138        .36930E-06** at limit **
   7  norm          .51681        .81938        .13956E-06   -.21090E-03
   8  Prefactor     182.54        208.23        .29894E-05    .75513E-06
   9  Prefactor     78.955        89.027       -.45416E-05   -.47309E-06
  10  norm          .10000E-03    15.561        .64298E-06** at limit **
  11  Prefactor     .10000E-03    12.000       -.59689E-06** at limit **
  12  Prefactor     72.265        107.79        .31728E-05    .24755E-08
  13  norm          .10000E-03    2.8769       -.12920E-06** at limit **
  14  Prefactor     14.329        13.874        .54169E-06   -.25437E-04
  15  Prefactor     .10000E-03    1.3001        .35655E-07** at limit **
  16  norm          .10000E-03    3.1833        .15160E-07** at limit **
  17  Prefactor     .10368E-03    47.437        .89031E-06** at limit **
  18  Prefactor     .10000E-03    12.464        .22859E-06** at limit **
  19  Prefactor     37.245        19.644        .28560E-05   -.11162E-04
  20  Normalizat    1.2705        .28066        .72360E-06   -.40298E-04
  21  Prefactor     .78200        .16516       -.25775E-06   -.19335E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 45.0483
  Prefactor  = 0.0001
  Prefactor  = 73.3543
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.516807
  Prefactor  = 182.542
  Prefactor  = 78.9551
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 72.2645
  norm       = 0.0001
  Prefactor  = 14.329
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000103684
  Prefactor  = 0.0001
  Prefactor  = 37.2449
  Normalizat = 1.27048
  Prefactor  = 0.782003
 **********
 **   18 **HESSE 
 **********

 FCN=   3740.374     FROM HESSE     STATUS=OK           321 CALLS     2619 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     45.048        48.765        .59728E-04   -1.4365    
   3  Prefactor     .10000E-03    28.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     73.354        71.527        .46840E-04   -1.3993    
   5  Prefactor     .10000E-03    37.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    14.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .51681        .81829        .45357E-04   -1.5564    
   8  Prefactor     182.54        208.38        .29881E-04   -1.2998    
   9  Prefactor     78.955        89.537        .45187E-04   -1.3928    
  10  norm          .10000E-03    15.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     72.265        108.11        .47228E-04   -1.4006    
  13  norm          .10000E-03    7.0213        .19906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.329        13.856        .10581E-03   -1.4951    
  15  Prefactor     .10000E-03    2.8635        .13434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.2900        .21262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10368E-03    52.112        .12160       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     37.245        19.662        .65670E-04   -1.4487    
  20  Normalizat    1.2705        .32427        .29108E-03   -.84452    
  21  Prefactor     .78200        .19119        .21975E-03   -1.0040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90159e-10
Minuit parameter uncertainties:
  1  9.95781e-06
  2  48.8086
  3  0.000200505
  4  71.6108
  5  3.19493e-06
  6  4.3407e-06
  7  0.818308
  8  209.236
  9  89.69
  10  4.8831e-06
  11  1.9249e-06
  12  108.407
  13  7.96491e-06
  14  13.8586
  15  2.02129e-05
  16  6.40766e-06
  17  0.0277347
  18  8.47128e-06
  19  19.6657
  20  0.324786
  21  0.191348
Done.

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

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  5.168e-01  8.183e-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:  7.820e-01  1.913e-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.270e+00  3.248e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.57
Ra Dec: 110.488 71.341
Photon Flux Upper Limit: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/295538/likelihoodResults_513043201_513302401_4FGL_J0721.9+7120_daily_bin1056.txt

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) = 3740.37427561
delta logL = 6.33478857708e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3740.37427557
delta logL = 6.33856202512e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51680       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9752       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78203       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3740.374     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      200 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .51627        4.0612         .0000        .63309E-02
   2  alpha         1.9752        3.4699         .0000       -.65567E-05
   3  Normalizat    1.2706        .26994         .0000        .20608E-05
   4  Prefactor     .78196        .16940         .0000        .75314E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.516271
  alpha      = 1.97518
  Normalizat = 1.27064
  Prefactor  = 0.781964
 **********
 **   18 **HESSE 
 **********

 FCN=   3740.374     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .45E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .51627        .81183        .22678E-03   -1.5564    
   2  alpha         1.9752        .93991        .19869E-01   -.21150    
   3  Normalizat    1.2706        .30555        .29106E-03   -.84447    
   4  Prefactor     .78196        .18713        .21975E-03   -1.0040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50541e-12
Minuit parameter uncertainties:
  1  0.811845
  2  0.964764
  3  0.305984
  4  0.187285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/295538': 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) = 3740.37427528
delta logL = 6.36772970211e-05

Extracting fit parameters...

4FGL J0721.9+7120
   Spectrum: LogParabola
256         norm:  5.163e-01  8.118e-01  1.000e-04  1.000e+04 ( 1.000e-11)
257        alpha:  1.975e+00  9.648e-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:  7.820e-01  1.873e-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.271e+00  3.060e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.57
Ra Dec: 110.488 71.341

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/295538/cmap_HighResolution_513043201_513302401_4FGL_J0721.9+7120_daily_bin1056.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.03e-05', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2021-08-27 04:35:04.270139', job_id='295538', GAL2='0.78', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1630064104.27', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='6.37e-05', ts2='0.57', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1056' AND source_name='4FGL J0721.9+7120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 04:35:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 295538: <4FGL_J0721.9+7120_daily_bin1056> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0721.9+7120_daily_bin1056 110.488 71.3405 513043201 513302401 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 :                                   618.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             231.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            883 sec.

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

