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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin412
RA = 222.624, Dec = 9.1818
tmin = 346118401, tmax = 346377601
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='808358', job_status='RUN', time_executed='2021-09-10 10:48:27.375089', time_epoch_executed='1631296107.38' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='412'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808358

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808358/ft1_4FGL_J1450.4+0910_daily_bin412.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808358/ft2_4FGL_J1450.4+0910_daily_bin412.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808358/ft1_4FGL_J1450.4+0910_daily_bin412.fits outfile=/scratch/kocevski/808358/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin412.fits ra=222.624 dec=9.1818 rad=12.0 tmin=346118401.0 tmax=346377601.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.09
user 3.84
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/808358/ft2_4FGL_J1450.4+0910_daily_bin412.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/808358/ft2_4FGL_J1450.4+0910_daily_bin412.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/808358/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin412.fits evtable="EVENTS" outfile="/scratch/kocevski/808358/ft1_filtered_4FGL_J1450.4+0910_daily_bin412.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/808358/ft1_filtered_4FGL_J1450.4+0910_daily_bin412.fits" evtable="EVENTS" scfile=/scratch/kocevski/808358/ft2_4FGL_J1450.4+0910_daily_bin412.fits sctable="SC_DATA" outfile=/scratch/kocevski/808358/ltcube_346118401_346377601_4FGL_J1450.4+0910_daily_bin412.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/808358/ft2_4FGL_J1450.4+0910_daily_bin412.fits
.....................!
real 11.64
user 11.29
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808358/ft1_filtered_4FGL_J1450.4+0910_daily_bin412.fits evtable="EVENTS" scfile=/scratch/kocevski/808358/ft2_4FGL_J1450.4+0910_daily_bin412.fits sctable="SC_DATA" expcube=/scratch/kocevski/808358/ltcube_346118401_346377601_4FGL_J1450.4+0910_daily_bin412.fits outfile=/scratch/kocevski/808358/expmap_346118401_346377601_4FGL_J1450.4+0910_daily_bin412.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/808358/ltcube_346118401_346377601_4FGL_J1450.4+0910_daily_bin412.fits
.....................!
real 189.62
user 184.88
sys 4.34

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

