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


Performing analysis on: 4FGL_J0920.9+4441_daily_bin693
RA = 140.229, Dec = 44.699
tmin = 418953601, tmax = 419212801
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='131494', job_status='RUN', time_executed='2021-08-31 06:57:24.065051', time_epoch_executed='1630418244.07' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='693'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/131494

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/131494/ft1_4FGL_J0920.9+4441_daily_bin693.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/131494/ft2_4FGL_J0920.9+4441_daily_bin693.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/131494/ft1_4FGL_J0920.9+4441_daily_bin693.fits outfile=/scratch/kocevski/131494/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin693.fits ra=140.229 dec=44.699 rad=12.0 tmin=418953601.0 tmax=419212801.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 6.05
user 5.22
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/131494/ft1_filtered_4FGL_J0920.9+4441_daily_bin693.fits" evtable="EVENTS" scfile=/scratch/kocevski/131494/ft2_4FGL_J0920.9+4441_daily_bin693.fits sctable="SC_DATA" outfile=/scratch/kocevski/131494/ltcube_418953601_419212801_4FGL_J0920.9+4441_daily_bin693.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/131494/ft2_4FGL_J0920.9+4441_daily_bin693.fits
.....................!
real 13.26
user 11.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/131494/ft1_filtered_4FGL_J0920.9+4441_daily_bin693.fits evtable="EVENTS" scfile=/scratch/kocevski/131494/ft2_4FGL_J0920.9+4441_daily_bin693.fits sctable="SC_DATA" expcube=/scratch/kocevski/131494/ltcube_418953601_419212801_4FGL_J0920.9+4441_daily_bin693.fits outfile=/scratch/kocevski/131494/expmap_418953601_419212801_4FGL_J0920.9+4441_daily_bin693.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/131494/ltcube_418953601_419212801_4FGL_J0920.9+4441_daily_bin693.fits
.....................!
real 192.35
user 185.73
sys 3.86

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/131494/ft1_filtered_4FGL_J0920.9+4441_daily_bin693.fits scfile=/scratch/kocevski/131494/ft2_4FGL_J0920.9+4441_daily_bin693.fits outfile=/scratch/kocevski/131494/cmap_418953601_419212801_4FGL_J0920.9+4441_daily_bin693.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 0.77
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/131494/ft1_filtered_4FGL_J0920.9+4441_daily_bin693.fits scfile=/scratch/kocevski/131494/ft2_4FGL_J0920.9+4441_daily_bin693.fits outfile=/scratch/kocevski/131494/cmap_HighResolution_418953601_419212801_4FGL_J0920.9+4441_daily_bin693.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 0.83
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5908       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2364       1.0000         .10000E-03   10000.    
     4 'Prefactor '    41.722       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10562E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .50502       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1423       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.151       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7076       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.615       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3874       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .79423       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10985E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.0193       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.666       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.6311       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    8.9296       1.0000         .10000E-03   10000.    
    25 'Prefactor '    16.647       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.2013       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    8.0974       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .96526       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .75113       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5632.149     FROM MIGRAD    STATUS=CONVERGED    891 CALLS     4700 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5908        .68122        .21806E-07    .58901E-04
   2  Prefactor     .10000E-03    7.0929       -.19107E-05** at limit **
   3  Prefactor     1.2363        1.8243        .54700E-07   -.65466E-05
   4  Prefactor     41.723        26.034        .31188E-06   -.15852E-04
   5  Prefactor     .10000E-03    4.7222        .12164E-05** at limit **
   6  Prefactor     .10000E-03    1.9854       -.29032E-07** at limit **
   7  norm          .10000E-03    6.1955        .85276E-06** at limit **
   8  norm          .50521        4.7618        .35062E-06   -.33686E-03
   9  Prefactor     .10000E-03    5.2843       -.16571E-05** at limit **
  10  Prefactor     3.1431        2.4982       -.32133E-06   -.23865E-03
  11  Prefactor     .10001E-03    59.902       -.30535E-05** at limit **
  12  Prefactor     32.165        68.503        .18426E-04    .37087E-04
  13  Prefactor     5.7077        4.2165        .28092E-06   -.45920E-05
  14  Prefactor     17.615        18.103        .13634E-07   -.99191E-06
  15  Prefactor     2.3878        2.6616        .18703E-06   -.83426E-04
  16  Prefactor     .10000E-03    4.4575       -.42632E-06** at limit **
  17  norm          .79434        .49273        .62557E-08   -.48846E-03
  18  Prefactor     .10000E-03    1.3830        .40638E-07** at limit **
  19  norm          8.0199        6.4039        .11856E-06   -.83788E-05
  20  Prefactor     .10000E-03    1.5487        .36636E-07** at limit **
  21  Prefactor     15.666        10.376       -.41141E-06   -.17315E-03
  22  Prefactor     1.6315        3.6146        .11535E-05   -.18893E-03
  23  Prefactor     .10000E-03    17.186        .36069E-05** at limit **
  24  norm          8.9296        13.580        .14384E-06    .22273E-04
  25  Prefactor     16.646        21.977        .86711E-07    .25292E-04
  26  Prefactor     .10000E-03    6.1430        .71291E-06** at limit **
  27  Prefactor     .10000E-03    20.162       -.69536E-05** at limit **
  28  norm          .10000E-03    6.6760        .31648E-06** at limit **
  29  Prefactor     3.2021        2.5978        .46357E-06   -.25028E-02
  30  Prefactor     .10000E-03    27.076        .44461E-05** at limit **
  31  norm          8.0976        3.2465        .93457E-07   -.28961E-04
  32  Normalizat    .96511        .16549       -.13932E-05   -.51643E-04
  33  Prefactor     .75131        .17124       -.43100E-06   -.87589E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.59081
  Prefactor  = 0.0001
  Prefactor  = 1.23627
  Prefactor  = 41.7226
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.505211
  Prefactor  = 0.0001
  Prefactor  = 3.14305
  Prefactor  = 0.000100007
  Prefactor  = 32.1652
  Prefactor  = 5.70767
  Prefactor  = 17.6151
  Prefactor  = 2.38776
  Prefactor  = 0.0001
  norm       = 0.794345
  Prefactor  = 0.0001
  norm       = 8.01985
  Prefactor  = 0.0001
  Prefactor  = 15.6665
  Prefactor  = 1.63152
  Prefactor  = 0.0001
  norm       = 8.92956
  Prefactor  = 16.6464
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.20212
  Prefactor  = 0.0001
  norm       = 8.09761
  Normalizat = 0.965111
  Prefactor  = 0.751306
 **********
 **   18 **HESSE 
 **********

 FCN=   5632.149     FROM HESSE     STATUS=OK           701 CALLS     5401 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5908        .68278        .39061E-04   -1.5456    
   2  Prefactor     .10000E-03    7.1427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2363        1.7867        .11966E-03   -1.5486    
   4  Prefactor     41.723        26.024        .62061E-04   -1.4415    
   5  Prefactor     .10000E-03    4.7333        .15923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.9893        .10326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    6.4157        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .50521        4.8529        .31734E-03   -1.5566    
   9  Prefactor     .10000E-03    5.2991        .16847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.1431        2.4930        .99151E-04   -1.5353    
  11  Prefactor     .10001E-03    62.705        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     32.165        68.588        .70667E-04   -1.4573    
  13  Prefactor     5.7077        4.2182        .12838E-03   -1.5230    
  14  Prefactor     17.615        18.105        .95427E-04   -1.4868    
  15  Prefactor     2.3878        2.6466        .12272E-03   -1.5399    
  16  Prefactor     .10000E-03    4.4589        .15473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .79434        .43340        .35125E-04   -1.5530    
  18  Prefactor     .10000E-03    9.9989        .14776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.0199        6.4058        .14158E-03   -1.5142    
  20  Prefactor     .10000E-03    1.6068        .18171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     15.666        10.348        .10119E-03   -1.4916    
  22  Prefactor     1.6315        3.5778        .19420E-03   -1.5453    
  23  Prefactor     .10000E-03    17.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          8.9296        13.565        .13413E-03   -1.5110    
  25  Prefactor     16.646        22.019        .98162E-04   -1.4892    
  26  Prefactor     .10000E-03    6.2713        .36182E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    20.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    6.7086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     3.2021        6.1397        .11322E-02   -1.5350    
  30  Prefactor     .10000E-03    27.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          8.0976        3.2654        .82851E-04   -1.5139    
  32  Normalizat    .96511        .19549        .22014E-03   -.94209    
  33  Prefactor     .75131        .19748        .27170E-03   -1.0155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.74522e-09
