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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1515
RA = 140.895, Dec = 41.4283
tmin = 632016001, tmax = 632275201
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='214332', job_status='RUN', time_executed='2021-08-31 11:08:30.162404', time_epoch_executed='1630433310.16' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1515'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214332

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214332/ft1_4FGL_J0923.5+4125_daily_bin1515.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214332/ft2_4FGL_J0923.5+4125_daily_bin1515.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214332/ft1_4FGL_J0923.5+4125_daily_bin1515.fits outfile=/scratch/kocevski/214332/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1515.fits ra=140.895 dec=41.4283 rad=12.0 tmin=632016001.0 tmax=632275201.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 5.21
user 4.43
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/214332/ft2_4FGL_J0923.5+4125_daily_bin1515.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/214332/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1515.fits evtable="EVENTS" outfile="/scratch/kocevski/214332/ft1_filtered_4FGL_J0923.5+4125_daily_bin1515.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.77
user 0.37
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214332/ft1_filtered_4FGL_J0923.5+4125_daily_bin1515.fits" evtable="EVENTS" scfile=/scratch/kocevski/214332/ft2_4FGL_J0923.5+4125_daily_bin1515.fits sctable="SC_DATA" outfile=/scratch/kocevski/214332/ltcube_632016001_632275201_4FGL_J0923.5+4125_daily_bin1515.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/214332/ft2_4FGL_J0923.5+4125_daily_bin1515.fits
.....................!
real 12.45
user 11.37
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214332/ft1_filtered_4FGL_J0923.5+4125_daily_bin1515.fits evtable="EVENTS" scfile=/scratch/kocevski/214332/ft2_4FGL_J0923.5+4125_daily_bin1515.fits sctable="SC_DATA" expcube=/scratch/kocevski/214332/ltcube_632016001_632275201_4FGL_J0923.5+4125_daily_bin1515.fits outfile=/scratch/kocevski/214332/expmap_632016001_632275201_4FGL_J0923.5+4125_daily_bin1515.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/214332/ltcube_632016001_632275201_4FGL_J0923.5+4125_daily_bin1515.fits
.....................!
real 195.93
user 187.46
sys 4.08

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/214332/ft1_filtered_4FGL_J0923.5+4125_daily_bin1515.fits scfile=/scratch/kocevski/214332/ft2_4FGL_J0923.5+4125_daily_bin1515.fits outfile=/scratch/kocevski/214332/cmap_632016001_632275201_4FGL_J0923.5+4125_daily_bin1515.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 0.73
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214332/ft1_filtered_4FGL_J0923.5+4125_daily_bin1515.fits scfile=/scratch/kocevski/214332/ft2_4FGL_J0923.5+4125_daily_bin1515.fits outfile=/scratch/kocevski/214332/cmap_HighResolution_632016001_632275201_4FGL_J0923.5+4125_daily_bin1515.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 0.64
user 0.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/214332/ft1_filtered_4FGL_J0923.5+4125_daily_bin1515.fits', '/scratch/kocevski/214332/ft2_4FGL_J0923.5+4125_daily_bin1515.fits', expMap='/scratch/kocevski/214332/expmap_632016001_632275201_4FGL_J0923.5+4125_daily_bin1515.fits', expCube='/scratch/kocevski/214332/ltcube_632016001_632275201_4FGL_J0923.5+4125_daily_bin1515.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/214332/Model_4FGL_J0923.5+4125_daily_bin1515.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/214332/ft1_filtered_4FGL_J0923.5+4125_daily_bin1515.fits
Spacecraft file(s): /scratch/kocevski/214332/ft2_4FGL_J0923.5+4125_daily_bin1515.fits
Exposure map: /scratch/kocevski/214332/expmap_632016001_632275201_4FGL_J0923.5+4125_daily_bin1515.fits
Exposure cube: /scratch/kocevski/214332/ltcube_632016001_632275201_4FGL_J0923.5+4125_daily_bin1515.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/214332/Model_4FGL_J0923.5+4125_daily_bin1515.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) = 5086.30309059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2751       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.121       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10040       1.0000         .10000E-03   10000.    
     5 'norm      '    4.3820       1.0000         .10000E-03   10000.    
     6 'norm      '    3.9620       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8050       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2509       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.9290       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .29331E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.1275       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.2866       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.5753       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.0399       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .78612E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.9400       1.0000         .10000E-03   10000.    
    22 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .16022E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .13738E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    9.4398       1.0000         .10000E-03   10000.    
    27 'norm      '    8.8312       1.0000         .10000E-03   10000.    
    28 'Prefactor '    6.7292       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .11778E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.4893       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .37715       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=   5086.149     FROM MIGRAD    STATUS=CONVERGED    901 CALLS     4667 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.9790       -.39112E-07** at limit **
   2  Prefactor     4.2739        3.2780        .66405E-06   -.85344E-03
   3  Prefactor     20.127        20.872       -.26349E-06   -.30068E-04
   4  Prefactor     .11613        5.8208       -.10840E-05    .45346E-03
   5  norm          4.3822        4.4023        .24990E-06    .25536E-03
   6  norm          3.9613        5.2582        .54678E-07   -.84229E-04
   7  Prefactor     2.8047        2.1017        .34715E-07    .23732E-04
   8  Prefactor     6.2595        20.427        .16074E-06   -.98832E-05
   9  Prefactor     6.9499        41.931        .88328E-05    .22938E-03
  10  Prefactor     .10000E-03    3.1787       -.23537E-06** at limit **
  11  Prefactor     .10000E-03    11.780       -.87682E-06** at limit **
  12  Prefactor     .10000E-03    1.5831       -.63775E-07** at limit **
  13  norm          2.1275        4.5728        .10398E-05    .99393E-04
  14  Prefactor     .10000E-03    31.498       -.31910E-05** at limit **
  15  norm          1.2866        .51290        .49830E-08   -.95425E-04
  16  Prefactor     .10000E-03    2.8220        .80833E-07** at limit **
  17  norm          6.5813        9.4227        .31001E-05   -.67172E-03
  18  Prefactor     3.0400        2.2768       -.18690E-06    .57736E-04
  19  Prefactor     .10000E-03    4.6343       -.32714E-07** at limit **
  20  Prefactor     .10001E-03    2.8989        .19772E-06** at limit **
  21  Prefactor     3.9468        12.951        .25009E-06   -.23656E-04
  22  norm          .10000E-03    9.8916        .20732E-06** at limit **
  23  Prefactor     .10000E-03    12.370        .27326E-06** at limit **
  24  Prefactor     .10000E-03    7.0092       -.54207E-06** at limit **
  25  Prefactor     .10010E-03    116.91       -.17371E-04** at limit **
  26  Prefactor     9.4347        12.399        .30578E-06   -.23272E-04
  27  norm          8.8279        13.579        .16095E-05   -.33057E-03
  28  Prefactor     6.7310        6.6444        .16922E-05   -.92737E-03
  29  Prefactor     .10000E-03    2.3054        .37396E-07** at limit **
  30  Prefactor     .10001E-03    66.193        .48126E-05** at limit **
  31  norm          .10000E-03    7.0101        .66521E-07** at limit **
  32  Normalizat    1.4895        .19759       -.12508E-05    .30532E-03
  33  Prefactor     .37720        .20296       -.88555E-06    .82775E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.27385
  Prefactor  = 20.1267
  Prefactor  = 0.116134
  norm       = 4.38217
  norm       = 3.96127
  Prefactor  = 2.8047
  Prefactor  = 6.25953
  Prefactor  = 6.94989
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.12747
  Prefactor  = 0.000100004
  norm       = 1.28665
  Prefactor  = 0.0001
  norm       = 6.58127
  Prefactor  = 3.03996
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 3.94678
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100103
  Prefactor  = 9.43473
  norm       = 8.82786
  Prefactor  = 6.73096
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  norm       = 0.0001
  Normalizat = 1.48951
  Prefactor  = 0.377204
 **********
 **   18 **HESSE 
 **********

 FCN=   5086.149     FROM HESSE     STATUS=OK           705 CALLS     5372 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.9809        .13893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.2739        3.3007        .54861E-03   -1.5294    
   3  Prefactor     20.127        20.885        .89290E-04   -1.4810    
   4  Prefactor     .11613        54.423        .32595E-02   -1.5640    
   5  norm          4.3822        4.3998        .14475E-03   -1.5289    
   6  norm          3.9613        5.2462        .18093E-03   -1.5310    
   7  Prefactor     2.8047        2.1007        .86262E-04   -1.5373    
   8  Prefactor     6.2595        20.381        .16056E-03   -1.5208    
   9  Prefactor     6.9499        44.724        .15241E-03   -1.5181    
  10  Prefactor     .10000E-03    9.5796        .24575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.6291        .17508E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.1275        4.5429        .21255E-03   -1.5416    
  14  Prefactor     .10000E-03    32.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.2866        .51175        .30775E-04   -1.5481    
  16  Prefactor     .10000E-03    2.9143        .23198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.5813        9.8106        .78250E-03   -1.5195    
  18  Prefactor     3.0400        2.2748        .87989E-04   -1.5359    
  19  Prefactor     .10000E-03    4.6587        .14983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    23.978        .22400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.9468        12.732        .20323E-03   -1.5311    
  22  norm          .10000E-03    9.9327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    12.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    19.032        .34055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10010E-03    127.69        .41077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     9.4347        12.429        .13044E-03   -1.5094    
  27  norm          8.8279        13.662        .67439E-03   -1.5114    
  28  Prefactor     6.7310        6.7041        .77341E-03   -1.5189    
  29  Prefactor     .10000E-03    2.3117        .10572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10001E-03    67.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    7.0641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.4895        .21693        .19800E-03   -.78074    
  33  Prefactor     .37720        .22003        .39444E-03   -1.1799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02457e-08
