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


Performing analysis on: 4FGL_J0024.7+0349_daily_bin1774
RA = 6.1975, Dec = 3.8321
tmin = 699148801, tmax = 699408001
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='672270', job_status='RUN', time_executed='2023-03-02 00:07:16.108512', time_epoch_executed='1677744436.11' WHERE source_name='4FGL J0024.7+0349' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672270

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672270/ft1_4FGL_J0024.7+0349_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672270/ft2_4FGL_J0024.7+0349_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672270/ft1_4FGL_J0024.7+0349_daily_bin1774.fits outfile=/scratch/kocevski/672270/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1774.fits ra=6.1975 dec=3.8321 rad=12.0 tmin=699148801.0 tmax=699408001.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.04
user 2.62
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/672270/ft2_4FGL_J0024.7+0349_daily_bin1774.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/672270/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/672270/ft1_filtered_4FGL_J0024.7+0349_daily_bin1774.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.81
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 718

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672270/ft1_filtered_4FGL_J0024.7+0349_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/672270/ft2_4FGL_J0024.7+0349_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/672270/ltcube_699148801_699408001_4FGL_J0024.7+0349_daily_bin1774.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/672270/ft2_4FGL_J0024.7+0349_daily_bin1774.fits
.....................!
real 14.21
user 13.71
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672270/ft1_filtered_4FGL_J0024.7+0349_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/672270/ft2_4FGL_J0024.7+0349_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/672270/ltcube_699148801_699408001_4FGL_J0024.7+0349_daily_bin1774.fits outfile=/scratch/kocevski/672270/expmap_699148801_699408001_4FGL_J0024.7+0349_daily_bin1774.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/672270/ltcube_699148801_699408001_4FGL_J0024.7+0349_daily_bin1774.fits
.....................!
real 191.63
user 185.73
sys 5.45

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/672270/ft1_filtered_4FGL_J0024.7+0349_daily_bin1774.fits scfile=/scratch/kocevski/672270/ft2_4FGL_J0024.7+0349_daily_bin1774.fits outfile=/scratch/kocevski/672270/cmap_699148801_699408001_4FGL_J0024.7+0349_daily_bin1774.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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672270/ft1_filtered_4FGL_J0024.7+0349_daily_bin1774.fits scfile=/scratch/kocevski/672270/ft2_4FGL_J0024.7+0349_daily_bin1774.fits outfile=/scratch/kocevski/672270/cmap_HighResolution_699148801_699408001_4FGL_J0024.7+0349_daily_bin1774.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/672270/ft1_filtered_4FGL_J0024.7+0349_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/672270/ft2_4FGL_J0024.7+0349_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/672270/Model_4FGL_J0024.7+0349_daily_bin1774.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/672270/ft1_filtered_4FGL_J0024.7+0349_daily_bin1774.fits.....................!
real 82.37
user 80.96
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10849E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .47502E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .69488E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.4775       1.0000          .0000       .10000E+07
     5 'norm      '    .24861E-03   1.0000          .0000       .10000E+07
     6 'norm      '    1.8718       1.0000          .0000       .10000E+07
     7 'Prefactor '    .67272E-03   1.0000          .0000       .10000E+07
     8 'norm      '    4.3761       1.0000          .0000       .10000E+07
     9 'norm      '    14.166       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.0330       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.8738       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.8794       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26574E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .94669E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .85688E-02   1.0000          .0000       .10000E+07
    16 'norm      '    31.389       1.0000          .0000       .10000E+07
    17 'Prefactor '    25.025       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.8512       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4667       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80738       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=   7823.663     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1503 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-08    15.841       -.12103E-05** at limit **
   2  Prefactor     .55511E-10    3.0817       -.41132E-07** at limit **
   3  norm          .27756E-09    4.0435        .35663E-06** at limit **
   4  Prefactor     1.3942        50.917       -.11256E-04   -.27512E-02
   5  norm           .0000        2.7372       -.18300E-06** at limit **
   6  norm          1.8696        3.4656        .17192E-06   -.12659E-02
   7  Prefactor     .55511E-10    6.2033        .66837E-06** at limit **
   8  norm          4.3437        13.371        .30837E-05   -.10767E-02
   9  norm          14.135        2.5090        .54102E-06    .54178E-01
  10  Prefactor     4.9897        9.4420        .18865E-05   -.36847E-02
  11  Prefactor     5.8183        4.7344       -.90249E-07   -.45769E-02
  12  Prefactor     5.8770        3.4734        .12408E-07    .42830E-02
  13  Prefactor     .12768E-08    6.3259       -.11169E-05** at limit **
  14  norm          .22204E-09    3.4220       -.71454E-07** at limit **
  15  Prefactor     .13323E-08    35.165        .71415E-06** at limit **
  16  norm          31.393        3.6609        .58388E-09   -.20236E-02
  17  Prefactor     25.927        55.368        .30452E-05   -.13454E-01
  18  Prefactor     5.6540        11.486        .26970E-06   -.30246E-01
  19  Normalizat    1.4669        .24178       -.41797E-05    .21155E-04
  20  Prefactor     .80752        .16200       -.61539E-06   -.70293E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-09
  Prefactor  = 5.55112e-11
  norm       = 2.77556e-10
  Prefactor  = 1.39421
  norm       = 0
  norm       = 1.86956
  Prefactor  = 5.55112e-11
  norm       = 4.34369
  norm       = 14.1352
  Prefactor  = 4.98968
  Prefactor  = 5.81831
  Prefactor  = 5.87695
  Prefactor  = 1.27676e-09
  norm       = 2.22045e-10
  Prefactor  = 1.33227e-09
  norm       = 31.3928
  Prefactor  = 25.9268
  Prefactor  = 5.65402
  Normalizat = 1.4669
  Prefactor  = 0.807522
 **********
 **   18 **HESSE 
 **********

 FCN=   7823.663     FROM HESSE     STATUS=OK           333 CALLS     1836 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-08    15.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    3.0842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .27756E-09    4.0079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3942        52.921        .88299E-03   -1.5684    
   5  norm           .0000        2.7347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.8696        3.4914        .76093E-03   -1.5681    
   7  Prefactor     .55511E-10    6.2144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.3437        13.438        .48122E-03   -1.5666    
   9  norm          14.135        9.5766        .26586E-03   -1.5633    
  10  Prefactor     4.9897        9.5153        .44799E-03   -1.5663    
  11  Prefactor     5.8183        4.7486        .41412E-03   -1.5660    
  12  Prefactor     5.8770        3.4760        .41393E-03   -1.5659    
  13  Prefactor     .12768E-08    6.2688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .22204E-09    3.4301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13323E-08    35.132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          31.393        3.6555        .17851E-03   -1.5596    
  17  Prefactor     25.927        56.196        .19994E-03   -1.5606    
  18  Prefactor     5.6540        47.360        .41494E-03   -1.5660    
  19  Normalizat    1.4669        .20986        .66254E-01   -.78713    
  20  Prefactor     .80752        .14047        .43813E-01   -.99452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15909e-07
