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


Performing analysis on: 4FGL_J0920.9+4441_daily_bin1578
RA = 140.229, Dec = 44.699
tmin = 648345601, tmax = 648604801
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='137485', job_status='RUN', time_executed='2021-08-31 07:18:01.247870', time_epoch_executed='1630419481.25' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='1578'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/137485

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/137485/ft1_4FGL_J0920.9+4441_daily_bin1578.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/137485/ft2_4FGL_J0920.9+4441_daily_bin1578.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/137485/ft1_4FGL_J0920.9+4441_daily_bin1578.fits outfile=/scratch/kocevski/137485/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin1578.fits ra=140.229 dec=44.699 rad=12.0 tmin=648345601.0 tmax=648604801.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 8.46
user 2.73
sys 5.58

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/137485/ft2_4FGL_J0920.9+4441_daily_bin1578.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/137485/ft2_4FGL_J0920.9+4441_daily_bin1578.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/137485/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin1578.fits evtable="EVENTS" outfile="/scratch/kocevski/137485/ft1_filtered_4FGL_J0920.9+4441_daily_bin1578.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 6.64
user 0.34
sys 6.11

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/137485/ft1_filtered_4FGL_J0920.9+4441_daily_bin1578.fits" evtable="EVENTS" scfile=/scratch/kocevski/137485/ft2_4FGL_J0920.9+4441_daily_bin1578.fits sctable="SC_DATA" outfile=/scratch/kocevski/137485/ltcube_648345601_648604801_4FGL_J0920.9+4441_daily_bin1578.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/137485/ft2_4FGL_J0920.9+4441_daily_bin1578.fits
.....................!
real 20.37
user 13.84
sys 6.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/137485/ft1_filtered_4FGL_J0920.9+4441_daily_bin1578.fits evtable="EVENTS" scfile=/scratch/kocevski/137485/ft2_4FGL_J0920.9+4441_daily_bin1578.fits sctable="SC_DATA" expcube=/scratch/kocevski/137485/ltcube_648345601_648604801_4FGL_J0920.9+4441_daily_bin1578.fits outfile=/scratch/kocevski/137485/expmap_648345601_648604801_4FGL_J0920.9+4441_daily_bin1578.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/137485/ltcube_648345601_648604801_4FGL_J0920.9+4441_daily_bin1578.fits
.....................!
real 199.90
user 186.68
sys 12.47

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

