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


Performing analysis on: 4FGL_J0224.2+0700_daily_bin735
RA = 36.0577, Dec = 7.0126
tmin = 429840001, tmax = 430099201
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='355951', job_status='RUN', time_executed='2021-08-15 20:08:41.571315', time_epoch_executed='1629083321.57' WHERE source_name='4FGL J0224.2+0700' and cadence='daily' and bin_id='735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/355951

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/355951/ft1_4FGL_J0224.2+0700_daily_bin735.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/355951/ft2_4FGL_J0224.2+0700_daily_bin735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/355951/ft1_4FGL_J0224.2+0700_daily_bin735.fits outfile=/scratch/kocevski/355951/ft1_filteredMKT_4FGL_J0224.2+0700_daily_bin735.fits ra=36.0577 dec=7.0126 rad=12.0 tmin=429840001.0 tmax=430099201.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 5.72
user 4.54
sys 0.70

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/355951/ft2_4FGL_J0224.2+0700_daily_bin735.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/355951/ft2_4FGL_J0224.2+0700_daily_bin735.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/355951/ft1_filteredMKT_4FGL_J0224.2+0700_daily_bin735.fits evtable="EVENTS" outfile="/scratch/kocevski/355951/ft1_filtered_4FGL_J0224.2+0700_daily_bin735.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.98
user 0.28
sys 0.61

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/355951/ft1_filtered_4FGL_J0224.2+0700_daily_bin735.fits" evtable="EVENTS" scfile=/scratch/kocevski/355951/ft2_4FGL_J0224.2+0700_daily_bin735.fits sctable="SC_DATA" outfile=/scratch/kocevski/355951/ltcube_429840001_430099201_4FGL_J0224.2+0700_daily_bin735.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/355951/ft2_4FGL_J0224.2+0700_daily_bin735.fits
.....................!
real 12.07
user 11.29
sys 0.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/355951/ft1_filtered_4FGL_J0224.2+0700_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/355951/ft2_4FGL_J0224.2+0700_daily_bin735.fits sctable="SC_DATA" expcube=/scratch/kocevski/355951/ltcube_429840001_430099201_4FGL_J0224.2+0700_daily_bin735.fits outfile=/scratch/kocevski/355951/expmap_429840001_430099201_4FGL_J0224.2+0700_daily_bin735.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/355951/ltcube_429840001_430099201_4FGL_J0224.2+0700_daily_bin735.fits
.....................!
real 156.77
user 151.27
sys 4.80

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 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J0224.2+0700 @ 36.0577 7.0126

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/355951/ft1_filtered_4FGL_J0224.2+0700_daily_bin735.fits scfile=/scratch/kocevski/355951/ft2_4FGL_J0224.2+0700_daily_bin735.fits outfile=/scratch/kocevski/355951/cmap_429840001_430099201_4FGL_J0224.2+0700_daily_bin735.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=36.0577 yref=7.0126 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.32
sys 0.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/355951/ft1_filtered_4FGL_J0224.2+0700_daily_bin735.fits scfile=/scratch/kocevski/355951/ft2_4FGL_J0224.2+0700_daily_bin735.fits outfile=/scratch/kocevski/355951/cmap_HighResolution_429840001_430099201_4FGL_J0224.2+0700_daily_bin735.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=36.0577 yref=7.0126 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.95
user 0.36
sys 0.57

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/355951/ft1_filtered_4FGL_J0224.2+0700_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/355951/ft2_4FGL_J0224.2+0700_daily_bin735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/355951/Model_4FGL_J0224.2+0700_daily_bin735.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/355951/ft1_filtered_4FGL_J0224.2+0700_daily_bin735.fits.....................!
real 55.51
user 53.65
sys 1.57

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/355951/ft1_filtered_4FGL_J0224.2+0700_daily_bin735.fits', '/scratch/kocevski/355951/ft2_4FGL_J0224.2+0700_daily_bin735.fits', expMap='/scratch/kocevski/355951/expmap_429840001_430099201_4FGL_J0224.2+0700_daily_bin735.fits', expCube='/scratch/kocevski/355951/ltcube_429840001_430099201_4FGL_J0224.2+0700_daily_bin735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/355951/Model_4FGL_J0224.2+0700_daily_bin735.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0224.2+0700'

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  3.952e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
252        Index:  2.502e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
253        Scale:  9.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/355951/ft1_filtered_4FGL_J0224.2+0700_daily_bin735.fits
Spacecraft file(s): /scratch/kocevski/355951/ft2_4FGL_J0224.2+0700_daily_bin735.fits
Exposure map: /scratch/kocevski/355951/expmap_429840001_430099201_4FGL_J0224.2+0700_daily_bin735.fits
Exposure cube: /scratch/kocevski/355951/ltcube_429840001_430099201_4FGL_J0224.2+0700_daily_bin735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/355951/Model_4FGL_J0224.2+0700_daily_bin735.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) = 5116.89978853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    22.616       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    18.087       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0841       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.753       1.0000         .10000E-03   10000.    
     9 'Prefactor '    87.925       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    129.67       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11072E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.8571       1.0000         .10000E-03   10000.    
    16 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.445       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.5893       1.0000         .10000E-03   10000.    
    21 'Prefactor '    93.410       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.3132       1.0000         .10000E-03   10000.    
    24 'norm      '    13.896       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    9.4487       1.0000         .10000E-03   10000.    
    27 'norm      '    5.9841       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0029       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .86459       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5116.866     FROM MIGRAD    STATUS=CONVERGED    719 CALLS     3731 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.3829        .25468E-09** at limit **
   2  norm          22.616        21.003       -.26504E-06   -.54169E-05
   3  Prefactor     .10000E-03    2.5559       -.16352E-07** at limit **
   4  Prefactor     .10000E-03    1.1381       -.48442E-07** at limit **
   5  norm          18.087        9.1330        .65880E-06   -.52451E-04
   6  Prefactor     3.0842        3.2422        .56557E-06   -.50715E-04
   7  norm          .10000E-03    .38610        .30614E-07** at limit **
   8  Prefactor     18.727        39.560       -.19331E-04   -.36675E-04
   9  Prefactor     87.936        63.645        .75969E-05    .10973E-05
  10  Prefactor     .10000E-03    6.1871       -.13588E-06** at limit **
  11  Prefactor     129.69        111.12        .14993E-04   -.61138E-05
  12  Prefactor     .10000E-03    8.6769       -.96940E-07** at limit **
  13  Prefactor     .10001E-03    151.45        .48442E-05** at limit **
  14  Prefactor     .10000E-03    5.4312        .32802E-07** at limit **
  15  Prefactor     8.8691        15.484        .16680E-05   -.35881E-04
  16  norm          .10000E-03    .36450       -.86508E-08** at limit **
  17  Prefactor     .10000E-03    35.149       -.42613E-06** at limit **
  18  Prefactor     15.445        22.678        .25609E-05   -.21121E-04
  19  norm          .10000E-03    7.1993        .20003E-06** at limit **
  20  Prefactor     9.5993        17.604       -.26927E-05   -.21856E-04
  21  Prefactor     93.399        59.367       -.78533E-05   -.63773E-05
  22  Prefactor     .10000E-03    37.723        .63583E-06** at limit **
  23  Prefactor     2.3131        5.6096       -.83894E-06   -.50626E-03
  24  norm          13.895        11.793        .50315E-06    .21479E-05
  25  norm          .10000E-03    1.7424       -.11899E-07** at limit **
  26  Prefactor     9.4488        6.8974        .44731E-06   -.24080E-04
  27  norm          5.9836        7.4129        .24010E-05   -.99518E-04
  28  Normalizat    1.0028        .22251        .10265E-05   -.63181E-04
  29  Prefactor     .86467        .12263       -.54495E-06    .23140E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 22.6155
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.0868
  Prefactor  = 3.08424
  norm       = 0.0001
  Prefactor  = 18.7271
  Prefactor  = 87.9364
  Prefactor  = 0.0001
  Prefactor  = 129.691
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 8.86914
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.4453
  norm       = 0.0001
  Prefactor  = 9.59927
  Prefactor  = 93.3992
  Prefactor  = 0.0001
  Prefactor  = 2.31308
  norm       = 13.8951
  norm       = 0.0001
  Prefactor  = 9.44878
  norm       = 5.98359
  Normalizat = 1.00276
  Prefactor  = 0.864666
 **********
 **   18 **HESSE 
 **********

 FCN=   5116.866     FROM HESSE     STATUS=OK           553 CALLS     4284 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3835        .82152E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          22.616        21.008        .84227E-04   -1.4756    
   3  Prefactor     .10000E-03    2.5583        .11168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.1475        .74502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          18.087        9.1187        .94174E-04   -1.4857    
   6  Prefactor     3.0842        3.2178        .11962E-03   -1.5357    
   7  norm          .10000E-03    .39897        .86623E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.727        39.555        .92489E-04   -1.4842    
   9  Prefactor     87.936        63.586        .42848E-04   -1.3830    
  10  Prefactor     .10000E-03    6.2160        .17372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     129.69        110.80        .35357E-04   -1.3425    
  12  Prefactor     .10000E-03    8.7421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    157.46        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.4397        .16278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.8691        14.544        .13468E-03   -1.5112    
  16  norm          .10000E-03    .54386        .76401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    35.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.445        22.766        .10191E-03   -1.4922    
  19  norm          .10000E-03    7.2167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.5993        17.376        .12941E-03   -1.5088    
  21  Prefactor     93.399        59.183        .41582E-04   -1.3772    
  22  Prefactor     .10000E-03    37.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.3131        5.6045        .25265E-03   -1.5404    
  24  norm          13.895        11.800        .10745E-03   -1.4962    
  25  norm          .10000E-03    1.7611        .92173E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     9.4488        6.8947        .13037E-03   -1.5093    
  27  norm          5.9836        7.4113        .16414E-03   -1.5219    
  28  Normalizat    1.0028        .24677        .31641E-03   -.92938    
  29  Prefactor     .86467        .13656        .19129E-03   -.97387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.05704e-10