Minuit parameter uncertainties:
  1  0.000267065
  2  2.2613e-05
  3  6.95232e-05
  4  17.1795
  5  1.03062e-05
  6  3.49144
  7  3.4367e-05
  8  13.4385
  9  9.57664
  10  9.51532
  11  4.74855
  12  3.47601
  13  0.000180357
  14  5.18679e-05
  15  0.000431365
  16  3.65548
  17  56.1969
  18  32.7278
  19  0.209981
  20  0.140536
Done.

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

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  5.551e-11  3.437e-05  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:  8.075e-01  1.405e-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.467e+00  2.100e-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: 8.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672270/likelihoodResults_699148801_699408001_4FGL_J0024.7+0349_daily_bin1774.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) = 7823.74077458
delta logL = -0.0777401228888

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7823.66303614
delta logL = -1.6829390006e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18770E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.6389       1.0000          .0000       10.000    
     3 'Normalizat'    1.4666       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80780       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7821.300     FROM MIGRAD    STATUS=FAILED       260 CALLS      419 TOTAL
                     EDM=   .28E-02    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85982E-05    .11984E-03    .74901E-07** at limit **
   2  Index         9.0715        7.2497        .59828E-02   -.17628E-03
   3  Normalizat    1.2697        .20338        .31077E-03    .11333E-03
   4  Prefactor     .90196        .13912        .25228E-03    .45628E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7821.300     FROM SIMPLEX   STATUS=UNCHANGED     86 CALLS      505 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85982E-05    .11984E-03    .10792E-06** at limit **
   2  Index         9.0715        7.2497        .49993E-02   -.17628E-03
   3  Normalizat    1.2697        .20338        .22210E-03    .11333E-03
   4  Prefactor     .90196        .13912        .21004E-03    .45628E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7821.300     FROM MIGRAD    STATUS=FAILED        39 CALLS      544 TOTAL
                     EDM=   .14E-02    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .85990E-05    .11852E-03     .0000    ** at limit **
   2  Index         9.0715        7.2335         .0000       -.14028E-03
   3  Normalizat    1.2697        .18466         .0000       -.80116E-04
   4  Prefactor     .90196        .12649         .0000        .21270E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.59901e-06
  Index      = 9.07151
  Normalizat = 1.26966
  Prefactor  = 0.901958
 **********
 **   18 **HESSE 
 **********

 FCN=   7821.300     FROM HESSE     STATUS=NOT POSDEF    23 CALLS      567 TOTAL
                     EDM=   .28E-02    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .85990E-05    .11859E-03    .37451E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.0715        7.2340        .95725E-05    .95153    
   3  Normalizat    1.2697        .18525        .24861E-05   -.84477    
   4  Prefactor     .90196        .12688        .10091E-04   -.96073    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.00276532
