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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin156
RA = 222.624, Dec = 9.1818
tmin = 279763201, tmax = 280022401
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='805036', job_status='RUN', time_executed='2021-09-10 10:40:22.489825', time_epoch_executed='1631295622.49' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='156'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805036

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805036/ft1_4FGL_J1450.4+0910_daily_bin156.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805036/ft2_4FGL_J1450.4+0910_daily_bin156.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805036/ft1_4FGL_J1450.4+0910_daily_bin156.fits outfile=/scratch/kocevski/805036/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin156.fits ra=222.624 dec=9.1818 rad=12.0 tmin=279763201.0 tmax=280022401.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 3.51
user 3.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/805036/ft2_4FGL_J1450.4+0910_daily_bin156.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/805036/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin156.fits evtable="EVENTS" outfile="/scratch/kocevski/805036/ft1_filtered_4FGL_J1450.4+0910_daily_bin156.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/805036/ft1_filtered_4FGL_J1450.4+0910_daily_bin156.fits" evtable="EVENTS" scfile=/scratch/kocevski/805036/ft2_4FGL_J1450.4+0910_daily_bin156.fits sctable="SC_DATA" outfile=/scratch/kocevski/805036/ltcube_279763201_280022401_4FGL_J1450.4+0910_daily_bin156.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/805036/ft2_4FGL_J1450.4+0910_daily_bin156.fits
.....................!
real 11.65
user 11.32
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805036/ft1_filtered_4FGL_J1450.4+0910_daily_bin156.fits evtable="EVENTS" scfile=/scratch/kocevski/805036/ft2_4FGL_J1450.4+0910_daily_bin156.fits sctable="SC_DATA" expcube=/scratch/kocevski/805036/ltcube_279763201_280022401_4FGL_J1450.4+0910_daily_bin156.fits outfile=/scratch/kocevski/805036/expmap_279763201_280022401_4FGL_J1450.4+0910_daily_bin156.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/805036/ltcube_279763201_280022401_4FGL_J1450.4+0910_daily_bin156.fits
.....................!
real 189.79
user 184.85
sys 4.60

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/805036/ft1_filtered_4FGL_J1450.4+0910_daily_bin156.fits scfile=/scratch/kocevski/805036/ft2_4FGL_J1450.4+0910_daily_bin156.fits outfile=/scratch/kocevski/805036/cmap_279763201_280022401_4FGL_J1450.4+0910_daily_bin156.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.62
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805036/ft1_filtered_4FGL_J1450.4+0910_daily_bin156.fits scfile=/scratch/kocevski/805036/ft2_4FGL_J1450.4+0910_daily_bin156.fits outfile=/scratch/kocevski/805036/cmap_HighResolution_279763201_280022401_4FGL_J1450.4+0910_daily_bin156.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.53
user 0.38
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/805036/ft1_filtered_4FGL_J1450.4+0910_daily_bin156.fits', '/scratch/kocevski/805036/ft2_4FGL_J1450.4+0910_daily_bin156.fits', expMap='/scratch/kocevski/805036/expmap_279763201_280022401_4FGL_J1450.4+0910_daily_bin156.fits', expCube='/scratch/kocevski/805036/ltcube_279763201_280022401_4FGL_J1450.4+0910_daily_bin156.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/805036/Model_4FGL_J1450.4+0910_daily_bin156.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/805036/ft1_filtered_4FGL_J1450.4+0910_daily_bin156.fits
Spacecraft file(s): /scratch/kocevski/805036/ft2_4FGL_J1450.4+0910_daily_bin156.fits
Exposure map: /scratch/kocevski/805036/expmap_279763201_280022401_4FGL_J1450.4+0910_daily_bin156.fits
Exposure cube: /scratch/kocevski/805036/ltcube_279763201_280022401_4FGL_J1450.4+0910_daily_bin156.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/805036/Model_4FGL_J1450.4+0910_daily_bin156.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) = 7990.28088121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.084       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.548       1.0000         .10000E-03   10000.    
     3 'norm      '    .10241E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.6855       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5892       1.0000         .10000E-03   10000.    
     6 'norm      '    .26831E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.309       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.203       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10680E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    66.200       1.0000         .10000E-03   10000.    
    15 'norm      '    1.2754       1.0000         .10000E-03   10000.    
    16 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.8631       1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.737       1.0000         .10000E-03   10000.    
    21 'Prefactor '    46.330       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1184       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2394       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.

 FCN=   7990.253     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2574 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.071        32.570        .24050E-06    .28080E-05
   2  Prefactor     11.501        26.743       -.43172E-05   -.23764E-04
   3  norm          .10000E-03    11.820        .11329E-05** at limit **
   4  Prefactor     1.6846        5.5652        .10326E-04    .42023E-05
   5  Prefactor     5.5891        6.7017        .85735E-07    .49807E-04
   6  norm          .10000E-03    1.6948       -.90116E-06** at limit **
   7  Prefactor     .10000E-03    16.885       -.81208E-07** at limit **
   8  Prefactor     .10000E-03    9.3425        .49262E-06** at limit **
   9  norm          .10000E-03    5.0503        .23287E-06** at limit **
  10  Prefactor     14.307        21.814        .99495E-06    .22958E-04
  11  Prefactor     12.139        31.212       -.28731E-05   -.12085E-04
  12  Prefactor     .10000E-03    12.908       -.62401E-06** at limit **
  13  Prefactor     .10000E-03    9.9843       -.94594E-06** at limit **
  14  Prefactor     66.160        53.019        .32569E-05    .16925E-04
  15  norm          1.2754        .30601        .16486E-07   -.73297E-03
  16  norm          .10000E-03    1.2130       -.56327E-07** at limit **
  17  norm          .10000E-03    4.4555        .87130E-07** at limit **
  18  norm          .10000E-03    26.922        .26421E-06** at limit **
  19  norm          1.8609        3.5559       -.13891E-06   -.14502E-03
  20  Prefactor     22.655        54.276        .11662E-04   -.13390E-05
  21  Prefactor     46.216        42.867        .52331E-05    .27497E-05
  22  Normalizat    1.1189        .25110       -.32858E-05    .13439E-04
  23  Prefactor     1.2392        .14590        .37705E-06    .11511E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.071
  Prefactor  = 11.501
  norm       = 0.0001
  Prefactor  = 1.68463
  Prefactor  = 5.58906
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.3072
  Prefactor  = 12.1385
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 66.1597
  norm       = 1.2754
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.86092
  Prefactor  = 22.6545
  Prefactor  = 46.2161
  Normalizat = 1.11895
  Prefactor  = 1.23923
 **********
 **   18 **HESSE 
 **********

 FCN=   7990.253     FROM HESSE     STATUS=OK           370 CALLS     2944 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.071        32.649        .67658E-04   -1.4523    
   2  Prefactor     11.501        26.857        .11789E-03   -1.5030    
   3  norm          .10000E-03    11.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6846        5.5851        .16218E-02   -1.5448    
   5  Prefactor     5.5891        6.6711        .84965E-03   -1.5235    
   6  norm          .10000E-03    6.9727        .22170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.3477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.0525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.307        21.787        .10588E-03   -1.4951    
  11  Prefactor     12.139        31.243        .11467E-03   -1.5011    
  12  Prefactor     .10000E-03    12.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.9980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     66.160        53.022        .49327E-04   -1.4079    
  15  norm          1.2754        .30553        .22461E-04   -1.5482    
  16  norm          .10000E-03    1.2454        .19204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.4833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    26.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8609        3.5338        .22370E-03   -1.5435    
  20  Prefactor     22.655        54.252        .84003E-04   -1.4756    
  21  Prefactor     46.216        42.907        .58906E-04   -1.4347    
  22  Normalizat    1.1189        .29192        .36072E-03   -.89146    
  23  Prefactor     1.2392        .17002        .21149E-03   -.85132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.5853e-10
