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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin971
RA = 118.491, Dec = 9.3904
tmin = 491011201, tmax = 491270401
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='996187', job_status='RUN', time_executed='2021-08-28 18:59:33.773738', time_epoch_executed='1630202373.77' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='971'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/996187

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/996187/ft1_4FGL_J0753.9+0923_daily_bin971.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/996187/ft2_4FGL_J0753.9+0923_daily_bin971.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/996187/ft1_4FGL_J0753.9+0923_daily_bin971.fits outfile=/scratch/kocevski/996187/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin971.fits ra=118.491 dec=9.3904 rad=12.0 tmin=491011201.0 tmax=491270401.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 6.08
user 3.40
sys 2.53

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/996187/ft2_4FGL_J0753.9+0923_daily_bin971.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/996187/ft2_4FGL_J0753.9+0923_daily_bin971.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/996187/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin971.fits evtable="EVENTS" outfile="/scratch/kocevski/996187/ft1_filtered_4FGL_J0753.9+0923_daily_bin971.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 3.04
user 0.33
sys 2.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/996187/ft1_filtered_4FGL_J0753.9+0923_daily_bin971.fits" evtable="EVENTS" scfile=/scratch/kocevski/996187/ft2_4FGL_J0753.9+0923_daily_bin971.fits sctable="SC_DATA" outfile=/scratch/kocevski/996187/ltcube_491011201_491270401_4FGL_J0753.9+0923_daily_bin971.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/996187/ft2_4FGL_J0753.9+0923_daily_bin971.fits
.....................!
real 14.36
user 11.22
sys 2.94

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/996187/ft1_filtered_4FGL_J0753.9+0923_daily_bin971.fits evtable="EVENTS" scfile=/scratch/kocevski/996187/ft2_4FGL_J0753.9+0923_daily_bin971.fits sctable="SC_DATA" expcube=/scratch/kocevski/996187/ltcube_491011201_491270401_4FGL_J0753.9+0923_daily_bin971.fits outfile=/scratch/kocevski/996187/expmap_491011201_491270401_4FGL_J0753.9+0923_daily_bin971.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/996187/ltcube_491011201_491270401_4FGL_J0753.9+0923_daily_bin971.fits
.....................!
real 196.49
user 184.39
sys 8.79

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 166 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0753.9+0923 @ 118.491 9.3904

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/996187/ft1_filtered_4FGL_J0753.9+0923_daily_bin971.fits scfile=/scratch/kocevski/996187/ft2_4FGL_J0753.9+0923_daily_bin971.fits outfile=/scratch/kocevski/996187/cmap_491011201_491270401_4FGL_J0753.9+0923_daily_bin971.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=118.491 yref=9.3904 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 2.85
user 0.35
sys 2.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/996187/ft1_filtered_4FGL_J0753.9+0923_daily_bin971.fits scfile=/scratch/kocevski/996187/ft2_4FGL_J0753.9+0923_daily_bin971.fits outfile=/scratch/kocevski/996187/cmap_HighResolution_491011201_491270401_4FGL_J0753.9+0923_daily_bin971.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=118.491 yref=9.3904 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 2.86
user 0.39
sys 2.42

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/996187/ft1_filtered_4FGL_J0753.9+0923_daily_bin971.fits evtable="EVENTS" scfile=/scratch/kocevski/996187/ft2_4FGL_J0753.9+0923_daily_bin971.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/996187/Model_4FGL_J0753.9+0923_daily_bin971.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/996187/ft1_filtered_4FGL_J0753.9+0923_daily_bin971.fits.....................!
real 108.94
user 104.32
sys 4.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/996187/ft1_filtered_4FGL_J0753.9+0923_daily_bin971.fits', '/scratch/kocevski/996187/ft2_4FGL_J0753.9+0923_daily_bin971.fits', expMap='/scratch/kocevski/996187/expmap_491011201_491270401_4FGL_J0753.9+0923_daily_bin971.fits', expCube='/scratch/kocevski/996187/ltcube_491011201_491270401_4FGL_J0753.9+0923_daily_bin971.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/996187/Model_4FGL_J0753.9+0923_daily_bin971.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0753.9+0923'

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/996187/ft1_filtered_4FGL_J0753.9+0923_daily_bin971.fits
Spacecraft file(s): /scratch/kocevski/996187/ft2_4FGL_J0753.9+0923_daily_bin971.fits
Exposure map: /scratch/kocevski/996187/expmap_491011201_491270401_4FGL_J0753.9+0923_daily_bin971.fits
Exposure cube: /scratch/kocevski/996187/ltcube_491011201_491270401_4FGL_J0753.9+0923_daily_bin971.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/996187/Model_4FGL_J0753.9+0923_daily_bin971.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) = 8360.16826367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.394       1.0000         .10000E-03   10000.    
     2 'norm      '    2.8111       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3657       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.8072       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .87202       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    76.211       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    22.846       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .35769       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.158       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    13.780       1.0000         .10000E-03   10000.    
    19 'norm      '    4.5283       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .28240E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3801       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97595       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8360.158     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2739 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.389        57.716       -.53248E-05    .48132E-06
   2  norm          2.8119        1.6876        .10817E-07   -.16783E-03
   3  norm          2.3659        1.1572       -.15272E-07   -.42594E-04
   4  Prefactor     .10000E-03    25.067        .90605E-07** at limit **
   5  Prefactor     4.8138        36.764        .44536E-05   -.19224E-04
   6  norm          .10000E-03    .58871       -.60021E-07** at limit **
   7  norm          .87206        1.1330       -.12003E-06   -.11415E-02
   8  Prefactor     .10000E-03    6.3171       -.23928E-06** at limit **
   9  Prefactor     .10000E-03    10.876        .97771E-08** at limit **
  10  Prefactor     76.222        53.375        .89980E-05    .61155E-05
  11  Prefactor     .10000E-03    1.7427       -.12002E-06** at limit **
  12  norm          22.835        17.037       -.45765E-06    .37526E-05
  13  Prefactor     .35858        11.452        .19888E-06   -.14283E-03
  14  Prefactor     .10000E-03    80.054        .29601E-05** at limit **
  15  norm          .10000E-03    52.869       -.11190E-05** at limit **
  16  Prefactor     13.148        29.710       -.26432E-05    .81815E-05
  17  norm          .10000E-03    1.7830        .64252E-08** at limit **
  18  norm          13.767        19.877        .20338E-05    .42297E-04
  19  norm          4.5283        3.0552        .25170E-07   -.27783E-04
  20  Prefactor     .10000E-03    149.22       -.16460E-04** at limit **
  21  Prefactor     .10000E-03    9.2618        .42089E-07** at limit **
  22  norm          .10000E-03    .31279        .15026E-07** at limit **
  23  Normalizat    1.3801        .20234       -.14048E-05    .18047E-03
  24  Prefactor     .97581        .12116        .40315E-06   -.49418E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.3892
  norm       = 2.81187
  norm       = 2.36591
  Prefactor  = 0.0001
  Prefactor  = 4.81383
  norm       = 0.0001
  norm       = 0.872057
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 76.2222
  Prefactor  = 0.0001
  norm       = 22.8346
  Prefactor  = 0.358577
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.1482
  norm       = 0.0001
  norm       = 13.7665
  norm       = 4.52833
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.38013
  Prefactor  = 0.975812
 **********
 **   18 **HESSE 
 **********

 FCN=   8360.158     FROM HESSE     STATUS=OK           399 CALLS     3138 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.389        58.046        .60172E-04   -1.4374    
   2  norm          2.8119        1.6874        .87737E-04   -1.5373    
   3  norm          2.3659        1.1579        .66415E-04   -1.5400    
   4  Prefactor     .10000E-03    25.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.8138        36.404        .18349E-03   -1.5269    
   6  norm          .10000E-03    .59902        .68502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .87206        .97592        .10745E-02   -1.5521    
   8  Prefactor     .10000E-03    6.3703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     76.222        53.004        .45996E-04   -1.3960    
  11  Prefactor     .10000E-03    14.956        .22188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          22.835        17.805        .83802E-04   -1.4752    
  13  Prefactor     .35858        166.48        .54047E-02   -1.5588    
  14  Prefactor     .10000E-03    80.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    52.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.148        29.670        .11043E-03   -1.4983    
  17  norm          .10000E-03    1.7839        .11923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.767        19.831        .10790E-03   -1.4966    
  19  norm          4.5283        3.0532        .12720E-03   -1.5282    
  20  Prefactor     .10000E-03    151.73        .42830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.3143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .32027        .99782E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3801        .23300        .30208E-03   -.81205    
  24  Prefactor     .97581        .14129        .21665E-03   -.93540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23765e-09
