/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 62 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 = 7481
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1410.1+0202_daily_bin746
RA = 212.529, Dec = 2.0354
tmin = 432691201, tmax = 432950401
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='234181', job_status='RUN', time_executed='2021-09-09 03:46:12.238548', time_epoch_executed='1631184372.24' WHERE source_name='4FGL J1410.1+0202' and cadence='daily' and bin_id='746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/234181

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/234181/ft1_4FGL_J1410.1+0202_daily_bin746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/234181/ft2_4FGL_J1410.1+0202_daily_bin746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/234181/ft1_4FGL_J1410.1+0202_daily_bin746.fits outfile=/scratch/kocevski/234181/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin746.fits ra=212.529 dec=2.0354 rad=12.0 tmin=432691201.0 tmax=432950401.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.11
user 5.07
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/234181/ft2_4FGL_J1410.1+0202_daily_bin746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/234181/ft2_4FGL_J1410.1+0202_daily_bin746.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/234181/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin746.fits evtable="EVENTS" outfile="/scratch/kocevski/234181/ft1_filtered_4FGL_J1410.1+0202_daily_bin746.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 2.17
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/234181/ft1_filtered_4FGL_J1410.1+0202_daily_bin746.fits" evtable="EVENTS" scfile=/scratch/kocevski/234181/ft2_4FGL_J1410.1+0202_daily_bin746.fits sctable="SC_DATA" outfile=/scratch/kocevski/234181/ltcube_432691201_432950401_4FGL_J1410.1+0202_daily_bin746.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/234181/ft2_4FGL_J1410.1+0202_daily_bin746.fits
.....................!
real 13.40
user 11.40
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/234181/ft1_filtered_4FGL_J1410.1+0202_daily_bin746.fits evtable="EVENTS" scfile=/scratch/kocevski/234181/ft2_4FGL_J1410.1+0202_daily_bin746.fits sctable="SC_DATA" expcube=/scratch/kocevski/234181/ltcube_432691201_432950401_4FGL_J1410.1+0202_daily_bin746.fits outfile=/scratch/kocevski/234181/expmap_432691201_432950401_4FGL_J1410.1+0202_daily_bin746.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/234181/ltcube_432691201_432950401_4FGL_J1410.1+0202_daily_bin746.fits
.....................!
real 203.53
user 185.25
sys 4.70

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

Setting source of interest to:
4FGL J1410.1+0202 @ 212.529 2.0354

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/234181/ft1_filtered_4FGL_J1410.1+0202_daily_bin746.fits scfile=/scratch/kocevski/234181/ft2_4FGL_J1410.1+0202_daily_bin746.fits outfile=/scratch/kocevski/234181/cmap_432691201_432950401_4FGL_J1410.1+0202_daily_bin746.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=212.529 yref=2.0354 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 3.16
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/234181/ft1_filtered_4FGL_J1410.1+0202_daily_bin746.fits scfile=/scratch/kocevski/234181/ft2_4FGL_J1410.1+0202_daily_bin746.fits outfile=/scratch/kocevski/234181/cmap_HighResolution_432691201_432950401_4FGL_J1410.1+0202_daily_bin746.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=212.529 yref=2.0354 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 1.48
user 0.38
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/234181/ft1_filtered_4FGL_J1410.1+0202_daily_bin746.fits evtable="EVENTS" scfile=/scratch/kocevski/234181/ft2_4FGL_J1410.1+0202_daily_bin746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/234181/Model_4FGL_J1410.1+0202_daily_bin746.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/234181/ft1_filtered_4FGL_J1410.1+0202_daily_bin746.fits.....................!
real 87.31
user 56.04
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/234181/ft1_filtered_4FGL_J1410.1+0202_daily_bin746.fits', '/scratch/kocevski/234181/ft2_4FGL_J1410.1+0202_daily_bin746.fits', expMap='/scratch/kocevski/234181/expmap_432691201_432950401_4FGL_J1410.1+0202_daily_bin746.fits', expCube='/scratch/kocevski/234181/ltcube_432691201_432950401_4FGL_J1410.1+0202_daily_bin746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/234181/Model_4FGL_J1410.1+0202_daily_bin746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1410.1+0202'

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  5.797e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/234181/ft1_filtered_4FGL_J1410.1+0202_daily_bin746.fits
Spacecraft file(s): /scratch/kocevski/234181/ft2_4FGL_J1410.1+0202_daily_bin746.fits
Exposure map: /scratch/kocevski/234181/expmap_432691201_432950401_4FGL_J1410.1+0202_daily_bin746.fits
Exposure cube: /scratch/kocevski/234181/ltcube_432691201_432950401_4FGL_J1410.1+0202_daily_bin746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/234181/Model_4FGL_J1410.1+0202_daily_bin746.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) = 7739.5193667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3359       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.110       1.0000         .10000E-03   10000.    
     7 'norm      '    6.6140       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.9670       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.368       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    14.730       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    28.426       1.0000         .10000E-03   10000.    
    16 'norm      '    24.082       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.5296       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .72725       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7739.517     FROM MIGRAD    STATUS=CONVERGED    381 CALLS     1721 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3355        2.9683        .39866E-02    .52369E-02
   2  norm          .10000E-03    22.480        .90712E-02** at limit **
   3  Prefactor     .10000E-03    1.6815        .90712E-02** at limit **
   4  Prefactor     .10000E-03    9.6981        .90712E-02** at limit **
   5  Prefactor     .10000E-03    1.5857        .90712E-02** at limit **
   6  Prefactor     32.107        16.606        .17678E-02   -.96293E-03
   7  norm          6.6137        2.7090        .39009E-02   -.25933E-03
   8  Prefactor     5.9661        17.900        .41096E-02   -.83445E-04
   9  Prefactor     19.366        20.282        .22752E-02   -.84431E-03
  10  norm          .10000E-03    3.1839        .90712E-02** at limit **
  11  norm          14.730        6.3928        .26090E-02   -.47101E-04
  12  Prefactor     .10000E-03    17.915        .90712E-02** at limit **
  13  norm          .10000E-03    8.9053        .90712E-02** at limit **
  14  Prefactor     .10000E-03    35.267        .90712E-02** at limit **
  15  Prefactor     28.282        49.698        .18786E-02    .17453E-03
  16  norm          24.121        26.440        .20407E-02    .20872E-03
  17  Normalizat    1.5299        .19763        .60495E-01    .21124E-03
  18  Prefactor     .72707        .12186        .42763E-01    .29490E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.33547
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 32.1068
  norm       = 6.61369
  Prefactor  = 5.96605
  Prefactor  = 19.3657
  norm       = 0.0001
  norm       = 14.7302
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 28.2819
  norm       = 24.1205
  Normalizat = 1.52993
  Prefactor  = 0.727069
 **********
 **   18 **HESSE 
 **********

 FCN=   7739.517     FROM HESSE     STATUS=OK           236 CALLS     1957 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3355        2.9714        .49913E-03   -1.5205    
   2  norm          .10000E-03    22.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.6989        .11138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.7109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.5901        .10818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     32.107        16.654        .70711E-04   -1.4574    
   7  norm          6.6137        2.7096        .88652E-04   -1.5194    
   8  Prefactor     5.9661        17.878        .16438E-03   -1.5219    
   9  Prefactor     19.366        20.291        .91009E-04   -1.4828    
  10  norm          .10000E-03    3.1890        .15331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.730        6.3924        .10436E-03   -1.4940    
  12  Prefactor     .10000E-03    17.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.9139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    35.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     28.282        49.846        .75143E-04   -1.4644    
  16  norm          24.121        26.490        .81627E-04   -1.4725    
  17  Normalizat    1.5299        .23404        .26753E-03   -.76941    
  18  Prefactor     .72707        .14355        .23310E-03   -1.0248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00881e-09