Setting source of interest to:
4FGL J1450.4+0910 @ 222.624 9.1818

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/808358/ft1_filtered_4FGL_J1450.4+0910_daily_bin412.fits scfile=/scratch/kocevski/808358/ft2_4FGL_J1450.4+0910_daily_bin412.fits outfile=/scratch/kocevski/808358/cmap_346118401_346377601_4FGL_J1450.4+0910_daily_bin412.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=222.624 yref=9.1818 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.56
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/808358/ft1_filtered_4FGL_J1450.4+0910_daily_bin412.fits scfile=/scratch/kocevski/808358/ft2_4FGL_J1450.4+0910_daily_bin412.fits outfile=/scratch/kocevski/808358/cmap_HighResolution_346118401_346377601_4FGL_J1450.4+0910_daily_bin412.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=222.624 yref=9.1818 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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/808358/ft1_filtered_4FGL_J1450.4+0910_daily_bin412.fits evtable="EVENTS" scfile=/scratch/kocevski/808358/ft2_4FGL_J1450.4+0910_daily_bin412.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/808358/Model_4FGL_J1450.4+0910_daily_bin412.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/808358/ft1_filtered_4FGL_J1450.4+0910_daily_bin412.fits.....................!
real 54.14
user 52.72
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/808358/ft1_filtered_4FGL_J1450.4+0910_daily_bin412.fits', '/scratch/kocevski/808358/ft2_4FGL_J1450.4+0910_daily_bin412.fits', expMap='/scratch/kocevski/808358/expmap_346118401_346377601_4FGL_J1450.4+0910_daily_bin412.fits', expCube='/scratch/kocevski/808358/ltcube_346118401_346377601_4FGL_J1450.4+0910_daily_bin412.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/808358/Model_4FGL_J1450.4+0910_daily_bin412.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1450.4+0910'

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  4.181e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/808358/ft1_filtered_4FGL_J1450.4+0910_daily_bin412.fits
Spacecraft file(s): /scratch/kocevski/808358/ft2_4FGL_J1450.4+0910_daily_bin412.fits
Exposure map: /scratch/kocevski/808358/expmap_346118401_346377601_4FGL_J1450.4+0910_daily_bin412.fits
Exposure cube: /scratch/kocevski/808358/ltcube_346118401_346377601_4FGL_J1450.4+0910_daily_bin412.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/808358/Model_4FGL_J1450.4+0910_daily_bin412.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) = 6761.4474662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10615E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    15.374       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.102       1.0000         .10000E-03   10000.    
     6 'norm      '    .16763       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13179E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.545       1.0000         .10000E-03   10000.    
     9 'norm      '    .14292E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11609E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .50302       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12740E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .15540       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10145E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.3727       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10358E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10116       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1217       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0528       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4830E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6761.416     FROM MIGRAD    STATUS=FAILED       984 CALLS     3126 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    81.075        .18142E-02** at limit **
   2  Prefactor     .10000E-03    9.6098        .18142E-02** at limit **
   3  norm          15.383        16.538        .10215E-03    .36781E-03
   4  Prefactor     .10000E-03    3.3626        .14680E-02** at limit **
   5  Prefactor     10.106        6.6272        .63036E-03    .16034E-02
   6  norm          .16749        2.3373        .17492E-02    .65891E-02
   7  Prefactor     .10012E-03    62.982        .18340    ** at limit **
   8  Prefactor     28.533        27.756        .74986E-04   -.29067E-03
   9  norm          .10001E-03    52.147        .36285E-03** at limit **
  10  Prefactor     .10004E-03    121.21        .36285E-02** at limit **
  11  Prefactor     .10000E-03    10.167        .18142E-02** at limit **
  12  Prefactor     .10000E-03    5.1302        .18142E-02** at limit **
  13  Prefactor     .52629        28.953        .10476        .25912E-03
  14  Prefactor     .10000E-03    31.128        .18142E-02** at limit **
  15  norm          .15533        .14911        .31415E-03   -.89419E-03
  16  norm          .10000E-03    1.3435        .18338E-03** at limit **
  17  norm          .10000E-03    1.7178        .10524E-02** at limit **
  18  norm          .10000E-03    20.866        .18142E-02** at limit **
  19  norm          7.3717        4.8608        .14139E-03    .19570E-03
  20  Prefactor     .10000E-03    24.591        .18142E-02** at limit **
  21  Prefactor     .10103E-03    32.268        .11622    ** at limit **
  22  Normalizat    1.1219        .26186        .29664E-03   -.80100E-05
  23  Prefactor     1.0528        .16060        .19325E-03   -.90092E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6761.416     FROM SIMPLEX   STATUS=UNCHANGED   1264 CALLS     4390 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    81.075        .99757E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.6098        .35639E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.383        16.538        .65460E-06   -1.4923    
   4  Prefactor     .10000E-03    3.3626        .18257E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.106        6.6272        .66062E-06   -1.5072    
   6  norm          .16749        2.3373        .68501E-06   -1.5626    
   7  Prefactor     .10012E-03    62.982        .64999E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     28.533        27.756        .64193E-06   -1.4639    
   9  norm          .10001E-03    52.147        .16042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10004E-03    121.21        .28833E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.167        .39533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.1302        .23618E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .52629        28.953        .68072E-06   -1.5563    
  14  Prefactor     .10000E-03    31.128        .65067E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .15533        .14911        .68486E-06   -1.5629    
  16  norm          .10000E-03    1.3435        .13725E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.7178        .12339E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    20.866        .36674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.3717        4.8608        .66459E-06   -1.5165    
  20  Prefactor     .10000E-03    24.591        .46578E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10103E-03    32.268        .20114E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1219        .26186        .39023E-06   -.89053    
  23  Prefactor     1.0528        .16060        .39871E-06   -.90990    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6761.416     FROM MIGRAD    STATUS=CONVERGED    385 CALLS     4775 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    81.127        .36285E-03** at limit **
   2  Prefactor     .10000E-03    9.6114        .36285E-03** at limit **
   3  norm          15.382        16.538        .20430E-04    .26711E-05
   4  Prefactor     .10000E-03    3.3631        .29360E-03** at limit **
   5  Prefactor     10.105        6.6258        .25214E-04    .25700E-04
   6  norm          .16750        2.3379        .34984E-03    .19628E-04
   7  Prefactor     .10010E-03    66.405        .17702    ** at limit **
   8  Prefactor     28.534        27.754        .14997E-04    .78837E-05
   9  norm          .10000E-03    52.145        .72569E-04** at limit **
  10  Prefactor     .10000E-03    121.91        .72569E-03** at limit **
  11  Prefactor     .10000E-03    10.168        .36285E-03** at limit **
  12  Prefactor     .10000E-03    5.1303        .36285E-03** at limit **
  13  Prefactor     .52624        26.197        .11169        .23869E-03
  14  Prefactor     .10000E-03    31.129        .36285E-03** at limit **
  15  norm          .15533        .14902        .12566E-04    .12666E-03
  16  norm          .10000E-03    1.3435        .36676E-04** at limit **
  17  norm          .10000E-03    1.7178        .21048E-03** at limit **
  18  norm          .10000E-03    20.866        .36285E-03** at limit **
  19  norm          7.3717        4.8607        .56558E-05    .28141E-05
  20  Prefactor     .10000E-03    24.592        .36285E-03** at limit **
  21  Prefactor     .10096E-03    31.276        .11850    ** at limit **
  22  Normalizat    1.1219        .26190        .11865E-04    .10156E-03
  23  Prefactor     1.0528        .16076        .38649E-04    .13148E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.3823
  Prefactor  = 0.0001
  Prefactor  = 10.1054
  norm       = 0.167496
  Prefactor  = 0.0001001
  Prefactor  = 28.5338
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.526242
  Prefactor  = 0.0001
  norm       = 0.155335
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 7.37169
  Prefactor  = 0.0001
  Prefactor  = 0.000100965
  Normalizat = 1.12187
  Prefactor  = 1.05278
 **********
 **   18 **HESSE 
 **********

 FCN=   6761.416     FROM HESSE     STATUS=OK           378 CALLS     5153 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    81.129        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.6115        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.382        16.538        .40859E-05   -1.4923    
   4  Prefactor     .10000E-03    3.3631        .58721E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.105        6.6294        .10086E-05   -1.5072    
   6  norm          .16750        2.3376        .13993E-04   -1.5626    
   7  Prefactor     .10010E-03    65.313        .17898       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     28.534        27.755        .29994E-05   -1.4639    
   9  norm          .10000E-03    52.150        .14514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    121.94        .14514E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.168        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.1303        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .52624        27.030        .10943       -1.5563    
  14  Prefactor     .10000E-03    31.129        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .15533        .14902        .50264E-06   -1.5629    
  16  norm          .10000E-03    1.3435        .73352E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.7178        .42097E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    20.866        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.3717        4.8614        .11312E-05   -1.5165    
  20  Prefactor     .10000E-03    24.592        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10096E-03    31.646        .11763       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1219        .26199        .23731E-05   -.89053    
  23  Prefactor     1.0528        .16077        .77299E-05   -.90990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.16467e-10