Minuit parameter uncertainties:
  1  58.1203
  2  1.68745
  3  1.15795
  4  1.37022e-06
  5  26.4979
  6  4.59185e-06
  7  0.975941
  8  6.12308e-05
  9  1.47838e-06
  10  53.0367
  11  3.64046e-05
  12  17.8095
  13  15.4938
  14  1.10357e-05
  15  2.43253e-05
  16  29.7028
  17  5.54194e-07
  18  19.8405
  19  3.05329
  20  0.000870442
  21  1.21585e-05
  22  7.8327e-07
  23  0.233183
  24  0.141346
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.283e+01  1.781e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  9.758e-01  1.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.380e+00  2.332e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.80
Ra Dec: 118.491 9.390
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 2.95e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 1.36e-05 +/- 1.06e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8360.05416597
delta logL = 0.103365259789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8360.04844352
delta logL = 0.109087706056

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.833       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6330       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4049       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96869       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8360.048     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      207 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.716        19.311        .20956E-02    .15511E-03
   2  alpha         1.6296        1.2337        .44823       -.55894E-04
   3  Normalizat    1.4050        .19230        .67790E-01    .59463E-04
   4  Prefactor     .96869        .11686        .45875E-01    .63012E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.7157
  alpha      = 1.62958
  Normalizat = 1.40501
  Prefactor  = 0.96869
 **********
 **   18 **HESSE 
 **********

 FCN=   8360.048     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.716        19.926        .83826E-04   -1.4754    
   2  alpha         1.6296        1.2955        .45922E-01   -.35562    
   3  Normalizat    1.4050        .21761        .29989E-03   -.80484    
   4  Prefactor     .96869        .13430        .21740E-03   -.93781    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.34276e-11
