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


Performing analysis on: 4FGL_J0224.2+0700_daily_bin1745
RA = 36.0577, Dec = 7.0126
tmin = 691632001, tmax = 691891201
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='637162', job_status='RUN', time_executed='2022-12-05 00:06:05.547190', time_epoch_executed='1670227565.55' WHERE source_name='4FGL J0224.2+0700' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/637162

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/637162/ft1_4FGL_J0224.2+0700_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/637162/ft2_4FGL_J0224.2+0700_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/637162/ft1_4FGL_J0224.2+0700_daily_bin1745.fits outfile=/scratch/kocevski/637162/ft1_filteredMKT_4FGL_J0224.2+0700_daily_bin1745.fits ra=36.0577 dec=7.0126 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.39
user 2.15
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/637162/ft2_4FGL_J0224.2+0700_daily_bin1745.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/637162/ft1_filteredMKT_4FGL_J0224.2+0700_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/637162/ft1_filtered_4FGL_J0224.2+0700_daily_bin1745.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.69
user 0.31
sys 0.19

Number of photons that the gtmktime cut: 216

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/637162/ft1_filtered_4FGL_J0224.2+0700_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/637162/ft2_4FGL_J0224.2+0700_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/637162/ltcube_691632001_691891201_4FGL_J0224.2+0700_daily_bin1745.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/637162/ft2_4FGL_J0224.2+0700_daily_bin1745.fits
.....................!
real 12.39
user 11.98
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/637162/ft1_filtered_4FGL_J0224.2+0700_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637162/ft2_4FGL_J0224.2+0700_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/637162/ltcube_691632001_691891201_4FGL_J0224.2+0700_daily_bin1745.fits outfile=/scratch/kocevski/637162/expmap_691632001_691891201_4FGL_J0224.2+0700_daily_bin1745.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/637162/ltcube_691632001_691891201_4FGL_J0224.2+0700_daily_bin1745.fits
.....................!
real 191.48
user 184.94
sys 5.63

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/637162/ft1_filtered_4FGL_J0224.2+0700_daily_bin1745.fits scfile=/scratch/kocevski/637162/ft2_4FGL_J0224.2+0700_daily_bin1745.fits outfile=/scratch/kocevski/637162/cmap_691632001_691891201_4FGL_J0224.2+0700_daily_bin1745.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.57
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/637162/ft1_filtered_4FGL_J0224.2+0700_daily_bin1745.fits scfile=/scratch/kocevski/637162/ft2_4FGL_J0224.2+0700_daily_bin1745.fits outfile=/scratch/kocevski/637162/cmap_HighResolution_691632001_691891201_4FGL_J0224.2+0700_daily_bin1745.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.90
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7367       1.0000          .0000       .10000E+07
     2 'norm      '    15.209       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.417       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.3178       1.0000          .0000       .10000E+07
     5 'norm      '    .46689E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9048       1.0000          .0000       .10000E+07
     7 'norm      '    .24981E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .35761E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    51.281       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55526E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .17418       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11549E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.3803       1.0000          .0000       .10000E+07
    14 'norm      '    .48644E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .76740E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .44833E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .15107E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    62.750       1.0000          .0000       .10000E+07
    19 'Prefactor '    .98839E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .10918       1.0000          .0000       .10000E+07
    21 'Prefactor '    .59099E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .71165E-02   1.0000          .0000       .10000E+07
    23 'norm      '    13.250       1.0000          .0000       .10000E+07
    24 'Prefactor '    .69322E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .23664E-02   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.5271       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .90497       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=   2465.766     FROM MIGRAD    STATUS=CONVERGED    211 CALLS     2405 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7334        5.6418       -.54267E-07   -.32396E-03
   2  norm          15.183        5.5850       -.11021E-07    .54505E-02
   3  Prefactor     25.275        8.9169        .17127E-07    .12903    
   4  Prefactor     3.2907        4.3649       -.40785E-07   -.65949E-03
   5  norm           .0000        7.8733        .64397E-07** at limit **
   6  Prefactor     7.7919        6.1519        .72891E-07    .11197E-03
   7  norm           .0000        2.1779       -.14381E-06** at limit **
   8  Prefactor      .0000        47.562        .10494E-06** at limit **
   9  Prefactor     77.175        148.36        .27545E-06    .24708E-01
  10  Prefactor     .15127E-05    77.051        .15414E-05** at limit **
  11  Prefactor     .46853E-03    39.812        .52328E-06** at limit **
  12  Prefactor     .88041E-07    21.334        .14143E-06** at limit **
  13  Prefactor     4.3378        4.8935       -.27875E-07   -.21561E-01
  14  norm           .0000        1.0439        .72738E-08** at limit **
  15  Prefactor     .38858E-09    56.688       -.48456E-06** at limit **
  16  Prefactor      .0000        9.7878        .61422E-08** at limit **
  17  norm           .0000        17.700       -.75560E-07** at limit **
  18  Prefactor     57.468        26.890       -.60941E-07    .12003    
  19  Prefactor     .88818E-09    61.432       -.30793E-06** at limit **
  20  Prefactor     .42188E-08    63.677        .54413E-08** at limit **
  21  Prefactor     .41911E-07    22.382       -.70425E-06** at limit **
  22  norm          .66613E-09    19.996       -.65682E-06** at limit **
  23  norm          13.353        13.203       -.27445E-07   -.24634E-02
  24  Prefactor     .11102E-09    5.7677       -.15831E-06** at limit **
  25  norm          .33695E-07    43.944       -.37924E-06** at limit **
  26  Normalizat    1.5304        .38425       -.16500E-05    .41534E-04
  27  Prefactor     .90119        .23915        .25816E-05    .72828E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.73337
  norm       = 15.1835
  Prefactor  = 25.2747
  Prefactor  = 3.29072
  norm       = 0
  Prefactor  = 7.79192
  norm       = 0
  Prefactor  = 0
  Prefactor  = 77.1747
  Prefactor  = 1.51273e-06
  Prefactor  = 0.000468534
  Prefactor  = 8.80407e-08
  Prefactor  = 4.33782
  norm       = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  norm       = 0
  Prefactor  = 57.4678
  Prefactor  = 8.88178e-10
  Prefactor  = 4.21885e-09
  Prefactor  = 4.19109e-08
  norm       = 6.66134e-10
  norm       = 13.3526
  Prefactor  = 1.11022e-10
  norm       = 3.36953e-08
  Normalizat = 1.53037
  Prefactor  = 0.901188
 **********
 **   18 **HESSE 
 **********

 FCN=   2465.766     FROM HESSE     STATUS=OK           536 CALLS     2941 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7334        5.6294        .41912E-03   -1.5660    
   2  norm          15.183        25.962        .25656E-03   -1.5630    
   3  Prefactor     25.275        20.217        .19840E-03   -1.5607    
   4  Prefactor     3.2907        4.3795        .55550E-03   -1.5672    
   5  norm           .0000        7.8727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.7919        6.1652        .35639E-03   -1.5652    
   7  norm           .0000        2.1220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        47.392        .16161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     77.175        149.94        .13965E-03   -1.5532    
  10  Prefactor     .15127E-05    78.350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .46853E-03    20.975        .12255E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .88041E-07    21.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.3378        28.541        .48099E-03   -1.5666    
  14  norm           .0000        1.0458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38858E-09    56.623        .14602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        9.7999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        17.672        .17383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     57.468        94.677        .12625E-03   -1.5556    
  19  Prefactor     .88818E-09    61.401        .13960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .42188E-08    63.572        .13689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .41911E-07    26.912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .66613E-09    24.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          13.353        13.192        .27492E-03   -1.5635    
  24  Prefactor     .11102E-09    5.7718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .33695E-07    44.138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.5304        .34784        .67983E-01   -.76928    
  27  Prefactor     .90119        .21712        .45068E-01   -.96100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77999e-06
