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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1333
RA = 140.895, Dec = 41.4283
tmin = 584841601, tmax = 585100801
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='212713', job_status='RUN', time_executed='2021-08-31 11:04:59.522031', time_epoch_executed='1630433099.52' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1333'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/212713

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/212713/ft1_4FGL_J0923.5+4125_daily_bin1333.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/212713/ft2_4FGL_J0923.5+4125_daily_bin1333.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/212713/ft1_4FGL_J0923.5+4125_daily_bin1333.fits outfile=/scratch/kocevski/212713/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1333.fits ra=140.895 dec=41.4283 rad=12.0 tmin=584841601.0 tmax=585100801.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.99
user 2.70
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/212713/ft1_filtered_4FGL_J0923.5+4125_daily_bin1333.fits evtable="EVENTS" scfile=/scratch/kocevski/212713/ft2_4FGL_J0923.5+4125_daily_bin1333.fits sctable="SC_DATA" expcube=/scratch/kocevski/212713/ltcube_584841601_585100801_4FGL_J0923.5+4125_daily_bin1333.fits outfile=/scratch/kocevski/212713/expmap_584841601_585100801_4FGL_J0923.5+4125_daily_bin1333.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/212713/ltcube_584841601_585100801_4FGL_J0923.5+4125_daily_bin1333.fits
.....................!
real 191.10
user 186.17
sys 4.58

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/212713/ft1_filtered_4FGL_J0923.5+4125_daily_bin1333.fits scfile=/scratch/kocevski/212713/ft2_4FGL_J0923.5+4125_daily_bin1333.fits outfile=/scratch/kocevski/212713/cmap_584841601_585100801_4FGL_J0923.5+4125_daily_bin1333.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.82
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/212713/ft1_filtered_4FGL_J0923.5+4125_daily_bin1333.fits scfile=/scratch/kocevski/212713/ft2_4FGL_J0923.5+4125_daily_bin1333.fits outfile=/scratch/kocevski/212713/cmap_HighResolution_584841601_585100801_4FGL_J0923.5+4125_daily_bin1333.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 1.11
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    620.35       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .49063E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11322E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13774E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    106.13       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11314E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.4221       1.0000         .10000E-03   10000.    
    13 'norm      '    5.5177       1.0000         .10000E-03   10000.    
    14 'Prefactor '    78.707       1.0000         .10000E-03   10000.    
    15 'norm      '    .10319E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .16953E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    12.632       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.998       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10456E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.4373       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .11668E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    2.4893       1.0000         .10000E-03   10000.    
    28 'Prefactor '    8.4430       1.0000         .10000E-03   10000.    
    29 'Prefactor '    10.532       1.0000         .10000E-03   10000.    
    30 'Prefactor '    8.8638       1.0000         .10000E-03   10000.    
    31 'norm      '    12.297       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .40777       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.5180       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=   1773.837     FROM MIGRAD    STATUS=CONVERGED    867 CALLS     5365 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     619.11        850.88        .37159E-05    .33876E-05
   2  Prefactor     .10000E-03    111.04       -.12335E-04** at limit **
   3  Prefactor     .10000E-03    235.43       -.43871E-05** at limit **
   4  Prefactor     .10000E-03    142.55       -.40781E-05** at limit **
   5  norm          .10000E-03    24.275       -.37673E-06** at limit **
   6  norm          .10000E-03    30.655       -.16904E-06** at limit **
   7  Prefactor     .10000E-03    2.9961       -.28982E-06** at limit **
   8  Prefactor     .10000E-03    30.420       -.59303E-07** at limit **
   9  Prefactor     106.04        196.43        .53944E-07   -.63508E-06
  10  Prefactor     .10000E-03    3.5624       -.11758E-06** at limit **
  11  Prefactor     .10000E-03    52.909       -.75310E-07** at limit **
  12  Prefactor     8.4142        8.8130        .47411E-07    .29020E-04
  13  norm          5.5186        5.9391       -.64976E-08    .15297E-04
  14  Prefactor     78.723        86.174       -.43764E-06    .11756E-04
  15  norm          .10000E-03    .52268        .72073E-08** at limit **
  16  Prefactor     .10000E-03    5.6647       -.31159E-06** at limit **
  17  norm          12.623        33.783        .85465E-06    .12266E-04
  18  Prefactor     .10000E-03    3.3043        .75898E-07** at limit **
  19  Prefactor     10.998        23.607       -.17607E-06    .59272E-05
  20  Prefactor     .10000E-03    8.2782        .16900E-06** at limit **
  21  Prefactor     .10000E-03    35.347        .54509E-07** at limit **
  22  norm          .10000E-03    15.813        .85435E-07** at limit **
  23  Prefactor     7.4339        25.160        .32818E-06    .38608E-05
  24  Prefactor     .10000E-03    9.6712        .19582E-06** at limit **
  25  Prefactor     .10000E-03    63.550        .83176E-06** at limit **
  26  Prefactor     .10000E-03    7.5444        .34471E-06** at limit **
  27  norm          2.4886        14.037        .12652E-05    .74518E-05
  28  Prefactor     8.4427        7.3544        .24210E-07    .20928E-05
  29  Prefactor     10.533        7.1890        .10873E-06    .64398E-05
  30  Prefactor     8.8651        33.693        .65690E-06    .30318E-05
  31  norm          12.295        13.945        .13678E-06    .72928E-05
  32  Normalizat    .40805        .33669       -.49284E-05    .20575E-04
  33  Prefactor     1.5175        .40930        .26747E-05   -.27172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 619.113
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 106.044
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.41422
  norm       = 5.51858
  Prefactor  = 78.7231
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 12.6225
  Prefactor  = 0.0001
  Prefactor  = 10.9978
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.43392
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.48862
  Prefactor  = 8.44272
  Prefactor  = 10.5327
  Prefactor  = 8.86509
  norm       = 12.2952
  Normalizat = 0.408046
  Prefactor  = 1.51753
 **********
 **   18 **HESSE 
 **********

 FCN=   1773.837     FROM HESSE     STATUS=OK           689 CALLS     6054 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     619.11        854.03        .82912E-04   -1.0679    
   2  Prefactor     .10000E-03    112.62        .21167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    235.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    142.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    24.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    30.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.9983        .71198E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    30.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     106.04        196.49        .19518E-03   -1.3645    
  10  Prefactor     .10000E-03    3.5649        .77632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    52.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.4142        8.7833        .11820E-03   -1.5128    
  13  norm          5.5186        5.9394        .10354E-03   -1.5238    
  14  Prefactor     78.723        85.595        .45267E-04   -1.3931    
  15  norm          .10000E-03    .74257        .58956E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.8799        .19471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.623        33.477        .11270E-03   -1.4997    
  18  Prefactor     .10000E-03    3.3305        .74636E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.998        23.501        .12081E-03   -1.5045    
  20  Prefactor     .10000E-03    8.3997        .11824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    35.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    15.817        .16355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.4339        25.145        .14706E-03   -1.5163    
  24  Prefactor     .10000E-03    9.7942        .12786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    63.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    7.5697        .11301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.4886        13.986        .25908E-03   -1.5392    
  28  Prefactor     8.4427        7.3442        .10155E-03   -1.5127    
  29  Prefactor     10.533        7.1867        .88531E-04   -1.5059    
  30  Prefactor     8.8651        33.586        .13463E-03   -1.5112    
  31  norm          12.295        13.906        .11423E-03   -1.5007    
  32  Normalizat    .40805        .36438        .33103E-03   -1.1689    
  33  Prefactor     1.5175        .45419        .23816E-03   -.77050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35805e-11
