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


Performing analysis on: 4FGL_J0920.9+4441_daily_bin912
RA = 140.229, Dec = 44.699
tmin = 475718401, tmax = 475977601
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='133010', job_status='RUN', time_executed='2021-08-31 07:01:49.850545', time_epoch_executed='1630418509.85' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='912'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/133010

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/133010/ft1_4FGL_J0920.9+4441_daily_bin912.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/133010/ft2_4FGL_J0920.9+4441_daily_bin912.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/133010/ft1_4FGL_J0920.9+4441_daily_bin912.fits outfile=/scratch/kocevski/133010/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin912.fits ra=140.229 dec=44.699 rad=12.0 tmin=475718401.0 tmax=475977601.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.80
user 3.30
sys 1.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/133010/ft2_4FGL_J0920.9+4441_daily_bin912.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/133010/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin912.fits evtable="EVENTS" outfile="/scratch/kocevski/133010/ft1_filtered_4FGL_J0920.9+4441_daily_bin912.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 2.32
user 0.32
sys 1.70

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/133010/ft1_filtered_4FGL_J0920.9+4441_daily_bin912.fits" evtable="EVENTS" scfile=/scratch/kocevski/133010/ft2_4FGL_J0920.9+4441_daily_bin912.fits sctable="SC_DATA" outfile=/scratch/kocevski/133010/ltcube_475718401_475977601_4FGL_J0920.9+4441_daily_bin912.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/133010/ft2_4FGL_J0920.9+4441_daily_bin912.fits
.....................!
real 13.79
user 11.84
sys 1.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/133010/ft1_filtered_4FGL_J0920.9+4441_daily_bin912.fits evtable="EVENTS" scfile=/scratch/kocevski/133010/ft2_4FGL_J0920.9+4441_daily_bin912.fits sctable="SC_DATA" expcube=/scratch/kocevski/133010/ltcube_475718401_475977601_4FGL_J0920.9+4441_daily_bin912.fits outfile=/scratch/kocevski/133010/expmap_475718401_475977601_4FGL_J0920.9+4441_daily_bin912.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/133010/ltcube_475718401_475977601_4FGL_J0920.9+4441_daily_bin912.fits
.....................!
real 191.81
user 185.13
sys 6.18

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/133010/ft1_filtered_4FGL_J0920.9+4441_daily_bin912.fits scfile=/scratch/kocevski/133010/ft2_4FGL_J0920.9+4441_daily_bin912.fits outfile=/scratch/kocevski/133010/cmap_475718401_475977601_4FGL_J0920.9+4441_daily_bin912.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.75
user 0.37
sys 1.22

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/133010/ft1_filtered_4FGL_J0920.9+4441_daily_bin912.fits scfile=/scratch/kocevski/133010/ft2_4FGL_J0920.9+4441_daily_bin912.fits outfile=/scratch/kocevski/133010/cmap_HighResolution_475718401_475977601_4FGL_J0920.9+4441_daily_bin912.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.75
user 0.38
sys 1.23

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61769       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .86818       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.3079       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.7437       1.0000         .10000E-03   10000.    
     8 'norm      '    5.4949       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1604       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    63.255       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3380       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.7093       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .60479       1.0000         .10000E-03   10000.    
    19 'norm      '    6.5779       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.2049       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.177       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.8110       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .85968       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    2.2476       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .96526       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .76731       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=   5544.149     FROM MIGRAD    STATUS=CONVERGED    881 CALLS     4630 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61780        .53340       -.18146E-07   -.33508E-03
   2  Prefactor     .10000E-03    5.9141        .14951E-05** at limit **
   3  Prefactor     .86784        2.3043        .47022E-06   -.17332E-03
   4  Prefactor     8.3134        20.059        .54635E-06   -.25797E-05
   5  Prefactor     .10000E-03    4.8102       -.42384E-06** at limit **
   6  Prefactor     .10000E-03    3.8106        .72969E-07** at limit **
   7  norm          1.7441        2.7404        .34519E-07   -.74157E-04
   8  norm          5.4954        4.6906        .10052E-06   -.23507E-04
   9  Prefactor     .10000E-03    11.141        .10231E-05** at limit **
  10  Prefactor     2.1603        2.4532        .13143E-06   -.24828E-03
  11  Prefactor     .10000E-03    3.8558        .22032E-06** at limit **
  12  Prefactor     63.247        56.975       -.28355E-05   -.13516E-03
  13  Prefactor     .10000E-03    .98769       -.50882E-07** at limit **
  14  Prefactor     .10000E-03    58.780       -.10945E-05** at limit **
  15  Prefactor     5.3365        2.9895       -.30164E-07   -.16156E-03
  16  Prefactor     .10000E-03    11.643        .73754E-06** at limit **
  17  norm          1.7081        1.0003       -.23458E-06   -.22545E-02
  18  Prefactor     .60964        7.0801        .13522E-05   -.32874E-03
  19  norm          6.5767        6.1882        .82877E-06   -.98691E-03
  20  Prefactor     .10000E-03    .65798       -.13176E-06** at limit **
  21  Prefactor     1.2051        4.0901        .14586E-06   -.30370E-03
  22  Prefactor     12.177        4.3415       -.12708E-06   -.20573E-03
  23  Prefactor     .10000E-03    3.4116       -.47773E-07** at limit **
  24  norm          .10000E-03    6.5978       -.13076E-05** at limit **
  25  Prefactor     8.8075        16.524       -.14636E-06   -.11164E-04
  26  Prefactor     .85932        5.1497        .70561E-06   -.40374E-03
  27  Prefactor     .10000E-03    13.104       -.18803E-05** at limit **
  28  norm          .10000E-03    3.1937       -.55333E-06** at limit **
  29  Prefactor     .10000E-03    3.0671        .10103E-06** at limit **
  30  Prefactor     .10000E-03    27.387        .70385E-06** at limit **
  31  norm          2.2476        1.6858       -.41772E-08    .32662E-04
  32  Normalizat    .96505        .16422       -.99486E-06   -.15177E-03
  33  Prefactor     .76744        .17610        .59911E-06   -.12005E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.617797
  Prefactor  = 0.0001
  Prefactor  = 0.867843
  Prefactor  = 8.31342
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.74413
  norm       = 5.49541
  Prefactor  = 0.0001
  Prefactor  = 2.16028
  Prefactor  = 0.0001
  Prefactor  = 63.2467
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.33648
  Prefactor  = 0.0001
  norm       = 1.70813
  Prefactor  = 0.609636
  norm       = 6.57674
  Prefactor  = 0.0001
  Prefactor  = 1.20512
  Prefactor  = 12.177
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.80746
  Prefactor  = 0.859318
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.24763
  Normalizat = 0.965054
  Prefactor  = 0.767438
 **********
 **   18 **HESSE 
 **********

 FCN=   5544.149     FROM HESSE     STATUS=OK           697 CALLS     5327 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61780        .53816        .48504E-04   -1.5551    
   2  Prefactor     .10000E-03    5.9762        .17749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .86784        2.0964        .17792E-02   -1.5522    
   4  Prefactor     8.3134        19.861        .13909E-03   -1.5131    
   5  Prefactor     .10000E-03    4.8434        .15958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.8961        .14192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.7441        2.7130        .14998E-03   -1.5444    
   8  norm          5.4954        4.6887        .14390E-03   -1.5239    
   9  Prefactor     .10000E-03    11.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.1603        2.4053        .11554E-03   -1.5414    
  11  Prefactor     .10000E-03    3.8607        .14287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     63.247        57.632        .50455E-04   -1.4116    
  13  Prefactor     .10000E-03    .98952        .72268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    59.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.3365        2.9779        .91611E-04   -1.5246    
  16  Prefactor     .10000E-03    11.699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.7081        .99380        .31339E-04   -1.5447    
  18  Prefactor     .60964        11.416        .19949E-02   -1.5552    
  19  norm          6.5767        6.6126        .78234E-03   -1.5195    
  20  Prefactor     .10000E-03    .66307        .58922E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.2051        4.0782        .27304E-03   -1.5488    
  22  Prefactor     12.177        4.3088        .86815E-04   -1.5010    
  23  Prefactor     .10000E-03    3.4127        .13431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    6.6535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.8075        16.480        .13503E-03   -1.5114    
  26  Prefactor     .85932        5.5822        .33226E-03   -1.5523    
  27  Prefactor     .10000E-03    13.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    3.2063        .13011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    3.1205        .12724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    27.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          2.2476        1.6903        .81578E-04   -1.5408    
  32  Normalizat    .96505        .18913        .21626E-03   -.94211    
  33  Prefactor     .76744        .20290        .26874E-03   -1.0094    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.83277e-09