Minuit parameter uncertainties:
  1  5.62937
  2  25.9621
  3  20.217
  4  4.3795
  5  2.11155e-05
  6  6.16519
  7  1.10975e-05
  8  5.07097e-05
  9  149.949
  10  0.021774
  11  0.198268
  12  0.002765
  13  22.2538
  14  4.60337e-06
  15  0.000287748
  16  9.01999e-06
  17  7.47961e-06
  18  94.6797
  19  0.000464874
  20  0.0010381
  21  0.00212354
  22  0.000260939
  23  13.1922
  24  5.46179e-05
  25  0.0024384
  26  0.348392
  27  0.217329
Done.

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

Extracting fit parameters...

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  0.000e+00  5.071e-05  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:  9.012e-01  2.173e-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.530e+00  3.484e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/637162/likelihoodResults_691632001_691891201_4FGL_J0224.2+0700_daily_bin1745.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): 102
logL (Free Index) = 2465.77586211
delta logL = -0.0100904785527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2465.7657731
delta logL = -1.46805996337e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22211E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.3848       1.0000          .0000       10.000    
     3 'Normalizat'    1.5300       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90115       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=   2465.766     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      247 TOTAL
                     EDM=   .14E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    1.8909        .42118E-03** at limit **
   2  Index         1.6128        6.4249        .50000       -.22737E-11
   3  Normalizat    1.5304        .18582E-02    .67983E-01   -.55602E-04
   4  Prefactor     .90119        .11479E-02    .45020E-01   -.90505E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.6128
  Normalizat = 1.53037
  Prefactor  = 0.901187
 **********
 **   18 **HESSE 
 **********

 FCN=   2465.766     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      272 TOTAL
                     EDM=   .66E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    9.0453        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6128        5.7266        .51000       -.74428    
   3  Normalizat    1.5304        .40598E-02    .30072E-03   -.76928    
   4  Prefactor     .90119        .25090E-02    .23280E-03   -.96100    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.6237e-14
Minuit parameter uncertainties:
  1  3.62352e-05
  2  164075
  3  0.00405979
  4  0.00250901
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/637162': 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) = 2465.76577163
delta logL = -4.54747350886e-12

Extracting fit parameters...

4FGL J0224.2+0700
   Spectrum: PowerLaw
251    Prefactor:  5.551e-11  3.624e-05  0.000e+00  1.000e+06 ( 1.000e-13)
252        Index:  1.613e+00  1.641e+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:  9.012e-01  2.509e-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.530e+00  4.060e-03  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/637162/cmap_HighResolution_691632001_691891201_4FGL_J0224.2+0700_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.81e-02', job_status='DONE', photon_flux_upper_limit='2.33e-07', time_completed='2022-12-05 00:13:30.979589', job_id='637162', GAL2='0.90', fit_tolerance='1e-08', EG2='1.53', EG='1.53', time_epoch_completed='1670228010.98', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-4.55e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1745' AND source_name='4FGL J0224.2+0700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:13:31 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 637162: <4FGL_J0224.2+0700_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0224.2+0700_daily_bin1745> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec  5 00:04:59 2022
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:05:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:05:01 2022
Terminated at Mon Dec  5 00:13:31 2022
Results reported at Mon Dec  5 00:13:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.2+0700_daily_bin1745 36.0577 7.0126 691632001 691891201 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 :                                   445.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   510 sec.
    Turnaround time :                            512 sec.

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

