/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 6 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin1282
RA = 140.885, Dec = 38.8743
tmin = 571622401, tmax = 571881601
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='202405', job_status='RUN', time_executed='2021-08-31 10:30:55.501785', time_epoch_executed='1630431055.5' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='1282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202405

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202405/ft1_4FGL_J0923.5+3852_daily_bin1282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202405/ft2_4FGL_J0923.5+3852_daily_bin1282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202405/ft1_4FGL_J0923.5+3852_daily_bin1282.fits outfile=/scratch/kocevski/202405/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1282.fits ra=140.885 dec=38.8743 rad=12.0 tmin=571622401.0 tmax=571881601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.69
user 2.49
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/202405/ft2_4FGL_J0923.5+3852_daily_bin1282.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/202405/ft2_4FGL_J0923.5+3852_daily_bin1282.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/202405/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin1282.fits evtable="EVENTS" outfile="/scratch/kocevski/202405/ft1_filtered_4FGL_J0923.5+3852_daily_bin1282.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/202405/ft1_filtered_4FGL_J0923.5+3852_daily_bin1282.fits" evtable="EVENTS" scfile=/scratch/kocevski/202405/ft2_4FGL_J0923.5+3852_daily_bin1282.fits sctable="SC_DATA" outfile=/scratch/kocevski/202405/ltcube_571622401_571881601_4FGL_J0923.5+3852_daily_bin1282.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/202405/ft2_4FGL_J0923.5+3852_daily_bin1282.fits
.....................!
real 12.49
user 12.13
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202405/ft1_filtered_4FGL_J0923.5+3852_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/202405/ft2_4FGL_J0923.5+3852_daily_bin1282.fits sctable="SC_DATA" expcube=/scratch/kocevski/202405/ltcube_571622401_571881601_4FGL_J0923.5+3852_daily_bin1282.fits outfile=/scratch/kocevski/202405/expmap_571622401_571881601_4FGL_J0923.5+3852_daily_bin1282.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/202405/ltcube_571622401_571881601_4FGL_J0923.5+3852_daily_bin1282.fits
.....................!
real 190.38
user 186.33
sys 3.62

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

