/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 107 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 = 7398
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0920.9+4441_daily_bin324
RA = 140.229, Dec = 44.699
tmin = 323308801, tmax = 323568001
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='129848', job_status='RUN', time_executed='2021-08-31 06:53:17.831625', time_epoch_executed='1630417997.83' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='324'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/129848

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/129848/ft1_4FGL_J0920.9+4441_daily_bin324.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/129848/ft2_4FGL_J0920.9+4441_daily_bin324.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/129848/ft1_4FGL_J0920.9+4441_daily_bin324.fits outfile=/scratch/kocevski/129848/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin324.fits ra=140.229 dec=44.699 rad=12.0 tmin=323308801.0 tmax=323568001.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 4.34
user 3.09
sys 1.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/129848/ft2_4FGL_J0920.9+4441_daily_bin324.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/129848/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin324.fits evtable="EVENTS" outfile="/scratch/kocevski/129848/ft1_filtered_4FGL_J0920.9+4441_daily_bin324.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 1.66
user 0.33
sys 1.30

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/129848/ft1_filtered_4FGL_J0920.9+4441_daily_bin324.fits" evtable="EVENTS" scfile=/scratch/kocevski/129848/ft2_4FGL_J0920.9+4441_daily_bin324.fits sctable="SC_DATA" outfile=/scratch/kocevski/129848/ltcube_323308801_323568001_4FGL_J0920.9+4441_daily_bin324.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/129848/ft2_4FGL_J0920.9+4441_daily_bin324.fits
.....................!
real 13.02
user 11.33
sys 1.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/129848/ft1_filtered_4FGL_J0920.9+4441_daily_bin324.fits evtable="EVENTS" scfile=/scratch/kocevski/129848/ft2_4FGL_J0920.9+4441_daily_bin324.fits sctable="SC_DATA" expcube=/scratch/kocevski/129848/ltcube_323308801_323568001_4FGL_J0920.9+4441_daily_bin324.fits outfile=/scratch/kocevski/129848/expmap_323308801_323568001_4FGL_J0920.9+4441_daily_bin324.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/129848/ltcube_323308801_323568001_4FGL_J0920.9+4441_daily_bin324.fits
.....................!
real 192.15
user 185.46
sys 6.24

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/129848/ft1_filtered_4FGL_J0920.9+4441_daily_bin324.fits scfile=/scratch/kocevski/129848/ft2_4FGL_J0920.9+4441_daily_bin324.fits outfile=/scratch/kocevski/129848/cmap_323308801_323568001_4FGL_J0920.9+4441_daily_bin324.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 1.56
user 0.35
sys 1.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/129848/ft1_filtered_4FGL_J0920.9+4441_daily_bin324.fits scfile=/scratch/kocevski/129848/ft2_4FGL_J0920.9+4441_daily_bin324.fits outfile=/scratch/kocevski/129848/cmap_HighResolution_323308801_323568001_4FGL_J0920.9+4441_daily_bin324.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 1.69
user 0.36
sys 1.30

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/129848/ft1_filtered_4FGL_J0920.9+4441_daily_bin324.fits', '/scratch/kocevski/129848/ft2_4FGL_J0920.9+4441_daily_bin324.fits', expMap='/scratch/kocevski/129848/expmap_323308801_323568001_4FGL_J0920.9+4441_daily_bin324.fits', expCube='/scratch/kocevski/129848/ltcube_323308801_323568001_4FGL_J0920.9+4441_daily_bin324.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/129848/Model_4FGL_J0920.9+4441_daily_bin324.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/129848/ft1_filtered_4FGL_J0920.9+4441_daily_bin324.fits
Spacecraft file(s): /scratch/kocevski/129848/ft2_4FGL_J0920.9+4441_daily_bin324.fits
Exposure map: /scratch/kocevski/129848/expmap_323308801_323568001_4FGL_J0920.9+4441_daily_bin324.fits
Exposure cube: /scratch/kocevski/129848/ltcube_323308801_323568001_4FGL_J0920.9+4441_daily_bin324.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/129848/Model_4FGL_J0920.9+4441_daily_bin324.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) = 5947.05278002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31564       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.1319       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9222       1.0000         .10000E-03   10000.    
     4 'Prefactor '    72.168       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8197       1.0000         .10000E-03   10000.    
     7 'norm      '    11.749       1.0000         .10000E-03   10000.    
     8 'norm      '    10.488       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12151E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10494E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.857       1.0000         .10000E-03   10000.    
    17 'norm      '    .47201       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.6068       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.9303       1.0000         .10000E-03   10000.    
    24 'norm      '    .10620E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .11463E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    7.1359       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .83804E-01   1.0000         .10000E-03   10000.    
    28 'norm      '    9.6121       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    9.8202       1.0000         .10000E-03   10000.    
    31 'norm      '    5.9299       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .98135       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .79396       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=   5946.932     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     3252 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31624        .42407       -.74802E-07    .96774E-04
   2  Prefactor     5.1321        1.3889       -.29276E-07    .89415E-04
   3  Prefactor     6.9217        3.4244       -.19625E-06    .29120E-04
   4  Prefactor     72.106        28.472        .24877E-05   -.98305E-03
   5  Prefactor     .10000E-03    5.0735       -.15150E-06** at limit **
   6  Prefactor     3.8171        4.3006       -.38274E-05   -.18188E-03
   7  norm          11.748        2.2273       -.39847E-06   -.12537E-03
   8  norm          10.488        3.7005       -.15467E-05    .54344E-03
   9  Prefactor     .10000E-03    17.912        .91364E-05** at limit **
  10  Prefactor     .10000E-03    .67816       -.22865E-06** at limit **
  11  Prefactor     .10000E-03    9.2208        .34804E-05** at limit **
  12  Prefactor     .10000E-03    8.1421       -.22976E-05** at limit **
  13  Prefactor     .10000E-03    3.5751       -.27589E-06** at limit **
  14  Prefactor     .10000E-03    17.943        .13416E-04** at limit **
  15  Prefactor     .10000E-03    2.1725       -.72275E-07** at limit **
  16  Prefactor     22.859        13.812        .68647E-05   -.15634E-02
  17  norm          .47210        .34926       -.72393E-07    .32680E-03
  18  Prefactor     .10002E-03    15.650       -.14280E-04** at limit **
  19  norm          .10000E-03    3.4727        .18725E-06** at limit **
  20  Prefactor     .10000E-03    .89879        .33180E-06** at limit **
  21  Prefactor     7.6082        2.6480       -.19660E-05    .63196E-03
  22  Prefactor     .10000E-03    2.6355       -.99789E-07** at limit **
  23  Prefactor     8.9262        4.8883       -.39387E-05   -.58585E-03
  24  norm          .10000E-03    9.0969       -.32090E-05** at limit **
  25  Prefactor     .10000E-03    14.916       -.34888E-05** at limit **
  26  Prefactor     7.1358        5.7647       -.62223E-05   -.53577E-03
  27  Prefactor     .10000E-03    2159.7       -.16354E-03** at limit **
  28  norm          9.6195        5.2522       -.17071E-06    .25115E-02
  29  Prefactor     .10000E-03    3.3375       -.13196E-06** at limit **
  30  Prefactor     9.8335        8.3774       -.14721E-05   -.95152E-03
  31  norm          5.9293        2.9421       -.62590E-07    .27019E-04
  32  Normalizat    .98148        .17641        .18479E-05    .35152E-03
  33  Prefactor     .79398        .19355        .10838E-05    .19471E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.316243
  Prefactor  = 5.13214
  Prefactor  = 6.92173
  Prefactor  = 72.106
  Prefactor  = 0.0001
  Prefactor  = 3.81709
  norm       = 11.7478
  norm       = 10.4875
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 22.859
  norm       = 0.472105
  Prefactor  = 0.000100023
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.60825
  Prefactor  = 0.0001
  Prefactor  = 8.92619
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.13577
  Prefactor  = 0.0001
  norm       = 9.61952
  Prefactor  = 0.0001
  Prefactor  = 9.83354
  norm       = 5.92926
  Normalizat = 0.981481
  Prefactor  = 0.793979
 **********
 **   18 **HESSE 
 **********

 FCN=   5946.932     FROM HESSE     STATUS=OK           785 CALLS     4037 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31624        .46898        .10493E-01   -1.5596    
   2  Prefactor     5.1321        9.2815        .44368E-02   -1.5255    
   3  Prefactor     6.9217        3.5341        .38122E-02   -1.5182    
   4  Prefactor     72.106        30.087        .11814E-02   -1.4008    
   5  Prefactor     .10000E-03    5.0413        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.8171        6.3484        .51629E-02   -1.5317    
   7  norm          11.748        7.0529        .29218E-02   -1.5022    
   8  norm          10.488        6.8408        .30929E-02   -1.5060    
   9  Prefactor     .10000E-03    17.784        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .67388        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.2470        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.495        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.5958        .36627E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.116        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.0900        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.859        15.435        .20946E-02   -1.4751    
  17  norm          .47210        .38376        .85412E-02   -1.5571    
  18  Prefactor     .10002E-03    1.2008        .59247E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.4630        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .87921        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.6082        7.1865        .36351E-02   -1.5156    
  22  Prefactor     .10000E-03    2.5546        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     8.9262        14.740        .33531E-02   -1.5110    
  24  norm          .10000E-03    9.1321        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    14.884        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     7.1358        6.4825        .37541E-02   -1.5174    
  27  Prefactor     .10000E-03    29.645        .12048       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          9.6195        12.101        .32314E-02   -1.5088    
  29  Prefactor     .10000E-03    3.2945        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     9.8335        30.724        .31968E-02   -1.5081    
  31  norm          5.9293        2.9472        .41226E-02   -1.5221    
  32  Normalizat    .98148        .16271        .45933E-01   -.93653    
  33  Prefactor     .79398        .17119        .43639E-01   -.99951    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48127e-08
