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


Performing analysis on: 4FGL_J0024.7+0349_daily_bin1777
RA = 6.1975, Dec = 3.8321
tmin = 699926401, tmax = 700185601
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='905612', job_status='RUN', time_executed='2023-03-11 00:07:10.621508', time_epoch_executed='1678522030.62' WHERE source_name='4FGL J0024.7+0349' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/905612

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/905612/ft1_4FGL_J0024.7+0349_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/905612/ft2_4FGL_J0024.7+0349_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/905612/ft1_4FGL_J0024.7+0349_daily_bin1777.fits outfile=/scratch/kocevski/905612/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1777.fits ra=6.1975 dec=3.8321 rad=12.0 tmin=699926401.0 tmax=700185601.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.73
user 3.42
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/905612/ft2_4FGL_J0024.7+0349_daily_bin1777.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/905612/ft2_4FGL_J0024.7+0349_daily_bin1777.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/905612/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/905612/ft1_filtered_4FGL_J0024.7+0349_daily_bin1777.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.55
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 596

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/905612/ft1_filtered_4FGL_J0024.7+0349_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/905612/ft2_4FGL_J0024.7+0349_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/905612/ltcube_699926401_700185601_4FGL_J0024.7+0349_daily_bin1777.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/905612/ft2_4FGL_J0024.7+0349_daily_bin1777.fits
.....................!
real 14.66
user 14.11
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/905612/ft1_filtered_4FGL_J0024.7+0349_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/905612/ft2_4FGL_J0024.7+0349_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/905612/ltcube_699926401_700185601_4FGL_J0024.7+0349_daily_bin1777.fits outfile=/scratch/kocevski/905612/expmap_699926401_700185601_4FGL_J0024.7+0349_daily_bin1777.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/905612/ltcube_699926401_700185601_4FGL_J0024.7+0349_daily_bin1777.fits
.....................!
real 192.39
user 186.67
sys 4.74

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

