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


Performing analysis on: 4FGL_J0024.7+0349_daily_bin1762
RA = 6.1975, Dec = 3.8321
tmin = 696038401, tmax = 696297601
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='95721', job_status='RUN', time_executed='2023-01-25 00:10:07.057651', time_epoch_executed='1674634207.06' WHERE source_name='4FGL J0024.7+0349' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/95721

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/95721/ft1_4FGL_J0024.7+0349_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/95721/ft2_4FGL_J0024.7+0349_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/95721/ft1_4FGL_J0024.7+0349_daily_bin1762.fits outfile=/scratch/kocevski/95721/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1762.fits ra=6.1975 dec=3.8321 rad=12.0 tmin=696038401.0 tmax=696297601.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.72
user 3.44
sys 0.24

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

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

Number of photons that the gtmktime cut: 574

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/95721/ft1_filtered_4FGL_J0024.7+0349_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/95721/ft2_4FGL_J0024.7+0349_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/95721/ltcube_696038401_696297601_4FGL_J0024.7+0349_daily_bin1762.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/95721/ft2_4FGL_J0024.7+0349_daily_bin1762.fits
.....................!
real 15.26
user 14.78
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/95721/ft1_filtered_4FGL_J0024.7+0349_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/95721/ft2_4FGL_J0024.7+0349_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/95721/ltcube_696038401_696297601_4FGL_J0024.7+0349_daily_bin1762.fits outfile=/scratch/kocevski/95721/expmap_696038401_696297601_4FGL_J0024.7+0349_daily_bin1762.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/95721/ltcube_696038401_696297601_4FGL_J0024.7+0349_daily_bin1762.fits
.....................!
real 193.12
user 187.12
sys 5.55

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/95721/ft1_filtered_4FGL_J0024.7+0349_daily_bin1762.fits scfile=/scratch/kocevski/95721/ft2_4FGL_J0024.7+0349_daily_bin1762.fits outfile=/scratch/kocevski/95721/cmap_696038401_696297601_4FGL_J0024.7+0349_daily_bin1762.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/95721/ft1_filtered_4FGL_J0024.7+0349_daily_bin1762.fits scfile=/scratch/kocevski/95721/ft2_4FGL_J0024.7+0349_daily_bin1762.fits outfile=/scratch/kocevski/95721/cmap_HighResolution_696038401_696297601_4FGL_J0024.7+0349_daily_bin1762.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/95721/ft1_filtered_4FGL_J0024.7+0349_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/95721/ft2_4FGL_J0024.7+0349_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/95721/Model_4FGL_J0024.7+0349_daily_bin1762.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/95721/ft1_filtered_4FGL_J0024.7+0349_daily_bin1762.fits.....................!
real 67.55
user 65.49
sys 1.39

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0343       1.0000          .0000       .10000E+07
     2 'Prefactor '    .98336E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .32946E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .63244E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .96079E-06   1.0000          .0000       .10000E+07
     6 'norm      '    1.4698       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12448       1.0000          .0000       .10000E+07
     8 'norm      '    .28730E-01   1.0000          .0000       .10000E+07
     9 'norm      '    2.3204       1.0000          .0000       .10000E+07
    10 'Prefactor '    30.148       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17850E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.2803       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13051E-02   1.0000          .0000       .10000E+07
    14 'norm      '    6.0996       1.0000          .0000       .10000E+07
    15 'Prefactor '    112.21       1.0000          .0000       .10000E+07
    16 'norm      '    28.818       1.0000          .0000       .10000E+07
    17 'Prefactor '    .59943       1.0000          .0000       .10000E+07
    18 'Prefactor '    .89696       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2294       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .80024       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=   6085.502     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1644 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0270        14.470       -.57119E-05   -.10964E-01
   2  Prefactor     .66613E-09    11.338       -.21960E-06** at limit **
   3  norm          .22204E-09    6.9032        .47580E-06** at limit **
   4  Prefactor      .0000        3.2841        .18605E-05** at limit **
   5  norm           .0000        1.4161       -.12463E-07** at limit **
   6  norm          1.4702        3.1325        .55764E-06    .39991E-03
   7  Prefactor      .0000        36.619        .10538E-05** at limit **
   8  norm          .67895E-05    46.095       -.41377E-05** at limit **
   9  norm          2.3304        9.9648        .84501E-06    .12980E-02
  10  Prefactor     30.069        18.976       -.10823E-05   -.66449E-01
  11  Prefactor      .0000        2.0702       -.44411E-06** at limit **
  12  Prefactor     1.2794        2.8964       -.10456E-05    .79467E-04
  13  Prefactor      .0000        2.6726        .18249E-05** at limit **
  14  norm          6.0933        11.536        .21960E-05    .41488E-01
  15  Prefactor     112.95        114.54        .44309E-05   -.35780E-01
  16  norm          28.800        4.1766       -.35562E-06   -.54448E-02
  17  Prefactor     .84061E-06    107.30       -.92921E-06** at limit **
  18  Prefactor     .83036        8.2248        .12862E-05   -.84753E-01
  19  Normalizat    1.2304        .23315        .88575E-05    .16973E-04
  20  Prefactor     .80016        .16797       -.77361E-05    .28509E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.02704
  Prefactor  = 6.66134e-10
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.47017
  Prefactor  = 0
  norm       = 6.78946e-06
  norm       = 2.33039
  Prefactor  = 30.0692
  Prefactor  = 0
  Prefactor  = 1.27938
  Prefactor  = 0
  norm       = 6.09331
  Prefactor  = 112.95
  norm       = 28.7995
  Prefactor  = 8.40605e-07
  Prefactor  = 0.83036
  Normalizat = 1.23039
  Prefactor  = 0.80016
 **********
 **   18 **HESSE 
 **********

 FCN=   6085.502     FROM HESSE     STATUS=OK           347 CALLS     1991 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0270        16.458        .44793E-03   -1.5663    
   2  Prefactor     .66613E-09    11.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .22204E-09    1.7607        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.2896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.4150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.4702        3.1834        .88616E-03   -1.5684    
   7  Prefactor      .0000        8.8944        .71941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .67895E-05    5.0286        .11795E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.3304        9.9783        .67311E-03   -1.5677    
  10  Prefactor     30.069        19.598        .18215E-03   -1.5598    
  11  Prefactor      .0000        2.0780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.2794        2.9293        .98066E-03   -1.5685    
  13  Prefactor      .0000        2.6530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.0933        12.944        .40628E-03   -1.5659    
  15  Prefactor     112.95        119.44        .94409E-04   -1.5495    
  16  norm          28.800        4.1854        .18631E-03   -1.5601    
  17  Prefactor     .84061E-06    107.03        .69279E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .83036        63.969        .45970E-03   -1.5690    
  19  Normalizat    1.2304        .20662        .61160E-01   -.85669    
  20  Prefactor     .80016        .14469        .43720E-01   -.99722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15751e-06