Minuit parameter uncertainties:
  1  0.468983
  2  9.2841
  3  3.53424
  4  30.0931
  5  1.16363e-05
  6  6.34948
  7  7.05344
  8  6.84132
  9  0.000466425
  10  2.53801e-06
  11  2.59148e-05
  12  0.000500231
  13  6.93315e-06
  14  0.000387768
  15  3.75652e-06
  16  15.4374
  17  0.383757
  18  0.000334454
  19  3.88979e-06
  20  4.04266e-06
  21  7.18735
  22  9.00501e-06
  23  14.7464
  24  5.68245e-05
  25  3.69297e-05
  26  6.48316
  27  0.000114841
  28  12.1041
  29  1.13458e-07
  30  30.7735
  31  2.94726
  32  0.162787
  33  0.171305
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  4.721e-01  3.838e-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:  7.940e-01  1.713e-01  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:  9.815e-01  1.628e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.19e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 9.95e-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) = 5946.8684179
delta logL = 0.0637512752046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5946.86640446
delta logL = 0.065764712539

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .48811       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9640       1.0000          .0000       5.0000    
     3 'Normalizat'    .99281       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78703       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=   5946.866     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      224 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48855        10.263        .92519E-02    .13092E-03
   2  alpha         1.9652        3.0054        .42415       -.20670E-05
   3  Normalizat    .99242        .81188E-01    .46077E-01    .94625E-05
   4  Prefactor     .78734        .66757E-01    .43548E-01   -.94361E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.48855
  alpha      = 1.96518
  Normalizat = 0.992418
  Prefactor  = 0.787345
 **********
 **   18 **HESSE 
 **********

 FCN=   5946.866     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48855        .38389        .40393E-04   -1.5568    
   2  alpha         1.9652        .81227        .19565E-01   -.21559    
   3  Normalizat    .99242        .17273        .22116E-03   -.93285    
   4  Prefactor     .78734        .19108        .27325E-03   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86492e-12