Minuit parameter uncertainties:
  1  3.04504e-10
  2  21.0144
  3  2.49176e-06
  4  5.21001e-06
  5  9.11941
  6  3.21793
  7  1.97828e-06
  8  39.61
  9  63.6348
  10  2.72731e-05
  11  110.976
  12  8.56859e-06
  13  0.00277185
  14  5.74674e-06
  15  14.55
  16  5.652e-07
  17  0.000168533
  18  22.7786
  19  3.55351e-05
  20  17.3848
  21  59.2206
  22  4.97395e-06
  23  5.60578
  24  11.8021
  25  1.4074e-06
  26  6.89527
  27  7.41242
  28  0.247055
  29  0.136618
Done.

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

Extracting fit parameters...

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  1.873e+01  3.961e+01  1.000e-04  1.000e+04 ( 1.000e-13)
252        Index:  2.502e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
253        Scale:  9.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  8.647e-01  1.366e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  1.003e+00  2.471e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.29
Ra Dec: 36.058 7.013
Photon Flux Upper Limit: 1.77e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.37e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/355951/likelihoodResults_429840001_430099201_4FGL_J0224.2+0700_daily_bin735.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) = 5116.82954915
delta logL = 0.0369130243307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5116.81363413
delta logL = 0.0528280431336

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.498       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9243       1.0000          .0000       10.000    
     3 'Normalizat'    .99219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86815       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5116.814     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      254 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.499        39.302        .11331E-03    .84080E-04
   2  Index         2.9237        1.5868        .78057E-02    .51585E-04
   3  Normalizat    .99223        .23682        .31780E-03    .15379E-03
   4  Prefactor     .86814        .13180        .19092E-03    .20817E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4988
  Index      = 2.92375
  Normalizat = 0.992231
  Prefactor  = 0.868142
 **********
 **   18 **HESSE 
 **********

 FCN=   5116.814     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.499        32.936        .45324E-05   -1.5001    
   2  Index         2.9237        1.3359        .31223E-03   -.42822    
   3  Normalizat    .99223        .23704        .12712E-04   -.93291    
   4  Prefactor     .86814        .13176        .38183E-04   -.97263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.9222e-11