Minuit parameter uncertainties:
  1  32.6658
  2  26.8853
  3  8.48702e-05
  4  5.58678
  5  6.67196
  6  0.000334146
  7  2.373e-05
  8  3.3315e-05
  9  2.13018e-05
  10  21.7992
  11  31.2849
  12  5.84024e-05
  13  5.18358e-05
  14  53.0603
  15  0.305528
  16  5.16429e-06
  17  4.87696e-06
  18  6.88604e-06
  19  3.53419
  20  54.3708
  21  42.9361
  22  0.292345
  23  0.170092
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.214e+01  3.128e+01  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.239e+00  1.701e-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.119e+00  2.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/805036/likelihoodResults_279763201_280022401_4FGL_J1450.4+0910_daily_bin156.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): 0
logL (Free Index) = 7989.72273918
delta logL = 0.529905401006

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7989.67738963
delta logL = 0.575254960366

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3336       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3279       1.0000          .0000       10.000    
     3 'Normalizat'    1.0321       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2746       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.

 FCN=   7989.677     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      278 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3207        23.274        .95013E-02   -.92285E-04
   2  Index         4.3325        3.0552        .11426       -.51694E-04
   3  Normalizat    1.0321        .59670E-01    .84383E-01   -.16245E-03
   4  Prefactor     1.2747        .36492E-01    .47270E-01   -.29584E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.32074
  Index      = 4.33245
  Normalizat = 1.03207
  Prefactor  = 1.2747
 **********
 **   18 **HESSE 
 **********

 FCN=   7989.677     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      309 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3207        55.032        .92349E-04   -1.5478    
   2  Index         4.3325        7.1329        .63529E-02   -.13391    
   3  Normalizat    1.0321        .22557        .37361E-03   -.91964    
   4  Prefactor     1.2747        .13685        .20895E-03   -.84062    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.45776e-08
Minuit parameter uncertainties:
  1  17.067
  2  6.31025
  3  0.225777
  4  0.136892
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805036': 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) = 7989.67738747
delta logL = 0.575257114299

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.321e+00  1.707e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  4.332e+00  6.310e+00  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.275e+00  1.369e-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.032e+00  2.258e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.44
Ra Dec: 222.624 9.182
Photon Index (Free Index): 4.33 +/- 6.31
Photon Flux (Free Index): 9.28e-08 +/- 8.68e-08
Energy Flux (Free Index): 1.32e-05 +/- 1.75e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/805036/cmap_HighResolution_279763201_280022401_4FGL_J1450.4+0910_daily_bin156.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', comment='SUCCESS', energy_flux2='1.32e-05', dlogl='5.75e-01', photon_flux2='9.28e-08', job_status='DONE', time_completed='2021-09-10 10:51:26.193206', photon_index_error2='6.31', photon_index2='4.33', ts='0.17', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='1.46e-07', energy_flux_error2='1.75e-05', EG='1.12', time_epoch_completed='1631296286.19', return_code='0', job_id='805036', GAL2='1.27', EG2='1.03', return_code2='102', photon_flux_error2='8.68e-08', ts2='1.44', photon_index='2.39' WHERE bin_id='156' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:51:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 805036: <4FGL_J1450.4+0910_daily_bin156> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin156> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 10 10:36:33 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:36:35 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:36:35 2021
Terminated at Fri Sep 10 10:51:27 2021
Results reported at Fri Sep 10 10:51:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin156 222.624 9.1818 279763201 280022401 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 :                                   666.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            894 sec.

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