Minuit parameter uncertainties:
  1  19.9314
  2  1.3726
  3  0.217757
  4  0.134348
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/996187': 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) = 8360.04842699
delta logL = 0.109104233681

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.272e+01  1.993e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  1.630e+00  1.373e+00  0.000e+00  5.000e+00 ( 1.000e+00)
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  9.687e-01  1.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.405e+00  2.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.00
Ra Dec: 118.491 9.390
Photon Index (Free Index): 1.63 +/- 1.37
Photon Flux (Free Index): 1.14e-08 +/- 1.79e-08
Energy Flux (Free Index): 1.36e-05 +/- 1.29e-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/996187/cmap_HighResolution_491011201_491270401_4FGL_J0753.9+0923_daily_bin971.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.95e-08', energy_flux2='1.36e-05', photon_flux_error='2.30e-08', dlogl='1.09e-01', energy_flux='1.36e-05', photon_flux2='1.14e-08', job_status='DONE', time_completed='2021-08-28 19:12:09.383080', photon_index_error2='1.37', photon_index2='1.63', ts='7.80', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.38', time_epoch_completed='1630203129.38', return_code='0', job_id='996187', GAL2='0.97', EG2='1.41', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='1.79e-08', ts2='8.00', photon_index='2.46' WHERE bin_id='971' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:12:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 996187: <4FGL_J0753.9+0923_daily_bin971> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin971> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 18:55:46 2021
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:55:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 18:55:47 2021
Terminated at Sat Aug 28 19:12:10 2021
Results reported at Sat Aug 28 19:12:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin971 118.491 9.3904 491011201 491270401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0753.9+0923 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   781.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            984 sec.

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

