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


Performing analysis on: 4FGL_J0024.7+0349_daily_bin1754
RA = 6.1975, Dec = 3.8321
tmin = 693964801, tmax = 694224001
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='624382', job_status='RUN', time_executed='2023-01-01 00:08:11.855047', time_epoch_executed='1672560491.86' WHERE source_name='4FGL J0024.7+0349' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/624382

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/624382/ft1_4FGL_J0024.7+0349_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/624382/ft2_4FGL_J0024.7+0349_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/624382/ft1_4FGL_J0024.7+0349_daily_bin1754.fits outfile=/scratch/kocevski/624382/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1754.fits ra=6.1975 dec=3.8321 rad=12.0 tmin=693964801.0 tmax=694224001.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.98
user 3.71
sys 0.21

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

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

Number of photons that the gtmktime cut: 1048

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/624382/ft1_filtered_4FGL_J0024.7+0349_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/624382/ft2_4FGL_J0024.7+0349_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/624382/ltcube_693964801_694224001_4FGL_J0024.7+0349_daily_bin1754.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/624382/ft2_4FGL_J0024.7+0349_daily_bin1754.fits
.....................!
real 14.81
user 14.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/624382/ft1_filtered_4FGL_J0024.7+0349_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/624382/ft2_4FGL_J0024.7+0349_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/624382/ltcube_693964801_694224001_4FGL_J0024.7+0349_daily_bin1754.fits outfile=/scratch/kocevski/624382/expmap_693964801_694224001_4FGL_J0024.7+0349_daily_bin1754.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/624382/ltcube_693964801_694224001_4FGL_J0024.7+0349_daily_bin1754.fits
.....................!
real 191.21
user 185.90
sys 4.22

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/624382/ft1_filtered_4FGL_J0024.7+0349_daily_bin1754.fits scfile=/scratch/kocevski/624382/ft2_4FGL_J0024.7+0349_daily_bin1754.fits outfile=/scratch/kocevski/624382/cmap_693964801_694224001_4FGL_J0024.7+0349_daily_bin1754.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/624382/ft1_filtered_4FGL_J0024.7+0349_daily_bin1754.fits scfile=/scratch/kocevski/624382/ft2_4FGL_J0024.7+0349_daily_bin1754.fits outfile=/scratch/kocevski/624382/cmap_HighResolution_693964801_694224001_4FGL_J0024.7+0349_daily_bin1754.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/624382/ft1_filtered_4FGL_J0024.7+0349_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/624382/ft2_4FGL_J0024.7+0349_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/624382/Model_4FGL_J0024.7+0349_daily_bin1754.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/624382/ft1_filtered_4FGL_J0024.7+0349_daily_bin1754.fits.....................!
real 114.42
user 112.65
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/624382/ft1_filtered_4FGL_J0024.7+0349_daily_bin1754.fits', '/scratch/kocevski/624382/ft2_4FGL_J0024.7+0349_daily_bin1754.fits', expMap='/scratch/kocevski/624382/expmap_693964801_694224001_4FGL_J0024.7+0349_daily_bin1754.fits', expCube='/scratch/kocevski/624382/ltcube_693964801_694224001_4FGL_J0024.7+0349_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/624382/Model_4FGL_J0024.7+0349_daily_bin1754.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/624382/ft1_filtered_4FGL_J0024.7+0349_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/624382/ft2_4FGL_J0024.7+0349_daily_bin1754.fits
Exposure map: /scratch/kocevski/624382/expmap_693964801_694224001_4FGL_J0024.7+0349_daily_bin1754.fits
Exposure cube: /scratch/kocevski/624382/ltcube_693964801_694224001_4FGL_J0024.7+0349_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/624382/Model_4FGL_J0024.7+0349_daily_bin1754.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) = 11030.3688266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48926E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .13561E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .74246E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.5751       1.0000          .0000       .10000E+07
     5 'norm      '    10.327       1.0000          .0000       .10000E+07
     6 'norm      '    .89715E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11606E-03   1.0000          .0000       .10000E+07
     8 'norm      '    28.212       1.0000          .0000       .10000E+07
     9 'norm      '    3.1650       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.4461       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.6815       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.6602       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41181       1.0000          .0000       .10000E+07
    14 'norm      '    .71665E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.2710       1.0000          .0000       .10000E+07
    16 'norm      '    38.640       1.0000          .0000       .10000E+07
    17 'Prefactor '    .85693E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .19885E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1748       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96152       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=   11030.34     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1388 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    4.0291       -.12649E-06** at limit **
   2  Prefactor     .21949E-06    7.2972        .10637E-05** at limit **
   3  norm           .0000        3.5384        .36164E-07** at limit **
   4  Prefactor     8.5829        1.5036        .54370E-06   -.77787E-02
   5  norm          10.323        3.5559       -.89184E-06    .82293E-02
   6  norm           .0000        2.0643        .20606E-05** at limit **
   7  Prefactor     .19706E-07    9.1315        .43559E-05** at limit **
   8  norm          28.222        9.4372       -.32620E-05   -.10451    
   9  norm          3.1501        8.7981       -.45175E-06   -.18650E-01
  10  Prefactor     1.6168        7.0358       -.86880E-05    .34972E-01
  11  Prefactor     4.6749        3.9425        .55636E-06   -.93022E-02
  12  Prefactor     6.6606        2.7532       -.34648E-06    .77551E-02
  13  Prefactor     .42032        3.8992       -.34678E-05   -.46430E-03
  14  norm          .41339E-06    3.8794        .31321E-05** at limit **
  15  Prefactor     10.031        266.19       -.11239E-04   -.67553E-03
  16  norm          38.607        3.6817        .31713E-06   -.50044E-02
  17  Prefactor     .31641E-08    20.239        .50067E-06** at limit **
  18  Prefactor     .10547E-08    5.5475        .46113E-06** at limit **
  19  Normalizat    1.1745        .19678        .24183E-04    .98922E-04
  20  Prefactor     .96140        .13892        .50157E-05    .16967E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 2.19491e-07
  norm       = 0
  Prefactor  = 8.58287
  norm       = 10.323
  norm       = 0
  Prefactor  = 1.97065e-08
  norm       = 28.2225
  norm       = 3.15013
  Prefactor  = 1.6168
  Prefactor  = 4.67492
  Prefactor  = 6.66057
  Prefactor  = 0.420323
  norm       = 4.13392e-07
  Prefactor  = 10.031
  norm       = 38.6066
  Prefactor  = 3.16414e-09
  Prefactor  = 1.05471e-09
  Normalizat = 1.17451
  Prefactor  = 0.961404
 **********
 **   18 **HESSE 
 **********

 FCN=   11030.34     FROM HESSE     STATUS=OK           341 CALLS     1729 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    4.0260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .21949E-06    10.398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        3.4458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.5829        12.996        .34208E-03   -1.5649    
   5  norm          10.323        3.9135        .31155E-03   -1.5644    
   6  norm           .0000        2.0445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .19706E-07    9.7216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          28.222        10.390        .18830E-03   -1.5602    
   9  norm          3.1501        9.3322        .56944E-03   -1.5672    
  10  Prefactor     1.6168        26.163        .89611E-03   -1.5683    
  11  Prefactor     4.6749        4.0071        .46487E-03   -1.5665    
  12  Prefactor     6.6606        2.7561        .38859E-03   -1.5656    
  13  Prefactor     .42032        1.3966        .59754E-02   -1.5695    
  14  norm          .41339E-06    10.154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.031        264.67        .34835E-03   -1.5645    
  16  norm          38.607        3.6932        .16089E-03   -1.5584    
  17  Prefactor     .31641E-08    20.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10547E-08    5.5451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1745        .17096        .70797E-01   -.87394    
  20  Prefactor     .96140        .12092        .45784E-01   -.94027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67011e-07
