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


Performing analysis on: 4FGL_J0920.9+4441_daily_bin975
RA = 140.229, Dec = 44.699
tmin = 492048001, tmax = 492307201
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='133105', job_status='RUN', time_executed='2021-08-31 07:07:38.606156', time_epoch_executed='1630418858.61' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='975'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/133105

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/133105/ft1_4FGL_J0920.9+4441_daily_bin975.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/133105/ft2_4FGL_J0920.9+4441_daily_bin975.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/133105/ft1_4FGL_J0920.9+4441_daily_bin975.fits outfile=/scratch/kocevski/133105/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin975.fits ra=140.229 dec=44.699 rad=12.0 tmin=492048001.0 tmax=492307201.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 12.33
user 3.47
sys 8.79

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/133105/ft1_filtered_4FGL_J0920.9+4441_daily_bin975.fits" evtable="EVENTS" scfile=/scratch/kocevski/133105/ft2_4FGL_J0920.9+4441_daily_bin975.fits sctable="SC_DATA" outfile=/scratch/kocevski/133105/ltcube_492048001_492307201_4FGL_J0920.9+4441_daily_bin975.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/133105/ft2_4FGL_J0920.9+4441_daily_bin975.fits
.....................!
real 21.21
user 11.25
sys 9.88

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/133105/ft1_filtered_4FGL_J0920.9+4441_daily_bin975.fits evtable="EVENTS" scfile=/scratch/kocevski/133105/ft2_4FGL_J0920.9+4441_daily_bin975.fits sctable="SC_DATA" expcube=/scratch/kocevski/133105/ltcube_492048001_492307201_4FGL_J0920.9+4441_daily_bin975.fits outfile=/scratch/kocevski/133105/expmap_492048001_492307201_4FGL_J0920.9+4441_daily_bin975.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/133105/ltcube_492048001_492307201_4FGL_J0920.9+4441_daily_bin975.fits
.....................!
real 201.59
user 185.50
sys 15.25

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/133105/ft1_filtered_4FGL_J0920.9+4441_daily_bin975.fits scfile=/scratch/kocevski/133105/ft2_4FGL_J0920.9+4441_daily_bin975.fits outfile=/scratch/kocevski/133105/cmap_492048001_492307201_4FGL_J0920.9+4441_daily_bin975.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 8.91
user 0.37
sys 8.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/133105/ft1_filtered_4FGL_J0920.9+4441_daily_bin975.fits scfile=/scratch/kocevski/133105/ft2_4FGL_J0920.9+4441_daily_bin975.fits outfile=/scratch/kocevski/133105/cmap_HighResolution_492048001_492307201_4FGL_J0920.9+4441_daily_bin975.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 9.17
user 0.40
sys 8.68

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/133105/ft1_filtered_4FGL_J0920.9+4441_daily_bin975.fits', '/scratch/kocevski/133105/ft2_4FGL_J0920.9+4441_daily_bin975.fits', expMap='/scratch/kocevski/133105/expmap_492048001_492307201_4FGL_J0920.9+4441_daily_bin975.fits', expCube='/scratch/kocevski/133105/ltcube_492048001_492307201_4FGL_J0920.9+4441_daily_bin975.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/133105/Model_4FGL_J0920.9+4441_daily_bin975.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/133105/ft1_filtered_4FGL_J0920.9+4441_daily_bin975.fits
Spacecraft file(s): /scratch/kocevski/133105/ft2_4FGL_J0920.9+4441_daily_bin975.fits
Exposure map: /scratch/kocevski/133105/expmap_492048001_492307201_4FGL_J0920.9+4441_daily_bin975.fits
Exposure cube: /scratch/kocevski/133105/ltcube_492048001_492307201_4FGL_J0920.9+4441_daily_bin975.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/133105/Model_4FGL_J0920.9+4441_daily_bin975.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 86.2493055806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 85.1746878577

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18247       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.1697       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1599       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .17367E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.6664       1.0000         .10000E-03   10000.    
     7 'norm      '    6.0040       1.0000         .10000E-03   10000.    
     8 'norm      '    6.3329       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8697       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20331E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8972       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1636       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.8164       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.4868       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12325E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1862       1.0000         .10000E-03   10000.    
    17 'norm      '    .10852E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .80397E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    108.96       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12717E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.6322       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.6534       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.2445       1.0000         .10000E-03   10000.    
    24 'norm      '    3.3405       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.8582       1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.7319       1.0000         .10000E-03   10000.    
    27 'Prefactor '    6.1664       1.0000         .10000E-03   10000.    
    28 'norm      '    6.8267       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.2352       1.0000         .10000E-03   10000.    
    30 'Prefactor '    5.6856       1.0000         .10000E-03   10000.    
    31 'norm      '    6.9652       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .10002E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .16873       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   84.99251     FROM MIGRAD    STATUS=CONVERGED    338 CALLS      584 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5742        .65665E-02** at limit **
   2  Prefactor     .10000E-03    121.03        .98973E-02** at limit **
   3  Prefactor     11.919        12.896        .35067E-02   -.96371E-02
   4  Prefactor     .26923E-03    285.52        .44245E-02** at limit **
   5  Prefactor     .10000E-03    64.480        .91096E-02** at limit **
   6  Prefactor     2.6664        1.0188         .0000         .0000    
   7  norm          6.0040        1.0035         .0000         .0000    
   8  norm          6.3329        1.0031         .0000         .0000    
   9  Prefactor     3.8697        1.0086         .0000         .0000    
  10  Prefactor     .10000E-03    .20813       -.25640E-03** at limit **
  11  Prefactor     1.8972        1.0398         .0000         .0000    
  12  Prefactor     4.1636        1.0074         .0000         .0000    
  13  Prefactor     8.6123        1.0518       -.19916E-04   -.98571E-04
  14  Prefactor     190.82        5.0132        .14341E-03    .21346E-03
  15  Prefactor     .10000E-03    .26570       -.51466E-04** at limit **
  16  Prefactor     .11536E-03    .48687E-01   -.19117E-03** at limit **
  17  norm          .10000E-03    .26801        .18959E-03** at limit **
  18  Prefactor     .10000E-03    .22171       -.22115E-03** at limit **
  19  norm          108.47        .99778       -.51497E-04    .88157E-03
  20  Prefactor     .10000E-03    .20571       -.73259E-04** at limit **
  21  Prefactor     5.6322        1.0040         .0000         .0000    
  22  Prefactor     1.6534        1.0551         .0000         .0000    
  23  Prefactor     4.2445        1.0071         .0000         .0000    
  24  norm          .46712        .37833       -.57232E-03    .13791E-02
  25  Prefactor     .67311E-02    .14604        .71623E-05    .42632E-02
  26  Prefactor     1.7319        1.0493         .0000         .0000    
  27  Prefactor     .49822E-03    .40838E-01    .31374E-03** at limit **
  28  norm          6.8267        1.0027         .0000         .0000    
  29  Prefactor     1.2352        1.1226         .0000         .0000    
  30  Prefactor     .33960E-03    .44342E-01   -.17997E-02** at limit **
  31  norm          6.9652        1.0026         .0000         .0000    
  32  Normalizat    .10000E-01    .25684        .14219E-02** at limit **
  33  Prefactor     .44261E-10    .29959       -.85959E-03** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9194
  Prefactor  = 0.000269229
  Prefactor  = 0.0001
  Prefactor  = 2.66641
  norm       = 6.00399
  norm       = 6.33292
  Prefactor  = 3.86972
  Prefactor  = 0.000100001
  Prefactor  = 1.89722
  Prefactor  = 4.1636
  Prefactor  = 8.61226
  Prefactor  = 190.819
  Prefactor  = 0.0001
  Prefactor  = 0.000115363
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 108.465
  Prefactor  = 0.0001
  Prefactor  = 5.63222
  Prefactor  = 1.65345
  Prefactor  = 4.24448
  norm       = 0.46712
  Prefactor  = 0.00673107
  Prefactor  = 1.73194
  Prefactor  = 0.000498221
  norm       = 6.82667
  Prefactor  = 1.23522
  Prefactor  = 0.0003396
  norm       = 6.96518
  Normalizat = 0.01
  Prefactor  = 4.42607e-11
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   84.99251     FROM HESSE     STATUS=FAILED        19 CALLS      603 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5742        .65665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    121.03        .98973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.919        12.896        .35067E-02   -1.5017    
   4  Prefactor     .26923E-03    285.52        .44245E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    64.480        .91096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     558.90        556.14         .0000       -1.5381    
   7  norm          6.0040        1.0035         .0000       -1.5218    
   8  norm          6.3329        1.0031         .0000       -1.5205    
   9  Prefactor     3.8697        1.0086         .0000       -1.5315    
  10  Prefactor     .10000E-03    .20813       -.25640E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.8972        1.0398         .0000       -1.5432    
  12  Prefactor     4.1636        1.0074         .0000       -1.5300    
  13  Prefactor     8.6123        1.0518       -.19916E-04   -1.5121    
  14  Prefactor     190.82        5.0132        .14341E-03   -1.2936    
  15  Prefactor     .10000E-03    .26570       -.51466E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11536E-03    .48687E-01   -.19117E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .26801        .18959E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .22171       -.22115E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          108.47        .99778       -.51497E-04   -1.3621    
  20  Prefactor     .10000E-03    .20571       -.73259E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.6322        1.0040         .0000       -1.5233    
  22  Prefactor     1.6534        1.0551         .0000       -1.5451    
  23  Prefactor     4.2445        1.0071         .0000       -1.5296    
  24  norm          .46712        .37833       -.57232E-03   -1.5571    
  25  Prefactor     .67311E-02    .14604        .71623E-05   -1.5692    
  26  Prefactor     1.7319        1.0493         .0000       -1.5445    
  27  Prefactor     .49822E-03    .40838E-01    .31374E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          6.8267        1.0027         .0000       -1.5185    
  29  Prefactor     1.2352        1.1226         .0000       -1.5486    
  30  Prefactor     .33960E-03    .44342E-01   -.17997E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          6.9652        1.0026         .0000       -1.5180    
  32  Normalizat    .10000E-01    .25684        .14219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .44261E-10    .29959       -.85959E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.11245e-09