Minuit parameter uncertainties:
  1  1.35632e-06
  2  3.30079
  3  20.8925
  4  5.03053
  5  4.40013
  6  5.24685
  7  2.10079
  8  20.4041
  9  35.2988
  10  0.000169757
  11  0.000142616
  12  1.49365e-06
  13  4.54367
  14  0.000740324
  15  0.511751
  16  6.62532e-06
  17  9.81299
  18  2.27482
  19  7.93644e-06
  20  0.000843858
  21  12.7404
  22  5.63028e-05
  23  6.25554e-05
  24  0.000349175
  25  0.00726778
  26  12.432
  27  13.667
  28  6.70488
  29  3.50106e-06
  30  0.00187028
  31  6.73999e-06
  32  0.217063
  33  0.220518
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  3.040e+00  2.275e+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:  3.772e-01  2.205e-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:  1.490e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.07
Ra Dec: 140.895 41.428
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 4.23e-08 +/- 3.17e-08
Energy Flux (Fixed Index): 1.48e-05 +/- 1.10e-05

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) = 5085.5384085
delta logL = 0.610251625334

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5085.52736152
delta logL = 0.621298605106

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3652       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7027       1.0000          .0000       10.000    
     3 'Normalizat'    1.5144       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .36077       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.

 FCN=   5085.527     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3671        2.8797        .55149E-02   -.33809E-04
   2  Index         1.7027        .47911        .21173       -.29022E-04
   3  Normalizat    1.5145        .18937        .44507E-01   -.26946E-04
   4  Prefactor     .36067        .20152        .90905E-01    .48673E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.36707
  Index      = 1.70268
  Normalizat = 1.51454
  Prefactor  = 0.360673
 **********
 **   18 **HESSE 
 **********

 FCN=   5085.527     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3671        2.8012        .99803E-04   -1.5341    
   2  Index         1.7027        .53658        .80963E-02   -.72010    
   3  Normalizat    1.5145        .20127        .19672E-03   -.77370    
   4  Prefactor     .36067        .21356        .40288E-03   -1.1886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29657e-10