Minuit parameter uncertainties:
  1  0.538166
  2  7.56846e-05
  3  2.0966
  4  19.8769
  5  2.51807e-05
  6  1.99701e-06
  7  2.71318
  8  4.68899
  9  7.1254e-05
  10  2.40541
  11  1.26902e-05
  12  57.6833
  13  1.24138e-06
  14  0.000206438
  15  2.978
  16  5.33975e-05
  17  0.993806
  18  5.27691
  19  6.61331
  20  2.29172e-06
  21  4.07918
  22  4.30893
  23  1.36175e-07
  24  7.49348e-05
  25  16.4888
  26  4.38068
  27  0.000151236
  28  2.16423e-05
  29  8.82011e-06
  30  7.49893e-05
  31  1.69032
  32  0.189264
  33  0.203101
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.708e+00  9.938e-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.674e-01  2.031e-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.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.44
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.15e-07 +/- 6.72e-08
Energy Flux (Fixed Index): 4.43e-05 +/- 2.58e-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) = 5543.8595076
delta logL = 0.289386828717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5543.8580292
delta logL = 0.290865225429

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3630       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5672       1.0000          .0000       5.0000    
     3 'Normalizat'    .93736       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79062       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=   5543.858     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      204 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3630        5.8187        .60864E-02   -.25816E-02
   2  alpha         2.5672        3.7186        .16799       -.27314E-04
   3  Normalizat    .93735        .87010E-01    .45377E-01   -.11525E-03
   4  Prefactor     .79065        .85913E-01    .43595E-01    .53004E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.363
  alpha      = 2.56723
  Normalizat = 0.937349
  Prefactor  = 0.790647
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3630        .71326        .27025E-04   -1.5474    
   2  alpha         2.5672        .42666        .71066E-02    .26895E-01
   3  Normalizat    .93735        .18011        .21884E-03   -.95160    
   4  Prefactor     .79065        .19990        .26524E-03   -1.0007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99197e-10