Minuit parameter uncertainties:
  1  6.38684e-05
  2  2.99193
  3  0.185345
  4  0.126923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672270': 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): 1
logL (Free Index) = 7821.30021462
delta logL = 2.36281983871

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  8.599e-06  6.387e-05  0.000e+00  1.000e+06 ( 1.000e-13)
119        Index:  9.072e+00  2.992e+00  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.020e-01  1.269e-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.270e+00  1.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.32
Ra Dec: 6.197 3.832
Photon Index (Free Index): 9.07 +/- 2.99
Photon Flux (Free Index): 1.74e-07 +/- 8.57e-08
Energy Flux (Free Index): 1.97e-05 +/- 9.90e-06

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/672270/cmap_HighResolution_699148801_699408001_4FGL_J0024.7+0349_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.67e-03', comment='SUCCESS', energy_flux2='1.97e-05', dlogl='2.36e+00', photon_flux2='1.74e-07', job_status='DONE', time_completed='2023-03-02 00:17:47.144704', photon_index_error2='2.99', photon_index2='9.07', ts='-0.00', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='8.64e-08', energy_flux_error2='9.90e-06', EG='1.47', time_epoch_completed='1677745067.14', return_code='0', job_id='672270', GAL2='0.90', EG2='1.27', return_code2='1', photon_flux_error2='8.57e-08', ts2='5.32', photon_index='2.39' WHERE bin_id='1774' AND source_name='4FGL J0024.7+0349' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:17:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 672270: <4FGL_J0024.7+0349_daily_bin1774> in cluster <slac> Done

Job <4FGL_J0024.7+0349_daily_bin1774> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Mar  2 00:04:45 2023
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:04:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:04:47 2023
Terminated at Thu Mar  2 00:17:47 2023
Results reported at Thu Mar  2 00:17:47 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0024.7+0349_daily_bin1774 6.1975 3.8321 699148801 699408001 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 :                                   632.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             317.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            782 sec.

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

