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


Performing analysis on: 4FGL_J0922.6+4454_daily_bin1390
RA = 140.659, Dec = 44.9131
tmin = 599616001, tmax = 599875201
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='170472', job_status='RUN', time_executed='2021-08-31 08:54:14.604736', time_epoch_executed='1630425254.6' WHERE source_name='4FGL J0922.6+4454' and cadence='daily' and bin_id='1390'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170472

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170472/ft1_4FGL_J0922.6+4454_daily_bin1390.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170472/ft2_4FGL_J0922.6+4454_daily_bin1390.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170472/ft1_4FGL_J0922.6+4454_daily_bin1390.fits outfile=/scratch/kocevski/170472/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1390.fits ra=140.659 dec=44.9131 rad=12.0 tmin=599616001.0 tmax=599875201.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 2.98
user 2.32
sys 0.61

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/170472/ft2_4FGL_J0922.6+4454_daily_bin1390.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/170472/ft2_4FGL_J0922.6+4454_daily_bin1390.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/170472/ft1_filteredMKT_4FGL_J0922.6+4454_daily_bin1390.fits evtable="EVENTS" outfile="/scratch/kocevski/170472/ft1_filtered_4FGL_J0922.6+4454_daily_bin1390.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 0.93
user 0.33
sys 0.58

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170472/ft1_filtered_4FGL_J0922.6+4454_daily_bin1390.fits" evtable="EVENTS" scfile=/scratch/kocevski/170472/ft2_4FGL_J0922.6+4454_daily_bin1390.fits sctable="SC_DATA" outfile=/scratch/kocevski/170472/ltcube_599616001_599875201_4FGL_J0922.6+4454_daily_bin1390.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/170472/ft2_4FGL_J0922.6+4454_daily_bin1390.fits
.....................!
real 12.79
user 11.95
sys 0.80

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170472/ft1_filtered_4FGL_J0922.6+4454_daily_bin1390.fits evtable="EVENTS" scfile=/scratch/kocevski/170472/ft2_4FGL_J0922.6+4454_daily_bin1390.fits sctable="SC_DATA" expcube=/scratch/kocevski/170472/ltcube_599616001_599875201_4FGL_J0922.6+4454_daily_bin1390.fits outfile=/scratch/kocevski/170472/expmap_599616001_599875201_4FGL_J0922.6+4454_daily_bin1390.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/170472/ltcube_599616001_599875201_4FGL_J0922.6+4454_daily_bin1390.fits
.....................!
real 190.65
user 185.61
sys 4.66

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