Minuit parameter uncertainties:
  1  1.49355e-05
  2  0.000454583
  3  12.8993
  4  0.44175
  5  6.38704e-05
  6  1.01876
  7  1.00351
  8  1.00315
  9  1.0086
  10  2.57604e-05
  11  1.0398
  12  1.0074
  13  1.0518
  14  5.01324
  15  3.25221e-06
  16  0.00172969
  17  2.66772e-06
  18  1.44007e-05
  19  0.997778
  20  2.50645e-07
  21  1.00399
  22  1.05516
  23  1.00711
  24  0.378329
  25  0.062239
  26  1.0493
  27  0.00806538
  28  1.00271
  29  1.12262
  30  0.00651899
  31  1.0026
  32  4.9427e-06
  33  7.31975e-06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 84.9925121098

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.000e-04  2.668e-06  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.426e-11  7.320e-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  4.943e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.229 44.699
Photon Flux Upper Limit: 1.04e-05 ph cm-2 s-1
Energy Flux Upper Limit: 4.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/133105/likelihoodResults_492048001_492307201_4FGL_J0920.9+4441_daily_bin975.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 84.9926664761
delta logL = -0.000154366331543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 84.9925188017
delta logL = -6.69193256897e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4655       1.0000          .0000       5.0000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72823E-05   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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   84.99251     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      294 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7001.6        .28991E-02** at limit **
   2  alpha         1.7542        3.8012        .18369        .88763E-08
   3  Normalizat    .10000E-01    .60920        .55397E-02** at limit **
   4  Prefactor     .23286E-08    .50084        .50891E-02** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.75423
  Normalizat = 0.01
  Prefactor  = 2.32859e-09
 **********
 **   18 **HESSE 
 **********

 FCN=   84.99251     FROM HESSE     STATUS=OK            23 CALLS      317 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    31.686        .50672E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7542        3.3044        .36738E-01   -.30292    
   3  Normalizat    .10000E-01    1.4000        .11079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23286E-08    1.1561        .10178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09291e-09
Minuit parameter uncertainties:
  1  0.000110724
  2  778.061
  3  3.55704e-05
  4  0.000105884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/133105': 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) = 84.9925118922
delta logL = 2.17640817368e-07

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.000e-04  1.107e-04  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  1.754e+00  7.781e+02  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:  2.329e-09  1.059e-04  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  3.557e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.229 44.699

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/133105/cmap_HighResolution_492048001_492307201_4FGL_J0920.9+4441_daily_bin975.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.00e-03', job_status='DONE', photon_flux_upper_limit='1.04e-05', time_completed='2021-08-31 07:15:23.024179', job_id='133105', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630419323.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='2.18e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='975' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:15:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 133105: <4FGL_J0920.9+4441_daily_bin975> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin975 140.229 44.699 492048001 492307201 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 :                                   594.48 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             179.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            839 sec.

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

