aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 90 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7436
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0224.2+0700_daily_bin1727
RA = 36.0577, Dec = 7.0126
tmin = 686966401, tmax = 687225601
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='204937', job_status='RUN', time_executed='2022-10-12 00:08:10.561183', time_epoch_executed='1665558490.56' WHERE source_name='4FGL J0224.2+0700' and cadence='daily' and bin_id='1727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/204937

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/204937/ft1_4FGL_J0224.2+0700_daily_bin1727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/204937/ft2_4FGL_J0224.2+0700_daily_bin1727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/204937/ft1_4FGL_J0224.2+0700_daily_bin1727.fits outfile=/scratch/kocevski/204937/ft1_filteredMKT_4FGL_J0224.2+0700_daily_bin1727.fits ra=36.0577 dec=7.0126 rad=12.0 tmin=686966401.0 tmax=687225601.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.41
user 2.69
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/204937/ft2_4FGL_J0224.2+0700_daily_bin1727.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/204937/ft1_filteredMKT_4FGL_J0224.2+0700_daily_bin1727.fits evtable="EVENTS" outfile="/scratch/kocevski/204937/ft1_filtered_4FGL_J0224.2+0700_daily_bin1727.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.84
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 54

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/204937/ft1_filtered_4FGL_J0224.2+0700_daily_bin1727.fits" evtable="EVENTS" scfile=/scratch/kocevski/204937/ft2_4FGL_J0224.2+0700_daily_bin1727.fits sctable="SC_DATA" outfile=/scratch/kocevski/204937/ltcube_686966401_687225601_4FGL_J0224.2+0700_daily_bin1727.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/204937/ft2_4FGL_J0224.2+0700_daily_bin1727.fits
.....................!
real 13.75
user 12.62
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/204937/ft1_filtered_4FGL_J0224.2+0700_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/204937/ft2_4FGL_J0224.2+0700_daily_bin1727.fits sctable="SC_DATA" expcube=/scratch/kocevski/204937/ltcube_686966401_687225601_4FGL_J0224.2+0700_daily_bin1727.fits outfile=/scratch/kocevski/204937/expmap_686966401_687225601_4FGL_J0224.2+0700_daily_bin1727.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/204937/ltcube_686966401_687225601_4FGL_J0224.2+0700_daily_bin1727.fits
.....................!
real 191.06
user 185.34
sys 5.26

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/204937/ft1_filtered_4FGL_J0224.2+0700_daily_bin1727.fits scfile=/scratch/kocevski/204937/ft2_4FGL_J0224.2+0700_daily_bin1727.fits outfile=/scratch/kocevski/204937/cmap_686966401_687225601_4FGL_J0224.2+0700_daily_bin1727.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.74
user 0.37
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/204937/ft1_filtered_4FGL_J0224.2+0700_daily_bin1727.fits scfile=/scratch/kocevski/204937/ft2_4FGL_J0224.2+0700_daily_bin1727.fits outfile=/scratch/kocevski/204937/cmap_HighResolution_686966401_687225601_4FGL_J0224.2+0700_daily_bin1727.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.75
user 0.38
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/204937/ft1_filtered_4FGL_J0224.2+0700_daily_bin1727.fits', '/scratch/kocevski/204937/ft2_4FGL_J0224.2+0700_daily_bin1727.fits', expMap='/scratch/kocevski/204937/expmap_686966401_687225601_4FGL_J0224.2+0700_daily_bin1727.fits', expCube='/scratch/kocevski/204937/ltcube_686966401_687225601_4FGL_J0224.2+0700_daily_bin1727.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/204937/Model_4FGL_J0224.2+0700_daily_bin1727.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  0.000e+00  1.000e+06 ( 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/204937/ft1_filtered_4FGL_J0224.2+0700_daily_bin1727.fits
Spacecraft file(s): /scratch/kocevski/204937/ft2_4FGL_J0224.2+0700_daily_bin1727.fits
Exposure map: /scratch/kocevski/204937/expmap_686966401_687225601_4FGL_J0224.2+0700_daily_bin1727.fits
Exposure cube: /scratch/kocevski/204937/ltcube_686966401_687225601_4FGL_J0224.2+0700_daily_bin1727.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/204937/Model_4FGL_J0224.2+0700_daily_bin1727.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) = 645.854287933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65806E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .18955E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .39349       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32505E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .33943E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .44403E-02   1.0000          .0000       .10000E+07
     7 'norm      '    6.3784       1.0000          .0000       .10000E+07
     8 'Prefactor '    .39533       1.0000          .0000       .10000E+07
     9 'Prefactor '    .44096       1.0000          .0000       .10000E+07
    10 'Prefactor '    .69284E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .49457E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    20.116       1.0000          .0000       .10000E+07
    13 'Prefactor '    .32768E-01   1.0000          .0000       .10000E+07
    14 'norm      '    4.5410       1.0000          .0000       .10000E+07
    15 'Prefactor '    .27159       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10577E-01   1.0000          .0000       .10000E+07
    17 'norm      '    142.11       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.668       1.0000          .0000       .10000E+07
    19 'Prefactor '    .27833E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19605E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .72137E-02   1.0000          .0000       .10000E+07
    22 'norm      '    40.323       1.0000          .0000       .10000E+07
    23 'norm      '    20.527       1.0000          .0000       .10000E+07
    24 'Prefactor '    7.6378       1.0000          .0000       .10000E+07
    25 'norm      '    34.470       1.0000          .0000       .10000E+07
    26 'Normalizat'    .10005E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0197       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   645.7943     FROM MIGRAD    STATUS=CONVERGED    261 CALLS     2577 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        36.507        .38708E-06** at limit **
   2  norm          .15602E-01    391.48        .43282E-05** at limit **
   3  Prefactor     .37236E-05    154.24       -.59871E-05** at limit **
   4  Prefactor     .19121E-05    37.465        .14987E-05** at limit **
   5  norm           .0000        47.387       -.29307E-06** at limit **
   6  Prefactor     .11102E-09    19.488       -.10504E-05** at limit **
   7  norm          6.3892        6.2754       -.59303E-07   -.20205E-03
   8  Prefactor     .98810E-08    102.66       -.46702E-05** at limit **
   9  Prefactor     .51598E-05    269.08        .77268E-06** at limit **
  10  Prefactor     .22914E-03    133.13        .70245E-05** at limit **
  11  Prefactor     .11618E-06    473.94        .68052E-05** at limit **
  12  Prefactor     28.418        149.02       -.50537E-05   -.23259E-01
  13  Prefactor      .0000        94.062        .82484E-06** at limit **
  14  norm          4.3918        4.2211        .14687E-05   -.15921E-02
  15  Prefactor     .24980E-08    187.90       -.14131E-05** at limit **
  16  Prefactor     .19399E-03    121.28        .49681E-05** at limit **
  17  norm          142.66        106.80       -.22251E-06   -.19321    
  18  Prefactor     21.101        183.46       -.83233E-05    .27599E-01
  19  Prefactor      .0000        167.87       -.27854E-05** at limit **
  20  Prefactor      .0000        87.421        .63722E-06** at limit **
  21  Prefactor     .11334E-05    30.372        .12601E-05** at limit **
  22  norm          35.015        57.106        .18805E-05    .31791E-01
  23  norm          21.621        33.246       -.75239E-06   -.13222E-01
  24  Prefactor     8.5017        28.440       -.27197E-05   -.42955E-02
  25  norm          35.322        46.828       -.10879E-05   -.16833E-01
  26  Normalizat    .10000E-01    6.4470        .58705E-03** at limit **
  27  Prefactor     1.0101        .34831        .15266E-04   -.24485E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.015602
  Prefactor  = 3.72358e-06
  Prefactor  = 1.91208e-06
  norm       = 0
  Prefactor  = 1.11022e-10
  norm       = 6.38925
  Prefactor  = 9.88098e-09
  Prefactor  = 5.15976e-06
  Prefactor  = 0.000229143
  Prefactor  = 1.16185e-07
  Prefactor  = 28.4184
  Prefactor  = 0
  norm       = 4.39181
  Prefactor  = 2.498e-09
  Prefactor  = 0.00019399
  norm       = 142.657
  Prefactor  = 21.1011
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.13343e-06
  norm       = 35.0148
  norm       = 21.6207
  Prefactor  = 8.50165
  norm       = 35.3222
  Normalizat = 0.01
  Prefactor  = 1.01005
 **********
 **   18 **HESSE 
 **********

 FCN=   645.7943     FROM HESSE     STATUS=OK           534 CALLS     3111 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        36.479        .14959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .15602E-01    1954.3        .42118E-03   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .37236E-05    254.65        .90245E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .19121E-05    61.482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        47.384        .16249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    19.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.3892        6.2830        .39718E-03   -1.5657    
   8  Prefactor     .98810E-08    256.16        .90029E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .51598E-05    285.88        .84886E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22914E-03    759.69        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11618E-06    478.47        .15562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.418        290.63        .22303E-03   -1.5601    
  13  Prefactor      .0000        92.088        .16308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.3918        4.4756        .47218E-03   -1.5666    
  15  Prefactor     .24980E-08    187.61        .10619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .19399E-03    282.46        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          142.66        127.27        .83893E-04   -1.5469    
  18  Prefactor     21.101        300.33        .29302E-03   -1.5616    
  19  Prefactor      .0000        166.37        .16567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        87.838        .17063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .11334E-05    68.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          35.015        75.703        .15749E-03   -1.5590    
  23  norm          21.621        34.687        .22078E-03   -1.5615    
  24  Prefactor     8.5017        29.206        .36262E-03   -1.5650    
  25  norm          35.322        46.902        .17035E-03   -1.5589    
  26  Normalizat    .10000E-01    .99218        .32143       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.0101        .38561        .42174E-01   -.92395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39041e-05