Setting source of interest to:
4FGL J0923.5+3852 @ 140.885 38.8743

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/202405/ft1_filtered_4FGL_J0923.5+3852_daily_bin1282.fits scfile=/scratch/kocevski/202405/ft2_4FGL_J0923.5+3852_daily_bin1282.fits outfile=/scratch/kocevski/202405/cmap_571622401_571881601_4FGL_J0923.5+3852_daily_bin1282.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=140.885 yref=38.8743 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/202405/ft1_filtered_4FGL_J0923.5+3852_daily_bin1282.fits scfile=/scratch/kocevski/202405/ft2_4FGL_J0923.5+3852_daily_bin1282.fits outfile=/scratch/kocevski/202405/cmap_HighResolution_571622401_571881601_4FGL_J0923.5+3852_daily_bin1282.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=140.885 yref=38.8743 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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/202405/ft1_filtered_4FGL_J0923.5+3852_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/202405/ft2_4FGL_J0923.5+3852_daily_bin1282.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/202405/Model_4FGL_J0923.5+3852_daily_bin1282.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/202405/ft1_filtered_4FGL_J0923.5+3852_daily_bin1282.fits......!
real 14.09
user 12.97
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/202405/ft1_filtered_4FGL_J0923.5+3852_daily_bin1282.fits', '/scratch/kocevski/202405/ft2_4FGL_J0923.5+3852_daily_bin1282.fits', expMap='/scratch/kocevski/202405/expmap_571622401_571881601_4FGL_J0923.5+3852_daily_bin1282.fits', expCube='/scratch/kocevski/202405/ltcube_571622401_571881601_4FGL_J0923.5+3852_daily_bin1282.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/202405/Model_4FGL_J0923.5+3852_daily_bin1282.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0923.5+3852'

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.377e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/202405/ft1_filtered_4FGL_J0923.5+3852_daily_bin1282.fits
Spacecraft file(s): /scratch/kocevski/202405/ft2_4FGL_J0923.5+3852_daily_bin1282.fits
Exposure map: /scratch/kocevski/202405/expmap_571622401_571881601_4FGL_J0923.5+3852_daily_bin1282.fits
Exposure cube: /scratch/kocevski/202405/ltcube_571622401_571881601_4FGL_J0923.5+3852_daily_bin1282.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/202405/Model_4FGL_J0923.5+3852_daily_bin1282.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 84.2013917001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 82.7181752133

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6744       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3012       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.9195       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6996       1.0000         .10000E-03   10000.    
     5 'norm      '    6.0513       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3258       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2656       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9002       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.9597       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.4222       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0628       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2153       1.0000         .10000E-03   10000.    
    13 'norm      '    .59684E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2473.6       1.0000         .10000E-03   10000.    
    15 'norm      '    3.3766       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1332       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.2265       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .33593       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.7926       1.0000         .10000E-03   10000.    
    20 'norm      '    .50996E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.371       1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.244       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .66578       1.0000         .10000E-03   10000.    
    24 'norm      '    7.8810       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10455E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .19303       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .22573       1.0000         .10000E-03   10000.    
    28 'norm      '    .63976E-01   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    30 'Prefactor '    2.4047       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   81.13722     FROM MIGRAD    STATUS=CONVERGED    630 CALLS      761 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6744        1.0186         .0000         .0000    
   2  Prefactor     1.3012        1.1044         .0000         .0000    
   3  Prefactor     8.9195        1.0016         .0000         .0000    
   4  Prefactor     1.6996        1.0516         .0000         .0000    
   5  norm          128.26        378.77        .22138E-05   -.49789E-02
   6  Prefactor    10000.0        9729.8       -.38480E-04    .94633E-04
   7  Prefactor     .77890E-03    7720.6        .33189E-04** at limit **
   8  Prefactor     1.9002        1.0396         .0000         .0000    
   9  Prefactor     5.9597        1.0036         .0000         .0000    
  10  Prefactor     1.4222        1.0811         .0000         .0000    
  11  norm          1.0628        1.2223         .0000         .0000    
  12  Prefactor     7.2153        1.0024         .0000         .0000    
  13  norm          .10011E-03    212.45       -.23085E-07** at limit **
  14  Prefactor     2642.0        324.86        .93439E-06   -.52492E-01
  15  norm          3.3766        1.0114         .0000         .0000    
  16  Prefactor     9996.3        5367.4        .61719E-04    .80506E-03
  17  Prefactor     1.2265        1.1254         .0000         .0000    
  18  Prefactor     .10580E-03    112.41        .80292E-05** at limit **
  19  Prefactor     .10129E-03    162.77        .52057E-05** at limit **
  20  norm          .10175E-03    669.26        .16272E-05** at limit **
  21  Prefactor     .10205E-03    6838.3       -.25390E-03** at limit **
  22  Prefactor     3792.7        2760.8       -.56133E-04   -.37719E-03
  23  Prefactor     .10251E-03    393.90        .33067E-05** at limit **
  24  norm          102.95        120.65       -.63653E-05   -.14475E-02
  25  Prefactor     .10448E-03    54.766       -.27322E-05** at limit **
  26  Prefactor     .10132E-03    150.02        .27227E-05** at limit **
  27  Prefactor     88.508        94.184        .25310E-05   -.12105E-02
  28  norm          .10001E-03    60.039        .18360E-06** at limit **
  29  Normalizat    .10000E-01    .49909       -.84289E-05** at limit **
  30  Prefactor     .50243E-06    6.4805        .70235E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.67445
  Prefactor  = 1.30123
  Prefactor  = 8.91954
  Prefactor  = 1.69958
  norm       = 128.259
  Prefactor  = 10000
  Prefactor  = 0.000778902
  Prefactor  = 1.9002
  Prefactor  = 5.95967
  Prefactor  = 1.42219
  norm       = 1.06285
  Prefactor  = 7.21531
  norm       = 0.000100112
  Prefactor  = 2642.02
  norm       = 3.37659
  Prefactor  = 9996.25
  Prefactor  = 1.22652
  Prefactor  = 0.000105801
  Prefactor  = 0.000101289
  norm       = 0.000101748
  Prefactor  = 0.000102053
  Prefactor  = 3792.67
  Prefactor  = 0.000102514
  norm       = 102.951
  Prefactor  = 0.000104479
  Prefactor  = 0.000101319
  Prefactor  = 88.5079
  norm       = 0.000100007
  Normalizat = 0.01
  Prefactor  = 5.02427e-07
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   81.13722     FROM HESSE     STATUS=FAILED         9 CALLS      770 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     558.79        556.02         .0000       -1.5381    
   2  Prefactor     1.3012        1.1044         .0000       -1.5480    
   3  Prefactor     8.9195        1.0016         .0000       -1.5111    
   4  Prefactor     1.6996        1.0516         .0000       -1.5447    
   5  norm          128.26        4.5914        .22138E-05   -1.3438    
   6  Prefactor    10000.0        .22770       -.38480E-04    1.5721    
   7  Prefactor     .77890E-03    .59463E-01    .33189E-04   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9002        1.0396         .0000       -1.5432    
   9  Prefactor     5.9597        1.0036         .0000       -1.5220    
  10  Prefactor     1.4222        1.0811         .0000       -1.5469    
  11  norm          1.0628        1.2223         .0000       -1.5502    
  12  Prefactor     7.2153        1.0024         .0000       -1.5171    
  13  norm          .10011E-03    .21703       -.23085E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2642.0        1.0219        .93439E-06   -.49110    
  15  norm          3.3766        1.0114         .0000       -1.5340    
  16  Prefactor     9996.3        2.1209        .61719E-04    1.6095    
  17  Prefactor     1.2265        1.1254         .0000       -1.5486    
  18  Prefactor     .10580E-03    .27992        .80292E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10129E-03    .92621E-01    .52057E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10175E-03    .21506        .16272E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10205E-03    .10287E-01   -.25390E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3792.7        11.699       -.56133E-04   -.24388    
  23  Prefactor     .10251E-03    .35580        .33067E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          102.95        3.6044       -.63653E-05   -1.7741    
  25  Prefactor     .10448E-03    .20571       -.27322E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10132E-03    .24729        .27227E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     88.508        9.4545        .25310E-05   -1.3824    
  28  norm          .10001E-03    .21800        .18360E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .10000E-01    .25699       -.84289E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .50243E-06    .14195        .70235E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.03792e-10
