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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin651
RA = 140.895, Dec = 41.4283
tmin = 408067201, tmax = 408326401
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='207689', job_status='RUN', time_executed='2021-08-31 10:47:16.158934', time_epoch_executed='1630432036.16' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='651'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/207689

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/207689/ft1_4FGL_J0923.5+4125_daily_bin651.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/207689/ft2_4FGL_J0923.5+4125_daily_bin651.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/207689/ft1_4FGL_J0923.5+4125_daily_bin651.fits outfile=/scratch/kocevski/207689/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin651.fits ra=140.895 dec=41.4283 rad=12.0 tmin=408067201.0 tmax=408326401.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 9.48
user 3.66
sys 3.89

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/207689/ft2_4FGL_J0923.5+4125_daily_bin651.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/207689/ft2_4FGL_J0923.5+4125_daily_bin651.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/207689/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin651.fits evtable="EVENTS" outfile="/scratch/kocevski/207689/ft1_filtered_4FGL_J0923.5+4125_daily_bin651.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 5.02
user 0.34
sys 3.79

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/207689/ft1_filtered_4FGL_J0923.5+4125_daily_bin651.fits" evtable="EVENTS" scfile=/scratch/kocevski/207689/ft2_4FGL_J0923.5+4125_daily_bin651.fits sctable="SC_DATA" outfile=/scratch/kocevski/207689/ltcube_408067201_408326401_4FGL_J0923.5+4125_daily_bin651.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/207689/ft2_4FGL_J0923.5+4125_daily_bin651.fits
.....................!
real 17.69
user 11.56
sys 4.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/207689/ft1_filtered_4FGL_J0923.5+4125_daily_bin651.fits evtable="EVENTS" scfile=/scratch/kocevski/207689/ft2_4FGL_J0923.5+4125_daily_bin651.fits sctable="SC_DATA" expcube=/scratch/kocevski/207689/ltcube_408067201_408326401_4FGL_J0923.5+4125_daily_bin651.fits outfile=/scratch/kocevski/207689/expmap_408067201_408326401_4FGL_J0923.5+4125_daily_bin651.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/207689/ltcube_408067201_408326401_4FGL_J0923.5+4125_daily_bin651.fits
.....................!
real 197.66
user 185.17
sys 9.33

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