Minuit parameter uncertainties:
  1  0.713269
  2  0.42876
  3  0.180223
  4  0.200082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/133010': 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) = 5543.85802919
delta logL = 0.290865237658

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.363e+00  7.133e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.567e+00  4.288e-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.906e-01  2.001e-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.373e-01  1.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.11
Ra Dec: 140.229 44.699
Photon Index (Free Index): 2.57 +/- 0.43
Photon Flux (Free Index): 1.36e-07 +/- 4.98e-08
Energy Flux (Free Index): 3.91e-05 +/- 1.43e-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/133010/cmap_HighResolution_475718401_475977601_4FGL_J0920.9+4441_daily_bin912.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.15e-07', energy_flux2='3.91e-05', photon_flux_error='6.72e-08', dlogl='2.91e-01', energy_flux='4.43e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-08-31 07:16:44.966613', photon_index_error2='0.43', photon_index2='2.57', ts='17.44', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.43e-05', EG='0.97', time_epoch_completed='1630419404.97', return_code='0', job_id='133010', GAL2='0.79', EG2='0.94', return_code2='0', energy_flux_error='2.58e-05', photon_flux_error2='4.98e-08', ts2='18.11', photon_index='2.27' WHERE bin_id='912' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:16:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 133010: <4FGL_J0920.9+4441_daily_bin912> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin912> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 07:01:20 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 07:01:22 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:01:22 2021
Terminated at Tue Aug 31 07:16:45 2021
Results reported at Tue Aug 31 07:16:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin912 140.229 44.699 475718401 475977601 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 :                                   908.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             345.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            925 sec.

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