Minuit parameter uncertainties:
  1  1.27204e-06
  2  11.0475
  3  0.0615882
  4  0.0216851
  5  1.80543e-05
  6  9.66686e-05
  7  6.283
  8  0.00317824
  9  0.076817
  10  0.834556
  11  0.014912
  12  181.772
  13  9.43611e-05
  14  4.47562
  15  0.00137174
  16  0.468187
  17  127.274
  18  159.224
  19  0.000122366
  20  3.5905e-05
  21  0.0176554
  22  75.7046
  23  34.6869
  24  29.206
  25  46.9026
  26  1.15236e-05
  27  0.386671
Done.

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

Extracting fit parameters...

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  9.881e-09  3.178e-03  0.000e+00  1.000e+06 ( 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:  1.010e+00  3.867e-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.000e-02  1.152e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.058 7.013
Photon Flux Upper Limit: 1.82e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.42e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/204937/likelihoodResults_686966401_687225601_4FGL_J0224.2+0700_daily_bin1727.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) = 645.796144266
delta logL = -0.0018634399986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 645.794282356
delta logL = -1.52995949065e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   645.7943     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      223 TOTAL
                     EDM=   .48E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12768E-08    211.58       -.22479E-05** at limit **
   2  Index         1.5894        5.7314       -.22470E-03   -.74536E-11
   3  Normalizat    .10000E-01    6.3714        .64543E-05** at limit **
   4  Prefactor     1.0101        .22554        .53977E-05   -.24995E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27676e-09
  Index      = 1.58935
  Normalizat = 0.01
  Prefactor  = 1.01005
 **********
 **   18 **HESSE 
 **********

 FCN=   645.7943     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      260 TOTAL
                     EDM=   .94E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12768E-08    60.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5894        7.0193        .50000       -.75067    
   3  Normalizat    .10000E-01    .33078E-03    .32116       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0101        .53810E-02    .43326E-01   -.92395    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.41394e-13