Minuit parameter uncertainties:
  1  0.682783
  2  8.74527e-06
  3  1.78682
  4  26.0307
  5  1.10391e-05
  6  9.56663e-07
  7  5.57526e-05
  8  3.13164
  9  1.19163e-05
  10  2.49308
  11  0.00132713
  12  68.7573
  13  4.2184
  14  18.1101
  15  2.64672
  16  1.49473e-06
  17  0.433403
  18  8.16709e-05
  19  6.40634
  20  3.70997e-06
  21  10.3491
  22  3.57823
  23  1.58253e-05
  24  13.5701
  25  22.03
  26  3.08135e-05
  27  7.50049e-05
  28  1.01598e-05
  29  6.14093
  30  0.000104845
  31  3.26542
  32  0.195631
  33  0.197664
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  7.943e-01  4.334e-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.513e-01  1.977e-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.651e-01  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.57
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.37e-08 +/- 2.93e-08
Energy Flux (Fixed Index): 2.06e-05 +/- 1.12e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5632.1417815
delta logL = 0.00724141683531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5632.14032498
delta logL = 0.0086979397438

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81775       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1915       1.0000          .0000       5.0000    
     3 'Normalizat'    .96904       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74872       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=   5632.140     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      204 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81785        8.0428        .81125E-02    .30909E-03
   2  alpha         2.1916        3.4250        .35294        .30777E-04
   3  Normalizat    .96907        .67571E-01    .45778E-01    .80204E-05
   4  Prefactor     .74868        .62363E-01    .61577E-01    .16204E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.817851
  alpha      = 2.19156
  Normalizat = 0.969075
  Prefactor  = 0.748676
 **********
 **   18 **HESSE 
 **********

 FCN=   5632.140     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81785        .48065        .36184E-04   -1.5527    
   2  alpha         2.1916        .57817        .12566E-01   -.12369    
   3  Normalizat    .96907        .17652        .21976E-03   -.94074    
   4  Prefactor     .74868        .19266        .27236E-03   -1.0165    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.39145e-10
