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


Performing analysis on: 4FGL_J0923.5+3852_daily_bin755
RA = 140.885, Dec = 38.8743
tmin = 435024001, tmax = 435283201
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='196460', job_status='RUN', time_executed='2021-08-31 10:19:41.056923', time_epoch_executed='1630430381.06' WHERE source_name='4FGL J0923.5+3852' and cadence='daily' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196460

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196460/ft1_4FGL_J0923.5+3852_daily_bin755.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196460/ft2_4FGL_J0923.5+3852_daily_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196460/ft1_4FGL_J0923.5+3852_daily_bin755.fits outfile=/scratch/kocevski/196460/ft1_filteredMKT_4FGL_J0923.5+3852_daily_bin755.fits ra=140.885 dec=38.8743 rad=12.0 tmin=435024001.0 tmax=435283201.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.06
user 4.76
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196460/ft1_filtered_4FGL_J0923.5+3852_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/196460/ft2_4FGL_J0923.5+3852_daily_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/196460/ltcube_435024001_435283201_4FGL_J0923.5+3852_daily_bin755.fits outfile=/scratch/kocevski/196460/expmap_435024001_435283201_4FGL_J0923.5+3852_daily_bin755.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/196460/ltcube_435024001_435283201_4FGL_J0923.5+3852_daily_bin755.fits
.....................!
real 191.95
user 186.51
sys 4.66

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/196460/ft1_filtered_4FGL_J0923.5+3852_daily_bin755.fits scfile=/scratch/kocevski/196460/ft2_4FGL_J0923.5+3852_daily_bin755.fits outfile=/scratch/kocevski/196460/cmap_435024001_435283201_4FGL_J0923.5+3852_daily_bin755.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.68
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196460/ft1_filtered_4FGL_J0923.5+3852_daily_bin755.fits scfile=/scratch/kocevski/196460/ft2_4FGL_J0923.5+3852_daily_bin755.fits outfile=/scratch/kocevski/196460/cmap_HighResolution_435024001_435283201_4FGL_J0923.5+3852_daily_bin755.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.57
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/196460/ft1_filtered_4FGL_J0923.5+3852_daily_bin755.fits', '/scratch/kocevski/196460/ft2_4FGL_J0923.5+3852_daily_bin755.fits', expMap='/scratch/kocevski/196460/expmap_435024001_435283201_4FGL_J0923.5+3852_daily_bin755.fits', expCube='/scratch/kocevski/196460/ltcube_435024001_435283201_4FGL_J0923.5+3852_daily_bin755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/196460/Model_4FGL_J0923.5+3852_daily_bin755.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/196460/ft1_filtered_4FGL_J0923.5+3852_daily_bin755.fits
Spacecraft file(s): /scratch/kocevski/196460/ft2_4FGL_J0923.5+3852_daily_bin755.fits
Exposure map: /scratch/kocevski/196460/expmap_435024001_435283201_4FGL_J0923.5+3852_daily_bin755.fits
Exposure cube: /scratch/kocevski/196460/ltcube_435024001_435283201_4FGL_J0923.5+3852_daily_bin755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/196460/Model_4FGL_J0923.5+3852_daily_bin755.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) = 4586.65154928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.628       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .20737E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7334       1.0000         .10000E-03   10000.    
     5 'norm      '    22.450       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6968       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .63052       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5096       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24468E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    20.472       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.4113       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13521E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.438       1.0000         .10000E-03   10000.    
    20 'norm      '    20.798       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10514E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .84529       1.0000         .10000E-03   10000.    
    24 'norm      '    .10103E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    17.459       1.0000         .10000E-03   10000.    
    28 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .83465       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1618       1.0000          .0000       10.000    
 **********
 **   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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4586.592     FROM MIGRAD    STATUS=CONVERGED   1378 CALLS     3996 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.626        19.828        .74878E-04   -.49345E-04
   2  Prefactor     .10000E-03    1.1879        .71717E-03** at limit **
   3  Prefactor     .10007E-03    51.066        .10171    ** at limit **
   4  Prefactor     1.7124        22.966        .31880E-03   -.35660E-05
   5  norm          22.450        9.6105        .84537E-04   -.41017E-04
   6  Prefactor     3.6971        2.7644        .93429E-04   -.20005E-03
   7  Prefactor     .10000E-03    18.272        .18142E-02** at limit **
   8  Prefactor     .10000E-03    1.3663        .76778E-03** at limit **
   9  Prefactor     .10000E-03    12.198        .18142E-02** at limit **
  10  Prefactor     .62754        4.5614        .20732E-02    .26644E-03
  11  norm          1.5099        2.0263        .10818E-03   -.27955E-04
  12  Prefactor     .10000E-03    8.0309        .18142E-02** at limit **
  13  norm          .10000E-03    .35048        .60700E-03** at limit **
  14  Prefactor     .10006E-03    10.738        .14633E-02** at limit **
  15  norm          20.478        10.778        .88523E-04   -.42894E-04
  16  Prefactor     .10000E-03    .78944        .58554E-03** at limit **
  17  Prefactor     4.4111        3.9710        .12242E-03    .24144E-05
  18  Prefactor     .10000E-03    14.053        .18142E-02** at limit **
  19  Prefactor     18.466        22.339        .93276E-04   -.33274E-04
  20  norm          20.794        16.932        .87828E-04   -.13281E-03
  21  Prefactor     .10000E-03    10.204        .18142E-02** at limit **
  22  Prefactor     .10000E-03    40.345        .18142E-02** at limit **
  23  Prefactor     .84484        16.302        .25215E-02   -.13664E-03
  24  norm          .10000E-03    28.856        .18142E-02** at limit **
  25  Prefactor     .10000E-03    3.2381        .11821E-02** at limit **
  26  Prefactor     .10000E-03    16.799        .18142E-02** at limit **
  27  Prefactor     17.455        7.9562        .95854E-04   -.20768E-03
  28  norm          .10000E-03    9.3611        .18142E-02** at limit **
  29  Normalizat    .83479        .22264        .24971E-03   -.23929E-03
  30  Prefactor     1.1616        .24995        .24899E-03   -.16197E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.626
  Prefactor  = 0.0001
  Prefactor  = 0.000100075
  Prefactor  = 1.71243
  norm       = 22.4499
  Prefactor  = 3.69709
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.627542
  norm       = 1.50989
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100056
  norm       = 20.4779
  Prefactor  = 0.0001
  Prefactor  = 4.41106
  Prefactor  = 0.000100005
  Prefactor  = 18.4657
  norm       = 20.794
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.844842
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.4549
  norm       = 0.0001
  Normalizat = 0.834785
  Prefactor  = 1.16157
 **********
 **   18 **HESSE 
 **********

 FCN=   4586.592     FROM HESSE     STATUS=OK           570 CALLS     4566 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.626        19.826        .29951E-05   -1.4637    
   2  Prefactor     .10000E-03    1.1879        .14343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10007E-03    46.192        .10801       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7124        22.865        .12752E-04   -1.5446    
   5  norm          22.450        9.6101        .33815E-05   -1.4760    
   6  Prefactor     3.6971        2.7643        .37372E-05   -1.5323    
   7  Prefactor     .10000E-03    18.272        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.3664        .15356E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.198        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .62754        4.5263        .82927E-04   -1.5550    
  11  norm          1.5099        2.0262        .43271E-05   -1.5462    
  12  Prefactor     .10000E-03    8.0312        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .35094        .12140E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10006E-03    10.858        .29266E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          20.478        10.770        .35409E-05   -1.4803    
  16  Prefactor     .10000E-03    .78946        .11711E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.4111        3.9705        .48970E-05   -1.5288    
  18  Prefactor     .10000E-03    14.057        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.466        22.335        .37310E-05   -1.4848    
  20  norm          20.794        16.931        .17566E-04   -1.4796    
  21  Prefactor     .10000E-03    10.205        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    40.353        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .84484        16.276        .10086E-03   -1.5524    
  24  norm          .10000E-03    28.883        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    3.2386        .23642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    16.800        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     17.455        7.9542        .38342E-05   -1.4872    
  28  norm          .10000E-03    9.3629        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .83479        .22246        .49943E-04   -.98791    
  30  Prefactor     1.1616        .25013        .49798E-04   -.87522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91327e-09