Minuit parameter uncertainties:
  1  5.17934e-05
  2  0.00302127
  3  1.8653e-05
  4  12.9958
  5  3.91349
  6  1.44663e-05
  7  0.000875689
  8  10.3896
  9  9.33222
  10  13.0079
  11  4.00707
  12  2.75614
  13  1.39656
  14  0.00409777
  15  103.057
  16  3.69318
  17  0.000504892
  18  0.000152908
  19  0.171042
  20  0.120949
Done.

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

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  1.971e-08  8.757e-04  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.614e-01  1.209e-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.175e+00  1.710e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 6.197 3.832
Photon Flux Upper Limit: 6.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/624382/likelihoodResults_693964801_694224001_4FGL_J0024.7+0349_daily_bin1754.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) = 11030.3913076
delta logL = -0.0556299247419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11030.3356778
delta logL = -1.32853529067e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69522E-06   1.0000          .0000       .10000E+07
     2 'Index     '    3.0990       1.0000          .0000       10.000    
     3 'Normalizat'    1.1746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96139       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11030.34     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      220 TOTAL
                     EDM=   .20E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.4824        .42118E-03** at limit **
   2  Index         1.0861        .67564        .29070E-04     .0000    
   3  Normalizat    1.1745        1.1157       -.53495E-06    .59763E-05
   4  Prefactor     .96140        1.3029        .16491E-05   -.33407E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.08606
  Normalizat = 1.17451
  Prefactor  = 0.961404
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11030.34     FROM HESSE     STATUS=FAILED         9 CALLS      229 TOTAL
                     EDM=   .20E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.4824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .65194E-01    1.1143        .29070E-04   -.89914    
   3  Normalizat    1.1745        1.1157       -.53495E-06   -.87394    
   4  Prefactor     .96140        1.3029        .16491E-05   -.94027    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.02594e-13
Minuit parameter uncertainties:
  1  7.49166e-07
  2  0.681068
  3  1.1396
  4  1.3496
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/624382': 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): 101
logL (Free Index) = 11030.3356776
delta logL = 1.01681507658e-09

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  0.000e+00  7.492e-07  0.000e+00  1.000e+06 ( 1.000e-13)
119        Index:  1.086e+00  6.811e-01  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.614e-01  1.350e+00  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.175e+00  1.140e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 6.197 3.832

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/624382/cmap_HighResolution_693964801_694224001_4FGL_J0024.7+0349_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2023-01-01 00:20:35.226211', job_id='624382', GAL2='0.96', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1672561235.23', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.02e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1754' AND source_name='4FGL J0024.7+0349' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 00:20:35 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 624382: <4FGL_J0024.7+0349_daily_bin1754> in cluster <slac> Done

Job <4FGL_J0024.7+0349_daily_bin1754> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jan  1 00:04:36 2023
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 00:05:40 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 00:05:40 2023
Terminated at Sun Jan  1 00:20:36 2023
Results reported at Sun Jan  1 00:20:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0024.7+0349_daily_bin1754 6.1975 3.8321 693964801 694224001 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 :                                   743.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            960 sec.

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