Setting source of interest to:
4FGL J0922.6+4454 @ 140.659 44.9131

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/170472/ft1_filtered_4FGL_J0922.6+4454_daily_bin1390.fits scfile=/scratch/kocevski/170472/ft2_4FGL_J0922.6+4454_daily_bin1390.fits outfile=/scratch/kocevski/170472/cmap_599616001_599875201_4FGL_J0922.6+4454_daily_bin1390.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.659 yref=44.9131 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.99
user 0.36
sys 0.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/170472/ft1_filtered_4FGL_J0922.6+4454_daily_bin1390.fits scfile=/scratch/kocevski/170472/ft2_4FGL_J0922.6+4454_daily_bin1390.fits outfile=/scratch/kocevski/170472/cmap_HighResolution_599616001_599875201_4FGL_J0922.6+4454_daily_bin1390.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.659 yref=44.9131 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.98
user 0.38
sys 0.57

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/170472/ft1_filtered_4FGL_J0922.6+4454_daily_bin1390.fits evtable="EVENTS" scfile=/scratch/kocevski/170472/ft2_4FGL_J0922.6+4454_daily_bin1390.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/170472/Model_4FGL_J0922.6+4454_daily_bin1390.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/170472/ft1_filtered_4FGL_J0922.6+4454_daily_bin1390.fits.....................!
real 33.25
user 31.18
sys 1.79

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/170472/ft1_filtered_4FGL_J0922.6+4454_daily_bin1390.fits', '/scratch/kocevski/170472/ft2_4FGL_J0922.6+4454_daily_bin1390.fits', expMap='/scratch/kocevski/170472/expmap_599616001_599875201_4FGL_J0922.6+4454_daily_bin1390.fits', expCube='/scratch/kocevski/170472/ltcube_599616001_599875201_4FGL_J0922.6+4454_daily_bin1390.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/170472/Model_4FGL_J0922.6+4454_daily_bin1390.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0922.6+4454'

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.166e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.870e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  7.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/170472/ft1_filtered_4FGL_J0922.6+4454_daily_bin1390.fits
Spacecraft file(s): /scratch/kocevski/170472/ft2_4FGL_J0922.6+4454_daily_bin1390.fits
Exposure map: /scratch/kocevski/170472/expmap_599616001_599875201_4FGL_J0922.6+4454_daily_bin1390.fits
Exposure cube: /scratch/kocevski/170472/ltcube_599616001_599875201_4FGL_J0922.6+4454_daily_bin1390.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/170472/Model_4FGL_J0922.6+4454_daily_bin1390.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) = 3041.99345706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7828       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.330       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10695E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3185       1.0000         .10000E-03   10000.    
     6 'norm      '    6.3819       1.0000         .10000E-03   10000.    
     7 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.550       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .45092       1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.809       1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.817       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .84958E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .79275       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.0487       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.8923       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.1141       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    1.0422       1.0000         .10000E-03   10000.    
    28 'norm      '    8.2325       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.0547       1.0000         .10000E-03   10000.    
    30 'Prefactor '    50.655       1.0000         .10000E-03   10000.    
    31 'norm      '    8.7514       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .80534       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.4194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3041.993     FROM MIGRAD    STATUS=CONVERGED    940 CALLS     5649 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7828        1.9467       -.12135E-07    .16282E-04
   2  Prefactor     12.298        72.633        .62572E-06    .98998E-06
   3  Prefactor     .10000E-03    184.30       -.22240E-06** at limit **
   4  Prefactor     .10000E-03    17.597       -.13083E-05** at limit **
   5  Prefactor     2.3161        13.234        .26135E-07    .11822E-04
   6  norm          6.3761        13.872       -.78243E-06   -.58554E-05
   7  norm          .10000E-03    5.7155        .32531E-06** at limit **
   8  Prefactor     27.546        32.881       -.33583E-06   -.41803E-05
   9  Prefactor     .45176        5.1438        .11526E-05   -.63782E-04
  10  Prefactor     36.811        46.264       -.10893E-05   -.19081E-04
  11  Prefactor     30.713        223.08       -.33019E-07   -.46425E-05
  12  Prefactor     .23946E-02    10.740        .10398E-06** at limit **
  13  Prefactor     .10000E-03    21.018       -.29516E-06** at limit **
  14  Prefactor     .10000E-03    1.9030       -.14445E-07** at limit **
  15  Prefactor     .78955        18.040        .19393E-05   -.71053E-04
  16  norm          .10000E-03    .25225        .45361E-07** at limit **
  17  Prefactor     .10000E-03    2.2848        .13300E-06** at limit **
  18  norm          .10000E-03    6.2432        .28356E-07** at limit **
  19  Prefactor     .10000E-03    2.0490       -.97222E-08** at limit **
  20  Prefactor     2.0558        21.353        .14308E-05   -.20764E-04
  21  Prefactor     .10000E-03    3.9099        .33628E-06** at limit **
  22  Prefactor     1.8739        115.57       -.11209E-07   -.10976E-04
  23  norm          .10000E-03    9.7039        .52703E-08** at limit **
  24  Prefactor     .10000E-03    13.376        .82058E-07** at limit **
  25  Prefactor     4.1185        8.4040        .37534E-06   -.34141E-04
  26  Prefactor     .10000E-03    17.913        .15404E-05** at limit **
  27  norm          1.0422        .67521        .37737E-07   -.11682E-03
  28  norm          8.2329        10.103        .56473E-07   -.14540E-04
  29  Prefactor     1.0534        8.9493        .24799E-05    .21904E-04
  30  Prefactor     50.652        51.467        .17336E-05   -.15534E-04
  31  norm          8.7514        4.2397        .10704E-06   -.38027E-04
  32  Normalizat    .80505        .27195       -.38314E-05   -.34970E-04
  33  Prefactor     1.4199        .29859       -.30157E-06   -.12693E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.78275
  Prefactor  = 12.2984
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.31614
  norm       = 6.37607
  norm       = 0.0001
  Prefactor  = 27.5456
  Prefactor  = 0.451761
  Prefactor  = 36.8111
  Prefactor  = 30.7134
  Prefactor  = 0.00239457
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.789551
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.05583
  Prefactor  = 0.0001
  Prefactor  = 1.87389
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.11853
  Prefactor  = 0.0001
  norm       = 1.04217
  norm       = 8.23288
  Prefactor  = 1.05341
  Prefactor  = 50.6522
  norm       = 8.75137
  Normalizat = 0.805046
  Prefactor  = 1.41993
 **********
 **   18 **HESSE 
 **********

 FCN=   3041.993     FROM HESSE     STATUS=OK           709 CALLS     6358 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7828        1.9506        .77448E-04   -1.5441    
   2  Prefactor     12.298        72.453        .11408E-03   -1.5006    
   3  Prefactor     .10000E-03    184.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3161        13.172        .26940E-03   -1.5404    
   6  norm          6.3761        13.887        .15888E-03   -1.5203    
   7  norm          .10000E-03    5.7363        .12889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.546        32.835        .76326E-04   -1.4658    
   9  Prefactor     .45176        17.223        .20867E-02   -1.5574    
  10  Prefactor     36.811        46.329        .66058E-04   -1.4494    
  11  Prefactor     30.713        230.71        .72175E-04   -1.4599    
  12  Prefactor     .23946E-02    12.515        .57077E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    21.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.9082        .74288E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .78955        82.387        .42691E-02   -1.5530    
  16  norm          .10000E-03    .26155        .54050E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.3233        .81390E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.2577        .13456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.0737        .77043E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.0558        19.325        .28883E-03   -1.5421    
  21  Prefactor     .10000E-03    3.9831        .10649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.8739        103.46        .30246E-03   -1.5434    
  23  norm          .10000E-03    9.7106        .16782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    13.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.1185        8.3024        .19875E-03   -1.5302    
  26  Prefactor     .10000E-03    17.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.0422        .67514        .35349E-04   -1.5504    
  28  norm          8.2329        10.104        .13973E-03   -1.5134    
  29  Prefactor     1.0534        9.2110        .15144E-02   -1.5503    
  30  Prefactor     50.652        51.599        .56347E-04   -1.4283    
  31  norm          8.7514        4.2441        .75714E-04   -1.5116    
  32  Normalizat    .80505        .31456        .28486E-03   -.99882    
  33  Prefactor     1.4199        .35818        .26286E-03   -.79808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.22061e-09