Minuit parameter uncertainties:
  1  19.831
  2  2.37036e-07
  3  0.00372044
  4  12.5201
  5  9.61074
  6  2.76435
  7  5.85278e-05
  8  3.46771e-06
  9  1.11573e-05
  10  3.37082
  11  2.02628
  12  9.05819e-07
  13  1.36898e-06
  14  0.00156097
  15  10.7714
  16  1.30439e-06
  17  3.9707
  18  0.000525144
  19  22.3453
  20  16.9353
  21  3.16908e-05
  22  0.000338942
  23  7.41819
  24  4.67047e-05
  25  1.09377e-05
  26  4.68146e-05
  27  7.95466
  28  5.47001e-05
  29  0.222701
  30  0.250386
Done.

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

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  2.048e+01  1.077e+01  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:  1.162e+00  2.504e-01  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:  8.348e-01  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.19
Ra Dec: 140.885 38.874
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 8.38e-08 +/- 4.40e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.17e-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) = 4586.4805884
delta logL = 0.111412315589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4586.47453491
delta logL = 0.11746580586

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.288       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8835       1.0000          .0000       5.0000    
     3 'Normalizat'    .82016       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1726       1.0000          .0000       10.000    
 **********
 **   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.

 FCN=   4586.475     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      235 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.303        189.15        .24081E-02    .51222E-04
   2  alpha         2.8830        3.7879        .25588        .31419E-04
   3  Normalizat    .82013        .11121        .43873E-01    .19892E-05
   4  Prefactor     1.1726        .12209        .56082E-01   -.58958E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 17.3032
  alpha      = 2.88303
  Normalizat = 0.820132
  Prefactor  = 1.17263
 **********
 **   18 **HESSE 
 **********

 FCN=   4586.475     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.303        11.936        .96326E-04   -1.4876    
   2  alpha         2.8830        .59230        .10808E-01    .15382    
   3  Normalizat    .82013        .21726        .25169E-03   -.99326    
   4  Prefactor     1.1726        .24799        .24798E-03   -.87178    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56602e-12