Minuit parameter uncertainties:
  1  2.9715
  2  0.000145506
  3  2.30055e-05
  4  0.000206844
  5  2.71379e-05
  6  16.6568
  7  2.70965
  8  17.8941
  9  20.2983
  10  1.31212e-05
  11  6.39269
  12  6.64343e-05
  13  2.14743e-06
  14  0.000508994
  15  49.9191
  16  26.5025
  17  0.234205
  18  0.143619
Done.

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

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  5.966e+00  1.789e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.271e-01  1.436e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.530e+00  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 212.529 2.035
Photon Flux Upper Limit: 9.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/234181/likelihoodResults_432691201_432950401_4FGL_J1410.1+0202_daily_bin746.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) = 7739.42397649
delta logL = 0.0931032738918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7739.41897292
delta logL = 0.0981068432484

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.250       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8825       1.0000          .0000       10.000    
     3 'Normalizat'    1.5355       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72245       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+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=   7739.419     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      300 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.248        22.039        .11944E-03    .94792E-03
   2  Index         1.8826        .80543        .14170E-01    .38308E-03
   3  Normalizat    1.5358        .22669        .26709E-03   -.25680E-03
   4  Prefactor     .72225        .14340        .23376E-03   -.40520E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2481
  Index      = 1.8826
  Normalizat = 1.53578
  Prefactor  = 0.722252
 **********
 **   18 **HESSE 
 **********

 FCN=   7739.419     FROM HESSE     STATUS=OK            23 CALLS      323 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.248        21.914        .23888E-04   -1.5037    
   2  Index         1.8826        .80126        .56678E-03   -.67319    
   3  Normalizat    1.5358        .22684        .53419E-04   -.76778    
   4  Prefactor     .72225        .14349        .46752E-04   -1.0266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00627e-08
Minuit parameter uncertainties:
  1  21.9294
  2  0.806983
  3  0.226988
  4  0.143563
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/234181': 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) = 7739.41897195
delta logL = 0.0981078157547

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.125e+01  2.193e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  1.883e+00  8.070e-01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.223e-01  1.436e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.536e+00  2.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 212.529 2.035

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/234181/cmap_HighResolution_432691201_432950401_4FGL_J1410.1+0202_daily_bin746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='9.11e-08', time_completed='2021-09-09 03:57:09.784737', job_id='234181', GAL2='0.72', fit_tolerance='1e-08', EG2='1.54', EG='1.53', time_epoch_completed='1631185029.78', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='9.81e-02', ts2='0.33', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='746' AND source_name='4FGL J1410.1+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:57:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 234181: <4FGL_J1410.1+0202_daily_bin746> in cluster <slac> Done

Job <4FGL_J1410.1+0202_daily_bin746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 03:40:36 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:40:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 03:40:38 2021
Terminated at Thu Sep  9 03:57:11 2021
Results reported at Thu Sep  9 03:57:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1410.1+0202_daily_bin746 212.529 2.0354 432691201 432950401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1410.1+0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   579.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            995 sec.

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