Minuit parameter uncertainties:
  1  5.22987e-06
  2  5.05469e-08
  3  16.543
  4  9.24076e-07
  5  6.62992
  6  1.25114
  7  0.00512529
  8  27.7676
  9  9.41699e-06
  10  0.000130783
  11  7.50551e-07
  12  2.32929e-07
  13  7.54594
  14  1.34978e-06
  15  0.149021
  16  1.65057e-08
  17  2.03264e-08
  18  7.36434e-08
  19  4.8617
  20  6.89425e-07
  21  0.0110558
  22  0.262293
  23  0.16084
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  7.506e-07  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  1.053e+00  1.608e-01  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  1.122e+00  2.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 7.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/808358/likelihoodResults_346118401_346377601_4FGL_J1450.4+0910_daily_bin412.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) = 6761.41643737
delta logL = -0.00046861642204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6761.415969
delta logL = -2.48629476118e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3882       1.0000          .0000       10.000    
     3 'Normalizat'    1.1218       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0529       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4830E+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=   6761.416     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10036E-03    274.11        .18142E-02** at limit **
   2  Index         2.3405        5.7043        .50000        .34221E-05
   3  Normalizat    1.1219        .27659E-01    .29664E-03   -.80483E-06
   4  Prefactor     1.0528        .17621E-01    .19325E-03   -.52947E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100355
  Index      = 2.34048
  Normalizat = 1.12187
  Prefactor  = 1.05278
 **********
 **   18 **HESSE 
 **********

 FCN=   6761.416     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10036E-03    1097.1        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3405        7.1045        .50000       -.56085    
   3  Normalizat    1.1219        .63910E-01    .11865E-04   -.89053    
   4  Prefactor     1.0528        .40691E-01    .77299E-05   -.90990    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.94707e-09
Minuit parameter uncertainties:
  1  0.0402525
  2  2433.15
  3  0.0639148
  4  0.0406924
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808358': 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) = 6761.41596872
delta logL = 3.24353095493e-08

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.004e-04  4.025e-02  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.340e+00  2.433e+03  0.000e+00  1.000e+01 (-1.000e+00)
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  1.053e+00  4.069e-02  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  1.122e+00  6.391e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.624 9.182

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/808358/cmap_HighResolution_346118401_346377601_4FGL_J1450.4+0910_daily_bin412.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.54e-03', job_status='DONE', photon_flux_upper_limit='7.18e-08', time_completed='2021-09-10 11:01:11.941521', job_id='808358', GAL2='1.05', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1631296871.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='3.24e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='412' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:01:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 808358: <4FGL_J1450.4+0910_daily_bin412> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin412> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 10:46:22 2021
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:46:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 10:46:22 2021
Terminated at Fri Sep 10 11:01:12 2021
Results reported at Fri Sep 10 11:01:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin412 222.624 9.1818 346118401 346377601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1450.4+0910 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   762.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            890 sec.

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