Minuit parameter uncertainties:
  1  0.000552955
  2  143839
  3  6.05592e-07
  4  0.00538103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/204937': 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): 102
logL (Free Index) = 645.794280826
delta logL = -2.63753463514e-11

Extracting fit parameters...

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  1.277e-09  5.530e-04  0.000e+00  1.000e+06 ( 1.000e-13)
252        Index:  1.589e+00  1.438e+05  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:  1.010e+00  5.381e-03  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.000e-02  6.056e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/204937/cmap_HighResolution_686966401_687225601_4FGL_J0224.2+0700_daily_bin1727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.42e-01', job_status='DONE', photon_flux_upper_limit='1.82e-06', time_completed='2022-10-12 00:14:16.944590', job_id='204937', GAL2='1.01', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1665558856.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-2.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1727' AND source_name='4FGL J0224.2+0700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:14:16 PDT 2022

UCCESS', return_code='0', GAL='1.01', dlogl='-2.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1727' AND source_name='4FGL J0224.2+0700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:14:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 204936: <4FGL_J0224.2+0700_daily_bin1727> in cluster <slac> Done

Job <4FGL_J0224.2+0700_daily_bin1727> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Oct 12 00:05:42 2022
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:05:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:05:47 2022
Terminated at Wed Oct 12 00:14:02 2022
Results reported at Wed Oct 12 00:14:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.2+0700_daily_bin1727 36.0577 7.0126 686966401 687225601 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 :                                   358.61 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             303.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   495 sec.
    Turnaround time :                            500 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 204937: <4FGL_J0224.2+0700_daily_bin1727> in cluster <slac> Done

Job <4FGL_J0224.2+0700_daily_bin1727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 12 00:05:42 2022
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:05:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:05:47 2022
Terminated at Wed Oct 12 00:14:17 2022
Results reported at Wed Oct 12 00:14:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.2+0700_daily_bin1727 36.0577 7.0126 686966401 687225601 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 :                                   359.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   510 sec.
    Turnaround time :                            515 sec.

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

