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


Performing analysis on: 4FGL_J0224.2+0700_daily_bin615
RA = 36.0577, Dec = 7.0126
tmin = 398736001, tmax = 398995201
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='355775', job_status='RUN', time_executed='2021-08-15 20:09:19.291175', time_epoch_executed='1629083359.29' WHERE source_name='4FGL J0224.2+0700' and cadence='daily' and bin_id='615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/355775

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/355775/ft1_4FGL_J0224.2+0700_daily_bin615.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/355775/ft2_4FGL_J0224.2+0700_daily_bin615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/355775/ft1_4FGL_J0224.2+0700_daily_bin615.fits outfile=/scratch/kocevski/355775/ft1_filteredMKT_4FGL_J0224.2+0700_daily_bin615.fits ra=36.0577 dec=7.0126 rad=12.0 tmin=398736001.0 tmax=398995201.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.99
user 5.89
sys 2.98

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/355775/ft2_4FGL_J0224.2+0700_daily_bin615.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/355775/ft1_filteredMKT_4FGL_J0224.2+0700_daily_bin615.fits evtable="EVENTS" outfile="/scratch/kocevski/355775/ft1_filtered_4FGL_J0224.2+0700_daily_bin615.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 3.09
user 0.36
sys 2.63

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/355775/ft1_filtered_4FGL_J0224.2+0700_daily_bin615.fits" evtable="EVENTS" scfile=/scratch/kocevski/355775/ft2_4FGL_J0224.2+0700_daily_bin615.fits sctable="SC_DATA" outfile=/scratch/kocevski/355775/ltcube_398736001_398995201_4FGL_J0224.2+0700_daily_bin615.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/355775/ft2_4FGL_J0224.2+0700_daily_bin615.fits
.....................!
real 17.37
user 14.17
sys 3.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/355775/ft1_filtered_4FGL_J0224.2+0700_daily_bin615.fits evtable="EVENTS" scfile=/scratch/kocevski/355775/ft2_4FGL_J0224.2+0700_daily_bin615.fits sctable="SC_DATA" expcube=/scratch/kocevski/355775/ltcube_398736001_398995201_4FGL_J0224.2+0700_daily_bin615.fits outfile=/scratch/kocevski/355775/expmap_398736001_398995201_4FGL_J0224.2+0700_daily_bin615.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/355775/ltcube_398736001_398995201_4FGL_J0224.2+0700_daily_bin615.fits
.....................!
real 198.12
user 188.99
sys 8.62

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/355775/ft1_filtered_4FGL_J0224.2+0700_daily_bin615.fits scfile=/scratch/kocevski/355775/ft2_4FGL_J0224.2+0700_daily_bin615.fits outfile=/scratch/kocevski/355775/cmap_398736001_398995201_4FGL_J0224.2+0700_daily_bin615.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 3.02
user 0.41
sys 2.58

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/355775/ft1_filtered_4FGL_J0224.2+0700_daily_bin615.fits scfile=/scratch/kocevski/355775/ft2_4FGL_J0224.2+0700_daily_bin615.fits outfile=/scratch/kocevski/355775/cmap_HighResolution_398736001_398995201_4FGL_J0224.2+0700_daily_bin615.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 3.03
user 0.38
sys 2.51

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/355775/ft1_filtered_4FGL_J0224.2+0700_daily_bin615.fits', '/scratch/kocevski/355775/ft2_4FGL_J0224.2+0700_daily_bin615.fits', expMap='/scratch/kocevski/355775/expmap_398736001_398995201_4FGL_J0224.2+0700_daily_bin615.fits', expCube='/scratch/kocevski/355775/ltcube_398736001_398995201_4FGL_J0224.2+0700_daily_bin615.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/355775/Model_4FGL_J0224.2+0700_daily_bin615.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/355775/ft1_filtered_4FGL_J0224.2+0700_daily_bin615.fits
Spacecraft file(s): /scratch/kocevski/355775/ft2_4FGL_J0224.2+0700_daily_bin615.fits
Exposure map: /scratch/kocevski/355775/expmap_398736001_398995201_4FGL_J0224.2+0700_daily_bin615.fits
Exposure cube: /scratch/kocevski/355775/ltcube_398736001_398995201_4FGL_J0224.2+0700_daily_bin615.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/355775/Model_4FGL_J0224.2+0700_daily_bin615.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) = 2733.91676423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    17.442       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    29.138       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8794       1.0000         .10000E-03   10000.    
     7 'norm      '    1.2307       1.0000         .10000E-03   10000.    
     8 'Prefactor '    42.583       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    127.82       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.9398       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.8038       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11047E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.5151       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14597E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    34.635       1.0000         .10000E-03   10000.    
    19 'norm      '    17.016       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    77.573       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.4431       1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    3.5478       1.0000         .10000E-03   10000.    
    26 'Prefactor '    5.6168       1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .89057       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .68642       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=   2733.903     FROM MIGRAD    STATUS=CONVERGED    707 CALLS     3625 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8029        .70035E-07** at limit **
   2  norm          17.442        21.882       -.14885E-07   -.53159E-05
   3  Prefactor     .10000E-03    3.4650        .30581E-07** at limit **
   4  Prefactor     .10000E-03    2.4214        .14960E-06** at limit **
   5  norm          29.137        11.019       -.14966E-07   -.98289E-05
   6  Prefactor     5.8791        4.4120        .31718E-08   -.25490E-04
   7  norm          1.2305        1.5241        .66836E-07   -.71057E-05
   8  Prefactor     42.577        42.493       -.69581E-06   -.44588E-04
   9  Prefactor     .10000E-03    32.908        .10804E-05** at limit **
  10  Prefactor     .10000E-03    3.1689       -.93197E-07** at limit **
  11  Prefactor     127.82        115.04       -.72208E-06   -.20334E-05
  12  Prefactor     5.9381        10.533        .37028E-05   -.19799E-03
  13  Prefactor     .10000E-03    20.255       -.58435E-06** at limit **
  14  Prefactor     5.8015        13.415        .33553E-05   -.12278E-03
  15  Prefactor     .10000E-03    17.842       -.49410E-06** at limit **
  16  norm          1.5150        .79839        .16917E-07    .26367E-04
  17  Prefactor     .10000E-03    50.121       -.14976E-05** at limit **
  18  Prefactor     34.632        32.258       -.68247E-06   -.28577E-04
  19  norm          17.018        23.055        .32928E-06   -.16427E-04
  20  Prefactor     .10000E-03    10.550       -.21926E-06** at limit **
  21  Prefactor     77.513        72.891       -.58951E-05   -.26376E-03
  22  Prefactor     .10000E-03    25.450       -.82943E-06** at limit **
  23  Prefactor     7.4421        8.1810        .12774E-05   -.17584E-03
  24  norm          .10000E-03    8.7936        .54859E-07** at limit **
  25  norm          3.5473        3.5754       -.44530E-07   -.26847E-05
  26  Prefactor     5.6161        7.7885        .15282E-05   -.17408E-03
  27  norm          .10000E-03    6.6046        .12378E-07** at limit **
  28  Normalizat    .89060        .28412        .52092E-07   -.22020E-04
  29  Prefactor     .68641        .14737       -.55193E-06    .73426E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 17.4415
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 29.1373
  Prefactor  = 5.8791
  norm       = 1.23051
  Prefactor  = 42.5771
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 127.825
  Prefactor  = 5.93811
  Prefactor  = 0.0001
  Prefactor  = 5.80145
  Prefactor  = 0.0001
  norm       = 1.51499
  Prefactor  = 0.0001
  Prefactor  = 34.6318
  norm       = 17.0183
  Prefactor  = 0.0001
  Prefactor  = 77.5135
  Prefactor  = 0.0001
  Prefactor  = 7.44213
  norm       = 0.0001
  norm       = 3.54731
  Prefactor  = 5.61606
  norm       = 0.0001
  Normalizat = 0.8906
  Prefactor  = 0.686415
 **********
 **   18 **HESSE 
 **********

 FCN=   2733.903     FROM HESSE     STATUS=OK           553 CALLS     4178 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8118        .99581E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          17.442        21.887        .95899E-04   -1.4872    
   3  Prefactor     .10000E-03    3.4674        .95055E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.4488        .79391E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          29.137        11.020        .74221E-04   -1.4628    
   6  Prefactor     5.8791        4.4097        .89416E-04   -1.5223    
   7  norm          1.2305        1.4973        .67493E-04   -1.5486    
   8  Prefactor     42.577        42.517        .61433E-04   -1.4402    
   9  Prefactor     .10000E-03    32.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.1708        .90909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     127.82        115.03        .35608E-04   -1.3442    
  12  Prefactor     5.9381        10.575        .82382E-03   -1.5221    
  13  Prefactor     .10000E-03    20.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.8015        13.460        .83355E-03   -1.5226    
  15  Prefactor     .10000E-03    18.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.5150        .79400        .32495E-04   -1.5462    
  17  Prefactor     .10000E-03    50.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.632        32.404        .68093E-04   -1.4530    
  19  norm          17.018        23.238        .97093E-04   -1.4883    
  20  Prefactor     .10000E-03    10.556        .16587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     77.513        76.881        .22797E-03   -1.3945    
  22  Prefactor     .10000E-03    25.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4421        8.2043        .73503E-03   -1.5162    
  24  norm          .10000E-03    8.8208        .15143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.5473        3.5813        .96409E-04   -1.5331    
  26  Prefactor     5.6161        7.8172        .83305E-03   -1.5234    
  27  norm          .10000E-03    6.6300        .13122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .89060        .31468        .30798E-03   -.96791    
  29  Prefactor     .68641        .16392        .18796E-03   -1.0406    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.13703e-10