Setting source of interest to:
4FGL J0923.5+4125 @ 140.895 41.4283

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/207689/ft1_filtered_4FGL_J0923.5+4125_daily_bin651.fits scfile=/scratch/kocevski/207689/ft2_4FGL_J0923.5+4125_daily_bin651.fits outfile=/scratch/kocevski/207689/cmap_408067201_408326401_4FGL_J0923.5+4125_daily_bin651.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.895 yref=41.4283 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 4.19
user 0.39
sys 3.75

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/207689/ft1_filtered_4FGL_J0923.5+4125_daily_bin651.fits scfile=/scratch/kocevski/207689/ft2_4FGL_J0923.5+4125_daily_bin651.fits outfile=/scratch/kocevski/207689/cmap_HighResolution_408067201_408326401_4FGL_J0923.5+4125_daily_bin651.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.895 yref=41.4283 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 4.19
user 0.38
sys 3.76

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/207689/ft1_filtered_4FGL_J0923.5+4125_daily_bin651.fits evtable="EVENTS" scfile=/scratch/kocevski/207689/ft2_4FGL_J0923.5+4125_daily_bin651.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/207689/Model_4FGL_J0923.5+4125_daily_bin651.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/207689/ft1_filtered_4FGL_J0923.5+4125_daily_bin651.fits.................................!
real 21.06
user 14.99
sys 5.92

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/207689/ft1_filtered_4FGL_J0923.5+4125_daily_bin651.fits', '/scratch/kocevski/207689/ft2_4FGL_J0923.5+4125_daily_bin651.fits', expMap='/scratch/kocevski/207689/expmap_408067201_408326401_4FGL_J0923.5+4125_daily_bin651.fits', expCube='/scratch/kocevski/207689/ltcube_408067201_408326401_4FGL_J0923.5+4125_daily_bin651.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/207689/Model_4FGL_J0923.5+4125_daily_bin651.xml', optimizer='MINUIT')

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

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.066e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/207689/ft1_filtered_4FGL_J0923.5+4125_daily_bin651.fits
Spacecraft file(s): /scratch/kocevski/207689/ft2_4FGL_J0923.5+4125_daily_bin651.fits
Exposure map: /scratch/kocevski/207689/expmap_408067201_408326401_4FGL_J0923.5+4125_daily_bin651.fits
Exposure cube: /scratch/kocevski/207689/ltcube_408067201_408326401_4FGL_J0923.5+4125_daily_bin651.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/207689/Model_4FGL_J0923.5+4125_daily_bin651.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) = 440.932862792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56919E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .83769E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.7895       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .98235E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    6.0040       1.0000         .10000E-03   10000.    
     6 'norm      '    6.3329       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18061       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8972       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1636       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.2886       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2261       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .32317E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.9696       1.0000         .10000E-03   10000.    
    15 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10318E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.1088       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.6322       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.6534       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.2812       1.0000         .10000E-03   10000.    
    22 'norm      '    .36688E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .21449E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.7319       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .75578E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .11479E-01   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .52045       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    88.879       1.0000         .10000E-03   10000.    
    31 'norm      '    .33466E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .36909       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .87755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   439.2256     FROM MIGRAD    STATUS=CONVERGED    264 CALLS      535 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    168.66        .93038E-02** at limit **
   2  Prefactor     .10000E-03    37.672        .10437E-01** at limit **
   3  Prefactor     .10067E-03    293.74        .60903E-02** at limit **
   4  Prefactor     .13773E-03    415.16        .90721E-02** at limit **
   5  norm          6.0040        1.0035         .0000         .0000    
   6  norm          6.3329        1.0031         .0000         .0000    
   7  Prefactor     .10000E-03    .24447        .21954E-05** at limit **
   8  Prefactor     1.8972        1.0398         .0000         .0000    
   9  Prefactor     4.1636        1.0074         .0000         .0000    
  10  Prefactor     9.3156        1.0029        .49491E-06    .14540E-03
  11  Prefactor     .10000E-03    .25839        .60484E-05** at limit **
  12  Prefactor     .10000E-03    .28510        .91163E-06** at limit **
  13  norm          .10000E-03    .20571       -.61671E-07** at limit **
  14  Prefactor     .79720        .36681       -.53232E-05    .62905E-02
  15  norm          .10000E-03    .20571       -.12940E-06** at limit **
  16  Prefactor     .10000E-03    .20571        .45634E-06** at limit **
  17  norm          .10000E-03    .20587        .33886E-07** at limit **
  18  Prefactor     3.5507        1.0832        .56390E-05    .94205E-04
  19  Prefactor     5.6322        1.0040         .0000         .0000    
  20  Prefactor     1.6534        1.0551         .0000         .0000    
  21  Prefactor     .67863E-01    .14547       -.68130E-05   -.50036E-02
  22  norm          .10000E-03    .21182        .19715E-06** at limit **
  23  Prefactor     .10000E-03    .25414        .91390E-06** at limit **
  24  Prefactor     1.7319        1.0493         .0000         .0000    
  25  Prefactor     .10002E-03    .21561       -.10518E-05** at limit **
  26  Prefactor     .10000E-03    .20571        .19814E-07** at limit **
  27  norm          .10001E-03    .20613       -.28720E-05** at limit **
  28  Prefactor     .41007E-02    .32228       -.17214E-05    .90050E-03
  29  Prefactor     .10000E-03    .20571       -.18811E-06** at limit **
  30  Prefactor     88.231        .99639       -.98690E-07    .53559E-02
  31  norm          .10000E-03    .28470        .31881E-06** at limit **
  32  Normalizat    .37265        .68749        .83968E-05    .55343E-04
  33  Prefactor     .87621        1.2227       -.44277E-05    .56955E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100675
  Prefactor  = 0.00013773
  norm       = 6.00399
  norm       = 6.33292
  Prefactor  = 0.0001
  Prefactor  = 1.89722
  Prefactor  = 4.1636
  Prefactor  = 9.31561
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.797203
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.55065
  Prefactor  = 5.63222
  Prefactor  = 1.65345
  Prefactor  = 0.0678627
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.73194
  Prefactor  = 0.000100025
  Prefactor  = 0.0001
  norm       = 0.000100011
  Prefactor  = 0.00410068
  Prefactor  = 0.0001
  Prefactor  = 88.2307
  norm       = 0.0001
  Normalizat = 0.372648
  Prefactor  = 0.876214
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   439.2256     FROM HESSE     STATUS=FAILED        19 CALLS      554 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    168.66        .93038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    37.672        .10437E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10067E-03    293.74        .60903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .13773E-03    415.16        .90721E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          521.94        515.89         .0000       -1.5218    
   6  norm          6.3329        1.0031         .0000       -1.5205    
   7  Prefactor     .10000E-03    .24447        .21954E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.8972        1.0398         .0000       -1.5432    
   9  Prefactor     4.1636        1.0074         .0000       -1.5300    
  10  Prefactor     9.3156        1.0029        .49491E-06   -1.5097    
  11  Prefactor     .10000E-03    .25839        .60484E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    .28510        .91163E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .20571       -.61671E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .79720        .36681       -.53232E-05   -1.5529    
  15  norm          .10000E-03    .20571       -.12940E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .20571        .45634E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .20587        .33886E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.5507        1.0832        .56390E-05   -1.5331    
  19  Prefactor     5.6322        1.0040         .0000       -1.5233    
  20  Prefactor     1.6534        1.0551         .0000       -1.5451    
  21  Prefactor     .67863E-01    .14547       -.68130E-05   -1.5760    
  22  norm          .10000E-03    .21182        .19715E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    .25414        .91390E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.7319        1.0493         .0000       -1.5445    
  25  Prefactor     .10002E-03    .21561       -.10518E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    .20571        .19814E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10001E-03    .20613       -.28720E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .41007E-02    .32228       -.17214E-05   -1.5695    
  29  Prefactor     .10000E-03    .20571       -.18811E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     88.231        .99639       -.98690E-07   -1.3827    
  31  norm          .10000E-03    .28470        .31881E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .37265        .68749        .83968E-05   -1.1874    
  33  Prefactor     .87621        1.2227       -.44277E-05   -.96977    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.2381e-09