Setting source of interest to:
4FGL J0024.7+0349 @ 6.1975 3.8321

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/905612/ft1_filtered_4FGL_J0024.7+0349_daily_bin1777.fits scfile=/scratch/kocevski/905612/ft2_4FGL_J0024.7+0349_daily_bin1777.fits outfile=/scratch/kocevski/905612/cmap_699926401_700185601_4FGL_J0024.7+0349_daily_bin1777.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=6.1975 yref=3.8321 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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/905612/ft1_filtered_4FGL_J0024.7+0349_daily_bin1777.fits scfile=/scratch/kocevski/905612/ft2_4FGL_J0024.7+0349_daily_bin1777.fits outfile=/scratch/kocevski/905612/cmap_HighResolution_699926401_700185601_4FGL_J0024.7+0349_daily_bin1777.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=6.1975 yref=3.8321 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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/905612/ft1_filtered_4FGL_J0024.7+0349_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/905612/ft2_4FGL_J0024.7+0349_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/905612/Model_4FGL_J0024.7+0349_daily_bin1777.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/905612/ft1_filtered_4FGL_J0024.7+0349_daily_bin1777.fits.....................!
real 70.56
user 69.03
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/905612/ft1_filtered_4FGL_J0024.7+0349_daily_bin1777.fits', '/scratch/kocevski/905612/ft2_4FGL_J0024.7+0349_daily_bin1777.fits', expMap='/scratch/kocevski/905612/expmap_699926401_700185601_4FGL_J0024.7+0349_daily_bin1777.fits', expCube='/scratch/kocevski/905612/ltcube_699926401_700185601_4FGL_J0024.7+0349_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/905612/Model_4FGL_J0024.7+0349_daily_bin1777.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0024.7+0349'

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  1.144e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
119        Index:  2.391e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
120        Scale:  1.332e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/905612/ft1_filtered_4FGL_J0024.7+0349_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/905612/ft2_4FGL_J0024.7+0349_daily_bin1777.fits
Exposure map: /scratch/kocevski/905612/expmap_699926401_700185601_4FGL_J0024.7+0349_daily_bin1777.fits
Exposure cube: /scratch/kocevski/905612/ltcube_699926401_700185601_4FGL_J0024.7+0349_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/905612/Model_4FGL_J0024.7+0349_daily_bin1777.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) = 6538.83511509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.395       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1974       1.0000          .0000       .10000E+07
     3 'norm      '    1.6294       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.631       1.0000          .0000       .10000E+07
     5 'norm      '    .65476E-04   1.0000          .0000       .10000E+07
     6 'norm      '    3.5051       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6184       1.0000          .0000       .10000E+07
     8 'norm      '    13.667       1.0000          .0000       .10000E+07
     9 'norm      '    .15965E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16498E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .41900E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.7299       1.0000          .0000       .10000E+07
    13 'Prefactor '    .70144E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .18425E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .10887E-04   1.0000          .0000       .10000E+07
    16 'norm      '    19.922       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16024E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .97526E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2309       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91257       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6538.811     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1479 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.366        22.170       -.43147E-06   -.85919E-01
   2  Prefactor     3.1717        3.7774        .13259E-06    .43043E-03
   3  norm          1.5607        4.0877        .15992E-05    .53805E-02
   4  Prefactor     11.986        16.998        .50001E-06    .41750E-01
   5  norm           .0000        1.1769        .15038E-06** at limit **
   6  norm          3.5332        5.0842        .67236E-06    .61226E-03
   7  Prefactor     1.5942        1.9349        .73973E-07   -.10502E-01
   8  norm          13.715        4.4140       -.15863E-06   -.95645E-01
   9  norm           .0000        3.6822        .41014E-07** at limit **
  10  Prefactor      .0000        4.0276       -.11472E-06** at limit **
  11  Prefactor      .0000        1.9529       -.88793E-07** at limit **
  12  Prefactor     5.7663        3.3824        .82302E-07    .12385E-02
  13  Prefactor      .0000        1.2591       -.16934E-06** at limit **
  14  norm          .11102E-09    6.0529        .16837E-06** at limit **
  15  Prefactor     .47365E-04    30.971        .80290E-06** at limit **
  16  norm          19.898        3.3499        .24099E-07   -.12314E-02
  17  Prefactor     .47778E-04    26.580        .18818E-05** at limit **
  18  Prefactor     .44409E-09    9.6191        .76336E-06** at limit **
  19  Normalizat    1.2293        .24460       -.12381E-04    .62114E-05
  20  Prefactor     .91277        .16667        .86607E-05    .62707E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.3664
  Prefactor  = 3.17174
  norm       = 1.56069
  Prefactor  = 11.9862
  norm       = 0
  norm       = 3.53317
  Prefactor  = 1.5942
  norm       = 13.7153
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.76633
  Prefactor  = 0
  norm       = 1.11022e-10
  Prefactor  = 4.73649e-05
  norm       = 19.8982
  Prefactor  = 4.77783e-05
  Prefactor  = 4.44089e-10
  Normalizat = 1.22927
  Prefactor  = 0.912769
 **********
 **   18 **HESSE 
 **********

 FCN=   6538.811     FROM HESSE     STATUS=OK           331 CALLS     1810 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.366        24.652        .21137E-03   -1.5611    
   2  Prefactor     3.1717        3.7978        .56640E-03   -1.5672    
   3  norm          1.5607        4.4051        .82821E-03   -1.5683    
   4  Prefactor     11.986        18.021        .29349E-03   -1.5639    
   5  norm           .0000        1.1761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.5332        5.4188        .53977E-03   -1.5670    
   7  Prefactor     1.5942        49.045        .83177E-03   -1.5683    
   8  norm          13.715        14.058        .27068E-03   -1.5634    
   9  norm           .0000        3.6823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        4.0258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        1.9549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.7663        3.3732        .41937E-03   -1.5660    
  13  Prefactor      .0000        1.2583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .11102E-09    6.0513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .47365E-04    51.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          19.898        3.3480        .22412E-03   -1.5619    
  17  Prefactor     .47778E-04    48.035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .44409E-09    9.6209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2293        .21683        .65785E-01   -.85703    
  20  Prefactor     .91277        .14417        .45165E-01   -.95696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35587e-06