Minuit parameter uncertainties:
  1  4.42647e-07
  2  21.8966
  3  2.85441e-07
  4  2.21689e-06
  5  11.0212
  6  4.40989
  7  1.49733
  8  42.5474
  9  0.000200441
  10  5.24014e-06
  11  115.236
  12  10.578
  13  7.15052e-05
  14  13.4674
  15  0.00013398
  16  0.794003
  17  2.89175e-05
  18  32.4209
  19  23.2503
  20  4.98828e-06
  21  76.9798
  22  0.000144121
  23  8.20554
  24  2.32766e-06
  25  3.58155
  26  7.8186
  27  5.43247e-06
  28  0.315333
  29  0.164035
Done.

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

Extracting fit parameters...

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  4.258e+01  4.255e+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:  6.864e-01  1.640e-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:  8.906e-01  3.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.67
Ra Dec: 36.058 7.013
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 7.44e-08 +/- 7.43e-08
Energy Flux (Fixed Index): 2.15e-05 +/- 2.15e-05

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

Saving results to:
/scratch/kocevski/355775/likelihoodResults_398736001_398995201_4FGL_J0224.2+0700_daily_bin615.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) = 2733.54959465
delta logL = 0.35290580741

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2733.54923518
delta logL = 0.353265275743

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    63.474       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8941       1.0000          .0000       10.000    
     3 'Normalizat'    .91813       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67601       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.

 FCN=   2733.549     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      255 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     63.474        102.04        .12592E-02    .31640E-04
   2  Index         1.8943        .99464        .18613       -.29839E-05
   3  Normalizat    .91836        .26917        .68718E-01    .72781E-05
   4  Prefactor     .67601        .14462        .42081E-01    .66019E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 63.4742
  Index      = 1.89431
  Normalizat = 0.918358
  Prefactor  = 0.676007
 **********
 **   18 **HESSE 
 **********

 FCN=   2733.549     FROM HESSE     STATUS=OK            31 CALLS      286 TOTAL
                     EDM=   .52E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63.474        57.367        .50368E-04   -1.4113    
   2  Index         1.8943        .63494        .72108E-02   -.67019    
   3  Normalizat    .91836        .29093        .30401E-03   -.95818    
   4  Prefactor     .67601        .15791        .18911E-03   -1.0447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19961e-12