Minuit parameter uncertainties:
  1  16.458
  2  0.000171843
  3  3.74274e-05
  4  1.64766e-05
  5  4.70442e-06
  6  3.18336
  7  1.97848e-05
  8  0.0116862
  9  9.64439
  10  19.5984
  11  1.07177e-06
  12  2.92929
  13  3.53892e-06
  14  12.9445
  15  119.44
  16  4.18535
  17  0.0189711
  18  14.5765
  19  0.206758
  20  0.144762
Done.

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

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  0.000e+00  1.978e-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.002e-01  1.448e-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.230e+00  2.068e-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: 9.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/95721/likelihoodResults_696038401_696297601_4FGL_J0024.7+0349_daily_bin1762.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) = 6085.51890777
delta logL = -0.0170669801155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6085.50184975
delta logL = -8.96436176845e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38492E-03   1.0000          .0000       .10000E+07
     2 'Index     '    1.9734       1.0000          .0000       10.000    
     3 'Normalizat'    1.2300       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80041       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=   6085.502     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      201 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    36.931       -.58458E-06** at limit **
   2  Index         2.3035        2.7107       -.85904E-06   -.72335E-12
   3  Normalizat    1.2304        .22426        .10572E-05    .42348E-04
   4  Prefactor     .80016        .16530        .17691E-05    .46135E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.30351
  Normalizat = 1.23039
  Prefactor  = 0.80016
 **********
 **   18 **HESSE 
 **********

 FCN=   6085.502     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      236 TOTAL
                     EDM=   .30E-16    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .50806E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3035        6.1164        .50000       -.56960    
   3  Normalizat    1.2304        .19331E-03    .61160E-01   -.85669    
   4  Prefactor     .80016        .14249E-03    .43723E-01   -.99722    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.01742e-17
Minuit parameter uncertainties:
  1  2.93742e-06
  2  14099
  3  0.000193305
  4  0.000142495
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/95721': 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) = 6085.50184079
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  5.551e-11  2.937e-06  0.000e+00  1.000e+06 ( 1.000e-13)
119        Index:  2.304e+00  1.410e+04  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:  8.002e-01  1.425e-04  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.230e+00  1.933e-04  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/95721/cmap_HighResolution_696038401_696297601_4FGL_J0024.7+0349_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.19e-08', time_completed='2023-01-25 00:19:40.094709', job_id='95721', GAL2='0.80', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1674634780.09', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='-9.09e-13', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1762' AND source_name='4FGL J0024.7+0349' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 00:19:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 95721: <4FGL_J0024.7+0349_daily_bin1762> in cluster <slac> Done

Job <4FGL_J0024.7+0349_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:04:47 2023
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:07:07 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:07:07 2023
Terminated at Wed Jan 25 00:19:40 2023
Results reported at Wed Jan 25 00:19:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0024.7+0349_daily_bin1762 6.1975 3.8321 696038401 696297601 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 :                                   570.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            893 sec.

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