Minuit parameter uncertainties:
  1  1.01864
  2  1.10438
  3  1.00158
  4  1.05159
  5  4.59142
  6  0.060266
  7  0.0127074
  8  1.03966
  9  1.00356
  10  1.08115
  11  1.22236
  12  1.00242
  13  0.000311208
  14  1.02186
  15  1.01141
  16  2.12098
  17  1.12546
  18  0.00254857
  19  0.000690976
  20  0.00122642
  21  0.000290651
  22  11.6994
  23  0.00189174
  24  3.60439
  25  0.0019197
  26  0.00114212
  27  9.45464
  28  7.62745e-05
  29  3.01507e-05
  30  0.000535392
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 81.1372206097

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.377e+00  1.011e+00  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.609e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  2.149e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  5.024e-07  5.354e-04  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  1.000e-02  3.015e-05  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 140.885 38.874
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -2.66e+02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/202405/likelihoodResults_571622401_571881601_4FGL_J0923.5+3852_daily_bin1282.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): 101
logL (Free Index) = 81.137530919
delta logL = -0.000310309331738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 81.137530919
delta logL = -0.000310309331738

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    2.6090       1.0000          .0000       5.0000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   81.13753     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    alpha       2.6090        1.0002        .41201         .0000    
                               ERR DEF=  .500    
Final values: 
  alpha      = 2.60898
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   81.13753     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    alpha       1.3758        1.2240        .41201        .43606E-01
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.02905
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202405': 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) = 81.137530919
delta logL = -0.000310309331738

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  3.377e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
306        alpha:  2.609e+00  1.029e+00  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  2.149e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.637e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  3.378e-07  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
634   Normalization:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 140.885 38.874

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/202405/cmap_HighResolution_571622401_571881601_4FGL_J0923.5+3852_daily_bin1282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-2.66e+02', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-08-31 10:36:20.860244', job_id='202405', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630431380.86', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-3.10e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1282' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:36:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 202405: <4FGL_J0923.5+3852_daily_bin1282> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin1282> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 10:30:35 2021
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:30:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 10:30:37 2021
Terminated at Tue Aug 31 10:36:21 2021
Results reported at Tue Aug 31 10:36:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin1282 140.885 38.8743 571622401 571881601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+3852 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   322.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   344 sec.
    Turnaround time :                            346 sec.

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