Minuit parameter uncertainties:
  1  57.4172
  2  0.637754
  3  0.291435
  4  0.158018
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/355775': 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) = 2733.54923424
delta logL = 0.353266217203

Extracting fit parameters...

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  6.347e+01  5.742e+01  1.000e-04  1.000e+04 ( 1.000e-13)
252        Index:  1.894e+00  6.378e-01  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:  6.760e-01  1.580e-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.184e-01  2.914e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.39
Ra Dec: 36.058 7.013
Photon Index (Free Index): 1.89 +/- 0.64
Photon Flux (Free Index): 4.80e-08 +/- 5.40e-08
Energy Flux (Free Index): 4.38e-05 +/- 6.22e-05

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/355775/cmap_HighResolution_398736001_398995201_4FGL_J0224.2+0700_daily_bin615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-02', comment='SUCCESS', photon_flux='7.44e-08', energy_flux2='4.38e-05', photon_flux_error='7.43e-08', dlogl='3.53e-01', energy_flux='2.15e-05', photon_flux2='4.80e-08', job_status='DONE', time_completed='2021-08-15 20:19:21.187098', photon_index_error2='0.64', photon_index2='1.89', ts='1.67', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='2.49e-07', energy_flux_error2='6.22e-05', EG='0.89', time_epoch_completed='1629083961.19', return_code='0', job_id='355775', GAL2='0.68', EG2='0.92', return_code2='0', energy_flux_error='2.15e-05', photon_flux_error2='5.40e-08', ts2='2.39', photon_index='2.50' WHERE bin_id='615' AND source_name='4FGL J0224.2+0700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 20:19:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 355775: <4FGL_J0224.2+0700_daily_bin615> in cluster <slac> Done

Job <4FGL_J0224.2+0700_daily_bin615> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 15 20:05:30 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 20:05:45 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:05:45 2021
Terminated at Sun Aug 15 20:19:22 2021
Results reported at Sun Aug 15 20:19:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.2+0700_daily_bin615 36.0577 7.0126 398736001 398995201 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 :                                   636.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             206.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            832 sec.

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