Minuit parameter uncertainties:
  1  11.9375
  2  0.598124
  3  0.217493
  4  0.248233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196460': 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) = 4586.47453407
delta logL = 0.117466648356

Extracting fit parameters...

4FGL J0923.5+3852
   Spectrum: LogParabola
305         norm:  1.730e+01  1.194e+01  1.000e-04  1.000e+04 ( 1.000e-12)
306        alpha:  2.883e+00  5.981e-01  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:  1.173e+00  2.482e-01  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:  8.201e-01  2.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.42
Ra Dec: 140.885 38.874
Photon Index (Free Index): 2.88 +/- 0.60
Photon Flux (Free Index): 9.48e-08 +/- 5.13e-08
Energy Flux (Free Index): 2.16e-05 +/- 1.11e-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/196460/cmap_HighResolution_435024001_435283201_4FGL_J0923.5+3852_daily_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.38e-08', energy_flux2='2.16e-05', photon_flux_error='4.40e-08', dlogl='1.17e-01', energy_flux='2.23e-05', photon_flux2='9.48e-08', job_status='DONE', time_completed='2021-08-31 10:31:19.307491', photon_index_error2='0.60', photon_index2='2.88', ts='6.19', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='1.11e-05', EG='0.83', time_epoch_completed='1630431079.31', return_code='0', job_id='196460', GAL2='1.17', EG2='0.82', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='5.13e-08', ts2='6.42', photon_index='2.61' WHERE bin_id='755' AND source_name='4FGL J0923.5+3852' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 10:31:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 196460: <4FGL_J0923.5+3852_daily_bin755> in cluster <slac> Done

Job <4FGL_J0923.5+3852_daily_bin755> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Aug 31 10:15:43 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 10:15:45 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:15:45 2021
Terminated at Tue Aug 31 10:31:20 2021
Results reported at Tue Aug 31 10:31:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+3852_daily_bin755 140.885 38.8743 435024001 435283201 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 :                                   694.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            937 sec.

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