Minuit parameter uncertainties:
  1  0.383895
  2  0.828049
  3  0.172826
  4  0.191239
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/129848': 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) = 5946.86640093
delta logL = 0.0657682396995

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  4.885e-01  3.839e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  1.965e+00  8.280e-01  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:  7.873e-01  1.912e-01  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:  9.924e-01  1.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.75
Ra Dec: 140.229 44.699
Photon Index (Free Index): 1.97 +/- 0.83
Photon Flux (Free Index): 2.37e-08 +/- 2.79e-08
Energy Flux (Free Index): 1.35e-05 +/- 1.17e-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/129848/cmap_HighResolution_323308801_323568001_4FGL_J0920.9+4441_daily_bin324.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.19e-08', energy_flux2='1.35e-05', photon_flux_error='2.59e-08', dlogl='6.58e-02', energy_flux='1.22e-05', photon_flux2='2.37e-08', job_status='DONE', time_completed='2021-08-31 07:06:36.293335', photon_index_error2='0.83', photon_index2='1.97', ts='5.63', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='1.17e-05', EG='0.98', time_epoch_completed='1630418796.29', return_code='0', job_id='129848', GAL2='0.79', EG2='0.99', return_code2='0', energy_flux_error='9.95e-06', photon_flux_error2='2.79e-08', ts2='5.75', photon_index='2.27' WHERE bin_id='324' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:06:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 129848: <4FGL_J0920.9+4441_daily_bin324> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin324> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Aug 31 06:51:01 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:51:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 06:51:02 2021
Terminated at Tue Aug 31 07:06:37 2021
Results reported at Tue Aug 31 07:06:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin324 140.229 44.699 323308801 323568001 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 :                                   813.09 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             285.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            936 sec.

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