Setting source of interest to:
4FGL J0920.9+4441 @ 140.229 44.699

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/137485/ft1_filtered_4FGL_J0920.9+4441_daily_bin1578.fits scfile=/scratch/kocevski/137485/ft2_4FGL_J0920.9+4441_daily_bin1578.fits outfile=/scratch/kocevski/137485/cmap_648345601_648604801_4FGL_J0920.9+4441_daily_bin1578.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.229 yref=44.699 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 6.80
user 0.40
sys 5.94

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/137485/ft1_filtered_4FGL_J0920.9+4441_daily_bin1578.fits scfile=/scratch/kocevski/137485/ft2_4FGL_J0920.9+4441_daily_bin1578.fits outfile=/scratch/kocevski/137485/cmap_HighResolution_648345601_648604801_4FGL_J0920.9+4441_daily_bin1578.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.229 yref=44.699 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 11.37
user 0.39
sys 5.72

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/137485/ft1_filtered_4FGL_J0920.9+4441_daily_bin1578.fits evtable="EVENTS" scfile=/scratch/kocevski/137485/ft2_4FGL_J0920.9+4441_daily_bin1578.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/137485/Model_4FGL_J0920.9+4441_daily_bin1578.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/137485/ft1_filtered_4FGL_J0920.9+4441_daily_bin1578.fits...............................!
real 24.47
user 15.20
sys 8.84

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/137485/ft1_filtered_4FGL_J0920.9+4441_daily_bin1578.fits', '/scratch/kocevski/137485/ft2_4FGL_J0920.9+4441_daily_bin1578.fits', expMap='/scratch/kocevski/137485/expmap_648345601_648604801_4FGL_J0920.9+4441_daily_bin1578.fits', expCube='/scratch/kocevski/137485/ltcube_648345601_648604801_4FGL_J0920.9+4441_daily_bin1578.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/137485/Model_4FGL_J0920.9+4441_daily_bin1578.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0920.9+4441'

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.124e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.267e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  1.363e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/137485/ft1_filtered_4FGL_J0920.9+4441_daily_bin1578.fits
Spacecraft file(s): /scratch/kocevski/137485/ft2_4FGL_J0920.9+4441_daily_bin1578.fits
Exposure map: /scratch/kocevski/137485/expmap_648345601_648604801_4FGL_J0920.9+4441_daily_bin1578.fits
Exposure cube: /scratch/kocevski/137485/ltcube_648345601_648604801_4FGL_J0920.9+4441_daily_bin1578.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/137485/Model_4FGL_J0920.9+4441_daily_bin1578.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) = 282.302940887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.3652       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .31391E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    15 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    16 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    17 'norm      '    10000.       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    19 'norm      '    .15521E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .18452E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    1461.4       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .18096E-08   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   264.8235     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     4927 TOTAL
                     EDM=   .36E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1342         .0000    ** at limit **
   2  Prefactor     .10123E-03    45.824         .0000    ** at limit **
   3  Prefactor     .10021E-03    9.6589         .0000    ** at limit **
   4  Prefactor     .10461E-03    49.799         .0000    ** at limit **
   5  Prefactor     .10004E-03    22.777         .0000    ** at limit **
   6  Prefactor     .10000E-03    12.210         .0000    ** at limit **
   7  norm          .10000E-03    12.572         .0000    ** at limit **
   8  norm          .10000E-03    12.052         .0000    ** at limit **
   9  Prefactor     4.3932        1.9814         .0000        .42098E-03
  10  Prefactor     .10079E-03    10.812         .0000    ** at limit **
  11  Prefactor     .10052E-03    21.841         .0000    ** at limit **
  12  Prefactor     .14917E-03    67.521         .0000    ** at limit **
  13  Prefactor     .24563E-03    .43642         .0000    ** at limit **
  14  Prefactor    10000.0        .27786         .0000       -.77053E-04
  15  Prefactor    10000.0        10.884         .0000       -.10152E-02
  16  Prefactor    10000.0        .92918         .0000       -.31580E-03
  17  norm         10000.0        67.167         .0000    ** at limit **
  18  Prefactor    10000.0        42.522         .0000       -.17661E-02
  19  norm          .44143E-02    22.122         .0000        .14586E-02
  20  Prefactor    10000.0        2.3271         .0000    ** at limit **
  21  Prefactor     .13473E-03    36.665         .0000    ** at limit **
  22  Prefactor     .10036E-03    19.715         .0000    ** at limit **
  23  Prefactor    10000.0        11.668         .0000       -.11324E-02
  24  norm          .10800E-03    95.442         .0000    ** at limit **
  25  Prefactor     .15697E-03    100.32         .0000    ** at limit **
  26  Prefactor     1461.4        1.0068         .0000        .65662E-03
  27  Prefactor     .12500E-03    36.787         .0000    ** at limit **
  28  norm          .10009E-03    98.533         .0000    ** at limit **
  29  Prefactor    10000.0        7.2706         .0000    ** at limit **
  30  Prefactor     .10002E-03    17.858         .0000    ** at limit **
  31  norm          .10020E-03    9.4211         .0000    ** at limit **
  32  Normalizat    .10000E-01    .11058         .0000    ** at limit **
  33  Prefactor     .44409E-12    .17775         .0000    ** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000101231
  Prefactor  = 0.000100209
  Prefactor  = 0.000104605
  Prefactor  = 0.00010004
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.39322
  Prefactor  = 0.00010079
  Prefactor  = 0.000100515
  Prefactor  = 0.000149169
  Prefactor  = 0.000245632
  Prefactor  = 9999.99
  Prefactor  = 10000
  Prefactor  = 9999.99
  norm       = 10000
  Prefactor  = 10000
  norm       = 0.00441427
  Prefactor  = 10000
  Prefactor  = 0.000134733
  Prefactor  = 0.000100357
  Prefactor  = 9999.99
  norm       = 0.000107998
  Prefactor  = 0.000156967
  Prefactor  = 1461.42
  Prefactor  = 0.000125003
  norm       = 0.000100092
  Prefactor  = 10000
  Prefactor  = 0.000100016
  norm       = 0.000100205
  Normalizat = 0.01
  Prefactor  = 4.44089e-13
 **********
 **   18 **HESSE 
 **********

 FCN=   264.8235     FROM HESSE     STATUS=OK           731 CALLS     5658 TOTAL
                     EDM=   .99E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1341        .76664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10123E-03    48.390        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10021E-03    18.281        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10461E-03    164.75        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10004E-03    28.542        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.216        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    12.565        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    12.044        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3932        64.495        .48195E-02   -1.5289    
  10  Prefactor     .10079E-03    25.573        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10052E-03    39.960        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .14917E-03    148.25        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .24563E-03    7513.0        .10685E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor    10000.0        8441.4        .95338E-02    1.5694    
  15  Prefactor    10000.0        6395.1        .93193E-02    1.5695    
  16  Prefactor    10000.0        9373.9        .90712E-02    1.5690    
  17  norm         10000.0        299.51        .90712E-02    1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor    10000.0        1383.0        .90712E-02    1.5698    
  19  norm          .44143E-02    2087.6        .90712E-02   -1.5695    
  20  Prefactor    10000.0        1803.4        .10556E-01    1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .13473E-03    203.25        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10036E-03    24.162        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor    10000.0        6485.7        .90712E-02    1.5693    
  24  norm          .10800E-03    411.77        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .15697E-03    533.69        .90712E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1461.4        5238.8        .28309E-03   -.78626    
  27  Prefactor     .12500E-03    197.55        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10009E-03    441.85        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor    10000.0        2040.0        .10066E-01    1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10002E-03    41.201        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10020E-03    18.349        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .10000E-01    .10926        .75756E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .44409E-12    .17107        .95972E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.89936e-06