Minuit parameter uncertainties:
  1  24.6523
  2  3.79783
  3  4.40511
  4  18.0213
  5  2.56053e-06
  6  5.41884
  7  17.6849
  8  14.0584
  9  1.2293e-05
  10  4.07304e-06
  11  1.10063e-05
  12  3.37325
  13  2.72563e-06
  14  4.65192e-05
  15  0.0992535
  16  3.34803
  17  0.0958134
  18  0.000133141
  19  0.216987
  20  0.144227
Done.

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

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  1.594e+00  1.768e+01  0.000e+00  1.000e+06 ( 1.000e-13)
119        Index:  2.391e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
120        Scale:  1.332e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.128e-01  1.442e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.229e+00  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 6.197 3.832
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/905612/likelihoodResults_699926401_700185601_4FGL_J0024.7+0349_daily_bin1777.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) = 6538.76627191
delta logL = 0.0444991774239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6538.51304854
delta logL = 0.297722555232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68914E-05   1.0000          .0000       .10000E+07
     2 'Index     '    8.7490       1.0000          .0000       10.000    
     3 'Normalizat'    1.1641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94540       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6538.815     FROM MIGRAD    STATUS=CONVERGED    177 CALLS      508 TOTAL
                     EDM=   .57E-15    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .55116E-04    1.3704    ** at limit **
   2  Index         1.3551        .13994E-01    1.3516       -.63927E-10
   3  Normalizat    1.2342        .21981E-04    .21859E-01   -.10914E-03
   4  Prefactor     .91178        .15929E-04    .17718E-01   -.27010E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 1.35507
  Normalizat = 1.23416
  Prefactor  = 0.911776
 **********
 **   18 **HESSE 
 **********

 FCN=   6538.815     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      537 TOTAL
                     EDM=   .53E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .48112E-03    .13704        .28739E+07
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3551        .40465E-01    1.3516       -.28345E+07
   3  Normalizat    1.2342        .63550E-04    .38795E-03    8135.9    
   4  Prefactor     .91178        .46056E-04    .23927E-03   -126.62    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.3299e-15
Minuit parameter uncertainties:
  1  4.41499e-07
  2  0.0404661
  3  6.35496e-05
  4  4.6056e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/905612': 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) = 6538.81544359
delta logL = -0.00467249844223

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  1.110e-10  4.415e-07  0.000e+00  1.000e+06 ( 1.000e-13)
119        Index:  1.355e+00  4.047e-02  0.000e+00  1.000e+01 (-1.000e+00)
120        Scale:  1.332e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.118e-01  4.606e-05  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.234e+00  6.355e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 6.197 3.832

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/905612/cmap_HighResolution_699926401_700185601_4FGL_J0024.7+0349_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', job_status='DONE', photon_flux_upper_limit='1.36e-07', time_completed='2023-03-11 00:16:52.897841', job_id='905612', GAL2='0.91', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1678522612.9', return_code2='102', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='-4.67e-03', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1777' AND source_name='4FGL J0024.7+0349' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:16:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 905612: <4FGL_J0024.7+0349_daily_bin1777> in cluster <slac> Done

Job <4FGL_J0024.7+0349_daily_bin1777> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Mar 11 00:04:50 2023
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:04:51 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:04:51 2023
Terminated at Sat Mar 11 00:16:53 2023
Results reported at Sat Mar 11 00:16:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0024.7+0349_daily_bin1777 6.1975 3.8321 699926401 700185601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0024.7+0349 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   583.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            723 sec.

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