Minuit parameter uncertainties:
  1  872.994
  2  0.000157112
  3  0.000492383
  4  0.000260532
  5  7.11801e-06
  6  1.58356e-05
  7  8.66886e-07
  8  1.63261e-05
  9  197.719
  10  1.5275e-06
  11  4.25529e-05
  12  8.78463
  13  5.94003
  14  85.7293
  15  6.3686e-07
  16  8.5828e-06
  17  33.5271
  18  7.85448e-07
  19  23.5205
  20  8.07862e-06
  21  2.3971e-05
  22  4.91071e-06
  23  25.1807
  24  8.71334e-06
  25  7.49836e-05
  26  3.82568e-06
  27  11.8032
  28  7.34494
  29  7.1873
  30  33.6573
  31  13.9098
  32  0.366523
  33  0.455417
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.000e-04  7.854e-07  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:  1.518e+00  4.554e-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:  4.080e-01  3.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/212713/likelihoodResults_584841601_585100801_4FGL_J0923.5+4125_daily_bin1333.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): 102
logL (Free Index) = 1773.83837639
delta logL = -0.00135930877218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1773.8370175
delta logL = -4.16705915995e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10252E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3552       1.0000          .0000       10.000    
     3 'Normalizat'    .40798       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5176       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=   1773.837     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    325.03        .90712E-02** at limit **
   2  Index         2.3550        8.5834        .50000        .63181E-07
   3  Normalizat    .40804        .80664E-01    .74755E-01    .12530E-03
   4  Prefactor     1.5175        .10629        .53872E-01    .15795E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.35504
  Normalizat = 0.408044
  Prefactor  = 1.51754
 **********
 **   18 **HESSE 
 **********

 FCN=   1773.837     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    63.502        .74636E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3550        8.7628        .50000       -.55741    
   3  Normalizat    .40804        .33032        .33102E-03   -1.1689    
   4  Prefactor     1.5175        .43899        .23816E-03   -.77050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.83683e-11
Minuit parameter uncertainties:
  1  5.95601e-06
  2  18.5591
  3  0.33191
  4  0.440095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/212713': 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) = 1773.83701708
delta logL = 0.0

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.000e-04  5.956e-06  1.000e-04  1.000e+04 ( 1.000e-12)
326        Index:  2.355e+00  1.856e+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:  1.518e+00  4.401e-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:  4.080e-01  3.319e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/212713/cmap_HighResolution_584841601_585100801_4FGL_J0923.5+4125_daily_bin1333.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', job_status='DONE', photon_flux_upper_limit='1.66e-07', time_completed='2021-08-31 11:14:53.804038', job_id='212713', GAL2='1.52', fit_tolerance='1e-08', EG2='0.41', EG='0.41', time_epoch_completed='1630433693.8', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.52', dlogl='0.00e+00', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1333' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:14:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 212713: <4FGL_J0923.5+4125_daily_bin1333> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1333> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 11:00:43 2021
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:00:46 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:00:46 2021
Terminated at Tue Aug 31 11:14:54 2021
Results reported at Tue Aug 31 11:14:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1333 140.895 41.4283 584841601 585100801 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 :                                   555.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             198.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            851 sec.

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