Minuit parameter uncertainties:
  1  2.61387e-08
  2  0.0154489
  3  0.0039068
  4  0.0552412
  5  0.00213306
  6  0.00016138
  7  0.000110016
  8  8.21396e-05
  9  33.7089
  10  0.00899392
  11  0.00908233
  12  0.171179
  13  1.90215
  14  31.1659
  15  6.97509
  16  22.2774
  17  0.347333
  18  3.90839
  19  6.23339
  20  0.958806
  21  0.168615
  22  0.00587931
  23  8.64575
  24  0.115578
  25  0.351905
  26  5025.4
  27  0.141027
  28  0.012843
  29  2.59046
  30  0.00162744
  31  0.00387967
  32  2.66424e-07
  33  5.52796e-07
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.000e+04  3.473e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.267e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  1.363e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  4.441e-13  5.528e-07  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
680   Normalization:  1.000e-02  2.664e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 53.52
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 6.76e-04 +/- 2.35e-08
Energy Flux (Fixed Index): 2.59e-01 +/- 9.00e-06

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) = 190.622375188
delta logL = 74.2011512912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 190.622365849
delta logL = 74.2011606309

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88832E-07   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   190.6223     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      181 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm         10000.0        193.79        .90729E-02** at limit **
   2  alpha         5.0000        .15766E-01    .34328E-01** at limit **
   3  Normalizat    .10000E-01    .94238E-01    .59635E-01** at limit **
   4  Prefactor     .42005E-11    .15750        .78060E-01** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 10000
  alpha      = 5
  Normalizat = 0.01
  Prefactor  = 4.20053e-12
 **********
 **   18 **HESSE 
 **********

 FCN=   190.6223     FROM HESSE     STATUS=OK            23 CALLS      204 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm         10000.0        193.79        .18146E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        .15764E-01    .75851E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .10000E-01    .95153E-01    .13131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .42005E-11    .16341        .33970E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.4284e-10
Minuit parameter uncertainties:
  1  0.00876649
  2  2.08415e-08
  3  2.01914e-06
  4  1.6615e-06
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/137485': 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) = 190.622340923
delta logL = 74.2011855565

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.000e+04  8.766e-03  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  5.000e+00  2.084e-08  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  1.363e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  4.201e-12  1.661e-06  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
680   Normalization:  1.000e-02  2.019e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 201.92
Ra Dec: 140.229 44.699
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 5.56e-02 +/- 4.86e-08
Energy Flux (Free Index): 7.68e+00 +/- 6.72e-06

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/137485/cmap_HighResolution_648345601_648604801_4FGL_J0920.9+4441_daily_bin1578.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.76e-04', energy_flux2='7.68e+00', photon_flux_error='2.35e-08', dlogl='7.42e+01', energy_flux='2.59e-01', photon_flux2='5.56e-02', job_status='DONE', time_completed='2021-08-31 07:25:54.607299', photon_index_error2='0.00', photon_index2='5.00', ts='53.52', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', energy_flux_error2='6.72e-06', EG='0.01', time_epoch_completed='1630419954.61', return_code='0', job_id='137485', GAL2='0.00', EG2='0.01', return_code2='0', energy_flux_error='9.00e-06', photon_flux_error2='4.86e-08', ts2='201.92', photon_index='2.27' WHERE bin_id='1578' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:25:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 137485: <4FGL_J0920.9+4441_daily_bin1578> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin1578> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 07:16:05 2021
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 07:16: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 07:16:06 2021
Terminated at Tue Aug 31 07:25:56 2021
Results reported at Tue Aug 31 07:25:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin1578 140.229 44.699 648345601 648604801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0920.9+4441 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   543.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             227.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   589 sec.
    Turnaround time :                            591 sec.

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