Minuit parameter uncertainties:
  1  0.0016446
  2  0.00016691
  3  0.0282969
  4  0.252075
  5  1.00351
  6  1.00315
  7  1.39227e-06
  8  1.0398
  9  1.0074
  10  1.00291
  11  6.2781e-05
  12  1.31262e-05
  13  3.17769e-07
  14  0.36681
  15  1.28017e-06
  16  3.99723e-06
  17  3.46006e-06
  18  1.08318
  19  1.00399
  20  1.05516
  21  0.145474
  22  3.28795e-06
  23  2.78946e-06
  24  1.0493
  25  0.000146003
  26  3.7231e-07
  27  9.38337e-05
  28  0.0718152
  29  1.80578e-06
  30  0.996393
  31  3.94987e-06
  32  0.70403
  33  1.26438
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  3.551e+00  1.083e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  8.762e-01  1.264e+00  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  3.726e-01  7.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 140.895 41.428
Photon Flux Upper Limit: 6.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.74e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/207689/likelihoodResults_408067201_408326401_4FGL_J0923.5+4125_daily_bin651.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) = 439.196421538
delta logL = 0.0291780128485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 439.193770275
delta logL = 0.031829275064

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1225       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9542       1.0000          .0000       10.000    
     3 'Normalizat'    .37936       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86668       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   439.1938     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      252 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1239        12.474        .63347E-05   -.92665E-03
   2  Index         1.9540        1.2455       -.34296E-04   -.17213E-03
   3  Normalizat    .37935        .42878        .15522E-05    .75124E-04
   4  Prefactor     .86666        .48099       -.21419E-05    .13503E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.12391
  Index      = 1.95402
  Normalizat = 0.37935
  Prefactor  = 0.866656
 **********
 **   18 **HESSE 
 **********

 FCN=   439.1938     FROM HESSE     STATUS=OK            27 CALLS      279 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1239        13.680        .12005E-03   -1.5255    
   2  Index         1.9540        1.4153        .68312E-02   -.65505    
   3  Normalizat    .37935        .50431        .25976E-03   -1.1838    
   4  Prefactor     .86666        .56849        .19324E-03   -.97316    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36664e-09
Minuit parameter uncertainties:
  1  13.6887
  2  1.44718
  3  0.510525
  4  0.572434
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/207689': 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): 0
logL (Free Index) = 439.193770259
delta logL = 0.0318292912725

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  5.124e+00  1.369e+01  1.000e-04  1.000e+04 ( 1.000e-12)
326        Index:  1.954e+00  1.447e+00  0.000e+00  1.000e+01 (-1.000e+00)
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  8.667e-01  5.724e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  3.793e-01  5.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 140.895 41.428

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/207689/cmap_HighResolution_408067201_408326401_4FGL_J0923.5+4125_daily_bin651.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-02', job_status='DONE', photon_flux_upper_limit='6.16e-07', time_completed='2021-08-31 10:54:00.445593', job_id='207689', GAL2='0.87', fit_tolerance='1e-08', EG2='0.38', EG='0.37', time_epoch_completed='1630432440.45', return_code2='0', ts='0.13', comment='SUCCESS', return_code='101', GAL='0.88', dlogl='3.18e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='651' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:54:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 207689: <4FGL_J0923.5+4125_daily_bin651> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin651> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 10:45:56 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:45:57 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:45:57 2021
Terminated at Tue Aug 31 10:54:01 2021
Results reported at Tue Aug 31 10:54:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin651 140.895 41.4283 408067201 408326401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+4125 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   449.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   484 sec.
    Turnaround time :                            485 sec.

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