Minuit parameter uncertainties:
  1  1.95066
  2  59.81
  3  0.000337983
  4  3.14183e-05
  5  11.0503
  6  13.8938
  7  1.155e-05
  8  32.8561
  9  5.57989
  10  46.3746
  11  169.274
  12  0.338986
  13  6.11136e-06
  14  4.20439e-06
  15  16.1524
  16  1.49612e-06
  17  9.15031e-06
  18  9.7901e-06
  19  9.20418e-06
  20  12.6112
  21  9.60528e-06
  22  27.8983
  23  7.28811e-06
  24  1.49455e-05
  25  8.30467
  26  8.79883e-06
  27  0.675144
  28  10.1061
  29  6.23089
  30  51.6449
  31  4.2442
  32  0.315273
  33  0.358815
Done.

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

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  9.150e-06  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.870e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  7.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.420e+00  3.588e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  8.050e-01  3.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.659 44.913
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/170472/likelihoodResults_599616001_599875201_4FGL_J0922.6+4454_daily_bin1390.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) = 3041.99497476
delta logL = -0.00203055510292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3041.99294434
delta logL = -1.27289695229e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8527       1.0000          .0000       10.000    
     3 'Normalizat'    .80511       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4199       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+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=   3041.993     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      243 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10205E-03    4.7315        .82457E-02** at limit **
   2  Index         2.7701        8.3976        .50000        .56732E-04
   3  Normalizat    .80504        .88690E-02    .28485E-03   -.13370E-04
   4  Prefactor     1.4199        .10576E-01    .26286E-03   -.19065E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102047
  Index      = 2.77012
  Normalizat = 0.805044
  Prefactor  = 1.41993
 **********
 **   18 **HESSE 
 **********

 FCN=   3041.993     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10205E-03    59.176        .84432E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7701        8.5834        .50000       -.46226    
   3  Normalizat    .80504        .31947E-01    .11394E-04   -.99882    
   4  Prefactor     1.4199        .38096E-01    .52572E-04   -.79808    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.15068e-08
Minuit parameter uncertainties:
  1  0.0220318
  2  357.156
  3  0.0319482
  4  0.0380963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170472': 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): 102
logL (Free Index) = 3041.99294321
delta logL = 9.95693881123e-07

Extracting fit parameters...

4FGL J0922.6+4454
   Spectrum: PowerLaw
324    Prefactor:  1.020e-04  2.203e-02  1.000e-04  1.000e+04 ( 1.000e-12)
325        Index:  2.770e+00  3.572e+02  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  7.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.420e+00  3.810e-02  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  8.050e-01  3.195e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.659 44.913

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/170472/cmap_HighResolution_599616001_599875201_4FGL_J0922.6+4454_daily_bin1390.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2021-08-31 09:06:21.243148', job_id='170472', GAL2='1.42', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1630425981.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.42', dlogl='9.96e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.87' WHERE bin_id='1390' AND source_name='4FGL J0922.6+4454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 09:06:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 170472: <4FGL_J0922.6+4454_daily_bin1390> in cluster <slac> Done

Job <4FGL_J0922.6+4454_daily_bin1390> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Aug 31 08:50:49 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 08:50:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 08:50:51 2021
Terminated at Tue Aug 31 09:06:22 2021
Results reported at Tue Aug 31 09:06:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0922.6+4454_daily_bin1390 140.659 44.9131 599616001 599875201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0922.6+4454 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   724.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             251.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            933 sec.

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