Minuit parameter uncertainties:
  1  32.9834
  2  1.35593
  3  0.237293
  4  0.131812
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/355951': 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) = 5116.81363396
delta logL = 0.0528282163959

Extracting fit parameters...

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  1.250e+01  3.298e+01  1.000e-04  1.000e+04 ( 1.000e-13)
252        Index:  2.924e+00  1.356e+00  0.000e+00  1.000e+01 (-1.000e+00)
253        Scale:  9.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  8.681e-01  1.318e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  9.922e-01  2.373e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.29
Ra Dec: 36.058 7.013

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/355951/cmap_HighResolution_429840001_430099201_4FGL_J0224.2+0700_daily_bin735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.37e-02', job_status='DONE', photon_flux_upper_limit='1.77e-07', time_completed='2021-08-15 20:19:09.057662', job_id='355951', GAL2='0.87', fit_tolerance='1e-08', EG2='0.99', EG='1.00', time_epoch_completed='1629083949.06', return_code2='0', ts='0.29', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='5.28e-02', ts2='0.40', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='735' AND source_name='4FGL J0224.2+0700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 20:19:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 355951: <4FGL_J0224.2+0700_daily_bin735> in cluster <slac> Done

Job <4FGL_J0224.2+0700_daily_bin735> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 15 20:05:43 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 20:06:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 20:06:43 2021
Terminated at Sun Aug 15 20:19:09 2021
Results reported at Sun Aug 15 20:19:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.2+0700_daily_bin735 36.0577 7.0126 429840001 430099201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0224.2+0700 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   625.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             218.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            806 sec.

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