Minuit parameter uncertainties:
  1  2.80134
  2  0.538416
  3  0.201376
  4  0.214033
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214332': 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) = 5085.52736093
delta logL = 0.621299194898

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  3.367e+00  2.801e+00  1.000e-04  1.000e+04 ( 1.000e-12)
326        Index:  1.703e+00  5.384e-01  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:  3.607e-01  2.140e-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:  1.515e+00  2.014e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.33
Ra Dec: 140.895 41.428
Photon Index (Free Index): 1.70 +/- 0.54
Photon Flux (Free Index): 2.10e-08 +/- 2.26e-08
Energy Flux (Free Index): 3.40e-05 +/- 4.27e-05

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/214332/cmap_HighResolution_632016001_632275201_4FGL_J0923.5+4125_daily_bin1515.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.23e-08', energy_flux2='3.40e-05', photon_flux_error='3.17e-08', dlogl='6.21e-01', energy_flux='1.48e-05', photon_flux2='2.10e-08', job_status='DONE', time_completed='2021-08-31 11:22:36.616884', photon_index_error2='0.54', photon_index2='1.70', ts='8.07', fit_tolerance='1e-08', GAL='0.38', photon_index_error='0.00', energy_flux_error2='4.27e-05', EG='1.49', time_epoch_completed='1630434156.62', return_code='0', job_id='214332', GAL2='0.36', EG2='1.51', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='2.26e-08', ts2='9.33', photon_index='2.36' WHERE bin_id='1515' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:22:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 214332: <4FGL_J0923.5+4125_daily_bin1515> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1515> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 11:06:05 2021
Job was executed on host(s) <bullet0134>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:06:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:06:06 2021
Terminated at Tue Aug 31 11:22:37 2021
Results reported at Tue Aug 31 11:22:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1515 140.895 41.4283 632016001 632275201 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 :                                   824.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             291.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            992 sec.

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