Minuit parameter uncertainties:
  1  0.480655
  2  0.583535
  3  0.176626
  4  0.192836
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/131494': 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) = 5632.14032492
delta logL = 0.00869800068722

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  8.179e-01  4.807e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.192e+00  5.835e-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.487e-01  1.928e-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.691e-01  1.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.56
Ra Dec: 140.229 44.699
Photon Index (Free Index): 2.19 +/- 0.58
Photon Flux (Free Index): 5.06e-08 +/- 3.64e-08
Energy Flux (Free Index): 2.12e-05 +/- 1.27e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/131494/cmap_HighResolution_418953601_419212801_4FGL_J0920.9+4441_daily_bin693.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.37e-08', energy_flux2='2.12e-05', photon_flux_error='2.93e-08', dlogl='8.70e-03', energy_flux='2.06e-05', photon_flux2='5.06e-08', job_status='DONE', time_completed='2021-08-31 07:12:23.185713', photon_index_error2='0.58', photon_index2='2.19', ts='7.57', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='1.27e-05', EG='0.97', time_epoch_completed='1630419143.19', return_code='0', job_id='131494', GAL2='0.75', EG2='0.97', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='3.64e-08', ts2='7.56', photon_index='2.27' WHERE bin_id='693' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:12:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 131494: <4FGL_J0920.9+4441_daily_bin693> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin693 140.229 44.699 418953601 419212801 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 :                                   883.02 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             313.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   975 sec.
    Turnaround time :                            978 sec.

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

